rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
} else {
} else {
protected Indent createNormalIndent(final int baseChildrenIndent) { if (baseChildrenIndent == 1) { return Indent.getNormalIndent(); } else if (baseChildrenIndent <= 0) { return Indent.getNoneIndent(); } else { LOG.assertTrue(false); return Indent.getNormalIndent(); } }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/eb6833c61958345fc30b5ef914114639be2609b0/AbstractJavaBlock.java/buggy/source/com/intellij/psi/formatter/java/AbstractJavaBlock.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 28653, 752, 5506, 7790, 12, 6385, 509, 1026, 4212, 7790, 13, 288, 565, 309, 261, 1969, 4212, 7790, 422, 404, 13, 288, 1377, 327, 28653, 18, 588, 5506, 7790, 5621, 565, 289, 469, 309, 261, 1969, 4212, 7790, 1648, 374, 13, 288, 1377, 327, 28653, 18, 588, 7036, 7790, 5621, 565, 289, 469, 288, 1377, 2018, 18, 11231, 5510, 12, 5743, 1769, 1377, 327, 28653, 18, 588, 5506, 7790, 5621, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 28653, 752, 5506, 7790, 12, 6385, 509, 1026, 4212, 7790, 13, 288, 565, 309, 261, 1969, 4212, 7790, 422, 404, 13, 288, 1377, 327, 28653, 18, 588, 5506, 7790, 5621, 565, 289, 469, 309, 261, 1969, 4212, 7790, 1648, 374, 13, 288, 1377, 327, 28653, 18, 588, 7036, 7790, 5621, 565, 289, 469, 288, 1377, 2018, 18, 11231, 5510, 12, 5743, 1769, 1377, 327, 28653, 18, 588, 5506, 7790, 5621, 565, 289, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
for (mapIt = fsm.getMaps().iterator(); mapIt.hasNext() == true; ) { map = (SmcMap) mapIt.next(); transList = Smc.merge( map.getTransitions(), transList, new Comparator() { public int compare(Object o1, Object o2) { return ( ((SmcTransition) o1).compareTo( (SmcTransition) o2)); } }); }
transList = fsm.getTransitions();
public void visit(SmcFSM fsm) { String srcfileCaps; String packageName = fsm.getPackage(); String context = fsm.getContext(); String mapName; List transList = (List) new ArrayList(); String separator; List params; Iterator it; Iterator mapIt; Iterator transIt; Iterator pit; String declaration; int packageDepth = 0; SmcMap map; SmcState state; SmcTransition trans; SmcParameter param; int index; // The first two lines in the header file should be: // // #ifndef _H_<source file name>_SM // #define _H_<source file name>_SM // // where the source file name is all in caps. // The last line is: // // #endif // // Make the file name upper case and replace // slashes with underscores. srcfileCaps = _srcfileBase.replace('\\', '_'); srcfileCaps = srcfileCaps.replace('/', '_'); srcfileCaps = srcfileCaps.toUpperCase(); _source.print("#ifndef _H_"); _source.print(srcfileCaps); _source.println("_SM"); _source.print("#define _H_"); _source.print(srcfileCaps); _source.println("_SM"); // If this application *is* using iostreams to output // debug messages, then define SMC_USES_IOSTREAMS. // Otherwise the user is responsible for providing a // TRACE macro to output the debug messages. if (Smc.isNoStreams() == false) { _source.println(); _source.println("#define SMC_USES_IOSTREAMS"); } // If this application is *not* using exceptions, then // define SMC_NO_EXCEPTIONS. if (Smc.isNoExceptions() == true) { _source.println(); _source.println("#define SMC_NO_EXCEPTIONS"); } // Include required standard .h files. _source.println(); _source.println("#include <statemap.h>"); _source.println(); // If a namespace was specified, then output that // namespace now. If the package name is "a::b::c", then // this must be converted to: // namespace a { // namespace b { // namespace c { // ... // } // } // } _indent = ""; if (packageName != null && packageName.length() > 0) { StringTokenizer tokenizer = new StringTokenizer(packageName, "::"); String token; while (tokenizer.hasMoreTokens() == true) { token = tokenizer.nextToken(); ++packageDepth; _source.print(_indent); _source.print("namespace "); _source.println(token); _source.print(_indent); _source.println("{"); _indent += " "; } } // Forward declare all the state classes in all the maps. _source.print(_indent); _source.println("// Forward declarations."); for (mapIt = fsm.getMaps().iterator(); mapIt.hasNext() == true; ) { map = ((SmcMap) mapIt.next()); mapName = map.getName(); // class <map name>; _source.print(_indent); _source.print("class "); _source.print(mapName); _source.println(";"); // Iterate over the map's states. for (it = map.getStates().iterator(); it.hasNext() == true; ) { state = (SmcState) it.next(); _source.print(_indent); _source.print("class "); _source.print(mapName); _source.print("_"); _source.print(state.getClassName()); _source.println(";"); } // Forward declare the default state as well. _source.print(_indent); _source.print("class "); _source.print(mapName); _source.println("_Default;"); } // Forward declare the state class and its // context as well. _source.print(_indent); _source.print("class "); _source.print(context); _source.println("State;"); _source.print(_indent); _source.print("class "); _source.print(context); _source.println("Context;"); // Forward declare the application class. _source.print(_indent); _source.print("class "); _source.print(context); _source.println(";"); // Do user-specified forward declarations now. for (it = fsm.getDeclarations().iterator(); it.hasNext() == true; ) { declaration = (String) it.next(); _source.print(_indent); _source.print(declaration); // Add a semicolon if the user did not use one. if (declaration.endsWith(";") == false) { _source.print(";"); } _source.println(); } _source.println(); // Declare user's base state class. _source.print(_indent); _source.print("class "); _source.print(context); _source.println("State :"); _source.print(_indent); _source.println(" public statemap::State"); _source.print(_indent); _source.println("{"); _source.print(_indent); _source.println("public:"); _source.println(); // Constructor. _source.print(_indent); _source.print(" "); _source.print(context); _source.println("State(const char *name, int stateId)"); _source.print(_indent); _source.println(" : statemap::State(name, stateId)"); _source.print(_indent); _source.println(" {};"); _source.println(); // Add the default Entry() and Exit() definitions. _source.print(_indent); _source.print(" virtual void Entry("); _source.print(context); _source.println("Context&) {};"); _source.print(_indent); _source.print(" virtual void Exit("); _source.print(context); _source.println("Context&) {};"); _source.println(); // Print out the default definitions for all the // transitions. First, get the transitions list. for (mapIt = fsm.getMaps().iterator(); mapIt.hasNext() == true; ) { map = (SmcMap) mapIt.next(); // Merge the new transitions into the current set. transList = Smc.merge( map.getTransitions(), transList, new Comparator() { public int compare(Object o1, Object o2) { return ( ((SmcTransition) o1).compareTo( (SmcTransition) o2)); } }); } // Output the global transition declarations. for (transIt = transList.iterator(); transIt.hasNext() == true; ) { trans = (SmcTransition) transIt.next(); // Don't output the default state here. if (trans.getName().equals("Default") == false) { _source.print(_indent); _source.print(" virtual void "); _source.print(trans.getName()); _source.print("("); _source.print(context); _source.print("Context& context"); params = trans.getParameters(); for (pit = params.iterator(); pit.hasNext() == true; ) { param = (SmcParameter) pit.next(); _source.print(", "); param.accept(this); } _source.println(");"); } } // Declare the global Default transition. _source.println(); _source.print(_indent); _source.println("protected:"); _source.println(); _source.print(_indent); _source.print(" virtual void Default("); _source.print(context); _source.println("Context& context);"); // The base class has been defined. _source.print(_indent); _source.println("};"); _source.println(); // Generate the map classes. The maps will, in turn, // generate the state classes. for (mapIt = fsm.getMaps().iterator(); mapIt.hasNext() == true; ) { ((SmcMap) mapIt.next()).accept(this); } // Generate the FSM context class. // class FooContext : // public statemap::FSMContext // { // public: // FOOContext(FOO& owner) // _source.print(_indent); _source.print("class "); _source.print(context); _source.println("Context :"); _source.print(_indent); _source.println(" public statemap::FSMContext"); _source.print(_indent); _source.println("{"); _source.print(_indent); _source.println("public:"); _source.println(); _source.print(_indent); _source.print(" "); _source.print(context); _source.print("Context("); _source.print(context); _source.println("& owner)"); _source.print(_indent); _source.println(" : _owner(owner)"); _source.print(_indent); _source.println(" {"); _source.print(_indent); _source.print(" setState("); _source.print(fsm.getStartState()); _source.println(");"); _source.print(_indent); _source.print(" "); _source.print(fsm.getStartState()); _source.println(".Entry(*this);"); _source.print(_indent); _source.println(" };"); _source.println(); _source.print(_indent); _source.print(" "); _source.print(context); _source.println("& getOwner() const"); _source.print(_indent); _source.println(" {"); _source.print(_indent); _source.println(" return (_owner);"); _source.print(_indent); _source.println(" };"); _source.println(); _source.print(_indent); _source.print(" "); _source.print(context); _source.println("State& getState() const"); _source.print(_indent); _source.println(" {"); _source.print(_indent); _source.println(" if (_state == NULL)"); _source.print(_indent); _source.println(" {"); // v. 1.3.1: If -noex was specified, then don't throw // exceptions. if (Smc.isNoExceptions() == false) { _source.print(_indent); _source.print(" throw "); _source.println( "statemap::StateUndefinedException();"); } else { _source.print(_indent); _source.println(" assert(1 == 0);"); } _source.print(_indent); _source.println(" }"); _source.println(); _source.print(_indent); _source.print(" return ("); _source.print(Smc.getCastType()); _source.print("<"); _source.print(context); _source.println("State&>(*_state));"); _source.print(_indent); _source.println(" };"); // Generate a method for every transition in every map // *except* the default transition. for (transIt = transList.iterator(); transIt.hasNext() == true; ) { trans = (SmcTransition) transIt.next(); if (trans.getName().equals("Default") == false) { _source.println(); _source.print(_indent); _source.print(" void "); _source.print(trans.getName()); _source.print("("); params = trans.getParameters(); for (pit = params.iterator(), separator = ""; pit.hasNext() == true; separator = ", ") { param = (SmcParameter) pit.next(); _source.print(separator); param.accept(this); } _source.println(")"); _source.print(_indent); _source.println(" {"); // If -g was specified, then set the transition // name so it can be printed out. if (Smc.isDebug() == true) { _source.print(_indent); _source.print(" setTransition(\""); _source.print(trans.getName()); _source.println("\");"); } _source.print(_indent); _source.print(" (getState())."); _source.print(trans.getName()); _source.print("(*this"); for (pit = params.iterator(); pit.hasNext() == true; ) { param = (SmcParameter) pit.next(); _source.print(", "); _source.print(param.getName()); } _source.println(");"); if (Smc.isDebug() == true) { _source.print(_indent); _source.println( " setTransition(NULL);"); } _source.print(_indent); _source.println(" };"); } } // v. 2.2.0: If we are supporting serialization, then // declare the valueOf static method. if (Smc.isSerial() == true) { _source.println(); _source.print(_indent); _source.print(" static "); _source.print(context); _source.println("State& valueOf(int stateId);"); } // Member data. _source.println(); _source.print(_indent); _source.println("private:"); _source.println(); _source.print(_indent); _source.print(" "); _source.print(context); _source.println("& _owner;"); // v. 2.2.0: If we are supporting serialization, then // declare the min and max indices. if (Smc.isSerial() == true) { _source.println(); _source.print(_indent); _source.println("private:"); _source.println(); _source.print(_indent); _source.println(" const static int MIN_INDEX;"); _source.print(_indent); _source.println(" const static int MAX_INDEX;"); _source.print(_indent); _source.print(" static "); _source.print(context); _source.println("State* _States[];"); } // Put the closing brace on the context class. _source.print(_indent); _source.println("};"); // If necessary, place an end brace for the namespace. if (packageName != null && packageName.length() > 0) { int i; int j; for (i = (packageDepth - 1); i >= 0; --i) { // Output the proper indent. for (j = 0; j < i; ++j) { _source.print(" "); } _source.println("};"); _source.println(); } } else { _source.println(); } _source.println("#endif"); return; }
50995 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50995/ccc9a76c7a1e015a8a020722db568d924b00e774/SmcHeaderGenerator.java/buggy/net/sf/smc/SmcHeaderGenerator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3757, 12, 9552, 71, 4931, 49, 26957, 13, 565, 288, 3639, 514, 1705, 768, 24193, 31, 3639, 514, 9929, 273, 26957, 18, 588, 2261, 5621, 3639, 514, 819, 273, 26957, 18, 29120, 5621, 3639, 514, 852, 461, 31, 3639, 987, 906, 682, 273, 261, 682, 13, 394, 2407, 5621, 3639, 514, 4182, 31, 3639, 987, 859, 31, 3639, 4498, 518, 31, 3639, 4498, 852, 7193, 31, 3639, 4498, 906, 7193, 31, 3639, 4498, 293, 305, 31, 3639, 514, 8266, 31, 3639, 509, 2181, 6148, 273, 374, 31, 3639, 9425, 71, 863, 852, 31, 3639, 9425, 71, 1119, 919, 31, 3639, 9425, 71, 8850, 906, 31, 3639, 9425, 71, 1662, 579, 31, 3639, 509, 770, 31, 3639, 368, 1021, 1122, 2795, 2362, 316, 326, 1446, 585, 1410, 506, 30, 3639, 368, 3639, 368, 565, 468, 430, 82, 536, 389, 44, 67, 32, 3168, 585, 508, 34, 67, 7303, 3639, 368, 565, 468, 11255, 389, 44, 67, 32, 3168, 585, 508, 34, 67, 7303, 3639, 368, 3639, 368, 1625, 326, 1084, 585, 508, 353, 777, 316, 15788, 18, 3639, 368, 1021, 1142, 980, 353, 30, 3639, 368, 3639, 368, 565, 468, 409, 430, 3639, 368, 3639, 368, 4344, 326, 585, 508, 3854, 648, 471, 1453, 3639, 368, 19034, 598, 24714, 18, 3639, 1705, 768, 24193, 273, 389, 4816, 768, 2171, 18, 2079, 2668, 1695, 2187, 4427, 1769, 3639, 1705, 768, 24193, 273, 1705, 768, 24193, 18, 2079, 2668, 19, 2187, 4427, 1769, 3639, 1705, 768, 24193, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3757, 12, 9552, 71, 4931, 49, 26957, 13, 565, 288, 3639, 514, 1705, 768, 24193, 31, 3639, 514, 9929, 273, 26957, 18, 588, 2261, 5621, 3639, 514, 819, 273, 26957, 18, 29120, 5621, 3639, 514, 852, 461, 31, 3639, 987, 906, 682, 273, 261, 682, 13, 394, 2407, 5621, 3639, 514, 4182, 31, 3639, 987, 859, 31, 3639, 4498, 518, 31, 3639, 4498, 852, 7193, 31, 3639, 4498, 906, 7193, 31, 3639, 4498, 293, 305, 31, 3639, 514, 8266, 31, 3639, 509, 2181, 6148, 273, 374, 31, 3639, 9425, 71, 863, 852, 31, 3639, 9425, 71, 1119, 919, 31, 3639, 9425, 71, 8850, 906, 31, 3639, 9425, 71, 1662, 579, 31, 3639, 509, 770, 31, 3639, 2 ]
Fact result = analysis.createFact();
Fact origResult = analysis.createFact(); analysis.copy(result, origResult);
public void execute() throws DataflowAnalysisException { boolean change; if (DEBUG) { String shortAnalysisName = analysis.getClass().getName(); int pkgEnd = shortAnalysisName.lastIndexOf('.'); if (pkgEnd >= 0) { shortAnalysisName = shortAnalysisName.substring(pkgEnd + 1); } System.out.println("Executing " + shortAnalysisName + " on " + cfg.getMethodName()); } int timestamp = 0; do { change = false; ++numIterations; if (DEBUG) { System.out.println("----------------------------------------------------------------------"); System.out.println(this.getClass().getName() + " iteration: " + numIterations + ", timestamp: " + timestamp); System.out.println("----------------------------------------------------------------------"); } if (numIterations >= MAX_ITERS) throw new DataflowAnalysisException("Too many iterations (" + numIterations + ") in dataflow!"); analysis.startIteration(); if (DEBUG) { if (blockOrder instanceof ReverseDFSOrder) { ReverseDFSOrder rBlockOrder = (ReverseDFSOrder) blockOrder; System.out.println("Entry point is: " + logicalEntryBlock()); System.out.println("Basic block order: "); Iterator<BasicBlock> i = blockOrder.blockIterator(); while (i.hasNext()) { BasicBlock block = i.next(); if (DEBUG) debug(block, "rBlockOrder " + rBlockOrder.rdfs.getDiscoveryTime(block) + "\n"); } } } // For each block in CFG... Iterator<BasicBlock> i = blockOrder.blockIterator(); while (i.hasNext()) { BasicBlock block = i.next(); if (DEBUG) debug(block, "start\n"); // Get start fact for block. Fact start = analysis.getStartFact(block); boolean needToRecompute = false; // Get result facts for block, Fact originalResult = analysis.getResultFact(block); // Meet all of the logical predecessor results into this block's start. // Special case: if the block is the logical entry, then it gets // the special "entry fact". if (block == logicalEntryBlock()) { analysis.makeFactTop(start); analysis.initEntryFact(start); if (DEBUG) debug(block, "Init entry fact ==> " + start + "\n"); needToRecompute = true; } else { int lastUpdated = analysis.getLastUpdateTimestamp(originalResult); Iterator<Edge> predEdgeIter = logicalPredecessorEdgeIterator(block); int predCount = 0; while (predEdgeIter.hasNext()) { Edge edge = predEdgeIter.next(); BasicBlock logicalPred = isForwards ? edge.getSource() : edge.getTarget(); // Get the predecessor result fact Fact predFact = analysis.getResultFact(logicalPred); int predLastUpdated = analysis.getLastUpdateTimestamp(predFact); if (!analysis.isTop(predFact)) { predCount++; if (predLastUpdated >= lastUpdated) { needToRecompute = true; if (DEBUG) { System.out.println("Need to recompute. My timestamp = " + lastUpdated + ", pred timestamp = " + predLastUpdated + ", pred fact = " + predFact); } break; } } } if (predCount == 0) needToRecompute = true; if (!needToRecompute) { if (DEBUG) { debug(block, "Skipping: predecessors haven't changed"); System.out.println(" curr timestamp: " + timestamp); System.out.println(" last timestamp: " + lastUpdated); predEdgeIter = logicalPredecessorEdgeIterator(block); while (predEdgeIter.hasNext()) { Edge edge = predEdgeIter.next(); BasicBlock logicalPred = isForwards ? edge.getSource() : edge.getTarget(); // Get the predecessor result fact Fact predFact = analysis.getResultFact(logicalPred); int predLastUpdated = analysis.getLastUpdateTimestamp(predFact); System.out.println(" pred timestamp: " + predLastUpdated); } System.out.println("Fact: " + start); } if (true) continue; } if (needToRecompute) { analysis.makeFactTop(start); predEdgeIter = logicalPredecessorEdgeIterator(block); while (predEdgeIter.hasNext()) { Edge edge = predEdgeIter.next(); BasicBlock logicalPred = isForwards ? edge.getSource() : edge.getTarget(); // Get the predecessor result fact Fact predFact = analysis.getResultFact(logicalPred); // Apply the edge transfer function. Fact edgeFact = analysis.createFact(); analysis.copy(predFact, edgeFact); analysis.edgeTransfer(edge, edgeFact); if (DEBUG && !analysis.same(edgeFact, predFact)) { debug(block, logicalPred, edge, "Edge transfer " + predFact + " ==> " + edgeFact); } // Merge the predecessor fact (possibly transformed by the edge transfer function) // into the block's start fact. if (DEBUG) debug(block, logicalPred, edge, "Meet " + start + " with " + edgeFact); analysis.meetInto(edgeFact, edge, start); if (DEBUG) System.out.println(" ==> " + start); } } } if (DEBUG) debug(block, "start fact is " + start + "\n"); // compute result in temporary location Fact result = analysis.createFact(); if (true || analysis.isTop(start)) { // Apply the transfer function. analysis.transfer(block, null, start, result); } else { analysis.makeFactTop(result); } if (DEBUG && SystemProperties.getBoolean("dataflow.blockdebug")) { debug(block, "Dumping flow values for block:\n"); Iterator<org.apache.bcel.generic.InstructionHandle> ii = block.instructionIterator(); while (ii.hasNext()) { org.apache.bcel.generic.InstructionHandle handle = ii.next(); Fact tmpResult = analysis.createFact(); analysis.transfer(block, handle, start, tmpResult); System.out.println("\t" + handle + " " + tmpResult); } } // See if the result changed. if (DEBUG) debug(block, "orig result is " + originalResult + "\n"); if (!analysis.same(result, originalResult)) { timestamp++; if (DEBUG) debug(block, "result changed at timestamp " + timestamp + "\n"); if (DEBUG && !needToRecompute) { System.out.println("I thought I didn't need to recompute"); } change = true; analysis.copy(result, originalResult); analysis.setLastUpdateTimestamp(originalResult, timestamp); } if (DEBUG) debug(block, "result is " + result + " @ timestamp " + analysis.getLastUpdateTimestamp(result) + "\n"); } analysis.finishIteration(); } while (change); }
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/f6c53965d7fc15d27503064350fbde0d7c150904/Dataflow.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/ba/Dataflow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1836, 1435, 1216, 1910, 2426, 9418, 503, 288, 202, 202, 6494, 2549, 31, 202, 202, 430, 261, 9394, 13, 288, 1082, 202, 780, 3025, 9418, 461, 273, 6285, 18, 588, 797, 7675, 17994, 5621, 1082, 202, 474, 3475, 1638, 273, 3025, 9418, 461, 18, 2722, 31985, 2668, 1093, 1769, 1082, 202, 430, 261, 10657, 1638, 1545, 374, 13, 288, 9506, 202, 6620, 9418, 461, 273, 3025, 9418, 461, 18, 28023, 12, 10657, 1638, 397, 404, 1769, 1082, 202, 97, 1082, 202, 3163, 18, 659, 18, 8222, 2932, 22134, 315, 397, 3025, 9418, 461, 397, 315, 603, 315, 397, 2776, 18, 588, 11666, 10663, 202, 202, 97, 202, 202, 474, 2858, 273, 374, 31, 202, 202, 2896, 288, 1082, 202, 3427, 273, 629, 31, 1082, 202, 9904, 2107, 21213, 31, 1082, 202, 430, 261, 9394, 13, 288, 9506, 202, 3163, 18, 659, 18, 8222, 2932, 5802, 13093, 8863, 9506, 202, 3163, 18, 659, 18, 8222, 12, 2211, 18, 588, 797, 7675, 17994, 1435, 397, 315, 6532, 30, 315, 397, 818, 21213, 397, 3104, 2858, 30, 315, 397, 2858, 1769, 9506, 202, 3163, 18, 659, 18, 8222, 2932, 5802, 13093, 8863, 1082, 202, 97, 1082, 202, 430, 261, 2107, 21213, 1545, 4552, 67, 1285, 11367, 13, 9506, 202, 12849, 394, 1910, 2426, 9418, 503, 2932, 10703, 4906, 11316, 7566, 397, 818, 21213, 397, 9369, 316, 501, 2426, 4442, 1769, 9506, 202, 12746, 18, 1937, 10795, 5621, 25083, 202, 430, 261, 9394, 13, 288, 9506, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1836, 1435, 1216, 1910, 2426, 9418, 503, 288, 202, 202, 6494, 2549, 31, 202, 202, 430, 261, 9394, 13, 288, 1082, 202, 780, 3025, 9418, 461, 273, 6285, 18, 588, 797, 7675, 17994, 5621, 1082, 202, 474, 3475, 1638, 273, 3025, 9418, 461, 18, 2722, 31985, 2668, 1093, 1769, 1082, 202, 430, 261, 10657, 1638, 1545, 374, 13, 288, 9506, 202, 6620, 9418, 461, 273, 3025, 9418, 461, 18, 28023, 12, 10657, 1638, 397, 404, 1769, 1082, 202, 97, 1082, 202, 3163, 18, 659, 18, 8222, 2932, 22134, 315, 397, 3025, 9418, 461, 397, 315, 603, 315, 397, 2776, 18, 588, 11666, 10663, 202, 202, 97, 202, 202, 474, 2858, 273, 374, 31, 202, 202, 2 ]
check(layout.getConstraints(comps[0]), 0, 0, 1, 1); check(layout.getConstraints(comps[1]), 1, 0, 2, 2); check(layout.getConstraints(comps[2]), 3, 0, 1, 1); check(layout.getConstraints(comps[3]), 0, 1, 1, 1); check(layout.getConstraints(comps[4]), 3, 1, 1, 1); check(layout.getConstraints(comps[5]), 0, 2, 1, 1); check(layout.getConstraints(comps[6]), 1, 2, 1, 1); check(layout.getConstraints(comps[7]), 2, 2, 1, 1); check(layout.getConstraints(comps[8]), 3, 2, 1, 1);
check(layout.getConstraints(comps[0]), 0, 0, 1, 1, false, false); check(layout.getConstraints(comps[1]), 1, 0, 2, 2, false, false); check(layout.getConstraints(comps[2]), 3, 0, 1, 1, false, false); check(layout.getConstraints(comps[3]), 0, 1, 1, 1, false, false); check(layout.getConstraints(comps[4]), 3, 1, 1, 1, false, false); check(layout.getConstraints(comps[5]), 0, 2, 1, 1, false, false); check(layout.getConstraints(comps[6]), 1, 2, 1, 1, false, false); check(layout.getConstraints(comps[7]), 2, 2, 1, 1, false, false); check(layout.getConstraints(comps[8]), 3, 2, 1, 1, false, false);
public void testAppend1() throws Exception { GridBagLayoutBuilder builder = new GridBagLayoutBuilder(); builder.append(new JPanel()); builder.append(new JPanel(), 2, 2); builder.append(new JPanel()); builder.nextLine(); builder.append(new JPanel()). append(new JPanel()).nextLine(); builder.append(new JPanel()). append(new JPanel()). append(new JPanel()). append(new JPanel()).nextLine(); JPanel panel = builder.getPanel(); final Component[] comps = panel.getComponents(); final GridBagLayout layout = ((GridBagLayout)panel.getLayout()); check(layout.getConstraints(comps[0]), 0, 0, 1, 1); check(layout.getConstraints(comps[1]), 1, 0, 2, 2); check(layout.getConstraints(comps[2]), 3, 0, 1, 1); check(layout.getConstraints(comps[3]), 0, 1, 1, 1); check(layout.getConstraints(comps[4]), 3, 1, 1, 1); check(layout.getConstraints(comps[5]), 0, 2, 1, 1); check(layout.getConstraints(comps[6]), 1, 2, 1, 1); check(layout.getConstraints(comps[7]), 2, 2, 1, 1); check(layout.getConstraints(comps[8]), 3, 2, 1, 1); }
55916 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55916/58115e95971e9d0b27aed49fa383d8b9d16ebe71/GridBagLayoutBuilderTests.java/clean/test/org/springframework/richclient/layout/GridBagLayoutBuilderTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 5736, 21, 1435, 1216, 1185, 288, 3639, 7145, 5013, 3744, 1263, 2089, 273, 394, 7145, 5013, 3744, 1263, 5621, 3639, 2089, 18, 6923, 12, 2704, 24048, 10663, 3639, 2089, 18, 6923, 12, 2704, 24048, 9334, 576, 16, 576, 1769, 3639, 2089, 18, 6923, 12, 2704, 24048, 10663, 3639, 2089, 18, 4285, 1670, 5621, 3639, 2089, 18, 6923, 12, 2704, 24048, 1435, 2934, 5411, 714, 12, 2704, 24048, 1435, 2934, 4285, 1670, 5621, 3639, 2089, 18, 6923, 12, 2704, 24048, 1435, 2934, 5411, 714, 12, 2704, 24048, 1435, 2934, 5411, 714, 12, 2704, 24048, 1435, 2934, 5411, 714, 12, 2704, 24048, 1435, 2934, 4285, 1670, 5621, 3639, 24048, 6594, 273, 2089, 18, 588, 5537, 5621, 3639, 727, 5435, 8526, 13979, 273, 6594, 18, 588, 7171, 5621, 3639, 727, 7145, 5013, 3744, 3511, 273, 14015, 6313, 5013, 3744, 13, 13916, 18, 588, 3744, 10663, 3639, 866, 12, 6741, 18, 588, 4878, 12, 31532, 63, 20, 65, 3631, 374, 16, 374, 16, 404, 16, 404, 1769, 3639, 866, 12, 6741, 18, 588, 4878, 12, 31532, 63, 21, 65, 3631, 404, 16, 374, 16, 576, 16, 576, 1769, 3639, 866, 12, 6741, 18, 588, 4878, 12, 31532, 63, 22, 65, 3631, 890, 16, 374, 16, 404, 16, 404, 1769, 3639, 866, 12, 6741, 18, 588, 4878, 12, 31532, 63, 23, 65, 3631, 374, 16, 404, 16, 404, 16, 404, 1769, 3639, 866, 12, 6741, 18, 588, 4878, 12, 31532, 63, 24, 65, 3631, 890, 16, 404, 16, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 5736, 21, 1435, 1216, 1185, 288, 3639, 7145, 5013, 3744, 1263, 2089, 273, 394, 7145, 5013, 3744, 1263, 5621, 3639, 2089, 18, 6923, 12, 2704, 24048, 10663, 3639, 2089, 18, 6923, 12, 2704, 24048, 9334, 576, 16, 576, 1769, 3639, 2089, 18, 6923, 12, 2704, 24048, 10663, 3639, 2089, 18, 4285, 1670, 5621, 3639, 2089, 18, 6923, 12, 2704, 24048, 1435, 2934, 5411, 714, 12, 2704, 24048, 1435, 2934, 4285, 1670, 5621, 3639, 2089, 18, 6923, 12, 2704, 24048, 1435, 2934, 5411, 714, 12, 2704, 24048, 1435, 2934, 5411, 714, 12, 2704, 24048, 1435, 2934, 5411, 714, 12, 2704, 24048, 1435, 2934, 4285, 1670, 5621, 3639, 24048, 6594, 273, 2089, 18, 588, 5537, 5621, 3639, 2 ]
String defs = "/org/apache/tools/ant/taskdefs/defaults.properties"; try { Properties props = new Properties(); InputStream in = this.getClass().getResourceAsStream(defs); if (in == null) { throw new BuildException("Can't load default task list"); } props.load(in); in.close(); ((AntTaskTable)taskClassDefinitions).addDefinitions( props ); } catch (IOException ioe) { throw new BuildException("Can't load default task list"); } String dataDefs = "/org/apache/tools/ant/types/defaults.properties"; try { Properties props = new Properties(); InputStream in = this.getClass().getResourceAsStream(dataDefs); if (in == null) { throw new BuildException("Can't load default datatype list"); } props.load(in); in.close(); ((AntTaskTable)dataClassDefinitions).addDefinitions(props); } catch (IOException ioe) { throw new BuildException("Can't load default datatype list"); }
initTasks(); initTypes();
public void initDefaultDefinitions() throws BuildException { String defs = "/org/apache/tools/ant/taskdefs/defaults.properties"; try { Properties props = new Properties(); InputStream in = this.getClass().getResourceAsStream(defs); if (in == null) { throw new BuildException("Can't load default task list"); } props.load(in); in.close(); ((AntTaskTable)taskClassDefinitions).addDefinitions( props ); } catch (IOException ioe) { throw new BuildException("Can't load default task list"); } String dataDefs = "/org/apache/tools/ant/types/defaults.properties"; try { Properties props = new Properties(); InputStream in = this.getClass().getResourceAsStream(dataDefs); if (in == null) { throw new BuildException("Can't load default datatype list"); } props.load(in); in.close(); ((AntTaskTable)dataClassDefinitions).addDefinitions(props); } catch (IOException ioe) { throw new BuildException("Can't load default datatype list"); } }
506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/506/8701272b2418d74536d09b289f118d1833d42217/ComponentHelper.java/clean/src/main/org/apache/tools/ant/ComponentHelper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1208, 1868, 7130, 1435, 1216, 18463, 288, 3639, 514, 17588, 273, 2206, 3341, 19, 19211, 19, 6642, 19, 970, 19, 4146, 12537, 19, 7606, 18, 4738, 14432, 3639, 775, 288, 5411, 6183, 3458, 273, 394, 6183, 5621, 5411, 5037, 316, 273, 333, 18, 588, 797, 7675, 588, 1420, 17052, 12, 12537, 1769, 5411, 309, 261, 267, 422, 446, 13, 288, 7734, 604, 394, 18463, 2932, 2568, 1404, 1262, 805, 1562, 666, 8863, 5411, 289, 5411, 3458, 18, 945, 12, 267, 1769, 5411, 316, 18, 4412, 5621, 5411, 14015, 14925, 2174, 1388, 13, 4146, 797, 7130, 2934, 1289, 7130, 12, 3458, 11272, 3639, 289, 1044, 261, 14106, 10847, 13, 288, 5411, 604, 394, 18463, 2932, 2568, 1404, 1262, 805, 1562, 666, 8863, 3639, 289, 3639, 514, 501, 14554, 273, 2206, 3341, 19, 19211, 19, 6642, 19, 970, 19, 2352, 19, 7606, 18, 4738, 14432, 3639, 775, 288, 5411, 6183, 3458, 273, 394, 6183, 5621, 5411, 5037, 316, 273, 333, 18, 588, 797, 7675, 588, 1420, 17052, 12, 892, 14554, 1769, 5411, 309, 261, 267, 422, 446, 13, 288, 7734, 604, 394, 18463, 2932, 2568, 1404, 1262, 805, 11172, 666, 8863, 5411, 289, 5411, 3458, 18, 945, 12, 267, 1769, 5411, 316, 18, 4412, 5621, 5411, 14015, 14925, 2174, 1388, 13, 892, 797, 7130, 2934, 1289, 7130, 12, 9693, 1769, 3639, 289, 1044, 261, 14106, 10847, 13, 288, 5411, 604, 394, 18463, 2932, 2568, 1404, 1262, 805, 11172, 666, 8863, 3639, 289, 565, 289, 2, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1208, 1868, 7130, 1435, 1216, 18463, 288, 3639, 514, 17588, 273, 2206, 3341, 19, 19211, 19, 6642, 19, 970, 19, 4146, 12537, 19, 7606, 18, 4738, 14432, 3639, 775, 288, 5411, 6183, 3458, 273, 394, 6183, 5621, 5411, 5037, 316, 273, 333, 18, 588, 797, 7675, 588, 1420, 17052, 12, 12537, 1769, 5411, 309, 261, 267, 422, 446, 13, 288, 7734, 604, 394, 18463, 2932, 2568, 1404, 1262, 805, 1562, 666, 8863, 5411, 289, 5411, 3458, 18, 945, 12, 267, 1769, 5411, 316, 18, 4412, 5621, 5411, 14015, 14925, 2174, 1388, 13, 4146, 797, 7130, 2934, 1289, 7130, 12, 3458, 11272, 3639, 289, 1044, 261, 14106, 10847, 13, 288, 5411, 604, 394, 18463, 2932, 2568, 1404, 2 ]
super(msg);
public GeneralSecurityException(String msg) { super(msg); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/24330cfb4cc445da21a71a819ce54efe764fab6e/GeneralSecurityException.java/buggy/core/src/classpath/java/java/security/GeneralSecurityException.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 9544, 24918, 12, 780, 1234, 13, 225, 288, 377, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 9544, 24918, 12, 780, 1234, 13, 225, 288, 377, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
break;
private List getSatisfiableConstructors(List constructors, MutablePicoContainer picoContainer) throws PicoIntrospectionException, AssignabilityRegistrationException, NotConcreteRegistrationException { if (satisfiableConstructors == null) { satisfiableConstructors = new ArrayList(); Set failedDependencies = new HashSet(); for (Iterator iterator = constructors.iterator(); iterator.hasNext();) { Constructor constructor = (Constructor) iterator.next(); Class[] parameterTypes = constructor.getParameterTypes(); Parameter[] currentParameters = parameters != null ? parameters : createDefaultParameters(parameterTypes); boolean failedDependency = false; for (int i = 0; i < currentParameters.length; i++) { ComponentAdapter adapter = currentParameters[i].resolveAdapter(picoContainer); if (adapter == null) { failedDependency = true; failedDependencies.add(parameterTypes[i]); break; } else { // we can't depend on ourself if (adapter.equals(this)) { failedDependency = true; failedDependencies.add(parameterTypes[i]); break; } if (getComponentKey().equals(adapter.getComponentKey())) { failedDependency = true; failedDependencies.add(parameterTypes[i]); break; } } } if (!failedDependency) { satisfiableConstructors.add(constructor); } } if (satisfiableConstructors.isEmpty()) { throw new NoSatisfiableConstructorsException(getComponentImplementation(), failedDependencies); } } return satisfiableConstructors; }
9344 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9344/e89add953446f0d3638dc4f0b2cc560c7361ef72/TransientComponentAdapter.java/clean/trunk/java/picocontainer/src/java/org/picocontainer/defaults/TransientComponentAdapter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 987, 1322, 270, 7396, 2214, 29590, 12, 682, 19874, 16, 10960, 52, 10764, 2170, 293, 10764, 2170, 13, 1216, 453, 10764, 1702, 26362, 503, 16, 12093, 2967, 7843, 503, 16, 2288, 25845, 7843, 503, 288, 3639, 309, 261, 12973, 7396, 2214, 29590, 422, 446, 13, 288, 5411, 9281, 2214, 29590, 273, 394, 2407, 5621, 5411, 1000, 2535, 8053, 273, 394, 6847, 5621, 5411, 364, 261, 3198, 2775, 273, 19874, 18, 9838, 5621, 2775, 18, 5332, 2134, 5621, 13, 288, 7734, 11417, 3885, 273, 261, 6293, 13, 2775, 18, 4285, 5621, 7734, 1659, 8526, 20173, 273, 3885, 18, 588, 1662, 2016, 5621, 7734, 5498, 8526, 783, 2402, 273, 1472, 480, 446, 692, 1472, 294, 27346, 2402, 12, 6775, 2016, 1769, 7734, 1250, 2535, 7787, 273, 629, 31, 7734, 364, 261, 474, 277, 273, 374, 31, 277, 411, 783, 2402, 18, 2469, 31, 277, 27245, 288, 10792, 5435, 4216, 4516, 273, 783, 2402, 63, 77, 8009, 10828, 4216, 12, 84, 10764, 2170, 1769, 10792, 309, 261, 10204, 422, 446, 13, 288, 13491, 2535, 7787, 273, 638, 31, 13491, 2535, 8053, 18, 1289, 12, 6775, 2016, 63, 77, 19226, 4766, 6647, 289, 469, 288, 13491, 368, 732, 848, 1404, 2447, 603, 3134, 2890, 13491, 309, 261, 10204, 18, 14963, 12, 2211, 3719, 288, 18701, 2535, 7787, 273, 638, 31, 18701, 2535, 8053, 18, 1289, 12, 6775, 2016, 63, 77, 19226, 4766, 10402, 289, 13491, 309, 261, 588, 1841, 653, 7675, 14963, 12, 10204, 18, 588, 1841, 653, 1435, 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, 987, 1322, 270, 7396, 2214, 29590, 12, 682, 19874, 16, 10960, 52, 10764, 2170, 293, 10764, 2170, 13, 1216, 453, 10764, 1702, 26362, 503, 16, 12093, 2967, 7843, 503, 16, 2288, 25845, 7843, 503, 288, 3639, 309, 261, 12973, 7396, 2214, 29590, 422, 446, 13, 288, 5411, 9281, 2214, 29590, 273, 394, 2407, 5621, 5411, 1000, 2535, 8053, 273, 394, 6847, 5621, 5411, 364, 261, 3198, 2775, 273, 19874, 18, 9838, 5621, 2775, 18, 5332, 2134, 5621, 13, 288, 7734, 11417, 3885, 273, 261, 6293, 13, 2775, 18, 4285, 5621, 7734, 1659, 8526, 20173, 273, 3885, 18, 588, 1662, 2016, 5621, 7734, 5498, 8526, 783, 2402, 273, 1472, 480, 446, 692, 1472, 294, 27346, 2402, 12, 6775, 2 ]
if (!store.contains(MylarUiPrefContstants.GLOBAL_FILTERING)) store.setDefault(MylarUiPrefContstants.GLOBAL_FILTERING, true);
protected void initializeDefaultPreferences(IPreferenceStore store) { store.setDefault(MylarUiPrefContstants.AUTO_MANAGE_EDITORS, true); store.setDefault(MylarUiPrefContstants.AUTO_MANAGE_EDITORS_OPEN_NUM, 8); store.setDefault(MylarUiPrefContstants.GAMMA_SETTING_LIGHTENED, false); store.setDefault(MylarUiPrefContstants.GAMMA_SETTING_STANDARD, true); store.setDefault(MylarUiPrefContstants.GAMMA_SETTING_DARKENED, false); if (!store.contains(MylarUiPrefContstants.GLOBAL_FILTERING)) store.setDefault(MylarUiPrefContstants.GLOBAL_FILTERING, true); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/dbebd30c6a516eb6f2e26117358f9e8914a9fc8a/MylarUiPlugin.java/clean/org.eclipse.mylyn.context.ui/src/org/eclipse/mylyn/provisional/ui/MylarUiPlugin.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 4046, 1868, 12377, 12, 45, 9624, 2257, 1707, 13, 288, 202, 202, 2233, 18, 542, 1868, 12, 12062, 7901, 13943, 23218, 660, 2087, 18, 18909, 67, 9560, 2833, 67, 13208, 55, 16, 638, 1769, 202, 202, 2233, 18, 542, 1868, 12, 12062, 7901, 13943, 23218, 660, 2087, 18, 18909, 67, 9560, 2833, 67, 13208, 55, 67, 11437, 67, 6069, 16, 1725, 1769, 202, 202, 2233, 18, 542, 1868, 12, 12062, 7901, 13943, 23218, 660, 2087, 18, 43, 2192, 5535, 67, 1090, 12239, 67, 23516, 1157, 2056, 16, 629, 1769, 202, 202, 2233, 18, 542, 1868, 12, 12062, 7901, 13943, 23218, 660, 2087, 18, 43, 2192, 5535, 67, 1090, 12239, 67, 882, 18264, 16, 638, 1769, 202, 202, 2233, 18, 542, 1868, 12, 12062, 7901, 13943, 23218, 660, 2087, 18, 43, 2192, 5535, 67, 1090, 12239, 67, 40, 9584, 1157, 2056, 16, 629, 1769, 202, 202, 430, 16051, 2233, 18, 12298, 12, 12062, 7901, 13943, 23218, 660, 2087, 18, 20402, 67, 11126, 1360, 3719, 1082, 202, 2233, 18, 542, 1868, 12, 12062, 7901, 13943, 23218, 660, 2087, 18, 20402, 67, 11126, 1360, 16, 638, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 4046, 1868, 12377, 12, 45, 9624, 2257, 1707, 13, 288, 202, 202, 2233, 18, 542, 1868, 12, 12062, 7901, 13943, 23218, 660, 2087, 18, 18909, 67, 9560, 2833, 67, 13208, 55, 16, 638, 1769, 202, 202, 2233, 18, 542, 1868, 12, 12062, 7901, 13943, 23218, 660, 2087, 18, 18909, 67, 9560, 2833, 67, 13208, 55, 67, 11437, 67, 6069, 16, 1725, 1769, 202, 202, 2233, 18, 542, 1868, 12, 12062, 7901, 13943, 23218, 660, 2087, 18, 43, 2192, 5535, 67, 1090, 12239, 67, 23516, 1157, 2056, 16, 629, 1769, 202, 202, 2233, 18, 542, 1868, 12, 12062, 7901, 13943, 23218, 660, 2087, 18, 43, 2192, 5535, 67, 1090, 12239, 67, 882, 18264, 16, 638, 1769, 2 ]
LOW_PRIORITY)
NORMAL_PRIORITY)
public void sawOpcode(int seen) { /* prototype for short-circuit bug */ distance++; switch (seen) { case ICONST_1: stage1 = 1; break; case GOTO: if (stage1 == 1) stage1 = 2; else stage1 = 0; break; case ICONST_0: if (stage1 == 2) { distance = 0; // System.out.println("saw 1; goto X; 0"); } stage1 = 0; default: stage1 = 0; } switch (seen) { case IAND: case IOR: // System.out.println("Saw IOR or IAND at distance " + distance); if (distance < 4) { operator = seen; //distance2 = distance; stage2 = 1; } else stage2 = 0; break; case IFEQ: case IFNE: if (stage2 == 1) { // System.out.println("Found nsc"); bugReporter.reportBug(new BugInstance(this, "NS_NON_SHORT_CIRCUIT", NORMAL_PRIORITY) .addClassAndMethod(this) .addSourceLine(this, getPC())); } stage2 = 0; break; case PUTFIELD: case PUTSTATIC: case IRETURN: if (operator == IAND && stage2 == 1) { // System.out.println("Found nsc"); bugReporter.reportBug(new BugInstance(this, "NS_NON_SHORT_CIRCUIT", LOW_PRIORITY) .addClassAndMethod(this) .addSourceLine(this, getPC())); } stage2 = 0; break; default: stage2 = 0; break; } }
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/79cf9e76bb6693fa2e8476942ce56c30e462b52f/FindNonShortCircuit.java/clean/findbugs/src/java/edu/umd/cs/findbugs/detect/FindNonShortCircuit.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1850, 1071, 918, 19821, 22808, 12, 474, 5881, 13, 288, 202, 202, 20308, 4409, 364, 3025, 17, 24987, 7934, 1195, 202, 202, 8969, 9904, 31, 202, 202, 9610, 261, 15156, 13, 288, 202, 202, 3593, 467, 26411, 67, 21, 30, 1082, 202, 12869, 21, 273, 404, 31, 1082, 202, 8820, 31, 202, 202, 3593, 611, 27019, 30, 1082, 202, 430, 261, 12869, 21, 422, 404, 13, 9506, 202, 12869, 21, 273, 576, 31, 1082, 202, 12107, 9506, 202, 12869, 21, 273, 374, 31, 1082, 202, 8820, 31, 202, 202, 3593, 467, 26411, 67, 20, 30, 1082, 202, 430, 261, 12869, 21, 422, 576, 13, 288, 9506, 202, 8969, 273, 374, 31, 9506, 202, 759, 2332, 18, 659, 18, 8222, 2932, 87, 2219, 404, 31, 2897, 1139, 31, 374, 8863, 1082, 202, 97, 1082, 202, 12869, 21, 273, 374, 31, 202, 202, 1886, 30, 1082, 202, 12869, 21, 273, 374, 31, 202, 202, 97, 202, 202, 9610, 261, 15156, 13, 288, 202, 202, 3593, 467, 4307, 30, 202, 202, 3593, 467, 916, 30, 1082, 202, 759, 2332, 18, 659, 18, 8222, 2932, 55, 2219, 467, 916, 578, 467, 4307, 622, 3888, 315, 397, 3888, 1769, 1082, 202, 430, 261, 8969, 411, 1059, 13, 288, 9506, 202, 9497, 273, 5881, 31, 9506, 202, 759, 8969, 22, 273, 3888, 31, 9506, 202, 12869, 22, 273, 404, 31, 1082, 202, 97, 469, 9506, 202, 12869, 22, 273, 374, 31, 1082, 202, 8820, 31, 202, 202, 3593, 467, 8090, 53, 30, 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, 1850, 1071, 918, 19821, 22808, 12, 474, 5881, 13, 288, 202, 202, 20308, 4409, 364, 3025, 17, 24987, 7934, 1195, 202, 202, 8969, 9904, 31, 202, 202, 9610, 261, 15156, 13, 288, 202, 202, 3593, 467, 26411, 67, 21, 30, 1082, 202, 12869, 21, 273, 404, 31, 1082, 202, 8820, 31, 202, 202, 3593, 611, 27019, 30, 1082, 202, 430, 261, 12869, 21, 422, 404, 13, 9506, 202, 12869, 21, 273, 576, 31, 1082, 202, 12107, 9506, 202, 12869, 21, 273, 374, 31, 1082, 202, 8820, 31, 202, 202, 3593, 467, 26411, 67, 20, 30, 1082, 202, 430, 261, 12869, 21, 422, 576, 13, 288, 9506, 202, 8969, 273, 374, 31, 9506, 202, 759, 2332, 18, 659, 18, 8222, 2 ]
protected void saveGraph(Graph graph, String outFolder) throws IOException {
protected void saveGraph(Graph graph, String filename, File outFolder) throws IOException {
protected void saveGraph(Graph graph, String outFolder) throws IOException { // output graph to *.gif String name = new File(file).getName(); final String dotFileName = outFolder + "\\" + name + ".dot"; final String gifFileName = outFolder + "\\" + name + ".gif"; final String exeFile = getSaveExecutable(); System.out.println("Executing: " + exeFile); GRAPHtoDOTtoGIF.transform(graph, dotFileName, gifFileName, exeFile); }
2370 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2370/555fcaddcb37461c5341868e54975e16ccd0ade1/MuleGrapher.java/buggy/tools/config-graph/src/java/org/mule/tools/config/graph/MuleGrapher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1923, 4137, 12, 4137, 2667, 16, 514, 1544, 16, 1387, 596, 3899, 13, 1216, 1860, 288, 3639, 368, 876, 2667, 358, 380, 18, 13905, 3639, 514, 508, 273, 394, 1387, 12, 768, 2934, 17994, 5621, 3639, 727, 514, 3928, 4771, 273, 596, 3899, 397, 14520, 397, 508, 397, 3552, 9811, 14432, 3639, 727, 514, 27618, 4771, 273, 596, 3899, 397, 14520, 397, 508, 397, 3552, 13905, 14432, 3639, 727, 514, 15073, 812, 273, 1322, 836, 17709, 5621, 3639, 2332, 18, 659, 18, 8222, 2932, 22134, 30, 315, 397, 15073, 812, 1769, 3639, 15228, 18045, 869, 17591, 869, 43, 5501, 18, 6547, 12, 4660, 16, 3928, 4771, 16, 27618, 4771, 16, 15073, 812, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1923, 4137, 12, 4137, 2667, 16, 514, 1544, 16, 1387, 596, 3899, 13, 1216, 1860, 288, 3639, 368, 876, 2667, 358, 380, 18, 13905, 3639, 514, 508, 273, 394, 1387, 12, 768, 2934, 17994, 5621, 3639, 727, 514, 3928, 4771, 273, 596, 3899, 397, 14520, 397, 508, 397, 3552, 9811, 14432, 3639, 727, 514, 27618, 4771, 273, 596, 3899, 397, 14520, 397, 508, 397, 3552, 13905, 14432, 3639, 727, 514, 15073, 812, 273, 1322, 836, 17709, 5621, 3639, 2332, 18, 659, 18, 8222, 2932, 22134, 30, 315, 397, 15073, 812, 1769, 3639, 15228, 18045, 869, 17591, 869, 43, 5501, 18, 6547, 12, 4660, 16, 3928, 4771, 16, 27618, 4771, 16, 15073, 812, 1769, 565, 289, 2, -100 ]
xsp = jj_scanpos; if (jj_3R_355()) { jj_scanpos = xsp;
final private boolean jj_3R_348() { Token xsp; xsp = jj_scanpos; if (jj_3R_355()) { jj_scanpos = xsp; if (jj_3R_356()) return true; } return false; }
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, 3238, 1250, 10684, 67, 23, 54, 67, 5026, 28, 1435, 288, 565, 3155, 619, 1752, 31, 565, 619, 1752, 273, 10684, 67, 9871, 917, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 23, 2539, 10756, 288, 565, 10684, 67, 9871, 917, 273, 619, 1752, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 23, 4313, 10756, 327, 638, 31, 565, 289, 565, 327, 629, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 5026, 28, 1435, 288, 565, 3155, 619, 1752, 31, 565, 619, 1752, 273, 10684, 67, 9871, 917, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 23, 2539, 10756, 288, 565, 10684, 67, 9871, 917, 273, 619, 1752, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 23, 4313, 10756, 327, 638, 31, 565, 289, 565, 327, 629, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
-1, -1, -1, -1, 281, 282, 41, -1, -1, 44, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 58, 59, -1, 61, -1, 63, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 347, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, 125, -1, -1, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 58, 59, -1, 61, -1, 63, -1, -1, 280, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, 262, 263, 264, 91, -1, 93, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 125, -1, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 362, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, 0, -1, -1, -1, -1, 281, 282, -1, -1, -1, 10, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 58, 59, 336, 337, 338, -1, 340, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, 0, 353, 354, 355, 356, 357, 358, 359, -1, 361, 10, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, 41, 281, 282, 44, -1, -1, -1, -1, 125, -1, 290, 291, 41, 293, 294, 295, 296, 297, 59, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, 59, -1, -1, -1, 10, -1, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, -1, -1, 341, -1, -1, -1, 41, -1, 347, 44, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 58, 59, 125, 61, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, 125, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 41, -1, -1, 44, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, 58, 59, -1, 61, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, -1, 262, 263, 264, -1, -1, 0, 268, 269, -1, 271, -1, -1, -1, -1, -1, 10, 125, -1, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 58, 59, -1, -1, -1, 63, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297,
-1, -1, -1, 280, 281, 282, -1, 41, -1, -1, 44, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 0, -1, 335, 336, 337, -1, -1, 340, -1, -1, 10, -1, -1, 346, -1, 348, -1, 350, -1, 352, 353, 354, 355, 356, 357, 358, -1, 360, 361, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
private static final short[] yyCheck2() { return new short[] { -1, 91, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, -1, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, -1, -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 339, -1, -1, 342, 343, 344, 345, 346, -1, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, -1, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, -1, -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 339, -1, -1, 342, 343, 344, 345, 346, -1, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 59, -1, 61, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 59, -1, 61, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, -1, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, -1, -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 339, -1, -1, 342, 343, 344, 345, 346, -1, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, -1, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, -1, -1, -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -1, 311, 312, 313, 314, -1, -1, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 339, -1, -1, 342, 343, 344, 345, 346, -1, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 0, 363, 364, 365, 366, 367, 368, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, 41, -1, -1, 44, -1, -1, -1, 41, -1, -1, -1, -1, 0, -1, 61, -1, -1, -1, -1, -1, 61, -1, 10, -1, -1, 59, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, -1, -1, -1, -1, 91, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, -1, 281, -1, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, 0, -1, 302, 303, 304, 305, 306, 307, 308, 309, 10, 311, 312, 313, 314, -1, -1, 317, 318, 319, -1, -1, -1, 262, 263, 264, -1, 279, 280, 268, 269, 331, 271, 279, -1, -1, -1, -1, 338, 339, -1, 41, 342, -1, 344, 345, 346, -1, 348, -1, 350, -1, 352, -1, -1, -1, -1, -1, 58, 59, 360, -1, -1, 363, 364, 365, 366, 367, 368, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 331, -1, -1, -1, -1, -1, 331, 338, 280, 281, 282, -1, 343, 338, 93, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 359, 0, -1, 362, -1, -1, 359, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, 125, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 0, -1, 336, 337, 338, -1, -1, 341, 41, -1, 10, -1, -1, 347, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, 59, 361, 362, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 41, -1, -1, 44, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, 125, 93, -1, -1, -1, -1, -1, 59, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, 125, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, 41, -1, -1, 44, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 58, 59, -1, 61, -1, 63, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 347, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, 125, -1, -1, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 58, 59, -1, 61, -1, 63, -1, -1, 280, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, 262, 263, 264, 91, -1, 93, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 125, -1, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 362, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, 0, -1, -1, -1, -1, 281, 282, -1, -1, -1, 10, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 58, 59, 336, 337, 338, -1, 340, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, 0, 353, 354, 355, 356, 357, 358, 359, -1, 361, 10, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, 41, 281, 282, 44, -1, -1, -1, -1, 125, -1, 290, 291, 41, 293, 294, 295, 296, 297, 59, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, 59, -1, -1, -1, 10, -1, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, -1, -1, 341, -1, -1, -1, 41, -1, 347, 44, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 58, 59, 125, 61, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, 125, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 41, -1, -1, 44, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, 58, 59, -1, 61, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, -1, 262, 263, 264, -1, -1, 0, 268, 269, -1, 271, -1, -1, -1, -1, -1, 10, 125, -1, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 58, 59, -1, -1, -1, 63, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 125, -1, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, -1, -1, 341, -1, -1, -1, 41, -1, 347, 44, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, 0, 361, 58, 59, -1, -1, -1, 63, -1, -1, 10, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, 93, -1, -1, -1, 41, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, 0, 59, -1, -1, -1, -1, -1, -1, -1, -1, 10, 125, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, -1, -1, 341, -1, -1, -1, 41, -1, 347, 44, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 58, 59, -1, -1, -1, 63, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 58, 59, -1, -1, -1, 63, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, 125, -1, 341, -1, -1, -1, -1, -1, 347, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 58, 59, -1, -1, -1, 63, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 125, -1, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, -1, -1, 341, -1, -1, -1, 41, -1, 347, 44, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, 93, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, 125, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, -1, -1, 341, -1, -1, -1, 41, -1, 347, 44, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 58, 59, -1, -1, -1, 63, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, 125, -1, 341, -1, -1, -1, -1, -1, 347, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 58, 59, -1, -1, -1, 63, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, 91, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, 125, -1, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, 0, -1, -1, -1, -1, 281, 282, -1, -1, -1, 10, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 58, 59, 336, 337, 338, 63, -1, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, -1, -1, 91, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, -1, -1, -1, -1, -1, 125, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, -1, -1, 341, -1, -1, -1, -1, -1, -1, 41, 349, 0, 351, -1, 353, 354, 355, 356, 357, 358, 359, 10, 361, -1, -1, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, 125, 271, -1, -1, -1, -1, -1, -1, -1, 91, -1, 281, -1, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, 125, 10, -1, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, -1, -1, 341, -1, -1, -1, 41, -1, -1, 44, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, -1, 0, -1, 262, 263, 264, -1, -1, 267, 268, 269, 10, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, 125, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, 41, -1, -1, 44, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, 58, 59, -1, -1, -1, 63, 281, -1, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, -1, -1, 341, 125, -1, -1, -1, -1, -1, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, 0, -1, 262, 263, 264, -1, -1, 267, 268, 269, 10, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, 41, 290, 291, 44, 293, 294, 295, 296, 297, -1, -1, -1, 41, -1, -1, 44, -1, 58, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 59, -1, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, -1, -1, 336, 337, -1, -1, -1, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 125, -1, -1, -1, 0, -1, -1, -1, -1, 281, 282, -1, 125, -1, 10, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, 58, 59, 336, 337, -1, 63, -1, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, -1, -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, 41, 271, -1, 44, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, -1, -1, 58, 59, -1, -1, -1, 63, 293, 294, 295, 296, 297, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 341, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, 58, 59, -1, -1, -1, 63, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, -1, -1, 336, 337, -1, 125, -1, 341, 0, -1, -1, -1, -1, 347, -1, 349, -1, 351, 10, 353, 354, 355, 356, 357, 358, 359, -1, 361, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 281, 282, 41, -1, -1, 44, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, 58, 59, -1, -1, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, -1, 93, 336, 337, -1, -1, -1, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, -1, -1, -1, 0, -1, -1, -1, -1, 281, 282, -1, -1, -1, 10, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, 58, 59, 336, 337, -1, 63, -1, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, -1, -1, -1, -1, 93, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, 125, -1, -1, -1, -1, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, 41, 290, 291, 44, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, -1, -1, 59, -1, 61, -1, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, -1, -1, 336, 337, -1, 91, -1, 341, -1, -1, -1, -1, -1, 347, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, 44, -1, -1, -1, 262, 263, 264, -1, -1, 267, 268, 269, -1, 271, -1, 59, -1, 61, -1, 63, -1, -1, -1, 281, 282, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, -1, -1, -1, -1, -1, -1, -1, 91, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, -1, -1, 336, 337, -1, 125, 0, 341, -1, -1, -1, -1, -1, 347, -1, 349, 10, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, -1, -1, -1, -1, -1, -1, -1, 290, 291, -1, 293, 294, 295, 296, 297, 58, 59, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, -1, -1, 336, 337, 338, -1, 340, -1, 41, -1, -1, 44, -1, -1, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, 59, 361, 61, -1, 63, 125, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, }; }
48072 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48072/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, 1564, 22, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 6647, 300, 21, 16, 282, 26936, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 5411, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 5411, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 5411, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 225, 30616, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 5411, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 5411, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 225, 6969, 27, 16, 225, 6969, 28, 16, 225, 576, 6162, 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, 565, 3238, 760, 727, 3025, 8526, 9016, 1564, 22, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 6647, 300, 21, 16, 282, 26936, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 5411, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 5411, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 16, 282, 300, 21, 2 ]
if(hasSameEncoding(encoding))
if(hasSameEncoding(encoding)) {
protected void doStore() { String encoding = getSelectedEncoding(); if(hasSameEncoding(encoding)) return; IDEEncoding.addIDEEncoding(encoding); if (encoding.equals(getDefaultEnc())) { getPreferenceStore().setToDefault(getPreferenceName()); } else { getPreferenceStore().setValue(getPreferenceName(), encoding); } }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/EncodingFieldEditor.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/ide/dialogs/EncodingFieldEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 741, 2257, 1435, 288, 202, 202, 780, 2688, 273, 16625, 4705, 5621, 9506, 202, 430, 12, 5332, 8650, 4705, 12, 5999, 3719, 1082, 202, 2463, 31, 9506, 202, 10385, 4705, 18, 1289, 10385, 4705, 12, 5999, 1769, 6862, 202, 430, 261, 5999, 18, 14963, 12, 588, 1868, 4280, 1435, 3719, 288, 1082, 202, 588, 9624, 2257, 7675, 542, 774, 1868, 12, 588, 9624, 461, 10663, 202, 202, 97, 469, 288, 1082, 202, 588, 9624, 2257, 7675, 542, 620, 12, 588, 9624, 461, 9334, 2688, 1769, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 741, 2257, 1435, 288, 202, 202, 780, 2688, 273, 16625, 4705, 5621, 9506, 202, 430, 12, 5332, 8650, 4705, 12, 5999, 3719, 1082, 202, 2463, 31, 9506, 202, 10385, 4705, 18, 1289, 10385, 4705, 12, 5999, 1769, 6862, 202, 430, 261, 5999, 18, 14963, 12, 588, 1868, 4280, 1435, 3719, 288, 1082, 202, 588, 9624, 2257, 7675, 542, 774, 1868, 12, 588, 9624, 461, 10663, 202, 202, 97, 469, 288, 1082, 202, 588, 9624, 2257, 7675, 542, 620, 12, 588, 9624, 461, 9334, 2688, 1769, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return new Instance(dest.weight(), vals);
inst = new Instance(dest.weight(), vals);
protected Instance mergeInstances(Instance source, Instance dest) throws Exception { Instances outputFormat = outputFormatPeek(); double[] vals = new double[outputFormat.numAttributes()]; for(int i = 0; i < vals.length; i++) { if (m_SelectedCols.isInRange(i)) { if (source != null) { vals[i] = source.value(i); } } else { vals[i] = dest.value(i); } } if (dest instanceof SparseInstance) { return new SparseInstance(dest.weight(), vals); } else { return new Instance(dest.weight(), vals); } }
6866 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6866/990bad9b8ecbcdb348159fb4d331b15b15b2282d/TimeSeriesTranslateFilter.java/buggy/filters/TimeSeriesTranslateFilter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 5180, 2691, 5361, 12, 1442, 1084, 16, 5180, 1570, 13, 565, 1216, 1185, 288, 565, 18357, 27205, 273, 27205, 30950, 5621, 565, 1645, 8526, 5773, 273, 394, 1645, 63, 2844, 1630, 18, 2107, 2498, 1435, 15533, 565, 364, 12, 474, 277, 273, 374, 31, 277, 411, 5773, 18, 2469, 31, 277, 27245, 288, 1377, 309, 261, 81, 67, 7416, 8011, 18, 291, 25277, 12, 77, 3719, 288, 202, 430, 261, 3168, 480, 446, 13, 288, 202, 225, 5773, 63, 77, 65, 273, 1084, 18, 1132, 12, 77, 1769, 202, 97, 1377, 289, 469, 288, 202, 4524, 63, 77, 65, 273, 1570, 18, 1132, 12, 77, 1769, 1377, 289, 565, 289, 377, 309, 261, 10488, 1276, 16473, 1442, 13, 288, 1377, 327, 394, 16473, 1442, 12, 10488, 18, 4865, 9334, 5773, 1769, 565, 289, 469, 288, 1377, 1804, 273, 394, 5180, 12, 10488, 18, 4865, 9334, 5773, 1769, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4750, 5180, 2691, 5361, 12, 1442, 1084, 16, 5180, 1570, 13, 565, 1216, 1185, 288, 565, 18357, 27205, 273, 27205, 30950, 5621, 565, 1645, 8526, 5773, 273, 394, 1645, 63, 2844, 1630, 18, 2107, 2498, 1435, 15533, 565, 364, 12, 474, 277, 273, 374, 31, 277, 411, 5773, 18, 2469, 31, 277, 27245, 288, 1377, 309, 261, 81, 67, 7416, 8011, 18, 291, 25277, 12, 77, 3719, 288, 202, 430, 261, 3168, 480, 446, 13, 288, 202, 225, 5773, 63, 77, 65, 273, 1084, 18, 1132, 12, 77, 1769, 202, 97, 1377, 289, 469, 288, 202, 4524, 63, 77, 65, 273, 1570, 18, 1132, 12, 77, 1769, 1377, 289, 565, 289, 377, 309, 261, 10488, 1276, 16473, 1442, 2 ]
return super.toString()+":"+usk;
return super.toString()+ ':' +usk;
public String toString() { return super.toString()+":"+usk; }
50653 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50653/62fd59041864b4ed1f43adc676de6bfb5ea977f3/USKFetcherWrapper.java/buggy/src/freenet/client/async/USKFetcherWrapper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 1762, 1435, 288, 202, 202, 2463, 2240, 18, 10492, 1435, 9078, 2773, 15, 407, 79, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 1762, 1435, 288, 202, 202, 2463, 2240, 18, 10492, 1435, 9078, 2773, 15, 407, 79, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (variableName != null) {
/* * Bug 84056. If we update the active workbench window, then we * risk falling back to that shell when the active shell has * registered as "none". */ if ((variableName != null) && (!ISources.ACTIVE_WORKBENCH_WINDOW_NAME .equals(variableName))) {
private final void updateCurrentState() { final Iterator providerItr = providers.iterator(); while (providerItr.hasNext()) { final ISourceProvider provider = (ISourceProvider) providerItr .next(); final Map currentState = provider.getCurrentState(); final Iterator variableItr = currentState.entrySet().iterator(); while (variableItr.hasNext()) { final Map.Entry entry = (Map.Entry) variableItr.next(); final String variableName = (String) entry.getKey(); final Object variableValue = entry.getValue(); if (variableName != null) { if (variableValue == null) { context.removeVariable(variableName); } else { context.addVariable(variableName, variableValue); } } } } }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/84044ea1f15fa7a97c26f7026df5fc2dfe7b0e71/ContextAuthority.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/contexts/ContextAuthority.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 727, 918, 1089, 3935, 1119, 1435, 288, 202, 202, 6385, 4498, 2893, 28984, 273, 9165, 18, 9838, 5621, 202, 202, 17523, 261, 6778, 28984, 18, 5332, 2134, 10756, 288, 1082, 202, 6385, 467, 1830, 2249, 2893, 273, 261, 45, 1830, 2249, 13, 2893, 28984, 6862, 202, 18, 4285, 5621, 1082, 202, 6385, 1635, 17773, 273, 2893, 18, 588, 3935, 1119, 5621, 1082, 202, 6385, 4498, 2190, 28984, 273, 17773, 18, 4099, 694, 7675, 9838, 5621, 1082, 202, 17523, 261, 6105, 28984, 18, 5332, 2134, 10756, 288, 9506, 202, 6385, 1635, 18, 1622, 1241, 273, 261, 863, 18, 1622, 13, 2190, 28984, 18, 4285, 5621, 9506, 202, 6385, 514, 17834, 273, 261, 780, 13, 1241, 18, 588, 653, 5621, 9506, 202, 6385, 1033, 2190, 620, 273, 1241, 18, 24805, 5621, 9506, 202, 430, 261, 6105, 461, 480, 446, 13, 288, 6862, 202, 430, 261, 6105, 620, 422, 446, 13, 288, 25083, 202, 2472, 18, 4479, 3092, 12, 6105, 461, 1769, 6862, 202, 97, 469, 288, 25083, 202, 2472, 18, 1289, 3092, 12, 6105, 461, 16, 2190, 620, 1769, 6862, 202, 97, 9506, 202, 97, 1082, 202, 97, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1152, 727, 918, 1089, 3935, 1119, 1435, 288, 202, 202, 6385, 4498, 2893, 28984, 273, 9165, 18, 9838, 5621, 202, 202, 17523, 261, 6778, 28984, 18, 5332, 2134, 10756, 288, 1082, 202, 6385, 467, 1830, 2249, 2893, 273, 261, 45, 1830, 2249, 13, 2893, 28984, 6862, 202, 18, 4285, 5621, 1082, 202, 6385, 1635, 17773, 273, 2893, 18, 588, 3935, 1119, 5621, 1082, 202, 6385, 4498, 2190, 28984, 273, 17773, 18, 4099, 694, 7675, 9838, 5621, 1082, 202, 17523, 261, 6105, 28984, 18, 5332, 2134, 10756, 288, 9506, 202, 6385, 1635, 18, 1622, 1241, 273, 261, 863, 18, 1622, 13, 2190, 28984, 18, 4285, 5621, 9506, 202, 6385, 514, 17834, 273, 261, 780, 13, 1241, 18, 588, 2 ]
if(patternRegion == null){
if(patternTile == null){
public ConcretePatternPaintContext(ColorModel destCM, AffineTransform usr2dev, RenderingHints hints, GraphicsNode node, AffineTransformSource nodeTransformSource, FilterRegion patternRegion, boolean overflow){ if(usr2dev == null){ throw new IllegalArgumentException(); } if(hints == null){ hints = new RenderingHints(null); } if(node == null){ throw new IllegalArgumentException(); } if(patternRegion == null){ throw new IllegalArgumentException(); } AffineTransform nodeTxf = null; if(nodeTransformSource != null){ nodeTxf = nodeTransformSource.getTransform(); } else{ nodeTxf = new AffineTransform(); } Rectangle2D nodeBounds = node.getBounds(); Rectangle2D patternBounds = patternRegion.getRegion(); tileX = patternBounds.getX(); tileY = patternBounds.getY(); tileWidth = patternBounds.getWidth(); tileHeight = patternBounds.getHeight(); // System.out.println("nodeBounds : " + nodeBounds); // System.out.println("patternBounds : " + patternBounds); // // adjustTxf applies the nodeTransform first, then // the translation to move the node rendering into // the pattern region space // AffineTransform adjustTxf = new AffineTransform(); adjustTxf.translate(patternBounds.getX(), patternBounds.getY()); adjustTxf.concatenate(nodeTxf); GraphicsNodeRable gnr = new ConcreteGraphicsNodeRable(node); AffineRable atr = new ConcreteAffineRable(gnr, adjustTxf); Rectangle2D padBounds = (Rectangle2D)patternBounds.clone(); if(overflow){ // System.out.println("Pattern overflow ...."); // // When there is overflow, make sure we take the // full node bounds into account. // /*AffineTransform adjustTxfInv = null; try{ adjustTxfInv = adjustTxf.createInverse(); }catch(NoninvertibleTransformException e){ }finally { if(adjustTxfInv == null){ adjustTxfInv = new AffineTransform(); } }*/ Rectangle2D adjustedNodeBounds = adjustTxf.createTransformedShape(nodeBounds).getBounds2D(); // System.out.println("adjustedBounds : " + adjustedNodeBounds); padBounds.add(adjustedNodeBounds); } // System.out.println("padBounds : " + padBounds); PadRable pad = new ConcretePadRable(atr, padBounds, PadMode.ZERO_PAD); // System.out.println("Created PadRable"); padTxf = new AffineTransform(usr2dev); // Compute area of interest // TO BE DONE: THIS DOES NOT TAKE INTO ACCOUNT THAT // THE AREA OF INTEREST MAY BE A SUB-REGION OF A PATTERN // TILE. RenderContext rc = new RenderContext(padTxf, padBounds, hints); tile = pad.createRendering(rc); // System.out.println("Created rendering"); if(tile == null){ // System.out.println("Tile was null"); WritableRaster wr = rasterCM.createCompatibleWritableRaster(32, 32); tile = new BufferedImage(rasterCM, wr, false, null); } try{ dev2usr = padTxf.createInverse(); }catch(NoninvertibleTransformException e){ // Degenerate case. Use identity dev2usr = new AffineTransform(); } }
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/299454dfb065fd574c4a87058f4b052fca8971ac/ConcretePatternPaintContext.java/clean/sources/org/apache/batik/refimpl/gvt/ConcretePatternPaintContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 735, 6883, 3234, 12699, 1042, 12, 2957, 1488, 1570, 9611, 16, 4766, 4202, 23906, 558, 4059, 16575, 22, 5206, 16, 4766, 4202, 22391, 13442, 16, 4766, 4202, 16830, 907, 756, 16, 4766, 4202, 23906, 558, 4059, 1830, 756, 4059, 1830, 16, 4766, 4202, 4008, 5165, 1936, 5165, 16, 4766, 4202, 1250, 9391, 15329, 3639, 309, 12, 13640, 22, 5206, 422, 446, 15329, 5411, 604, 394, 2754, 5621, 3639, 289, 3639, 309, 12, 24598, 422, 446, 15329, 5411, 13442, 273, 394, 22391, 12, 2011, 1769, 3639, 289, 3639, 309, 12, 2159, 422, 446, 15329, 5411, 604, 394, 2754, 5621, 3639, 289, 3639, 309, 12, 4951, 9337, 422, 446, 15329, 5411, 604, 394, 2754, 5621, 3639, 289, 3639, 23906, 558, 4059, 756, 4188, 74, 273, 446, 31, 3639, 309, 12, 2159, 4059, 1830, 480, 446, 15329, 5411, 756, 4188, 74, 273, 756, 4059, 1830, 18, 588, 4059, 5621, 3639, 289, 3639, 469, 95, 5411, 756, 4188, 74, 273, 394, 23906, 558, 4059, 5621, 3639, 289, 3639, 13264, 22, 40, 756, 5694, 273, 756, 18, 588, 5694, 5621, 3639, 13264, 22, 40, 1936, 5694, 273, 1936, 5165, 18, 588, 5165, 5621, 3639, 4769, 60, 273, 1936, 5694, 18, 588, 60, 5621, 3639, 4769, 61, 273, 1936, 5694, 18, 588, 61, 5621, 3639, 4769, 2384, 273, 1936, 5694, 18, 588, 2384, 5621, 3639, 4769, 2686, 273, 1936, 5694, 18, 588, 2686, 5621, 3639, 368, 2332, 18, 659, 18, 8222, 2932, 2159, 5694, 565, 294, 315, 397, 756, 5694, 1769, 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, 735, 6883, 3234, 12699, 1042, 12, 2957, 1488, 1570, 9611, 16, 4766, 4202, 23906, 558, 4059, 16575, 22, 5206, 16, 4766, 4202, 22391, 13442, 16, 4766, 4202, 16830, 907, 756, 16, 4766, 4202, 23906, 558, 4059, 1830, 756, 4059, 1830, 16, 4766, 4202, 4008, 5165, 1936, 5165, 16, 4766, 4202, 1250, 9391, 15329, 3639, 309, 12, 13640, 22, 5206, 422, 446, 15329, 5411, 604, 394, 2754, 5621, 3639, 289, 3639, 309, 12, 24598, 422, 446, 15329, 5411, 13442, 273, 394, 22391, 12, 2011, 1769, 3639, 289, 3639, 309, 12, 2159, 422, 446, 15329, 5411, 604, 394, 2754, 5621, 3639, 289, 3639, 309, 12, 4951, 9337, 422, 446, 15329, 5411, 604, 394, 2754, 5621, 3639, 289, 3639, 23906, 2 ]
gc.drawText("(" + String.valueOf(fdCurrent.getSize()) + ")", this.getSize().x - 36, 3);
gc.drawText("(" + String.valueOf(fdCurrent.getSize()) + ")", this.getSize().x - 36, 3);
public void paintControl(PaintEvent pe) { Font fSize = null; Font fCurrent = null; Color cFore = null; GC gc = pe.gc; Font fOld = gc.getFont(); if (cdCurrent != null && bUseColor) { cFore = new Color(this.getDisplay(), cdCurrent.getRed(), cdCurrent.getGreen(), cdCurrent.getBlue()); } else { cFore = new Color(this.getDisplay(), 0, 0, 0); } gc.setForeground(cFore); if (fdCurrent != null) { // Handle styles int iStyle = (fdCurrent.isBold()) ? SWT.BOLD : SWT.NORMAL; iStyle |= (fdCurrent.isItalic()) ? SWT.ITALIC : iStyle; String sFontName = fdCurrent.getName(); if (!bUseSize) { gc.setClipping(2, 2, this.getSize().x - 40, 26); fCurrent = new Font(this.getDisplay(), fdCurrent.getName(), fOld.getFontData()[0].getHeight(), iStyle); } else { fCurrent = new Font(this.getDisplay(), fdCurrent.getName(), (int) fdCurrent.getSize(), iStyle); } gc.setFont(fCurrent); // Calculate the location to render text int iStartX = 5; int iStartY = 3; if (bUseAlignment) { if (fdCurrent.getAlignment().getHorizontalAlignment().equals(HorizontalAlignment.LEFT_LITERAL)) { iStartX = 5; } else if (fdCurrent.getAlignment().getHorizontalAlignment().equals(HorizontalAlignment.CENTER_LITERAL)) { iStartX = this.getSize().x / 2 - (getStringWidth(gc, sFontName).x / 2); } else if (fdCurrent.getAlignment().getHorizontalAlignment().equals(HorizontalAlignment.RIGHT_LITERAL)) { iStartX = this.getSize().x - getStringWidth(gc, sFontName).x; } if (fdCurrent.getAlignment().getVerticalAlignment().equals(VerticalAlignment.TOP_LITERAL)) { iStartY = 3; } else if (fdCurrent.getAlignment().getVerticalAlignment().equals(VerticalAlignment.CENTER_LITERAL)) { iStartY = (this.getSize().y / 2); if (bUseSize) { iStartY -= (getStringWidth(gc, sFontName).y / 2); } else { iStartY -= 15; } } else if (fdCurrent.getAlignment().getVerticalAlignment().equals(VerticalAlignment.BOTTOM_LITERAL)) { iStartY = this.getSize().y; if (bUseSize) { iStartY -= (getStringWidth(gc, sFontName).y); } else { iStartY -= 30; } } } gc.drawText(sFontName, iStartX, iStartY); if (fdCurrent.isUnderline()) { gc.drawLine(iStartX, iStartY + getStringWidth(gc, sFontName).y - gc.getFontMetrics().getDescent(), iStartX + getStringWidth(gc, sFontName).x - gc.getFontMetrics().getDescent(), iStartY + getStringWidth(gc, sFontName).y - gc.getFontMetrics().getDescent()); } if (fdCurrent.isStrikethrough()) { gc.drawLine(iStartX, iStartY + (getStringWidth(gc, sFontName).y / 2) + 1, iStartX + getStringWidth(gc, sFontName).x, iStartY + (getStringWidth(gc, sFontName).y / 2) + 1); } if (!bUseSize) { gc.setClipping(1, 1, this.getSize().x, this.getSize().y); fSize = new Font(this.getDisplay(), "Sans-Serif", 10, SWT.NORMAL); gc.setFont(fSize); gc.drawText("(" + String.valueOf(fdCurrent.getSize()) + ")", this.getSize().x - 36, 3); fSize.dispose(); } fCurrent.dispose(); } cFore.dispose(); gc.setFont(fOld); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/7793e94b4d7fab5891f226c6c937e37d85bebad8/FontCanvas.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/FontCanvas.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 12574, 3367, 12, 12699, 1133, 2804, 13, 565, 288, 3639, 10063, 284, 1225, 273, 446, 31, 3639, 10063, 284, 3935, 273, 446, 31, 3639, 5563, 276, 13573, 273, 446, 31, 3639, 15085, 8859, 273, 2804, 18, 13241, 31, 3639, 10063, 284, 7617, 273, 8859, 18, 588, 5711, 5621, 3639, 309, 261, 4315, 3935, 480, 446, 597, 324, 3727, 2957, 13, 3639, 288, 5411, 276, 13573, 273, 394, 5563, 12, 2211, 18, 588, 4236, 9334, 7976, 3935, 18, 588, 3715, 9334, 7976, 3935, 18, 588, 21453, 9334, 7976, 3935, 18, 588, 27986, 10663, 3639, 289, 3639, 469, 3639, 288, 5411, 276, 13573, 273, 394, 5563, 12, 2211, 18, 588, 4236, 9334, 374, 16, 374, 16, 374, 1769, 3639, 289, 3639, 8859, 18, 542, 23206, 12, 71, 13573, 1769, 3639, 309, 261, 8313, 3935, 480, 446, 13, 3639, 288, 5411, 368, 5004, 5687, 5411, 509, 277, 2885, 273, 261, 8313, 3935, 18, 291, 38, 1673, 10756, 692, 348, 8588, 18, 38, 11846, 294, 348, 8588, 18, 15480, 31, 5411, 277, 2885, 5626, 261, 8313, 3935, 18, 291, 7193, 21466, 10756, 692, 348, 8588, 18, 1285, 1013, 2871, 294, 277, 2885, 31, 5411, 514, 272, 5711, 461, 273, 5194, 3935, 18, 17994, 5621, 5411, 309, 16051, 70, 3727, 1225, 13, 5411, 288, 7734, 8859, 18, 542, 15339, 1382, 12, 22, 16, 576, 16, 333, 18, 588, 1225, 7675, 92, 300, 8063, 16, 10659, 1769, 7734, 284, 3935, 273, 394, 10063, 12, 2211, 18, 588, 4236, 9334, 5194, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 12574, 3367, 12, 12699, 1133, 2804, 13, 565, 288, 3639, 10063, 284, 1225, 273, 446, 31, 3639, 10063, 284, 3935, 273, 446, 31, 3639, 5563, 276, 13573, 273, 446, 31, 3639, 15085, 8859, 273, 2804, 18, 13241, 31, 3639, 10063, 284, 7617, 273, 8859, 18, 588, 5711, 5621, 3639, 309, 261, 4315, 3935, 480, 446, 597, 324, 3727, 2957, 13, 3639, 288, 5411, 276, 13573, 273, 394, 5563, 12, 2211, 18, 588, 4236, 9334, 7976, 3935, 18, 588, 3715, 9334, 7976, 3935, 18, 588, 21453, 9334, 7976, 3935, 18, 588, 27986, 10663, 3639, 289, 3639, 469, 3639, 288, 5411, 276, 13573, 273, 394, 5563, 12, 2211, 18, 588, 4236, 9334, 374, 16, 374, 16, 374, 1769, 2 ]
public AttributeDescr rule_attribute() throws RecognitionException { AttributeDescr d; AttributeDescr a = null; d = null; try { // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:270:25: (a= salience | a= no_loop | a= agenda_group | a= duration | a= xor_group | a= auto_focus ) int alt29=6; switch ( input.LA(1) ) { case 33: alt29=1; break; case 34: alt29=2; break; case 37: alt29=3; break; case 38: alt29=4; break; case 36: alt29=5; break; case 35: alt29=6; break; default: NoViableAltException nvae = new NoViableAltException("265:1: rule_attribute returns [AttributeDescr d] : (a= salience | a= no_loop | a= agenda_group | a= duration | a= xor_group | a= auto_focus );", 29, 0, input); throw nvae; } switch (alt29) { case 1 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:270:25: a= salience { following.push(FOLLOW_salience_in_rule_attribute753); a=salience(); following.pop(); d = a; } break; case 2 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:271:25: a= no_loop { following.push(FOLLOW_no_loop_in_rule_attribute763); a=no_loop(); following.pop(); d = a; } break; case 3 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:272:25: a= agenda_group { following.push(FOLLOW_agenda_group_in_rule_attribute774); a=agenda_group(); following.pop(); d = a; } break; case 4 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:273:25: a= duration { following.push(FOLLOW_duration_in_rule_attribute787); a=duration(); following.pop(); d = a; } break; case 5 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:274:25: a= xor_group { following.push(FOLLOW_xor_group_in_rule_attribute801); a=xor_group(); following.pop(); d = a; } break; case 6 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:275:25: a= auto_focus { following.push(FOLLOW_auto_focus_in_rule_attribute812); a=auto_focus(); following.pop(); d = a; } break; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return d; }
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/75f5f3ef6a8af3fa9515d2007a16f1fd6f3ce0d0/RuleParser.java/clean/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3601, 16198, 1720, 67, 4589, 1435, 1216, 9539, 288, 6647, 3601, 16198, 302, 31, 3639, 3601, 16198, 279, 273, 446, 31, 1171, 202, 202, 72, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 5324, 20, 30, 2947, 30, 261, 69, 33, 12814, 6254, 571, 279, 33, 1158, 67, 6498, 571, 279, 33, 28809, 67, 1655, 571, 279, 33, 3734, 571, 279, 33, 17586, 67, 1655, 571, 279, 33, 3656, 67, 13923, 262, 5411, 509, 3770, 5540, 33, 26, 31, 5411, 1620, 261, 810, 18, 2534, 12, 21, 13, 262, 288, 5411, 648, 13159, 30, 7734, 3770, 5540, 33, 21, 31, 7734, 898, 31, 5411, 648, 13438, 30, 7734, 3770, 5540, 33, 22, 31, 7734, 898, 31, 5411, 648, 18091, 30, 7734, 3770, 5540, 33, 23, 31, 7734, 898, 31, 5411, 648, 18012, 30, 7734, 3770, 5540, 33, 24, 31, 7734, 898, 31, 5411, 648, 6580, 30, 7734, 3770, 5540, 33, 25, 31, 7734, 898, 31, 5411, 648, 13191, 30, 7734, 3770, 5540, 33, 26, 31, 7734, 898, 31, 5411, 805, 30, 7734, 17114, 15077, 273, 10792, 394, 17114, 2932, 30281, 30, 21, 30, 1720, 67, 4589, 1135, 306, 1499, 16198, 302, 65, 294, 261, 69, 33, 12814, 6254, 571, 279, 33, 1158, 67, 6498, 571, 279, 33, 28809, 67, 1655, 571, 279, 33, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3601, 16198, 1720, 67, 4589, 1435, 1216, 9539, 288, 6647, 3601, 16198, 302, 31, 3639, 3601, 16198, 279, 273, 446, 31, 1171, 202, 202, 72, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 5324, 20, 30, 2947, 30, 261, 69, 33, 12814, 6254, 571, 279, 33, 1158, 67, 6498, 571, 279, 33, 28809, 67, 1655, 571, 279, 33, 3734, 571, 279, 33, 17586, 67, 1655, 571, 279, 33, 3656, 67, 13923, 262, 5411, 509, 3770, 5540, 33, 26, 31, 5411, 1620, 261, 810, 18, 2534, 2 ]
if (getPsiElement() == null || getPsiElement().getContainingFile() == null){
final PsiElement psiElement = getPsiElement(); if (psiElement == null || psiElement.getContainingFile() == null){
private Project getProject(){ if (getPsiElement() == null || getPsiElement().getContainingFile() == null){ return null; } return getPsiElement().getContainingFile().getProject(); }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/f7a1c0d5b9c69d4a549ba55ba965cc37918005ef/PackageDependenciesNode.java/buggy/source/com/intellij/packageDependencies/ui/PackageDependenciesNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 5420, 11080, 1435, 95, 565, 727, 453, 7722, 1046, 23921, 1046, 273, 1689, 7722, 1046, 5621, 309, 261, 24275, 1046, 422, 446, 747, 23921, 1046, 18, 588, 24344, 812, 1435, 422, 446, 15329, 1377, 327, 446, 31, 565, 289, 565, 327, 1689, 7722, 1046, 7675, 588, 24344, 812, 7675, 588, 4109, 5621, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 5420, 11080, 1435, 95, 565, 727, 453, 7722, 1046, 23921, 1046, 273, 1689, 7722, 1046, 5621, 309, 261, 24275, 1046, 422, 446, 747, 23921, 1046, 18, 588, 24344, 812, 1435, 422, 446, 15329, 1377, 327, 446, 31, 565, 289, 565, 327, 1689, 7722, 1046, 7675, 588, 24344, 812, 7675, 588, 4109, 5621, 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 ]
LinearPrinter.println(" done replacing.");
LinearPrinter.println(" done replacing.");
private void makeReplacement(SIRFilter self) { /* if we don't have a linear form for this stream, we are done. */ if(!this.linearityInformation.hasLinearRepresentation(self)) { return; } LinearFilterRepresentation linearRep = this.linearityInformation.getLinearRepresentation(self); /* if there is not an FIR filter, we are done. */ if (!linearRep.isFIR()) { return; } /* now is when we get to the fun part, we have a linear representation * that computes an FIR (ef pop 1, push 1, peek N) and we want to replace it with an FFT. * Note that we can equate N with the block size of the input that we are looking at. */ int x = linearRep.getPeekCount(); int N = calculateN(this.targetNumberOfOutputs,x); int filterSize = N+2*(x-1); LinearPrinter.println(" creating frequency filter. (N=" + N + ",x=" + x + ",size=" + filterSize + ")"); /* make fields to hold the real and imaginary parts of the weights. */ String realWeightName = "freq_weights_r"; String imagWeightName = "freq_weights_i"; JVariableDefinition realWeightField = makeWeightField(realWeightName); JVariableDefinition imagWeightField = makeWeightField(imagWeightName); /* make fields to hold the real and imaginary partial results between executions */ String partialFieldName = "freq_partial"; JVariableDefinition partialField = makeWeightField(partialFieldName); /* wrap them up, along with any fields that the filter already has. */ JFieldDeclaration[] newFields = makeFieldDeclarations(self.getFields(),realWeightField, imagWeightField, partialField); /* make a new init function */ JMethodDeclaration freqInit = makeNewInit(linearRep, realWeightField, imagWeightField, partialField, filterSize, x); /* make the init work function */ JMethodDeclaration freqInitWork = makeNewWork(INITWORK, realWeightField, imagWeightField, partialField, filterSize, x, N); /* make a new work function */ JMethodDeclaration freqWork = makeNewWork(WORK, realWeightField, imagWeightField, partialField, filterSize, x, N); LinearPrinter.println(" done building new IR nodes for " + self); LinearPrinter.println(" creating new two stage filter..."); // Create a new filter that contains all of the new pieces that we have built SIRTwoStageFilter freqFilter; /* Note, we need to have initPeek-initPop == peek-Pop for some scheduling reason * so therefore, we set the peek rate of the work function to be N+2(x-1) even though * it really only needs to be N+x-1.*/ freqFilter = new SIRTwoStageFilter(self.getParent(), /* parent */ "TwoStageFreq" + self.getIdent(),/* ident */ newFields, /* fields */ new JMethodDeclaration[0], /* methods -- init, work, and initWork are special*/ new JIntLiteral(N+x-1 + x-1), /* peek (w/ extra x-1 window...)*/ new JIntLiteral(N+x-1), /* pop */ new JIntLiteral(N+x-1), /* push */ freqWork, /* work */ N+x-1, /* initPeek */ N, /* initPop */ N, /* initPush */ freqInitWork, /* initWork */ self.getInputType(), /* input type */ self.getOutputType()); /* output type */ // need to explicitly set the init function freqFilter.setInit(freqInit); // now replace the current filter (self) with the frequency version self.getParent().replace(self, freqFilter); LinearPrinter.println(" done replacing."); }
47772 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47772/977e32e346a365dc97a64f732ab342501841f310/FFTWFrequencyReplacer.java/buggy/streams/src/at/dms/kjc/sir/linear/frequency/FFTWFrequencyReplacer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1221, 15201, 12, 2320, 54, 1586, 365, 13, 288, 202, 20308, 309, 732, 2727, 1404, 1240, 279, 9103, 646, 364, 333, 1407, 16, 732, 854, 2731, 18, 1195, 202, 430, 12, 5, 2211, 18, 12379, 560, 5369, 18, 5332, 15982, 13742, 12, 2890, 3719, 288, 202, 565, 327, 31, 202, 97, 202, 15982, 1586, 13742, 9103, 18933, 273, 333, 18, 12379, 560, 5369, 18, 588, 15982, 13742, 12, 2890, 1769, 202, 20308, 309, 1915, 353, 486, 392, 4011, 54, 1034, 16, 732, 854, 2731, 18, 1195, 202, 430, 16051, 12379, 18933, 18, 291, 1653, 54, 10756, 288, 202, 565, 327, 31, 202, 97, 1082, 202, 20308, 2037, 353, 1347, 732, 336, 358, 326, 9831, 1087, 16, 732, 1240, 279, 9103, 4335, 202, 380, 716, 15881, 392, 4011, 54, 261, 10241, 1843, 404, 16, 1817, 404, 16, 8032, 423, 13, 471, 732, 2545, 358, 1453, 518, 598, 392, 16816, 18, 202, 380, 3609, 716, 732, 848, 1298, 340, 423, 598, 326, 1203, 963, 434, 326, 810, 716, 732, 854, 7849, 622, 18, 202, 1195, 202, 474, 619, 273, 9103, 18933, 18, 588, 30950, 1380, 5621, 202, 474, 423, 273, 4604, 50, 12, 2211, 18, 3299, 9226, 13856, 16, 92, 1769, 202, 474, 1034, 1225, 273, 423, 15, 22, 21556, 92, 17, 21, 1769, 202, 15982, 12149, 18, 8222, 2932, 4979, 8670, 1034, 18, 261, 50, 1546, 397, 423, 397, 9506, 1377, 3104, 92, 1546, 397, 619, 397, 3104, 1467, 1546, 397, 1034, 1225, 397, 7310, 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, 1221, 15201, 12, 2320, 54, 1586, 365, 13, 288, 202, 20308, 309, 732, 2727, 1404, 1240, 279, 9103, 646, 364, 333, 1407, 16, 732, 854, 2731, 18, 1195, 202, 430, 12, 5, 2211, 18, 12379, 560, 5369, 18, 5332, 15982, 13742, 12, 2890, 3719, 288, 202, 565, 327, 31, 202, 97, 202, 15982, 1586, 13742, 9103, 18933, 273, 333, 18, 12379, 560, 5369, 18, 588, 15982, 13742, 12, 2890, 1769, 202, 20308, 309, 1915, 353, 486, 392, 4011, 54, 1034, 16, 732, 854, 2731, 18, 1195, 202, 430, 16051, 12379, 18933, 18, 291, 1653, 54, 10756, 288, 202, 565, 327, 31, 202, 97, 1082, 202, 20308, 2037, 353, 1347, 732, 336, 358, 326, 9831, 1087, 16, 2 ]
parent.replaceChild(n, new Node(TokenStream.PRIMARY, new Integer(TokenStream.TRUE)));
parent.replaceChild(n, new Node(TokenStream.PRIMARY, TokenStream.TRUE));
void foldConstants(Node n, Node parent){ Node lChild, rChild=null; // children lChild = n.getFirstChild(); if(lChild == null){ // no children -- exit return; }else{ rChild = lChild.getNextSibling(); if(rChild == null){ foldConstants(lChild, n); // one child -- recurse return; } } /* o.w. two children -- recurse on both first and proceed */ foldConstants(lChild, n); foldConstants(rChild, n); /* take care of all the other children */ Node child = rChild.getNextSibling(); while (child != null) { foldConstants(child, n); child = child.getNextSibling(); } /* children can change, so recompute them */ lChild = n.getFirstChild(); if(lChild == null){ // no children -- exit return; }else{ rChild = lChild.getNextSibling(); if(rChild == null){ return; } } /* at this point n has two children or more */ int lt = lChild.getType(); int rt = rChild.getType(); /* two or more children */ switch(n.getType()){ /* numerical addition and string concatenation */ case TokenStream.ADD: /* number addition -- both numbers */ if(lt == TokenStream.NUMBER && rt == TokenStream.NUMBER){ if(lChild.getDatum() instanceof Double || rChild.getDatum() instanceof Double){ parent.replaceChild(n, new Node(TokenStream.NUMBER, new Double(lChild.getDouble() + rChild.getDouble()))); }else{ long longval = lChild.getLong() + rChild.getLong(); parent.replaceChild(n, new Node(TokenStream.NUMBER, toSmallestType(longval))); } }else /* string + string */ if(lt == TokenStream.STRING && rt == TokenStream.STRING){ parent.replaceChild(n, new Node(TokenStream.STRING, lChild.getString() + rChild.getString())); }else /* string + num */ if(lt == TokenStream.STRING && rt == TokenStream.NUMBER){ parent.replaceChild(n, new Node(TokenStream.STRING, lChild.getString() + ScriptRuntime.numberToString(rChild.getDouble(), 10))); }else /* num + string */ if(lt == TokenStream.NUMBER && rt == TokenStream.STRING){ parent.replaceChild(n, new Node(TokenStream.STRING, ScriptRuntime.numberToString(lChild.getDouble(), 10) + rChild.getString())); } /* can't do anything if we don't know both types - since 0 + object is supposed to call toString on the object and do string concantenation rather than addition */ break; /* subtraction */ case TokenStream.SUB: /* both numbers */ if(lt == TokenStream.NUMBER && rt == TokenStream.NUMBER){ if(lChild.getDatum() instanceof Double || rChild.getDatum() instanceof Double){ parent.replaceChild(n, new Node(TokenStream.NUMBER, new Double(lChild.getDouble() - rChild.getDouble()))); }else{ long longval = lChild.getLong() - rChild.getLong(); parent.replaceChild(n, new Node(TokenStream.NUMBER, toSmallestType(longval))); } }else /* first 0: 0-x -> -x */ if(lt == TokenStream.NUMBER && lChild.getDouble() == 0){ parent.replaceChild(n, new Node(TokenStream.UNARYOP, rChild, new Integer(TokenStream.SUB))); }else /* second 0: x-0 -> x */ if(rt == TokenStream.NUMBER && rChild.getDouble() == 0){ parent.replaceChild(n, lChild); } break; /* handle multiplication by zero and one */ case TokenStream.MUL: /* both constants -- just multiply */ if(lt == TokenStream.NUMBER && rt == TokenStream.NUMBER){ /* at least one double */ if(lChild.getDatum() instanceof Double || rChild.getDatum() instanceof Double){ parent.replaceChild(n, new Node(TokenStream.NUMBER, new Double(lChild.getDouble() * rChild.getDouble()))); }else{ long longval = lChild.getLong() * rChild.getLong(); parent.replaceChild(n, new Node(TokenStream.NUMBER, toSmallestType(longval))); } /* one of them is constant -- zero or one */ /* can't do zero, since zero * infinity has to become a NaN */ }else{ if(lt == TokenStream.NUMBER){ double ld = ((Number)lChild.getDatum()).doubleValue(); if(ld == 1){ parent.replaceChild(n, rChild); } }else if(rt == TokenStream.NUMBER){ double rd = ((Number)rChild.getDatum()).doubleValue(); if(rd == 1){ parent.replaceChild(n, lChild); } } } break; case TokenStream.DIV: /* both constants -- just divide */ if(lt == TokenStream.NUMBER && rt == TokenStream.NUMBER){ /* at least one double */ if((lChild.getDatum() instanceof Double || rChild.getDatum() instanceof Double)){ double d = rChild.getDouble(); if(d == 0) return; // division by zero else parent.replaceChild(n, new Node(TokenStream.NUMBER, new Double(lChild.getDouble() / d))); }else{ int d = rChild.getInt(); if(d == 0) return; // division by zero else{ long longval = lChild.getLong() / rChild.getLong(); parent.replaceChild(n, new Node(TokenStream.NUMBER, toSmallestType(longval))); } } /* 0/x , x!=0 */ }else /* x/1 */ if((rt == TokenStream.NUMBER) && // added cast -roger rChild.getDouble()==1){ parent.replaceChild(n, lChild); } break; case TokenStream.AND: /* if the first one is false, replace with FALSE */ if( ((lt == TokenStream.PRIMARY && lChild.getInt() == TokenStream.NULL) || (lt == TokenStream.PRIMARY && lChild.getInt() == TokenStream.UNDEFINED)) && !IRFactory.hasSideEffects(rChild) ){ parent.replaceChild(n, new Node(TokenStream.PRIMARY, new Integer(TokenStream.FALSE))); }else /* if the second one is false, replace with FALSE */ if( ((rt==TokenStream.PRIMARY && rChild.getInt()==TokenStream.NULL) || (rt==TokenStream.PRIMARY && rChild.getInt()==TokenStream.UNDEFINED)) && !IRFactory.hasSideEffects(lChild) ){ parent.replaceChild(n, new Node(TokenStream.PRIMARY, new Integer(TokenStream.FALSE))); }else /* if first is true, set to second */ if( (lt == TokenStream.PRIMARY && ((Integer)lChild.getDatum()).intValue() == TokenStream.TRUE) || (lt == TokenStream.NUMBER && ((Number)lChild.getDatum()).doubleValue() != 0) ){ parent.replaceChild(n, rChild); }else /* if second is true, set to first */ if( (rt == TokenStream.PRIMARY && ((Integer)rChild.getDatum()).intValue() == TokenStream.TRUE) || (rt == TokenStream.NUMBER && ((Number)rChild.getDatum()).doubleValue() != 0) ){ parent.replaceChild(n, lChild); } break; case TokenStream.OR: /* if first is false, set to second */ if( (lt == TokenStream.PRIMARY && lChild.getInt() == TokenStream.NULL) || (lt == TokenStream.PRIMARY && lChild.getInt() == TokenStream.UNDEFINED) || (lt == TokenStream.PRIMARY && lChild.getInt() == TokenStream.FALSE) || (lt == TokenStream.NUMBER && ((Number)lChild.getDatum()).doubleValue() == 0) ){ parent.replaceChild(n, rChild); }else /* if second is true, set to first */ if( (rt == TokenStream.PRIMARY && rChild.getInt() == TokenStream.NULL) || (rt == TokenStream.PRIMARY && rChild.getInt() == TokenStream.UNDEFINED) || (rt == TokenStream.PRIMARY && rChild.getInt() == TokenStream.FALSE) || (rt == TokenStream.NUMBER && ((Number)rChild.getDatum()).doubleValue() == 0) ){ parent.replaceChild(n, lChild); }else /* if first one is true, replace with TRUE */ if( ((lt == TokenStream.PRIMARY && ((Integer)lChild.getDatum()).intValue() == TokenStream.TRUE) || (lt == TokenStream.NUMBER && ((Number)lChild.getDatum()).doubleValue() != 0)) && !IRFactory.hasSideEffects(rChild) ){ parent.replaceChild(n, new Node(TokenStream.PRIMARY, new Integer(TokenStream.TRUE))); }else /* if second one is true, replace with TRUE */ if( ((rt == TokenStream.PRIMARY && ((Integer)rChild.getDatum()).intValue() == TokenStream.TRUE) || (rt == TokenStream.NUMBER && ((Number)rChild.getDatum()).doubleValue() != 0)) && !IRFactory.hasSideEffects(lChild) ){ parent.replaceChild(n, new Node(TokenStream.PRIMARY, new Integer(TokenStream.TRUE))); } break; case TokenStream.BLOCK: /* if statement */ if(lChild.getType() == TokenStream.IFNE){ Node condition = lChild.getFirstChild(); /* if(false) -> replace by the else clause if it exists */ if(condition.getType() == TokenStream.PRIMARY){ int id = condition.getInt(); if(id == TokenStream.FALSE||id == TokenStream.NULL||id == TokenStream.UNDEFINED){ Node elseClause = null; try{ elseClause = rChild.getNextSibling().getNextSibling().getNextSibling().getFirstChild(); }catch(Exception e){ return; } if(elseClause != null){ parent.replaceChild(n, elseClause); } /* if(true) -> replace by the then clause if it exists */ }else if((condition.getType() == TokenStream.PRIMARY && condition.getInt() == TokenStream.TRUE) || (condition.getType() == TokenStream.NUMBER && ((Number)condition.getDatum()).doubleValue() != 0)) { if(rChild.getType() == TokenStream.BLOCK){ parent.replaceChild(n, rChild.getFirstChild()); } } } } break; }//switch }
47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/dfdc492a06d12db18bbb6e0ac0de6e19784f642d/Optimizer.java/buggy/js/rhino/src/org/mozilla/javascript/optimizer/Optimizer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 11590, 2918, 12, 907, 290, 16, 2029, 982, 15329, 3639, 2029, 328, 1763, 16, 436, 1763, 33, 2011, 31, 6647, 368, 2325, 3639, 328, 1763, 273, 290, 18, 588, 3759, 1763, 5621, 3639, 309, 12, 80, 1763, 422, 446, 15329, 1171, 368, 1158, 2325, 1493, 2427, 5411, 327, 31, 3639, 289, 12107, 95, 5411, 436, 1763, 273, 328, 1763, 18, 588, 2134, 10291, 5621, 5411, 309, 12, 86, 1763, 422, 446, 15329, 7734, 11590, 2918, 12, 80, 1763, 16, 290, 1769, 282, 368, 1245, 1151, 1493, 11502, 7734, 327, 31, 5411, 289, 3639, 289, 3639, 1748, 320, 18, 91, 18, 2795, 2325, 1493, 11502, 603, 3937, 1122, 471, 11247, 1195, 3639, 11590, 2918, 12, 80, 1763, 16, 290, 1769, 3639, 11590, 2918, 12, 86, 1763, 16, 290, 1769, 3639, 1748, 4862, 7671, 434, 777, 326, 1308, 2325, 1195, 3639, 2029, 1151, 273, 436, 1763, 18, 588, 2134, 10291, 5621, 3639, 1323, 261, 3624, 480, 446, 13, 288, 5411, 11590, 2918, 12, 3624, 16, 290, 1769, 5411, 1151, 273, 1151, 18, 588, 2134, 10291, 5621, 3639, 289, 3639, 1748, 2325, 848, 2549, 16, 1427, 30067, 2182, 1195, 3639, 328, 1763, 273, 290, 18, 588, 3759, 1763, 5621, 3639, 309, 12, 80, 1763, 422, 446, 15329, 1171, 368, 1158, 2325, 1493, 2427, 5411, 327, 31, 3639, 289, 12107, 95, 5411, 436, 1763, 273, 328, 1763, 18, 588, 2134, 10291, 5621, 5411, 309, 12, 86, 1763, 422, 446, 15329, 7734, 327, 31, 5411, 289, 3639, 289, 3639, 1748, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 11590, 2918, 12, 907, 290, 16, 2029, 982, 15329, 3639, 2029, 328, 1763, 16, 436, 1763, 33, 2011, 31, 6647, 368, 2325, 3639, 328, 1763, 273, 290, 18, 588, 3759, 1763, 5621, 3639, 309, 12, 80, 1763, 422, 446, 15329, 1171, 368, 1158, 2325, 1493, 2427, 5411, 327, 31, 3639, 289, 12107, 95, 5411, 436, 1763, 273, 328, 1763, 18, 588, 2134, 10291, 5621, 5411, 309, 12, 86, 1763, 422, 446, 15329, 7734, 11590, 2918, 12, 80, 1763, 16, 290, 1769, 282, 368, 1245, 1151, 1493, 11502, 7734, 327, 31, 5411, 289, 3639, 289, 3639, 1748, 320, 18, 91, 18, 2795, 2325, 1493, 11502, 603, 3937, 1122, 471, 11247, 1195, 3639, 11590, 2918, 12, 80, 1763, 16, 2 ]
debug("q: " + q.toString(16)); debug("N: " + N.toString(16)); debug("g: " + g.toString(16));
log.fine("q: " + q.toString(16)); log.fine("N: " + N.toString(16)); log.fine("g: " + g.toString(16));
public KeyPair generate() { if (N == null) { BigInteger[] params = generateParameters(); BigInteger q = params[0]; N = params[1]; g = params[2]; if (DEBUG && debuglevel > 0) { debug("q: " + q.toString(16)); debug("N: " + N.toString(16)); debug("g: " + g.toString(16)); } } return (v != null ? hostKeyPair() : userKeyPair()); }
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/8ace3af577b4314374a3cc74fdeae04a0733f7de/SRPKeyPairGenerator.java/buggy/gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 28968, 2103, 1435, 225, 288, 565, 309, 261, 50, 422, 446, 13, 1377, 288, 3639, 10246, 8526, 859, 273, 2103, 2402, 5621, 3639, 10246, 1043, 273, 859, 63, 20, 15533, 3639, 423, 273, 859, 63, 21, 15533, 3639, 314, 273, 859, 63, 22, 15533, 3639, 309, 261, 9394, 597, 1198, 2815, 405, 374, 13, 1850, 288, 5411, 1198, 2932, 85, 30, 315, 397, 1043, 18, 10492, 12, 2313, 10019, 5411, 1198, 2932, 50, 30, 315, 397, 423, 18, 10492, 12, 2313, 10019, 5411, 1198, 2932, 75, 30, 315, 397, 314, 18, 10492, 12, 2313, 10019, 1850, 289, 1377, 289, 565, 327, 261, 90, 480, 446, 692, 1479, 15099, 1435, 294, 729, 15099, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 282, 1071, 28968, 2103, 1435, 225, 288, 565, 309, 261, 50, 422, 446, 13, 1377, 288, 3639, 10246, 8526, 859, 273, 2103, 2402, 5621, 3639, 10246, 1043, 273, 859, 63, 20, 15533, 3639, 423, 273, 859, 63, 21, 15533, 3639, 314, 273, 859, 63, 22, 15533, 3639, 309, 261, 9394, 597, 1198, 2815, 405, 374, 13, 1850, 288, 5411, 1198, 2932, 85, 30, 315, 397, 1043, 18, 10492, 12, 2313, 10019, 5411, 1198, 2932, 50, 30, 315, 397, 423, 18, 10492, 12, 2313, 10019, 5411, 1198, 2932, 75, 30, 315, 397, 314, 18, 10492, 12, 2313, 10019, 1850, 289, 1377, 289, 565, 327, 261, 90, 480, 446, 692, 1479, 15099, 1435, 294, 729, 15099, 10663, 225, 289, 2, -100, -100 ]
} catch (SQLException e) { throw new SequenceException(e+":"+sql);
} catch (SQLException e) { throw new SequenceException(e + ":" + sql);
public void execute(int limit) throws SequenceException, InvalidQueryException { SequenceDescription seqd = query.getSequenceDescription(); boolean moreRows = true; // will go false on the last batch of SQL int batchStart = 0; // need to know these indexes specifically int queryIDindex = 0; int geneIDindex = 0; int rankIndex = 0; int assemblyIndex = 0; int startIndex = 0; int endIndex = 0; int chromIndex = 0; int strandIndex = 0; List displayIDindices = new ArrayList(); List otherIndices = new ArrayList(); queryID = "transcript_id"; coordStart = "5utr_start"; coordEnd = "5utr_end"; displayIDs.add("transcript_stable_id_v"); displayIDs.add("gene_stable_id_v"); updateQuery(); Attribute[] attributes = query.getAttributes(); String sql = null; try { CompiledSQLQuery csql = new CompiledSQLQuery( conn, query ); String sqlbase = csql.toSQL(); String structure_table = dataset+"_structure"; sqlbase += " order by "+structure_table+".gene_id, "+structure_table+".transcript_id, "+structure_table+".rank"; while (moreRows) { sql = sqlbase; if (limit > 0) { sql += " limit "+limit; moreRows = false; // run entire query for client supplied limit } else { sql += " limit "+batchStart+" , "+batchLength; batchStart += batchLength; } logger.info( "QUERY : " + query ); logger.info( "SQL : " +sql ); PreparedStatement ps = conn.prepareStatement( sql ); int p=1; for( int i=0, n=query.getFilters().length; i<n; ++i) { Filter f = query.getFilters()[i]; String value = f.getValue(); if ( value!=null ) { logger.info("SQL (prepared statement value) : "+p+" = " + value); ps.setString( p++, value); } } ResultSet rs = ps.executeQuery(); ResultSetMetaData rmeta = rs.getMetaData(); // process columnNames for required attribute indices for (int i = 1, nColumns = rmeta.getColumnCount(); i <= nColumns; ++i) { String column = rmeta.getColumnName(i); if (column.equals(queryID)) queryIDindex = i; else if (column.equals(GeneID)) geneIDindex = i; else if (column.equals(Rank)) rankIndex = i; else if (column.equals(AssemblyColumn)) assemblyIndex = i; else if (column.equals(coordStart)) startIndex = i; else if (column.equals(coordEnd)) endIndex = i; else if (column.equals(Chr)) chromIndex = i; else if (column.equals(StrandColumn)) strandIndex = i; else if (displayIDs.contains(column)) displayIDindices.add(new Integer(i)); else otherIndices.add(new Integer(i)); } int rows = 0; // rowcount Integer lastGene = new Integer(0); // will hold last gene, when a new one is encountered while ( rs.next() ) { rows++; Integer geneID = new Integer(rs.getInt(geneIDindex)); Integer tranID = new Integer(rs.getInt(queryIDindex)); Integer rank = new Integer(rs.getInt(rankIndex)); if (! ( geneiDs.containsKey(geneID) ) ) { if (geneiDs.size() > 0) { // process the previous tranID, if this isnt the first time through, then refresh the traniDs TreeMap seqWriter.writeSequences(lastGene); geneiDs = new TreeMap(); } lastGene = geneID; Hashtable geneatts = new Hashtable(); geneatts.put(Assembly, rs.getString(assemblyIndex)); geneatts.put(Transcripts, new TreeMap()); geneiDs.put(geneID, geneatts); } Hashtable geneatts = (Hashtable) geneiDs.get(geneID); TreeMap traniDs = (TreeMap) geneatts.get(Transcripts); if (! ( traniDs.containsKey(tranID) ) ) { Hashtable tranatts = new Hashtable(); tranatts.put(Locations, new TreeMap()); tranatts.put(hasUTR, Boolean.FALSE); // initialize to falst, over ride if necessary traniDs.put(tranID, tranatts); } Hashtable tranatts = (Hashtable) traniDs.get(tranID); int start = rs.getInt(startIndex); if (start > 0) { // if start is not null, create a new SequenceLocation object from the chr, start, end, and strand tranatts.put(hasUTR, Boolean.TRUE); String chr = rs.getString(chromIndex); int end = rs.getInt(endIndex); int strand = rs.getInt(strandIndex); // order the locations by their rank in ascending order ((TreeMap) tranatts.get(Locations)).put(rank, new SequenceLocation(chr, start, end, strand)); // keep track of the lowest start and highest end for the gene if (! ( geneatts.containsKey(Geneloc) ) ) { geneatts.put(Geneloc, new SequenceLocation(chr, start, end, strand)); } else { SequenceLocation geneloc = (SequenceLocation) geneatts.get(Geneloc); if (start < geneloc.getStart()) { geneatts.put(Geneloc, new SequenceLocation(chr, start, geneloc.getEnd(), strand)); // overwrite the previous copy if (end > geneloc.getEnd()) geneatts.put(Geneloc, new SequenceLocation(chr, geneloc.getStart(), end, strand)); // overwrite the previous copy } } } // process displayID, if necessary if (! ( tranatts.containsKey(DisplayID) ) ) { StringBuffer displayID = new StringBuffer(); for (int i = 0, n = displayIDindices.size(); i < n; i++) { if (i>0) displayID.append( separator ); int currindex = ((Integer) displayIDindices.get(i)).intValue(); if ( rs.getString(currindex) != null ) displayID.append( rs.getString(currindex) ); } tranatts.put(DisplayID, displayID.toString()); } // Rest can be duplicates, or novel values for a given field, collect lists of values for each field // currindex is now the last index of the DisplayIDs. Increment it, and iterate over the rest of the ResultSet to print the description for (int i = 0, n = otherIndices.size(); i < n; i++) { int currindex = ((Integer) otherIndices.get(i)).intValue(); if (rs.getString(currindex) != null ) { String field = attributes[currindex-1].getName(); if (! fields.contains(field)) fields.add(field); String value = rs.getString(currindex); if ( tranatts.containsKey(field) ) { if (! ((ArrayList) tranatts.get(field)).contains(value)) ((ArrayList) tranatts.get(field)).add(value); } else { List values = new ArrayList(); values.add(value); tranatts.put(field, values); } } } // add the description, if necessary if (! ( tranatts.containsKey(Description) ) ) tranatts.put( Description, seqd.getDescription() ); } // write the last genes data, if present if (lastGene.intValue() > 0) seqWriter.writeSequences(lastGene); if (rows < batchLength) moreRows = false; } osr.close(); } catch (IOException e) { throw new InvalidQueryException(e); } catch (SQLException e) { throw new SequenceException(e+":"+sql); } }
2000 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2000/47e8a48fd57c1301cf94459ce61bcbde06c272f7/UpStreamUTRSeqQueryRunner.java/clean/src/java/org/ensembl/mart/explorer/UpStreamUTRSeqQueryRunner.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1836, 12, 474, 1800, 13, 1216, 8370, 503, 16, 1962, 1138, 503, 288, 202, 202, 4021, 3291, 3833, 72, 273, 843, 18, 588, 4021, 3291, 5621, 377, 1250, 1898, 4300, 273, 638, 31, 368, 903, 1960, 629, 603, 326, 1142, 2581, 434, 3063, 377, 509, 2581, 1685, 273, 374, 31, 1377, 202, 202, 759, 1608, 358, 5055, 4259, 5596, 21195, 202, 202, 474, 843, 734, 1615, 273, 374, 31, 202, 202, 474, 7529, 734, 1615, 273, 374, 31, 202, 202, 474, 6171, 1016, 273, 374, 31, 202, 202, 474, 19931, 1016, 273, 374, 31, 202, 202, 474, 10588, 273, 374, 31, 202, 202, 474, 13818, 273, 374, 31, 202, 202, 474, 8123, 1016, 273, 374, 31, 202, 202, 474, 16706, 1016, 273, 374, 31, 202, 202, 682, 2562, 734, 6836, 273, 394, 2407, 5621, 202, 202, 682, 1308, 8776, 273, 394, 2407, 5621, 540, 202, 202, 2271, 734, 273, 315, 27257, 67, 350, 14432, 202, 202, 5732, 1685, 273, 315, 25, 14566, 67, 1937, 14432, 202, 202, 5732, 1638, 273, 315, 25, 14566, 67, 409, 14432, 202, 202, 5417, 5103, 18, 1289, 2932, 27257, 67, 15021, 67, 350, 67, 90, 8863, 202, 202, 5417, 5103, 18, 1289, 2932, 11857, 67, 15021, 67, 350, 67, 90, 8863, 202, 202, 2725, 1138, 5621, 25083, 202, 1499, 8526, 1677, 273, 843, 18, 588, 2498, 5621, 225, 514, 1847, 273, 446, 31, 202, 698, 288, 1082, 225, 25854, 3997, 1138, 2873, 1217, 273, 394, 25854, 3997, 1138, 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, 1836, 12, 474, 1800, 13, 1216, 8370, 503, 16, 1962, 1138, 503, 288, 202, 202, 4021, 3291, 3833, 72, 273, 843, 18, 588, 4021, 3291, 5621, 377, 1250, 1898, 4300, 273, 638, 31, 368, 903, 1960, 629, 603, 326, 1142, 2581, 434, 3063, 377, 509, 2581, 1685, 273, 374, 31, 1377, 202, 202, 759, 1608, 358, 5055, 4259, 5596, 21195, 202, 202, 474, 843, 734, 1615, 273, 374, 31, 202, 202, 474, 7529, 734, 1615, 273, 374, 31, 202, 202, 474, 6171, 1016, 273, 374, 31, 202, 202, 474, 19931, 1016, 273, 374, 31, 202, 202, 474, 10588, 273, 374, 31, 202, 202, 474, 13818, 273, 374, 31, 202, 202, 474, 8123, 1016, 273, 374, 2 ]
IElementType tokenType = iterator.getTokenType();
IElementType tokenType = getToken(iterator);
public boolean isStructuralBrace(HighlighterIterator iterator,CharSequence text, FileType fileType) { IElementType tokenType = iterator.getTokenType(); if (fileType == StdFileTypes.JAVA || fileType == StdFileTypes.ASPECT) { return tokenType == JavaTokenType.RBRACE || tokenType == JavaTokenType.LBRACE; } else if (fileType == StdFileTypes.HTML || fileType == StdFileTypes.XML) { return tokenType == XmlTokenType.XML_START_TAG_START || tokenType == XmlTokenType.XML_TAG_END || tokenType == XmlTokenType.XML_EMPTY_ELEMENT_END || ( tokenType == XmlTokenType.XML_TAG_END && ( fileType == StdFileTypes.HTML || fileType == StdFileTypes.JSP ) && isEndOfSingleHtmlTag(text, iterator) ); } else if (fileType == StdFileTypes.JSP || fileType == StdFileTypes.JSPX) { return isJspJspxStructuralBrace(tokenType); } else{ return false; } }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/f85099f52d2dfd21d1505b4db03c208994901fae/BraceMatchingUtil.java/clean/source/com/intellij/codeInsight/highlighting/BraceMatchingUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 353, 14372, 21965, 12, 8573, 23624, 3198, 2775, 16, 2156, 4021, 977, 16, 29449, 21939, 13, 288, 1377, 467, 17481, 22302, 273, 9162, 12, 9838, 1769, 1377, 309, 261, 768, 559, 422, 6276, 812, 2016, 18, 27264, 747, 21939, 422, 6276, 812, 2016, 18, 3033, 1423, 1268, 13, 288, 3639, 327, 22302, 422, 5110, 28675, 18, 19437, 9254, 747, 22302, 422, 5110, 28675, 18, 12995, 9254, 31, 1377, 289, 1377, 469, 309, 261, 768, 559, 422, 6276, 812, 2016, 18, 4870, 747, 21939, 422, 6276, 812, 2016, 18, 4201, 13, 288, 3639, 327, 22302, 422, 5714, 28675, 18, 4201, 67, 7570, 67, 7927, 67, 7570, 747, 9079, 22302, 422, 5714, 28675, 18, 4201, 67, 7927, 67, 4415, 747, 9079, 22302, 422, 5714, 28675, 18, 4201, 67, 13625, 67, 10976, 67, 4415, 747, 9079, 261, 22302, 422, 5714, 28675, 18, 4201, 67, 7927, 67, 4415, 597, 1171, 261, 21939, 422, 6276, 812, 2016, 18, 4870, 747, 10402, 21939, 422, 6276, 812, 2016, 18, 46, 3118, 1171, 262, 597, 1171, 353, 23358, 5281, 4353, 1805, 12, 955, 16, 2775, 13, 9079, 11272, 1377, 289, 1377, 469, 309, 261, 768, 559, 422, 6276, 812, 2016, 18, 46, 3118, 747, 21939, 422, 6276, 812, 2016, 18, 46, 3118, 60, 13, 288, 3639, 327, 353, 21796, 21796, 92, 14372, 21965, 12, 2316, 559, 1769, 1377, 289, 1377, 469, 95, 3639, 327, 629, 31, 1377, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 353, 14372, 21965, 12, 8573, 23624, 3198, 2775, 16, 2156, 4021, 977, 16, 29449, 21939, 13, 288, 1377, 467, 17481, 22302, 273, 9162, 12, 9838, 1769, 1377, 309, 261, 768, 559, 422, 6276, 812, 2016, 18, 27264, 747, 21939, 422, 6276, 812, 2016, 18, 3033, 1423, 1268, 13, 288, 3639, 327, 22302, 422, 5110, 28675, 18, 19437, 9254, 747, 22302, 422, 5110, 28675, 18, 12995, 9254, 31, 1377, 289, 1377, 469, 309, 261, 768, 559, 422, 6276, 812, 2016, 18, 4870, 747, 21939, 422, 6276, 812, 2016, 18, 4201, 13, 288, 3639, 327, 22302, 422, 5714, 28675, 18, 4201, 67, 7570, 67, 7927, 67, 7570, 747, 9079, 22302, 422, 5714, 28675, 18, 4201, 67, 7927, 67, 2 ]
}
public String getPackageName() throws InvalidPackageException { // throwErrorHuh(); // Where we'll build up the package name we find StringBuffer buf = new StringBuffer(); synchronized (_reduced) { int oldLocation = getCurrentLocation(); try { setCurrentLocation(0); final int docLength = getLength(); final String text = getText(0, docLength); // System.out.println("oldlocation: " + oldLocation + ", doclength: " + docLength + ", text: \"" + text + "\""); // The location of the first non-whitespace character that // is not inside quote or comment. int firstNormalLocation = 0; while ((firstNormalLocation < docLength)) { setCurrentLocation(firstNormalLocation); if (_reduced.currentToken().getHighlightState() == HighlightStatus.NORMAL) { // OK, it's normal -- so if it's not whitespace, we found the spot char curChar = text.charAt(firstNormalLocation); if (!Character.isWhitespace(curChar)) { break; } } firstNormalLocation++; } // Now there are two possibilities: firstNormalLocation is at // the first spot of a non-whitespace character that's NORMAL, // or it's at the end of the document. if (firstNormalLocation == docLength) return ""; final int strlen = "package".length(); final int endLocation = firstNormalLocation + strlen; if ((firstNormalLocation + strlen > docLength) || ! text.substring(firstNormalLocation, endLocation).equals("package")) { // the first normal text is not "package" or there is not enough // text for there to be a package statement. // thus, there is no valid package statement. return ""; } // OK, we must have found a package statement. // Now let's find the semicolon. Again, the semicolon must be free. int afterPackage = firstNormalLocation + strlen; int semicolonLocation = afterPackage; do { semicolonLocation = text.indexOf(";", semicolonLocation + 1); if (semicolonLocation == -1) { throw new InvalidPackageException(firstNormalLocation, "No semicolon found to terminate package statement!"); } setCurrentLocation(semicolonLocation); } while (_reduced.currentToken().getHighlightState() != HighlightStatus.NORMAL); // Now we have semicolon location. We'll gather text in between one // character at a time for simplicity. It's inefficient (I think?) // but it's easy, and there shouldn't be much text between // "package" and ";" anyhow. for (int walk = afterPackage + 1; walk < semicolonLocation; walk++) { setCurrentLocation(walk); if (_reduced.currentToken().getHighlightState() == HighlightStatus.NORMAL) { char curChar = text.charAt(walk); if (! Character.isWhitespace(curChar)) buf.append(curChar); } } String toReturn = buf.toString(); if (toReturn.equals("")) { throw new InvalidPackageException(firstNormalLocation, "Package name was not specified after the package keyword!"); } return toReturn; } catch (BadLocationException ble) { throw new UnexpectedException(ble); } finally { setCurrentLocation(0); setCurrentLocation(oldLocation); } } }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/35da9b77b7d75aca3d6277e27e3ba3dc86f3eaa9/DefinitionsDocument.java/buggy/drjava/src/edu/rice/cs/drjava/model/definitions/DefinitionsDocument.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 28951, 1435, 1216, 1962, 2261, 503, 288, 565, 368, 21560, 44, 89, 76, 5621, 565, 368, 12177, 732, 5614, 1361, 731, 326, 2181, 508, 732, 1104, 565, 6674, 1681, 273, 394, 6674, 5621, 3639, 3852, 261, 67, 1118, 26372, 13, 288, 1377, 509, 1592, 2735, 273, 5175, 2735, 5621, 5411, 775, 288, 7734, 12589, 2735, 12, 20, 1769, 3639, 727, 509, 997, 1782, 273, 9888, 5621, 3639, 727, 514, 977, 273, 6701, 12, 20, 16, 997, 1782, 1769, 3639, 368, 1377, 2332, 18, 659, 18, 8222, 2932, 1673, 3562, 30, 315, 397, 1592, 2735, 397, 3104, 997, 2469, 30, 315, 397, 997, 1782, 397, 3104, 977, 30, 11843, 397, 977, 397, 11143, 1769, 3639, 368, 1021, 2117, 434, 326, 1122, 1661, 17, 18777, 3351, 716, 3639, 368, 353, 486, 4832, 3862, 578, 2879, 18, 3639, 509, 1122, 5506, 2735, 273, 374, 31, 3639, 1323, 14015, 3645, 5506, 2735, 411, 997, 1782, 3719, 288, 1850, 12589, 2735, 12, 3645, 5506, 2735, 1769, 10792, 309, 261, 67, 1118, 26372, 18, 2972, 1345, 7675, 588, 16205, 1119, 1435, 422, 31386, 1482, 18, 15480, 13, 288, 5411, 368, 7791, 16, 518, 1807, 2212, 1493, 1427, 309, 518, 1807, 486, 7983, 16, 732, 1392, 326, 16463, 5411, 1149, 662, 2156, 273, 977, 18, 3001, 861, 12, 3645, 5506, 2735, 1769, 5411, 309, 16051, 7069, 18, 291, 9431, 12, 1397, 2156, 3719, 288, 2868, 898, 31, 4766, 3639, 1122, 5506, 2735, 9904, 31, 15604, 368, 4494, 1915, 854, 2795, 28550, 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, 514, 28951, 1435, 1216, 1962, 2261, 503, 288, 565, 368, 21560, 44, 89, 76, 5621, 565, 368, 12177, 732, 5614, 1361, 731, 326, 2181, 508, 732, 1104, 565, 6674, 1681, 273, 394, 6674, 5621, 3639, 3852, 261, 67, 1118, 26372, 13, 288, 1377, 509, 1592, 2735, 273, 5175, 2735, 5621, 5411, 775, 288, 7734, 12589, 2735, 12, 20, 1769, 3639, 727, 509, 997, 1782, 273, 9888, 5621, 3639, 727, 514, 977, 273, 6701, 12, 20, 16, 997, 1782, 1769, 3639, 368, 1377, 2332, 18, 659, 18, 8222, 2932, 1673, 3562, 30, 315, 397, 1592, 2735, 397, 3104, 997, 2469, 30, 315, 397, 997, 1782, 397, 3104, 977, 30, 11843, 397, 977, 397, 11143, 1769, 3639, 368, 1021, 2 ]
public static ProActiveDescriptor getProactiveDescriptor( String xmlDescriptorUrl, boolean hierarchicalSearch) throws ProActiveException { RuntimeFactory.getDefaultRuntime(); if (!xmlDescriptorUrl.startsWith("file:")) { xmlDescriptorUrl = "file:" + xmlDescriptorUrl; } ProActiveRuntimeImpl part = (ProActiveRuntimeImpl) ProActiveRuntimeImpl.getProActiveRuntime(); ProActiveDescriptor pad;
public static ProActiveDescriptor getProactiveDescriptor() throws ProActiveException, IOException { String padURL = System.getProperty("proactive.pad");
public static ProActiveDescriptor getProactiveDescriptor( String xmlDescriptorUrl, boolean hierarchicalSearch) throws ProActiveException { RuntimeFactory.getDefaultRuntime(); if (!xmlDescriptorUrl.startsWith("file:")) { xmlDescriptorUrl = "file:" + xmlDescriptorUrl; } ProActiveRuntimeImpl part = (ProActiveRuntimeImpl) ProActiveRuntimeImpl.getProActiveRuntime(); ProActiveDescriptor pad; //System.out.println("padurl with id : " + xmlDescriptorUrl) ; try { pad = part.getDescriptor(xmlDescriptorUrl, hierarchicalSearch); } catch (Exception e) { throw new ProActiveException(e); } // if pad found, returns it if (pad != null) { return pad; } //System.out.println("not found parsing : " + xmlDescriptorUrl) ; // else parses it try { if (logger.isInfoEnabled()) { logger.info("************* Reading deployment descriptor: " + xmlDescriptorUrl + " ********************"); } ProActiveDescriptorHandler proActiveDescriptorHandler = ProActiveDescriptorHandler.createProActiveDescriptor(xmlDescriptorUrl); pad = (ProActiveDescriptor) proActiveDescriptorHandler.getResultObject(); part.registerDescriptor(xmlDescriptorUrl + pad.getJobID(), pad); //System.out.println("pad registered with id : " + xmlDescriptorUrl + pad.getJobID()) ; return pad; } catch (org.xml.sax.SAXException e) { e.printStackTrace(); logger.fatal( "a problem occurs when getting the proActiveDescriptor"); throw new ProActiveException(e); } catch (java.io.IOException e) { e.printStackTrace(); logger.fatal( "a problem occurs during the ProActiveDescriptor object creation"); throw new ProActiveException(e); } }
23362 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/23362/1b46c51dd3af85bafb532dedf35294088600e91d/ProActive.java/buggy/src/org/objectweb/proactive/ProActive.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1186, 3896, 3187, 3570, 3535, 3187, 12, 3639, 514, 2025, 3187, 1489, 16, 1250, 26633, 2979, 13, 3639, 1216, 1186, 3896, 503, 288, 3639, 2509, 1733, 18, 588, 1868, 5576, 5621, 3639, 309, 16051, 2902, 3187, 1489, 18, 17514, 1190, 2932, 768, 2773, 3719, 288, 5411, 2025, 3187, 1489, 273, 315, 768, 2773, 397, 2025, 3187, 1489, 31, 3639, 289, 3639, 1186, 3896, 5576, 2828, 1087, 273, 261, 626, 3896, 5576, 2828, 13, 1186, 3896, 5576, 2828, 18, 588, 626, 3896, 5576, 5621, 3639, 1186, 3896, 3187, 4627, 31, 3639, 368, 3163, 18, 659, 18, 8222, 2932, 6982, 718, 598, 612, 294, 315, 397, 2025, 3187, 1489, 13, 274, 3639, 775, 288, 5411, 4627, 273, 1087, 18, 588, 3187, 12, 2902, 3187, 1489, 16, 26633, 2979, 1769, 3639, 289, 1044, 261, 503, 425, 13, 288, 5411, 604, 394, 1186, 3896, 503, 12, 73, 1769, 3639, 289, 3639, 368, 309, 4627, 1392, 16, 1135, 518, 3639, 309, 261, 6982, 480, 446, 13, 288, 5411, 327, 4627, 31, 3639, 289, 3639, 368, 3163, 18, 659, 18, 8222, 2932, 902, 1392, 5811, 294, 315, 397, 2025, 3187, 1489, 13, 274, 3639, 368, 469, 8940, 518, 3639, 775, 288, 5411, 309, 261, 4901, 18, 291, 966, 1526, 10756, 288, 7734, 1194, 18, 1376, 2932, 1644, 23490, 31941, 6314, 4950, 30, 315, 397, 10792, 2025, 3187, 1489, 397, 315, 380, 2751, 636, 7388, 1769, 5411, 289, 5411, 1186, 3896, 3187, 1503, 450, 3896, 3187, 1503, 273, 1186, 3896, 3187, 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, 1186, 3896, 3187, 3570, 3535, 3187, 12, 3639, 514, 2025, 3187, 1489, 16, 1250, 26633, 2979, 13, 3639, 1216, 1186, 3896, 503, 288, 3639, 2509, 1733, 18, 588, 1868, 5576, 5621, 3639, 309, 16051, 2902, 3187, 1489, 18, 17514, 1190, 2932, 768, 2773, 3719, 288, 5411, 2025, 3187, 1489, 273, 315, 768, 2773, 397, 2025, 3187, 1489, 31, 3639, 289, 3639, 1186, 3896, 5576, 2828, 1087, 273, 261, 626, 3896, 5576, 2828, 13, 1186, 3896, 5576, 2828, 18, 588, 626, 3896, 5576, 5621, 3639, 1186, 3896, 3187, 4627, 31, 3639, 368, 3163, 18, 659, 18, 8222, 2932, 6982, 718, 598, 612, 294, 315, 397, 2025, 3187, 1489, 13, 274, 3639, 775, 288, 5411, 4627, 273, 1087, 2 ]
FontStyle style = (FontStyle) getFontStyleOwnerView().getStyle( NotationPackage.eINSTANCE.getFontStyle());
FontStyle style = (FontStyle) getFontStyleOwnerView().getStyle(NotationPackage.eINSTANCE.getFontStyle());
protected void refreshFont() { FontStyle style = (FontStyle) getFontStyleOwnerView().getStyle( NotationPackage.eINSTANCE.getFontStyle()); if (style != null) { FontData fontData = new FontData(style.getFontName(), style.getFontHeight(), (style.isBold() ? org.eclipse.swt.SWT.BOLD : org.eclipse.swt.SWT.NORMAL) | (style.isItalic() ? org.eclipse.swt.SWT.ITALIC : org.eclipse.swt.SWT.NORMAL)); setFont(fontData); } }
56962 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56962/816096641504ba96db7bef449fe01a4b67ff0d37/PinNameEditPart.java/buggy/plugins/org.eclipse.uml2.diagram.activity/src/org/eclipse/uml2/diagram/activity/edit/parts/PinNameEditPart.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 4460, 5711, 1435, 288, 202, 202, 5711, 2885, 2154, 273, 261, 5711, 2885, 13, 18776, 2885, 5541, 1767, 7675, 588, 2885, 12, 9506, 202, 14818, 2261, 18, 73, 13341, 18, 588, 5711, 2885, 10663, 202, 202, 430, 261, 4060, 480, 446, 13, 288, 1082, 202, 5711, 751, 3512, 751, 273, 394, 10063, 751, 12, 4060, 18, 588, 5711, 461, 9334, 2154, 18, 588, 5711, 2686, 9334, 261, 4060, 18, 291, 38, 1673, 1435, 692, 2358, 18, 20416, 18, 5328, 88, 18, 55, 8588, 18, 38, 11846, 6862, 202, 30, 2358, 18, 20416, 18, 5328, 88, 18, 55, 8588, 18, 15480, 13, 6862, 202, 96, 261, 4060, 18, 291, 7193, 21466, 1435, 692, 2358, 18, 20416, 18, 5328, 88, 18, 55, 8588, 18, 1285, 1013, 2871, 294, 2358, 18, 20416, 18, 5328, 88, 18, 55, 8588, 18, 15480, 10019, 1082, 202, 542, 5711, 12, 5776, 751, 1769, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 4460, 5711, 1435, 288, 202, 202, 5711, 2885, 2154, 273, 261, 5711, 2885, 13, 18776, 2885, 5541, 1767, 7675, 588, 2885, 12, 9506, 202, 14818, 2261, 18, 73, 13341, 18, 588, 5711, 2885, 10663, 202, 202, 430, 261, 4060, 480, 446, 13, 288, 1082, 202, 5711, 751, 3512, 751, 273, 394, 10063, 751, 12, 4060, 18, 588, 5711, 461, 9334, 2154, 18, 588, 5711, 2686, 9334, 261, 4060, 18, 291, 38, 1673, 1435, 692, 2358, 18, 20416, 18, 5328, 88, 18, 55, 8588, 18, 38, 11846, 6862, 202, 30, 2358, 18, 20416, 18, 5328, 88, 18, 55, 8588, 18, 15480, 13, 6862, 202, 96, 261, 4060, 18, 291, 7193, 21466, 1435, 692, 2358, 18, 20416, 2 ]
List itemsToExpand = new ArrayList(); IContainer parent = container.getParent(); while (parent != null) { itemsToExpand.add(0, parent); parent = parent.getParent(); } treeViewer.setExpandedElements(itemsToExpand.toArray()); treeViewer.setSelection(new StructuredSelection(container), true); }
List itemsToExpand = new ArrayList( ); IContainer parent = container.getParent( ); while ( parent != null ) { itemsToExpand.add( 0, parent ); parent = parent.getParent( ); } treeViewer.setExpandedElements( itemsToExpand.toArray( ) ); treeViewer.setSelection( new StructuredSelection( container ), true ); }
public void setSelectedContainer(IContainer container) { selectedContainer = container; //expand to and select the specified container List itemsToExpand = new ArrayList(); IContainer parent = container.getParent(); while (parent != null) { itemsToExpand.add(0, parent); parent = parent.getParent(); } treeViewer.setExpandedElements(itemsToExpand.toArray()); treeViewer.setSelection(new StructuredSelection(container), true); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/eb9617da439d12c40f3451f4e4438472a44aab3d/WizardSaveAsPage.java/buggy/UI/org.eclipse.birt.report.designer.ui.ide/src/org/eclipse/birt/report/designer/ui/ide/wizards/WizardSaveAsPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 23006, 2170, 12, 45, 2170, 1478, 13, 288, 3639, 3170, 2170, 273, 1478, 31, 3639, 368, 12320, 358, 471, 2027, 326, 1269, 1478, 3639, 987, 1516, 774, 12271, 273, 394, 2407, 5621, 3639, 467, 2170, 982, 273, 1478, 18, 588, 3054, 5621, 3639, 1323, 261, 2938, 480, 446, 13, 288, 5411, 1516, 774, 12271, 18, 1289, 12, 20, 16, 982, 1769, 5411, 982, 273, 982, 18, 588, 3054, 5621, 3639, 289, 3639, 2151, 18415, 18, 542, 17957, 3471, 12, 3319, 774, 12271, 18, 31447, 10663, 3639, 2151, 18415, 18, 542, 6233, 12, 2704, 7362, 2862, 6233, 12, 3782, 3631, 638, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 918, 23006, 2170, 12, 45, 2170, 1478, 13, 288, 3639, 3170, 2170, 273, 1478, 31, 3639, 368, 12320, 358, 471, 2027, 326, 1269, 1478, 3639, 987, 1516, 774, 12271, 273, 394, 2407, 5621, 3639, 467, 2170, 982, 273, 1478, 18, 588, 3054, 5621, 3639, 1323, 261, 2938, 480, 446, 13, 288, 5411, 1516, 774, 12271, 18, 1289, 12, 20, 16, 982, 1769, 5411, 982, 273, 982, 18, 588, 3054, 5621, 3639, 289, 3639, 2151, 18415, 18, 542, 17957, 3471, 12, 3319, 774, 12271, 18, 31447, 10663, 3639, 2151, 18415, 18, 542, 6233, 12, 2704, 7362, 2862, 6233, 12, 3782, 3631, 638, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
File sourceFile = new File(sourceDir, sourceFileData .getName());
File sourceFile = finder.findFile(sourceFileData.getName());
private void generateSourceFile(SourceFileData sourceFileData) throws IOException { if (!sourceFileData.containsInstrumentationInfo()) { logger.info("Data file does not contain instrumentation " + "information for the file " + sourceFileData.getName() + ". Ensure this class was instrumented, and this " + "data file contains the instrumentation information."); } String filename = sourceFileData.getNormalizedName() + ".html"; File file = new File(destinationDir, filename); PrintStream out = null; try { out = new PrintStream(new FileOutputStream(file)); out.println("<html>"); out.println("<head>"); out.println("<title>Coverage Report</title>"); out .println("<link title=\"Style\" type=\"text/css\" rel=\"stylesheet\" href=\"css/main.css\" />"); out .println("<script type=\"text/javascript\" src=\"js/popup.js\"></script>"); out.println("</head>"); out.println("<body>"); out.print("<h5>Coverage Report - "); String classPackageName = sourceFileData.getPackageName(); if ((classPackageName != null) && classPackageName.length() > 0) { out.print(sourceFileData.getPackageName() + "."); } out.print(sourceFileData.getBaseName()); out.println("</h5>"); // Output the coverage summary for this class out.println("<p>"); out.println("<table class=\"report\">"); out.println(generateTableHeader("Classes in this File", false)); // TODO: Change this to actually show multiple classes. out.println(generateTableRowForSourceFile(sourceFileData)); out.println("</table>"); out.println("</p>"); // Output this class's source code with syntax and coverage highlighting out.println("<p>"); out .println("<table cellspacing=\"0\" cellpadding=\"0\" class=\"src\">"); BufferedReader br = null; try { File sourceFile = new File(sourceDir, sourceFileData .getName()); br = new BufferedReader(new FileReader(sourceFile)); String lineStr; JavaToHtml javaToHtml = new JavaToHtml(); int lineNumber = 1; while ((lineStr = br.readLine()) != null) { out.println("<tr>"); if (sourceFileData.isValidSourceLineNumber(lineNumber)) { long numberOfHits = sourceFileData .getHitCount(lineNumber); out.println(" <td class=\"numLineCover\">&nbsp;" + lineNumber + "</td>"); if (numberOfHits > 0) { out .println(" <td class=\"nbHitsCovered\">&nbsp;" + numberOfHits + "</td>"); out .println(" <td class=\"src\"><pre class=\"src\">&nbsp;" + javaToHtml.process(lineStr) + "</pre></td>"); } else { out .println(" <td class=\"nbHitsUncovered\">&nbsp;" + numberOfHits + "</td>"); out .println(" <td class=\"src\"><pre class=\"src\"><span class=\"srcUncovered\">&nbsp;" + javaToHtml.process(lineStr) + "</span></pre></td>"); } } else { out.println(" <td class=\"numLine\">&nbsp;" + lineNumber + "</td>"); out.println(" <td class=\"nbHits\">&nbsp;</td>"); out .println(" <td class=\"src\"><pre class=\"src\">&nbsp;" + javaToHtml.process(lineStr) + "</pre></td>"); } out.println("</tr>"); lineNumber++; } } finally { if (br != null) { br.close(); } } out.println("</table>"); out.println("</p>"); out.println("<div class=\"footer\">"); out .println("Reports generated by <a href=\"http://cobertura.sourceforge.net/\" target=\"_top\">Cobertura</a>."); out.println("</div>"); out.println("</body>"); out.println("</html>"); } finally { if (out != null) { out.close(); } } }
50197 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50197/12464e2c222b85c4fe40070c50e015403ce5acfe/HTMLReport.java/clean/cobertura/src/net/sourceforge/cobertura/reporting/html/HTMLReport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 2103, 31150, 12, 31150, 751, 16338, 751, 13, 1082, 202, 15069, 1860, 202, 95, 202, 202, 430, 16051, 3168, 812, 751, 18, 12298, 19228, 367, 966, 10756, 202, 202, 95, 1082, 202, 4901, 18, 1376, 2932, 751, 585, 1552, 486, 912, 30668, 315, 6862, 202, 15, 315, 13117, 364, 326, 585, 315, 397, 16338, 751, 18, 17994, 1435, 6862, 202, 15, 3552, 225, 7693, 333, 667, 1703, 10353, 329, 16, 471, 333, 315, 6862, 202, 15, 315, 892, 585, 1914, 326, 30668, 1779, 1199, 1769, 202, 202, 97, 202, 202, 780, 1544, 273, 16338, 751, 18, 588, 15577, 461, 1435, 397, 3552, 2620, 14432, 202, 202, 812, 585, 273, 394, 1387, 12, 10590, 1621, 16, 1544, 1769, 202, 202, 5108, 1228, 596, 273, 446, 31, 202, 202, 698, 202, 202, 95, 1082, 202, 659, 273, 394, 21677, 12, 2704, 12942, 12, 768, 10019, 1082, 202, 659, 18, 8222, 2932, 32, 2620, 2984, 1769, 1082, 202, 659, 18, 8222, 2932, 32, 1978, 2984, 1769, 1082, 202, 659, 18, 8222, 2932, 32, 2649, 34, 9739, 8706, 1757, 2649, 2984, 1769, 1082, 202, 659, 6862, 202, 18, 8222, 2932, 32, 1232, 2077, 5189, 2885, 2412, 618, 5189, 955, 19, 5212, 2412, 1279, 5189, 19403, 2412, 3897, 5189, 5212, 19, 5254, 18, 5212, 2412, 28505, 1769, 1082, 202, 659, 6862, 202, 18, 8222, 2932, 32, 4263, 618, 5189, 955, 19, 11242, 2412, 1705, 5189, 2924, 19, 16086, 18, 2924, 2412, 4695, 4263, 2984, 1769, 1082, 202, 659, 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, 2103, 31150, 12, 31150, 751, 16338, 751, 13, 1082, 202, 15069, 1860, 202, 95, 202, 202, 430, 16051, 3168, 812, 751, 18, 12298, 19228, 367, 966, 10756, 202, 202, 95, 1082, 202, 4901, 18, 1376, 2932, 751, 585, 1552, 486, 912, 30668, 315, 6862, 202, 15, 315, 13117, 364, 326, 585, 315, 397, 16338, 751, 18, 17994, 1435, 6862, 202, 15, 3552, 225, 7693, 333, 667, 1703, 10353, 329, 16, 471, 333, 315, 6862, 202, 15, 315, 892, 585, 1914, 326, 30668, 1779, 1199, 1769, 202, 202, 97, 202, 202, 780, 1544, 273, 16338, 751, 18, 588, 15577, 461, 1435, 397, 3552, 2620, 14432, 202, 202, 812, 585, 273, 394, 1387, 12, 10590, 1621, 16, 2 ]
this.opt = opt;
Options opt = optionProvider.getOptionsFor(c);
public String printClass(Options opt, ClassDoc c) { ClassInfo ci; boolean toPrint; this.opt = opt; if ((ci = classnames.get(c.toString())) != null) toPrint = !ci.nodePrinted; else { toPrint = true; classnames.put(c.toString(), ci = new ClassInfo(true, hidden(c))); } if (toPrint && !hidden(c) && (!c.isEnum() || opt.showEnumerations)) { // Associate classname's alias String r = c.toString(); opt.w.println("\t// " + r); // Create label opt.w.print("\t" + ci.name + " ["); r = stereotype(c, 'n') + escapeLG(qualifiedName(r)); if (c.isInterface()) r = guilWrap("interface") + " \\n" + r; if (c.isEnum()) r = guilWrap("enumeration") + " \\n" + r; boolean showMembers = (opt.showAttributes && c.fields().length > 0) || (c.isEnum() && opt.showEnumConstants && c.enumConstants().length > 0) || (opt.showOperations && c.methods().length > 0) || (opt.showConstructors && c.constructors().length > 0); r += tagvalue(c, "\\n", 'r'); if (showMembers) opt.w.print("label=\"{" + r + "\\n|"); else opt.w.print("label=\"" + r + "\""); if (opt.showAttributes) attributes(c.fields()); if (c.isEnum() && opt.showEnumConstants) { for (FieldDoc fd : c.enumConstants()) { opt.w.print(fd.name()); opt.w.print("\\l"); } } if (showMembers) opt.w.print("|"); if (opt.showConstructors && !c.isEnum()) operations(c.constructors()); if (opt.showOperations && !c.isEnum()) operations(c.methods()); if (showMembers) opt.w.print("}\""); // Use ariali [sic] for gif output of abstract classes opt.w.print(", fontname=\"" + (c.isAbstract() ? opt.nodeFontAbstractName : opt.nodeFontName) + "\""); nodeProperties(c.qualifiedName()); ci.nodePrinted = true; } return ci.name; }
47201 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47201/405b179f20c0c73d6e8668ae781ecb16eb4758ba/ClassGraph.java/clean/src/gr/spinellis/umlgraph/doclet/ClassGraph.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 1172, 797, 12, 1320, 2153, 16, 27785, 276, 13, 288, 202, 19455, 9039, 31, 202, 6494, 358, 5108, 31, 202, 2211, 18, 3838, 273, 2153, 31, 202, 430, 14015, 8450, 273, 667, 1973, 18, 588, 12, 71, 18, 10492, 1435, 3719, 480, 446, 13, 202, 565, 358, 5108, 273, 401, 8450, 18, 2159, 5108, 329, 31, 202, 12107, 288, 202, 565, 358, 5108, 273, 638, 31, 202, 565, 667, 1973, 18, 458, 12, 71, 18, 10492, 9334, 9039, 273, 394, 19010, 12, 3767, 16, 5949, 12, 71, 3719, 1769, 202, 97, 202, 430, 261, 869, 5108, 597, 401, 6345, 12, 71, 13, 597, 16051, 71, 18, 291, 3572, 1435, 747, 2153, 18, 4500, 3572, 264, 1012, 3719, 288, 202, 565, 368, 14008, 7479, 1807, 2308, 202, 565, 514, 436, 273, 276, 18, 10492, 5621, 202, 565, 2153, 18, 91, 18, 8222, 31458, 88, 759, 315, 397, 436, 1769, 202, 565, 368, 1788, 1433, 202, 565, 2153, 18, 91, 18, 1188, 31458, 88, 6, 397, 9039, 18, 529, 397, 315, 8247, 1769, 202, 565, 436, 273, 22890, 10570, 12, 71, 16, 296, 82, 6134, 397, 4114, 48, 43, 12, 19724, 461, 12, 86, 10019, 202, 565, 309, 261, 71, 18, 291, 1358, 10756, 202, 202, 86, 273, 3058, 330, 2964, 2932, 5831, 7923, 397, 315, 1736, 82, 6, 397, 436, 31, 202, 565, 309, 261, 71, 18, 291, 3572, 10756, 202, 202, 86, 273, 3058, 330, 2964, 2932, 7924, 7067, 7923, 397, 315, 1736, 82, 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, 1172, 797, 12, 1320, 2153, 16, 27785, 276, 13, 288, 202, 19455, 9039, 31, 202, 6494, 358, 5108, 31, 202, 2211, 18, 3838, 273, 2153, 31, 202, 430, 14015, 8450, 273, 667, 1973, 18, 588, 12, 71, 18, 10492, 1435, 3719, 480, 446, 13, 202, 565, 358, 5108, 273, 401, 8450, 18, 2159, 5108, 329, 31, 202, 12107, 288, 202, 565, 358, 5108, 273, 638, 31, 202, 565, 667, 1973, 18, 458, 12, 71, 18, 10492, 9334, 9039, 273, 394, 19010, 12, 3767, 16, 5949, 12, 71, 3719, 1769, 202, 97, 202, 430, 261, 869, 5108, 597, 401, 6345, 12, 71, 13, 597, 16051, 71, 18, 291, 3572, 1435, 747, 2153, 18, 4500, 3572, 264, 1012, 2 ]
ConnectionConsumer createDurableConnectionConsumer(Topic topic, String subscriptionName, String messageSelector, ServerSessionPool sessionPool, int maxMessages) throws JMSException;
ConnectionConsumer createDurableConnectionConsumer( Topic topic, String subscriptionName, String messageSelector, ServerSessionPool sessionPool, int maxMessages) throws JMSException;
ConnectionConsumer createDurableConnectionConsumer(Topic topic, String subscriptionName, String messageSelector, ServerSessionPool sessionPool, int maxMessages) throws JMSException;
8608 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8608/7f6299004b6fd07dd9a880e63ccd2378de31ada1/TopicConnection.java/buggy/jms/src/java/javax/jms/TopicConnection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4050, 5869, 752, 23073, 1952, 5869, 12, 6657, 3958, 16, 514, 4915, 461, 16, 514, 883, 4320, 16, 3224, 2157, 2864, 1339, 2864, 16, 509, 943, 5058, 13, 1216, 20343, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4050, 5869, 752, 23073, 1952, 5869, 12, 6657, 3958, 16, 514, 4915, 461, 16, 514, 883, 4320, 16, 3224, 2157, 2864, 1339, 2864, 16, 509, 943, 5058, 13, 1216, 20343, 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 ]
throw new IOException("No data set to save.");
throw new IOException("No data set to save.");
public void setOptions(String[] options) throws Exception { String outputString = Utils.getOption('o', options); String inputString = Utils.getOption('i', options); String indexString = Utils.getOption('c', options); ArffLoader loader = new ArffLoader(); resetOptions(); if(inputString.length() != 0){ try{ File input = new File(inputString); loader.setFile(input); setInstances(loader.getDataSet()); } catch(Exception ex){ throw new IOException("No data set loaded. Data set has to be arff format."); } } else throw new IOException("No data set to save."); if (outputString.length() != 0){ //add appropriate file extension if(!outputString.endsWith(getFileExtension())){ if(outputString.lastIndexOf('.') != -1) outputString = (outputString.substring(0,outputString.lastIndexOf('.'))) + getFileExtension(); else outputString = outputString + getFileExtension(); } try{ File output = new File(outputString); setFile(output); } catch(Exception ex){ throw new IOException("Cannot create output file."); } finally{ setDestination(retrieveFile()); } } if(indexString.length() != 0){ if(indexString.equals("first")) getInstances().setClassIndex(0); else{ if(indexString.equals("last")) getInstances().setClassIndex(getInstances().numAttributes()-1); else{ int classIndex = Integer.parseInt(indexString); if(classIndex >=0 && classIndex < getInstances().numAttributes()) getInstances().setClassIndex(classIndex); else throw new IOException("Invalid class index"); } } } else getInstances().setClassIndex(getInstances().numAttributes()-1); }
4179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4179/62f71dad5907a491db60420b472c41ca939dd18d/C45Saver.java/clean/trunk/weka/core/converters/C45Saver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 16526, 12, 780, 8526, 702, 13, 1216, 1185, 288, 3639, 514, 876, 780, 273, 6091, 18, 588, 1895, 2668, 83, 2187, 702, 1769, 565, 514, 810, 780, 273, 6091, 18, 588, 1895, 2668, 77, 2187, 702, 1769, 565, 514, 770, 780, 273, 6091, 18, 588, 1895, 2668, 71, 2187, 702, 1769, 3639, 1201, 1403, 2886, 4088, 273, 394, 1201, 1403, 2886, 5621, 3639, 2715, 1320, 5621, 3639, 309, 12, 2630, 780, 18, 2469, 1435, 480, 374, 15329, 3639, 775, 95, 5411, 1387, 810, 273, 394, 1387, 12, 2630, 780, 1769, 5411, 4088, 18, 542, 812, 12, 2630, 1769, 5411, 444, 5361, 12, 6714, 18, 588, 13676, 10663, 3639, 289, 1044, 12, 503, 431, 15329, 5411, 604, 394, 1860, 2932, 2279, 501, 444, 4203, 18, 1910, 444, 711, 358, 506, 419, 1403, 740, 1199, 1769, 3639, 289, 565, 289, 565, 469, 3639, 604, 394, 1860, 2932, 2279, 501, 444, 358, 1923, 1199, 1769, 377, 309, 261, 2844, 780, 18, 2469, 1435, 480, 374, 15329, 540, 368, 1289, 5505, 585, 2710, 3639, 309, 12, 5, 2844, 780, 18, 5839, 1190, 12, 29925, 3625, 1435, 3719, 95, 5411, 309, 12, 2844, 780, 18, 2722, 31985, 2668, 1093, 13, 480, 300, 21, 13, 7734, 876, 780, 273, 261, 2844, 780, 18, 28023, 12, 20, 16, 2844, 780, 18, 2722, 31985, 2668, 1093, 20349, 397, 6034, 3625, 5621, 5411, 469, 7734, 876, 780, 273, 876, 780, 397, 6034, 3625, 5621, 3639, 289, 3639, 775, 95, 5411, 1387, 876, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 16526, 12, 780, 8526, 702, 13, 1216, 1185, 288, 3639, 514, 876, 780, 273, 6091, 18, 588, 1895, 2668, 83, 2187, 702, 1769, 565, 514, 810, 780, 273, 6091, 18, 588, 1895, 2668, 77, 2187, 702, 1769, 565, 514, 770, 780, 273, 6091, 18, 588, 1895, 2668, 71, 2187, 702, 1769, 3639, 1201, 1403, 2886, 4088, 273, 394, 1201, 1403, 2886, 5621, 3639, 2715, 1320, 5621, 3639, 309, 12, 2630, 780, 18, 2469, 1435, 480, 374, 15329, 3639, 775, 95, 5411, 1387, 810, 273, 394, 1387, 12, 2630, 780, 1769, 5411, 4088, 18, 542, 812, 12, 2630, 1769, 5411, 444, 5361, 12, 6714, 18, 588, 13676, 10663, 3639, 289, 1044, 12, 503, 431, 15329, 5411, 604, 2 ]
Session hs = HibernateHelper.getSession(); List l = hs.find( "from Membership as ms where " + "ms.owner_id = ? " + "and ms.field.name = ? " + "and ms.field.type = ? " + "and ms.depth > 0 ", new Object[] { g.getUuid(), f.getName(), f.getType().toString() }, new Type[] { Hibernate.STRING, Hibernate.STRING, Hibernate.STRING
Member m = MemberFinder.findBySubject(s, subj); Set effs = findEffectiveMemberships( g.getUuid(), m.getId(), f, via.getUuid(), depth ); if (effs.size() > 0) { try { PrivilegeResolver.getInstance().canPrivDispatch( s, g, s.getSubject(), f.getReadPriv() ); Iterator effsIter = effs.iterator(); while (effsIter.hasNext()) { Membership eff = (Membership) effsIter.next(); eff.setSession(s); mships.add(eff); }
protected static Set findEffectiveMemberships( GrouperSession s, Group g, Field f ) { /* * @caller public Group.getEffectiveMemberships(f) * @caller protected MembershipFinder.findEffectiveMembers(s, g, field) * @filtered true * @session true */ GrouperSession.validate(s); GrouperLog.debug(LOG, s, MSG_FEMSHIPSG_PRO); Set mships = new LinkedHashSet(); try { Session hs = HibernateHelper.getSession(); List l = hs.find( "from Membership as ms where " + "ms.owner_id = ? " + "and ms.field.name = ? " + "and ms.field.type = ? " + "and ms.depth > 0 ", new Object[] { g.getUuid(), f.getName(), f.getType().toString() }, new Type[] { Hibernate.STRING, Hibernate.STRING, Hibernate.STRING } ); hs.close(); GrouperLog.debug(LOG, s, MSG_FEMSHIPSG_PRO + " unfiltered: " + l.size()); mships.addAll( _filterMemberships(s, f, l) ); } catch (HibernateException eH) { GrouperLog.error(LOG, s, MSG_FEMSHIPSG_PRO + ": " + eH.getMessage()); } GrouperLog.debug(LOG, s, MSG_FEMSHIPSG_PRO + " filtered: " + mships.size()); return mships; } // protected static Set findEffectiveMemberships(s, g, f)
5235 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5235/c0eaa56df7ae25c0db85519017f250650f770a56/MembershipFinder.java/buggy/grouper/src/grouper/edu/internet2/middleware/grouper/MembershipFinder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 760, 1000, 1104, 28531, 13447, 87, 12, 565, 3756, 264, 2157, 272, 16, 3756, 314, 16, 2286, 284, 225, 262, 225, 288, 565, 1748, 377, 380, 632, 16140, 565, 1071, 565, 3756, 18, 588, 28531, 13447, 87, 12, 74, 13, 377, 380, 632, 16140, 565, 4750, 28100, 8441, 18, 4720, 28531, 6918, 12, 87, 16, 314, 16, 652, 13, 377, 380, 632, 12071, 225, 638, 377, 380, 632, 3184, 282, 638, 377, 1195, 565, 3756, 264, 2157, 18, 5662, 12, 87, 1769, 565, 3756, 264, 1343, 18, 4148, 12, 4842, 16, 272, 16, 13771, 67, 42, 3375, 20101, 30820, 67, 3373, 1769, 565, 1000, 312, 3261, 87, 225, 273, 394, 19523, 5621, 565, 775, 288, 1377, 3877, 12670, 225, 273, 670, 24360, 2276, 18, 588, 2157, 5621, 1377, 987, 565, 328, 282, 273, 12670, 18, 4720, 12, 3639, 315, 2080, 28100, 487, 4086, 1625, 225, 315, 3639, 397, 315, 959, 18, 8443, 67, 350, 3639, 273, 692, 377, 315, 3639, 397, 315, 464, 4086, 18, 1518, 18, 529, 225, 273, 692, 377, 315, 540, 397, 315, 464, 4086, 18, 1518, 18, 723, 225, 273, 692, 377, 315, 3639, 397, 315, 464, 4086, 18, 5979, 4202, 405, 374, 377, 3104, 540, 394, 1033, 8526, 288, 1850, 314, 18, 588, 5897, 9334, 284, 18, 17994, 9334, 284, 18, 588, 559, 7675, 10492, 1435, 3639, 19879, 3639, 394, 1412, 8526, 288, 1850, 670, 24360, 18, 5804, 16, 670, 24360, 18, 5804, 16, 670, 24360, 18, 5804, 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, 4750, 760, 1000, 1104, 28531, 13447, 87, 12, 565, 3756, 264, 2157, 272, 16, 3756, 314, 16, 2286, 284, 225, 262, 225, 288, 565, 1748, 377, 380, 632, 16140, 565, 1071, 565, 3756, 18, 588, 28531, 13447, 87, 12, 74, 13, 377, 380, 632, 16140, 565, 4750, 28100, 8441, 18, 4720, 28531, 6918, 12, 87, 16, 314, 16, 652, 13, 377, 380, 632, 12071, 225, 638, 377, 380, 632, 3184, 282, 638, 377, 1195, 565, 3756, 264, 2157, 18, 5662, 12, 87, 1769, 565, 3756, 264, 1343, 18, 4148, 12, 4842, 16, 272, 16, 13771, 67, 42, 3375, 20101, 30820, 67, 3373, 1769, 565, 1000, 312, 3261, 87, 225, 273, 394, 19523, 5621, 565, 775, 288, 1377, 3877, 2 ]
throw new RuntimeException("Null InputSource for file " + filename);
logger.error("Null InputSource for file \""+filename+"\"");
public InputSource resolveEntity (String publicId, String systemId) { URL url = null; try { url = new URL(systemId); } catch(Exception e) {} String filename = url.getFile(); // Convert any '\'s to '/'s. filename = filename.replace('\\', '/'); filename = filename.substring(filename.lastIndexOf("/") + 1, filename.length()); InputSource is = null; try { InputStream istream = open(filename); if (istream == null) { throw new RuntimeException("Got null input stream opening file " + filename); } is = new InputSource(istream); } catch(IOException e) { System.err.println("Error getting input source for file " + filename); e.printStackTrace(); } if(is == null) { throw new RuntimeException("Null InputSource for file " + filename); } return is; }
7982 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7982/4ec6def51391c1201a92e8decb3ead9c85adb739/ConfigFinder.java/buggy/util/src/org/cougaar/util/ConfigFinder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 23699, 2245, 1943, 261, 780, 1071, 548, 16, 514, 30083, 13, 288, 5411, 1976, 880, 273, 446, 31, 1377, 775, 288, 202, 718, 273, 394, 1976, 12, 4299, 548, 1769, 1377, 289, 1044, 12, 503, 425, 13, 2618, 1377, 514, 1544, 273, 880, 18, 29925, 5621, 1377, 368, 4037, 1281, 14118, 87, 358, 2023, 87, 18, 1377, 1544, 273, 1544, 18, 2079, 2668, 1695, 2187, 2023, 1769, 1377, 1544, 273, 1544, 18, 28023, 12, 3459, 18, 2722, 31985, 2932, 4898, 13, 397, 404, 16, 1544, 18, 2469, 10663, 1377, 23699, 353, 273, 446, 31, 1377, 775, 288, 202, 4348, 277, 3256, 273, 1696, 12, 3459, 1769, 3639, 309, 261, 376, 793, 422, 446, 13, 288, 202, 225, 604, 394, 3235, 2932, 15617, 446, 810, 1407, 10890, 585, 315, 397, 1544, 1769, 3639, 289, 3639, 353, 273, 394, 23699, 12, 376, 793, 1769, 1377, 289, 1044, 12, 14106, 425, 13, 288, 3639, 2332, 18, 370, 18, 8222, 2932, 668, 8742, 810, 1084, 364, 585, 315, 397, 1544, 1769, 3639, 425, 18, 1188, 6332, 5621, 4202, 289, 5411, 309, 12, 291, 422, 446, 13, 288, 3639, 1194, 18, 1636, 2932, 2041, 23699, 364, 585, 11843, 15, 3459, 9078, 8530, 1769, 1377, 289, 1377, 327, 353, 31, 282, 289, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 23699, 2245, 1943, 261, 780, 1071, 548, 16, 514, 30083, 13, 288, 5411, 1976, 880, 273, 446, 31, 1377, 775, 288, 202, 718, 273, 394, 1976, 12, 4299, 548, 1769, 1377, 289, 1044, 12, 503, 425, 13, 2618, 1377, 514, 1544, 273, 880, 18, 29925, 5621, 1377, 368, 4037, 1281, 14118, 87, 358, 2023, 87, 18, 1377, 1544, 273, 1544, 18, 2079, 2668, 1695, 2187, 2023, 1769, 1377, 1544, 273, 1544, 18, 28023, 12, 3459, 18, 2722, 31985, 2932, 4898, 13, 397, 404, 16, 1544, 18, 2469, 10663, 1377, 23699, 353, 273, 446, 31, 1377, 775, 288, 202, 4348, 277, 3256, 273, 1696, 12, 3459, 1769, 3639, 309, 261, 376, 793, 422, 446, 13, 288, 202, 225, 2 ]
logger.debug(""+phytNames.length+" phytochorion names set.");
logger.debug(""+(phytNames == null ? 0 : phytNames.length)+" phytochorion names set.");
public void setPhytNames(Pair<String, Integer>[] phytNames) { logger.debug(""+phytNames.length+" phytochorion names set."); this.phytNames = phytNames; setChanged(); notifyObservers("PHYTNAMES_CHANGED"); }
57211 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57211/36880eba42a79a92f0bcefa4e6fd4070e4fca20c/AddEdit.java/buggy/trunk/src/net/sf/plantlore/client/overview/AddEdit.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 3731, 93, 88, 1557, 12, 4154, 32, 780, 16, 2144, 34, 8526, 1844, 93, 88, 1557, 13, 288, 3639, 1194, 18, 4148, 2932, 6, 15, 12, 844, 93, 88, 1557, 422, 446, 692, 374, 294, 1844, 93, 88, 1557, 18, 2469, 13, 9078, 1844, 93, 869, 4964, 285, 1257, 444, 1199, 1769, 3639, 333, 18, 844, 93, 88, 1557, 273, 1844, 93, 88, 1557, 31, 3639, 444, 5033, 5621, 5066, 29393, 2932, 8939, 61, 56, 16257, 67, 24435, 8863, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 377, 1071, 918, 444, 3731, 93, 88, 1557, 12, 4154, 32, 780, 16, 2144, 34, 8526, 1844, 93, 88, 1557, 13, 288, 3639, 1194, 18, 4148, 2932, 6, 15, 12, 844, 93, 88, 1557, 422, 446, 692, 374, 294, 1844, 93, 88, 1557, 18, 2469, 13, 9078, 1844, 93, 869, 4964, 285, 1257, 444, 1199, 1769, 3639, 333, 18, 844, 93, 88, 1557, 273, 1844, 93, 88, 1557, 31, 3639, 444, 5033, 5621, 5066, 29393, 2932, 8939, 61, 56, 16257, 67, 24435, 8863, 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 ]
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AttributePackage.TEXT__COLOR, oldColor, newColor); if (msgs == null) msgs = notification; else msgs.add(notification);
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AttributePackage.TEXT__COLOR, oldColor, newColor); if (msgs == null) msgs = notification; else msgs.add(notification);
public NotificationChain basicSetColor(ColorDefinition newColor, NotificationChain msgs) { ColorDefinition oldColor = color; color = newColor; if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AttributePackage.TEXT__COLOR, oldColor, newColor); if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/TextImpl.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/impl/TextImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 27050, 5337, 694, 2957, 12, 2957, 1852, 394, 2957, 16, 27050, 8733, 13, 565, 288, 3639, 5563, 1852, 1592, 2957, 273, 2036, 31, 3639, 2036, 273, 394, 2957, 31, 3639, 309, 261, 73, 21107, 10756, 3639, 288, 5411, 19953, 3851, 273, 394, 19953, 12, 2211, 16, 8050, 18, 4043, 16, 3601, 2261, 18, 5151, 972, 10989, 16, 1592, 2957, 16, 394, 2957, 1769, 5411, 309, 261, 27439, 422, 446, 13, 8733, 273, 3851, 31, 469, 8733, 18, 1289, 12, 9927, 1769, 3639, 289, 3639, 327, 8733, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 27050, 5337, 694, 2957, 12, 2957, 1852, 394, 2957, 16, 27050, 8733, 13, 565, 288, 3639, 5563, 1852, 1592, 2957, 273, 2036, 31, 3639, 2036, 273, 394, 2957, 31, 3639, 309, 261, 73, 21107, 10756, 3639, 288, 5411, 19953, 3851, 273, 394, 19953, 12, 2211, 16, 8050, 18, 4043, 16, 3601, 2261, 18, 5151, 972, 10989, 16, 1592, 2957, 16, 394, 2957, 1769, 5411, 309, 261, 27439, 422, 446, 13, 8733, 273, 3851, 31, 469, 8733, 18, 1289, 12, 9927, 1769, 3639, 289, 3639, 327, 8733, 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 ]
public void dispose() { deActivateView(); if (editorListener != null) { getSite().getWorkbenchWindow().getPartService().removePartListener( editorListener); editorListener.dispose(); editorListener = null; }// JFaceResources.getFontRegistry().removeListener(this); if (contextMenuManager != null) { contextMenuManager.dispose(); } selectionActions.clear(); globalActions.clear(); textViewer.getSelectionProvider().removeSelectionChangedListener( selectionChangedListener); textViewer.removeTextListener(textListener); textViewer = null; if (textControl != null) { textControl.dispose(); textControl = null; } if (verifyControl != null) { verifyControl.dispose(); verifyControl = null; tableControl = null; // stackControl = null; // lvtControl = null; stackTable = null; lvtTable = null; } if (errorColor != null) { errorColor.dispose(); errorColor = null; } currentSelection = null; javaEditor = null; javaInput = null; lastChildElement = null; linkWithEditorAction = null; selectionChangedAction = null; showSelectedOnlyAction = null; setRawModeAction = null; toggleASMifierModeAction = null; toggleVerifierAction = null; lastDecompiledResult = null; super.dispose(); }
8320 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8320/8a0b83d539effa32bafd41a77062d05aff7fce56/BytecodeOutlineView.java/clean/eclipse/plugin/src/de/loskutov/bco/views/BytecodeOutlineView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 15825, 1435, 288, 323, 21370, 1767, 5621, 430, 261, 9177, 2223, 480, 446, 13, 288, 588, 4956, 7675, 588, 2421, 22144, 3829, 7675, 588, 1988, 1179, 7675, 4479, 1988, 2223, 12, 9177, 2223, 1769, 9177, 2223, 18, 2251, 4150, 5621, 9177, 2223, 273, 446, 31, 97, 759, 46, 11824, 3805, 18, 588, 5711, 4243, 7675, 4479, 2223, 12, 2211, 1769, 430, 261, 2472, 4599, 1318, 480, 446, 13, 288, 2472, 4599, 1318, 18, 2251, 4150, 5621, 97, 10705, 6100, 18, 8507, 5621, 6347, 6100, 18, 8507, 5621, 955, 18415, 18, 588, 6233, 2249, 7675, 4479, 6233, 5033, 2223, 12, 10705, 5033, 2223, 1769, 955, 18415, 18, 4479, 1528, 2223, 12, 955, 2223, 1769, 955, 18415, 273, 446, 31, 430, 261, 955, 3367, 480, 446, 13, 288, 955, 3367, 18, 2251, 4150, 5621, 955, 3367, 273, 446, 31, 97, 430, 261, 8705, 3367, 480, 446, 13, 288, 8705, 3367, 18, 2251, 4150, 5621, 8705, 3367, 273, 446, 31, 2121, 3367, 273, 446, 31, 759, 2110, 3367, 273, 446, 31, 759, 5362, 88, 3367, 273, 446, 31, 3772, 1388, 273, 446, 31, 3070, 88, 1388, 273, 446, 31, 97, 430, 261, 1636, 2957, 480, 446, 13, 288, 1636, 2957, 18, 2251, 4150, 5621, 1636, 2957, 273, 446, 31, 97, 2972, 6233, 273, 446, 31, 6290, 6946, 273, 446, 31, 6290, 1210, 273, 446, 31, 2722, 1763, 1046, 273, 446, 31, 1232, 1190, 6946, 1803, 273, 446, 31, 10705, 5033, 1803, 273, 446, 31, 4500, 7416, 3386, 1803, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 15825, 1435, 288, 323, 21370, 1767, 5621, 430, 261, 9177, 2223, 480, 446, 13, 288, 588, 4956, 7675, 588, 2421, 22144, 3829, 7675, 588, 1988, 1179, 7675, 4479, 1988, 2223, 12, 9177, 2223, 1769, 9177, 2223, 18, 2251, 4150, 5621, 9177, 2223, 273, 446, 31, 97, 759, 46, 11824, 3805, 18, 588, 5711, 4243, 7675, 4479, 2223, 12, 2211, 1769, 430, 261, 2472, 4599, 1318, 480, 446, 13, 288, 2472, 4599, 1318, 18, 2251, 4150, 5621, 97, 10705, 6100, 18, 8507, 5621, 6347, 6100, 18, 8507, 5621, 955, 18415, 18, 588, 6233, 2249, 7675, 4479, 6233, 5033, 2223, 12, 10705, 5033, 2223, 1769, 955, 18415, 18, 4479, 1528, 2223, 12, 955, 2223, 1769, 955, 18415, 273, 446, 2 ]
assertNull( ( (NameManager) design.getNameManager( ) ).getNameSpace(
assertNull( CoreTestUtil.getNameSpace( ( (NameManager) design.getNameManager( ) ),
public void testNameManager( ) throws Exception { openDesign( "DesignElementTest_1.xml" ); //$NON-NLS-1$ assertNotNull( designHandle ); ScalarParameterHandle param = designHandle.getElementFactory( ) .newScalarParameter( null ); assertNotNull( param.getName( ) ); assertEquals( param.getElement( ), ( (NameManager) design .getNameManager( ) ).getNameSpace( Module.PARAMETER_NAME_SPACE ) .getElement( param.getName( ) ) ); // add the parameter into the design and find that // the cached name in the name manger is cleared. designHandle.getParameters( ).add( param ); assertNull( ( (NameManager) design.getNameManager( ) ).getNameSpace( Module.PARAMETER_NAME_SPACE ).getElement( param.getName( ) ) ); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/d3d717b342078d1f9dfce85bfecc1cb5d3ec367c/DesignElementTest.java/clean/model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/core/DesignElementTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 461, 1318, 12, 262, 1216, 1185, 202, 95, 202, 202, 3190, 15478, 12, 315, 15478, 1046, 4709, 67, 21, 18, 2902, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 11231, 5962, 12, 8281, 3259, 11272, 202, 202, 13639, 1662, 3259, 579, 273, 8281, 3259, 18, 21336, 1733, 12, 262, 9506, 202, 18, 2704, 13639, 1662, 12, 446, 11272, 202, 202, 11231, 5962, 12, 579, 18, 17994, 12, 262, 11272, 202, 202, 11231, 8867, 12, 579, 18, 21336, 12, 262, 16, 261, 261, 461, 1318, 13, 8281, 9506, 202, 18, 17994, 1318, 12, 262, 262, 18, 17994, 3819, 12, 5924, 18, 9819, 67, 1985, 67, 6616, 262, 9506, 202, 18, 21336, 12, 579, 18, 17994, 12, 262, 262, 11272, 202, 202, 759, 527, 326, 1569, 1368, 326, 8281, 471, 1104, 716, 202, 202, 759, 326, 3472, 508, 316, 326, 508, 312, 11455, 353, 16054, 18, 202, 202, 16934, 3259, 18, 588, 2402, 12, 262, 18, 1289, 12, 579, 11272, 202, 202, 11231, 2041, 12, 261, 261, 461, 1318, 13, 8281, 18, 17994, 1318, 12, 262, 262, 18, 17994, 3819, 12, 9506, 202, 3120, 18, 9819, 67, 1985, 67, 6616, 262, 18, 21336, 12, 579, 18, 17994, 12, 262, 262, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 461, 1318, 12, 262, 1216, 1185, 202, 95, 202, 202, 3190, 15478, 12, 315, 15478, 1046, 4709, 67, 21, 18, 2902, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 11231, 5962, 12, 8281, 3259, 11272, 202, 202, 13639, 1662, 3259, 579, 273, 8281, 3259, 18, 21336, 1733, 12, 262, 9506, 202, 18, 2704, 13639, 1662, 12, 446, 11272, 202, 202, 11231, 5962, 12, 579, 18, 17994, 12, 262, 11272, 202, 202, 11231, 8867, 12, 579, 18, 21336, 12, 262, 16, 261, 261, 461, 1318, 13, 8281, 9506, 202, 18, 17994, 1318, 12, 262, 262, 18, 17994, 3819, 12, 5924, 18, 9819, 67, 1985, 67, 6616, 262, 9506, 202, 18, 21336, 12, 2 ]
public void newFolder() { String message = Pooka.getProperty("Folder.newFolder", "Subscribe/create new subfolder of") + " " + getStoreInfo().getStoreID(); JLabel messageLabel = new JLabel(message); JPanel typePanel = new JPanel(); typePanel.setBorder(BorderFactory.createEtchedBorder()); JRadioButton messagesButton = new JRadioButton(Pooka.getProperty("Folder.new.messages.label", "Contains Messages"), true); JRadioButton foldersButton = new JRadioButton(Pooka.getProperty("Folder.new.folders.label", "Contains Folders")); ButtonGroup bg = new ButtonGroup(); bg.add(messagesButton); bg.add(foldersButton); typePanel.add(messagesButton); typePanel.add(foldersButton); Object[] inputPanels = new Object[] { messageLabel, typePanel }; final String response = Pooka.getUIFactory().showInputDialog(inputPanels, Pooka.getProperty("Folder.new.title", "Create new Folder")); int type = javax.mail.Folder.HOLDS_MESSAGES; if (foldersButton.isSelected()) { type = javax.mail.Folder.HOLDS_FOLDERS; } final int finalType = type; if (response != null && response.length() > 0) { getStoreInfo().getStoreThread().addToQueue(new javax.swing.AbstractAction() { public void actionPerformed(java.awt.event.ActionEvent e) { try { getStoreInfo().createSubFolder(response, finalType); } catch (MessagingException me) { final Exception fme = me; SwingUtilities.invokeLater(new Runnable() { public void run() { Pooka.getUIFactory().showError(fme.getMessage()); } }); me.printStackTrace(); } } } , new java.awt.event.ActionEvent(this, 0, "folder-new")); } }
967 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/967/6d6ba90375f9de34e58b248daf5e8c0025c1433b/StoreNode.java/clean/src/net/suberic/pooka/gui/StoreNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 394, 3899, 1435, 288, 565, 514, 883, 273, 453, 1184, 69, 18, 588, 1396, 2932, 3899, 18, 2704, 3899, 3113, 315, 16352, 19, 2640, 394, 31001, 434, 7923, 397, 315, 315, 397, 15818, 966, 7675, 588, 2257, 734, 5621, 3639, 21403, 883, 2224, 273, 394, 21403, 12, 2150, 1769, 3639, 24048, 618, 5537, 273, 394, 24048, 5621, 565, 618, 5537, 18, 542, 8107, 12, 8107, 1733, 18, 2640, 41, 88, 2049, 8107, 10663, 3639, 804, 19984, 3616, 2743, 3616, 273, 394, 804, 19984, 3616, 12, 52, 1184, 69, 18, 588, 1396, 2932, 3899, 18, 2704, 18, 6833, 18, 1925, 3113, 315, 10846, 4838, 6, 3631, 638, 1769, 565, 804, 19984, 3616, 9907, 3616, 273, 394, 804, 19984, 3616, 12, 52, 1184, 69, 18, 588, 1396, 2932, 3899, 18, 2704, 18, 16064, 18, 1925, 3113, 315, 10846, 478, 4665, 7923, 1769, 3639, 12569, 1114, 7611, 273, 394, 12569, 1114, 5621, 565, 7611, 18, 1289, 12, 6833, 3616, 1769, 565, 7611, 18, 1289, 12, 16064, 3616, 1769, 3639, 618, 5537, 18, 1289, 12, 6833, 3616, 1769, 565, 618, 5537, 18, 1289, 12, 16064, 3616, 1769, 3639, 1033, 8526, 810, 5537, 87, 273, 394, 1033, 8526, 288, 1377, 883, 2224, 16, 1377, 618, 5537, 565, 289, 31, 3639, 727, 514, 766, 273, 453, 1184, 69, 18, 588, 5370, 1733, 7675, 4500, 1210, 6353, 12, 2630, 5537, 87, 16, 453, 1184, 69, 18, 588, 1396, 2932, 3899, 18, 2704, 18, 2649, 3113, 315, 1684, 394, 12623, 7923, 1769, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 394, 3899, 1435, 288, 565, 514, 883, 273, 453, 1184, 69, 18, 588, 1396, 2932, 3899, 18, 2704, 3899, 3113, 315, 16352, 19, 2640, 394, 31001, 434, 7923, 397, 315, 315, 397, 15818, 966, 7675, 588, 2257, 734, 5621, 3639, 21403, 883, 2224, 273, 394, 21403, 12, 2150, 1769, 3639, 24048, 618, 5537, 273, 394, 24048, 5621, 565, 618, 5537, 18, 542, 8107, 12, 8107, 1733, 18, 2640, 41, 88, 2049, 8107, 10663, 3639, 804, 19984, 3616, 2743, 3616, 273, 394, 804, 19984, 3616, 12, 52, 1184, 69, 18, 588, 1396, 2932, 3899, 18, 2704, 18, 6833, 18, 1925, 3113, 315, 10846, 4838, 6, 3631, 638, 1769, 565, 804, 19984, 3616, 9907, 3616, 273, 394, 804, 2 ]
_tsB = _context.clock().now()/1000l;
_tsB = _context.clock().now()/1000l;
private void receiveInbound(ByteBuffer src) { if (_log.shouldLog(Log.DEBUG)) _log.debug(prefix()+"Receiving inbound: prev received=" + _received + " src.remaining=" + src.remaining()); while (_received < _X.length && src.hasRemaining()) { byte c = src.get(); _X[_received++] = c; //if (_log.shouldLog(Log.DEBUG)) _log.debug("recv x" + (int)c + " received=" + _received); if (_received >= _X.length) { if (isCheckInfo(_context, _context.routerHash(), _X)) { _context.statManager().addRateData("ntcp.inboundCheckConnection", 1, 0); fail("Incoming connection was a check connection"); return; } } } while (_received < _X.length + _hX_xor_bobIdentHash.length && src.hasRemaining()) { int i = _received-_X.length; _received++; byte c = src.get(); _hX_xor_bobIdentHash[i] = c; //if (_log.shouldLog(Log.DEBUG)) _log.debug("recv bih" + (int)c + " received=" + _received); } if (_received >= _X.length + _hX_xor_bobIdentHash.length) { if (_dh.getSessionKey() == null) { if (_log.shouldLog(Log.DEBUG)) _log.debug(prefix()+"Enough data for a DH received"); // first verify that Alice knows who she is trying to talk with and that the X // isn't corrupt Hash hX = _context.sha().calculateHash(_X); byte realXor[] = DataHelper.xor(hX.getData(), _context.routerHash().getData()); if (_log.shouldLog(Log.DEBUG)) { //_log.debug(prefix()+"_X = " + Base64.encode(_X)); _log.debug(prefix()+"hx = " + Base64.encode(hX.getData())); _log.debug(prefix()+"bih=" + Base64.encode(_context.routerHash().getData())); _log.debug(prefix()+"xor=" + Base64.encode(realXor)); } if (!DataHelper.eq(realXor, _hX_xor_bobIdentHash)) { _context.statManager().addRateData("ntcp.invalidHXxorBIH", 1, 0); fail("Invalid hX_xor"); return; } try { // ok, they're actually trying to talk to us, and we got their (unauthenticated) X _dh.setPeerPublicValue(_X); _dh.getSessionKey(); // force the calc System.arraycopy(realXor, 16, _prevEncrypted, 0, _prevEncrypted.length); if (_log.shouldLog(Log.DEBUG)) _log.debug(prefix()+"DH session key calculated (" + _dh.getSessionKey().toBase64() + ")"); // now prepare our response: Y+E(H(X+Y)+tsB+padding, sk, Y[239:255]) _Y = _dh.getMyPublicValueBytes(); byte xy[] = new byte[_X.length+_Y.length]; System.arraycopy(_X, 0, xy, 0, _X.length); System.arraycopy(_Y, 0, xy, _X.length, _Y.length); Hash hxy = _context.sha().calculateHash(xy); _tsB = _context.clock().now()/1000l; byte padding[] = new byte[12]; // the encrypted data needs an extra 12 bytes _context.random().nextBytes(padding); byte toEncrypt[] = new byte[hxy.getData().length+4+padding.length]; System.arraycopy(hxy.getData(), 0, toEncrypt, 0, hxy.getData().length); byte tsB[] = DataHelper.toLong(4, _tsB); System.arraycopy(tsB, 0, toEncrypt, hxy.getData().length, tsB.length); //DataHelper.toLong(toEncrypt, hxy.getData().length, 4, _tsB); System.arraycopy(padding, 0,toEncrypt, hxy.getData().length+4, padding.length); if (_log.shouldLog(Log.DEBUG)) { //_log.debug(prefix()+"Y="+Base64.encode(_Y)); //_log.debug(prefix()+"x+y="+Base64.encode(xy)); _log.debug(prefix()+"h(x+y)="+Base64.encode(hxy.getData())); _log.debug(prefix()+"tsb="+Base64.encode(tsB)); _log.debug(prefix()+"unencrypted H(X+Y)+tsB+padding: " + Base64.encode(toEncrypt)); _log.debug(prefix()+"encryption iv= " + Base64.encode(_Y, _Y.length-16, 16)); _log.debug(prefix()+"encryption key= " + _dh.getSessionKey().toBase64()); } _e_hXY_tsB = new byte[toEncrypt.length]; _context.aes().encrypt(toEncrypt, 0, _e_hXY_tsB, 0, _dh.getSessionKey(), _Y, _Y.length-16, toEncrypt.length); if (_log.shouldLog(Log.DEBUG)) _log.debug(prefix()+"encrypted H(X+Y)+tsB+padding: " + Base64.encode(_e_hXY_tsB)); byte write[] = new byte[_Y.length + _e_hXY_tsB.length]; System.arraycopy(_Y, 0, write, 0, _Y.length); System.arraycopy(_e_hXY_tsB, 0, write, _Y.length, _e_hXY_tsB.length); // ok, now that is prepared, we want to actually send it, so make sure we are up for writing _transport.getPumper().wantsWrite(_con, write); if (!src.hasRemaining()) return; } catch (DHSessionKeyBuilder.InvalidPublicParameterException e) { _context.statManager().addRateData("ntcp.invalidDH", 1, 0); fail("Invalid X", e); return; } } // ok, we are onto the encrypted area while (src.hasRemaining() && !_corrupt) { if (_log.shouldLog(Log.DEBUG)) _log.debug(prefix()+"Encrypted bytes available (" + src.hasRemaining() + ")"); while (_curEncryptedOffset < _curEncrypted.length && src.hasRemaining()) { _curEncrypted[_curEncryptedOffset++] = src.get(); _received++; } if (_curEncryptedOffset >= _curEncrypted.length) { _context.aes().decrypt(_curEncrypted, 0, _curDecrypted, 0, _dh.getSessionKey(), _prevEncrypted, 0, _curEncrypted.length); //if (_log.shouldLog(Log.DEBUG)) // _log.debug(prefix()+"full block read and decrypted: " + Base64.encode(_curDecrypted)); byte swap[] = new byte[16]; _prevEncrypted = _curEncrypted; _curEncrypted = swap; _curEncryptedOffset = 0; if (_aliceIdentSize <= 0) { // we are on the first decrypted block _aliceIdentSize = (int)DataHelper.fromLong(_curDecrypted, 0, 2); _sz_aliceIdent_tsA_padding_aliceSigSize = 2 + _aliceIdentSize + 4 + Signature.SIGNATURE_BYTES; int rem = (_sz_aliceIdent_tsA_padding_aliceSigSize % 16); int padding = 0; if (rem > 0) padding = 16-rem; _sz_aliceIdent_tsA_padding_aliceSigSize += padding; try { _sz_aliceIdent_tsA_padding_aliceSig.write(_curDecrypted); } catch (IOException ioe) { if (_log.shouldLog(Log.ERROR)) _log.error(prefix()+"Error writing to the baos?", ioe); } if (_log.shouldLog(Log.DEBUG)) _log.debug(prefix()+"alice ident size decrypted as " + _aliceIdentSize + ", making the padding at " + padding + " and total size at " + _sz_aliceIdent_tsA_padding_aliceSigSize); } else { // subsequent block... try { _sz_aliceIdent_tsA_padding_aliceSig.write(_curDecrypted); } catch (IOException ioe) { if (_log.shouldLog(Log.ERROR)) _log.error(prefix()+"Error writing to the baos?", ioe); } if (_log.shouldLog(Log.DEBUG)) _log.debug(prefix()+"subsequent block decrypted (" + _sz_aliceIdent_tsA_padding_aliceSig.size() + ")"); if (_sz_aliceIdent_tsA_padding_aliceSig.size() >= _sz_aliceIdent_tsA_padding_aliceSigSize) { verifyInbound(); if (!_corrupt && _verified && src.hasRemaining()) prepareExtra(src); if (_log.shouldLog(Log.DEBUG)) _log.debug(prefix()+"verifying size (sz=" + _sz_aliceIdent_tsA_padding_aliceSig.size() + " expected=" + _sz_aliceIdent_tsA_padding_aliceSigSize + " corrupt=" + _corrupt + " verified=" + _verified + " extra=" + (_extra != null ? _extra.length : 0) + ")"); return; } } } else { // no more bytes available in the buffer, and only a partial // block was read, so we can't decrypt it. if (_log.shouldLog(Log.DEBUG)) _log.debug(prefix()+"end of available data with only a partial block read (" + _curEncryptedOffset + ", " + _received + ")"); } } if (_log.shouldLog(Log.DEBUG)) _log.debug(prefix()+"done with the data, not yet complete or corrupt"); } }
27493 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27493/9325b806e4671b4df3fae20f8918aa1b707cf70c/EstablishState.java/clean/router/java/src/net/i2p/router/transport/ntcp/EstablishState.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 6798, 20571, 12, 12242, 1705, 13, 288, 3639, 309, 261, 67, 1330, 18, 13139, 1343, 12, 1343, 18, 9394, 3719, 5411, 389, 1330, 18, 4148, 12, 3239, 1435, 9078, 4779, 9288, 13357, 30, 2807, 5079, 1546, 397, 389, 15213, 397, 315, 1705, 18, 17956, 1546, 397, 1705, 18, 17956, 10663, 3639, 1323, 261, 67, 15213, 411, 389, 60, 18, 2469, 597, 1705, 18, 5332, 11429, 10756, 288, 5411, 1160, 276, 273, 1705, 18, 588, 5621, 5411, 389, 60, 63, 67, 15213, 9904, 65, 273, 276, 31, 5411, 368, 430, 261, 67, 1330, 18, 13139, 1343, 12, 1343, 18, 9394, 3719, 389, 1330, 18, 4148, 2932, 18334, 619, 6, 397, 261, 474, 13, 71, 397, 315, 5079, 1546, 397, 389, 15213, 1769, 5411, 309, 261, 67, 15213, 1545, 389, 60, 18, 2469, 13, 288, 7734, 309, 261, 291, 1564, 966, 24899, 2472, 16, 389, 2472, 18, 10717, 2310, 9334, 389, 60, 3719, 288, 10792, 389, 2472, 18, 5642, 1318, 7675, 1289, 4727, 751, 2932, 496, 4057, 18, 267, 3653, 1564, 1952, 3113, 404, 16, 374, 1769, 10792, 2321, 2932, 20370, 1459, 1703, 279, 866, 1459, 8863, 10792, 327, 31, 7734, 289, 5411, 289, 3639, 289, 3639, 1323, 261, 67, 15213, 411, 389, 60, 18, 2469, 397, 389, 76, 60, 67, 31346, 67, 70, 947, 6106, 2310, 18, 2469, 597, 1705, 18, 5332, 11429, 10756, 288, 5411, 509, 277, 273, 389, 15213, 17, 67, 60, 18, 2469, 31, 5411, 389, 15213, 9904, 31, 5411, 1160, 276, 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, 6798, 20571, 12, 12242, 1705, 13, 288, 3639, 309, 261, 67, 1330, 18, 13139, 1343, 12, 1343, 18, 9394, 3719, 5411, 389, 1330, 18, 4148, 12, 3239, 1435, 9078, 4779, 9288, 13357, 30, 2807, 5079, 1546, 397, 389, 15213, 397, 315, 1705, 18, 17956, 1546, 397, 1705, 18, 17956, 10663, 3639, 1323, 261, 67, 15213, 411, 389, 60, 18, 2469, 597, 1705, 18, 5332, 11429, 10756, 288, 5411, 1160, 276, 273, 1705, 18, 588, 5621, 5411, 389, 60, 63, 67, 15213, 9904, 65, 273, 276, 31, 5411, 368, 430, 261, 67, 1330, 18, 13139, 1343, 12, 1343, 18, 9394, 3719, 389, 1330, 18, 4148, 2932, 18334, 619, 6, 397, 261, 474, 13, 71, 397, 315, 5079, 2 ]
public org.quickfix.field.UnderlyingFactor getUnderlyingFactor() throws FieldNotFound { org.quickfix.field.UnderlyingFactor value = new org.quickfix.field.UnderlyingFactor();
public quickfix.field.UnderlyingFactor getUnderlyingFactor() throws FieldNotFound { quickfix.field.UnderlyingFactor value = new quickfix.field.UnderlyingFactor();
public org.quickfix.field.UnderlyingFactor getUnderlyingFactor() throws FieldNotFound { org.quickfix.field.UnderlyingFactor value = new org.quickfix.field.UnderlyingFactor(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/SecurityStatus.java/clean/src/java/src/quickfix/fix44/SecurityStatus.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 6837, 10833, 765, 6291, 6837, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 6837, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 6837, 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, 14655, 6291, 6837, 10833, 765, 6291, 6837, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 6837, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 6837, 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 ]
return !TypeConversionUtil.isPrimitiveAndNotNull(lhsType) && !TypeConversionUtil.isPrimitiveAndNotNull(rhsType);
if (TypeConversionUtil.isPrimitiveAndNotNull(lhsType) || TypeConversionUtil.isPrimitiveAndNotNull(rhsType)) { return false; } return !ErrorUtil.containsError(element);
public boolean satisfiedBy(PsiElement element){ if(!(element instanceof PsiBinaryExpression)){ return false; } if(ErrorUtil.containsError(element)){ return false; } final PsiBinaryExpression expression = (PsiBinaryExpression) element; final PsiJavaToken sign = expression.getOperationSign(); final IElementType tokenType = sign.getTokenType(); if(!tokenType.equals(JavaTokenType.NE) && !tokenType.equals(JavaTokenType.EQEQ)){ return false; } final PsiExpression lhs = expression.getLOperand(); final String lhsText = lhs.getText(); if (PsiKeyword.NULL.equals(lhsText)) { return false; } final PsiType lhsType = lhs.getType(); if(lhsType == null){ return false; } final PsiExpression rhs = expression.getROperand(); if(rhs == null){ return false; } final String rhsText = rhs.getText(); if (PsiKeyword.NULL.equals(rhsText)) { return false; } final PsiType rhsType = rhs.getType(); if(rhsType == null){ return false; } return !TypeConversionUtil.isPrimitiveAndNotNull(lhsType) && !TypeConversionUtil.isPrimitiveAndNotNull(rhsType); }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/98ab5a6985e6da9d25cae3a37d988edab0f3fd62/ObjectEqualityPredicate.java/clean/plugins/IntentionPowerPak/src/com/siyeh/ipp/equality/ObjectEqualityPredicate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 18958, 858, 12, 52, 7722, 1046, 930, 15329, 3639, 309, 12, 5, 12, 2956, 1276, 453, 7722, 5905, 2300, 3719, 95, 5411, 327, 629, 31, 3639, 289, 3639, 309, 12, 668, 1304, 18, 12298, 668, 12, 2956, 3719, 95, 5411, 327, 629, 31, 3639, 289, 3639, 727, 453, 7722, 5905, 2300, 2652, 273, 261, 52, 7722, 5905, 2300, 13, 930, 31, 3639, 727, 453, 7722, 5852, 1345, 1573, 273, 2652, 18, 588, 2988, 2766, 5621, 3639, 727, 467, 17481, 22302, 273, 1573, 18, 588, 28675, 5621, 3639, 309, 12, 5, 2316, 559, 18, 14963, 12, 5852, 28675, 18, 5407, 13, 597, 7734, 401, 2316, 559, 18, 14963, 12, 5852, 28675, 18, 27247, 27247, 3719, 95, 5411, 327, 629, 31, 3639, 289, 3639, 727, 453, 7722, 2300, 8499, 273, 2652, 18, 588, 1502, 457, 464, 5621, 202, 565, 727, 514, 8499, 1528, 273, 8499, 18, 588, 1528, 5621, 202, 565, 309, 261, 52, 7722, 8736, 18, 8560, 18, 14963, 12, 80, 4487, 1528, 3719, 288, 1082, 565, 327, 629, 31, 202, 565, 289, 3639, 727, 453, 7722, 559, 8499, 559, 273, 8499, 18, 588, 559, 5621, 3639, 309, 12, 80, 4487, 559, 422, 446, 15329, 5411, 327, 629, 31, 3639, 289, 3639, 727, 453, 7722, 2300, 7711, 273, 2652, 18, 588, 1457, 457, 464, 5621, 3639, 309, 12, 86, 4487, 422, 446, 15329, 5411, 327, 629, 31, 3639, 289, 202, 565, 727, 514, 7711, 1528, 273, 7711, 18, 588, 1528, 5621, 202, 565, 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, 1250, 18958, 858, 12, 52, 7722, 1046, 930, 15329, 3639, 309, 12, 5, 12, 2956, 1276, 453, 7722, 5905, 2300, 3719, 95, 5411, 327, 629, 31, 3639, 289, 3639, 309, 12, 668, 1304, 18, 12298, 668, 12, 2956, 3719, 95, 5411, 327, 629, 31, 3639, 289, 3639, 727, 453, 7722, 5905, 2300, 2652, 273, 261, 52, 7722, 5905, 2300, 13, 930, 31, 3639, 727, 453, 7722, 5852, 1345, 1573, 273, 2652, 18, 588, 2988, 2766, 5621, 3639, 727, 467, 17481, 22302, 273, 1573, 18, 588, 28675, 5621, 3639, 309, 12, 5, 2316, 559, 18, 14963, 12, 5852, 28675, 18, 5407, 13, 597, 7734, 401, 2316, 559, 18, 14963, 12, 5852, 28675, 18, 27247, 27247, 3719, 95, 5411, 2 ]
IPersistentStudentCurricularPlan studentCurricularPlanDAO = sp .getIStudentCurricularPlanPersistente();
List studentCurricularPlanList = studentCurricularPlanDAO .readByDegreeCurricularPlan(executionDegree.getDegreeCurricularPlan());
public void run(String year) throws FenixServiceException { try { ISuportePersistente sp = PersistenceSupportFactory.getDefaultPersistenceSupport(); IExecutionYear executionYear = null; if (year == null || year.equals("")) { executionYear = sp.getIPersistentExecutionYear().readCurrentExecutionYear(); } else { executionYear = sp.getIPersistentExecutionYear().readExecutionYearByName(year); } IPersistentGratuityValues gratuityValuesDAO = sp.getIPersistentGratuityValues(); IPersistentStudentCurricularPlan studentCurricularPlanDAO = sp .getIStudentCurricularPlanPersistente(); IPersistentGratuitySituation gratuitySituationDAO = sp.getIPersistentGratuitySituation(); // read master degree and specialization execution degrees List executionDegreeList = sp.getIPersistentExecutionDegree() .readByExecutionYearAndDegreeType(executionYear.getYear(), DegreeType.MASTER_DEGREE); for (Iterator iter = executionDegreeList.iterator(); iter.hasNext();) { IExecutionDegree executionDegree = (IExecutionDegree) iter.next(); IGratuityValues gratuityValues = gratuityValuesDAO .readGratuityValuesByExecutionDegree(executionDegree.getIdInternal()); if (gratuityValues == null) { continue; } List studentCurricularPlanList = studentCurricularPlanDAO .readByDegreeCurricularPlan(executionDegree.getDegreeCurricularPlan()); for (Iterator iterator = studentCurricularPlanList.iterator(); iterator.hasNext();) { IStudentCurricularPlan studentCurricularPlan = (IStudentCurricularPlan) iterator .next(); IGratuitySituation gratuitySituation = gratuitySituationDAO .readGratuitySituatuionByStudentCurricularPlanAndGratuityValues( studentCurricularPlan.getIdInternal(), gratuityValues.getIdInternal()); if (gratuitySituation == null) { createGratuitySituation(executionYear, gratuityValues, studentCurricularPlan, gratuitySituationDAO); } else { updateGratuitySituation(executionYear, gratuityValues, gratuitySituation, studentCurricularPlan, gratuitySituationDAO); } } } } catch (ExcepcaoPersistencia ex) { FenixServiceException newEx = new FenixServiceException("Persistence layer error"); newEx.fillInStackTrace(); throw newEx; } }
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/231314cd2dd7afdf9ab64f3ccdbe1775a77d7d43/CreateGratuitySituationsForCurrentExecutionYear.java/buggy/src/net/sourceforge/fenixedu/applicationTier/Servico/masterDegree/administrativeOffice/gratuity/CreateGratuitySituationsForCurrentExecutionYear.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 12, 780, 3286, 13, 1216, 478, 275, 697, 15133, 288, 3639, 775, 288, 5411, 467, 3088, 499, 73, 11906, 73, 1694, 273, 13381, 6289, 1733, 18, 588, 1868, 13182, 6289, 5621, 5411, 467, 3210, 5593, 4588, 5593, 273, 446, 31, 5411, 309, 261, 6874, 422, 446, 747, 3286, 18, 14963, 2932, 6, 3719, 288, 7734, 4588, 5593, 273, 1694, 18, 588, 2579, 6572, 3210, 5593, 7675, 896, 3935, 3210, 5593, 5621, 5411, 289, 469, 288, 7734, 4588, 5593, 273, 1694, 18, 588, 2579, 6572, 3210, 5593, 7675, 896, 3210, 5593, 5911, 12, 6874, 1769, 5411, 289, 5411, 2971, 6572, 43, 17048, 89, 560, 1972, 3821, 270, 89, 560, 1972, 18485, 273, 1694, 18, 588, 2579, 6572, 43, 17048, 89, 560, 1972, 5621, 5411, 2971, 6572, 19943, 319, 2408, 1512, 2490, 5365, 18110, 2408, 1512, 2490, 5365, 18485, 273, 1694, 10792, 263, 588, 45, 19943, 319, 2408, 1512, 2490, 5365, 11906, 73, 5621, 5411, 2971, 6572, 43, 17048, 89, 560, 55, 305, 11407, 3821, 270, 89, 560, 55, 305, 11407, 18485, 273, 1694, 18, 588, 2579, 6572, 43, 17048, 89, 560, 55, 305, 11407, 5621, 5411, 368, 855, 4171, 10782, 471, 4582, 1588, 4588, 10904, 5411, 987, 4588, 22885, 682, 273, 1694, 18, 588, 2579, 6572, 3210, 22885, 1435, 10792, 263, 896, 858, 3210, 5593, 1876, 22885, 559, 12, 16414, 5593, 18, 588, 5593, 9334, 463, 1332, 992, 559, 18, 28045, 67, 1639, 43, 9719, 1769, 5411, 364, 261, 3198, 1400, 273, 4588, 22885, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 12, 780, 3286, 13, 1216, 478, 275, 697, 15133, 288, 3639, 775, 288, 5411, 467, 3088, 499, 73, 11906, 73, 1694, 273, 13381, 6289, 1733, 18, 588, 1868, 13182, 6289, 5621, 5411, 467, 3210, 5593, 4588, 5593, 273, 446, 31, 5411, 309, 261, 6874, 422, 446, 747, 3286, 18, 14963, 2932, 6, 3719, 288, 7734, 4588, 5593, 273, 1694, 18, 588, 2579, 6572, 3210, 5593, 7675, 896, 3935, 3210, 5593, 5621, 5411, 289, 469, 288, 7734, 4588, 5593, 273, 1694, 18, 588, 2579, 6572, 3210, 5593, 7675, 896, 3210, 5593, 5911, 12, 6874, 1769, 5411, 289, 5411, 2971, 6572, 43, 17048, 89, 560, 1972, 3821, 270, 89, 560, 1972, 18485, 273, 1694, 18, 588, 2579, 2 ]
super(WorkbenchPlugin.PREFERENCE_PAGE_CATEGORY_SEPARATOR); }
super(WorkbenchPlugin.PREFERENCE_PAGE_CATEGORY_SEPARATOR); }
public PropertyPageManager() { super(WorkbenchPlugin.PREFERENCE_PAGE_CATEGORY_SEPARATOR); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/ddc8d69f5f04966c57092aae8ca7979809b9f845/PropertyPageManager.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/PropertyPageManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4276, 1964, 1318, 1435, 288, 3639, 2240, 12, 2421, 22144, 3773, 18, 3670, 10830, 67, 11219, 67, 24847, 67, 4550, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4276, 1964, 1318, 1435, 288, 3639, 2240, 12, 2421, 22144, 3773, 18, 3670, 10830, 67, 11219, 67, 24847, 67, 4550, 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 ]
MetaMessage1 meta2 = new MetaMessage1(new byte[] { 9, -4, 34, 18 });
byte[] bt = new byte[] { 9, -4, 34, 18 }; MetaMessage1 meta2 = new MetaMessage1(bt);
public void test_getType() throws Exception { MetaMessage meta = new MetaMessage(); assertEquals(meta.getType(), 0); MetaMessage1 meta2 = new MetaMessage1(new byte[] { 9, -4, 34, 18 }); assertEquals(meta2.getType(), 252); meta.setMessage(10, new byte[] { 1, 2, 3, 4 }, 4); assertEquals(meta.getType(), 10); meta.setMessage(27, null, 0); assertEquals(meta.getType(), 27); }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/91664df1a9210d26d8f4b458f28363e644f9fadb/MetaMessageTest.java/clean/modules/sound/src/test/java/org/apache/harmony/sound/tests/javax/sound/midi/MetaMessageTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 67, 588, 559, 1435, 1216, 1185, 288, 3639, 6565, 1079, 2191, 273, 394, 6565, 1079, 5621, 3639, 1815, 8867, 12, 3901, 18, 588, 559, 9334, 374, 1769, 3639, 1160, 8526, 10921, 273, 394, 1160, 8526, 288, 2468, 16, 300, 24, 16, 13438, 16, 6549, 289, 31, 6565, 1079, 21, 2191, 22, 273, 394, 6565, 1079, 21, 12, 23602, 1769, 3639, 1815, 8867, 12, 3901, 22, 18, 588, 559, 9334, 6969, 22, 1769, 3639, 2191, 18, 542, 1079, 12, 2163, 16, 394, 1160, 8526, 288, 404, 16, 576, 16, 890, 16, 1059, 19879, 1059, 1769, 3639, 1815, 8867, 12, 3901, 18, 588, 559, 9334, 1728, 1769, 3639, 2191, 18, 542, 1079, 12, 5324, 16, 446, 16, 374, 1769, 3639, 1815, 8867, 12, 3901, 18, 588, 559, 9334, 12732, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 67, 588, 559, 1435, 1216, 1185, 288, 3639, 6565, 1079, 2191, 273, 394, 6565, 1079, 5621, 3639, 1815, 8867, 12, 3901, 18, 588, 559, 9334, 374, 1769, 3639, 1160, 8526, 10921, 273, 394, 1160, 8526, 288, 2468, 16, 300, 24, 16, 13438, 16, 6549, 289, 31, 6565, 1079, 21, 2191, 22, 273, 394, 6565, 1079, 21, 12, 23602, 1769, 3639, 1815, 8867, 12, 3901, 22, 18, 588, 559, 9334, 6969, 22, 1769, 3639, 2191, 18, 542, 1079, 12, 2163, 16, 394, 1160, 8526, 288, 404, 16, 576, 16, 890, 16, 1059, 19879, 1059, 1769, 3639, 1815, 8867, 12, 3901, 18, 588, 559, 9334, 1728, 1769, 3639, 2191, 18, 542, 1079, 12, 5324, 16, 446, 16, 2 ]
if ((flags & 0x20) != 0) { final int nameLen = in.read(); bytesRead += 1; final String colName = in.readString(nameLen); bytesRead += (tdsVersion >= Driver.TDS70) ? nameLen * 2 : nameLen; col.realName = colName; }
if ((flags & 0x20) != 0) { final int nameLen = in.read(); bytesRead += 1; final String colName = in.readString(nameLen); bytesRead += (tdsVersion >= Driver.TDS70) ? nameLen * 2 : nameLen; col.realName = colName;
private void tdsColumnInfoToken() throws IOException, ProtocolException { final int pktLen = in.readShort(); int bytesRead = 0; int columnIndex = 0; // In some cases (e.g. if the user calls 'CREATE CURSOR', the // TDS_TABNAME packet seems to be missing. Weird. if (tables == null) { in.skip(pktLen); } else { while (bytesRead < pktLen) { // Seems like all columns are always returned in the COL_INFO // packet and there might be more than 255 columns, so we'll // just increment a counter instead. // Ignore the column index. in.read(); if (columnIndex >= columns.length) { throw new ProtocolException("Column index " + (columnIndex + 1) + " invalid in TDS_COLINFO packet"); } ColInfo col = columns[columnIndex++]; int tableIndex = in.read(); if (tableIndex > tables.length) { throw new ProtocolException("Table index " + tableIndex + " invalid in TDS_COLINFO packet"); } byte flags = (byte)in.read(); // flags bytesRead += 3; if (tableIndex != 0) { TableMetaData table = tables[tableIndex-1]; col.catalog = table.catalog; col.schema = table.schema; col.tableName = table.name; } col.isKey = (flags & 0x08) != 0; col.isHidden = (flags & 0x10) != 0; // If bit 5 is set, we have a column name if ((flags & 0x20) != 0) { final int nameLen = in.read(); bytesRead += 1; final String colName = in.readString(nameLen); bytesRead += (tdsVersion >= Driver.TDS70) ? nameLen * 2 : nameLen; col.realName = colName; } } } }
5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/7893e29b1dfbaa54c3aca50eb3ef78a727cc6427/TdsCore.java/clean/src/main/net/sourceforge/jtds/jdbc/TdsCore.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 268, 2377, 1494, 966, 1345, 1435, 3639, 1216, 1860, 16, 4547, 503, 565, 288, 3639, 727, 509, 11536, 2891, 273, 316, 18, 896, 4897, 5621, 3639, 509, 17244, 273, 374, 31, 3639, 509, 14882, 273, 374, 31, 3639, 368, 657, 2690, 6088, 261, 73, 18, 75, 18, 309, 326, 729, 4097, 296, 9344, 4706, 55, 916, 2187, 326, 3639, 368, 399, 3948, 67, 28899, 1985, 4414, 12001, 358, 506, 3315, 18, 1660, 6909, 18, 3639, 309, 261, 9373, 422, 446, 13, 288, 5411, 316, 18, 7457, 12, 5465, 88, 2891, 1769, 3639, 289, 469, 288, 5411, 1323, 261, 3890, 1994, 411, 11536, 2891, 13, 288, 7734, 368, 3265, 7424, 3007, 777, 2168, 854, 3712, 2106, 316, 326, 5597, 67, 5923, 7734, 368, 4414, 471, 1915, 4825, 506, 1898, 2353, 4561, 2168, 16, 1427, 732, 5614, 7734, 368, 2537, 5504, 279, 3895, 3560, 18, 7734, 368, 8049, 326, 1057, 770, 18, 7734, 316, 18, 896, 5621, 7734, 309, 261, 2827, 1016, 1545, 2168, 18, 2469, 13, 288, 10792, 604, 394, 4547, 503, 2932, 1494, 770, 315, 397, 261, 2827, 1016, 397, 404, 13, 397, 4766, 5397, 315, 2057, 316, 399, 3948, 67, 4935, 5923, 4414, 8863, 7734, 289, 7734, 1558, 966, 645, 273, 2168, 63, 2827, 1016, 9904, 15533, 7734, 509, 1014, 1016, 273, 316, 18, 896, 5621, 7734, 309, 261, 2121, 1016, 405, 4606, 18, 2469, 13, 288, 10792, 604, 394, 4547, 503, 2932, 1388, 770, 315, 397, 1014, 1016, 397, 4766, 5397, 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, 377, 3238, 918, 268, 2377, 1494, 966, 1345, 1435, 3639, 1216, 1860, 16, 4547, 503, 565, 288, 3639, 727, 509, 11536, 2891, 273, 316, 18, 896, 4897, 5621, 3639, 509, 17244, 273, 374, 31, 3639, 509, 14882, 273, 374, 31, 3639, 368, 657, 2690, 6088, 261, 73, 18, 75, 18, 309, 326, 729, 4097, 296, 9344, 4706, 55, 916, 2187, 326, 3639, 368, 399, 3948, 67, 28899, 1985, 4414, 12001, 358, 506, 3315, 18, 1660, 6909, 18, 3639, 309, 261, 9373, 422, 446, 13, 288, 5411, 316, 18, 7457, 12, 5465, 88, 2891, 1769, 3639, 289, 469, 288, 5411, 1323, 261, 3890, 1994, 411, 11536, 2891, 13, 288, 7734, 368, 3265, 7424, 3007, 777, 2168, 854, 3712, 2106, 316, 2 ]
return Integer.valueOf(id); }
return Integer.valueOf(id); }
public Integer getId() { return Integer.valueOf(id); }
45373 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45373/9be6cc5ab22ce8d4b2a130072325019353adb38c/ExecutionQueueImpl.java/buggy/jacob/src/main/java/org/apache/ode/jacob/vpu/ExecutionQueueImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2144, 2634, 1435, 288, 1377, 327, 2144, 18, 1132, 951, 12, 350, 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, 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, 1071, 2144, 2634, 1435, 288, 1377, 327, 2144, 18, 1132, 951, 12, 350, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if ( callback.getNumUploads() >=
if ( HTTPUploader.getUploadCount() >=
public HTTPManager(Socket s, MessageRouter router, Acceptor acceptor, ActivityCallback callback, boolean isPush) throws IOException { _socket = s; String command=null; FileManager fm = FileManager.getFileManager(); try { //We set the timeout now so we don't block reading //connection strings. If this is a GIV connection, we //reset the timeout immediately before downloading; //otherwise, it isn't touched again. _socket.setSoTimeout(SettingsManager.instance().getTimeout()); _istream = _socket.getInputStream(); _br = new ByteReader(_istream); command = _br.readLine(); /* read in the first line */ if (command==null) throw new IOException(); } catch (IOException e) { /* if there is a problem reading */ throw e; /* must alert the appropriate */ } /* person */ //All IndexOutOfBoundsException and NumberFormatExceptions //are handled below. (They are converted to IOException.) try { if (!isPush) { //Expect "GET /get/0/sample.txt HTTP/1.0" /* I need to get the filename */ String parse[] = HTTPUtil.stringSplit(command, '/'); /* and the index, but i'm */ /* upset this is way hackey */ if (parse.length!=4) throw new IOException(); if (!parse[0].equals("get")) throw new IOException(); _filename = parse[2].substring(0, parse[2].lastIndexOf("HTTP")-1); _index = java.lang.Integer.parseInt(parse[1]); /* is there a better way? */ readRange(); // Prevent excess uploads from starting if ( callback.getNumUploads() >= SettingsManager.instance().getMaxUploads() ) { HTTPUploader.doLimitReached(s); return; } HTTPUploader uploader; uploader = new HTTPUploader(s, _filename, _index, callback, _uploadBegin, _uploadEnd); Thread.currentThread().setName("HTTPUploader (normal)"); uploader.run(); //Ok, since we've already spawned a thread. } else /* isPush */ { //Expect "GIV 0:BC1F6870696111D4A74D0001031AE043/sample.txt\n\n" String next=_br.readLine(); if (next==null || (! next.equals(""))) { throw new IOException(); } //1. Extract file index. IndexOutOfBoundsException // or NumberFormatExceptions will be thrown here if there's // a problem. They're caught below. int i=command.indexOf(":"); _index=Integer.parseInt(command.substring(0,i)); //2. Extract clientID. This can throw // IndexOutOfBoundsException or // IllegalArgumentException, which is caught below. int j=command.indexOf("/", i); byte[] guid=GUID.fromHexString(command.substring(i+1,j)); //3. Extract file name. This can throw // IndexOutOfBoundsException. _filename=command.substring(j+1); //Constructor to HTTPUploader checks that we can accept the //file. HTTPDownloader downloader; downloader = new HTTPDownloader(s, _filename, _index, guid, router, acceptor, callback); Thread.currentThread().setName("HTTPDownload (push)"); downloader.run(); //Ok, since we've already spawned a thread. } } catch (IndexOutOfBoundsException e) { throw new IOException(); } catch (NumberFormatException e) { throw new IOException(); } catch (IllegalArgumentException e) { throw new IOException(); } catch (IllegalAccessException e) { //We never requested the specified file! throw new IOException(); } }
5134 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5134/52bc2591850f9354aae3ea295a1a73ba066eeda2/HTTPManager.java/clean/components/gnutella-core/src/main/java/com/limegroup/gnutella/HTTPManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2239, 1318, 12, 4534, 272, 16, 2350, 8259, 4633, 16, 8662, 280, 2791, 280, 16, 15604, 9621, 2428, 1348, 16, 1250, 353, 7621, 13, 5411, 1216, 1860, 288, 3639, 389, 7814, 273, 272, 31, 3639, 514, 1296, 33, 2011, 31, 3639, 1387, 1318, 10940, 273, 1387, 1318, 18, 29925, 1318, 5621, 3639, 775, 288, 5411, 368, 3218, 444, 326, 2021, 2037, 1427, 732, 2727, 1404, 1203, 6453, 5411, 368, 4071, 2064, 18, 225, 971, 333, 353, 279, 611, 8188, 1459, 16, 732, 5411, 368, 6208, 326, 2021, 7636, 1865, 23742, 31, 5411, 368, 29778, 16, 518, 5177, 1404, 358, 19370, 3382, 18, 5411, 389, 7814, 18, 542, 10225, 2694, 12, 2628, 1318, 18, 1336, 7675, 588, 2694, 10663, 5411, 389, 376, 793, 273, 389, 7814, 18, 588, 4348, 5621, 5411, 389, 2848, 273, 394, 3506, 2514, 24899, 376, 793, 1769, 5411, 1296, 273, 389, 2848, 18, 896, 1670, 5621, 282, 1748, 855, 316, 326, 1122, 980, 1195, 5411, 309, 261, 3076, 631, 2011, 13, 5411, 604, 394, 1860, 5621, 3639, 289, 3639, 1044, 261, 14106, 425, 13, 288, 1850, 1748, 309, 1915, 353, 279, 6199, 6453, 1195, 5411, 604, 425, 31, 5397, 1748, 1297, 6881, 326, 5505, 1195, 3639, 289, 27573, 1748, 6175, 1195, 3639, 368, 1595, 17768, 471, 12100, 87, 3639, 368, 834, 7681, 5712, 18, 261, 1315, 402, 854, 5970, 358, 1860, 12998, 3639, 775, 288, 5411, 309, 16051, 291, 7621, 13, 288, 7734, 368, 11988, 315, 3264, 342, 588, 19, 20, 19, 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, 2239, 1318, 12, 4534, 272, 16, 2350, 8259, 4633, 16, 8662, 280, 2791, 280, 16, 15604, 9621, 2428, 1348, 16, 1250, 353, 7621, 13, 5411, 1216, 1860, 288, 3639, 389, 7814, 273, 272, 31, 3639, 514, 1296, 33, 2011, 31, 3639, 1387, 1318, 10940, 273, 1387, 1318, 18, 29925, 1318, 5621, 3639, 775, 288, 5411, 368, 3218, 444, 326, 2021, 2037, 1427, 732, 2727, 1404, 1203, 6453, 5411, 368, 4071, 2064, 18, 225, 971, 333, 353, 279, 611, 8188, 1459, 16, 732, 5411, 368, 6208, 326, 2021, 7636, 1865, 23742, 31, 5411, 368, 29778, 16, 518, 5177, 1404, 358, 19370, 3382, 18, 5411, 389, 7814, 18, 542, 10225, 2694, 12, 2628, 1318, 18, 1336, 7675, 588, 2694, 2 ]
LoadXMLAction(JFrame aParent, EventDetailSink eventSink) { mParent = aParent; mHandler = new XMLFileHandler(eventSink); }
LoadXMLAction(JFrame aParent, EventDetailSink eventSink) { mParent = aParent; mHandler = new XMLFileHandler(eventSink); }
LoadXMLAction(JFrame aParent, EventDetailSink eventSink) { mParent = aParent; mHandler = new XMLFileHandler(eventSink); }
47730 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47730/f78df64197845d2c3a2cb3fecb98416d2dbf5da2/LoadXMLAction.java/clean/src/java/org/apache/log4j/chainsaw/LoadXMLAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4444, 4201, 1803, 12, 46, 3219, 279, 3054, 16, 2587, 6109, 11326, 871, 11326, 13, 565, 288, 3639, 312, 3054, 273, 279, 3054, 31, 3639, 312, 1503, 273, 394, 3167, 28942, 12, 2575, 11326, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4444, 4201, 1803, 12, 46, 3219, 279, 3054, 16, 2587, 6109, 11326, 871, 11326, 13, 565, 288, 3639, 312, 3054, 273, 279, 3054, 31, 3639, 312, 1503, 273, 394, 3167, 28942, 12, 2575, 11326, 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 ]
lre.setStart( (Location) EcoreUtil.copy( loStart ) );
lre.setStart( LocationImpl.copyInstance( loStart ) );
public PrimitiveRenderEvent copy( ) { LineRenderEvent lre = new LineRenderEvent( source ); if ( lia != null ) { lre.setLineAttributes( (LineAttributes) EcoreUtil.copy( lia ) ); } if ( loStart != null ) { lre.setStart( (Location) EcoreUtil.copy( loStart ) ); } if ( loEnd != null ) { lre.setEnd( (Location) EcoreUtil.copy( loEnd ) ); } return lre; }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/ad38cf76f1d641ada210d2a5b0551677d4e55a71/LineRenderEvent.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/event/LineRenderEvent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 14488, 3420, 1133, 1610, 12, 262, 202, 95, 202, 202, 1670, 3420, 1133, 328, 266, 273, 394, 5377, 3420, 1133, 12, 1084, 11272, 202, 202, 430, 261, 328, 1155, 480, 446, 262, 202, 202, 95, 1082, 202, 80, 266, 18, 542, 1670, 2498, 12, 261, 1670, 2498, 13, 512, 3644, 1304, 18, 3530, 12, 328, 1155, 262, 11272, 202, 202, 97, 202, 202, 430, 261, 437, 1685, 480, 446, 262, 202, 202, 95, 1082, 202, 80, 266, 18, 542, 1685, 12, 261, 2735, 13, 512, 3644, 1304, 18, 3530, 12, 437, 1685, 262, 11272, 202, 202, 97, 202, 202, 430, 261, 437, 1638, 480, 446, 262, 202, 202, 95, 1082, 202, 80, 266, 18, 542, 1638, 12, 261, 2735, 13, 512, 3644, 1304, 18, 3530, 12, 437, 1638, 262, 11272, 202, 202, 97, 202, 202, 2463, 328, 266, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 14488, 3420, 1133, 1610, 12, 262, 202, 95, 202, 202, 1670, 3420, 1133, 328, 266, 273, 394, 5377, 3420, 1133, 12, 1084, 11272, 202, 202, 430, 261, 328, 1155, 480, 446, 262, 202, 202, 95, 1082, 202, 80, 266, 18, 542, 1670, 2498, 12, 261, 1670, 2498, 13, 512, 3644, 1304, 18, 3530, 12, 328, 1155, 262, 11272, 202, 202, 97, 202, 202, 430, 261, 437, 1685, 480, 446, 262, 202, 202, 95, 1082, 202, 80, 266, 18, 542, 1685, 12, 261, 2735, 13, 512, 3644, 1304, 18, 3530, 12, 437, 1685, 262, 11272, 202, 202, 97, 202, 202, 430, 261, 437, 1638, 480, 446, 262, 202, 202, 95, 1082, 202, 80, 266, 18, 542, 1638, 2 ]
init, primepump);
init, primepump, rawChip);
private static void processFilterTraces(Trace trace, boolean init, boolean primepump, RawChip rawChip) { //create the DRAM commands for trace input and output //this is done before we create the compute code for the filters of the //trace if (trace.getHead().getNext().isFilterTrace()) generateInputFilterDRAMCommand(trace.getHead().getNextFilter(), init, primepump); if (trace.getTail().getPrevious().isFilterTrace()) generateFilterOutputDRAMCommand(trace.getTail().getPrevFilter(), init, primepump); // iterate over the filterNodes //get the first traceNode that can be a filter TraceNode traceNode = trace.getHead().getNext(); while (traceNode != null) { SpaceTimeBackend.println("Rawify: " + traceNode); // do the appropiate code generation if (traceNode.isFilterTrace()) { FilterTraceNode filterNode = (FilterTraceNode) traceNode; assert !filterNode.isPredefined() : "Predefined filters should not appear in the trace traversal: " + trace.toString(); RawTile tile = rawChip.getTile((filterNode).getX(), (filterNode).getY()); // create the filter info class FilterInfo filterInfo = FilterInfo.getFilterInfo(filterNode); // add the dram command if this filter trace is an // endpoint... /* * if (filterInfo.isLinear()) { //assert * FilterInfo.getFilterInfo(filterNode).remaining == 0 : * //"Items remaining on buffer for init for linear filter"; * createSwitchCodeLinear(filterNode, * trace,filterInfo,init,primepump,tile,rawChip); } else { */ createCommunicationCode(filterNode, trace, filterInfo, init, primepump, filterInfo.isLinear(), tile, rawChip); // } // used for debugging, nothing more tile.addFilterTrace(init, primepump, filterNode); // this must come after createswitch code because of // compression addComputeCode(init, primepump, tile, filterInfo); } // get the next tracenode traceNode = traceNode.getNext(); } }
5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/0f205a70e06388f0f8b74114084adca7378b159e/Rawify.java/buggy/streams/src/at/dms/kjc/spacetime/Rawify.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 1207, 1586, 29773, 12, 3448, 2606, 16, 1250, 1208, 16, 1250, 17014, 84, 2801, 16, 5411, 6576, 782, 625, 1831, 782, 625, 13, 288, 3639, 368, 2640, 326, 16801, 2192, 4364, 364, 2606, 810, 471, 876, 540, 368, 2211, 353, 2731, 1865, 732, 752, 326, 3671, 981, 364, 326, 3415, 434, 326, 3639, 368, 5129, 3639, 309, 261, 5129, 18, 588, 1414, 7675, 588, 2134, 7675, 291, 1586, 3448, 10756, 5411, 2103, 1210, 1586, 6331, 2192, 2189, 12, 5129, 18, 588, 1414, 7675, 588, 2134, 1586, 9334, 5397, 1208, 16, 17014, 84, 2801, 16, 1831, 782, 625, 1769, 3639, 309, 261, 5129, 18, 588, 12363, 7675, 588, 8351, 7675, 291, 1586, 3448, 10756, 5411, 2103, 1586, 1447, 6331, 2192, 2189, 12, 5129, 18, 588, 12363, 7675, 588, 9958, 1586, 9334, 5397, 1208, 16, 17014, 84, 2801, 16, 1831, 782, 625, 1769, 3639, 368, 7401, 1879, 326, 1034, 3205, 1171, 368, 588, 326, 1122, 2606, 907, 716, 848, 506, 279, 1034, 3639, 2677, 907, 2606, 907, 273, 2606, 18, 588, 1414, 7675, 588, 2134, 5621, 3639, 1323, 261, 5129, 907, 480, 446, 13, 288, 5411, 14059, 950, 7172, 18, 8222, 2932, 4809, 1164, 30, 315, 397, 2606, 907, 1769, 5411, 368, 741, 326, 5145, 3840, 981, 9377, 5411, 309, 261, 5129, 907, 18, 291, 1586, 3448, 10756, 288, 7734, 4008, 3448, 907, 1034, 907, 273, 261, 1586, 3448, 907, 13, 2606, 907, 31, 7734, 1815, 401, 2188, 907, 18, 291, 1386, 2178, 1435, 294, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 1207, 1586, 29773, 12, 3448, 2606, 16, 1250, 1208, 16, 1250, 17014, 84, 2801, 16, 5411, 6576, 782, 625, 1831, 782, 625, 13, 288, 3639, 368, 2640, 326, 16801, 2192, 4364, 364, 2606, 810, 471, 876, 540, 368, 2211, 353, 2731, 1865, 732, 752, 326, 3671, 981, 364, 326, 3415, 434, 326, 3639, 368, 5129, 3639, 309, 261, 5129, 18, 588, 1414, 7675, 588, 2134, 7675, 291, 1586, 3448, 10756, 5411, 2103, 1210, 1586, 6331, 2192, 2189, 12, 5129, 18, 588, 1414, 7675, 588, 2134, 1586, 9334, 5397, 1208, 16, 17014, 84, 2801, 16, 1831, 782, 625, 1769, 3639, 309, 261, 5129, 18, 588, 12363, 7675, 588, 8351, 7675, 291, 1586, 3448, 10756, 5411, 2103, 2 ]
throw new SqlException(null, "[derby] " + "PrivilegedActionException:" + e.getException());
throw new SqlException(null, new MessageId (SQLState.ERROR_PRIVILEGED_ACTION), e.getException());
private static void loadProductVersionHolder() throws SqlException { try { dncProductVersionHolder__ = buildProductVersionHolder(); } catch (java.security.PrivilegedActionException e) { throw new SqlException(null, "[derby] " + "PrivilegedActionException:" + e.getException()); } catch (java.io.IOException ioe) { throw new SqlException(null, "[derby] " + "IOException:" + ioe); } }
56322 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56322/3d650b1cb0e7096b3c8b3a076a5ded716f7e1c4a/Configuration.java/buggy/java/client/org/apache/derby/client/am/Configuration.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 1262, 4133, 1444, 6064, 1435, 1216, 8855, 503, 288, 3639, 775, 288, 5411, 8800, 71, 4133, 1444, 6064, 972, 273, 1361, 4133, 1444, 6064, 5621, 3639, 289, 1044, 261, 6290, 18, 7462, 18, 18845, 1803, 503, 425, 13, 288, 5411, 604, 394, 8855, 503, 12, 2011, 16, 10792, 5158, 765, 1637, 65, 315, 397, 10792, 315, 18845, 1803, 503, 2773, 397, 10792, 425, 18, 588, 503, 10663, 3639, 289, 1044, 261, 6290, 18, 1594, 18, 14106, 10847, 13, 288, 5411, 604, 394, 8855, 503, 12, 2011, 16, 10792, 5158, 765, 1637, 65, 315, 397, 10792, 315, 14106, 2773, 397, 10792, 10847, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 1262, 4133, 1444, 6064, 1435, 1216, 8855, 503, 288, 3639, 775, 288, 5411, 8800, 71, 4133, 1444, 6064, 972, 273, 1361, 4133, 1444, 6064, 5621, 3639, 289, 1044, 261, 6290, 18, 7462, 18, 18845, 1803, 503, 425, 13, 288, 5411, 604, 394, 8855, 503, 12, 2011, 16, 10792, 5158, 765, 1637, 65, 315, 397, 10792, 315, 18845, 1803, 503, 2773, 397, 10792, 425, 18, 588, 503, 10663, 3639, 289, 1044, 261, 6290, 18, 1594, 18, 14106, 10847, 13, 288, 5411, 604, 394, 8855, 503, 12, 2011, 16, 10792, 5158, 765, 1637, 65, 315, 397, 10792, 315, 14106, 2773, 397, 10792, 10847, 1769, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
case 9:
case 8:
public IElementType advance() throws java.io.IOException { int zzInput; int zzAction; // cached fields: int zzCurrentPosL; int zzMarkedPosL; int zzEndReadL = zzEndRead; CharSequence zzBufferL = zzBuffer; char [] zzCMapL = ZZ_CMAP; int [] zzTransL = ZZ_TRANS; int [] zzRowMapL = ZZ_ROWMAP; int [] zzAttrL = ZZ_ATTRIBUTE; while (true) { zzMarkedPosL = zzMarkedPos; zzAction = -1; zzCurrentPosL = zzCurrentPos = zzStartRead = zzMarkedPosL; zzState = zzLexicalState; zzForAction: { while (true) { if (zzCurrentPosL < zzEndReadL) zzInput = zzBufferL.charAt(zzCurrentPosL++); else if (zzAtEOF) { zzInput = YYEOF; break zzForAction; } else { // store back cached positions zzCurrentPos = zzCurrentPosL; zzMarkedPos = zzMarkedPosL; boolean eof = zzRefill(); // get translated positions and possibly new buffer zzCurrentPosL = zzCurrentPos; zzMarkedPosL = zzMarkedPos; zzBufferL = zzBuffer; zzEndReadL = zzEndRead; if (eof) { zzInput = YYEOF; break zzForAction; } else { zzInput = zzBufferL.charAt(zzCurrentPosL++); } } int zzNext = zzTransL[ zzRowMapL[zzState] + zzCMapL[zzInput] ]; if (zzNext == -1) break zzForAction; zzState = zzNext; int zzAttributes = zzAttrL[zzState]; if ( (zzAttributes & 1) == 1 ) { zzAction = zzState; zzMarkedPosL = zzCurrentPosL; if ( (zzAttributes & 8) == 8 ) break zzForAction; } } } // store back cached position zzMarkedPos = zzMarkedPosL; switch (zzAction < 0 ? zzAction : ZZ_ACTION[zzAction]) { case 3: { return XmlTokenType.XML_ATTRIBUTE_VALUE_TOKEN; } case 35: break; case 11: { return XmlTokenType.XML_BAD_CHARACTER; } case 36: break; case 28: { yybegin(YYINITIAL); return XmlTokenType.XML_CDATA_END; } case 37: break; case 27: { return elTokenType2; } case 38: break; case 15: { yybegin(ATTR_VALUE_SQ); return XmlTokenType.XML_ATTRIBUTE_VALUE_START_DELIMITER; } case 39: break; case 24: { return elTokenType; } case 40: break; case 31: { return XmlTokenType.XML_DOCTYPE_PUBLIC; } case 41: break; case 30: { return XmlTokenType.XML_CHAR_ENTITY_REF; } case 42: break; case 5: { yybegin(TAG); return XmlTokenType.XML_START_TAG_START; } case 43: break; case 20: { yybegin(END_TAG); return XmlTokenType.XML_END_TAG_START; } case 44: break; case 6: { if(yystate() == YYINITIAL){ return XmlTokenType.XML_BAD_CHARACTER; } else yybegin(popState()); yypushback(yylength()); } case 45: break; case 7: { yybegin(ATTR_LIST); pushState(TAG); return XmlTokenType.XML_NAME; } case 46: break; case 21: { yybegin(YYINITIAL); return XmlTokenType.XML_EMPTY_ELEMENT_END; } case 47: break; case 22: { yybegin(YYINITIAL); return XmlTokenType.XML_PI_END; } case 48: break; case 25: { return XmlTokenType.XML_ENTITY_REF_TOKEN; } case 49: break; case 29: { yybegin(COMMENT); return XmlTokenType.XML_COMMENT_START; } case 50: break; case 33: { yybegin(CDATA); return XmlTokenType.XML_CDATA_START; } case 51: break; case 2: { return XmlTokenType.XML_COMMENT_CHARACTERS; } case 52: break; case 9: { yybegin(ATTR_LIST); pushState(PROCESSING_INSTRUCTION); return XmlTokenType.XML_NAME; } case 53: break; case 18: { yybegin(YYINITIAL); return XmlTokenType.XML_DOCTYPE_END; } case 54: break; case 14: { yybegin(ATTR_VALUE_DQ); return XmlTokenType.XML_ATTRIBUTE_VALUE_START_DELIMITER; } case 55: break; case 16: { return XmlTokenType.XML_EQ; } case 56: break; case 13: { yybegin(ATTR_LIST); yypushback(yylength()); } case 57: break; case 10: { return XmlTokenType.XML_NAME; } case 58: break; case 8: { yybegin(YYINITIAL); return XmlTokenType.XML_TAG_END; } case 59: break; case 26: { yybegin(YYINITIAL); return XmlTokenType.XML_COMMENT_END; } case 60: break; case 23: { return XmlElementType.XML_MARKUP; } case 61: break; case 12: { yybegin(ATTR); return XmlTokenType.XML_NAME; } case 62: break; case 32: { return XmlTokenType.XML_DOCTYPE_SYSTEM; } case 63: break; case 34: { yybegin(DOCTYPE); return XmlTokenType.XML_DOCTYPE_START; } case 64: break; case 17: { yybegin(ATTR_LIST); return XmlTokenType.XML_ATTRIBUTE_VALUE_END_DELIMITER; } case 65: break; case 19: { yybegin(PROCESSING_INSTRUCTION); return XmlTokenType.XML_PI_START; } case 66: break; case 4: { return XmlTokenType.XML_WHITE_SPACE; } case 67: break; case 1: { return XmlTokenType.XML_DATA_CHARACTERS; } case 68: break; default: if (zzInput == YYEOF && zzStartRead <= zzCurrentPos) { zzAtEOF = true; zzDoEOF(); return null; } else { zzScanError(ZZ_NO_MATCH); } } } }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/1876ac4a290bfeb7a4321c3232169dabd97367cf/__XmlLexer.java/clean/source/com/intellij/lexer/__XmlLexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 467, 17481, 8312, 1435, 1216, 2252, 18, 1594, 18, 14106, 288, 565, 509, 11273, 1210, 31, 565, 509, 11273, 1803, 31, 565, 368, 3472, 1466, 30, 565, 509, 11273, 3935, 1616, 48, 31, 565, 509, 11273, 21486, 1616, 48, 31, 565, 509, 11273, 1638, 1994, 48, 273, 11273, 1638, 1994, 31, 565, 9710, 11273, 1892, 48, 273, 11273, 1892, 31, 565, 1149, 5378, 11273, 39, 863, 48, 273, 2285, 62, 67, 39, 8352, 31, 565, 509, 5378, 11273, 1429, 48, 273, 2285, 62, 67, 16596, 31, 565, 509, 5378, 11273, 1999, 863, 48, 273, 2285, 62, 67, 11226, 8352, 31, 565, 509, 5378, 11273, 3843, 48, 273, 2285, 62, 67, 11616, 31, 565, 1323, 261, 3767, 13, 288, 1377, 11273, 21486, 1616, 48, 273, 11273, 21486, 1616, 31, 1377, 11273, 1803, 273, 300, 21, 31, 1377, 11273, 3935, 1616, 48, 273, 11273, 3935, 1616, 273, 11273, 1685, 1994, 273, 11273, 21486, 1616, 48, 31, 1377, 11273, 1119, 273, 11273, 14756, 1706, 1119, 31, 1377, 11273, 1290, 1803, 30, 288, 3639, 1323, 261, 3767, 13, 288, 1850, 309, 261, 6378, 3935, 1616, 48, 411, 11273, 1638, 1994, 48, 13, 5411, 11273, 1210, 273, 11273, 1892, 48, 18, 3001, 861, 12, 6378, 3935, 1616, 48, 9904, 1769, 1850, 469, 309, 261, 6378, 861, 12706, 13, 288, 5411, 11273, 1210, 273, 1624, 61, 12706, 31, 5411, 898, 11273, 1290, 1803, 31, 1850, 289, 1850, 469, 288, 5411, 368, 1707, 1473, 3472, 6865, 5411, 11273, 3935, 1616, 225, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 467, 17481, 8312, 1435, 1216, 2252, 18, 1594, 18, 14106, 288, 565, 509, 11273, 1210, 31, 565, 509, 11273, 1803, 31, 565, 368, 3472, 1466, 30, 565, 509, 11273, 3935, 1616, 48, 31, 565, 509, 11273, 21486, 1616, 48, 31, 565, 509, 11273, 1638, 1994, 48, 273, 11273, 1638, 1994, 31, 565, 9710, 11273, 1892, 48, 273, 11273, 1892, 31, 565, 1149, 5378, 11273, 39, 863, 48, 273, 2285, 62, 67, 39, 8352, 31, 565, 509, 5378, 11273, 1429, 48, 273, 2285, 62, 67, 16596, 31, 565, 509, 5378, 11273, 1999, 863, 48, 273, 2285, 62, 67, 11226, 8352, 31, 565, 509, 5378, 11273, 3843, 48, 273, 2285, 62, 67, 11616, 31, 565, 1323, 261, 3767, 13, 2 ]
throw new ComplexTypeRecoverableError("derivation-ok-restriction",
throw new ComplexTypeRecoverableError("derivation-ok-restriction",
private void traverseComplexContent(Element complexContentElement, XSComplexTypeDecl typeInfo, boolean mixedOnType, XSDocumentInfo schemaDoc, SchemaGrammar grammar) throws ComplexTypeRecoverableError { String typeName = typeInfo.fName; Object[] attrValues = fAttrChecker.checkAttributes(complexContentElement, false, schemaDoc); // ----------------------------------------------------------------------- // Determine if this is mixed content // ----------------------------------------------------------------------- boolean mixedContent = mixedOnType; Boolean mixedAtt = (Boolean) attrValues[XSAttributeChecker.ATTIDX_MIXED]; if (mixedAtt != null) { mixedContent = mixedAtt.booleanValue(); } // ----------------------------------------------------------------------- // Since the type must have complex content, set the simple type validators // to null // ----------------------------------------------------------------------- typeInfo.fDatatypeValidator = null; Element complexContent = checkContent(DOMUtil.getFirstChildElement(complexContentElement), attrValues, schemaDoc); fAttrChecker.returnAttrArray(attrValues, schemaDoc); // If there are no children, return if (complexContent==null) { throw new ComplexTypeRecoverableError(); } // ----------------------------------------------------------------------- // The content should be either "restriction" or "extension" // ----------------------------------------------------------------------- String complexContentName = DOMUtil.getLocalName(complexContent); if (complexContentName.equals(SchemaSymbols.ELT_RESTRICTION)) typeInfo.fDerivedBy = SchemaSymbols.RESTRICTION; else if (complexContentName.equals(SchemaSymbols.ELT_EXTENSION)) typeInfo.fDerivedBy = SchemaSymbols.EXTENSION; else { // REVISIT - should create a msg in properties file reportGenericSchemaError("ComplexType " + typeName + ": " + "Child of complexContent must be restriction or extension"); throw new ComplexTypeRecoverableError(); } if (DOMUtil.getNextSiblingElement(complexContent) != null) { // REVISIT - should create a msg in properties file reportGenericSchemaError("ComplexType " + typeName + ": " + "Invalid child of complexContent"); throw new ComplexTypeRecoverableError(); } attrValues = fAttrChecker.checkAttributes(complexContent, false, schemaDoc); QName baseTypeName = (QName) attrValues[XSAttributeChecker.ATTIDX_BASE]; fAttrChecker.returnAttrArray(attrValues, schemaDoc); // ----------------------------------------------------------------------- // Need a base type. Check that it's a complex type // ----------------------------------------------------------------------- if (baseTypeName==null) { // REVISIT - should create a msg in properties file reportGenericSchemaError("ComplexType " + typeName + ": " + "The base attribute must be specified for the restriction or extension"); throw new ComplexTypeRecoverableError(); } XSTypeDecl type = (XSTypeDecl)fSchemaHandler.getGlobalDecl(schemaDoc, XSDHandler.TYPEDECL_TYPE, baseTypeName); if (type==null) throw new ComplexTypeRecoverableError(); if (! (type instanceof XSComplexTypeDecl)) { // REVISIT - should create a msg in properties file reportGenericSchemaError("ComplexType " + typeName + ": " + "The base type must be complex"); throw new ComplexTypeRecoverableError(); } XSComplexTypeDecl baseType = (XSComplexTypeDecl)type; typeInfo.fBaseType = baseType; // ----------------------------------------------------------------------- // Check that the base permits the derivation // ----------------------------------------------------------------------- if ((baseType.fFinal & typeInfo.fDerivedBy)!=0) { //REVISIT - generate error reportGenericSchemaError("ComplexType " + typeName + ": " + "The base type has a final value that prohibits this derivation"); throw new ComplexTypeRecoverableError(); } // ----------------------------------------------------------------------- // Skip over any potential annotations // ----------------------------------------------------------------------- complexContent = checkContent(DOMUtil.getFirstChildElement(complexContent), null, schemaDoc); // ----------------------------------------------------------------------- // Process the content. Note: should I try to catch any complexType errors // here in order to return the attr array? // ----------------------------------------------------------------------- processComplexContent(complexContent, typeInfo, mixedContent, schemaDoc, grammar); // ----------------------------------------------------------------------- // Compose the final content and attribute uses // ----------------------------------------------------------------------- XSParticleDecl baseContent = baseType.fParticle; if (typeInfo.fDerivedBy==SchemaSymbols.RESTRICTION) { // This is an RESTRICTION if (typeInfo.fParticle==null && (!(baseContent==null || baseContent.emptiable()))) { //REVISIT - need better error msg throw new ComplexTypeRecoverableError("derivation-ok-restriction", null); } if (typeInfo.fParticle!=null && baseContent==null) { //REVISIT - need better error msg throw new ComplexTypeRecoverableError("derivation-ok-restriction", null); } mergeAttributes(baseType.fAttrGrp, typeInfo.fAttrGrp, typeName, false); String error = typeInfo.fAttrGrp.validRestrictionOf(baseType.fAttrGrp); if (error != null) { reportGenericSchemaError("ComplexType " + typeName + ": " + error); throw new ComplexTypeRecoverableError(); } } else { // This is an EXTENSION // // Check if the contentType of the base is consistent with the new type // cos-ct-extends.1.4.2.2 if (baseType.fContentType != XSComplexTypeDecl.CONTENTTYPE_EMPTY) { if (((baseType.fContentType == XSComplexTypeDecl.CONTENTTYPE_ELEMENT) && mixedContent) || ((baseType.fContentType == XSComplexTypeDecl.CONTENTTYPE_MIXED) && !mixedContent)) { // REVISIT - need to add a property message reportGenericSchemaError("cos-ct-extends.1.4.2.2.2.1: The content type of the base type " + baseTypeName + " and derived type " + typeName + " must both be mixed or element-only"); throw new ComplexTypeRecoverableError(); } } // Create the particle if (typeInfo.fParticle == null) { typeInfo.fParticle = baseContent; } else if (baseContent==null) { } else { if (typeInfo.fParticle.fType == XSParticleDecl.PARTICLE_ALL || baseType.fParticle.fType == XSParticleDecl.PARTICLE_ALL) { reportGenericSchemaError("cos-all-limited.1.2: An \"all\" model group that is part of a complex type definition must constitute the entire {content type} of the definition"); throw new ComplexTypeRecoverableError(); } XSParticleDecl temp = new XSParticleDecl(); temp.fType = XSParticleDecl.PARTICLE_SEQUENCE; temp.fValue = baseContent; temp.fOtherValue = typeInfo.fParticle; typeInfo.fParticle = temp; } // Set the contentType if (mixedContent) typeInfo.fContentType = XSComplexTypeDecl.CONTENTTYPE_MIXED; else if (typeInfo.fParticle == null) typeInfo.fContentType = XSComplexTypeDecl.CONTENTTYPE_EMPTY; else typeInfo.fContentType = XSComplexTypeDecl.CONTENTTYPE_ELEMENT; mergeAttributes(baseType.fAttrGrp, typeInfo.fAttrGrp, typeName, true); } } // end of traverseComplexContent
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/7d23b0f822620b832b611e0946e73bb880886a98/XSDComplexTypeTraverser.java/clean/src/org/apache/xerces/impl/v2/XSDComplexTypeTraverser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 10080, 12795, 1350, 12, 1046, 7233, 1350, 1046, 16, 29159, 1139, 55, 12795, 559, 3456, 23112, 16, 4766, 3639, 1250, 7826, 1398, 559, 16, 1139, 55, 2519, 966, 1963, 1759, 16, 29159, 4611, 18576, 6473, 13, 4766, 282, 1216, 16060, 559, 426, 17399, 668, 288, 540, 514, 8173, 273, 23112, 18, 74, 461, 31, 4202, 1033, 8526, 1604, 1972, 273, 284, 3843, 8847, 18, 1893, 2498, 12, 14259, 1350, 1046, 16, 629, 16, 17311, 1963, 1759, 1769, 4202, 368, 24796, 4202, 368, 10229, 309, 333, 353, 7826, 913, 3639, 368, 24796, 4202, 1250, 7826, 1350, 273, 7826, 1398, 559, 31, 3639, 3411, 7826, 3075, 377, 273, 261, 5507, 13, 1604, 1972, 63, 60, 55, 1499, 8847, 18, 789, 56, 25647, 67, 7492, 60, 2056, 15533, 4202, 309, 261, 19562, 3075, 480, 446, 13, 288, 540, 7826, 1350, 273, 7826, 3075, 18, 6494, 620, 5621, 4202, 289, 4202, 368, 24796, 4202, 368, 7897, 326, 618, 1297, 1240, 7233, 913, 16, 444, 326, 4143, 618, 11632, 4202, 368, 358, 446, 4202, 368, 24796, 4202, 23112, 18, 74, 20228, 5126, 273, 446, 31, 4202, 3010, 7233, 1350, 273, 866, 1350, 12, 8168, 1304, 18, 588, 3759, 1763, 1046, 12, 14259, 1350, 1046, 3631, 1604, 1972, 16, 1963, 1759, 1769, 4202, 284, 3843, 8847, 18, 2463, 3843, 1076, 12, 1747, 1972, 16, 1963, 1759, 1769, 4202, 368, 971, 1915, 854, 1158, 2325, 16, 327, 4202, 309, 261, 14259, 1350, 631, 2011, 13, 288, 1850, 604, 394, 16060, 559, 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, 10080, 12795, 1350, 12, 1046, 7233, 1350, 1046, 16, 29159, 1139, 55, 12795, 559, 3456, 23112, 16, 4766, 3639, 1250, 7826, 1398, 559, 16, 1139, 55, 2519, 966, 1963, 1759, 16, 29159, 4611, 18576, 6473, 13, 4766, 282, 1216, 16060, 559, 426, 17399, 668, 288, 540, 514, 8173, 273, 23112, 18, 74, 461, 31, 4202, 1033, 8526, 1604, 1972, 273, 284, 3843, 8847, 18, 1893, 2498, 12, 14259, 1350, 1046, 16, 629, 16, 17311, 1963, 1759, 1769, 4202, 368, 24796, 4202, 368, 10229, 309, 333, 353, 7826, 913, 3639, 368, 24796, 4202, 1250, 7826, 1350, 273, 7826, 1398, 559, 31, 3639, 3411, 7826, 3075, 377, 273, 261, 5507, 13, 1604, 1972, 63, 60, 55, 1499, 8847, 2 ]
throw new IllegalStateException("Unabel to close stream fo DSL config file.", e);
throw new IllegalStateException("Unabel to close stream fo DSL config file. (IOException: " + e.getMessage() + ")");
public void init(IEditorSite site, IEditorInput editorInput) throws PartInitException { FileEditorInput input = (FileEditorInput)editorInput; setSite(site); setInput(editorInput); setVisibleName( input ); try { InputStream stream = input.getFile().getContents(); model = new NLGrammarModel(); model.load( new InputStreamReader(stream) ); stream.close(); } catch ( CoreException e ) { throw new IllegalStateException("Unable to load DSL configuration file.", e); } catch ( IOException e ) { throw new IllegalStateException("Unabel to close stream fo DSL config file.", e); } }
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/b7240af83d7d884bb1406c1d1374c7ed4d4e89e3/DSLEditor.java/clean/drools-ide/src/main/java/org/drools/ide/dsl/editor/DSLEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1208, 12, 45, 6946, 4956, 2834, 16, 5397, 467, 6946, 1210, 4858, 1210, 13, 1216, 6393, 2570, 503, 288, 3639, 1387, 6946, 1210, 810, 273, 261, 812, 6946, 1210, 13, 9177, 1210, 31, 3639, 444, 4956, 12, 4256, 1769, 3639, 21687, 12, 9177, 1210, 1769, 3639, 16697, 461, 12, 810, 11272, 7734, 775, 288, 5411, 5037, 1407, 273, 810, 18, 29925, 7675, 588, 6323, 5621, 5411, 938, 273, 394, 18520, 18576, 1488, 5621, 5411, 938, 18, 945, 12, 394, 15322, 12, 3256, 13, 11272, 13491, 1407, 18, 4412, 5621, 10792, 289, 1044, 261, 30015, 425, 262, 288, 5411, 604, 394, 5477, 2932, 3370, 358, 1262, 28053, 1664, 585, 1199, 16, 425, 1769, 3639, 289, 1044, 261, 1860, 425, 262, 288, 5411, 604, 394, 5477, 2932, 984, 873, 358, 1746, 1407, 18261, 28053, 642, 585, 18, 261, 14106, 30, 315, 397, 425, 18, 24906, 1435, 397, 7310, 1769, 3639, 289, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 918, 1208, 12, 45, 6946, 4956, 2834, 16, 5397, 467, 6946, 1210, 4858, 1210, 13, 1216, 6393, 2570, 503, 288, 3639, 1387, 6946, 1210, 810, 273, 261, 812, 6946, 1210, 13, 9177, 1210, 31, 3639, 444, 4956, 12, 4256, 1769, 3639, 21687, 12, 9177, 1210, 1769, 3639, 16697, 461, 12, 810, 11272, 7734, 775, 288, 5411, 5037, 1407, 273, 810, 18, 29925, 7675, 588, 6323, 5621, 5411, 938, 273, 394, 18520, 18576, 1488, 5621, 5411, 938, 18, 945, 12, 394, 15322, 12, 3256, 13, 11272, 13491, 1407, 18, 4412, 5621, 10792, 289, 1044, 261, 30015, 425, 262, 288, 5411, 604, 394, 5477, 2932, 3370, 358, 1262, 28053, 1664, 585, 1199, 16, 425, 1769, 3639, 289, 1044, 261, 2 ]
}
} /*
public void elementChanged( DesignElementHandle focus, NotificationEvent ev ) { switch ( ev.getEventType( ) ) { case NotificationEvent.CONTENT_EVENT : case NotificationEvent.STYLE_EVENT : { refresh( ); break; } case NotificationEvent.PROPERTY_EVENT : case NotificationEvent.TEMPLATE_TRANSFORM_EVENT: { refresh( ); this.markDirty( true ); break; } } }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/24637ecc70d1c09ca29010787e8a3b377b2d6876/ReportDesignEditPart.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/schematic/editparts/ReportDesignEditPart.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 930, 5033, 12, 29703, 1046, 3259, 7155, 16, 8050, 1133, 2113, 262, 202, 95, 202, 202, 9610, 261, 2113, 18, 588, 16346, 12, 262, 262, 202, 202, 95, 1082, 202, 3593, 8050, 1133, 18, 9689, 67, 10454, 294, 1082, 202, 3593, 8050, 1133, 18, 15066, 67, 10454, 294, 1082, 202, 95, 9506, 202, 9144, 12, 11272, 9506, 202, 8820, 31, 1082, 202, 97, 1082, 202, 3593, 8050, 1133, 18, 9900, 67, 10454, 294, 1082, 202, 3593, 8050, 1133, 18, 12205, 67, 16596, 4983, 67, 10454, 30, 1082, 202, 95, 9506, 202, 9144, 12, 11272, 9506, 202, 2211, 18, 3355, 10785, 12, 638, 11272, 9506, 202, 8820, 31, 1082, 202, 97, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 930, 5033, 12, 29703, 1046, 3259, 7155, 16, 8050, 1133, 2113, 262, 202, 95, 202, 202, 9610, 261, 2113, 18, 588, 16346, 12, 262, 262, 202, 202, 95, 1082, 202, 3593, 8050, 1133, 18, 9689, 67, 10454, 294, 1082, 202, 3593, 8050, 1133, 18, 15066, 67, 10454, 294, 1082, 202, 95, 9506, 202, 9144, 12, 11272, 9506, 202, 8820, 31, 1082, 202, 97, 1082, 202, 3593, 8050, 1133, 18, 9900, 67, 10454, 294, 1082, 202, 3593, 8050, 1133, 18, 12205, 67, 16596, 4983, 67, 10454, 30, 1082, 202, 95, 9506, 202, 9144, 12, 11272, 9506, 202, 2211, 18, 3355, 10785, 12, 638, 11272, 9506, 202, 8820, 31, 1082, 202, 97, 202, 202, 97, 202, 97, 2 ]
mBasicOffset = Integer.parseInt(aBasicOffset);
mBasicOffset = aBasicOffset;
public void setBasicOffset(String aBasicOffset) { mBasicOffset = Integer.parseInt(aBasicOffset); }
50482 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50482/5ab64d22cd73c5f646098ec10d866426a569d63d/IndentationCheck.java/clean/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/indentation/IndentationCheck.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 8252, 2335, 12, 780, 279, 8252, 2335, 13, 565, 288, 3639, 312, 8252, 2335, 273, 279, 8252, 2335, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 8252, 2335, 12, 780, 279, 8252, 2335, 13, 565, 288, 3639, 312, 8252, 2335, 273, 279, 8252, 2335, 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 ]
if (curr.getNodeType() != Node.ELEMENT_NODE) break;
static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); List blockList = null; FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; TextContent textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element parentElement = parent.getElement(); if (mayHaveFirstLine(parentStyle)) { //put in a marker if there is first-line styling CascadedStyle firstLine = c.css.getPseudoElementStyle(parentElement, "first-line"); if (firstLine != null) { firstLineStyle = new FirstLineStyle(firstLine); } } if (mayHaveFirstLetter(parentStyle)) { //put in a marker if there is first-letter styling CascadedStyle firstLetter = c.css.getPseudoElementStyle(parentElement, "first-letter"); if (firstLetter != null) { firstLetterStyle = new FirstLetterStyle(firstLetter); } } if (parentElement != null) { //TODO: before and after may be block! //<br/> handling should be done by :before content CascadedStyle before = c.css.getPseudoElementStyle(parentElement, "before"); if (before != null && before.hasProperty(CSSName.CONTENT)) { String content = before.propertyByName(CSSName.CONTENT).getValue().getCssText(); if (!content.equals("")) { if (textContent != null) { inlineList.add(textContent); textContent = null; } textContent = new TextContent((Element) parentElement); textContent.append(content.replaceAll("\\\\A", "\n")); inlineList.add(textContent); textContent = null; } //do not reset style here, because if this element is empty, we will not have changed context } } Node node = parentElement; if (node == null) node = ((BodyContent) parent).getNode(); NodeList children = node.getChildNodes(); //each child node can result in only one addition to content for (int i = 0; i < children.getLength(); i++) { Node curr = children.item(i); if (curr.getNodeType() == Node.TEXT_NODE) { String text = curr.getNodeValue(); if (textContent == null) textContent = new TextContent((Element) curr.getParentNode()); textContent.append(text); continue; } if (curr.getNodeType() != Node.ELEMENT_NODE) break;//must be a comment or pi or something Element elem = (Element) curr; CascadedStyle style = c.css.getCascadedStyle(elem); if (isHidden(style)) { continue;//at least for now, don't generate hidden content } //TODO: this replaced thing is Namespace-dependent if (LayoutUtil.isReplaced(c, curr)) { // u.p("adding replaced: " + curr); if (textContent != null) { inlineList.add(textContent); textContent = null; } inlineList.add(new ReplacedContent((Element) curr, style)); continue; } //TODO: check CSS-spec 9.7 for computing values for floats if (isFloated(style)) { // u.p("adding floated block: " + curr); if (textContent != null) { inlineList.add(textContent); textContent = null; } inlineList.add(new FloatedBlockContent((Element) curr, style)); continue; } if (isInlineBlock(style)) { //treat it like a replaced element if (textContent != null) { inlineList.add(textContent); textContent = null; } inlineList.add(new ReplacedContent(elem, style)); continue; } if (isBlockLevel(style)) { if (textContent != null) { inlineList.add(textContent); textContent = null; } if (blockList == null) blockList = new LinkedList(); //TODO: handle run-in here if (inlineList.size() != 0) { blockList.add(new AnonymousBlockContent(parentElement, parentStyle, inlineList)); inlineList = new LinkedList(); } blockList.add(new BlockContent((Element) curr, style)); continue; } //TODO: handle run-in content separately //TODO: how about Absolute and Fixed children? //TODO:list-items, tables, etc. //if we get here, we have inline content, need to get into it. Content inline = new InlineContent(elem, style); List childList = inline.getChildContent(c); if (isBlockContent(childList)) { //need to put current inlineList in front, with a StylePush appended if (textContent != null) { inlineList.add(textContent); textContent = null; } inlineList.add(new StylePush(style)); for (Iterator ci = childList.iterator(); ci.hasNext();) { Object o = ci.next(); if (o instanceof BlockContent) break; ci.remove();//have to take it out to avoid duplicates if (o instanceof AnonymousBlockContent) { inlineList.addAll(((AnonymousBlockContent) o).getChildContent(c)); } else { inlineList.add(o); } } if (blockList == null) blockList = new LinkedList(); //TODO: handle run-in here if (inlineList.size() != 0) { blockList.add(new AnonymousBlockContent(parentElement, parentStyle, inlineList)); inlineList = new LinkedList(); } //extract any trailing AnonymousBlock and put it in the inlineList Object last = childList.get(childList.size() - 1); if (last instanceof AnonymousBlockContent) { inlineList.addAll(((AnonymousBlockContent) last).getChildContent(c)); childList.remove(childList.size() - 1); } //add the rest of the children blockList.addAll(childList); //append StylePop inlineList.add(new StylePop()); } else { inlineList.add(new StylePush(style)); inlineList.addAll(childList); inlineList.add(new StylePop()); } } if (textContent != null) { inlineList.add(textContent); textContent = null; } if (parentElement != null) { //TODO: after may be block! CascadedStyle after = c.css.getPseudoElementStyle(parentElement, "after"); if (after != null && after.hasProperty(CSSName.CONTENT)) { String content = after.propertyByName(CSSName.CONTENT).getValue().getCssText(); if (!content.equals("")) { textContent = new TextContent((Element) parentElement); textContent.append(content.replaceAll("\\\\A", "\n")); inlineList.add(textContent); textContent = null; } } } if (blockList == null) {//this was inline content if (firstLetterStyle != null) { inlineList.add(0, firstLetterStyle); } if (firstLineStyle != null) { inlineList.add(0, firstLineStyle); } return inlineList; } else { if (inlineList.size() != 0) { blockList.add(new AnonymousBlockContent(parentElement, parentStyle, inlineList)); } if (firstLetterStyle != null) { blockList.add(0, firstLetterStyle); } if (firstLineStyle != null) { blockList.add(0, firstLineStyle); } return blockList; } }
52947 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52947/c2c5341af3eb3938df77711aeca7bb46a2332118/ContentUtil.java/buggy/src/java/org/xhtmlrenderer/layout/content/ContentUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 987, 8154, 1350, 682, 12, 1042, 276, 16, 3697, 982, 13, 288, 3639, 987, 6370, 682, 273, 394, 10688, 5621, 3639, 987, 1203, 682, 273, 446, 31, 3639, 5783, 1670, 2885, 24415, 2885, 273, 446, 31, 3639, 5783, 13938, 2885, 1122, 13938, 2885, 273, 446, 31, 3639, 3867, 1350, 16655, 273, 446, 31, 3639, 385, 3691, 2435, 2885, 982, 2885, 273, 982, 18, 588, 2885, 5621, 3639, 3010, 30363, 273, 982, 18, 21336, 5621, 3639, 309, 261, 24877, 17944, 3759, 1670, 12, 2938, 2885, 3719, 288, 5411, 368, 458, 316, 279, 5373, 309, 1915, 353, 1122, 17, 1369, 16253, 2456, 5411, 385, 3691, 2435, 2885, 24415, 273, 276, 18, 5212, 18, 588, 26716, 1046, 2885, 12, 2938, 1046, 16, 315, 3645, 17, 1369, 8863, 5411, 309, 261, 3645, 1670, 480, 446, 13, 288, 7734, 24415, 2885, 273, 394, 5783, 1670, 2885, 12, 3645, 1670, 1769, 5411, 289, 3639, 289, 3639, 309, 261, 24877, 17944, 3759, 13938, 12, 2938, 2885, 3719, 288, 5411, 368, 458, 316, 279, 5373, 309, 1915, 353, 1122, 17, 13449, 16253, 2456, 5411, 385, 3691, 2435, 2885, 1122, 13938, 273, 276, 18, 5212, 18, 588, 26716, 1046, 2885, 12, 2938, 1046, 16, 315, 3645, 17, 13449, 8863, 5411, 309, 261, 3645, 13938, 480, 446, 13, 288, 7734, 1122, 13938, 2885, 273, 394, 5783, 13938, 2885, 12, 3645, 13938, 1769, 5411, 289, 3639, 289, 3639, 309, 261, 2938, 1046, 480, 446, 13, 288, 5411, 368, 6241, 30, 1865, 471, 1839, 2026, 506, 1203, 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, 987, 8154, 1350, 682, 12, 1042, 276, 16, 3697, 982, 13, 288, 3639, 987, 6370, 682, 273, 394, 10688, 5621, 3639, 987, 1203, 682, 273, 446, 31, 3639, 5783, 1670, 2885, 24415, 2885, 273, 446, 31, 3639, 5783, 13938, 2885, 1122, 13938, 2885, 273, 446, 31, 3639, 3867, 1350, 16655, 273, 446, 31, 3639, 385, 3691, 2435, 2885, 982, 2885, 273, 982, 18, 588, 2885, 5621, 3639, 3010, 30363, 273, 982, 18, 21336, 5621, 3639, 309, 261, 24877, 17944, 3759, 1670, 12, 2938, 2885, 3719, 288, 5411, 368, 458, 316, 279, 5373, 309, 1915, 353, 1122, 17, 1369, 16253, 2456, 5411, 385, 3691, 2435, 2885, 24415, 273, 276, 18, 5212, 18, 588, 26716, 1046, 2885, 12, 2938, 2 ]
org.exist.xquery.parser.XQueryAST tmp253_AST = null; tmp253_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp253_AST); match(130);
org.exist.xquery.parser.XQueryAST tmp261_AST = null; tmp261_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp261_AST); match(136);
public final void reverseAxisSpecifier() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); org.exist.xquery.parser.XQueryAST reverseAxisSpecifier_AST = null; switch ( LA(1)) { case LITERAL_parent: { org.exist.xquery.parser.XQueryAST tmp250_AST = null; tmp250_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp250_AST); match(LITERAL_parent); reverseAxisSpecifier_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_ancestor: { org.exist.xquery.parser.XQueryAST tmp251_AST = null; tmp251_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp251_AST); match(LITERAL_ancestor); reverseAxisSpecifier_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case 129: { org.exist.xquery.parser.XQueryAST tmp252_AST = null; tmp252_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp252_AST); match(129); reverseAxisSpecifier_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case 130: { org.exist.xquery.parser.XQueryAST tmp253_AST = null; tmp253_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp253_AST); match(130); reverseAxisSpecifier_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } returnAST = reverseAxisSpecifier_AST; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/ddc6ab496ae303f007a96cb80352f3352974cbcf/XQueryParser.java/clean/src/org/exist/xquery/parser/XQueryParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 4219, 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, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 4219, 6558, 21416, 67, 9053, 273, 446, 31, 9506, 202, 9610, 261, 2928, 12, 21, 3719, 288, 202, 202, 3593, 511, 18454, 67, 2938, 30, 202, 202, 95, 1082, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 1853, 26520, 67, 9053, 273, 446, 31, 1082, 202, 5645, 26520, 67, 9053, 273, 261, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 13, 689, 1733, 18, 2640, 12, 12050, 12, 21, 10019, 1082, 202, 689, 1733, 18, 1289, 9053, 1763, 12, 2972, 9053, 16, 1853, 26520, 67, 9053, 1769, 1082, 202, 1916, 12, 23225, 67, 2938, 1769, 1082, 202, 9845, 6558, 21416, 67, 9053, 273, 261, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 13, 2972, 9053, 18, 3085, 31, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 511, 18454, 67, 28798, 30, 202, 202, 95, 1082, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 1853, 2947, 21, 67, 9053, 273, 446, 31, 1082, 202, 5645, 2947, 21, 67, 9053, 273, 261, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 13, 689, 1733, 18, 2640, 12, 12050, 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, 4219, 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, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 4219, 6558, 21416, 67, 9053, 273, 446, 31, 9506, 202, 9610, 261, 2928, 12, 21, 3719, 288, 202, 202, 3593, 511, 18454, 67, 2938, 30, 202, 202, 95, 1082, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 1853, 26520, 67, 9053, 273, 446, 31, 1082, 202, 5645, 26520, 67, 9053, 273, 261, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 13, 689, 2 ]
public int getMaxFollowers( final String aType ) { int ret = -1; List<? extends PObject> pobjList = getPObjectList(); for ( PObject pobj : pobjList ) { if ( pobj == null ) { continue; } final List<String> formulas = pobj.getNumFollowers( aType ); if ( formulas == null ) { continue; } for ( String formula : formulas ) { final int val = this.getVariableValue( formula, Constants.EMPTY_STRING, this ).intValue(); ret = Math.max( ret, val ); } } if ( ret != -1 ) {// ret += (int)getBonusValue("FOLLOWERS", aType.toUpperCase()); ret += this.getTotalBonusTo("FOLLOWERS", aType.toUpperCase()); } else { // Old way of handling this // If the character qualifies for any companion mod of this type // they can take unlimited number of them. for ( CompanionMod cMod : Globals.getCompanionMods( aType ) ) { for ( String varName : cMod.getVarMap().keySet() ) { if ( this.getVariableValue(varName, Constants.EMPTY_STRING).intValue() > 0 ) { return -1; } } for ( String key : cMod.getClassMap().keySet() ) { for ( PCClass pcClass : getClassList() ) { if ( pcClass.getKeyName().equals( key ) ) { return -1; } } } } return 0; } return ret; }
48301 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48301/376816acf8bf134fa77bd6ea5c602dbe9af9bfbd/PlayerCharacter.java/clean/code/src/java/pcgen/core/PlayerCharacter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 7288, 8328, 414, 12, 727, 514, 279, 559, 262, 202, 95, 202, 202, 474, 325, 273, 300, 21, 31, 202, 202, 682, 12880, 3231, 453, 921, 34, 293, 2603, 682, 273, 1689, 25979, 5621, 202, 202, 1884, 261, 453, 921, 293, 2603, 294, 293, 2603, 682, 262, 202, 202, 95, 1082, 202, 430, 261, 293, 2603, 422, 446, 262, 1082, 202, 95, 9506, 202, 17143, 31, 1082, 202, 97, 1082, 202, 6385, 987, 32, 780, 34, 646, 24857, 273, 293, 2603, 18, 588, 2578, 8328, 414, 12, 279, 559, 11272, 1082, 202, 430, 261, 646, 24857, 422, 446, 262, 1082, 202, 95, 9506, 202, 17143, 31, 1082, 202, 97, 1082, 202, 1884, 261, 514, 8013, 294, 646, 24857, 262, 1082, 202, 95, 9506, 202, 6385, 509, 1244, 273, 333, 18, 588, 3092, 620, 12, 8013, 16, 5245, 18, 13625, 67, 5804, 16, 333, 262, 18, 474, 620, 5621, 9506, 202, 1349, 273, 2361, 18, 1896, 12, 325, 16, 1244, 11272, 1082, 202, 97, 202, 202, 97, 202, 202, 430, 261, 325, 480, 300, 21, 262, 202, 202, 95, 759, 1082, 202, 1349, 1011, 261, 474, 13, 588, 38, 22889, 620, 2932, 29890, 11367, 3113, 279, 559, 18, 869, 8915, 10663, 1082, 202, 1349, 1011, 333, 18, 588, 5269, 38, 22889, 774, 2932, 29890, 11367, 3113, 279, 559, 18, 869, 8915, 10663, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 759, 18613, 4031, 434, 5057, 333, 1082, 202, 759, 971, 326, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 7288, 8328, 414, 12, 727, 514, 279, 559, 262, 202, 95, 202, 202, 474, 325, 273, 300, 21, 31, 202, 202, 682, 12880, 3231, 453, 921, 34, 293, 2603, 682, 273, 1689, 25979, 5621, 202, 202, 1884, 261, 453, 921, 293, 2603, 294, 293, 2603, 682, 262, 202, 202, 95, 1082, 202, 430, 261, 293, 2603, 422, 446, 262, 1082, 202, 95, 9506, 202, 17143, 31, 1082, 202, 97, 1082, 202, 6385, 987, 32, 780, 34, 646, 24857, 273, 293, 2603, 18, 588, 2578, 8328, 414, 12, 279, 559, 11272, 1082, 202, 430, 261, 646, 24857, 422, 446, 262, 1082, 202, 95, 9506, 202, 17143, 31, 1082, 202, 97, 1082, 202, 1884, 261, 514, 8013, 2 ]
temp = "";
temp = new StringBuffer();
public void tokenise(Reader reader) throws IOException { char[] nextChar = new char[1]; String temp = ""; this.state = TOKENISER_STATE_READY; this.groupLevel = 0; while(reader.read(nextChar) != -1) { if(this.state == TOKENISER_STATE_READY) { // No influence from previous characters. if(nextChar[0] == '{') { // Open a group this.rtfParser.handleOpenGroup(this.groupLevel); groupLevel++; } else if(nextChar[0] == '}') { // Close a group this.rtfParser.handleCloseGroup(this.groupLevel); groupLevel--; } else if(nextChar[0] == '\\') { this.state = TOKENISER_STATE_SLASH; temp = ""; } else { this.state = TOKENISER_STATE_IN_TEXT; temp = temp + nextChar[0]; } } else if((this.state & TOKENISER_STATE_SLASH) == TOKENISER_STATE_SLASH) { // A slash signals a control character or word or an escaped character if(nextChar[0] == '{') { this.state = TOKENISER_STATE_IN_TEXT; temp = temp + "\\{"; } else if(nextChar[0] == '}') { this.state = TOKENISER_STATE_IN_TEXT; temp = temp + "\\}"; } else if(nextChar[0] == '\\') { this.state = TOKENISER_STATE_IN_TEXT; temp = temp + "\\\\"; } else { if((this.state & TOKENISER_STATE_IN_TEXT) == TOKENISER_STATE_IN_TEXT) { // A control word or character closes previous text token this.rtfParser.handleText(temp, this.groupLevel); temp = ""; } if(nextChar[0] == '|') { this.state = TOKENISER_STATE_READY; this.rtfParser.handleCtrlCharacter("\\|", this.groupLevel); } else if(nextChar[0] == '~') { this.state = TOKENISER_STATE_READY; this.rtfParser.handleCtrlCharacter("\\~", this.groupLevel); } else if(nextChar[0] == '-') { this.state = TOKENISER_STATE_READY; this.rtfParser.handleCtrlCharacter("\\-", this.groupLevel); } else if(nextChar[0] == '_') { this.state = TOKENISER_STATE_READY; this.rtfParser.handleCtrlCharacter("\\_", this.groupLevel); } else if(nextChar[0] == ':') { this.state = TOKENISER_STATE_READY; this.rtfParser.handleCtrlCharacter("\\:", this.groupLevel); } else if(nextChar[0] == '*') { this.state = TOKENISER_STATE_READY; this.rtfParser.handleCtrlCharacter("\\*", this.groupLevel); } else { this.state = TOKENISER_STATE_IN_CTRL_WORD; temp = "\\" + nextChar[0]; } } } else if(this.state == TOKENISER_STATE_IN_CTRL_WORD) { // Control words run until a space, close or open group or another control word is found. if(nextChar[0] == '\n' || nextChar[0] == '\r') { nextChar[0] = ' '; } if(nextChar[0] == '{') { this.rtfParser.handleCtrlWord(temp, this.groupLevel); this.rtfParser.handleOpenGroup(this.groupLevel); groupLevel++; this.state = TOKENISER_STATE_READY; temp = ""; } else if(nextChar[0] == '}') { this.rtfParser.handleCtrlWord(temp, this.groupLevel); this.rtfParser.handleCloseGroup(this.groupLevel); groupLevel--; this.state = TOKENISER_STATE_READY; temp = ""; } else if(nextChar[0] == '\\') { this.rtfParser.handleCtrlWord(temp, this.groupLevel); this.state = TOKENISER_STATE_SLASH; temp = ""; } else if(nextChar[0] == ' ') { this.rtfParser.handleCtrlWord(temp, this.groupLevel); this.rtfParser.handleText(" ", this.groupLevel); this.state = TOKENISER_STATE_READY; temp = ""; } else if(nextChar[0] == ';') { this.rtfParser.handleCtrlWord(temp, this.groupLevel); this.rtfParser.handleText(";", this.groupLevel); this.state = TOKENISER_STATE_READY; temp = ""; } else { temp = temp + nextChar[0]; } } else if(this.state == TOKENISER_STATE_IN_TEXT) { // Text tokens are closed by control characters or words or open and close groups if(nextChar[0] == '{') { this.rtfParser.handleText(temp, this.groupLevel); this.rtfParser.handleOpenGroup(this.groupLevel); groupLevel++; this.state = TOKENISER_STATE_READY; temp = ""; } else if(nextChar[0] == '}') { this.rtfParser.handleText(temp, this.groupLevel); this.rtfParser.handleCloseGroup(this.groupLevel); groupLevel--; this.state = TOKENISER_STATE_READY; temp = ""; } else if(nextChar[0] == '\\') { this.state = TOKENISER_STATE_IN_TEXT | TOKENISER_STATE_SLASH; } else { temp = temp + nextChar[0]; } } } if((this.state & TOKENISER_STATE_IN_TEXT) == TOKENISER_STATE_IN_TEXT && !temp.equals("")) { // If at the end a text token was being parsed, emmit that token. Required for RTF fragments this.rtfParser.handleText(temp, this.groupLevel); } }
4174 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4174/21d5b73c5c9e7a80b42ec38147e39281791d5fc1/RtfTokeniser.java/clean/src/com/lowagie/text/rtf/direct/RtfTokeniser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1147, 784, 12, 2514, 2949, 13, 1216, 1860, 288, 202, 202, 3001, 8526, 21865, 273, 394, 1149, 63, 21, 15533, 202, 202, 780, 1906, 273, 1408, 31, 202, 202, 2211, 18, 2019, 273, 14275, 45, 2123, 67, 7998, 67, 20305, 31, 202, 202, 2211, 18, 1655, 2355, 273, 374, 31, 202, 202, 17523, 12, 10530, 18, 896, 12, 4285, 2156, 13, 480, 300, 21, 13, 288, 1082, 202, 430, 12, 2211, 18, 2019, 422, 14275, 45, 2123, 67, 7998, 67, 20305, 13, 288, 368, 2631, 13947, 23209, 628, 2416, 3949, 18, 9506, 202, 430, 12, 4285, 2156, 63, 20, 65, 422, 2292, 6134, 288, 368, 3502, 279, 1041, 6862, 202, 2211, 18, 3797, 74, 2678, 18, 4110, 3678, 1114, 12, 2211, 18, 1655, 2355, 1769, 6862, 202, 1655, 2355, 9904, 31, 9506, 202, 97, 469, 309, 12, 4285, 2156, 63, 20, 65, 422, 9571, 13, 288, 368, 3527, 279, 1041, 6862, 202, 2211, 18, 3797, 74, 2678, 18, 4110, 4605, 1114, 12, 2211, 18, 1655, 2355, 1769, 6862, 202, 1655, 2355, 413, 31, 9506, 202, 97, 469, 309, 12, 4285, 2156, 63, 20, 65, 422, 5282, 13, 288, 6862, 202, 2211, 18, 2019, 273, 14275, 45, 2123, 67, 7998, 67, 24079, 31, 6862, 202, 5814, 273, 1408, 31, 9506, 202, 97, 469, 288, 6862, 202, 2211, 18, 2019, 273, 14275, 45, 2123, 67, 7998, 67, 706, 67, 5151, 31, 6862, 202, 5814, 273, 1906, 397, 21865, 63, 20, 15533, 9506, 202, 97, 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, 918, 1147, 784, 12, 2514, 2949, 13, 1216, 1860, 288, 202, 202, 3001, 8526, 21865, 273, 394, 1149, 63, 21, 15533, 202, 202, 780, 1906, 273, 1408, 31, 202, 202, 2211, 18, 2019, 273, 14275, 45, 2123, 67, 7998, 67, 20305, 31, 202, 202, 2211, 18, 1655, 2355, 273, 374, 31, 202, 202, 17523, 12, 10530, 18, 896, 12, 4285, 2156, 13, 480, 300, 21, 13, 288, 1082, 202, 430, 12, 2211, 18, 2019, 422, 14275, 45, 2123, 67, 7998, 67, 20305, 13, 288, 368, 2631, 13947, 23209, 628, 2416, 3949, 18, 9506, 202, 430, 12, 4285, 2156, 63, 20, 65, 422, 2292, 6134, 288, 368, 3502, 279, 1041, 6862, 202, 2211, 18, 3797, 74, 2678, 2 ]
String msg = "failed to add entry " + req.getEntry();
String msg = "failed to add entry " + req.getEntry() + ": " + e.getMessage();
public void messageReceived( IoSession session, Object request ) throws Exception { AddRequest req = ( AddRequest ) request; LdapResult result = req.getResultResponse().getLdapResult(); if ( IS_DEBUG ) { log.debug( "Received a Add message : " + req.toString() ); } try { LdapContext ctx = SessionRegistry.getSingleton().getLdapContext( session, null, true ); if ( req.getControls().containsKey( ManageDsaITControl.CONTROL_OID ) ) { ctx.addToEnvironment( Context.REFERRAL, "ignore" ); } else { ctx.addToEnvironment( Context.REFERRAL, "throw" ); } ctx.setRequestControls( ( Control[] ) req.getControls().values().toArray( EMPTY_CONTROLS ) ); ctx.createSubcontext( req.getEntry(), req.getAttributes() ); } catch ( ReferralException e ) { ReferralImpl refs = new ReferralImpl(); result.setReferral( refs ); result.setResultCode( ResultCodeEnum.REFERRAL ); result.setErrorMessage( "Encountered referral attempting to handle add request." ); /* coming up null causing a NPE */ // result.setMatchedDn( e.getResolvedName().toString() ); do { refs.addLdapUrl( ( String ) e.getReferralInfo() ); } while ( e.skipReferral() ); session.write( req.getResultResponse() ); return; } catch ( NamingException e ) { String msg = "failed to add entry " + req.getEntry(); if ( log.isDebugEnabled() ) { msg += ":\n" + ExceptionUtils.getStackTrace( e ); } ResultCodeEnum code; if ( e instanceof LdapException ) { code = ( ( LdapException ) e ).getResultCode(); } else { code = ResultCodeEnum.getBestEstimate( e, req.getType() ); } result.setResultCode( code ); result.setErrorMessage( msg ); if ( ( e.getResolvedName() != null ) && ( ( code == ResultCodeEnum.NOSUCHOBJECT ) || ( code == ResultCodeEnum.ALIASPROBLEM ) || ( code == ResultCodeEnum.INVALIDDNSYNTAX ) || ( code == ResultCodeEnum.ALIASDEREFERENCINGPROBLEM ) ) ) { result.setMatchedDn( (LdapDN)e.getResolvedName() ); } session.write( req.getResultResponse() ); return; } result.setResultCode( ResultCodeEnum.SUCCESS ); session.write( req.getResultResponse() ); }
10677 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10677/25fa17a415ff484575f2c46a414c8aec904349e2/AddHandler.java/clean/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/AddHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 883, 8872, 12, 10495, 2157, 1339, 16, 1033, 590, 262, 1216, 1185, 565, 288, 3639, 1436, 691, 1111, 273, 261, 1436, 691, 262, 590, 31, 3639, 18053, 1253, 563, 273, 1111, 18, 588, 1253, 1064, 7675, 588, 18437, 1253, 5621, 3639, 309, 261, 4437, 67, 9394, 262, 3639, 288, 5411, 613, 18, 4148, 12, 315, 8872, 279, 1436, 883, 294, 315, 397, 1111, 18, 10492, 1435, 11272, 3639, 289, 3639, 775, 3639, 288, 5411, 18053, 1042, 1103, 273, 3877, 4243, 18, 588, 19571, 7675, 588, 18437, 1042, 12, 1339, 16, 446, 16, 638, 11272, 5411, 309, 261, 1111, 18, 588, 16795, 7675, 12298, 653, 12, 24247, 40, 13098, 1285, 3367, 18, 18248, 67, 12945, 262, 262, 5411, 288, 7734, 1103, 18, 1289, 774, 5494, 12, 1772, 18, 30269, 54, 1013, 16, 315, 6185, 6, 11272, 5411, 289, 5411, 469, 5411, 288, 7734, 1103, 18, 1289, 774, 5494, 12, 1772, 18, 30269, 54, 1013, 16, 315, 12849, 6, 11272, 5411, 289, 5411, 1103, 18, 542, 691, 16795, 12, 261, 8888, 8526, 262, 1111, 18, 588, 16795, 7675, 2372, 7675, 31447, 12, 8984, 67, 6067, 1457, 3045, 262, 11272, 5411, 1103, 18, 2640, 1676, 2472, 12, 1111, 18, 588, 1622, 9334, 1111, 18, 588, 2498, 1435, 11272, 3639, 289, 3639, 1044, 261, 3941, 29084, 503, 425, 262, 3639, 288, 5411, 3941, 29084, 2828, 9047, 273, 394, 3941, 29084, 2828, 5621, 5411, 563, 18, 542, 1957, 29084, 12, 9047, 11272, 5411, 563, 18, 542, 1253, 1085, 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, 883, 8872, 12, 10495, 2157, 1339, 16, 1033, 590, 262, 1216, 1185, 565, 288, 3639, 1436, 691, 1111, 273, 261, 1436, 691, 262, 590, 31, 3639, 18053, 1253, 563, 273, 1111, 18, 588, 1253, 1064, 7675, 588, 18437, 1253, 5621, 3639, 309, 261, 4437, 67, 9394, 262, 3639, 288, 5411, 613, 18, 4148, 12, 315, 8872, 279, 1436, 883, 294, 315, 397, 1111, 18, 10492, 1435, 11272, 3639, 289, 3639, 775, 3639, 288, 5411, 18053, 1042, 1103, 273, 3877, 4243, 18, 588, 19571, 7675, 588, 18437, 1042, 12, 1339, 16, 446, 16, 638, 11272, 5411, 309, 261, 1111, 18, 588, 16795, 7675, 12298, 653, 12, 24247, 40, 13098, 1285, 3367, 18, 18248, 67, 12945, 262, 262, 2 ]
private static void testDebugOff() { Properties props = new Properties(); ByteArrayOutputStream out1 = new ByteArrayOutputStream(); ByteArrayOutputStream err1 = new ByteArrayOutputStream(); PrintStream out2 = new PrintStream(out1); PrintStream err2 = new PrintStream(err1); props.put("log4testng.debug", "false"); props.put("log4testng.rootLogger", "WARN"); testInitialize(props, out2, err2); Assert.assertEquals(out1.toString(), ""); Assert.assertEquals(err1.toString(), "");
private static void testDebugOff() { Properties props= new Properties(); ByteArrayOutputStream out1= new ByteArrayOutputStream(); ByteArrayOutputStream err1= new ByteArrayOutputStream(); PrintStream out2= new PrintStream(out1); PrintStream err2= new PrintStream(err1); props.put("log4testng.debug", "false"); props.put("log4testng.rootLogger", "WARN"); testInitialize(props, out2, err2); Assert.assertEquals(out1.toString(), ""); Assert.assertEquals(err1.toString(), "");
private static void testDebugOff() { Properties props = new Properties(); ByteArrayOutputStream out1 = new ByteArrayOutputStream(); ByteArrayOutputStream err1 = new ByteArrayOutputStream(); PrintStream out2 = new PrintStream(out1); PrintStream err2 = new PrintStream(err1); props.put("log4testng.debug", "false"); props.put("log4testng.rootLogger", "WARN"); testInitialize(props, out2, err2); Assert.assertEquals(out1.toString(), ""); Assert.assertEquals(err1.toString(), ""); }
50502 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50502/96769faec3ab62f18300a49b416f1c5e2f108496/Logger.java/clean/src/main/org/testng/log4testng/Logger.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 918, 1842, 2829, 7210, 1435, 225, 288, 1377, 6183, 3458, 273, 394, 6183, 5621, 1377, 11559, 596, 21, 273, 394, 11559, 5621, 3639, 11559, 393, 21, 273, 394, 11559, 5621, 3639, 21677, 596, 22, 273, 394, 21677, 12, 659, 21, 1769, 3639, 21677, 393, 22, 273, 394, 21677, 12, 370, 21, 1769, 3639, 3458, 18, 458, 2932, 1330, 24, 3813, 3368, 18, 4148, 3113, 315, 5743, 8863, 1377, 3458, 18, 458, 2932, 1330, 24, 3813, 3368, 18, 3085, 3328, 3113, 315, 27999, 8863, 1377, 1842, 7520, 12, 9693, 16, 596, 22, 16, 393, 22, 1769, 1377, 5452, 18, 11231, 8867, 12, 659, 21, 18, 10492, 9334, 1408, 1769, 1377, 5452, 18, 11231, 8867, 12, 370, 21, 18, 10492, 9334, 1408, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 918, 1842, 2829, 7210, 1435, 225, 288, 1377, 6183, 3458, 273, 394, 6183, 5621, 1377, 11559, 596, 21, 273, 394, 11559, 5621, 3639, 11559, 393, 21, 273, 394, 11559, 5621, 3639, 21677, 596, 22, 273, 394, 21677, 12, 659, 21, 1769, 3639, 21677, 393, 22, 273, 394, 21677, 12, 370, 21, 1769, 3639, 3458, 18, 458, 2932, 1330, 24, 3813, 3368, 18, 4148, 3113, 315, 5743, 8863, 1377, 3458, 18, 458, 2932, 1330, 24, 3813, 3368, 18, 3085, 3328, 3113, 315, 27999, 8863, 1377, 1842, 7520, 12, 9693, 16, 596, 22, 16, 393, 22, 1769, 1377, 5452, 18, 11231, 8867, 12, 659, 21, 18, 10492, 9334, 1408, 1769, 1377, 5452, 18, 11231, 8867, 12, 370, 21, 2 ]
MultiPageEditorSite.this.handleSelectionChanged(event); }
MultiPageEditorSite.this.handleSelectionChanged(event); }
public void selectionChanged(SelectionChangedEvent event) { MultiPageEditorSite.this.handleSelectionChanged(event); }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/3da40908ffda867d9aad0c658d5165d8ef53ebf5/MultiPageEditorSite.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/part/MultiPageEditorSite.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 4421, 5033, 12, 6233, 27553, 871, 13, 288, 9506, 202, 5002, 1964, 6946, 4956, 18, 2211, 18, 4110, 6233, 5033, 12, 2575, 1769, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 4421, 5033, 12, 6233, 27553, 871, 13, 288, 9506, 202, 5002, 1964, 6946, 4956, 18, 2211, 18, 4110, 6233, 5033, 12, 2575, 1769, 1082, 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 ]
public void updateAttributes(TaskRepository repository, Proxy proxySettings, IProgressMonitor monitor) throws CoreException {
public void updateAttributes(TaskRepository repository, Proxy proxySettings, IProgressMonitor monitor) throws CoreException {
public void updateAttributes(TaskRepository repository, Proxy proxySettings, IProgressMonitor monitor) throws CoreException { JiraServerFacade.getDefault().refreshServerSettings(repository); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/97fd3accee94b76466f9123039b677db42f77ed3/JiraRepositoryConnector.java/buggy/org.eclipse.mylyn.jira.ui/src/org/eclipse/mylyn/internal/jira/JiraRepositoryConnector.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1089, 2498, 12, 2174, 3305, 3352, 16, 7659, 2889, 2628, 16, 467, 5491, 7187, 6438, 13, 1216, 30015, 288, 202, 202, 46, 11547, 2081, 12467, 18, 588, 1868, 7675, 9144, 2081, 2628, 12, 9071, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1089, 2498, 12, 2174, 3305, 3352, 16, 7659, 2889, 2628, 16, 467, 5491, 7187, 6438, 13, 1216, 30015, 288, 202, 202, 46, 11547, 2081, 12467, 18, 588, 1868, 7675, 9144, 2081, 2628, 12, 9071, 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 ]
IWorkbenchPage page = MylarTasksPlugin.getDefault().getWorkbench().getActiveWorkbenchWindow().getActivePage(); if (page == null) return; try { page.openEditor(input, "org.eclipse.mylar.bugzilla.ui.tasks.bugzillaTaskEditor"); } catch (PartInitException ex) { MylarPlugin.log(ex, "couldn't open"); return; } }
OfflineView.refresh(); }
public void run() { // get the active workbench page IWorkbenchPage page = MylarTasksPlugin.getDefault().getWorkbench().getActiveWorkbenchWindow().getActivePage(); // if we couldn't get the page, get out of here if (page == null) return; try { // try to open an editor on the input bug //page.openEditor(input, IBugzillaConstants.EXISTING_BUG_EDITOR_ID); page.openEditor(input, "org.eclipse.mylar.bugzilla.ui.tasks.bugzillaTaskEditor"); } catch (PartInitException ex) { MylarPlugin.log(ex, "couldn't open"); return; } }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/533bf5f2cac745644765b5e345ba266c512186aa/BugzillaTask.java/clean/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/tasks/BugzillaTask.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4697, 202, 482, 918, 1086, 1435, 288, 6862, 202, 759, 336, 326, 2695, 1440, 22144, 1363, 6862, 202, 45, 2421, 22144, 1964, 1363, 273, 8005, 7901, 6685, 3773, 18, 588, 1868, 7675, 588, 2421, 22144, 7675, 588, 3896, 2421, 22144, 3829, 7675, 588, 3896, 1964, 5621, 6862, 25083, 202, 759, 309, 732, 17991, 1404, 336, 326, 1363, 16, 336, 596, 434, 2674, 6862, 202, 430, 261, 2433, 422, 446, 13, 25083, 202, 2463, 31, 6862, 6862, 1082, 202, 698, 288, 25083, 202, 759, 775, 358, 1696, 392, 4858, 603, 326, 810, 7934, 25083, 202, 759, 2433, 18, 3190, 6946, 12, 2630, 16, 467, 19865, 15990, 2918, 18, 11838, 1360, 67, 4827, 67, 13208, 67, 734, 1769, 25083, 202, 2433, 18, 3190, 6946, 12, 2630, 16, 315, 3341, 18, 20416, 18, 4811, 7901, 18, 925, 15990, 18, 4881, 18, 9416, 18, 925, 15990, 2174, 6946, 8863, 6862, 202, 97, 4405, 202, 14683, 261, 1988, 2570, 503, 431, 13, 288, 25083, 202, 12062, 7901, 3773, 18, 1330, 12, 338, 16, 315, 15195, 82, 1404, 1696, 8863, 25083, 202, 2463, 31, 6862, 202, 97, 9506, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4697, 202, 482, 918, 1086, 1435, 288, 6862, 202, 759, 336, 326, 2695, 1440, 22144, 1363, 6862, 202, 45, 2421, 22144, 1964, 1363, 273, 8005, 7901, 6685, 3773, 18, 588, 1868, 7675, 588, 2421, 22144, 7675, 588, 3896, 2421, 22144, 3829, 7675, 588, 3896, 1964, 5621, 6862, 25083, 202, 759, 309, 732, 17991, 1404, 336, 326, 1363, 16, 336, 596, 434, 2674, 6862, 202, 430, 261, 2433, 422, 446, 13, 25083, 202, 2463, 31, 6862, 6862, 1082, 202, 698, 288, 25083, 202, 759, 775, 358, 1696, 392, 4858, 603, 326, 810, 7934, 25083, 202, 759, 2433, 18, 3190, 6946, 12, 2630, 16, 467, 19865, 15990, 2918, 18, 11838, 1360, 67, 4827, 67, 13208, 67, 734, 1769, 25083, 202, 2433, 2 ]
public RepositoryConfiguration getConfiguration(String repositoryUrl, String userName, String password) throws IOException {
public RepositoryConfiguration getConfiguration(String repositoryUrl, String userName, String password, String encoding) throws IOException {
public RepositoryConfiguration getConfiguration(String repositoryUrl, String userName, String password) throws IOException { String configUrlStr = repositoryUrl + CONFIG_RDF_URL; configUrlStr = BugzillaRepositoryUtil.addCredentials(configUrlStr, userName, password); URLConnection c = new URL(configUrlStr).openConnection(); BufferedReader in = new BufferedReader(new InputStreamReader(c.getInputStream())); SaxConfigurationContentHandler contentHandler = new SaxConfigurationContentHandler(); try { StringBuffer result = XmlCleaner.clean(in); StringReader strReader = new StringReader(result.toString()); XMLReader reader = XMLReaderFactory.createXMLReader(); reader.setErrorHandler(new SaxErrorHandler()); reader.setContentHandler(contentHandler); reader.parse(new InputSource(strReader)); } catch (SAXException e) { throw new IOException("Unable to read server configuration."); } return contentHandler.getConfiguration(); }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/d41c4a120fae710254e27245566966390ce439f9/RepositoryConfigurationFactory.java/clean/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/RepositoryConfigurationFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6281, 1750, 10316, 12, 780, 3352, 1489, 16, 514, 12065, 16, 514, 2201, 13, 1216, 1860, 288, 202, 202, 780, 642, 1489, 1585, 273, 3352, 1489, 397, 9128, 67, 30137, 67, 1785, 31, 202, 202, 1425, 1489, 1585, 273, 16907, 15990, 3305, 1304, 18, 1289, 6163, 12, 1425, 1489, 1585, 16, 12065, 16, 2201, 1769, 202, 202, 14790, 276, 273, 394, 1976, 12, 1425, 1489, 1585, 2934, 3190, 1952, 5621, 202, 202, 17947, 2514, 316, 273, 394, 10633, 12, 2704, 15322, 12, 71, 18, 588, 4348, 1435, 10019, 202, 202, 55, 651, 1750, 1350, 1503, 913, 1503, 273, 394, 348, 651, 1750, 1350, 1503, 5621, 202, 202, 698, 288, 1082, 202, 780, 1892, 563, 273, 5714, 7605, 264, 18, 6200, 12, 267, 1769, 1082, 202, 780, 2514, 609, 2514, 273, 394, 26227, 12, 2088, 18, 10492, 10663, 1082, 202, 4201, 2514, 2949, 273, 3167, 2514, 1733, 18, 2640, 4201, 2514, 5621, 1082, 202, 10530, 18, 542, 17729, 12, 2704, 348, 651, 17729, 10663, 1082, 202, 10530, 18, 542, 1350, 1503, 12, 1745, 1503, 1769, 1082, 202, 10530, 18, 2670, 12, 2704, 23699, 12, 701, 2514, 10019, 202, 202, 97, 1044, 261, 55, 2501, 503, 425, 13, 288, 1082, 202, 12849, 394, 1860, 2932, 3370, 358, 855, 1438, 1664, 1199, 1769, 202, 202, 97, 202, 202, 2463, 913, 1503, 18, 588, 1750, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6281, 1750, 10316, 12, 780, 3352, 1489, 16, 514, 12065, 16, 514, 2201, 13, 1216, 1860, 288, 202, 202, 780, 642, 1489, 1585, 273, 3352, 1489, 397, 9128, 67, 30137, 67, 1785, 31, 202, 202, 1425, 1489, 1585, 273, 16907, 15990, 3305, 1304, 18, 1289, 6163, 12, 1425, 1489, 1585, 16, 12065, 16, 2201, 1769, 202, 202, 14790, 276, 273, 394, 1976, 12, 1425, 1489, 1585, 2934, 3190, 1952, 5621, 202, 202, 17947, 2514, 316, 273, 394, 10633, 12, 2704, 15322, 12, 71, 18, 588, 4348, 1435, 10019, 202, 202, 55, 651, 1750, 1350, 1503, 913, 1503, 273, 394, 348, 651, 1750, 1350, 1503, 5621, 202, 202, 698, 288, 1082, 202, 780, 1892, 563, 273, 5714, 2 ]
types[index >> 1] = PathIterator.SEG_QUADTO;
types[index >> 1] = PathIterator.SEG_CUBICTO;
public void curveTo(float x1, float y1, float x2, float y2, float x3, float y3) { ensureSize(index + 6); types[index >> 1] = PathIterator.SEG_QUADTO; points[index++] = x1; points[index++] = y1; points[index++] = x2; points[index++] = y2; points[index++] = x3; points[index++] = y3; }
45163 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45163/275d463d06dd5dda294643fa50f7dd2384d32d2a/GeneralPath.java/clean/libjava/java/awt/geom/GeneralPath.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 8882, 774, 12, 5659, 619, 21, 16, 1431, 677, 21, 16, 1431, 619, 22, 16, 1431, 677, 22, 16, 8227, 1431, 619, 23, 16, 1431, 677, 23, 13, 225, 288, 565, 3387, 1225, 12, 1615, 397, 1666, 1769, 565, 1953, 63, 1615, 1671, 404, 65, 273, 2666, 3198, 18, 1090, 43, 67, 39, 3457, 45, 1268, 51, 31, 565, 3143, 63, 1615, 9904, 65, 273, 619, 21, 31, 565, 3143, 63, 1615, 9904, 65, 273, 677, 21, 31, 565, 3143, 63, 1615, 9904, 65, 273, 619, 22, 31, 565, 3143, 63, 1615, 9904, 65, 273, 677, 22, 31, 565, 3143, 63, 1615, 9904, 65, 273, 619, 23, 31, 565, 3143, 63, 1615, 9904, 65, 273, 677, 23, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 8882, 774, 12, 5659, 619, 21, 16, 1431, 677, 21, 16, 1431, 619, 22, 16, 1431, 677, 22, 16, 8227, 1431, 619, 23, 16, 1431, 677, 23, 13, 225, 288, 565, 3387, 1225, 12, 1615, 397, 1666, 1769, 565, 1953, 63, 1615, 1671, 404, 65, 273, 2666, 3198, 18, 1090, 43, 67, 39, 3457, 45, 1268, 51, 31, 565, 3143, 63, 1615, 9904, 65, 273, 619, 21, 31, 565, 3143, 63, 1615, 9904, 65, 273, 677, 21, 31, 565, 3143, 63, 1615, 9904, 65, 273, 619, 22, 31, 565, 3143, 63, 1615, 9904, 65, 273, 677, 22, 31, 565, 3143, 63, 1615, 9904, 65, 273, 619, 23, 31, 565, 3143, 63, 1615, 9904, 65, 273, 677, 2 ]
super(workbenchPage.getWorkbenchWindow().getShell()); setShellStyle( SWT.RESIZE | getDefaultOrientation());
public DetachedWindow(WorkbenchPage workbenchPage) { super(workbenchPage.getWorkbenchWindow().getShell()); setShellStyle( //SWT.CLOSE | SWT.MIN | SWT.MAX | SWT.RESIZE | getDefaultOrientation()); this.page = workbenchPage; folder = new ViewStack(page, false, PresentationFactoryUtil.ROLE_VIEW); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/e7b65bd7eaa667e716c4b78400bfcf61d65827b6/DetachedWindow.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/DetachedWindow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8083, 2004, 3829, 12, 2421, 22144, 1964, 1440, 22144, 1964, 13, 288, 3639, 2240, 12, 1252, 22144, 1964, 18, 588, 2421, 22144, 3829, 7675, 588, 13220, 10663, 3639, 444, 13220, 2885, 12, 368, 55, 8588, 18, 13384, 571, 348, 8588, 18, 6236, 571, 348, 8588, 18, 6694, 571, 540, 348, 8588, 18, 862, 4574, 571, 4829, 14097, 10663, 3639, 333, 18, 2433, 273, 1440, 22144, 1964, 31, 3639, 3009, 273, 394, 4441, 2624, 12, 2433, 16, 629, 16, 25130, 367, 1733, 1304, 18, 16256, 67, 12145, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 8083, 2004, 3829, 12, 2421, 22144, 1964, 1440, 22144, 1964, 13, 288, 3639, 2240, 12, 1252, 22144, 1964, 18, 588, 2421, 22144, 3829, 7675, 588, 13220, 10663, 3639, 444, 13220, 2885, 12, 368, 55, 8588, 18, 13384, 571, 348, 8588, 18, 6236, 571, 348, 8588, 18, 6694, 571, 540, 348, 8588, 18, 862, 4574, 571, 4829, 14097, 10663, 3639, 333, 18, 2433, 273, 1440, 22144, 1964, 31, 3639, 3009, 273, 394, 4441, 2624, 12, 2433, 16, 629, 16, 25130, 367, 1733, 1304, 18, 16256, 67, 12145, 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 ]
if (vt.parent != null) {
if (vt.parent != null) {
static long computeStructuralUID(ValueType vt) { Class c = vt._class; ObjectStreamClass osc = vt._objectStreamClass; ByteArrayOutputStream devnull = new ByteArrayOutputStream(512); long h = 0; try { if (!java.io.Serializable.class.isAssignableFrom(c) || c.isInterface()) { return 0; } if (java.io.Externalizable.class.isAssignableFrom(c)) { return 1; } MessageDigest md = MessageDigest.getInstance("SHA"); DigestOutputStream mdo = new DigestOutputStream(devnull, md); DataOutputStream data = new DataOutputStream(mdo); if (vt.parent != null) { data.writeLong(computeStructuralUID(vt.parent)); } if (vt.hasWriteObject) { data.writeInt(2); } else { data.writeInt(1); } List fieldList = new ArrayList(vt.fields.length); for (int i = 0; i < vt.fields.length; i++) { fieldList.add(vt.fields[i].javaField); } Field[] fields = (Field[]) fieldList.toArray(new Field[fieldList.size()]); Arrays.sort(fields, FieldByNameComparator.SINGLETON); for (int i = 0; i < vt.fields.length; i++) { Field f = fields[i]; data.writeUTF(f.getName()); data.writeUTF(JavaClass.getSignature(f.getType())); } data.flush(); byte[] hasharray = md.digest(); for (int i = 0; i < Math.min(8, hasharray.length); i++) { h += (long) (hasharray[i] & 255) << (i * 8); } return h; } catch (Exception ex) { throw new SystemException(ex); } }
12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/9d2c39c906c6955e17daf4ac239b85d4727ddc83/ValueType.java/buggy/modules/interop/src/java/org/apache/geronimo/interop/rmi/iiop/ValueType.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 1525, 3671, 14372, 3060, 12, 17930, 7966, 13, 288, 3639, 1659, 276, 273, 7966, 6315, 1106, 31, 3639, 1033, 1228, 797, 31476, 273, 7966, 6315, 1612, 1228, 797, 31, 3639, 11559, 4461, 2011, 273, 394, 11559, 12, 13757, 1769, 3639, 1525, 366, 273, 374, 31, 3639, 775, 288, 5411, 309, 16051, 6290, 18, 1594, 18, 21682, 18, 1106, 18, 291, 7961, 1265, 12, 71, 13, 7734, 747, 276, 18, 291, 1358, 10756, 288, 7734, 327, 374, 31, 5411, 289, 5411, 309, 261, 6290, 18, 1594, 18, 6841, 6934, 18, 1106, 18, 291, 7961, 1265, 12, 71, 3719, 288, 7734, 327, 404, 31, 5411, 289, 5411, 22485, 3481, 273, 22485, 18, 588, 1442, 2932, 8325, 8863, 5411, 15864, 4632, 312, 2896, 273, 394, 15864, 4632, 12, 5206, 2011, 16, 3481, 1769, 5411, 28680, 501, 273, 394, 28680, 12, 1264, 83, 1769, 5411, 309, 261, 11734, 18, 2938, 480, 446, 13, 288, 7734, 501, 18, 2626, 3708, 12, 9200, 14372, 3060, 12, 11734, 18, 2938, 10019, 5411, 289, 5411, 309, 261, 11734, 18, 5332, 3067, 921, 13, 288, 7734, 501, 18, 2626, 1702, 12, 22, 1769, 5411, 289, 469, 288, 7734, 501, 18, 2626, 1702, 12, 21, 1769, 5411, 289, 5411, 987, 25325, 273, 394, 2407, 12, 11734, 18, 2821, 18, 2469, 1769, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 7966, 18, 2821, 18, 2469, 31, 277, 27245, 288, 7734, 25325, 18, 1289, 12, 11734, 18, 2821, 63, 77, 8009, 6290, 974, 1769, 5411, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 1525, 3671, 14372, 3060, 12, 17930, 7966, 13, 288, 3639, 1659, 276, 273, 7966, 6315, 1106, 31, 3639, 1033, 1228, 797, 31476, 273, 7966, 6315, 1612, 1228, 797, 31, 3639, 11559, 4461, 2011, 273, 394, 11559, 12, 13757, 1769, 3639, 1525, 366, 273, 374, 31, 3639, 775, 288, 5411, 309, 16051, 6290, 18, 1594, 18, 21682, 18, 1106, 18, 291, 7961, 1265, 12, 71, 13, 7734, 747, 276, 18, 291, 1358, 10756, 288, 7734, 327, 374, 31, 5411, 289, 5411, 309, 261, 6290, 18, 1594, 18, 6841, 6934, 18, 1106, 18, 291, 7961, 1265, 12, 71, 3719, 288, 7734, 327, 404, 31, 5411, 289, 5411, 22485, 3481, 273, 22485, 18, 588, 1442, 2932, 8325, 8863, 5411, 15864, 2 ]
assertEquals(".java.txt display filename", name, _sdModel.getDisplayFilename(doc));
assertEquals(".java.txt display filename", name, _sdModel.getDisplayFileName(doc));
public void testDisplayFilename() throws IOException, OperationCanceledException, AlreadyOpenException { // Untitled OpenDefinitionsDocument doc = _sdModel.getActiveDocument(); assertEquals("untitled display filename", "(Untitled)", _sdModel.getDisplayFilename(doc)); // Ends in ".java" File file = File.createTempFile("DrJava-filename-test", ".java", _tempDir).getCanonicalFile(); file.deleteOnExit(); String name = file.getName(); doc = _sdModel.openFile(new FileSelector(file)); assertEquals(".java display filename", name.substring(0, name.length()-5), _sdModel.getDisplayFilename(doc)); // Doesn't contain ".java" file = File.createTempFile("DrJava-filename-test", ".txt", _tempDir).getCanonicalFile(); file.deleteOnExit(); name = file.getName(); doc = _sdModel.openFile(new FileSelector(file)); assertEquals(".txt display filename", name, _sdModel.getDisplayFilename(doc)); // Doesn't end in ".java" file = File.createTempFile("DrJava-filename-test", ".java.txt", _tempDir).getCanonicalFile(); file.deleteOnExit(); name = file.getName(); doc = _sdModel.openFile(new FileSelector(file)); assertEquals(".java.txt display filename", name, _sdModel.getDisplayFilename(doc));// _log.log("testDisplayFilename completed"); }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/838397e908a24e107f724695c1466c1c498ec946/SingleDisplayModelTest.java/clean/drjava/src/edu/rice/cs/drjava/model/SingleDisplayModelTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 4236, 5359, 1435, 1216, 1860, 16, 4189, 23163, 503, 16, 17009, 3678, 503, 288, 565, 368, 23931, 305, 1259, 565, 3502, 7130, 2519, 997, 273, 389, 6427, 1488, 18, 588, 3896, 2519, 5621, 565, 1815, 8867, 2932, 10032, 305, 1259, 2562, 1544, 3113, 7751, 57, 496, 305, 1259, 2225, 16, 389, 6427, 1488, 18, 588, 4236, 5359, 12, 2434, 10019, 565, 368, 1374, 2377, 316, 3552, 6290, 6, 565, 1387, 585, 273, 1387, 18, 2640, 20181, 2932, 8956, 5852, 17, 3459, 17, 3813, 3113, 3552, 6290, 3113, 389, 5814, 1621, 2934, 588, 15512, 812, 5621, 565, 585, 18, 3733, 1398, 6767, 5621, 565, 514, 508, 273, 585, 18, 17994, 5621, 565, 997, 273, 389, 6427, 1488, 18, 3190, 812, 12, 2704, 1387, 4320, 12, 768, 10019, 565, 1815, 8867, 2932, 18, 6290, 2562, 1544, 3113, 1171, 508, 18, 28023, 12, 20, 16, 508, 18, 2469, 1435, 17, 25, 3631, 1171, 389, 6427, 1488, 18, 588, 4236, 5359, 12, 2434, 10019, 565, 368, 9637, 82, 1404, 912, 3552, 6290, 6, 565, 585, 273, 1387, 18, 2640, 20181, 2932, 8956, 5852, 17, 3459, 17, 3813, 3113, 3552, 5830, 3113, 389, 5814, 1621, 2934, 588, 15512, 812, 5621, 565, 585, 18, 3733, 1398, 6767, 5621, 565, 508, 273, 585, 18, 17994, 5621, 565, 997, 273, 389, 6427, 1488, 18, 3190, 812, 12, 2704, 1387, 4320, 12, 768, 10019, 565, 1815, 8867, 2932, 18, 5830, 2562, 1544, 3113, 508, 16, 389, 6427, 1488, 18, 588, 4236, 5359, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 4236, 5359, 1435, 1216, 1860, 16, 4189, 23163, 503, 16, 17009, 3678, 503, 288, 565, 368, 23931, 305, 1259, 565, 3502, 7130, 2519, 997, 273, 389, 6427, 1488, 18, 588, 3896, 2519, 5621, 565, 1815, 8867, 2932, 10032, 305, 1259, 2562, 1544, 3113, 7751, 57, 496, 305, 1259, 2225, 16, 389, 6427, 1488, 18, 588, 4236, 5359, 12, 2434, 10019, 565, 368, 1374, 2377, 316, 3552, 6290, 6, 565, 1387, 585, 273, 1387, 18, 2640, 20181, 2932, 8956, 5852, 17, 3459, 17, 3813, 3113, 3552, 6290, 3113, 389, 5814, 1621, 2934, 588, 15512, 812, 5621, 565, 585, 18, 3733, 1398, 6767, 5621, 565, 514, 508, 273, 585, 18, 17994, 5621, 565, 997, 273, 389, 6427, 2 ]
if (cx.isGeneratingDebug()) {
if (!cx.isGeneratingDebugChanged() || cx.isGeneratingDebug()) {
private void generatePrologue(Context cx, Node tree, boolean inFunction, int directParameterCount) { funObjLocal = reserveWordLocal(0); contextLocal = reserveWordLocal(1); variableObjectLocal = reserveWordLocal(2); thisObjLocal = reserveWordLocal(3); if (inFunction && !cx.hasCompileFunctionsWithDynamicScope() && directParameterCount == -1) { // Unless we're either using dynamic scope or we're in a // direct call, use the enclosing scope of the function as our // variable object. aload(funObjLocal); classFile.add(ByteCode.INVOKEINTERFACE, "org/mozilla/javascript/Scriptable", "getParentScope", "()", "Lorg/mozilla/javascript/Scriptable;"); astore(variableObjectLocal); } if (directParameterCount > 0) { for (int i = 0; i < (3 * directParameterCount); i++) reserveWordLocal(i + 4); // reserve 'args' } // reserve 'args[]' argsLocal = reserveWordLocal(directParameterCount <= 0 ? 4 : (3 * directParameterCount) + 4); // These locals are to be pre-allocated since they need function scope. // They are primarily used by the exception handling mechanism Integer localCount = (Integer)(tree.getProp(Node.LOCALCOUNT_PROP)); if (localCount != null) { itsLocalAllocationBase = (short)(argsLocal + 1); for (int i = 0; i < localCount.intValue(); i++) { reserveWordLocal(itsLocalAllocationBase + i); } } hasVarsInRegs = inFunction && !((OptFunctionNode)tree).requiresActivation(); if (hasVarsInRegs) { // No need to create activation. Pad arguments if need be. int parmCount = vars.getParameterCount(); if (inFunction && parmCount > 0 && directParameterCount < 0) { // Set up args array // check length of arguments, pad if need be aload(argsLocal); addByteCode(ByteCode.ARRAYLENGTH); push(parmCount); int label = acquireLabel(); addByteCode(ByteCode.IF_ICMPGE, label); aload(argsLocal); push(parmCount); addScriptRuntimeInvoke("padArguments", "([Ljava/lang/Object;I)", "[Ljava/lang/Object;"); astore(argsLocal); markLabel(label); } // REMIND - only need to initialize the vars that don't get a value // before the next call and are used in the function short firstUndefVar = -1; for (int i = 0; i < vars.size(); i++) { OptLocalVariable lVar = (OptLocalVariable) vars.getVariable(i); if (lVar.isNumber()) { lVar.assignJRegister(getNewWordPairLocal()); push(0.0); dstore(lVar.getJRegister()); } else if (lVar.isParameter()) { if (directParameterCount < 0) { lVar.assignJRegister(getNewWordLocal()); aload(argsLocal); push(i); addByteCode(ByteCode.AALOAD); astore(lVar.getJRegister()); } } else { lVar.assignJRegister(getNewWordLocal()); if (firstUndefVar == -1) { pushUndefined(); firstUndefVar = lVar.getJRegister(); } else { aload(firstUndefVar); } astore(lVar.getJRegister()); } lVar.setStartPC(classFile.getCurrentCodeOffset()); } // Indicate that we should generate debug information for // the variable table. (If we're generating debug info at // all.) debugVars = vars; // Skip creating activation object. return; } if (directParameterCount > 0) { // We're going to create an activation object, so we // need to get an args array with all the arguments in it. aload(argsLocal); push(directParameterCount); addOptRuntimeInvoke("padStart", "([Ljava/lang/Object;I)", "[Ljava/lang/Object;"); astore(argsLocal); for (int i=0; i < directParameterCount; i++) { aload(argsLocal); push(i); // "3" is 1 for Object parm and 2 for double parm, and // "4" is to account for the context, etc. parms aload((short) (3*i+4)); addByteCode(ByteCode.AASTORE); } } String debugVariableName; if (inFunction) { aload(contextLocal); aload(variableObjectLocal); aload(funObjLocal); aload(thisObjLocal); aload(argsLocal); addScriptRuntimeInvoke("initVarObj", "(Lorg/mozilla/javascript/Context;" + "Lorg/mozilla/javascript/Scriptable;" + "Lorg/mozilla/javascript/NativeFunction;" + "Lorg/mozilla/javascript/Scriptable;" + "[Ljava/lang/Object;)", "Lorg/mozilla/javascript/Scriptable;"); debugVariableName = "activation"; } else { aload(contextLocal); aload(variableObjectLocal); aload(funObjLocal); aload(thisObjLocal); push(0); addScriptRuntimeInvoke("initScript", "(Lorg/mozilla/javascript/Context;" + "Lorg/mozilla/javascript/Scriptable;" + "Lorg/mozilla/javascript/NativeFunction;" + "Lorg/mozilla/javascript/Scriptable;Z)", "Lorg/mozilla/javascript/Scriptable;"); debugVariableName = "global"; } astore(variableObjectLocal); Vector fns = (Vector) tree.getProp(Node.FUNCTION_PROP); if (inFunction && fns != null) { for (int i=0; i < fns.size(); i++) { FunctionNode fn = (FunctionNode) fns.elementAt(i); if (fn.getFunctionType() == FunctionNode.FUNCTION_STATEMENT) { visitFunction(fn, true); } } } if (cx.isGeneratingDebug()) { debugVars = new OptVariableTable(); debugVars.addLocal(debugVariableName); OptLocalVariable lv = (OptLocalVariable) debugVars.getVariable(debugVariableName); lv.assignJRegister(variableObjectLocal); lv.setStartPC(classFile.getCurrentCodeOffset()); } if (!inFunction) { // OPT: use dataflow to prove that this assignment is dead scriptResultLocal = getNewWordLocal(); pushUndefined(); astore(scriptResultLocal); } if (inFunction && ((OptFunctionNode)tree).containsCalls(-1)) { if (((OptFunctionNode)tree).containsCalls(0)) { itsZeroArgArray = getNewWordLocal(); classFile.add(ByteCode.GETSTATIC, "org/mozilla/javascript/ScriptRuntime", "emptyArgs", "[Ljava/lang/Object;"); astore(itsZeroArgArray); } if (((OptFunctionNode)tree).containsCalls(1)) { itsOneArgArray = getNewWordLocal(); push(1); addByteCode(ByteCode.ANEWARRAY, "java/lang/Object"); astore(itsOneArgArray); } } }
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/5425d1691bf0027c3411689a78202b7f4d1cc124/Codegen.java/clean/js/rhino/org/mozilla/javascript/optimizer/Codegen.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2103, 626, 1330, 344, 12, 1042, 9494, 16, 2029, 2151, 16, 1250, 316, 2083, 16, 21394, 509, 2657, 1662, 1380, 13, 565, 288, 3639, 9831, 2675, 2042, 273, 20501, 3944, 2042, 12, 20, 1769, 3639, 819, 2042, 273, 20501, 3944, 2042, 12, 21, 1769, 3639, 2190, 921, 2042, 273, 20501, 3944, 2042, 12, 22, 1769, 3639, 15261, 2042, 273, 20501, 3944, 2042, 12, 23, 1769, 7734, 309, 261, 267, 2083, 597, 401, 71, 92, 18, 5332, 9937, 7503, 1190, 9791, 3876, 1435, 597, 5411, 2657, 1662, 1380, 422, 300, 21, 13, 3639, 288, 5411, 368, 1351, 2656, 732, 4565, 3344, 1450, 5976, 2146, 578, 732, 4565, 316, 279, 5411, 368, 2657, 745, 16, 999, 326, 16307, 2146, 434, 326, 445, 487, 3134, 2398, 368, 2190, 733, 18, 5411, 279, 945, 12, 12125, 2675, 2042, 1769, 5411, 29728, 18, 1289, 12, 3216, 1085, 18, 706, 17691, 41, 18865, 16, 12900, 315, 3341, 19, 8683, 15990, 19, 11242, 19, 3651, 429, 3113, 12900, 315, 588, 3054, 3876, 3113, 12900, 25605, 3113, 21821, 315, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 3651, 429, 4868, 1769, 5411, 279, 2233, 12, 6105, 921, 2042, 1769, 3639, 289, 3639, 309, 261, 7205, 1662, 1380, 405, 374, 13, 288, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 261, 23, 380, 2657, 1662, 1380, 1769, 277, 27245, 7734, 20501, 3944, 2042, 12, 77, 397, 1059, 1769, 9079, 368, 20501, 296, 1968, 11, 3639, 289, 3639, 368, 20501, 296, 1968, 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, 2103, 626, 1330, 344, 12, 1042, 9494, 16, 2029, 2151, 16, 1250, 316, 2083, 16, 21394, 509, 2657, 1662, 1380, 13, 565, 288, 3639, 9831, 2675, 2042, 273, 20501, 3944, 2042, 12, 20, 1769, 3639, 819, 2042, 273, 20501, 3944, 2042, 12, 21, 1769, 3639, 2190, 921, 2042, 273, 20501, 3944, 2042, 12, 22, 1769, 3639, 15261, 2042, 273, 20501, 3944, 2042, 12, 23, 1769, 7734, 309, 261, 267, 2083, 597, 401, 71, 92, 18, 5332, 9937, 7503, 1190, 9791, 3876, 1435, 597, 5411, 2657, 1662, 1380, 422, 300, 21, 13, 3639, 288, 5411, 368, 1351, 2656, 732, 4565, 3344, 1450, 5976, 2146, 578, 732, 4565, 316, 279, 5411, 368, 2657, 745, 16, 999, 326, 16307, 2 ]
public void perform() { checkForUnsavedProjectOnClose(); JInternalFrame[] frames = DesktopPane.getAllFrames(); try { for(int i = 0; i < frames.length; ++i) { frames[i].setClosed(true); } commitAction.perform(); operatorDesktopSplit.setLeftComponent(null); projectActionsEnable(false); } catch (java.beans.PropertyVetoException pve) {} setTitle("VisualSoar"); }//perform()
47007 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47007/1b1fc0d1cd3e331f011554311af91290afd09142/MainFrame.java/buggy/OldSoar/trunk/visualsoar/Source/edu/umich/visualsoar/MainFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 6459, 16092, 1435, 95, 1893, 1290, 984, 14077, 4109, 1398, 4605, 5621, 1082, 202, 46, 3061, 3219, 8526, 10278, 33, 27583, 8485, 18, 588, 1595, 15162, 5621, 1082, 202, 698, 95, 9506, 202, 1884, 12, 474, 77, 33, 20, 31, 77, 32, 10278, 18, 2469, 31, 9904, 77, 15329, 6862, 202, 10278, 63, 77, 8009, 542, 7395, 12, 3767, 1769, 9506, 202, 97, 9506, 202, 7371, 1803, 18, 16092, 5621, 9506, 202, 9497, 27583, 5521, 18, 542, 3910, 1841, 12, 2011, 1769, 9506, 202, 4406, 6100, 8317, 12, 5743, 1769, 1082, 202, 97, 1082, 202, 14683, 12, 6290, 18, 2196, 634, 18, 1396, 58, 11453, 503, 84, 537, 13, 2916, 542, 4247, 2932, 25780, 10225, 297, 8863, 202, 202, 97, 759, 16092, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 6459, 16092, 1435, 95, 1893, 1290, 984, 14077, 4109, 1398, 4605, 5621, 1082, 202, 46, 3061, 3219, 8526, 10278, 33, 27583, 8485, 18, 588, 1595, 15162, 5621, 1082, 202, 698, 95, 9506, 202, 1884, 12, 474, 77, 33, 20, 31, 77, 32, 10278, 18, 2469, 31, 9904, 77, 15329, 6862, 202, 10278, 63, 77, 8009, 542, 7395, 12, 3767, 1769, 9506, 202, 97, 9506, 202, 7371, 1803, 18, 16092, 5621, 9506, 202, 9497, 27583, 5521, 18, 542, 3910, 1841, 12, 2011, 1769, 9506, 202, 4406, 6100, 8317, 12, 5743, 1769, 1082, 202, 97, 1082, 202, 14683, 12, 6290, 18, 2196, 634, 18, 1396, 58, 11453, 503, 84, 537, 13, 2916, 542, 4247, 2932, 25780, 10225, 297, 2 ]
private Tree singleType(int pos, Type pre, Symbol sym) {
private Tree singleType(int pos, Type.SingleType tp) {
private Tree singleType(int pos, Type pre, Symbol sym) { Tree constr = gen.mkPrimaryConstructorGlobalRef(pos, defs.SINGLETYPE_CLASS); Tree[] args = new Tree[] { gen.mkRef(pos, pre, sym) }; return gen.New(pos, gen.mkApply_V(constr, args)); }
9617 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9617/ac4fb5c64af5080d7b583dcf3ebe7a069b1fe47c/TypesAsValuesPhase.java/buggy/sources/scalac/transformer/TypesAsValuesPhase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 4902, 2202, 559, 12, 474, 949, 16, 1412, 18, 5281, 559, 8071, 13, 288, 5411, 4902, 14472, 273, 7734, 3157, 18, 24816, 6793, 6293, 5160, 1957, 12, 917, 16, 17588, 18, 20184, 2399, 67, 5237, 1769, 5411, 4902, 8526, 833, 273, 394, 4902, 8526, 288, 3157, 18, 24816, 1957, 12, 917, 16, 675, 16, 5382, 13, 289, 31, 5411, 327, 3157, 18, 1908, 12, 917, 16, 3157, 18, 24816, 7001, 67, 58, 12, 591, 701, 16, 833, 10019, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 4902, 2202, 559, 12, 474, 949, 16, 1412, 18, 5281, 559, 8071, 13, 288, 5411, 4902, 14472, 273, 7734, 3157, 18, 24816, 6793, 6293, 5160, 1957, 12, 917, 16, 17588, 18, 20184, 2399, 67, 5237, 1769, 5411, 4902, 8526, 833, 273, 394, 4902, 8526, 288, 3157, 18, 24816, 1957, 12, 917, 16, 675, 16, 5382, 13, 289, 31, 5411, 327, 3157, 18, 1908, 12, 917, 16, 3157, 18, 24816, 7001, 67, 58, 12, 591, 701, 16, 833, 10019, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void decode(EncodedAcl acl, boolean getPrivileges) throws AccessException { decodeWhoType(acl); decodeHow(acl, getPrivileges);
public boolean decode(EncodedAcl acl, boolean getPrivileges, String name, int whoType) throws AccessException { acl.rewind(); while (acl.hasMore()) { decodeWhoType(acl); if ((whoType != getWhoType()) || !whoMatch(name)) { skipHow(acl); } else { decodeHow(acl, getPrivileges); return true; } } return false;
public void decode(EncodedAcl acl, boolean getPrivileges) throws AccessException { decodeWhoType(acl); decodeHow(acl, getPrivileges); }
50848 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50848/1324aec393994f1f212ff989362372d7c3fae7a0/Ace.java/buggy/calendar3/access/src/edu/rpi/cct/uwcal/access/Ace.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 2495, 12, 10397, 13538, 7895, 16, 5397, 1250, 8248, 8203, 2852, 13, 1216, 5016, 503, 288, 565, 2495, 2888, 83, 559, 12, 10150, 1769, 565, 2495, 44, 543, 12, 10150, 16, 8248, 8203, 2852, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 2495, 12, 10397, 13538, 7895, 16, 5397, 1250, 8248, 8203, 2852, 13, 1216, 5016, 503, 288, 565, 2495, 2888, 83, 559, 12, 10150, 1769, 565, 2495, 44, 543, 12, 10150, 16, 8248, 8203, 2852, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
IASTTranslationUnit tu = parse( "void f(int par) { int v1; };", ParserLanguage.C );
IASTTranslationUnit tu = parse( "void f(int par) { int v1; };", ParserLanguage.C);
public void testBug90253() throws Exception { IASTTranslationUnit tu = parse( "void f(int par) { int v1; };", ParserLanguage.C ); //$NON-NLS-1$ CNameCollector col = new CNameCollector(); tu.accept( col ); IFunction f = (IFunction) col.getName(0).resolveBinding(); IParameter p = (IParameter) col.getName(1).resolveBinding(); IVariable v1 = (IVariable) col.getName(2).resolveBinding(); IScope scope = f.getFunctionScope(); IBinding [] bs = scope.find( "par" ); //$NON-NLS-1$ assertEquals( bs.length, 1 ); assertSame( bs[0], p ); bs = scope.find( "v1" ); //$NON-NLS-1$ assertEquals( bs.length, 1 ); assertSame( bs[0], v1 ); }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/78f1bf90544259bc8541128f8a50137b3f49f862/AST2Tests.java/buggy/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2Tests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 19865, 9349, 30304, 1435, 1216, 1185, 288, 3639, 467, 9053, 6717, 2802, 28325, 273, 1109, 12, 315, 6459, 284, 12, 474, 779, 13, 288, 509, 331, 21, 31, 289, 31, 3113, 6783, 3779, 18, 39, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 385, 461, 7134, 645, 273, 394, 385, 461, 7134, 5621, 3639, 28325, 18, 9436, 12, 645, 11272, 7734, 467, 2083, 284, 273, 261, 45, 2083, 13, 645, 18, 17994, 12, 20, 2934, 10828, 5250, 5621, 3639, 467, 1662, 293, 273, 261, 45, 1662, 13, 645, 18, 17994, 12, 21, 2934, 10828, 5250, 5621, 3639, 467, 3092, 331, 21, 273, 261, 45, 3092, 13, 645, 18, 17994, 12, 22, 2934, 10828, 5250, 5621, 7734, 467, 3876, 2146, 273, 284, 18, 588, 2083, 3876, 5621, 7734, 467, 5250, 5378, 7081, 273, 2146, 18, 4720, 12, 315, 1065, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 1815, 8867, 12, 7081, 18, 2469, 16, 404, 11272, 3639, 1815, 8650, 12, 7081, 63, 20, 6487, 293, 11272, 7734, 7081, 273, 2146, 18, 4720, 12, 315, 90, 21, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 1815, 8867, 12, 7081, 18, 2469, 16, 404, 11272, 3639, 1815, 8650, 12, 7081, 63, 20, 6487, 331, 21, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 19865, 9349, 30304, 1435, 1216, 1185, 288, 3639, 467, 9053, 6717, 2802, 28325, 273, 1109, 12, 315, 6459, 284, 12, 474, 779, 13, 288, 509, 331, 21, 31, 289, 31, 3113, 6783, 3779, 18, 39, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 385, 461, 7134, 645, 273, 394, 385, 461, 7134, 5621, 3639, 28325, 18, 9436, 12, 645, 11272, 7734, 467, 2083, 284, 273, 261, 45, 2083, 13, 645, 18, 17994, 12, 20, 2934, 10828, 5250, 5621, 3639, 467, 1662, 293, 273, 261, 45, 1662, 13, 645, 18, 17994, 12, 21, 2934, 10828, 5250, 5621, 3639, 467, 3092, 331, 21, 273, 261, 45, 3092, 13, 645, 18, 17994, 12, 22, 2934, 10828, 5250, 2 ]
context.getDataEngine().prepare(report);
context.getDataEngine( ).prepare( report );
public void execute( Report report, HashMap paramValues ) throws Exception { context.setReport( report ); // Exceute scripts defined in included libraries. For each library, executes // first the included scripts, then the initialize method. // The current release does not supported externally included library files // handle global libraries in the future // execute scripts defined in include-script element of this report // Parameters are not available at this stage Iterator iter = report.getIncludeScripts().iterator(); while (iter.hasNext()) { String fileName= (String)iter.next(); context.loadScript(fileName); } // DE needs to support getInitialize() method // context.execute(report.getInitialize()); // call methods associated with report context.execute(report.getBeforeFactory()); // beforeRender is not supported for now // Set up report parameters setParameters( paramValues ); // Prepare necessary data for this report context.getDataEngine().prepare(report); // Report documents are not supported for now // context.execute(report.getBeforeOpenDoc()); emitter.startReport( report ); // report documents are not supported for now // context.execute(report.getAfterOpenDoc()); // process page set up information handlePageSetup(report); context.pushMasterPage( context.getDefaultMasterPage( ) ); context.pushMasterPage( null ); // process the report body emitter.startBody( ); //assert ( report.getContentCount( ) >= 1 ); // only top-level elements maybe have the master page reference for now for ( int i = 0; i < report.getContentCount( ); i++ ) { builder.startPageFlow( report.getContent( i ).getStyle( ) .getMasterPage( ) ); report.getContent( i ).accept( builder ); builder.endPageFlow( ); } //USED TO FIX BUG 74548 //FIXME: update the master page handle routines. if (report.getContentCount() > 0) { emitter.getPageSetupEmitter( ).endBody( ); } emitter.endBody( ); context.popMasterPage( ); context.popMasterPage( ); // Report document is not supported // context.execute(report.getBeforeCloseDoc()); emitter.endReport( ); // close eport document // Report document is not supported // context.execute(report.getAfterCloseDoc()); //call afterFactory method of the report context.execute(report.getAfterFactory()); context.getDataEngine().shutdown(); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/f5a9bea2073cca10b0308809092763f54b6c3f16/ReportExecutor.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/ReportExecutor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1836, 12, 8706, 2605, 16, 4317, 579, 1972, 262, 1216, 1185, 202, 95, 202, 202, 2472, 18, 542, 4820, 12, 2605, 11272, 202, 202, 759, 1312, 311, 624, 8873, 2553, 316, 5849, 14732, 18, 2457, 1517, 5313, 16, 11997, 202, 202, 759, 1122, 326, 5849, 8873, 16, 1508, 326, 4046, 707, 18, 3196, 202, 759, 1021, 783, 3992, 1552, 486, 3260, 18885, 1230, 5849, 5313, 1390, 3196, 202, 759, 1640, 2552, 14732, 316, 326, 3563, 9506, 202, 759, 1836, 8873, 2553, 316, 2341, 17, 4263, 930, 434, 333, 2605, 202, 202, 759, 7012, 854, 486, 2319, 622, 333, 6009, 202, 202, 3198, 1400, 273, 2605, 18, 588, 8752, 15041, 7675, 9838, 5621, 202, 202, 17523, 261, 2165, 18, 5332, 2134, 10756, 202, 202, 95, 1082, 202, 780, 3968, 33, 261, 780, 13, 2165, 18, 4285, 5621, 1082, 202, 2472, 18, 945, 3651, 12, 17812, 1769, 202, 202, 97, 9506, 202, 759, 2030, 4260, 358, 2865, 336, 7520, 1435, 707, 3196, 202, 759, 819, 18, 8837, 12, 6006, 18, 588, 7520, 10663, 9506, 202, 759, 745, 2590, 3627, 598, 2605, 3196, 202, 2472, 18, 8837, 12, 6006, 18, 588, 4649, 1733, 10663, 1082, 1377, 9506, 202, 759, 1865, 3420, 353, 486, 3260, 364, 2037, 9506, 202, 759, 1000, 731, 2605, 1472, 202, 202, 542, 2402, 12, 579, 1972, 11272, 9506, 202, 759, 7730, 4573, 501, 364, 333, 2605, 202, 202, 2472, 18, 588, 751, 4410, 7675, 9366, 12, 6006, 1769, 202, 202, 759, 8706, 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, 1836, 12, 8706, 2605, 16, 4317, 579, 1972, 262, 1216, 1185, 202, 95, 202, 202, 2472, 18, 542, 4820, 12, 2605, 11272, 202, 202, 759, 1312, 311, 624, 8873, 2553, 316, 5849, 14732, 18, 2457, 1517, 5313, 16, 11997, 202, 202, 759, 1122, 326, 5849, 8873, 16, 1508, 326, 4046, 707, 18, 3196, 202, 759, 1021, 783, 3992, 1552, 486, 3260, 18885, 1230, 5849, 5313, 1390, 3196, 202, 759, 1640, 2552, 14732, 316, 326, 3563, 9506, 202, 759, 1836, 8873, 2553, 316, 2341, 17, 4263, 930, 434, 333, 2605, 202, 202, 759, 7012, 854, 486, 2319, 622, 333, 6009, 202, 202, 3198, 1400, 273, 2605, 18, 588, 8752, 15041, 7675, 9838, 5621, 202, 202, 17523, 2 ]
public Vector generateRows(Object settings) { return LogJPanel.this.generateRows(null); }
public Vector generateRows(Object settings){ List<VirusLog> logList = (List<VirusLog>) settings; Vector allEvents = new Vector(); Vector event = null; for( VirusLog log : logList ){ event = new Vector(7); event.add( log.getCreateDate() ); event.add( log.getAction() ); event.add( log.getClientAddr() + ":" + ((Integer)log.getClientPort()).toString() ); event.add( log.getTraffic() ); event.add( log.getReason() ); event.add( log.getDirection().getDirectionName() ); event.add( log.getServerAddr() + ":" + ((Integer)log.getServerPort()).toString() ); allEvents.insertElementAt(event,0); } return allEvents; }
public Vector generateRows(Object settings) { return LogJPanel.this.generateRows(null); }
49954 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49954/e959c8f03b9b502d36e0190089207bc9abd8947b/LogJPanel.java/buggy/tran/virus/main/com/metavize/tran/virus/gui/LogJPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 5589, 2103, 4300, 12, 921, 1947, 13, 288, 3639, 327, 1827, 46, 5537, 18, 2211, 18, 7163, 4300, 12, 2011, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 5589, 2103, 4300, 12, 921, 1947, 13, 288, 3639, 327, 1827, 46, 5537, 18, 2211, 18, 7163, 4300, 12, 2011, 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 ]
else { int x = c.getX(); int y = c.getY(); int cWidth = c.getWidth(); int cHeight = c.getHeight(); Dimension screenSize = getToolkit().getScreenSize(); if ((y + cHeight) > screenSize.height) { if ((screenSize.width / 2 - x) <= 0) { if ((x - width) >= 0) x -= width; else x = 0; } else { if ((x + cWidth + width) <= screenSize.width) x += cWidth; else x = screenSize.width - width; } y = screenSize.height - height; } else if (cWidth > width || cHeight > height) { if ((x + width) > screenSize.width) x = screenSize.width - width; else if (x < 0) x = 0; else x += (cWidth - width) / 2; y += (cHeight - height) / 2; } else { if ((x + width) > screenSize.width) x = screenSize.width - width; else if (x < 0) x = 0; else x -= (width - cWidth) / 2; y -= (height - cHeight) / 2; } setLocation(x, y); }
public void setLocationRelativeTo (Component c) { if (c == null || !c.isShowing ()) { int x = 0; int y = 0; GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment (); Point center = ge.getCenterPoint (); x = center.x - (width / 2); y = center.y - (height / 2); setLocation (x, y); } // FIXME: handle case where component is non-null. }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/bd498c30e250a0c0f87a82da5c5dbb94748e518a/Window.java/buggy/core/src/classpath/java/java/awt/Window.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 469, 288, 509, 619, 273, 276, 18, 588, 60, 5621, 509, 677, 273, 276, 18, 588, 61, 5621, 225, 509, 276, 2384, 273, 276, 18, 588, 2384, 5621, 509, 276, 2686, 273, 276, 18, 588, 2686, 5621, 13037, 5518, 1225, 273, 336, 6364, 8691, 7675, 588, 7956, 1225, 5621, 565, 309, 14015, 93, 397, 276, 2686, 13, 405, 5518, 1225, 18, 4210, 13, 288, 225, 309, 14015, 9252, 1225, 18, 2819, 342, 576, 300, 619, 13, 1648, 374, 13, 288, 309, 14015, 92, 300, 1835, 13, 1545, 374, 13, 619, 3947, 1835, 31, 469, 619, 273, 374, 31, 289, 469, 288, 309, 14015, 92, 397, 276, 2384, 397, 1835, 13, 1648, 5518, 1225, 18, 2819, 13, 619, 1011, 276, 2384, 31, 469, 619, 273, 5518, 1225, 18, 2819, 300, 1835, 31, 289, 225, 677, 273, 5518, 1225, 18, 4210, 300, 2072, 31, 289, 469, 309, 261, 71, 2384, 405, 1835, 747, 276, 2686, 405, 2072, 13, 288, 225, 309, 14015, 92, 397, 1835, 13, 405, 5518, 1225, 18, 2819, 13, 619, 273, 5518, 1225, 18, 2819, 300, 1835, 31, 225, 469, 309, 261, 92, 411, 374, 13, 619, 273, 374, 31, 469, 619, 1011, 261, 71, 2384, 300, 1835, 13, 342, 576, 31, 225, 677, 1011, 261, 71, 2686, 300, 2072, 13, 342, 576, 31, 289, 469, 288, 225, 309, 14015, 92, 397, 1835, 13, 405, 5518, 1225, 18, 2819, 13, 619, 273, 5518, 1225, 18, 2819, 300, 1835, 31, 225, 469, 309, 261, 92, 411, 374, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 469, 288, 509, 619, 273, 276, 18, 588, 60, 5621, 509, 677, 273, 276, 18, 588, 61, 5621, 225, 509, 276, 2384, 273, 276, 18, 588, 2384, 5621, 509, 276, 2686, 273, 276, 18, 588, 2686, 5621, 13037, 5518, 1225, 273, 336, 6364, 8691, 7675, 588, 7956, 1225, 5621, 565, 309, 14015, 93, 397, 276, 2686, 13, 405, 5518, 1225, 18, 4210, 13, 288, 225, 309, 14015, 9252, 1225, 18, 2819, 342, 576, 300, 619, 13, 1648, 374, 13, 288, 309, 14015, 92, 300, 1835, 13, 1545, 374, 13, 619, 3947, 1835, 31, 469, 619, 273, 374, 31, 289, 469, 288, 309, 14015, 92, 397, 276, 2384, 397, 1835, 13, 1648, 5518, 1225, 18, 2819, 13, 619, 1011, 276, 2 ]
initInternal(); initDebug(); initApplication(); try { initMapping(); } catch (IOException e) { throw new UnavailableException (internal.getMessage("configIO", config)); }
initInternal(); initDebug(); initApplication(); try { initMapping(); } catch (IOException e) { throw new UnavailableException (internal.getMessage("configIO", config)); }
public void init() throws ServletException { initActions(); initInternal(); initDebug(); initApplication(); try { initMapping(); } catch (IOException e) { throw new UnavailableException (internal.getMessage("configIO", config)); } initUpload(); initDataSources(); initOther(); initServlet(); }
48068 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48068/893cf1f05ff2aed2f868307f45763b5b3bc5a257/ActionServlet.java/buggy/src/share/org/apache/struts/action/ActionServlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1208, 1435, 1216, 16517, 288, 3639, 1208, 6100, 5621, 202, 2738, 3061, 5621, 202, 2738, 2829, 5621, 202, 2738, 3208, 5621, 202, 698, 288, 202, 565, 1208, 3233, 5621, 202, 97, 1044, 261, 14106, 425, 13, 288, 202, 565, 604, 394, 1351, 5699, 503, 202, 202, 12, 7236, 18, 24906, 2932, 1425, 4294, 3113, 642, 10019, 202, 97, 3639, 1208, 4777, 5621, 3639, 1208, 751, 8628, 5621, 202, 2738, 8290, 5621, 3639, 1208, 4745, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1071, 918, 1208, 1435, 1216, 16517, 288, 3639, 1208, 6100, 5621, 202, 2738, 3061, 5621, 202, 2738, 2829, 5621, 202, 2738, 3208, 5621, 202, 698, 288, 202, 565, 1208, 3233, 5621, 202, 97, 1044, 261, 14106, 425, 13, 288, 202, 565, 604, 394, 1351, 5699, 503, 202, 202, 12, 7236, 18, 24906, 2932, 1425, 4294, 3113, 642, 10019, 202, 97, 3639, 1208, 4777, 5621, 3639, 1208, 751, 8628, 5621, 202, 2738, 8290, 5621, 3639, 1208, 4745, 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 ]
public void testBasicInstall() throws Exception { File testPom = new File( getBasedir(), "target/test-classes/unit/basic-install-test/plugin-config.xml" ); InstallMojo mojo = ( InstallMojo ) lookupMojo( "install", testPom ); assertNotNull( mojo ); File file = new File( getBasedir(), "target/test-classes/unit/basic-install-test/target/" + "maven-install-test-1.0-SNAPSHOT.jar" ); artifact = ( InstallArtifactStub ) getVariableValueFromObject( mojo, "artifact" ); artifact.setFile( file ); mojo.execute(); String groupId = dotToSlashReplacer( artifact.getGroupId() ); String packaging = getVariableValueFromObject( mojo, "packaging" ).toString(); File installedArtifact = new File( LOCAL_REPO + groupId + "/" + artifact.getArtifactId() + "/" + artifact.getVersion() + "/" + artifact.getArtifactId() + "-" + artifact.getVersion() + "." + packaging ); assertTrue( installedArtifact.exists() ); }
7444 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7444/8418bae8a2e2b5d810a6bbd594f440caf6afbfad/InstallMojoTest.java/clean/maven-install-plugin/src/test/java/org/apache/maven/plugin/install/InstallMojoTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 1842, 8252, 6410, 1435, 4202, 1216, 1185, 282, 288, 4202, 1387, 1842, 52, 362, 273, 394, 1387, 12, 8297, 1214, 9334, 4766, 315, 3299, 19, 3813, 17, 4701, 19, 4873, 19, 13240, 17, 5425, 17, 3813, 19, 4094, 17, 1425, 18, 2902, 6, 11272, 2868, 10284, 49, 10007, 312, 10007, 273, 261, 10284, 49, 10007, 262, 3689, 49, 10007, 12, 315, 5425, 3113, 1842, 52, 362, 11272, 2868, 25395, 12, 312, 10007, 11272, 4202, 1387, 585, 273, 394, 1387, 12, 8297, 1214, 9334, 17311, 315, 3299, 19, 3813, 17, 4701, 19, 4873, 19, 13240, 17, 5425, 17, 3813, 19, 3299, 4898, 397, 11794, 315, 81, 7638, 17, 5425, 17, 3813, 17, 21, 18, 20, 17, 13653, 31667, 18, 11930, 6, 11272, 2868, 6462, 273, 261, 10284, 7581, 11974, 262, 13522, 620, 29484, 12, 312, 10007, 16, 315, 17706, 6, 11272, 2868, 6462, 18, 542, 812, 12, 585, 11272, 2868, 312, 10007, 18, 8837, 5621, 10792, 514, 6612, 273, 3928, 774, 11033, 30060, 12, 6462, 18, 588, 8722, 1435, 11272, 2868, 514, 2298, 5755, 273, 13522, 620, 29484, 12, 312, 10007, 16, 315, 2920, 5755, 6, 262, 18, 10492, 5621, 2868, 1387, 5876, 7581, 273, 394, 1387, 12, 15234, 67, 862, 2419, 397, 4766, 5411, 6612, 397, 4016, 397, 6462, 18, 588, 7581, 548, 1435, 397, 4016, 397, 4766, 1850, 6462, 18, 588, 1444, 1435, 397, 4016, 397, 6462, 18, 588, 7581, 548, 1435, 397, 7514, 397, 4766, 1850, 6462, 18, 588, 1444, 1435, 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, 565, 1071, 918, 1842, 8252, 6410, 1435, 4202, 1216, 1185, 282, 288, 4202, 1387, 1842, 52, 362, 273, 394, 1387, 12, 8297, 1214, 9334, 4766, 315, 3299, 19, 3813, 17, 4701, 19, 4873, 19, 13240, 17, 5425, 17, 3813, 19, 4094, 17, 1425, 18, 2902, 6, 11272, 2868, 10284, 49, 10007, 312, 10007, 273, 261, 10284, 49, 10007, 262, 3689, 49, 10007, 12, 315, 5425, 3113, 1842, 52, 362, 11272, 2868, 25395, 12, 312, 10007, 11272, 4202, 1387, 585, 273, 394, 1387, 12, 8297, 1214, 9334, 17311, 315, 3299, 19, 3813, 17, 4701, 19, 4873, 19, 13240, 17, 5425, 17, 3813, 19, 3299, 4898, 397, 11794, 315, 81, 7638, 17, 5425, 17, 3813, 17, 21, 18, 20, 17, 13653, 2 ]
for (int i = 0; i < parameters.length; i++) { final PsiType paramType = parameters[i].getType();
for(PsiParameter parameter : parameters){ final PsiType paramType = parameter.getType();
private void addDependenciesForParameters(PsiMethod method) { final PsiParameterList parameterList = method.getParameterList(); final PsiParameter[] parameters = parameterList.getParameters(); for (int i = 0; i < parameters.length; i++) { final PsiType paramType = parameters[i].getType(); addDependency(paramType); } }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/2d46d291193579a7564649b4881c7ea8e02eda5b/CouplingVisitor.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/classmetrics/CouplingVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 527, 8053, 1290, 2402, 12, 52, 7722, 1305, 707, 13, 288, 3639, 727, 453, 7722, 1662, 682, 1569, 682, 273, 707, 18, 588, 1662, 682, 5621, 3639, 727, 453, 7722, 1662, 8526, 1472, 273, 1569, 682, 18, 588, 2402, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1472, 18, 2469, 31, 277, 27245, 288, 5411, 727, 453, 7722, 559, 20781, 273, 1472, 63, 77, 8009, 588, 559, 5621, 5411, 527, 7787, 12, 891, 559, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 3238, 918, 527, 8053, 1290, 2402, 12, 52, 7722, 1305, 707, 13, 288, 3639, 727, 453, 7722, 1662, 682, 1569, 682, 273, 707, 18, 588, 1662, 682, 5621, 3639, 727, 453, 7722, 1662, 8526, 1472, 273, 1569, 682, 18, 588, 2402, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1472, 18, 2469, 31, 277, 27245, 288, 5411, 727, 453, 7722, 559, 20781, 273, 1472, 63, 77, 8009, 588, 559, 5621, 5411, 527, 7787, 12, 891, 559, 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 ]
} else { repos = new RepositoryFinder(project) .find(new SubProgressMonitor(m, 20));
catch (Throwable err) { throw Activator.error( CoreText.ConnectProviderOperation_creating, err); } } else { Activator.trace("Finding existing repositories."); repos.addAll(new RepositoryFinder(project) .find(new SubProgressMonitor(m, 20)));
public void run(IProgressMonitor m) throws CoreException { if (m == null) { m = new NullProgressMonitor(); } m.beginTask(CoreText.ConnectProviderOperation_connecting, 100); try { final Map repos; if (createRepository) { try { final FullRepository db; m.subTask(CoreText.ConnectProviderOperation_creating); GitCorePlugin.traceVerbose("Creating new GIT repository: " + newGitDir); db = new FullRepository(newGitDir); db.create(); db.close(); // If we don't refresh the project directory right now we // won't later know that a .git directory exists within it // and we won't mark the .git directory as a team-private // member. Failure to do so might allow someone to delete // the .git directory without us stopping them. // project.refreshLocal(IResource.DEPTH_ONE, new SubProgressMonitor(m, 10)); repos = new HashMap(); repos.put(project, newGitDir); m.worked(10); } catch (Throwable err) { throw new CoreException(new Status(IStatus.ERROR, GitCorePlugin.getPluginId(), 1, err.getMessage(), err)); } } else { repos = new RepositoryFinder(project) .find(new SubProgressMonitor(m, 20)); } m.subTask(CoreText.ConnectProviderOperation_recordingMapping); GitProjectData projectData = new GitProjectData(); try { projectData.setProject(project); projectData.setRepositoryMappings(repos); projectData.save(); } catch (IOException err) { throw new CoreException(new Status(IStatus.ERROR, GitCorePlugin .getPluginId(), 1, err.getMessage(), err)); } projectData.markTeamPrivateResources(); project.refreshLocal(IResource.DEPTH_INFINITE, new SubProgressMonitor(m, 75)); RepositoryProvider.map(project, GitProvider.class.getName()); } finally { m.done(); } }
45532 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45532/95e2adba28c9a11f01009dd846fb7366bec613c5/ConnectProviderOperation.java/clean/org.spearce.egit.core/src/org/spearce/egit/core/op/ConnectProviderOperation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 12, 45, 5491, 7187, 312, 13, 1216, 30015, 288, 3639, 309, 261, 81, 422, 446, 13, 288, 5411, 312, 273, 394, 4112, 5491, 7187, 5621, 3639, 289, 3639, 312, 18, 10086, 2174, 12, 4670, 1528, 18, 5215, 2249, 2988, 67, 3612, 310, 16, 2130, 1769, 3639, 775, 288, 5411, 727, 1635, 13686, 31, 5411, 309, 261, 2640, 3305, 13, 288, 7734, 775, 288, 10792, 727, 11692, 3305, 1319, 31, 10792, 312, 18, 1717, 2174, 12, 4670, 1528, 18, 5215, 2249, 2988, 67, 23799, 1769, 10792, 6646, 4670, 3773, 18, 5129, 14489, 2932, 11092, 394, 611, 1285, 3352, 30, 315, 18701, 397, 394, 11540, 1621, 1769, 10792, 1319, 273, 394, 11692, 3305, 12, 2704, 11540, 1621, 1769, 10792, 1319, 18, 2640, 5621, 10792, 1319, 18, 4412, 5621, 10792, 368, 971, 732, 2727, 1404, 4460, 326, 1984, 1867, 2145, 2037, 732, 10792, 368, 8462, 1404, 5137, 5055, 716, 279, 263, 6845, 1867, 1704, 3470, 518, 10792, 368, 471, 732, 8462, 1404, 2267, 326, 263, 6845, 1867, 487, 279, 5927, 17, 1152, 10792, 368, 3140, 18, 13436, 358, 741, 1427, 4825, 1699, 18626, 358, 1430, 10792, 368, 326, 263, 6845, 1867, 2887, 584, 17008, 2182, 18, 10792, 368, 10792, 1984, 18, 9144, 2042, 12, 45, 1420, 18, 27479, 67, 5998, 16, 18701, 394, 2592, 5491, 7187, 12, 81, 16, 1728, 10019, 10792, 13686, 273, 394, 4317, 5621, 10792, 13686, 18, 458, 12, 4406, 16, 394, 11540, 1621, 1769, 10792, 312, 18, 1252, 329, 12, 2163, 1769, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 12, 45, 5491, 7187, 312, 13, 1216, 30015, 288, 3639, 309, 261, 81, 422, 446, 13, 288, 5411, 312, 273, 394, 4112, 5491, 7187, 5621, 3639, 289, 3639, 312, 18, 10086, 2174, 12, 4670, 1528, 18, 5215, 2249, 2988, 67, 3612, 310, 16, 2130, 1769, 3639, 775, 288, 5411, 727, 1635, 13686, 31, 5411, 309, 261, 2640, 3305, 13, 288, 7734, 775, 288, 10792, 727, 11692, 3305, 1319, 31, 10792, 312, 18, 1717, 2174, 12, 4670, 1528, 18, 5215, 2249, 2988, 67, 23799, 1769, 10792, 6646, 4670, 3773, 18, 5129, 14489, 2932, 11092, 394, 611, 1285, 3352, 30, 315, 18701, 397, 394, 11540, 1621, 1769, 10792, 1319, 273, 394, 11692, 3305, 12, 2704, 11540, 1621, 2 ]
sessionHandle = DesignEngine.newSession( Locale.ENGLISH);
sessionHandle = DesignEngine.newSession( ULocale.ENGLISH);
public void testDuplicateLibrary( ) throws Exception { openDesign(fileName); LabelHandle labelHandle = (LabelHandle)designHandle.getElementFactory().newLabel("label1"); designHandle.getBody().add( labelHandle ); sessionHandle = DesignEngine.newSession( Locale.ENGLISH); libraryHandle = sessionHandle.createLibrary(); ElementExportUtil.exportElement( labelHandle, libraryHandle, false ); labelHandle.drop(); LabelHandle label2Handle = (LabelHandle)designHandle.getElementFactory().newLabel("label1"); designHandle.getBody().add( label2Handle ); try { ElementExportUtil.exportElement( label2Handle, libraryHandle, false ); } catch(Exception e) { assertNotNull(e); } }
58644 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58644/bc2117a51472c9631803fa1f26c58ab34da73d07/LibraryCreateTest.java/clean/plugins/org.eclipse.birt.report.tests.model/src/org/eclipse/birt/report/tests/model/api/LibraryCreateTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 11826, 9313, 12, 262, 1216, 1185, 202, 95, 202, 202, 3190, 15478, 12, 17812, 1769, 202, 202, 2224, 3259, 1433, 3259, 273, 261, 2224, 3259, 13, 16934, 3259, 18, 21336, 1733, 7675, 2704, 2224, 2932, 1925, 21, 8863, 202, 202, 16934, 3259, 18, 588, 2250, 7675, 1289, 12, 1433, 3259, 11272, 9506, 202, 3184, 3259, 273, 29703, 4410, 18, 2704, 2157, 12, 6458, 18, 16324, 13462, 1769, 202, 202, 12083, 3259, 273, 1339, 3259, 18, 2640, 9313, 5621, 9506, 202, 1046, 6144, 1304, 18, 6530, 1046, 12, 1433, 3259, 16, 5313, 3259, 16, 629, 11272, 9506, 202, 1925, 3259, 18, 7285, 5621, 9506, 202, 2224, 3259, 1433, 22, 3259, 273, 261, 2224, 3259, 13, 16934, 3259, 18, 21336, 1733, 7675, 2704, 2224, 2932, 1925, 21, 8863, 202, 202, 16934, 3259, 18, 588, 2250, 7675, 1289, 12, 1433, 22, 3259, 11272, 9506, 202, 698, 202, 202, 95, 202, 202, 1046, 6144, 1304, 18, 6530, 1046, 12, 1433, 22, 3259, 16, 5313, 3259, 16, 629, 11272, 202, 202, 97, 202, 202, 14683, 12, 503, 425, 13, 202, 202, 95, 1082, 202, 11231, 5962, 12, 73, 1769, 202, 202, 97, 6862, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 482, 918, 1842, 11826, 9313, 12, 262, 1216, 1185, 202, 95, 202, 202, 3190, 15478, 12, 17812, 1769, 202, 202, 2224, 3259, 1433, 3259, 273, 261, 2224, 3259, 13, 16934, 3259, 18, 21336, 1733, 7675, 2704, 2224, 2932, 1925, 21, 8863, 202, 202, 16934, 3259, 18, 588, 2250, 7675, 1289, 12, 1433, 3259, 11272, 9506, 202, 3184, 3259, 273, 29703, 4410, 18, 2704, 2157, 12, 6458, 18, 16324, 13462, 1769, 202, 202, 12083, 3259, 273, 1339, 3259, 18, 2640, 9313, 5621, 9506, 202, 1046, 6144, 1304, 18, 6530, 1046, 12, 1433, 3259, 16, 5313, 3259, 16, 629, 11272, 9506, 202, 1925, 3259, 18, 7285, 5621, 9506, 202, 2224, 3259, 1433, 22, 3259, 273, 261, 2224, 3259, 13, 2 ]
AST tmp2341_AST_in = (AST)_t;
AST tmp2340_AST_in = (AST)_t;
public final void radiosetphrase(AST _t) throws RecognitionException { AST radiosetphrase_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t1816 = _t; AST tmp2329_AST_in = (AST)_t; match(_t,RADIOSET); _t = _t.getFirstChild(); { _loop1828: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case HORIZONTAL: { AST __t1818 = _t; AST tmp2330_AST_in = (AST)_t; match(_t,HORIZONTAL); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EXPAND: { AST tmp2331_AST_in = (AST)_t; match(_t,EXPAND); _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t1818; _t = _t.getNextSibling(); break; } case VERTICAL: { AST tmp2332_AST_in = (AST)_t; match(_t,VERTICAL); _t = _t.getNextSibling(); break; } case SIZE: case SIZECHARS: case SIZEPIXELS: { { sizephrase(_t); _t = _retTree; } break; } case RADIOBUTTONS: { AST __t1821 = _t; AST tmp2333_AST_in = (AST)_t; match(_t,RADIOBUTTONS); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case QSTRING: { AST tmp2334_AST_in = (AST)_t; match(_t,QSTRING); _t = _t.getNextSibling(); break; } case UNQUOTEDSTRING: { AST tmp2335_AST_in = (AST)_t; match(_t,UNQUOTEDSTRING); _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } } AST tmp2336_AST_in = (AST)_t; match(_t,COMMA); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LEXDATE: case NUMBER: case QSTRING: case BIGENDIAN: case EXCLUSIVELOCK: case FALSE_KW: case FINDCASESENSITIVE: case FINDGLOBAL: case FINDNEXTOCCURRENCE: case FINDPREVOCCURRENCE: case FINDSELECT: case FINDWRAPAROUND: case HOSTBYTEORDER: case LITTLEENDIAN: case NO: case NOLOCK: case NOWAIT: case NULL_KW: case READAVAILABLE: case READEXACTNUM: case SEARCHSELF: case SEARCHTARGET: case SHARELOCK: case TRUE_KW: case WINDOWDELAYEDMINIMIZE: case WINDOWMAXIMIZED: case WINDOWMINIMIZED: case WINDOWNORMAL: case YES: case UNKNOWNVALUE: case FUNCTIONCALLTYPE: case GETATTRCALLTYPE: case PROCEDURECALLTYPE: case SAXCOMPLETE: case SAXPARSERERROR: case SAXRUNNING: case SAXUNINITIALIZED: case SETATTRCALLTYPE: case ROWUNMODIFIED: case ROWDELETED: case ROWMODIFIED: case ROWCREATED: { constant(_t); _t = _retTree; break; } case TODAY: { AST tmp2337_AST_in = (AST)_t; match(_t,TODAY); _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } } { _loop1827: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==COMMA)) { AST tmp2338_AST_in = (AST)_t; match(_t,COMMA); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case QSTRING: { AST tmp2339_AST_in = (AST)_t; match(_t,QSTRING); _t = _t.getNextSibling(); break; } case UNQUOTEDSTRING: { AST tmp2340_AST_in = (AST)_t; match(_t,UNQUOTEDSTRING); _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } } AST tmp2341_AST_in = (AST)_t; match(_t,COMMA); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LEXDATE: case NUMBER: case QSTRING: case BIGENDIAN: case EXCLUSIVELOCK: case FALSE_KW: case FINDCASESENSITIVE: case FINDGLOBAL: case FINDNEXTOCCURRENCE: case FINDPREVOCCURRENCE: case FINDSELECT: case FINDWRAPAROUND: case HOSTBYTEORDER: case LITTLEENDIAN: case NO: case NOLOCK: case NOWAIT: case NULL_KW: case READAVAILABLE: case READEXACTNUM: case SEARCHSELF: case SEARCHTARGET: case SHARELOCK: case TRUE_KW: case WINDOWDELAYEDMINIMIZE: case WINDOWMAXIMIZED: case WINDOWMINIMIZED: case WINDOWNORMAL: case YES: case UNKNOWNVALUE: case FUNCTIONCALLTYPE: case GETATTRCALLTYPE: case PROCEDURECALLTYPE: case SAXCOMPLETE: case SAXPARSERERROR: case SAXRUNNING: case SAXUNINITIALIZED: case SETATTRCALLTYPE: case ROWUNMODIFIED: case ROWDELETED: case ROWMODIFIED: case ROWCREATED: { constant(_t); _t = _retTree; break; } case TODAY: { AST tmp2342_AST_in = (AST)_t; match(_t,TODAY); _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } } } else { break _loop1827; } } while (true); } _t = __t1821; _t = _t.getNextSibling(); break; } case TOOLTIP: { tooltip_expr(_t); _t = _retTree; break; } default: { break _loop1828; } } } while (true); } _t = __t1816; _t = _t.getNextSibling(); _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/041a16c78289f1c3ae5e575d3edc5e893a658e50/JPTreeParser.java/buggy/trunk/org.prorefactor.core/src/org/prorefactor/treeparserbase/JPTreeParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 12094, 538, 278, 9429, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 12094, 538, 278, 9429, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 2643, 2313, 273, 389, 88, 31, 202, 202, 9053, 1853, 22, 1578, 29, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 28829, 4294, 4043, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 67, 6498, 2643, 6030, 30, 202, 202, 2896, 288, 1082, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 1082, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 1082, 202, 3593, 24606, 30, 1082, 202, 95, 9506, 202, 9053, 1001, 88, 2643, 2643, 273, 389, 88, 31, 9506, 202, 9053, 1853, 31026, 20, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 9506, 202, 1916, 24899, 88, 16, 44, 20344, 1769, 9506, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 9506, 202, 95, 9506, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 9506, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 9506, 202, 3593, 22615, 4307, 30, 9506, 202, 95, 6862, 202, 9053, 1853, 31026, 21, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 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, 12094, 538, 278, 9429, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 12094, 538, 278, 9429, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 2643, 2313, 273, 389, 88, 31, 202, 202, 9053, 1853, 22, 1578, 29, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 28829, 4294, 4043, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 67, 6498, 2643, 6030, 30, 202, 202, 2896, 288, 1082, 202, 430, 261, 67, 88, 631, 2011, 13, 2 ]
profile.addEvalProperties( profileXmlProfile.getProperties() );
profile.setProperties( profileXmlProfile.getProperties() );
public static Profile convertFromProfileXmlProfile( org.apache.maven.profiles.Profile profileXmlProfile ) { Profile profile = new Profile(); profile.setSource( "profiles.xml" ); org.apache.maven.profiles.Activation profileActivation = profileXmlProfile.getActivation(); if ( profileActivation != null ) { Activation activation = new Activation(); activation.setJdk( profileActivation.getJdk() ); org.apache.maven.profiles.ActivationProperty profileProp = profileActivation.getProperty(); if ( profileProp != null ) { ActivationProperty prop = new ActivationProperty(); prop.setName( profileProp.getName() ); prop.setValue( profileProp.getValue() ); activation.setProperty( prop ); } profile.setActivation( activation ); } else { profile.setActivation( new AlwaysOnActivation() ); } profile.addEvalProperties( profileXmlProfile.getProperties() ); List repos = profileXmlProfile.getRepositories(); if ( repos != null ) { for ( Iterator it = repos.iterator(); it.hasNext(); ) { profile .addRepository( convertFromSettingsRepository( (org.apache.maven.settings.Repository) it.next() ) ); } } List pluginRepos = profileXmlProfile.getPluginRepositories(); if ( pluginRepos != null ) { for ( Iterator it = pluginRepos.iterator(); it.hasNext(); ) { profile.addPluginRepository( convertFromSettingsRepository( (org.apache.maven.settings.Repository) it .next() ) ); } } return profile; }
47160 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47160/8a257be6fcf001140fac24fe02bfec429b5b1ce1/ModelNormalizationUtils.java/clean/maven-core/src/main/java/org/apache/maven/model/ModelNormalizationUtils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 11357, 1765, 1265, 4029, 4432, 4029, 12, 2358, 18, 19211, 18, 81, 7638, 18, 18314, 18, 4029, 3042, 4432, 4029, 262, 565, 288, 3639, 11357, 3042, 273, 394, 11357, 5621, 7734, 3042, 18, 542, 1830, 12, 315, 18314, 18, 2902, 6, 11272, 3639, 2358, 18, 19211, 18, 81, 7638, 18, 18314, 18, 14857, 3042, 14857, 273, 3042, 4432, 4029, 18, 588, 14857, 5621, 3639, 309, 261, 3042, 14857, 480, 446, 262, 3639, 288, 5411, 26015, 10027, 273, 394, 26015, 5621, 5411, 10027, 18, 542, 46, 2883, 12, 3042, 14857, 18, 588, 46, 2883, 1435, 11272, 5411, 2358, 18, 19211, 18, 81, 7638, 18, 18314, 18, 14857, 1396, 3042, 4658, 273, 3042, 14857, 18, 588, 1396, 5621, 5411, 309, 261, 3042, 4658, 480, 446, 262, 5411, 288, 7734, 26015, 1396, 2270, 273, 394, 26015, 1396, 5621, 7734, 2270, 18, 542, 461, 12, 3042, 4658, 18, 17994, 1435, 11272, 7734, 2270, 18, 542, 620, 12, 3042, 4658, 18, 24805, 1435, 11272, 7734, 10027, 18, 542, 1396, 12, 2270, 11272, 5411, 289, 13491, 3042, 18, 542, 14857, 12, 10027, 11272, 3639, 289, 3639, 469, 3639, 288, 5411, 3042, 18, 542, 14857, 12, 394, 14178, 1398, 14857, 1435, 11272, 3639, 289, 7734, 3042, 18, 542, 2297, 12, 3042, 4432, 4029, 18, 588, 2297, 1435, 11272, 3639, 987, 13686, 273, 3042, 4432, 4029, 18, 588, 18429, 5621, 3639, 309, 261, 13686, 480, 446, 262, 3639, 288, 5411, 364, 261, 4498, 518, 273, 13686, 18, 9838, 5621, 518, 18, 5332, 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, 11357, 1765, 1265, 4029, 4432, 4029, 12, 2358, 18, 19211, 18, 81, 7638, 18, 18314, 18, 4029, 3042, 4432, 4029, 262, 565, 288, 3639, 11357, 3042, 273, 394, 11357, 5621, 7734, 3042, 18, 542, 1830, 12, 315, 18314, 18, 2902, 6, 11272, 3639, 2358, 18, 19211, 18, 81, 7638, 18, 18314, 18, 14857, 3042, 14857, 273, 3042, 4432, 4029, 18, 588, 14857, 5621, 3639, 309, 261, 3042, 14857, 480, 446, 262, 3639, 288, 5411, 26015, 10027, 273, 394, 26015, 5621, 5411, 10027, 18, 542, 46, 2883, 12, 3042, 14857, 18, 588, 46, 2883, 1435, 11272, 5411, 2358, 18, 19211, 18, 81, 7638, 18, 18314, 18, 14857, 1396, 3042, 4658, 273, 3042, 14857, 18, 588, 1396, 5621, 2 ]
Mouse.poll();
private static void mainLoop() { angle += 1f; if (angle > 360.0f) angle = 0.0f; Mouse.poll(); if (Mouse.getDX() != 0 || Mouse.getDY() != 0 || Mouse.getDWheel() != 0) System.out.println("Mouse moved " + Mouse.getDX() + " " + Mouse.getDY() + " " + Mouse.getDWheel()); for (int i = 0; i < Mouse.getButtonCount(); i++) if (Mouse.isButtonDown(i)) System.out.println("Button " + i + " down");/* Keyboard.poll(); if (Keyboard.isKeyDown(Keyboard.KEY_ESCAPE)) finished = true;*/ Keyboard.read(); for (int i = 0; i < Keyboard.getNumKeyboardEvents(); i++) { Keyboard.next(); if (Keyboard.getEventKey() == Keyboard.KEY_ESCAPE && Keyboard.getEventKeyState()) finished = true; if (Keyboard.getEventKey() == Keyboard.KEY_T && Keyboard.getEventKeyState()) System.out.println("Current time: " + Sys.getTime()); } }
5076 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5076/afb8491cfa1301023ffc16f5a9cd2c3c4a5b70fa/VBOTest.java/clean/src/java/org/lwjgl/test/opengl/VBOTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1377, 3238, 760, 918, 2774, 6452, 1435, 288, 540, 5291, 1011, 404, 74, 31, 540, 309, 261, 4341, 405, 12360, 18, 20, 74, 13, 2398, 5291, 273, 374, 18, 20, 74, 31, 7734, 309, 261, 9186, 18, 588, 28826, 1435, 480, 374, 747, 17013, 18, 588, 40, 61, 1435, 480, 374, 747, 17013, 18, 588, 40, 59, 11648, 1435, 480, 374, 13, 5411, 2332, 18, 659, 18, 8222, 2932, 9186, 10456, 315, 397, 17013, 18, 588, 28826, 1435, 397, 315, 315, 397, 17013, 18, 588, 40, 61, 1435, 397, 315, 315, 397, 17013, 18, 588, 40, 59, 11648, 10663, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 17013, 18, 588, 3616, 1380, 5621, 277, 27245, 5411, 309, 261, 9186, 18, 291, 3616, 4164, 12, 77, 3719, 7734, 2332, 18, 659, 18, 8222, 2932, 3616, 315, 397, 277, 397, 315, 2588, 8863, 20308, 3639, 16535, 18, 13835, 5621, 540, 309, 261, 17872, 18, 291, 653, 4164, 12, 17872, 18, 3297, 67, 24849, 3719, 2398, 6708, 273, 638, 31, 5549, 3639, 16535, 18, 896, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 16535, 18, 588, 2578, 17872, 3783, 5621, 277, 27245, 288, 5411, 16535, 18, 4285, 5621, 5411, 309, 261, 17872, 18, 588, 1133, 653, 1435, 422, 16535, 18, 3297, 67, 24849, 597, 16535, 18, 588, 1133, 653, 1119, 10756, 7734, 6708, 273, 638, 31, 5411, 309, 261, 17872, 18, 588, 1133, 653, 1435, 422, 16535, 18, 3297, 67, 56, 597, 16535, 18, 588, 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, 1377, 3238, 760, 918, 2774, 6452, 1435, 288, 540, 5291, 1011, 404, 74, 31, 540, 309, 261, 4341, 405, 12360, 18, 20, 74, 13, 2398, 5291, 273, 374, 18, 20, 74, 31, 7734, 309, 261, 9186, 18, 588, 28826, 1435, 480, 374, 747, 17013, 18, 588, 40, 61, 1435, 480, 374, 747, 17013, 18, 588, 40, 59, 11648, 1435, 480, 374, 13, 5411, 2332, 18, 659, 18, 8222, 2932, 9186, 10456, 315, 397, 17013, 18, 588, 28826, 1435, 397, 315, 315, 397, 17013, 18, 588, 40, 61, 1435, 397, 315, 315, 397, 17013, 18, 588, 40, 59, 11648, 10663, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 17013, 18, 588, 3616, 1380, 5621, 277, 27245, 5411, 309, 2 ]
Template template = templateEngine.createTemplate(new File("src/grails/templates/grails-app/views/scaffolding/java.lang.Boolean.template"));
Template template = templateEngine.createTemplate(new File("src/grails/templates/grails-app/views/scaffolding/java.lang.Boolean.gsp"));
public void testBooleanTemplate() throws Exception { SimpleTemplateEngine templateEngine = new SimpleTemplateEngine(); Template template = templateEngine.createTemplate(new File("src/grails/templates/grails-app/views/scaffolding/java.lang.Boolean.template")); Map binding = new HashMap(); binding.put("name", "testBoolean"); binding.put("value", new Boolean(true)); binding.put("constraints", null); Document xml = DocumentHelper.parseText(template.make(binding).toString()); assertEquals("input",xml.getRootElement().getName()); assertEquals("checkbox",xml.getRootElement().attributeValue("type")); assertEquals("testBoolean",xml.getRootElement().attributeValue("name")); assertEquals("true",xml.getRootElement().attributeValue("value")); assertEquals("checked",xml.getRootElement().attributeValue("checked")); binding.put("value", new Boolean(false)); xml = DocumentHelper.parseText(template.make(binding).toString()); assertEquals("input",xml.getRootElement().getName()); assertEquals("checkbox",xml.getRootElement().attributeValue("type")); assertEquals("testBoolean",xml.getRootElement().attributeValue("name")); assertEquals("false",xml.getRootElement().attributeValue("value")); assertEquals(null,xml.getRootElement().attributeValue("checked")); }
46315 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46315/170cbca8dc5aff32646511808fc9564a95ef1465/ScaffoldTemplateTests.java/buggy/grails/test/scaffolding/org/codehaus/groovy/grails/scaffolding/ScaffoldTemplateTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 5507, 2283, 1435, 1216, 1185, 288, 3639, 4477, 2283, 4410, 1542, 4410, 273, 394, 4477, 2283, 4410, 5621, 3639, 5035, 1542, 273, 1542, 4410, 18, 2640, 2283, 12, 2704, 1387, 2932, 4816, 19, 2752, 14573, 19, 8502, 19, 2752, 14573, 17, 2910, 19, 7061, 19, 31105, 310, 19, 6290, 18, 4936, 18, 5507, 18, 564, 84, 7923, 1769, 3639, 1635, 5085, 273, 394, 4317, 5621, 3639, 5085, 18, 458, 2932, 529, 3113, 315, 3813, 5507, 8863, 3639, 5085, 18, 458, 2932, 1132, 3113, 394, 3411, 12, 3767, 10019, 3639, 5085, 18, 458, 2932, 11967, 3113, 446, 1769, 3639, 4319, 2025, 273, 4319, 2276, 18, 2670, 1528, 12, 3202, 18, 6540, 12, 7374, 2934, 10492, 10663, 3639, 1815, 8867, 2932, 2630, 3113, 2902, 18, 588, 2375, 1046, 7675, 17994, 10663, 3639, 1815, 8867, 2932, 12017, 3113, 2902, 18, 588, 2375, 1046, 7675, 4589, 620, 2932, 723, 7923, 1769, 3639, 1815, 8867, 2932, 3813, 5507, 3113, 2902, 18, 588, 2375, 1046, 7675, 4589, 620, 2932, 529, 7923, 1769, 3639, 1815, 8867, 2932, 3767, 3113, 2902, 18, 588, 2375, 1046, 7675, 4589, 620, 2932, 1132, 7923, 1769, 3639, 1815, 8867, 2932, 4532, 3113, 2902, 18, 588, 2375, 1046, 7675, 4589, 620, 2932, 4532, 7923, 1769, 3639, 5085, 18, 458, 2932, 1132, 3113, 394, 3411, 12, 5743, 10019, 3639, 2025, 273, 4319, 2276, 18, 2670, 1528, 12, 3202, 18, 6540, 12, 7374, 2934, 10492, 10663, 3639, 1815, 8867, 2932, 2630, 3113, 2902, 18, 588, 2375, 1046, 7675, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 5507, 2283, 1435, 1216, 1185, 288, 3639, 4477, 2283, 4410, 1542, 4410, 273, 394, 4477, 2283, 4410, 5621, 3639, 5035, 1542, 273, 1542, 4410, 18, 2640, 2283, 12, 2704, 1387, 2932, 4816, 19, 2752, 14573, 19, 8502, 19, 2752, 14573, 17, 2910, 19, 7061, 19, 31105, 310, 19, 6290, 18, 4936, 18, 5507, 18, 564, 84, 7923, 1769, 3639, 1635, 5085, 273, 394, 4317, 5621, 3639, 5085, 18, 458, 2932, 529, 3113, 315, 3813, 5507, 8863, 3639, 5085, 18, 458, 2932, 1132, 3113, 394, 3411, 12, 3767, 10019, 3639, 5085, 18, 458, 2932, 11967, 3113, 446, 1769, 3639, 4319, 2025, 273, 4319, 2276, 18, 2670, 1528, 12, 3202, 18, 6540, 12, 7374, 2934, 10492, 10663, 2 ]
instanceData.clearValidationErrors();
instanceData.clearComputedExpressionBinds(); } }); } applyBinds(new BindRunner() { public void applyBind(ModelBind modelBind, DocumentWrapper documentWrapper) { handleCalculateBind(pipelineContext, modelBind, documentWrapper, this); } }); applyComputedExpressionBinds(pipelineContext); if (xformsRecalculateEvent.isSendEvents() && xformsContainingDocument.getXFormsControls() != null) { final XFormsControls xformsControls = xformsContainingDocument.getXFormsControls(); for (Iterator i = instances.iterator(); i.hasNext();) { XFormsUtils.updateInstanceData(((XFormsInstance) i.next()).getDocument(), new XFormsUtils.InstanceWalker() { public void walk(Node node, InstanceData instanceData) { { final boolean previousRequiredState = instanceData.getPreviousRequiredState(); final boolean newRequiredState = instanceData.getRequired().get(); if (previousRequiredState && !newRequiredState) { xformsControls.dispatchEvent(pipelineContext, new XFormsOptionalEvent(node)); } else if (!previousRequiredState && newRequiredState) { xformsControls.dispatchEvent(pipelineContext, new XFormsRequiredEvent(node)); } } { final boolean previousRelevantState = instanceData.getPreviousRelevantState(); final boolean newRelevantState = instanceData.getRelevant().get(); if (previousRelevantState && !newRelevantState) { xformsControls.dispatchEvent(pipelineContext, new XFormsDisabledEvent(node)); } else if (!previousRelevantState && newRelevantState) { xformsControls.dispatchEvent(pipelineContext, new XFormsEnabledEvent(node)); } } { final boolean previousReadonlyState = instanceData.getPreviousReadonlyState(); final boolean newReadonlyState = instanceData.getReadonly().get(); if (previousReadonlyState && !newReadonlyState) { xformsControls.dispatchEvent(pipelineContext, new XFormsReadwriteEvent(node)); } else if (!previousReadonlyState && newReadonlyState) { xformsControls.dispatchEvent(pipelineContext, new XFormsReadonlyEvent(node)); } } } }); } } } else if (XFormsEvents.XFORMS_REVALIDATE.equals(eventName)) { final XFormsRevalidateEvent xformsRevalidateEvent = (XFormsRevalidateEvent) xformsEvent; for (Iterator i = instances.iterator(); i.hasNext();) { XFormsUtils.updateInstanceData(((XFormsInstance) i.next()).getDocument(), new XFormsUtils.InstanceWalker() { public void walk(Node node, InstanceData instanceData) { if (instanceData != null) instanceData.clearValidationBinds();
public void dispatchEvent(final PipelineContext pipelineContext, XFormsEvent xformsEvent) { final String eventName = xformsEvent.getEventName(); if (XFormsEvents.XXFORMS_INITIALIZE_STATE.equals(eventName)) { // Internal event to restore state loadSchemasIfNeeded(pipelineContext); applyRelevantReadonlyBinds(pipelineContext); dispatchEvent(pipelineContext, new XFormsRevalidateEvent(this, false)); } else if (XFormsEvents.XFORMS_MODEL_CONSTRUCT.equals(eventName)) { // 4.2.1 The xforms-model-construct Event // Bubbles: Yes / Cancelable: No / Context Info: None final Element modelElement = modelDocument.getRootElement(); // 1. All XML Schemas loaded (throws xforms-link-exception) // TODO: support multiple schemas // Get schema URI loadSchemasIfNeeded(pipelineContext); // TODO: throw exception event // 2. Create XPath data model from instance (inline or external) (throws xforms-link-exception) // Instance may not be specified. // TODO: support external instance if (instances == null) { // Build initial instance document List instanceContainers = modelElement.elements(new QName("instance", XFormsConstants.XFORMS_NAMESPACE)); if (instanceContainers.size() > 0) { // Support multiple instances int instancePosition = 0; for (Iterator i = instanceContainers.iterator(); i.hasNext(); instancePosition++) { Element instanceContainer = (Element) i.next(); Document instanceDocument = Dom4jUtils.createDocumentCopyParentNamespaces((Element) instanceContainer.elements().get(0)); setInstanceDocument(pipelineContext, instancePosition, instanceDocument); } } } // TODO: throw exception event // Call special listener to update instance if (instanceConstructListener != null) { for (Iterator i = getInstances().iterator(); i.hasNext();) { instanceConstructListener.updateInstance((XFormsInstance) i.next()); } } // 3. P3P (N/A) // 4. Instance data is constructed. Evaluate binds: // a. Evaluate nodeset // b. Apply model item properties on nodes // c. Throws xforms-binding-exception if the node has already model item property with same name // TODO: a, b, c xxx // 5. xforms-rebuild, xforms-recalculate, xforms-revalidate dispatchEvent(pipelineContext, new XFormsRebuildEvent(this)); dispatchEvent(pipelineContext, new XFormsRecalculateEvent(this)); dispatchEvent(pipelineContext, new XFormsRevalidateEvent(this, false)); } else if (XFormsEvents.XFORMS_MODEL_CONSTRUCT_DONE.equals(eventName)) { // 4.2.2 The xforms-model-construct-done Event // Bubbles: Yes / Cancelable: No / Context Info: None // TODO: if instance exists (for now it does!), check that controls can bind, otherwise control must be "irrelevant" // TODO: implicit lazy instance construction } else if (XFormsEvents.XFORMS_READY.equals(eventName)) { // 4.2.3 The xforms-ready Event // Bubbles: Yes / Cancelable: No / Context Info: None // The default action for this event results in the following: None } else if (XFormsEvents.XFORMS_MODEL_DESTRUCT.equals(eventName)) { // 4.2.4 The xforms-model-destruct Event // Bubbles: No / Cancelable: No / Context Info: None // The default action for this event results in the following: None } else if (XFormsEvents.XFORMS_REBUILD.equals(eventName)) { // 4.3.7 The xforms-rebuild Event // Bubbles: Yes / Cancelable: Yes / Context Info: None // TODO: rebuild computational dependency data structures } else if (XFormsEvents.XFORMS_RECALCULATE.equals(eventName)) { // 4.3.6 The xforms-recalculate Event // Bubbles: Yes / Cancelable: Yes / Context Info: None applyBinds(new BindRunner() { public void applyBind(ModelBind modelBind, DocumentWrapper documentWrapper) { handleCalculateBind(pipelineContext, modelBind, documentWrapper, this); } }); // Here we assume that we update those after recaculate, because recalculate is always // called after values are changed in the instance - may have to be changed... applyRelevantReadonlyBinds(pipelineContext); } else if (XFormsEvents.XFORMS_REVALIDATE.equals(eventName)) { // 4.3.5 The xforms-revalidate Event // Bubbles: Yes / Cancelable: Yes / Context Info: None XFormsRevalidateEvent xformsRevalidateEvent = (XFormsRevalidateEvent) xformsEvent; // Clear all existing errors on instance for (Iterator i = instances.iterator(); i.hasNext();) { XFormsUtils.updateInstanceData(((XFormsInstance) i.next()).getDocument(), new XFormsUtils.InstanceWalker() { public void walk(Node node, InstanceData instanceData) { if (instanceData != null) instanceData.clearValidationErrors(); } }); } // Run validation applySchemasIfNeeded(); applyBinds(new BindRunner() { public void applyBind(ModelBind modelBind, DocumentWrapper documentWrapper) { handleValidationBind(pipelineContext, modelBind, documentWrapper, this); } }); // Send events if needed if (xformsRevalidateEvent.isSendEvents() && xformsContainingDocument.getXFormsControls() != null) { final XFormsControls xformsControls = xformsContainingDocument.getXFormsControls(); for (Iterator i = instances.iterator(); i.hasNext();) { XFormsUtils.updateInstanceData(((XFormsInstance) i.next()).getDocument(), new XFormsUtils.InstanceWalker() { public void walk(Node node, InstanceData instanceData) { // Dispatch xforms-valid/xforms-invalid { final boolean previousValidState = instanceData.getPreviousValidState(); final boolean newValidState = instanceData.getValid().get(); if (previousValidState && !newValidState) { xformsControls.dispatchEvent(pipelineContext, new XFormsInvalidEvent(node)); } else if (!previousValidState && newValidState) { xformsControls.dispatchEvent(pipelineContext, new XFormsValidEvent(node)); } } // Dispatch xforms-optional/xforms-required { final boolean previousRequiredState = instanceData.getPreviousRequiredState(); final boolean newRequiredState = instanceData.getRequired().get(); if (previousRequiredState && !newRequiredState) { xformsControls.dispatchEvent(pipelineContext, new XFormsOptionalEvent(node)); } else if (!previousRequiredState && newRequiredState) { xformsControls.dispatchEvent(pipelineContext, new XFormsRequiredEvent(node)); } } } }); } } } else if (XFormsEvents.XFORMS_REFRESH.equals(eventName)) { // 4.3.4 The xforms-refresh Event // Bubbles: Yes / Cancelable: Yes / Context Info: None // Must ask controls to refresh for this model if (xformsContainingDocument.getXFormsControls() != null) { xformsContainingDocument.getXFormsControls().refreshForModel(pipelineContext, this); } } else if (XFormsEvents.XFORMS_RESET.equals(eventName)) { // 4.3.8 The xforms-reset Event // Bubbles: Yes / Cancelable: Yes / Context Info: None // TODO // "The instance data is reset to the tree structure and values it had immediately // after having processed the xforms-ready event." // "Then, the events xforms-rebuild, xforms-recalculate, xforms-revalidate and // xforms-refresh are dispatched to the model element in sequence." dispatchEvent(pipelineContext, new XFormsRebuildEvent(XFormsModel.this)); dispatchEvent(pipelineContext, new XFormsRecalculateEvent(XFormsModel.this)); dispatchEvent(pipelineContext, new XFormsRevalidateEvent(XFormsModel.this, true)); dispatchEvent(pipelineContext, new XFormsRefreshEvent(XFormsModel.this)); } else if (XFormsEvents.XFORMS_LINK_ERROR.equals(eventName)) { // 4.5.2 The xforms-link-error Event // Bubbles: Yes / Cancelable: No / Context Info: The URI that failed to load (xsd:anyURI) //callEventHandlers(pipelineContext, xformsEvent, eventName, xformsEvent.getControlElement()); // The default action for this event results in the following: None; notification event only. //XFormsLinkError xFormsLinkError = (XFormsLinkError) xformsEvent; // TODO } else if (XFormsEvents.XFORMS_COMPUTE_EXCEPTION.equals(eventName)) { // 4.5.4 The xforms-compute-exception Event // Bubbles: Yes / Cancelable: No / Context Info: Implementation-specific error string. // The default action for this event results in the following: Fatal error. // TODO } else { throw new OXFException("Invalid event dispatched: " + eventName); } }
57229 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57229/a8e0c5e75c57ce205d16fdbfbec060ace1f2b15f/XFormsModel.java/clean/src/java/org/orbeon/oxf/xforms/XFormsModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 15678, 12, 6385, 13671, 1042, 5873, 1042, 16, 1139, 18529, 1133, 619, 9741, 1133, 13, 288, 3639, 727, 514, 7933, 273, 619, 9741, 1133, 18, 588, 24320, 5621, 3639, 309, 261, 60, 18529, 3783, 18, 5619, 4983, 55, 67, 28497, 15641, 67, 7998, 18, 14963, 12, 2575, 461, 3719, 288, 5411, 368, 3186, 871, 358, 5217, 919, 5411, 1262, 16749, 18299, 12, 14511, 1042, 1769, 5411, 2230, 17018, 7445, 1994, 3700, 17856, 12, 14511, 1042, 1769, 5411, 15678, 12, 14511, 1042, 16, 394, 1139, 18529, 426, 5662, 1133, 12, 2211, 16, 629, 10019, 3639, 289, 469, 309, 261, 60, 18529, 3783, 18, 60, 4983, 55, 67, 17391, 67, 26935, 18, 14963, 12, 2575, 461, 3719, 288, 5411, 368, 1059, 18, 22, 18, 21, 1021, 619, 9741, 17, 2284, 17, 10062, 2587, 5411, 368, 605, 22298, 1040, 30, 19925, 342, 10347, 429, 30, 2631, 342, 1772, 3807, 30, 599, 5411, 727, 3010, 938, 1046, 273, 938, 2519, 18, 588, 2375, 1046, 5621, 5411, 368, 404, 18, 4826, 3167, 348, 7753, 4203, 261, 15069, 619, 9741, 17, 1232, 17, 4064, 13, 5411, 368, 2660, 30, 2865, 3229, 12783, 5411, 368, 968, 1963, 3699, 5411, 1262, 16749, 18299, 12, 14511, 1042, 1769, 5411, 368, 2660, 30, 604, 1520, 871, 5411, 368, 576, 18, 1788, 10172, 501, 938, 628, 791, 261, 10047, 578, 3903, 13, 261, 15069, 619, 9741, 17, 1232, 17, 4064, 13, 5411, 368, 565, 5180, 2026, 486, 506, 1269, 18, 5411, 368, 2660, 30, 2865, 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, 15678, 12, 6385, 13671, 1042, 5873, 1042, 16, 1139, 18529, 1133, 619, 9741, 1133, 13, 288, 3639, 727, 514, 7933, 273, 619, 9741, 1133, 18, 588, 24320, 5621, 3639, 309, 261, 60, 18529, 3783, 18, 5619, 4983, 55, 67, 28497, 15641, 67, 7998, 18, 14963, 12, 2575, 461, 3719, 288, 5411, 368, 3186, 871, 358, 5217, 919, 5411, 1262, 16749, 18299, 12, 14511, 1042, 1769, 5411, 2230, 17018, 7445, 1994, 3700, 17856, 12, 14511, 1042, 1769, 5411, 15678, 12, 14511, 1042, 16, 394, 1139, 18529, 426, 5662, 1133, 12, 2211, 16, 629, 10019, 3639, 289, 469, 309, 261, 60, 18529, 3783, 18, 60, 4983, 55, 67, 17391, 67, 26935, 18, 14963, 12, 2575, 461, 3719, 288, 2 ]
RubyThread[] rubyThreads = new RubyThread[rtList.size()]; rtList.toArray(rubyThreads); return rubyThreads;
public synchronized RubyThread[] getActiveRubyThreads() { // all threads in ruby thread group plus main thread List rtList = new ArrayList(rubyThreadList.size()); for (Iterator iter = rubyThreadList.iterator(); iter.hasNext();) { Thread t = (Thread)iter.next(); if (!t.isAlive()) continue; RubyThread rt = getRubyThreadFromThread(t); rtList.add(rt); } RubyThread[] rubyThreads = new RubyThread[rtList.size()]; rtList.toArray(rubyThreads); return rubyThreads; }
45221 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45221/0b82fd60cc1328792397c3de9cc4a3b9a4a8dbe2/ThreadService.java/clean/src/org/jruby/internal/runtime/ThreadService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 19817, 3830, 8526, 11960, 54, 10340, 13233, 1435, 288, 377, 202, 759, 777, 7403, 316, 22155, 2650, 1041, 8737, 2774, 2650, 7734, 987, 8253, 682, 273, 394, 2407, 12, 27768, 3830, 682, 18, 1467, 10663, 7734, 364, 261, 3198, 1400, 273, 22155, 3830, 682, 18, 9838, 5621, 1400, 18, 5332, 2134, 5621, 13, 288, 5411, 4884, 268, 273, 261, 3830, 13, 2165, 18, 4285, 5621, 13491, 309, 16051, 88, 18, 291, 10608, 10756, 1324, 31, 13491, 19817, 3830, 8253, 273, 4170, 10340, 3830, 1265, 3830, 12, 88, 1769, 5411, 8253, 682, 18, 1289, 12, 3797, 1769, 3639, 289, 7734, 19817, 3830, 8526, 22155, 13233, 273, 394, 19817, 3830, 63, 3797, 682, 18, 1467, 1435, 15533, 3639, 8253, 682, 18, 31447, 12, 27768, 13233, 1769, 377, 202, 377, 202, 2463, 22155, 13233, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 3852, 19817, 3830, 8526, 11960, 54, 10340, 13233, 1435, 288, 377, 202, 759, 777, 7403, 316, 22155, 2650, 1041, 8737, 2774, 2650, 7734, 987, 8253, 682, 273, 394, 2407, 12, 27768, 3830, 682, 18, 1467, 10663, 7734, 364, 261, 3198, 1400, 273, 22155, 3830, 682, 18, 9838, 5621, 1400, 18, 5332, 2134, 5621, 13, 288, 5411, 4884, 268, 273, 261, 3830, 13, 2165, 18, 4285, 5621, 13491, 309, 16051, 88, 18, 291, 10608, 10756, 1324, 31, 13491, 19817, 3830, 8253, 273, 4170, 10340, 3830, 1265, 3830, 12, 88, 1769, 5411, 8253, 682, 18, 1289, 12, 3797, 1769, 3639, 289, 7734, 19817, 3830, 8526, 22155, 13233, 273, 394, 19817, 3830, 63, 3797, 682, 18, 1467, 1435, 15533, 3639, 2 ]
if (!(target instanceof MInstance)) return null; MInstance in = (MInstance) target; String instance_base = ""; Collection col = in.getClassifiers(); if (col != null && (col.size()>0)) { Iterator it = col.iterator(); while (it.hasNext()) { MClassifier cls = (MClassifier)it.next(); if (cls != null && (cls.getName() != null)) { instance_base = cls.getName();
if (!(target instanceof MInstance)) return null; MInstance in = (MInstance) target; String instance_base = ""; Collection col = in.getClassifiers(); if (col != null && (col.size() > 0)) { Iterator it = col.iterator(); while (it.hasNext()) { MClassifier cls = (MClassifier) it.next(); if (cls != null && (cls.getName() != null)) { instance_base = cls.getName();
public Object getValueFor(Object target) { if (!(target instanceof MInstance)) return null; MInstance in = (MInstance) target; String instance_base = ""; Collection col = in.getClassifiers(); if (col != null && (col.size()>0)) { Iterator it = col.iterator(); while (it.hasNext()) { MClassifier cls = (MClassifier)it.next(); if (cls != null && (cls.getName() != null)) { instance_base = cls.getName(); } } } return instance_base; }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/ColumnDescriptor.java/clean/src_new/org/argouml/uml/ColumnDescriptor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1033, 2366, 1290, 12, 921, 1018, 13, 288, 565, 309, 16051, 12, 3299, 1276, 490, 1442, 3719, 327, 446, 31, 565, 490, 1442, 316, 273, 261, 49, 1442, 13, 1018, 31, 565, 514, 791, 67, 1969, 273, 1408, 31, 565, 2200, 645, 273, 316, 18, 588, 10469, 5621, 565, 309, 261, 1293, 480, 446, 597, 261, 1293, 18, 1467, 1435, 34, 20, 3719, 288, 1377, 4498, 518, 273, 645, 18, 9838, 5621, 1377, 1323, 261, 305, 18, 5332, 2134, 10756, 288, 3639, 490, 13860, 2028, 273, 261, 49, 13860, 13, 305, 18, 4285, 5621, 3639, 309, 261, 6429, 480, 446, 597, 261, 6429, 18, 17994, 1435, 480, 446, 3719, 288, 1850, 791, 67, 1969, 273, 2028, 18, 17994, 5621, 1850, 289, 1377, 289, 565, 289, 565, 327, 791, 67, 1969, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1033, 2366, 1290, 12, 921, 1018, 13, 288, 565, 309, 16051, 12, 3299, 1276, 490, 1442, 3719, 327, 446, 31, 565, 490, 1442, 316, 273, 261, 49, 1442, 13, 1018, 31, 565, 514, 791, 67, 1969, 273, 1408, 31, 565, 2200, 645, 273, 316, 18, 588, 10469, 5621, 565, 309, 261, 1293, 480, 446, 597, 261, 1293, 18, 1467, 1435, 34, 20, 3719, 288, 1377, 4498, 518, 273, 645, 18, 9838, 5621, 1377, 1323, 261, 305, 18, 5332, 2134, 10756, 288, 3639, 490, 13860, 2028, 273, 261, 49, 13860, 13, 305, 18, 4285, 5621, 3639, 309, 261, 6429, 480, 446, 597, 261, 6429, 18, 17994, 1435, 480, 446, 3719, 288, 1850, 791, 67, 1969, 273, 2028, 18, 2 ]
if ( canBeNull( ) && choiceValue == null && defaultValue == null ) { return true; } return choiceValue != null && isEqual( choiceValue, defaultValue );
return true;
private boolean isDefaultChoice( SelectionChoice choice ) { String choiceValue = choice.getValue( ); String defaultValue = convertToStandardFormat( this.defaultValue ); // if ( choice != dummyChoice ) { if ( canBeNull( ) && choiceValue == null && defaultValue == null ) { return true; } return choiceValue != null && isEqual( choiceValue, defaultValue ); } // return false; }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/9c65d7f57b06e305f2176ead6cec52109a79efd7/ParameterDialog.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ParameterDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 20652, 10538, 12, 12977, 10538, 6023, 262, 202, 95, 202, 202, 780, 6023, 620, 273, 6023, 18, 24805, 12, 11272, 202, 202, 780, 4593, 273, 8137, 8336, 1630, 12, 333, 18, 27652, 11272, 202, 202, 759, 309, 261, 6023, 480, 9609, 10538, 262, 202, 202, 95, 1082, 202, 430, 261, 24978, 2041, 12, 262, 597, 6023, 620, 422, 446, 597, 4593, 422, 446, 262, 1082, 202, 95, 9506, 202, 2463, 638, 31, 1082, 202, 97, 1082, 202, 2463, 6023, 620, 480, 446, 597, 21614, 12, 6023, 620, 16, 4593, 11272, 202, 202, 97, 202, 202, 759, 327, 629, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 20652, 10538, 12, 12977, 10538, 6023, 262, 202, 95, 202, 202, 780, 6023, 620, 273, 6023, 18, 24805, 12, 11272, 202, 202, 780, 4593, 273, 8137, 8336, 1630, 12, 333, 18, 27652, 11272, 202, 202, 759, 309, 261, 6023, 480, 9609, 10538, 262, 202, 202, 95, 1082, 202, 430, 261, 24978, 2041, 12, 262, 597, 6023, 620, 422, 446, 597, 4593, 422, 446, 262, 1082, 202, 95, 9506, 202, 2463, 638, 31, 1082, 202, 97, 1082, 202, 2463, 6023, 620, 480, 446, 597, 21614, 12, 6023, 620, 16, 4593, 11272, 202, 202, 97, 202, 202, 759, 327, 629, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Assert.fail( de.getMessage() );
fail( de.getMessage() );
public void testDecodeSearchRequestSubstringAnyFinal() { Asn1Decoder ldapDecoder = new LdapDecoder(); ByteBuffer stream = ByteBuffer.allocate( 0x67 ); stream.put( new byte[] { 0x30, 0x65, // LDAPMessage ::=SEQUENCE { 0x02, 0x01, 0x01, // messageID MessageID 0x63, 0x60, // CHOICE { ..., searchRequest SearchRequest, ... // SearchRequest ::= APPLICATION[3] SEQUENCE { 0x04, 0x1F, // baseObject LDAPDN, 'u', 'i', 'd', '=', 'a', 'k', 'a', 'r', 'a', 's', 'u', 'l', 'u', ',', 'd', 'c', '=', 'e', 'x', 'a', 'm', 'p', 'l', 'e', ',', 'd', 'c', '=', 'c', 'o', 'm', 0x0A, 0x01, 0x01, // scope ENUMERATED { // baseObject (0), // singleLevel (1), // wholeSubtree (2) }, 0x0A, 0x01, 0x03, // derefAliases ENUMERATED { // neverDerefAliases (0), // derefInSearching (1), // derefFindingBaseObj (2), // derefAlways (3) }, // sizeLimit INTEGER (0 .. maxInt), (1000) 0x02, 0x02, 0x03, (byte)0xE8, // timeLimit INTEGER (0 .. maxInt), (1000) 0x02, 0x02, 0x03, (byte)0xE8, 0x01, 0x01, (byte)0xFF, // typesOnly BOOLEAN, (TRUE) // filter Filter, (byte)0xA4, 0x15, // Filter ::= CHOICE { // substrings [4] SubstringFilter // } // SubstringFilter ::= SEQUENCE { 0x04, 0x0B, // type AttributeDescription, 'o', 'b', 'j', 'e', 'c', 't', 'c', 'l', 'a', 's', 's', 0x30, 0x06, (byte)0x81, 0x01, 't', // (byte)0x82, 0x01, 't', // 0x30, 0x15, // AttributeDescriptionList ::= SEQUENCE OF AttributeDescription 0x04, 0x05, 'a', 't', 't', 'r', '0', // AttributeDescription ::= LDAPString 0x04, 0x05, 'a', 't', 't', 'r', '1', // AttributeDescription ::= LDAPString 0x04, 0x05, 'a', 't', 't', 'r', '2' // AttributeDescription ::= LDAPString } ); String decodedPdu = StringTools.dumpBytes( stream.array() ); stream.flip(); // Allocate a BindRequest Container IAsn1Container ldapMessageContainer = new LdapMessageContainer(); try { ldapDecoder.decode( stream, ldapMessageContainer ); } catch ( DecoderException de ) { de.printStackTrace(); Assert.fail( de.getMessage() ); } LdapMessage message = ( ( LdapMessageContainer ) ldapMessageContainer ).getLdapMessage(); SearchRequest sr = message.getSearchRequest(); Assert.assertEquals( 1, message.getMessageId() ); Assert.assertEquals( "uid=akarasulu,dc=example,dc=com", sr.getBaseObject().toString() ); Assert.assertEquals( LdapConstants.SCOPE_SINGLE_LEVEL, sr.getScope() ); Assert.assertEquals( LdapConstants.DEREF_ALWAYS, sr.getDerefAliases() ); Assert.assertEquals( 1000, sr.getSizeLimit() ); Assert.assertEquals( 1000, sr.getTimeLimit() ); Assert.assertEquals( true, sr.isTypesOnly() ); // (objectclass=t*) SubstringFilter substringFilter = (SubstringFilter)sr.getFilter(); Assert.assertNotNull(substringFilter); Assert.assertEquals("objectclass", substringFilter.getType().toString()); Assert.assertEquals(null, substringFilter.getInitialSubstrings()); Assert.assertEquals("t", ((LdapString)substringFilter.getAnySubstrings().get(0)).toString()); Assert.assertEquals("t", substringFilter.getFinalSubstrings().toString()); // The attributes Attributes attributes = sr.getAttributes(); for (int i = 0; i < attributes.size(); i++) { Assert.assertNotNull( attributes.get( "attr" + i ) ); } // Check the length Assert.assertEquals(0x67, message.computeLength()); // Check the encoding // We won't check the whole PDU, as it may differs because // attributes may have been reordered try { ByteBuffer bb = message.encode( null ); String encodedPdu = StringTools.dumpBytes( bb.array() ); Assert.assertEquals(encodedPdu.substring( 0, 0x58 ), decodedPdu.substring( 0, 0x58 ) ); } catch ( EncoderException ee ) { ee.printStackTrace(); Assert.fail( ee.getMessage() ); } }
54578 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54578/3561f4cdd29c534a78cee8464a6bc4c88d5b1783/SearchRequestTest.java/buggy/ldap/src/test/java/org/apache/ldap/common/codec/search/SearchRequestTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 6615, 2979, 691, 1676, 1080, 2961, 7951, 1435, 565, 288, 3639, 31277, 21, 7975, 8079, 7975, 273, 394, 18053, 7975, 5621, 3639, 7400, 225, 1407, 1377, 273, 7400, 18, 16247, 12, 374, 92, 9599, 11272, 3639, 1407, 18, 458, 12, 5411, 394, 1160, 8526, 5411, 288, 7734, 374, 92, 5082, 16, 374, 92, 9222, 16, 10402, 368, 11916, 1079, 493, 33, 25330, 288, 9506, 202, 20, 92, 3103, 16, 374, 92, 1611, 16, 374, 92, 1611, 16, 3196, 1850, 368, 3639, 883, 734, 2350, 734, 9506, 202, 20, 92, 4449, 16, 374, 92, 4848, 16, 10402, 368, 202, 1377, 6469, 51, 11774, 288, 1372, 16, 1623, 691, 5167, 691, 16, 1372, 7682, 9506, 1377, 202, 225, 368, 5167, 691, 493, 33, 14148, 63, 23, 65, 27118, 288, 9506, 202, 20, 92, 3028, 16, 374, 92, 21, 42, 16, 1875, 1377, 202, 225, 368, 565, 1026, 921, 11916, 8609, 16, 9506, 202, 11, 89, 2187, 296, 77, 2187, 296, 72, 2187, 15196, 2187, 296, 69, 2187, 296, 79, 2187, 296, 69, 2187, 296, 86, 2187, 296, 69, 2187, 296, 87, 2187, 296, 89, 2187, 296, 80, 2187, 296, 89, 2187, 2265, 2187, 296, 72, 2187, 296, 71, 2187, 15196, 2187, 7734, 296, 73, 2187, 296, 92, 2187, 296, 69, 2187, 296, 81, 2187, 296, 84, 2187, 296, 80, 2187, 296, 73, 2187, 2265, 2187, 296, 72, 2187, 296, 71, 2187, 15196, 2187, 296, 71, 2187, 296, 83, 2187, 296, 81, 2187, 9506, 202, 20, 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, 1842, 6615, 2979, 691, 1676, 1080, 2961, 7951, 1435, 565, 288, 3639, 31277, 21, 7975, 8079, 7975, 273, 394, 18053, 7975, 5621, 3639, 7400, 225, 1407, 1377, 273, 7400, 18, 16247, 12, 374, 92, 9599, 11272, 3639, 1407, 18, 458, 12, 5411, 394, 1160, 8526, 5411, 288, 7734, 374, 92, 5082, 16, 374, 92, 9222, 16, 10402, 368, 11916, 1079, 493, 33, 25330, 288, 9506, 202, 20, 92, 3103, 16, 374, 92, 1611, 16, 374, 92, 1611, 16, 3196, 1850, 368, 3639, 883, 734, 2350, 734, 9506, 202, 20, 92, 4449, 16, 374, 92, 4848, 16, 10402, 368, 202, 1377, 6469, 51, 11774, 288, 1372, 16, 1623, 691, 5167, 691, 16, 1372, 7682, 9506, 1377, 202, 2 ]
final public Object put(char[] key, Object value) { return put(key, 0, key.length, value);
public Object put(char[] key, int start, int length, Object value) { int i = addIndex(key, start, length); Object oldvalue = valueTable[i]; valueTable[i] = value; return oldvalue;
final public Object put(char[] key, Object value) { return put(key, 0, key.length, value); }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/fcfbda5c0ed3866a3021c66cf80a46d525748d7f/CharArrayObjectMap.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/parser/util/CharArrayObjectMap.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6385, 1071, 1033, 1378, 12, 3001, 8526, 498, 16, 1033, 460, 13, 288, 202, 202, 2463, 1378, 12, 856, 16, 374, 16, 498, 18, 2469, 16, 460, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6385, 1071, 1033, 1378, 12, 3001, 8526, 498, 16, 1033, 460, 13, 288, 202, 202, 2463, 1378, 12, 856, 16, 374, 16, 498, 18, 2469, 16, 460, 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 ]
}
}
public void registerKeyboardAction(ActionListener act, KeyStroke stroke, int cond) { registerKeyboardAction(act, null, stroke, cond); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JComponent.java/buggy/core/src/classpath/javax/javax/swing/JComponent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1744, 17872, 1803, 12, 1803, 2223, 1328, 16, 19694, 1929, 14602, 11040, 16, 4766, 1377, 509, 6941, 13, 202, 95, 565, 1744, 17872, 1803, 12, 621, 16, 446, 16, 11040, 16, 6941, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1744, 17872, 1803, 12, 1803, 2223, 1328, 16, 19694, 1929, 14602, 11040, 16, 4766, 1377, 509, 6941, 13, 202, 95, 565, 1744, 17872, 1803, 12, 621, 16, 446, 16, 11040, 16, 6941, 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 ]
return "JFrame";
return super.paramString();
protected String paramString() { return "JFrame"; }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/badba23052f905d992da7c32124c28f4339931fc/JApplet.java/buggy/core/src/classpath/javax/javax/swing/JApplet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 514, 579, 780, 1435, 225, 288, 565, 327, 2240, 18, 891, 780, 5621, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 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, 4750, 514, 579, 780, 1435, 225, 288, 565, 327, 2240, 18, 891, 780, 5621, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
final JSplitPane jsp = new JSplitPane(JSplitPane.VERTICAL_SPLIT, scrollPane, details); getContentPane().add(jsp, BorderLayout.CENTER);
aDetailsDivider = new JSplitPane(JSplitPane.VERTICAL_SPLIT, scrollPane, details); getContentPane().add(aDetailsDivider, BorderLayout.CENTER);
private Main() { super("CHAINSAW - Log4J Log Viewer"); // create the all important model final MyTableModel model = new MyTableModel(); //Create the menu bar. final JMenuBar menuBar = new JMenuBar(); setJMenuBar(menuBar); final JMenu menu = new JMenu("File"); menuBar.add(menu); try { final LoadXMLAction lxa = new LoadXMLAction(this, model); final JMenuItem loadMenuItem = new JMenuItem("Load file..."); menu.add(loadMenuItem); loadMenuItem.addActionListener(lxa); } catch (NoClassDefFoundError e) { LOG.info("Missing classes for XML parser", e); JOptionPane.showMessageDialog( this, "XML parser not in classpath - unable to load XML events.", "CHAINSAW", JOptionPane.ERROR_MESSAGE); } catch (Exception e) { LOG.info("Unable to create the action to load XML files", e); JOptionPane.showMessageDialog( this, "Unable to create a XML parser - unable to load XML events.", "CHAINSAW", JOptionPane.ERROR_MESSAGE); } final JMenuItem exitMenuItem = new JMenuItem("Exit"); menu.add(exitMenuItem); exitMenuItem.addActionListener(ExitAction.INSTANCE); // Add control panel final ControlPanel cp = new ControlPanel(model); getContentPane().add(cp, BorderLayout.NORTH); // Create the table final JTable table = new JTable(model); table.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); final JScrollPane scrollPane = new JScrollPane(table); scrollPane.setBorder(BorderFactory.createTitledBorder("Events: ")); scrollPane.setPreferredSize(new Dimension(900, 300)); // Create the details final JPanel details = new DetailPanel(table, model); details.setPreferredSize(new Dimension(900, 100)); // Add the table and stack trace into a splitter final JSplitPane jsp = new JSplitPane(JSplitPane.VERTICAL_SPLIT, scrollPane, details); getContentPane().add(jsp, BorderLayout.CENTER); addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent aEvent) { ExitAction.INSTANCE.actionPerformed(null); } }); pack(); setVisible(true); setupReceiver(model); }
47730 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47730/023a5e43555d74ad236bce7a4928768a9d47b94b/Main.java/buggy/src/java/org/apache/log4j/chainsaw/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 12740, 1435, 288, 3639, 2240, 2932, 1792, 6964, 5233, 59, 300, 1827, 24, 46, 1827, 4441, 264, 8863, 3639, 368, 752, 326, 777, 10802, 938, 3639, 727, 8005, 1388, 1488, 938, 273, 394, 8005, 1388, 1488, 5621, 3639, 368, 1684, 326, 3824, 4653, 18, 3639, 727, 804, 4599, 5190, 3824, 5190, 273, 394, 804, 4599, 5190, 5621, 3639, 444, 46, 4599, 5190, 12, 5414, 5190, 1769, 3639, 727, 804, 4599, 3824, 273, 394, 804, 4599, 2932, 812, 8863, 3639, 3824, 5190, 18, 1289, 12, 5414, 1769, 3639, 775, 288, 5411, 727, 4444, 4201, 1803, 328, 6995, 273, 394, 4444, 4201, 1803, 12, 2211, 16, 938, 1769, 5411, 727, 804, 12958, 1262, 12958, 273, 394, 804, 12958, 2932, 2563, 585, 7070, 1769, 5411, 3824, 18, 1289, 12, 945, 12958, 1769, 5411, 1262, 12958, 18, 1289, 1803, 2223, 12, 80, 6995, 1769, 3639, 289, 1044, 261, 2279, 797, 3262, 2043, 668, 425, 13, 288, 5411, 2018, 18, 1376, 2932, 4841, 3318, 364, 3167, 2082, 3113, 425, 1769, 5411, 804, 1895, 8485, 18, 4500, 1079, 6353, 12, 7734, 333, 16, 7734, 315, 4201, 2082, 486, 316, 10006, 300, 13496, 358, 1262, 3167, 2641, 1199, 16, 7734, 315, 1792, 6964, 5233, 59, 3113, 7734, 804, 1895, 8485, 18, 3589, 67, 8723, 1769, 3639, 289, 1044, 261, 503, 425, 13, 288, 5411, 2018, 18, 1376, 2932, 3370, 358, 752, 326, 1301, 358, 1262, 3167, 1390, 3113, 425, 1769, 5411, 804, 1895, 8485, 18, 4500, 1079, 6353, 12, 7734, 333, 16, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 12740, 1435, 288, 3639, 2240, 2932, 1792, 6964, 5233, 59, 300, 1827, 24, 46, 1827, 4441, 264, 8863, 3639, 368, 752, 326, 777, 10802, 938, 3639, 727, 8005, 1388, 1488, 938, 273, 394, 8005, 1388, 1488, 5621, 3639, 368, 1684, 326, 3824, 4653, 18, 3639, 727, 804, 4599, 5190, 3824, 5190, 273, 394, 804, 4599, 5190, 5621, 3639, 444, 46, 4599, 5190, 12, 5414, 5190, 1769, 3639, 727, 804, 4599, 3824, 273, 394, 804, 4599, 2932, 812, 8863, 3639, 3824, 5190, 18, 1289, 12, 5414, 1769, 3639, 775, 288, 5411, 727, 4444, 4201, 1803, 328, 6995, 273, 394, 4444, 4201, 1803, 12, 2211, 16, 938, 1769, 5411, 727, 804, 12958, 1262, 12958, 273, 394, 804, 12958, 2932, 2 ]
public static String getPluginId() { return getDefault().getBundle().getSymbolicName();
public static String getPluginId() { return getDefault().getBundle().getSymbolicName();
public static String getPluginId() { return getDefault().getBundle().getSymbolicName(); }
45532 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45532/a4e486719ce78b8050373e6534dfaf4a1572b269/Activator.java/buggy/org.spearce.egit.ui/src/org/spearce/egit/ui/Activator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 16319, 548, 1435, 565, 288, 3639, 327, 4829, 7675, 588, 3405, 7675, 588, 10876, 12164, 461, 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, 760, 514, 16319, 548, 1435, 565, 288, 3639, 327, 4829, 7675, 588, 3405, 7675, 588, 10876, 12164, 461, 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 ]
addLink();
addLinkToTable();
private void createAddDeleteButtons(Composite parent, FormToolkit toolkit) { Composite container = toolkit.createComposite(parent); container.setLayout(new GridLayout(1, true)); Button addButton = toolkit.createButton(container, " Add ", SWT.PUSH | SWT.CENTER); //add.setLayoutData(new TableWrapData(TableWrapData.FILL_GRAB)); addButton.addSelectionListener(new SelectionAdapter() { @Override public void widgetSelected(SelectionEvent e) { addLink(); } }); Button deleteButton = toolkit.createButton(container, "Delete", SWT.PUSH | SWT.CENTER); deleteButton.setText("Delete"); //delete.setLayoutData(new TableWrapData(TableWrapData.FILL_GRAB)); deleteButton.addSelectionListener(new SelectionAdapter() { @Override public void widgetSelected(SelectionEvent e) { removeLink(); } }); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/5de72f60fa710fa7efe680600d3c632e85f0c79e/TaskSummaryEditor.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TaskSummaryEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 986, 2613, 14388, 12, 9400, 982, 16, 2748, 6364, 8691, 5226, 8691, 13, 288, 202, 202, 9400, 1478, 273, 5226, 8691, 18, 2640, 9400, 12, 2938, 1769, 202, 202, 3782, 18, 542, 3744, 12, 2704, 7145, 3744, 12, 21, 16, 638, 10019, 202, 202, 3616, 527, 3616, 273, 5226, 8691, 18, 2640, 3616, 12, 3782, 16, 315, 225, 1436, 225, 3104, 348, 8588, 18, 30348, 571, 348, 8588, 18, 19835, 1769, 202, 202, 759, 1289, 18, 542, 3744, 751, 12, 2704, 3555, 2964, 751, 12, 1388, 2964, 751, 18, 29818, 67, 6997, 2090, 10019, 202, 202, 1289, 3616, 18, 1289, 6233, 2223, 12, 2704, 12977, 4216, 1435, 288, 25083, 202, 36, 6618, 1082, 202, 482, 918, 3604, 7416, 12, 6233, 1133, 425, 13, 288, 9506, 202, 1289, 2098, 5621, 9506, 202, 97, 202, 202, 22938, 202, 202, 3616, 1430, 3616, 273, 5226, 8691, 18, 2640, 3616, 12, 3782, 16, 315, 2613, 3113, 348, 8588, 18, 30348, 571, 348, 8588, 18, 19835, 1769, 202, 202, 3733, 3616, 18, 542, 1528, 2932, 2613, 8863, 202, 202, 759, 3733, 18, 542, 3744, 751, 12, 2704, 3555, 2964, 751, 12, 1388, 2964, 751, 18, 29818, 67, 6997, 2090, 10019, 202, 202, 3733, 3616, 18, 1289, 6233, 2223, 12, 2704, 12977, 4216, 1435, 288, 25083, 202, 36, 6618, 1082, 202, 482, 918, 3604, 7416, 12, 6233, 1133, 425, 13, 288, 9506, 202, 4479, 2098, 5621, 1082, 202, 97, 202, 202, 22938, 202, 97, 202, 2, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 986, 2613, 14388, 12, 9400, 982, 16, 2748, 6364, 8691, 5226, 8691, 13, 288, 202, 202, 9400, 1478, 273, 5226, 8691, 18, 2640, 9400, 12, 2938, 1769, 202, 202, 3782, 18, 542, 3744, 12, 2704, 7145, 3744, 12, 21, 16, 638, 10019, 202, 202, 3616, 527, 3616, 273, 5226, 8691, 18, 2640, 3616, 12, 3782, 16, 315, 225, 1436, 225, 3104, 348, 8588, 18, 30348, 571, 348, 8588, 18, 19835, 1769, 202, 202, 759, 1289, 18, 542, 3744, 751, 12, 2704, 3555, 2964, 751, 12, 1388, 2964, 751, 18, 29818, 67, 6997, 2090, 10019, 202, 202, 1289, 3616, 18, 1289, 6233, 2223, 12, 2704, 12977, 4216, 1435, 288, 25083, 202, 36, 6618, 1082, 202, 2 ]