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
public static RubyBoolean zero_p(IRubyObject recv, RubyString filename) {
public static RubyBoolean zero_p(IRubyObject recv, IRubyObject filename) {
public static RubyBoolean zero_p(IRubyObject recv, RubyString filename) { JRubyFile file = newFile(filename); return filename.getRuntime().newBoolean(file.exists() && file.length() == 0L); }
45221 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45221/418c30d7568bd7f3d82ef1d3a011ee39d958b8f6/RubyFileTest.java/buggy/src/org/jruby/RubyFileTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 5507, 3634, 67, 84, 12, 7937, 10340, 921, 10665, 16, 15908, 10340, 921, 1544, 13, 288, 3639, 27974, 10340, 812, 585, 273, 20592, 12, 3459, 1769, 7734, 327, 1544, 18, 588, 5576, 7675, 2704, 5507, 12, 768, 18, 1808, 1435, 597, 585, 18, 2469, 1435, 422, 374, 48, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 760, 19817, 5507, 3634, 67, 84, 12, 7937, 10340, 921, 10665, 16, 15908, 10340, 921, 1544, 13, 288, 3639, 27974, 10340, 812, 585, 273, 20592, 12, 3459, 1769, 7734, 327, 1544, 18, 588, 5576, 7675, 2704, 5507, 12, 768, 18, 1808, 1435, 597, 585, 18, 2469, 1435, 422, 374, 48, 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 ]
assert(compressedIndex >= treeLeftSize + treeRightSize + treeRootSize);
assert(compressedIndex <= treeLeftSize + treeRightSize + treeRootSize);
public int getIndexByCompressedIndex(int compressedIndex) { assert(compressedIndex >= treeLeftSize + treeRightSize + treeRootSize); // recurse to the left if(compressedIndex < treeLeftSize) { return left.getIndexByCompressedIndex(compressedIndex); // return this node's root } else if(compressedIndex < treeLeftSize + treeRootSize) { return totalLeftSize + virtualRootSize; // recurse on the right side } else { return right.getIndexByCompressedIndex(compressedIndex - (treeLeftSize + treeRootSize)) + totalLeftSize + treeRootSize + virtualRootSize; } }
10062 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10062/4ea92279a13792cb602b36efed6a3c2f3b80dd1d/SparseListNode.java/buggy/source/ca/odell/glazedlists/util/impl/SparseListNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 8088, 858, 16841, 1016, 12, 474, 8968, 1016, 13, 288, 3639, 1815, 12, 15385, 1016, 1648, 2151, 3910, 1225, 397, 2151, 4726, 1225, 397, 2151, 2375, 1225, 1769, 3639, 368, 11502, 358, 326, 2002, 3639, 309, 12, 15385, 1016, 411, 2151, 3910, 1225, 13, 288, 5411, 327, 2002, 18, 588, 1016, 858, 16841, 1016, 12, 15385, 1016, 1769, 3639, 368, 327, 333, 756, 1807, 1365, 3639, 289, 469, 309, 12, 15385, 1016, 411, 2151, 3910, 1225, 397, 2151, 2375, 1225, 13, 288, 5411, 327, 2078, 3910, 1225, 397, 5024, 2375, 1225, 31, 3639, 368, 11502, 603, 326, 2145, 4889, 3639, 289, 469, 288, 5411, 327, 2145, 18, 588, 1016, 858, 16841, 1016, 12, 15385, 1016, 300, 261, 3413, 3910, 1225, 397, 2151, 2375, 1225, 3719, 397, 2078, 3910, 1225, 397, 2151, 2375, 1225, 397, 5024, 2375, 1225, 31, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 8088, 858, 16841, 1016, 12, 474, 8968, 1016, 13, 288, 3639, 1815, 12, 15385, 1016, 1648, 2151, 3910, 1225, 397, 2151, 4726, 1225, 397, 2151, 2375, 1225, 1769, 3639, 368, 11502, 358, 326, 2002, 3639, 309, 12, 15385, 1016, 411, 2151, 3910, 1225, 13, 288, 5411, 327, 2002, 18, 588, 1016, 858, 16841, 1016, 12, 15385, 1016, 1769, 3639, 368, 327, 333, 756, 1807, 1365, 3639, 289, 469, 309, 12, 15385, 1016, 411, 2151, 3910, 1225, 397, 2151, 2375, 1225, 13, 288, 5411, 327, 2078, 3910, 1225, 397, 5024, 2375, 1225, 31, 3639, 368, 11502, 603, 326, 2145, 4889, 3639, 289, 469, 288, 5411, 327, 2145, 18, 588, 1016, 858, 16841, 1016, 12, 15385, 1016, 300, 2 ]
threadContext.getBlockStack().push(iVisited.getVarNode(), new EvaluateMethod(iVisited.getBodyNode()), self);
threadContext.getBlockStack().push(iVisited.getVarNode(), new EvaluateMethod(iVisited.getBodyNode(), iVisited.getVarNode()), self);
public void visitForNode(ForNode iVisited) { threadContext.getBlockStack().push(iVisited.getVarNode(), new EvaluateMethod(iVisited.getBodyNode()), self); threadContext.getIterStack().push(Iter.ITER_PRE); try { while (true) { try { SourcePosition position = threadContext.getPosition(); Block tmpBlock = threadContext.beginCallArgs(); IRubyObject recv = null; try { recv = eval(iVisited.getIterNode()); } finally { threadContext.setPosition(position); threadContext.endCallArgs(tmpBlock); } result = recv.getMetaClass().call(recv, "each", IRubyObject.NULL_ARRAY, CallType.NORMAL); return; } catch (RetryJump retry) { } } } catch (BreakJump bExcptn) { IRubyObject breakValue = bExcptn.getBreakValue(); result = breakValue == null ? runtime.getNil() : breakValue; } finally { threadContext.getIterStack().pop(); threadContext.getBlockStack().pop(); } }
45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/95597cee751b3d52aa89d777e164e620f649ade9/EvaluateVisitor.java/clean/src/org/jruby/evaluator/EvaluateVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3757, 31058, 12, 31058, 277, 30019, 13, 288, 3639, 2650, 1042, 18, 588, 1768, 2624, 7675, 6206, 12, 77, 30019, 18, 588, 1537, 907, 9334, 394, 18176, 1305, 12, 77, 30019, 18, 588, 2250, 907, 9334, 277, 30019, 18, 588, 1537, 907, 1435, 3631, 365, 1769, 3639, 2650, 1042, 18, 588, 2360, 2624, 7675, 6206, 12, 2360, 18, 11844, 67, 3670, 1769, 3639, 775, 288, 5411, 1323, 261, 3767, 13, 288, 7734, 775, 288, 10792, 4998, 2555, 1754, 273, 2650, 1042, 18, 588, 2555, 5621, 10792, 3914, 1853, 1768, 273, 2650, 1042, 18, 10086, 1477, 2615, 5621, 10792, 15908, 10340, 921, 10665, 273, 446, 31, 10792, 775, 288, 13491, 10665, 273, 5302, 12, 77, 30019, 18, 588, 2360, 907, 10663, 10792, 289, 3095, 288, 13491, 2650, 1042, 18, 542, 2555, 12, 3276, 1769, 13491, 2650, 1042, 18, 409, 1477, 2615, 12, 5645, 1768, 1769, 10792, 289, 10792, 563, 273, 10665, 18, 588, 2781, 797, 7675, 1991, 12, 18334, 16, 315, 13798, 3113, 15908, 10340, 921, 18, 8560, 67, 8552, 16, 3049, 559, 18, 15480, 1769, 10792, 327, 31, 7734, 289, 1044, 261, 7539, 26743, 3300, 13, 288, 7734, 289, 5411, 289, 3639, 289, 1044, 261, 7634, 26743, 324, 29924, 337, 82, 13, 288, 5411, 15908, 10340, 921, 898, 620, 273, 324, 29924, 337, 82, 18, 588, 7634, 620, 5621, 13491, 563, 273, 898, 620, 422, 446, 692, 3099, 18, 588, 12616, 1435, 294, 898, 620, 31, 3639, 289, 3095, 288, 5411, 2650, 1042, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3757, 31058, 12, 31058, 277, 30019, 13, 288, 3639, 2650, 1042, 18, 588, 1768, 2624, 7675, 6206, 12, 77, 30019, 18, 588, 1537, 907, 9334, 394, 18176, 1305, 12, 77, 30019, 18, 588, 2250, 907, 9334, 277, 30019, 18, 588, 1537, 907, 1435, 3631, 365, 1769, 3639, 2650, 1042, 18, 588, 2360, 2624, 7675, 6206, 12, 2360, 18, 11844, 67, 3670, 1769, 3639, 775, 288, 5411, 1323, 261, 3767, 13, 288, 7734, 775, 288, 10792, 4998, 2555, 1754, 273, 2650, 1042, 18, 588, 2555, 5621, 10792, 3914, 1853, 1768, 273, 2650, 1042, 18, 10086, 1477, 2615, 5621, 10792, 15908, 10340, 921, 10665, 273, 446, 31, 10792, 775, 288, 13491, 10665, 273, 5302, 12, 77, 30019, 18, 2 ]
x = screenX - 4; y = screenY - 4; w = screenW - 2*x; h = screenH - 2*y;
x = -4; y = -4; w = screenX - 2*x; h = screenY - 2*y;
public static final Rectangle getScreenBounds(Rectangle window) { GraphicsDevice[] gd = GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices(); Vector intersects = new Vector(); // Get available screens // O(n^3), this is nasty, but since we aren't dealling with // many items it should be fine for (int i=0; i < gd.length; i++) { GraphicsConfiguration[] gc = gd[i].getConfigurations();L2: for (int j=0; j < gc.length; j++) { // Don't add duplicates if (window.intersects(gc[j].getBounds())) { for (Enumeration e = intersects.elements(); e.hasMoreElements();) { GraphicsConfiguration gcc = (GraphicsConfiguration)e.nextElement(); if (gcc.getBounds().equals(gc[j].getBounds())) continue L2; } intersects.add(gc[j]); } } } GraphicsConfiguration choice = null; if (intersects.size() > 0) { // Pick screen with largest intersection for (Enumeration e = intersects.elements(); e.hasMoreElements();) { GraphicsConfiguration gcc = (GraphicsConfiguration)e.nextElement(); if (choice == null) choice = gcc; else { Rectangle int1 = choice.getBounds().intersection(window); Rectangle int2 = gcc.getBounds().intersection(window); int area1 = int1.width * int1.height; int area2 = int2.width * int2.height; if (area2 > area1) choice = gcc; } } } else choice = GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().getDefaultConfiguration(); // Make adjustments for some OS's int screenX = (int)choice.getBounds().x; int screenY = (int)choice.getBounds().y; int screenW = (int)choice.getBounds().width; int screenH = (int)choice.getBounds().height; int x, y, w, h; if (isMacOS()) { x = screenX; y = screenY + 22; w = screenW; h = screenH - y - 4;//shadow size } else if (isWindows()) { x = screenX - 4; y = screenY - 4; w = screenW - 2*x; h = screenH - 2*y; } else { x = screenX; y = screenY; w = screenW; h = screenH; } // Yay, we're finally there return new Rectangle(x,y,w,h); } //}}}
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/3aa2cc3a8f65ac8857f186c413b6af171c65635f/OperatingSystem.java/buggy/org/gjt/sp/jedit/OperatingSystem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 727, 13264, 22303, 5694, 12, 19463, 2742, 13, 202, 95, 202, 202, 17558, 3654, 8526, 15551, 273, 16830, 5494, 18, 588, 2042, 17558, 5494, 7675, 588, 7956, 10053, 5621, 202, 202, 5018, 19791, 273, 394, 5589, 5621, 9506, 202, 759, 968, 2319, 888, 266, 773, 202, 202, 759, 531, 12, 82, 66, 23, 3631, 333, 353, 290, 689, 93, 16, 1496, 3241, 732, 11526, 1404, 443, 454, 310, 598, 202, 202, 759, 4906, 1516, 518, 1410, 506, 11079, 202, 202, 1884, 261, 474, 277, 33, 20, 31, 277, 411, 15551, 18, 2469, 31, 277, 27245, 202, 202, 95, 1082, 202, 17558, 1750, 8526, 8859, 273, 15551, 63, 77, 8009, 588, 9698, 5621, 48, 22, 30, 1082, 202, 1884, 261, 474, 525, 33, 20, 31, 525, 411, 8859, 18, 2469, 31, 525, 27245, 1082, 202, 95, 9506, 202, 759, 7615, 1404, 527, 11211, 9506, 202, 430, 261, 5668, 18, 12288, 87, 12, 13241, 63, 78, 8009, 588, 5694, 1435, 3719, 9506, 202, 95, 6862, 202, 1884, 261, 21847, 425, 273, 19791, 18, 6274, 5621, 425, 18, 5332, 7417, 3471, 5621, 13, 6862, 202, 95, 25083, 202, 17558, 1750, 314, 952, 273, 261, 17558, 1750, 13, 73, 18, 4285, 1046, 5621, 25083, 202, 430, 261, 75, 952, 18, 588, 5694, 7675, 14963, 12, 13241, 63, 78, 8009, 588, 5694, 1435, 3719, 6862, 1082, 202, 17143, 511, 22, 31, 6862, 202, 97, 6862, 202, 12288, 87, 18, 1289, 12, 13241, 63, 78, 19226, 9506, 202, 97, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 727, 13264, 22303, 5694, 12, 19463, 2742, 13, 202, 95, 202, 202, 17558, 3654, 8526, 15551, 273, 16830, 5494, 18, 588, 2042, 17558, 5494, 7675, 588, 7956, 10053, 5621, 202, 202, 5018, 19791, 273, 394, 5589, 5621, 9506, 202, 759, 968, 2319, 888, 266, 773, 202, 202, 759, 531, 12, 82, 66, 23, 3631, 333, 353, 290, 689, 93, 16, 1496, 3241, 732, 11526, 1404, 443, 454, 310, 598, 202, 202, 759, 4906, 1516, 518, 1410, 506, 11079, 202, 202, 1884, 261, 474, 277, 33, 20, 31, 277, 411, 15551, 18, 2469, 31, 277, 27245, 202, 202, 95, 1082, 202, 17558, 1750, 8526, 8859, 273, 15551, 63, 77, 8009, 588, 9698, 5621, 48, 22, 30, 2 ]
new Object[] { getJob().getName(), blockedStatus.getMessage()});
new Object[]{getJob().getName(), blockedStatus.getMessage()});
private String getDisplayStringWithStatus() { if(isCanceled()) return ProgressMessages.format("JobInfo.Cancelled", //$NON-NLS-1$ new Object[] { getJob().getName()}); if (isBlocked()) return ProgressMessages.format("JobInfo.Blocked", //$NON-NLS-1$ new Object[] { getJob().getName(), blockedStatus.getMessage()}); if (getJob().getState() == Job.RUNNING) { if (taskInfo == null) return getJob().getName(); else return taskInfo.getDisplayString(); } else { if (getJob().getState() == Job.SLEEPING) return ProgressMessages.format("JobInfo.Sleeping", //$NON-NLS-1$ new Object[] { getJob().getName() }); else return ProgressMessages.format("JobInfo.Waiting", //$NON-NLS-1$ new Object[] { getJob().getName() }); } }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/e6af75d1024403d1ef1e4ec4c9024c6f7fac26a7/JobInfo.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/JobInfo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 514, 13854, 780, 1190, 1482, 1435, 288, 9506, 202, 430, 12, 291, 23163, 10756, 1082, 202, 2463, 10980, 5058, 18, 2139, 2932, 2278, 966, 18, 21890, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 2704, 1033, 8526, 288, 13024, 7675, 17994, 17767, 1769, 6862, 1082, 202, 430, 261, 291, 23722, 10756, 1082, 202, 2463, 10980, 5058, 18, 2139, 2932, 2278, 966, 18, 23722, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 2704, 1033, 8526, 288, 13024, 7675, 17994, 9334, 14547, 1482, 18, 24906, 17767, 1769, 9506, 202, 430, 261, 588, 2278, 7675, 588, 1119, 1435, 422, 3956, 18, 29358, 13, 288, 1082, 202, 430, 261, 4146, 966, 422, 446, 13, 9506, 202, 2463, 13024, 7675, 17994, 5621, 1082, 202, 12107, 9506, 202, 2463, 1562, 966, 18, 588, 4236, 780, 5621, 202, 202, 97, 469, 288, 1082, 202, 430, 261, 588, 2278, 7675, 588, 1119, 1435, 422, 3956, 18, 55, 900, 10541, 1360, 13, 9506, 202, 2463, 10980, 5058, 18, 2139, 2932, 2278, 966, 18, 20768, 310, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 202, 2704, 1033, 8526, 288, 13024, 7675, 17994, 1435, 15549, 1082, 202, 12107, 9506, 202, 2463, 10980, 5058, 18, 2139, 2932, 2278, 966, 18, 15946, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 202, 2704, 1033, 8526, 288, 13024, 7675, 17994, 1435, 15549, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 514, 13854, 780, 1190, 1482, 1435, 288, 9506, 202, 430, 12, 291, 23163, 10756, 1082, 202, 2463, 10980, 5058, 18, 2139, 2932, 2278, 966, 18, 21890, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 2704, 1033, 8526, 288, 13024, 7675, 17994, 17767, 1769, 6862, 1082, 202, 430, 261, 291, 23722, 10756, 1082, 202, 2463, 10980, 5058, 18, 2139, 2932, 2278, 966, 18, 23722, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 2704, 1033, 8526, 288, 13024, 7675, 17994, 9334, 14547, 1482, 18, 24906, 17767, 1769, 9506, 202, 430, 261, 588, 2278, 7675, 588, 1119, 1435, 422, 3956, 18, 29358, 13, 288, 1082, 202, 430, 261, 4146, 966, 422, 446, 13, 9506, 202, 2 ]
public final void startElement(QName qname, XMLAttrList xmlAttrList, int attrListIndex) { if(DISABLE)return; // Need to retrive the attrList... String attrname, attrvalue; // Push a new namespace context StringToStringTable pushNS=m_emptyNamespace; // Process any new namespace declarations if(attrListIndex!=-1) { for (int index = xmlAttrList.getFirstAttr(attrListIndex); index != -1; index = xmlAttrList.getNextAttr(index)) { attrname = fStringPool.toString(xmlAttrList.getAttrName(index)); if (attrname.startsWith("xmlns:")) { // XML4J very politely offers to stringify this for us attrvalue = fStringPool.toString(xmlAttrList.getAttValue(index)); String nsprefix = attrname.substring(6); if(m_emptyNamespace == pushNS) pushNS = new StringToStringTable(); pushNS.put(nsprefix,attrvalue); } else if(attrname.equals("xmlns")) { attrvalue = fStringPool.toString(xmlAttrList.getAttValue(index)); if(m_emptyNamespace == pushNS) pushNS = new StringToStringTable(); pushNS.put(DEFAULT_PREFIX_STR,attrvalue); } } } namespaceTable.addElement(pushNS); // Scope some stuff... int ourslot; { // W0 Low: Node Type. // W0 High: Namespace int w0 = org.w3c.dom.Node.ELEMENT_NODE | (qname.uri << 16); // W1: Parent int w1 = currentParent; // W2: Next. Initialize as 0 (unresolved) int w2 = 0; // W3: Tagname int w3 = qname.rawname; // Add this element to the document ourslot = appendNode(w0, w1, w2, w3); } // Change append context currentParent = ourslot; previousSibling = 0; IntMap elemMap = (IntMap)m_elementDecls.get(qname.rawname); // Append the attributes if(attrListIndex!=-1) { for (int index = xmlAttrList.getFirstAttr(attrListIndex); index != -1; index = xmlAttrList.getNextAttr(index)) { // W0 Low: Node Type. // W0 High: Namespace int attrNameIndex = xmlAttrList.getAttrName(index); attrname=fStringPool.toString(attrNameIndex); if(null != elemMap) { int attrDecl = elemMap.get(attrNameIndex); if((attrDecl >> 16) == fStringPool.addSymbol("ID")) { // Apparently, attribute lists have their own string pool. int attrValIndex = xmlAttrList.getAttValue(index); // But then, I don't understand why this works. String valStr=fStringPool.toString(attrValIndex); int valIndex = fStringPool.addSymbol(valStr); m_idMap.put(valIndex, ourslot); } } int w0; int colonpos = attrname.indexOf(':'); if(colonpos > 0) { String prefix = attrname.substring(0, colonpos); w0 = org.w3c.dom.Node.ATTRIBUTE_NODE | (stringToInt(resolveNamespace(prefix)) << 16); } else { w0 = org.w3c.dom.Node.ATTRIBUTE_NODE; } // W1: Parent int w1 = currentParent; // W2: Next (not yet resolved) int w2 = 0; // W3: Tagname int w3 = xmlAttrList.getAttrName(index); // Add this element to the document ourslot = appendNode(w0, w1, w2, w3); previousSibling=ourslot; // Create attribute substructure. // ***** Current XML4J will _only_ yield a single text, // rather than attempting to retain EntityReference nodes // within Attribute values. // ***** DTMProxy currently assumes this behavior! // W0 Low: Node Type, with flag if ignorable whitespace // W0 High: Buffer index (in SAX mode) or 0 (XML4J mode) w0=org.w3c.dom.Node.TEXT_NODE; // W1: Parent w1 = ourslot; // W2: Start position within buffer (SAX), or text index (XML4J) w2 = xmlAttrList.getAttValue(index); // W3: Length of this text (SAX), or 0 (XML4J) w3 = 0; // ************************************************* // ***********FIX BUG SOMEWHERE IN HERE************* // ************************************************* // Do a "weak push" to make this first child // of the Attr node rather than its next-sib. previousSibling=0; appendNode(w0,w1,w2,w3); // Restore attr as the sib previousSibling=ourslot; // Attrs are Parents previousSiblingWasParent=true; } } }
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/0384af4b507b8a7b659e5d833bd076ced413ce2e/DTM.java/buggy/src/org/apache/xalan/dtm/DTM.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 918, 13591, 12, 13688, 12621, 16, 21821, 3167, 3843, 682, 2025, 3843, 682, 16, 18701, 509, 1604, 682, 1016, 13, 282, 288, 565, 309, 12, 13498, 2782, 13, 2463, 31, 3639, 368, 12324, 358, 17343, 688, 326, 1604, 682, 2777, 5411, 514, 1604, 529, 16, 1604, 1132, 31, 565, 368, 8547, 279, 394, 1981, 819, 565, 514, 5808, 1388, 1817, 3156, 33, 81, 67, 5531, 3402, 31, 3639, 368, 4389, 1281, 394, 1981, 12312, 565, 309, 12, 1747, 682, 1016, 5, 29711, 21, 13, 565, 288, 1377, 364, 261, 474, 770, 273, 2025, 3843, 682, 18, 588, 3759, 3843, 12, 1747, 682, 1016, 1769, 6647, 770, 480, 300, 21, 31, 6647, 770, 273, 2025, 3843, 682, 18, 588, 2134, 3843, 12, 1615, 3719, 1377, 288, 3639, 1604, 529, 273, 284, 780, 2864, 18, 10492, 12, 2902, 3843, 682, 18, 588, 28973, 12, 1615, 10019, 3639, 309, 261, 1747, 529, 18, 17514, 1190, 2932, 16741, 2773, 3719, 3639, 288, 1850, 368, 3167, 24, 46, 8572, 2952, 25818, 28641, 358, 7077, 333, 364, 584, 1850, 1604, 1132, 273, 284, 780, 2864, 18, 10492, 12, 2902, 3843, 682, 18, 588, 3075, 620, 12, 1615, 10019, 1850, 514, 3153, 3239, 273, 1604, 529, 18, 28023, 12, 26, 1769, 1850, 309, 12, 81, 67, 5531, 3402, 422, 1817, 3156, 13, 5411, 1817, 3156, 273, 394, 514, 5808, 1388, 5621, 1850, 1817, 3156, 18, 458, 12, 2387, 3239, 16, 1747, 1132, 1769, 3639, 289, 3639, 469, 309, 12, 1747, 529, 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, 727, 918, 13591, 12, 13688, 12621, 16, 21821, 3167, 3843, 682, 2025, 3843, 682, 16, 18701, 509, 1604, 682, 1016, 13, 282, 288, 565, 309, 12, 13498, 2782, 13, 2463, 31, 3639, 368, 12324, 358, 17343, 688, 326, 1604, 682, 2777, 5411, 514, 1604, 529, 16, 1604, 1132, 31, 565, 368, 8547, 279, 394, 1981, 819, 565, 514, 5808, 1388, 1817, 3156, 33, 81, 67, 5531, 3402, 31, 3639, 368, 4389, 1281, 394, 1981, 12312, 565, 309, 12, 1747, 682, 1016, 5, 29711, 21, 13, 565, 288, 1377, 364, 261, 474, 770, 273, 2025, 3843, 682, 18, 588, 3759, 3843, 12, 1747, 682, 1016, 1769, 6647, 770, 480, 300, 21, 31, 6647, 770, 273, 2025, 3843, 682, 2 ]
public boolean isMessagePartOfTransaction(SIPMessage messageToTest) { // List of Via headers in the message to test ViaList viaHeaders; // Topmost Via header in the list Via topViaHeader; // Branch code in the topmost Via header String messageBranch; // Flags whether the select message is part of this transaction boolean transactionMatches; transactionMatches = false; /** if (LogWriter.needsLogging) { sipStack.logWriter.logMessage("--------- TEST ------------"); sipStack.logWriter.logMessage( " testing " + this.getOriginalRequest().encodeMessage()); sipStack.logWriter.logMessage("Against " + messageToTest.encodeMessage()); sipStack.logWriter.logMessage( "isTerminated = " + isTerminated()); } **/ // Compensation for retransmits after OK has been dispatched // as suggested by Antonis Karydas. Cancel Processing is // special because we want to look for the invite if (((SIPRequest) messageToTest).getMethod().equals(Request.CANCEL) || ((((SIPTransactionStack) getSIPStack()) .isDialogCreated(((SIPRequest) messageToTest).getMethod())) || !isTerminated())) { // Get the topmost Via header and its branch parameter viaHeaders = messageToTest.getViaHeaders(); if (viaHeaders != null) { topViaHeader = (Via) viaHeaders.getFirst(); messageBranch = topViaHeader.getBranch(); if (messageBranch != null) { // If the branch parameter exists but // does not start with the magic cookie, if (!messageBranch .startsWith(SIPConstants.BRANCH_MAGIC_COOKIE)) { // Flags this as old // (RFC2543-compatible) client // version messageBranch = null; } } // If a new branch parameter exists, if (messageBranch != null && this.getBranch() != null) { if (getBranch().equals(messageBranch) && topViaHeader.getSentBy().equals( ((Via) getOriginalRequest() .getViaHeaders() .getFirst()) .getSentBy())) { // Matching server side transaction with only the // branch parameter. transactionMatches = true; } // If this is an RFC2543-compliant message, } else { // If RequestURI, To tag, From tag, // CallID, CSeq number, and top Via // headers are the same, String originalFromTag = getOriginalRequest().getFrom().getTag(); String thisFromTag = messageToTest.getFrom().getTag(); boolean skipFrom = (originalFromTag == null || thisFromTag == null); String originalToTag = getOriginalRequest().getTo().getTag(); String thisToTag = messageToTest.getTo().getTag(); boolean skipTo = (originalToTag == null || thisToTag == null); if (getOriginalRequest() .getRequestURI() .equals(((SIPRequest) messageToTest).getRequestURI()) && (skipFrom || originalFromTag.equals(thisFromTag)) && (skipTo || originalToTag.equals(thisToTag)) && getOriginalRequest().getCallId().getCallId().equals( messageToTest.getCallId().getCallId()) && getOriginalRequest().getCSeq().getSequenceNumber() == messageToTest.getCSeq().getSequenceNumber() && topViaHeader.equals( getOriginalRequest().getViaHeaders().getFirst())) { transactionMatches = true; } } } } return transactionMatches; }
3364 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3364/d231d2c6c5ca907b5c90d5737c6ae873878b219f/SIPServerTransaction.java/clean/src/gov/nist/javax/sip/stack/SIPServerTransaction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 353, 1079, 1988, 951, 3342, 12, 17739, 1079, 883, 774, 4709, 13, 288, 7734, 368, 987, 434, 776, 1155, 1607, 316, 326, 883, 358, 1842, 3639, 776, 1155, 682, 3970, 3121, 31, 3639, 368, 7202, 10329, 776, 1155, 1446, 316, 326, 666, 3639, 776, 1155, 1760, 21246, 1864, 31, 3639, 368, 15449, 981, 316, 326, 1760, 10329, 776, 1155, 1446, 3639, 514, 883, 7108, 31, 3639, 368, 10104, 2856, 326, 2027, 883, 353, 1087, 434, 333, 2492, 3639, 1250, 2492, 6869, 31, 7734, 2492, 6869, 273, 629, 31, 202, 26873, 3639, 309, 261, 1343, 2289, 18, 20600, 7735, 13, 288, 5411, 10341, 2624, 18, 1330, 2289, 18, 1330, 1079, 2932, 8567, 22130, 300, 13849, 8863, 5411, 10341, 2624, 18, 1330, 2289, 18, 1330, 1079, 12, 5411, 315, 7769, 315, 397, 333, 18, 588, 8176, 691, 7675, 3015, 1079, 10663, 5411, 10341, 2624, 18, 1330, 2289, 18, 1330, 1079, 2932, 23530, 334, 315, 397, 883, 774, 4709, 18, 3015, 1079, 10663, 5411, 10341, 2624, 18, 1330, 2289, 18, 1330, 1079, 12, 5411, 315, 291, 21888, 273, 315, 397, 353, 21888, 10663, 3639, 289, 202, 636, 19, 7734, 368, 5427, 25159, 364, 283, 2338, 22679, 1839, 7791, 711, 2118, 25513, 3639, 368, 487, 22168, 635, 18830, 265, 291, 1475, 814, 28831, 18, 10347, 19652, 353, 3639, 368, 4582, 2724, 732, 2545, 358, 2324, 364, 326, 19035, 3639, 309, 261, 12443, 17739, 691, 13, 883, 774, 4709, 2934, 588, 1305, 7675, 14963, 12, 691, 18, 25268, 13, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 353, 1079, 1988, 951, 3342, 12, 17739, 1079, 883, 774, 4709, 13, 288, 7734, 368, 987, 434, 776, 1155, 1607, 316, 326, 883, 358, 1842, 3639, 776, 1155, 682, 3970, 3121, 31, 3639, 368, 7202, 10329, 776, 1155, 1446, 316, 326, 666, 3639, 776, 1155, 1760, 21246, 1864, 31, 3639, 368, 15449, 981, 316, 326, 1760, 10329, 776, 1155, 1446, 3639, 514, 883, 7108, 31, 3639, 368, 10104, 2856, 326, 2027, 883, 353, 1087, 434, 333, 2492, 3639, 1250, 2492, 6869, 31, 7734, 2492, 6869, 273, 629, 31, 202, 26873, 3639, 309, 261, 1343, 2289, 18, 20600, 7735, 13, 288, 5411, 10341, 2624, 18, 1330, 2289, 18, 1330, 1079, 2932, 8567, 22130, 300, 13849, 8863, 5411, 2 ]
public static Object allocateScalar (int size, Object[] tib, boolean hasFinalizer) throws OutOfMemoryError { VM_Magic.pragmaInline(); // make sure this method is inlined if (VM.BuildForEventLogging && VM.EventLoggingEnabled) VM_EventLogger.logObjectAllocationEvent(); VM_Address region = getHeapSpaceFast(size); Object newRef = VM_ObjectModel.initializeScalar(region, tib, size); if (hasFinalizer) VM_Finalizer.addElement(newRef); return newRef; }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/9f699f81ddd0cbd2d2cfd9f93dab9e76d2389606/VM_Allocator.java/clean/rvm/src/vm/memoryManagers/watson/hybrid/VM_Allocator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 3845, 921, 16247, 13639, 12, 474, 1467, 16, 921, 8526, 88, 495, 16, 6494, 5332, 7951, 1824, 13, 15069, 11224, 6031, 668, 95, 7397, 67, 19289, 18, 683, 9454, 10870, 5621, 202, 759, 81, 3223, 594, 2211, 2039, 291, 267, 22316, 430, 12, 7397, 18, 3116, 1290, 1133, 7735, 10, 10, 7397, 18, 1133, 7735, 1526, 13, 202, 7397, 67, 1133, 3328, 18, 1330, 921, 17353, 1133, 5621, 7397, 67, 1887, 6858, 33, 588, 15648, 3819, 12305, 12, 1467, 1769, 921, 2704, 1957, 33, 7397, 67, 921, 1488, 18, 11160, 13639, 12, 6858, 16, 88, 495, 16, 1467, 1769, 430, 12, 5332, 7951, 1824, 13, 7397, 67, 7951, 1824, 18, 1289, 1046, 12, 2704, 1957, 1769, 2463, 2704, 1957, 31, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 3845, 921, 16247, 13639, 12, 474, 1467, 16, 921, 8526, 88, 495, 16, 6494, 5332, 7951, 1824, 13, 15069, 11224, 6031, 668, 95, 7397, 67, 19289, 18, 683, 9454, 10870, 5621, 202, 759, 81, 3223, 594, 2211, 2039, 291, 267, 22316, 430, 12, 7397, 18, 3116, 1290, 1133, 7735, 10, 10, 7397, 18, 1133, 7735, 1526, 13, 202, 7397, 67, 1133, 3328, 18, 1330, 921, 17353, 1133, 5621, 7397, 67, 1887, 6858, 33, 588, 15648, 3819, 12305, 12, 1467, 1769, 921, 2704, 1957, 33, 7397, 67, 921, 1488, 18, 11160, 13639, 12, 6858, 16, 88, 495, 16, 1467, 1769, 430, 12, 5332, 7951, 1824, 13, 7397, 67, 7951, 1824, 18, 1289, 1046, 12, 2704, 1957, 1769, 2463, 2704, 2 ]
public void rebuildModel(NSNotification not) { _currentZCriteria.removeAllObjects(); log.info("Rebuild model");
public void rebuildModel(NSNotification notification) { if(_model == notification.object() || notification.object() == null) { _currentZCriteria.removeAllObjects(); _initializedDimensionArrayFromBindings = false; _model = null; log.info("Rebuild model"); }
public void rebuildModel(NSNotification not) { _currentZCriteria.removeAllObjects(); //_initializedDimensionArrayFromBindings = false; //initializeDimensionArrayFromBindings(); log.info("Rebuild model"); }
50512 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50512/bd4734b0006532de54102fc4acafe16224322054/WRReport.java/clean/DynaReporting/Frameworks/WRReporting/Sources/er/reporting/WRReport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13419, 1488, 12, 3156, 4386, 486, 13, 288, 3639, 389, 2972, 62, 7231, 18, 4479, 1595, 4710, 5621, 3639, 368, 67, 13227, 8611, 1076, 1265, 10497, 273, 629, 31, 3639, 368, 11160, 8611, 1076, 1265, 10497, 5621, 3639, 613, 18, 1376, 2932, 426, 3510, 938, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13419, 1488, 12, 3156, 4386, 486, 13, 288, 3639, 389, 2972, 62, 7231, 18, 4479, 1595, 4710, 5621, 3639, 368, 67, 13227, 8611, 1076, 1265, 10497, 273, 629, 31, 3639, 368, 11160, 8611, 1076, 1265, 10497, 5621, 3639, 613, 18, 1376, 2932, 426, 3510, 938, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
System.out.println("longestUnplacedChain has : " + longestUnplacedChain.getAtomCount() + " atoms.");
private void handleAliphatics() throws org.openscience.cdk.exception.NoSuchAtomException { //System.out.println("Longest Chain has " + longestChain.getAtomCount() + " atoms."); Atom atom = null; double xDiff, yDiff; Atom[] atoms = null; Bond[] bonds = null; AtomContainer unplacedAtoms = null; AtomContainer placedAtoms = null; AtomContainer longestUnplacedChain = null; double startAngle = 0, addAngle = 0, unoccupiedAngle = 0; Vector2d direction = null; Vector2d startVector = null; boolean done; do { done = false; atom = getNextAtomWithAliphaticUnplacedNeigbors(); if (atom != null) { unplacedAtoms = getUnplacedAtoms(atom); placedAtoms = getPlacedAtoms(atom); longestUnplacedChain = atomPlacer.getLongestUnplacedChain(molecule, atom); if (longestUnplacedChain.getAtomCount() > 1) { if (placedAtoms.getAtomCount() > 1) { atomPlacer.distributePartners(atom, placedAtoms, placedAtoms.get2DCenter(), unplacedAtoms, bondLength); direction = new Vector2d(longestUnplacedChain.getAtomAt(1).getPoint2D()); startVector = new Vector2d(atom.getPoint2D()); direction.sub(startVector); } else { direction = atomPlacer.getNextBondVector(atom, placedAtoms.getAtomAt(0), molecule.get2DCenter()); } for (int f = 1; f < longestUnplacedChain.getAtomCount(); f++) { longestUnplacedChain.getAtomAt(f).flags[CDKConstants.ISPLACED] = false; } System.out.println("longestUnplacedChain has : " + longestUnplacedChain.getAtomCount() + " atoms."); atomPlacer.placeLinearChain(longestUnplacedChain, direction, bondLength); } else { done = true; } } else { done = true; } }while(!done); }
1306 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1306/060936e456d06ac64dd023b8cddf5a8831186bf9/StructureDiagramGenerator.java/buggy/src/org/openscience/cdk/layout/StructureDiagramGenerator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1640, 37, 549, 844, 270, 2102, 1435, 1216, 2358, 18, 20346, 71, 6254, 18, 71, 2883, 18, 4064, 18, 28341, 3641, 503, 202, 95, 202, 202, 759, 3163, 18, 659, 18, 8222, 2932, 3708, 395, 7824, 711, 315, 397, 12163, 3893, 18, 588, 3641, 1380, 1435, 397, 315, 9006, 1199, 1769, 202, 202, 3641, 3179, 273, 446, 31, 202, 202, 9056, 619, 5938, 16, 677, 5938, 31, 202, 202, 3641, 8526, 9006, 273, 446, 31, 202, 202, 9807, 8526, 15692, 273, 446, 31, 202, 202, 3641, 2170, 640, 28238, 14280, 273, 446, 31, 202, 202, 3641, 2170, 15235, 14280, 273, 446, 31, 202, 202, 3641, 2170, 12163, 984, 28238, 3893, 273, 446, 31, 9506, 202, 9056, 787, 8467, 273, 374, 16, 527, 8467, 273, 374, 16, 640, 25049, 416, 2092, 8467, 273, 374, 31, 202, 202, 5018, 22, 72, 4068, 273, 446, 31, 202, 202, 5018, 22, 72, 787, 5018, 273, 446, 31, 202, 202, 6494, 2731, 31, 202, 202, 2896, 202, 202, 95, 1082, 202, 8734, 273, 629, 31, 1082, 202, 7466, 273, 6927, 3641, 1190, 37, 549, 844, 2126, 984, 28238, 6586, 360, 70, 1383, 5621, 1082, 202, 430, 261, 7466, 480, 446, 13, 1082, 202, 95, 9506, 202, 318, 28238, 14280, 273, 10833, 28238, 14280, 12, 7466, 1769, 9506, 202, 28238, 14280, 273, 9774, 623, 72, 14280, 12, 7466, 1769, 9506, 202, 5748, 395, 984, 28238, 3893, 273, 3179, 1749, 10598, 18, 588, 3708, 395, 984, 28238, 3893, 12, 81, 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, 1640, 37, 549, 844, 270, 2102, 1435, 1216, 2358, 18, 20346, 71, 6254, 18, 71, 2883, 18, 4064, 18, 28341, 3641, 503, 202, 95, 202, 202, 759, 3163, 18, 659, 18, 8222, 2932, 3708, 395, 7824, 711, 315, 397, 12163, 3893, 18, 588, 3641, 1380, 1435, 397, 315, 9006, 1199, 1769, 202, 202, 3641, 3179, 273, 446, 31, 202, 202, 9056, 619, 5938, 16, 677, 5938, 31, 202, 202, 3641, 8526, 9006, 273, 446, 31, 202, 202, 9807, 8526, 15692, 273, 446, 31, 202, 202, 3641, 2170, 640, 28238, 14280, 273, 446, 31, 202, 202, 3641, 2170, 15235, 14280, 273, 446, 31, 202, 202, 3641, 2170, 12163, 984, 28238, 3893, 273, 446, 31, 9506, 202, 2 ]
value = "( 1.1 USAGE distributedOperation )";
value = "( 1.1 SYNTAX 1.1 USAGE distributedOperation )";
public void testUsage() throws ParseException { String value = null; AttributeTypeDescription atd = null; // DEFAULT is userApplications value = "( 1.1 )"; atd = parser.parseAttributeTypeDescription( value ); assertEquals( UsageEnum.USER_APPLICATIONS, atd.getUsage() ); // userApplications value = "( 1.1 USAGE userApplications )"; atd = parser.parseAttributeTypeDescription( value ); assertEquals( UsageEnum.USER_APPLICATIONS, atd.getUsage() ); // directoryOperation value = "( 1.1 USAGE directoryOperation )"; atd = parser.parseAttributeTypeDescription( value ); assertEquals( UsageEnum.DIRECTORY_OPERATION, atd.getUsage() ); // AUXILIARY value = "( 1.1 USAGE distributedOperation )"; atd = parser.parseAttributeTypeDescription( value ); assertEquals( UsageEnum.DISTRIBUTED_OPERATION, atd.getUsage() ); // STRUCTURAL value = "( 1.1 USAGE dSAOperation )"; atd = parser.parseAttributeTypeDescription( value ); assertEquals( UsageEnum.DSA_OPERATION, atd.getUsage() ); // TODO: case insensitive? // ivalid value = "( 1.1 USAGE abc )"; try { atd = parser.parseAttributeTypeDescription( value ); fail( "Exception expected, invalid USAGE value" ); } catch ( ParseException pe ) { // expected } }
54578 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54578/ff44f37d485d24a3daa2141ea35c2b831557c20a/SchemaParserAttributeTypeDescriptionTest.java/clean/ldap/src/test/java/org/apache/directory/shared/ldap/schema/syntax/SchemaParserAttributeTypeDescriptionTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 5357, 1435, 1216, 10616, 565, 288, 3639, 514, 460, 273, 446, 31, 3639, 26414, 3291, 622, 72, 273, 446, 31, 3639, 368, 3331, 353, 729, 17119, 3639, 460, 273, 7751, 404, 18, 21, 262, 14432, 3639, 622, 72, 273, 2082, 18, 2670, 19529, 3291, 12, 460, 11272, 3639, 1815, 8867, 12, 10858, 3572, 18, 4714, 67, 25039, 55, 16, 622, 72, 18, 588, 5357, 1435, 11272, 3639, 368, 729, 17119, 3639, 460, 273, 7751, 404, 18, 21, 11836, 2833, 729, 17119, 262, 14432, 3639, 622, 72, 273, 2082, 18, 2670, 19529, 3291, 12, 460, 11272, 3639, 1815, 8867, 12, 10858, 3572, 18, 4714, 67, 25039, 55, 16, 622, 72, 18, 588, 5357, 1435, 11272, 3639, 368, 1867, 2988, 3639, 460, 273, 7751, 404, 18, 21, 11836, 2833, 1867, 2988, 262, 14432, 3639, 622, 72, 273, 2082, 18, 2670, 19529, 3291, 12, 460, 11272, 3639, 1815, 8867, 12, 10858, 3572, 18, 17229, 67, 22040, 16, 622, 72, 18, 588, 5357, 1435, 11272, 3639, 368, 28235, 60, 45, 2053, 6043, 3639, 460, 273, 7751, 404, 18, 21, 7068, 28614, 404, 18, 21, 11836, 2833, 16859, 2988, 262, 14432, 3639, 622, 72, 273, 2082, 18, 2670, 19529, 3291, 12, 460, 11272, 3639, 1815, 8867, 12, 10858, 3572, 18, 2565, 15765, 3000, 6404, 67, 22040, 16, 622, 72, 18, 588, 5357, 1435, 11272, 3639, 368, 7128, 9749, 27015, 3639, 460, 273, 7751, 404, 18, 21, 11836, 2833, 302, 5233, 2988, 262, 14432, 3639, 622, 72, 273, 2082, 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, 5357, 1435, 1216, 10616, 565, 288, 3639, 514, 460, 273, 446, 31, 3639, 26414, 3291, 622, 72, 273, 446, 31, 3639, 368, 3331, 353, 729, 17119, 3639, 460, 273, 7751, 404, 18, 21, 262, 14432, 3639, 622, 72, 273, 2082, 18, 2670, 19529, 3291, 12, 460, 11272, 3639, 1815, 8867, 12, 10858, 3572, 18, 4714, 67, 25039, 55, 16, 622, 72, 18, 588, 5357, 1435, 11272, 3639, 368, 729, 17119, 3639, 460, 273, 7751, 404, 18, 21, 11836, 2833, 729, 17119, 262, 14432, 3639, 622, 72, 273, 2082, 18, 2670, 19529, 3291, 12, 460, 11272, 3639, 1815, 8867, 12, 10858, 3572, 18, 4714, 67, 25039, 55, 16, 622, 72, 18, 588, 5357, 1435, 11272, 3639, 2 ]
public void first( )
public boolean first( )
public void first( ) { i = 0; }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/5855912b4a0ee34b7556d012c7bdb58187a9c4e3/ChartUIUtil.java/clean/chart/org.eclipse.birt.chart.ui/src/org/eclipse/birt/chart/ui/util/ChartUIUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 1122, 12, 262, 1082, 202, 95, 9506, 202, 77, 273, 374, 31, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1122, 12, 262, 1082, 202, 95, 9506, 202, 77, 273, 374, 31, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (!srcProps.isEmpty()) { ISVNProperties dstProps = new SVNProperties14(new HashMap(srcProps.asMap()), this, entry.getName()){
ISVNProperties dstProps = new SVNProperties14(new HashMap(srcProps.asMap()), this, entry.getName()){
public SVNAdminArea upgradeFormat(SVNAdminArea adminArea) throws SVNException { File logFile = adminArea.getAdminFile("log"); SVNFileType type = SVNFileType.getType(logFile); if (type == SVNFileType.FILE) { return adminArea; } ISVNLog log = getLog(); Map command = new HashMap(); command.put(ISVNLog.FORMAT_ATTR, String.valueOf(getFormatVersion())); log.addCommand(ISVNLog.UPGRADE_FORMAT, command, false); command.clear(); Iterator entries = adminArea.entries(true); myEntries = new HashMap(); Map basePropsCache = getBasePropertiesStorage(true); Map propsCache = getPropertiesStorage(true); for (; entries.hasNext();) { SVNEntry entry = (SVNEntry) entries.next(); if (entry.getKind() != SVNNodeKind.FILE && !adminArea.getThisDirName().equals(entry.getName())) { continue; } SVNEntry newEntry = new SVNEntry(new HashMap(entry.asMap()), this, entry.getName()); myEntries.put(entry.getName(), newEntry); ISVNProperties srcBaseProps = adminArea.getBaseProperties(entry.getName()); if (!srcBaseProps.isEmpty()) { Map basePropsHolder = new HashMap(srcBaseProps.asMap()); ISVNProperties dstBaseProps = new SVNProperties13(basePropsHolder); basePropsCache.put(entry.getName(), dstBaseProps); } ISVNProperties srcProps = adminArea.getProperties(entry.getName()); if (!srcProps.isEmpty()) { ISVNProperties dstProps = new SVNProperties14(new HashMap(srcProps.asMap()), this, entry.getName()){ protected Map loadProperties() throws SVNException { return myProperties; } }; propsCache.put(entry.getName(), dstProps); } command.put(ISVNLog.NAME_ATTR, entry.getName()); command.put(SVNProperty.shortPropertyName(SVNProperty.PROP_TIME), SVNTimeUtil.formatDate(new Date(0), true)); log.addCommand(ISVNLog.MODIFY_ENTRY, command, false); command.clear(); ISVNProperties wcProps = adminArea.getWCProperties(entry.getName()); log.logChangedWCProperties(entry.getName(),wcProps.asMap()); } saveVersionedProperties(log, false); log.save(); SVNFileUtil.deleteFile(getAdminFile("README.txt")); SVNFileUtil.deleteFile(getAdminFile("empty-file")); SVNFileUtil.deleteAll(getAdminFile("wcprops"), true); SVNFileUtil.deleteAll(getAdminFile("dir-wcprops"), true); runLogs(); return this; }
2776 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2776/0bad1f667479cde6fc6af1062095d8e60ec33fa9/SVNAdminArea14.java/clean/javasvn/src/org/tmatesoft/svn/core/internal/wc/admin/SVNAdminArea14.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 29537, 50, 4446, 5484, 8400, 1630, 12, 23927, 50, 4446, 5484, 3981, 5484, 13, 1216, 29537, 50, 503, 288, 3639, 1387, 20169, 273, 3981, 5484, 18, 588, 4446, 812, 2932, 1330, 8863, 3639, 29537, 50, 28941, 618, 273, 29537, 50, 28941, 18, 588, 559, 12, 1330, 812, 1769, 3639, 309, 261, 723, 422, 29537, 50, 28941, 18, 3776, 13, 288, 5411, 327, 3981, 5484, 31, 3639, 289, 3639, 4437, 58, 50, 1343, 613, 273, 9189, 5621, 3639, 1635, 1296, 273, 394, 4317, 5621, 3639, 1296, 18, 458, 12, 5127, 58, 50, 1343, 18, 7254, 67, 12043, 16, 514, 18, 1132, 951, 12, 588, 1630, 1444, 1435, 10019, 3639, 613, 18, 1289, 2189, 12, 5127, 58, 50, 1343, 18, 3079, 24554, 1639, 67, 7254, 16, 1296, 16, 629, 1769, 3639, 1296, 18, 8507, 5621, 7734, 4498, 3222, 273, 3981, 5484, 18, 8219, 12, 3767, 1769, 3639, 3399, 5400, 273, 394, 4317, 5621, 3639, 1635, 1026, 5047, 1649, 273, 8297, 2297, 3245, 12, 3767, 1769, 3639, 1635, 3458, 1649, 273, 9392, 3245, 12, 3767, 1769, 7734, 364, 261, 31, 3222, 18, 5332, 2134, 5621, 13, 288, 5411, 29537, 50, 1622, 1241, 273, 261, 23927, 50, 1622, 13, 3222, 18, 4285, 5621, 5411, 309, 261, 4099, 18, 588, 5677, 1435, 480, 29537, 50, 907, 5677, 18, 3776, 597, 401, 3666, 5484, 18, 588, 2503, 28780, 7675, 14963, 12, 4099, 18, 17994, 1435, 3719, 288, 7734, 1324, 31, 5411, 289, 13491, 29537, 50, 1622, 24086, 273, 394, 29537, 50, 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, 29537, 50, 4446, 5484, 8400, 1630, 12, 23927, 50, 4446, 5484, 3981, 5484, 13, 1216, 29537, 50, 503, 288, 3639, 1387, 20169, 273, 3981, 5484, 18, 588, 4446, 812, 2932, 1330, 8863, 3639, 29537, 50, 28941, 618, 273, 29537, 50, 28941, 18, 588, 559, 12, 1330, 812, 1769, 3639, 309, 261, 723, 422, 29537, 50, 28941, 18, 3776, 13, 288, 5411, 327, 3981, 5484, 31, 3639, 289, 3639, 4437, 58, 50, 1343, 613, 273, 9189, 5621, 3639, 1635, 1296, 273, 394, 4317, 5621, 3639, 1296, 18, 458, 12, 5127, 58, 50, 1343, 18, 7254, 67, 12043, 16, 514, 18, 1132, 951, 12, 588, 1630, 1444, 1435, 10019, 3639, 613, 18, 1289, 2189, 12, 5127, 58, 50, 1343, 2 ]
return null;
return getAttrs();
public Map<String, Object> getAttrs(boolean applyCos) throws ServiceException { // TODO Auto-generated method stub return null; }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/59a79db8360cfdae1763cd4b31acef035367f819/SoapAccount.java/clean/ZimbraServer/src/java/com/zimbra/cs/account/soap/SoapAccount.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1635, 32, 780, 16, 1033, 34, 336, 8262, 12, 6494, 2230, 39, 538, 13, 5411, 1216, 16489, 288, 3639, 368, 2660, 8064, 17, 11168, 707, 7168, 3639, 327, 336, 8262, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1635, 32, 780, 16, 1033, 34, 336, 8262, 12, 6494, 2230, 39, 538, 13, 5411, 1216, 16489, 288, 3639, 368, 2660, 8064, 17, 11168, 707, 7168, 3639, 327, 336, 8262, 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 ]
PluginVersionIdentifier pvi = new PluginVersionIdentifier(version); return findFeatureModel(id, pvi.getMajorComponent() + "." + pvi.getMinorComponent() + "." + pvi.getServiceComponent() + ".qualifier");
Version pvi = Version.parseVersion(version); return findFeatureModel(id, pvi.getMajor() + "." + pvi.getMinor() + "." + pvi.getMicro() + ".qualifier");
public IFeatureModel findFeatureModelRelaxed(String id, String version) { IFeatureModel model = findFeatureModel(id, version); if (model != null) { return model; } PluginVersionIdentifier pvi = new PluginVersionIdentifier(version); return findFeatureModel(id, pvi.getMajorComponent() + "." //$NON-NLS-1$ + pvi.getMinorComponent() + "." //$NON-NLS-1$ + pvi.getServiceComponent() + ".qualifier"); //$NON-NLS-1$ }
8783 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8783/f2ec0585174f8edf45be89de2a3c0b8af2aa3999/FeatureModelManager.java/clean/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/FeatureModelManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 4595, 1488, 1104, 4595, 1488, 1971, 651, 329, 12, 780, 612, 16, 514, 1177, 13, 288, 202, 202, 45, 4595, 1488, 938, 273, 1104, 4595, 1488, 12, 350, 16, 1177, 1769, 202, 202, 430, 261, 2284, 480, 446, 13, 288, 1082, 202, 2463, 938, 31, 202, 202, 97, 202, 202, 3773, 1444, 3004, 293, 522, 273, 394, 6258, 1444, 3004, 12, 1589, 1769, 202, 202, 2463, 1104, 4595, 1488, 12, 350, 16, 293, 522, 18, 588, 17581, 1841, 1435, 397, 4585, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 15, 293, 522, 18, 588, 19549, 1841, 1435, 397, 4585, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 15, 293, 522, 18, 588, 1179, 1841, 1435, 397, 3552, 28157, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 482, 467, 4595, 1488, 1104, 4595, 1488, 1971, 651, 329, 12, 780, 612, 16, 514, 1177, 13, 288, 202, 202, 45, 4595, 1488, 938, 273, 1104, 4595, 1488, 12, 350, 16, 1177, 1769, 202, 202, 430, 261, 2284, 480, 446, 13, 288, 1082, 202, 2463, 938, 31, 202, 202, 97, 202, 202, 3773, 1444, 3004, 293, 522, 273, 394, 6258, 1444, 3004, 12, 1589, 1769, 202, 202, 2463, 1104, 4595, 1488, 12, 350, 16, 293, 522, 18, 588, 17581, 1841, 1435, 397, 4585, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 15, 293, 522, 18, 588, 19549, 1841, 1435, 397, 4585, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 15, 293, 522, 18, 588, 1179, 2 ]
if (event.widget instanceof MenuItem) { if (!((MenuItem) event.widget).getSelection()) return; } run(); }
if (event.widget instanceof MenuItem) { if (!((MenuItem) event.widget).getSelection()) return; } run(); }
public void runWithEvent(Event event) { //radio buttons receive an event when they become unselected, //so we must not run the action in this case if (event.widget instanceof MenuItem) { if (!((MenuItem) event.widget).getSelection()) return; } run(); }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/807b15d2053678e017dab7ed06f7561764e8e5a3/BuildSetAction.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/actions/BuildSetAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1190, 1133, 12, 1133, 871, 13, 288, 3639, 368, 17006, 9502, 6798, 392, 871, 1347, 2898, 12561, 640, 8109, 16, 3639, 368, 2048, 732, 1297, 486, 1086, 326, 1301, 316, 333, 648, 3639, 309, 261, 2575, 18, 6587, 1276, 25085, 13, 288, 5411, 309, 16051, 12443, 12958, 13, 871, 18, 6587, 2934, 588, 6233, 10756, 7734, 327, 31, 3639, 289, 3639, 1086, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1190, 1133, 12, 1133, 871, 13, 288, 3639, 368, 17006, 9502, 6798, 392, 871, 1347, 2898, 12561, 640, 8109, 16, 3639, 368, 2048, 732, 1297, 486, 1086, 326, 1301, 316, 333, 648, 3639, 309, 261, 2575, 18, 6587, 1276, 25085, 13, 288, 5411, 309, 16051, 12443, 12958, 13, 871, 18, 6587, 2934, 588, 6233, 10756, 7734, 327, 31, 3639, 289, 3639, 1086, 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 ]
TransferFocusFromObekt(); }
TransferFocusFromObekt(); }
private void jTextFieldObektNameKeyPressed(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jTextFieldObektNameKeyPressed// TODO add your handling code here: if(evt.getKeyCode() ==java.awt.event.KeyEvent.VK_F7) { java.sql.ResultSet rs1 = myParent.getCountriesT().getTableIncludeTextObekt(jTextFieldObektName.getText(),OBEKT_NAME); Connection conn1 = myParent.getCountriesT().getConn(); if(callOrNotCallDialog(checkForMoreRecord(rs1),selectDataOfDocFacade.OBEKT_NAME,rs1,true)) dialogSelectData = new imakante.sales.selectDataOfDocFacade(myParent,true,rs1,conn1,selectDataOfDocFacade.OBEKT_NAME,false); repainObektData(myParent.getID_Obekt()); TransferFocusFromObekt(); } if(evt.getKeyCode() ==java.awt.event.KeyEvent.VK_F8) { java.sql.ResultSet rs1 = myParent.getCountriesT().getTableStartTextObekt(jTextFieldObektName.getText(),OBEKT_NAME); Connection conn1 = myParent.getCountriesT().getConn(); if(callOrNotCallDialog(checkForMoreRecord(rs1),selectDataOfDocFacade.OBEKT_NAME,rs1,true)) dialogSelectData = new imakante.sales.selectDataOfDocFacade(myParent,true,rs1,conn1,selectDataOfDocFacade.OBEKT_NAME,false); repainObektData(myParent.getID_Obekt()); TransferFocusFromObekt(); } if(evt.getKeyCode() ==java.awt.event.KeyEvent.VK_F9) { java.sql.ResultSet rs1 = myParent.getCountriesT().getTableFinishTextObekt(jTextFieldObektName.getText(),OBEKT_NAME); Connection conn1 = myParent.getCountriesT().getConn(); if(callOrNotCallDialog(checkForMoreRecord(rs1),selectDataOfDocFacade.OBEKT_NAME,rs1,true)) dialogSelectData = new imakante.sales.selectDataOfDocFacade(myParent,true,rs1,conn1,selectDataOfDocFacade.OBEKT_NAME,false); repainObektData(myParent.getID_Obekt()); TransferFocusFromObekt(); } if(evt.getKeyCode() ==java.awt.event.KeyEvent.VK_ENTER){ java.sql.ResultSet rs1 = myParent.getCountriesT().getTableIncludeTextObekt(jTextFieldObektName.getText(),OBEKT_NAME); Connection conn1 = myParent.getCountriesT().getConn(); if(callOrNotCallDialog(checkForMoreRecord(rs1),selectDataOfDocFacade.OBEKT_NAME,rs1,true)) dialogSelectData = new imakante.sales.selectDataOfDocFacade(myParent,true,rs1,conn1,selectDataOfDocFacade.OBEKT_NAME,false); repainObektData(myParent.getID_Obekt()); TransferFocusFromObekt(); } }//GEN-LAST:event_jTextFieldObektNameKeyPressed
12667 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12667/819e12d5887ee005a6db30d46fcc791a090c703a/aeDocumentFacade.java/clean/src/imakante/sales/aeDocumentFacade.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 525, 16157, 51, 2196, 8629, 461, 653, 24624, 12, 6290, 18, 2219, 88, 18, 2575, 18, 653, 1133, 6324, 13, 288, 759, 16652, 17, 15354, 30, 2575, 67, 78, 16157, 51, 2196, 8629, 461, 653, 24624, 759, 2660, 527, 3433, 5057, 981, 2674, 30, 3639, 309, 12, 73, 11734, 18, 588, 653, 1085, 1435, 422, 6290, 18, 2219, 88, 18, 2575, 18, 653, 1133, 18, 58, 47, 67, 42, 27, 13, 288, 5411, 2252, 18, 4669, 18, 13198, 3597, 21, 273, 3399, 3054, 18, 588, 30945, 56, 7675, 588, 1388, 8752, 1528, 51, 2196, 8629, 12, 78, 16157, 51, 2196, 8629, 461, 18, 588, 1528, 9334, 5704, 11325, 56, 67, 1985, 1769, 5411, 4050, 1487, 21, 273, 3399, 3054, 18, 588, 30945, 56, 7675, 588, 3543, 5621, 5411, 309, 12, 1991, 1162, 1248, 1477, 6353, 12, 1893, 1290, 7417, 2115, 12, 5453, 21, 3631, 4025, 751, 951, 1759, 12467, 18, 5704, 11325, 56, 67, 1985, 16, 5453, 21, 16, 3767, 3719, 5411, 6176, 3391, 751, 273, 394, 709, 581, 7974, 18, 87, 5408, 18, 4025, 751, 951, 1759, 12467, 12, 4811, 3054, 16, 3767, 16, 5453, 21, 16, 4646, 21, 16, 4025, 751, 951, 1759, 12467, 18, 5704, 11325, 56, 67, 1985, 16, 5743, 1769, 5411, 2071, 530, 51, 2196, 8629, 751, 12, 4811, 3054, 18, 588, 734, 67, 51, 2196, 8629, 10663, 2398, 12279, 9233, 1265, 51, 2196, 8629, 5621, 10792, 289, 3639, 309, 12, 73, 11734, 18, 588, 653, 1085, 1435, 422, 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, 525, 16157, 51, 2196, 8629, 461, 653, 24624, 12, 6290, 18, 2219, 88, 18, 2575, 18, 653, 1133, 6324, 13, 288, 759, 16652, 17, 15354, 30, 2575, 67, 78, 16157, 51, 2196, 8629, 461, 653, 24624, 759, 2660, 527, 3433, 5057, 981, 2674, 30, 3639, 309, 12, 73, 11734, 18, 588, 653, 1085, 1435, 422, 6290, 18, 2219, 88, 18, 2575, 18, 653, 1133, 18, 58, 47, 67, 42, 27, 13, 288, 5411, 2252, 18, 4669, 18, 13198, 3597, 21, 273, 3399, 3054, 18, 588, 30945, 56, 7675, 588, 1388, 8752, 1528, 51, 2196, 8629, 12, 78, 16157, 51, 2196, 8629, 461, 18, 588, 1528, 9334, 5704, 11325, 56, 67, 1985, 1769, 5411, 4050, 1487, 21, 2 ]
LOG.debug("testBadEffMshipDepthCalcExposedByGroupDelete.0");
public void testBadEffMshipDepthCalcExposedByGroupDelete() { LOG.info("testBadEffMshipDepthCalcExposedByGroupDelete"); try { Subject kebe = SubjectHelper.SUBJ0; Subject iata = SubjectHelper.SUBJ1; Subject iawi = SubjectHelper.SUBJ2; LOG.debug("testBadEffMshipDepthCalcExposedByGroupDelete.0"); Subject subj = SubjectFinder.findById("GrouperSystem"); GrouperSession s = GrouperSession.start(subj); Stem root = StemFinder.findRootStem(s); Stem qsuob = root.addChildStem("qsuob","qsuob"); Group admins = qsuob.addChildGroup("admins","admins"); LOG.debug("testBadEffMshipDepthCalcExposedByGroupDelete.0"); admins.addMember(kebe); MembershipHelper.testImm(s, admins, kebe, "members"); MembershipHelper.testNumMship(admins, "members", 1, 1, 0); LOG.debug("testBadEffMshipDepthCalcExposedByGroupDelete.1"); Group staff = qsuob.addChildGroup("staff","staff"); LOG.debug("testBadEffMshipDepthCalcExposedByGroupDelete.2"); staff.addMember(iata); MembershipHelper.testImm(s, admins, kebe, "members"); MembershipHelper.testNumMship(admins, "members", 1, 1, 0); MembershipHelper.testImm(s, staff, iata , "members"); MembershipHelper.testNumMship(staff, "members", 1, 1, 0); LOG.debug("testBadEffMshipDepthCalcExposedByGroupDelete.3"); staff.addMember(iawi); MembershipHelper.testImm(s, admins, kebe, "members"); MembershipHelper.testNumMship(admins, "members", 1, 1, 0); MembershipHelper.testImm(s, staff, iata , "members"); MembershipHelper.testImm(s, staff, iawi , "members"); MembershipHelper.testNumMship(staff, "members", 2, 2, 0); LOG.debug("testBadEffMshipDepthCalcExposedByGroupDelete.4"); Group all_staff = qsuob.addChildGroup("all_staff","all staff"); LOG.debug("testBadEffMshipDepthCalcExposedByGroupDelete.5"); all_staff.addMember(staff.toSubject()); MembershipHelper.testImm(s, admins, kebe, "members"); MembershipHelper.testNumMship(admins, "members", 1, 1, 0); MembershipHelper.testImm(s, all_staff, staff.toSubject() , "members"); MembershipHelper.testEff(s, all_staff, iata, "members", staff, 1); MembershipHelper.testEff(s, all_staff, iawi, "members", staff, 1); MembershipHelper.testNumMship(all_staff, "members", 3, 1, 2); MembershipHelper.testImm(s, staff, iata , "members"); MembershipHelper.testImm(s, staff, iawi , "members"); MembershipHelper.testNumMship(staff, "members", 2, 2, 0); LOG.debug("testBadEffMshipDepthCalcExposedByGroupDelete.6"); admins.grantPriv(admins.toSubject(),Privilege.getInstance("admin")); MembershipHelper.testImm(s, admins, kebe, "members"); MembershipHelper.testImm(s, admins, subj, "admins"); MembershipHelper.testImm(s, admins, admins.toSubject(), "admins"); MembershipHelper.testEff(s, admins, kebe, "admins", admins, 1); MembershipHelper.testNumMship(admins, "members", 1, 1, 0); MembershipHelper.testNumMship(admins, "admins", 3, 2, 1); MembershipHelper.testImm(s, all_staff, staff.toSubject() , "members"); MembershipHelper.testEff(s, all_staff, iata, "members", staff, 1); MembershipHelper.testEff(s, all_staff, iawi, "members", staff, 1); MembershipHelper.testNumMship(all_staff, "members", 3, 1, 2); MembershipHelper.testImm(s, staff, iata , "members"); MembershipHelper.testImm(s, staff, iawi , "members"); MembershipHelper.testNumMship(staff, "members", 2, 2, 0); LOG.debug("testBadEffMshipDepthCalcExposedByGroupDelete.7"); qsuob.grantPriv(admins.toSubject(),Privilege.getInstance("create")); // TODO test LOG.debug("testBadEffMshipDepthCalcExposedByGroupDelete.8"); qsuob.grantPriv(admins.toSubject(),Privilege.getInstance("stem")); // TODO test LOG.debug("testBadEffMshipDepthCalcExposedByGroupDelete.9"); staff.grantPriv(all_staff.toSubject(),Privilege.getInstance("read")); // TODO test MembershipHelper.testImm(s, admins, kebe, "members"); MembershipHelper.testImm(s, admins, subj, "admins"); MembershipHelper.testImm(s, admins, admins.toSubject(), "admins"); MembershipHelper.testEff(s, admins, kebe, "admins", admins, 1); MembershipHelper.testNumMship(admins, "members", 1, 1, 0); MembershipHelper.testNumMship(admins, "admins", 3, 2, 1); MembershipHelper.testImm(s, all_staff, staff.toSubject() , "members"); MembershipHelper.testEff(s, all_staff, iata, "members", staff, 1); MembershipHelper.testEff(s, all_staff, iawi, "members", staff, 1); MembershipHelper.testNumMship(all_staff, "members", 3, 1, 2); MembershipHelper.testImm(s, staff, iata , "members"); MembershipHelper.testImm(s, staff, iawi , "members"); MembershipHelper.testNumMship(staff, "members", 2, 2, 0); MembershipHelper.testImm(s, staff, all_staff.toSubject(), "readers"); MembershipHelper.testEff(s, staff, iata, "readers", staff, 2); MembershipHelper.testEff(s, staff, iawi, "readers", staff, 2); LOG.debug("testBadEffMshipDepthCalcExposedByGroupDelete.10"); staff.grantPriv(admins.toSubject(),Privilege.getInstance("admin")); // TODO test MembershipHelper.testImm(s, admins, kebe, "members"); MembershipHelper.testImm(s, admins, subj, "admins"); MembershipHelper.testImm(s, admins, admins.toSubject(), "admins"); MembershipHelper.testEff(s, admins, kebe, "admins", admins, 1); MembershipHelper.testNumMship(admins, "members", 1, 1, 0); MembershipHelper.testNumMship(admins, "admins", 3, 2, 1); MembershipHelper.testImm(s, all_staff, staff.toSubject() , "members"); MembershipHelper.testEff(s, all_staff, iata, "members", staff, 1); MembershipHelper.testEff(s, all_staff, iawi, "members", staff, 1); MembershipHelper.testNumMship(all_staff, "members", 3, 1, 2); MembershipHelper.testImm(s, staff, iata , "members"); MembershipHelper.testImm(s, staff, iawi , "members"); MembershipHelper.testImm(s, staff, admins.toSubject(), "admins"); MembershipHelper.testEff(s, staff, kebe, "admins", admins, 1); MembershipHelper.testNumMship(staff, "members", 2, 2, 0); MembershipHelper.testNumMship(staff, "admins", 3, 2, 1); LOG.debug("testBadEffMshipDepthCalcExposedByGroupDelete.11"); all_staff.grantPriv(all_staff.toSubject(),Privilege.getInstance("read")); // TODO test MembershipHelper.testImm(s, admins, kebe, "members"); MembershipHelper.testImm(s, admins, subj, "admins"); MembershipHelper.testImm(s, admins, admins.toSubject(), "admins"); MembershipHelper.testEff(s, admins, kebe, "admins", admins, 1); MembershipHelper.testNumMship(admins, "members", 1, 1, 0); MembershipHelper.testNumMship(admins, "admins", 3, 2, 1); LOG.debug("testBadEffMshipDepthCalcExposedByGroupDelete.11.0"); MembershipHelper.testImm(s, all_staff, staff.toSubject() , "members"); MembershipHelper.testEff(s, all_staff, iata, "members", staff, 1); MembershipHelper.testEff(s, all_staff, iawi, "members", staff, 1); MembershipHelper.testNumMship(all_staff, "members", 3, 1, 2); MembershipHelper.testImm(s, all_staff, all_staff.toSubject(), "readers"); MembershipHelper.testEff(s, all_staff, staff.toSubject(), "readers", all_staff, 1); MembershipHelper.testEff(s, all_staff, iata, "readers", staff, 2); MembershipHelper.testEff(s, all_staff, iawi, "readers", staff, 2); MembershipHelper.testNumMship(all_staff, "readers", 5, 2, 3); LOG.debug("testBadEffMshipDepthCalcExposedByGroupDelete.11.1"); MembershipHelper.testImm(s, staff, iata , "members"); MembershipHelper.testImm(s, staff, iawi , "members"); MembershipHelper.testImm(s, staff, admins.toSubject(), "admins"); MembershipHelper.testEff(s, staff, kebe, "admins", admins, 1); MembershipHelper.testNumMship(staff, "members", 2, 2, 0); MembershipHelper.testNumMship(staff, "admins", 3, 2, 1); LOG.debug("testBadEffMshipDepthCalcExposedByGroupDelete.12"); all_staff.grantPriv(admins.toSubject(),Privilege.getInstance("admin")); // TODO test MembershipHelper.testImm(s, admins, kebe, "members"); MembershipHelper.testImm(s, admins, subj, "admins"); MembershipHelper.testImm(s, admins, admins.toSubject(), "admins"); MembershipHelper.testEff(s, admins, kebe, "admins", admins, 1); MembershipHelper.testNumMship(admins, "members", 1, 1, 0); MembershipHelper.testNumMship(admins, "admins", 3, 2, 1); MembershipHelper.testImm(s, all_staff, staff.toSubject() , "members"); MembershipHelper.testEff(s, all_staff, iata, "members", staff, 1); MembershipHelper.testEff(s, all_staff, iawi, "members", staff, 1); MembershipHelper.testNumMship(all_staff, "members", 3, 1, 2); MembershipHelper.testImm(s, all_staff, all_staff.toSubject(), "readers"); MembershipHelper.testEff(s, all_staff, staff.toSubject(), "readers", all_staff, 1); MembershipHelper.testEff(s, all_staff, iata, "readers", staff, 2); MembershipHelper.testEff(s, all_staff, iawi, "readers", staff, 2); MembershipHelper.testNumMship(all_staff, "readers", 5, 2, 3); MembershipHelper.testImm(s, all_staff, subj, "admins"); MembershipHelper.testImm(s, all_staff, admins.toSubject(), "admins"); MembershipHelper.testEff(s, all_staff, kebe, "admins", admins, 1); MembershipHelper.testImm(s, staff, iata , "members"); MembershipHelper.testImm(s, staff, iawi , "members"); MembershipHelper.testImm(s, staff, admins.toSubject(), "admins"); MembershipHelper.testEff(s, staff, kebe, "admins", admins, 1); MembershipHelper.testNumMship(staff, "members", 2, 2, 0); MembershipHelper.testNumMship(staff, "admins", 3, 2, 1); LOG.debug("testBadEffMshipDepthCalcExposedByGroupDelete.13"); GroupHelper.delete(s, admins, admins.getName()); LOG.debug("testBadEffMshipDepthCalcExposedByGroupDelete.14"); GroupHelper.delete(s, staff, staff.getName()); LOG.debug("testBadEffMshipDepthCalcExposedByGroupDelete.15"); GroupHelper.delete(s, all_staff, all_staff.getName()); s.stop(); } catch (Exception e) { Assert.fail("exception: " + e.getMessage()); } } // public void testBadEffMshipDepthCalcExposedByGroupDelete()
5235 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5235/cbff0cdaecf939d28067c35c3fe615033cfbc0ca/TestBugsClosed.java/clean/grouper/src/tests/test/edu/internet2/middleware/grouper/TestBugsClosed.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 6434, 41, 1403, 49, 3261, 6148, 25779, 424, 7423, 858, 1114, 2613, 1435, 288, 565, 2018, 18, 1376, 2932, 3813, 6434, 41, 1403, 49, 3261, 6148, 25779, 424, 7423, 858, 1114, 2613, 8863, 565, 775, 288, 1377, 9912, 12519, 2196, 273, 9912, 2276, 18, 8362, 46, 20, 31, 1377, 9912, 277, 396, 273, 9912, 2276, 18, 8362, 46, 21, 31, 1377, 9912, 277, 2219, 77, 273, 9912, 2276, 18, 8362, 46, 22, 31, 6647, 9912, 15333, 273, 9912, 8441, 18, 4720, 5132, 2932, 1114, 264, 3163, 8863, 1377, 3756, 264, 2157, 272, 273, 3756, 264, 2157, 18, 1937, 12, 1717, 78, 1769, 1377, 348, 874, 1365, 273, 348, 874, 8441, 18, 4720, 2375, 28771, 12, 87, 1769, 1082, 202, 28771, 8719, 89, 947, 273, 1365, 18, 1289, 1763, 28771, 2932, 12926, 89, 947, 15937, 12926, 89, 947, 8863, 1377, 3756, 31116, 273, 8719, 89, 947, 18, 1289, 1763, 1114, 2932, 3666, 87, 15937, 3666, 87, 8863, 6647, 31116, 18, 1289, 4419, 12, 4491, 2196, 1769, 1377, 28100, 2276, 18, 3813, 1170, 81, 12, 87, 16, 31116, 16, 12519, 2196, 16, 315, 7640, 8863, 1377, 28100, 2276, 18, 3813, 2578, 49, 3261, 12, 3666, 87, 16, 315, 7640, 3113, 404, 16, 404, 16, 374, 1769, 1377, 2018, 18, 4148, 2932, 3813, 6434, 41, 1403, 49, 3261, 6148, 25779, 424, 7423, 858, 1114, 2613, 18, 21, 8863, 1377, 3756, 28904, 273, 8719, 89, 947, 18, 1289, 1763, 1114, 2932, 31096, 15937, 31096, 8863, 1377, 2018, 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, 6434, 41, 1403, 49, 3261, 6148, 25779, 424, 7423, 858, 1114, 2613, 1435, 288, 565, 2018, 18, 1376, 2932, 3813, 6434, 41, 1403, 49, 3261, 6148, 25779, 424, 7423, 858, 1114, 2613, 8863, 565, 775, 288, 1377, 9912, 12519, 2196, 273, 9912, 2276, 18, 8362, 46, 20, 31, 1377, 9912, 277, 396, 273, 9912, 2276, 18, 8362, 46, 21, 31, 1377, 9912, 277, 2219, 77, 273, 9912, 2276, 18, 8362, 46, 22, 31, 6647, 9912, 15333, 273, 9912, 8441, 18, 4720, 5132, 2932, 1114, 264, 3163, 8863, 1377, 3756, 264, 2157, 272, 273, 3756, 264, 2157, 18, 1937, 12, 1717, 78, 1769, 1377, 348, 874, 1365, 273, 348, 874, 8441, 18, 4720, 2375, 28771, 12, 2 ]
ending += EOL + "selenium.waitForPageToLoad(\"" + timeOut + "\");";
if (!op.startsWith("click")) { ending += EOL + "selenium.waitForPageToLoad(\"" + timeOut + "\");"; }
private static String XlateSeleneseStatementTokens(String op, String[] tokens, String oldLine) { String beginning = "\t\t// " + oldLine .replaceFirst(BEGIN_SELENESE, "") .replaceFirst(END_SELENESE, "") .replaceAll(SELENESE_TOKEN_DIVIDER, "|") + EOL; String ending = ";"; if (op.endsWith("AndWait")) { ending += EOL + "selenium.waitForPageToLoad(\"" + timeOut + "\");"; op = op.replaceFirst("AndWait", ""); tokens[0] = tokens[0].replaceFirst("AndWait", ""); } if (op.equals("storeText")) { return beginning + "String " + tokens[2] + " = selenium.getText(" + quote(tokens[1]) + ");"; } if (op.equals("storeTextLength")) { return beginning + "Integer " + tokens[2] + " = new Integer(selenium.getText(" + quote(tokens[1]) + ").length());"; } if (op.equals("store")) { return beginning + possiblyDeclare(tokens[2]) + " = " + XlateSeleneseArgument(tokens[1]) + ";"; } if (op.equals("storeAttribute")) { return beginning + possiblyDeclare(tokens[2]) + " = selenium.getAttribute(" + XlateSeleneseArgument(tokens[1]) + ");"; } if (op.equals("storeTitle") || op.equals("storeAlert")) { return beginning + possiblyDeclare(tokens[1]) + " = selenium.get" + op.replaceFirst("store", "") + "();"; } if (op.equals("storeBodyText")) { return beginning + possiblyDeclare(tokens[1]) + " = this.getText();"; } if (op.equals("storeValue")) { if (tokens[2].equals("")) { return beginning + possiblyDeclare(tokens[1]) + " = this.getText();"; } return beginning + possiblyDeclare(tokens[2]) + " = selenium.getValue(" + XlateSeleneseArgument(tokens[1]) + ");"; } if (op.startsWith("verify") || op.startsWith("assert")) { String middle; if (op.startsWith("verify")) { beginning += "verifyEquals("; } else { beginning += "assertEquals("; } ending = ")" + ending; op = op.replaceFirst("assert|verify", ""); if (op.equals("ElementPresent") || op.equals("ElementNotPresent") || op.equals("TextPresent") || op.equals("TextNotPresent") || op.equals("Editable") || op.equals("NotEditable") || op.equals("Visible") || op.equals("NotVisible")) { //assert beginning.indexOf("assert") != -1; // because verify's will be picked off by the caller return "\t\tselenium.assert" + op + "(" + XlateSeleneseArgument(tokens[1]) + ");"; } if (op.equals("Selected") || op.equals("NotSelected")) { return "selenium.assert" + op + "(" + XlateSeleneseArgument(tokens[1]) + ", " + XlateSeleneseArgument(tokens[2]) + ");"; } if (op.startsWith("Not")) { beginning = invertAssertion(beginning); op = op.replaceFirst("Not", ""); } if (op.equals("Attribute")) { return beginning + XlateSeleneseArgument(tokens[2]) + ", selenium.getAttribute(" + XlateSeleneseArgument(tokens[1]) + "));"; } else if (op.equals("Text")) { middle = XlateSeleneseArgument(tokens[2]) + ", selenium.getText(" + XlateSeleneseArgument(tokens[1]) + ")"; } else if (op.equals("TextLength")) { middle = XlateSeleneseArgument(tokens[2]) + ", \"\" + selenium.getText(" + XlateSeleneseArgument(tokens[1]) + ").length()"; } else if (op.equals("Location")) { return "\t\tselenium.assertLocation(" + XlateSeleneseArgument(tokens[1]) + ");"; } else if (op.equals("AbsoluteLocation")) { middle = XlateSeleneseArgument(tokens[1]) + ", selenium.getAbsoluteLocation()"; } else if (op.equals("Title")) { middle = XlateSeleneseArgument(tokens[1]) + ", selenium.getTitle()"; } else if (op.equals("Value")) { middle = XlateSeleneseArgument(tokens[2]) + ", selenium.getValue(" + XlateSeleneseArgument(tokens[1]) + ")"; } else if (op.equals("Alert")) { middle = XlateSeleneseArgument(tokens[1]) + ", selenium.getAlert()"; } else if (op.equals("Prompt")) { middle = XlateSeleneseArgument(tokens[1]) + ", selenium.getPrompt()"; } else if (op.equals("Confirmation")) { middle = XlateSeleneseArgument(tokens[1]) + ", selenium.getConfirmation()"; } else if (op.equals("Checked")) { middle = XlateSeleneseArgument(tokens[2]) + ", selenium.getChecked(" + XlateSeleneseArgument(tokens[1]) + ")"; } else if (op.equals("Expression")) { middle = XlateSeleneseArgument(tokens[1]) + ", " + XlateSeleneseArgument(tokens[2]); } else if (op.equals("ErrorOnNext") || op.equals("FailureOnNext")) { String t = "these line-spanning ops should be handled by the caller: " + oldLine; if (dontThrowOnTranslationDifficulties ) { return "// " + t; } throw new RuntimeException(t); } else if (op.equals("Selected") || op.equals("ValueRepeated") || op.equals("modalDialogTest")) { return "// skipped undocumented " + oldLine; } else if (op.equals("SelectOptions") || op.equals("SelectedOptions")) { String tmpArrayVarName = newTmpName(); beginning = declareAndInitArray(tmpArrayVarName, tokens[2]) + "\n" + beginning; middle = tmpArrayVarName + ", selenium.get" + op + "(" + XlateSeleneseArgument(tokens[1]) + ")"; } else if (op.equals("Table")) { middle = XlateSeleneseArgument(tokens[2]) + ", selenium.get" + op + "(" + XlateSeleneseArgument(tokens[1]) + ")"; } else { String t = "unrecognized assert op " + op; if (dontThrowOnTranslationDifficulties) { return "// " + t; } throw new RuntimeException(t); } return beginning + middle + ending; } if (op.equals("pause")) { return beginning + op + "(" + tokens[1] + ")" + ending; } if (op.equals("modalDialogTest") || op.equals("ValueRepeated") ) { return "// skipped undocumented, unsupported op in " + oldLine; } if (op.equals("open")) { recordFirstDomain(tokens[1]); } int expectedArgCount = 2; if (op.equals("open") || op.equals("answerOnNextPrompt") || op.equals("click") || op.equals("check") || op.equals("selectWindow") || op.equals("submit") || op.equals("uncheck") || op.equals("answerOnNextPrompt") ) { expectedArgCount = 1; } else if (op.equals("chooseCancelOnNextConfirmation") || op.equals("close") || op.equals("refresh") || op.equals("goBack")) { expectedArgCount = 0; } return beginning + XlateSeleneseStatementDefault(expectedArgCount, "selenium", tokens) + ending; }
5066 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5066/0abe2c58598d92a14f6546390553439fe43b4b21/XlateHtmlSeleneseToJava.java/clean/server/src/main/java/org/openqa/selenium/server/testgenerator/XlateHtmlSeleneseToJava.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 514, 1139, 20293, 1877, 275, 3392, 3406, 5157, 12, 780, 1061, 16, 514, 8526, 2430, 16, 514, 1592, 1670, 13, 288, 3639, 514, 8435, 273, 1548, 88, 64, 88, 759, 315, 397, 1592, 1670, 3639, 263, 2079, 3759, 12, 16061, 67, 1090, 900, 5407, 1090, 16, 1408, 13, 3639, 263, 2079, 3759, 12, 4415, 67, 1090, 900, 5407, 1090, 16, 1408, 13, 3639, 263, 2079, 1595, 12, 1090, 900, 5407, 1090, 67, 8412, 67, 2565, 20059, 16, 11747, 7923, 397, 19995, 31, 1171, 514, 11463, 273, 11430, 31, 3639, 309, 261, 556, 18, 5839, 1190, 2932, 1876, 5480, 6, 3719, 288, 5411, 309, 16051, 556, 18, 17514, 1190, 2932, 7475, 6, 3719, 288, 377, 11463, 1011, 19995, 397, 315, 1786, 17327, 18, 7048, 1290, 1964, 26883, 12, 8530, 397, 813, 1182, 397, 7023, 12171, 31, 289, 5411, 1061, 273, 1061, 18, 2079, 3759, 2932, 1876, 5480, 3113, 1408, 1769, 5411, 2430, 63, 20, 65, 273, 2430, 63, 20, 8009, 2079, 3759, 2932, 1876, 5480, 3113, 1408, 1769, 3639, 289, 3639, 309, 261, 556, 18, 14963, 2932, 2233, 1528, 6, 3719, 288, 5411, 327, 8435, 397, 315, 780, 315, 397, 2430, 63, 22, 65, 397, 315, 273, 29480, 18, 588, 1528, 2932, 397, 3862, 12, 7860, 63, 21, 5717, 397, 315, 12171, 31, 3639, 289, 3639, 309, 261, 556, 18, 14963, 2932, 2233, 1528, 1782, 6, 3719, 288, 5411, 327, 8435, 397, 315, 4522, 315, 397, 2430, 63, 22, 65, 397, 315, 273, 394, 2144, 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, 514, 1139, 20293, 1877, 275, 3392, 3406, 5157, 12, 780, 1061, 16, 514, 8526, 2430, 16, 514, 1592, 1670, 13, 288, 3639, 514, 8435, 273, 1548, 88, 64, 88, 759, 315, 397, 1592, 1670, 3639, 263, 2079, 3759, 12, 16061, 67, 1090, 900, 5407, 1090, 16, 1408, 13, 3639, 263, 2079, 3759, 12, 4415, 67, 1090, 900, 5407, 1090, 16, 1408, 13, 3639, 263, 2079, 1595, 12, 1090, 900, 5407, 1090, 67, 8412, 67, 2565, 20059, 16, 11747, 7923, 397, 19995, 31, 1171, 514, 11463, 273, 11430, 31, 3639, 309, 261, 556, 18, 5839, 1190, 2932, 1876, 5480, 6, 3719, 288, 5411, 309, 16051, 556, 18, 17514, 1190, 2932, 7475, 6, 3719, 288, 377, 11463, 1011, 2 ]
if (throwable != null) { frame.debuggerFrame.onExit(cx, true, throwable);
if (throwable instanceof Throwable) { frame.debuggerFrame.onExit(cx, true, (Throwable)throwable);
private static void exitFrame(Context cx, CallFrame frame, Throwable throwable) { if (frame.idata.itsNeedsActivation) { ScriptRuntime.exitActivationFunction(cx); } if (frame.debuggerFrame != null) { try { if (throwable != null) { frame.debuggerFrame.onExit(cx, true, throwable); } else { frame.debuggerFrame.onExit(cx, false, frame.result); } } catch (Throwable ex) { System.err.println("RHINO USAGE WARNING: onExit terminated with exception"); ex.printStackTrace(System.err); } } }
19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/f3998aef64c407a0cdeb69c846426d96e47a0422/Interpreter.java/buggy/src/org/mozilla/javascript/Interpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 2427, 3219, 12, 1042, 9494, 16, 3049, 3219, 2623, 16, 19694, 4206, 10132, 13, 565, 288, 3639, 309, 261, 3789, 18, 350, 396, 18, 1282, 26419, 14857, 13, 288, 5411, 7739, 5576, 18, 8593, 14857, 2083, 12, 71, 92, 1769, 3639, 289, 3639, 309, 261, 3789, 18, 4148, 693, 3219, 480, 446, 13, 288, 5411, 775, 288, 7734, 309, 261, 12849, 429, 480, 446, 13, 288, 10792, 2623, 18, 4148, 693, 3219, 18, 265, 6767, 12, 71, 92, 16, 638, 16, 10132, 1769, 7734, 289, 469, 288, 10792, 2623, 18, 4148, 693, 3219, 18, 265, 6767, 12, 71, 92, 16, 629, 16, 2623, 18, 2088, 1769, 7734, 289, 5411, 289, 1044, 261, 15155, 431, 13, 288, 7734, 2332, 18, 370, 18, 8222, 2932, 54, 44, 706, 51, 11836, 2833, 9744, 30, 603, 6767, 14127, 598, 1520, 8863, 7734, 431, 18, 1188, 6332, 12, 3163, 18, 370, 1769, 5411, 289, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 918, 2427, 3219, 12, 1042, 9494, 16, 3049, 3219, 2623, 16, 19694, 4206, 10132, 13, 565, 288, 3639, 309, 261, 3789, 18, 350, 396, 18, 1282, 26419, 14857, 13, 288, 5411, 7739, 5576, 18, 8593, 14857, 2083, 12, 71, 92, 1769, 3639, 289, 3639, 309, 261, 3789, 18, 4148, 693, 3219, 480, 446, 13, 288, 5411, 775, 288, 7734, 309, 261, 12849, 429, 480, 446, 13, 288, 10792, 2623, 18, 4148, 693, 3219, 18, 265, 6767, 12, 71, 92, 16, 638, 16, 10132, 1769, 7734, 289, 469, 288, 10792, 2623, 18, 4148, 693, 3219, 18, 265, 6767, 12, 71, 92, 16, 629, 16, 2623, 18, 2088, 1769, 7734, 289, 5411, 289, 1044, 261, 15155, 431, 13, 2 ]
Message[] msgs = getMessages(SORT_ID_ASCENDING);
List<Message> msgs = getMessages(SORT_ID_ASCENDING);
void move(Folder target) throws ServiceException { if (!target.canContain(TYPE_MESSAGE)) throw MailServiceException.CANNOT_CONTAIN(); markItemModified(Change.UNMODIFIED); Message[] msgs = getMessages(SORT_ID_ASCENDING); TargetConstraint tcon = mMailbox.getOperationTargetConstraint(); boolean toTrash = target.inTrash(); int oldUnread = 0; for (Message msg : msgs) if (msg.isUnread()) oldUnread++; // if mData.unread is wrong, what to do? right now, always use the calculated value mData.unreadCount = oldUnread; List<Integer> markedRead = new ArrayList<Integer>(), moved = new ArrayList<Integer>(); for (Message msg : msgs) { Folder source = msg.getFolder(); // skip messages that the client doesn't know about, can't modify, or has explicitly excluded if (!msg.checkChangeID() || !TargetConstraint.checkItem(tcon, msg)) continue; if (!source.canAccess(ACL.RIGHT_DELETE) || !target.canAccess(ACL.RIGHT_INSERT)) continue; if (msg.isUnread()) { if (!toTrash || msg.inTrash()) { source.updateUnread(-1); target.updateUnread(1); } else { // unread messages moved from Mailbox to Trash need to be marked read: // update cached unread counts (message, conversation, folder, tags) msg.updateUnread(-1); // note that we need to update this message in the DB markedRead.add(msg.getId()); } } // handle folder message counts source.updateSize(-1); target.updateSize(1); moved.add(msg.getId()); msg.folderChanged(target, 0); } // mark unread messages moved from Mailbox to Trash/Spam as read in the DB if (!markedRead.isEmpty()) DbMailItem.alterUnread(target.getMailbox(), markedRead, false); // moving a conversation to spam closes it // XXX: what if only certain messages got moved? if (target.inSpam()) detach(); if (!moved.isEmpty()) DbMailItem.setFolder(moved, target); }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/1bdb2b478f9aa222e9547adccdf88927e95edb53/Conversation.java/buggy/ZimbraServer/src/java/com/zimbra/cs/mailbox/Conversation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 3635, 12, 3899, 1018, 13, 1216, 16489, 288, 3639, 309, 16051, 3299, 18, 4169, 22928, 12, 2399, 67, 8723, 3719, 5411, 604, 11542, 15133, 18, 39, 16791, 67, 6067, 6964, 5621, 3639, 2267, 1180, 4575, 12, 3043, 18, 2124, 21143, 1769, 3639, 987, 32, 1079, 34, 8733, 273, 20202, 12, 23988, 67, 734, 67, 8633, 12280, 1769, 3639, 5916, 5806, 268, 591, 273, 312, 30239, 18, 588, 2988, 2326, 5806, 5621, 3639, 1250, 358, 29420, 273, 1018, 18, 267, 29420, 5621, 3639, 509, 1592, 984, 896, 273, 374, 31, 3639, 364, 261, 1079, 1234, 294, 8733, 13, 5411, 309, 261, 3576, 18, 291, 984, 896, 10756, 7734, 1592, 984, 896, 9904, 31, 3639, 368, 309, 312, 751, 18, 318, 896, 353, 7194, 16, 4121, 358, 741, 35, 225, 2145, 2037, 16, 3712, 999, 326, 8894, 460, 3639, 312, 751, 18, 318, 896, 1380, 273, 1592, 984, 896, 31, 3639, 987, 32, 4522, 34, 9350, 1994, 273, 394, 2407, 32, 4522, 34, 9334, 10456, 273, 394, 2407, 32, 4522, 34, 5621, 3639, 364, 261, 1079, 1234, 294, 8733, 13, 288, 5411, 12623, 1084, 273, 1234, 18, 588, 3899, 5621, 5411, 368, 2488, 2743, 716, 326, 1004, 3302, 1404, 5055, 2973, 16, 848, 1404, 5612, 16, 578, 711, 8122, 8845, 5411, 309, 16051, 3576, 18, 1893, 3043, 734, 1435, 747, 401, 2326, 5806, 18, 1893, 1180, 12, 88, 591, 16, 1234, 3719, 7734, 1324, 31, 5411, 309, 16051, 3168, 18, 4169, 1862, 12, 9486, 18, 11847, 67, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 3635, 12, 3899, 1018, 13, 1216, 16489, 288, 3639, 309, 16051, 3299, 18, 4169, 22928, 12, 2399, 67, 8723, 3719, 5411, 604, 11542, 15133, 18, 39, 16791, 67, 6067, 6964, 5621, 3639, 2267, 1180, 4575, 12, 3043, 18, 2124, 21143, 1769, 3639, 987, 32, 1079, 34, 8733, 273, 20202, 12, 23988, 67, 734, 67, 8633, 12280, 1769, 3639, 5916, 5806, 268, 591, 273, 312, 30239, 18, 588, 2988, 2326, 5806, 5621, 3639, 1250, 358, 29420, 273, 1018, 18, 267, 29420, 5621, 3639, 509, 1592, 984, 896, 273, 374, 31, 3639, 364, 261, 1079, 1234, 294, 8733, 13, 5411, 309, 261, 3576, 18, 291, 984, 896, 10756, 7734, 1592, 984, 896, 9904, 31, 3639, 368, 309, 312, 751, 2 ]
createContentHandler(String mime_type);
ContentHandler createContentHandler(String mimeType);
createContentHandler(String mime_type);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7c463aa3bd840a934d101c434976bb7b25d5b975/ContentHandlerFactory.java/buggy/core/src/classpath/java/java/net/ContentHandlerFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 752, 1350, 1503, 12, 780, 4892, 67, 723, 1769, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 752, 1350, 1503, 12, 780, 4892, 67, 723, 1769, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
creationPage = new WizardNewProjectCreationPage("newProjectCreationPage");
creationPage = new WizardNewProjectNameAndLocationPage("newProjectCreationPage");
protected void addCustomPages() { creationPage = new WizardNewProjectCreationPage("newProjectCreationPage");//$NON-NLS-1$ creationPage.setTitle(WorkbenchMessages.getString("NewProjectWizard.title")); //$NON-NLS-1$ creationPage.setDescription(WorkbenchMessages.getString("WizardNewProjectCreationPage.description")); //$NON-NLS-1$ creationPage.setInitialProjectName(initialProjectName); this.addPage(creationPage); capabilityPage = new WizardNewProjectCapabilityPage("newProjectCapabilityPage");//$NON-NLS-1$ capabilityPage.setTitle(WorkbenchMessages.getString("NewProjectWizard.title")); //$NON-NLS-1$ capabilityPage.setDescription(WorkbenchMessages.getString("WizardNewProjectCapabilityPage.description")); //$NON-NLS-1$ capabilityPage.setInitialProjectCapabilities(initialProjectCapabilities); capabilityPage.setInitialSelectedCategories(initialSelectedCategories); this.addPage(capabilityPage); }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/da21c63e8c4b024ca95def57b46278685c3b9b33/NewProjectWizard.java/buggy/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/dialogs/NewProjectWizard.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 527, 3802, 5716, 1435, 288, 202, 202, 17169, 1964, 273, 394, 678, 13412, 1908, 4109, 9906, 1964, 2932, 2704, 4109, 9906, 1964, 8863, 759, 8, 3993, 17, 5106, 17, 21, 8, 202, 202, 17169, 1964, 18, 542, 4247, 12, 2421, 22144, 5058, 18, 588, 780, 2932, 1908, 4109, 27130, 18, 2649, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 17169, 1964, 18, 542, 3291, 12, 2421, 22144, 5058, 18, 588, 780, 2932, 27130, 1908, 4109, 9906, 1964, 18, 3384, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 17169, 1964, 18, 542, 4435, 4109, 461, 12, 6769, 4109, 461, 1769, 202, 202, 2211, 18, 1289, 1964, 12, 17169, 1964, 1769, 9506, 202, 13568, 1964, 273, 394, 678, 13412, 1908, 4109, 17035, 1964, 2932, 2704, 4109, 17035, 1964, 8863, 759, 8, 3993, 17, 5106, 17, 21, 8, 202, 202, 13568, 1964, 18, 542, 4247, 12, 2421, 22144, 5058, 18, 588, 780, 2932, 1908, 4109, 27130, 18, 2649, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 13568, 1964, 18, 542, 3291, 12, 2421, 22144, 5058, 18, 588, 780, 2932, 27130, 1908, 4109, 17035, 1964, 18, 3384, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 13568, 1964, 18, 542, 4435, 4109, 14012, 12, 6769, 4109, 14012, 1769, 202, 202, 13568, 1964, 18, 542, 4435, 7416, 10487, 12, 6769, 7416, 10487, 1769, 202, 202, 2211, 18, 1289, 1964, 12, 13568, 1964, 1769, 202, 97, 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, 225, 202, 1117, 918, 527, 3802, 5716, 1435, 288, 202, 202, 17169, 1964, 273, 394, 678, 13412, 1908, 4109, 9906, 1964, 2932, 2704, 4109, 9906, 1964, 8863, 759, 8, 3993, 17, 5106, 17, 21, 8, 202, 202, 17169, 1964, 18, 542, 4247, 12, 2421, 22144, 5058, 18, 588, 780, 2932, 1908, 4109, 27130, 18, 2649, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 17169, 1964, 18, 542, 3291, 12, 2421, 22144, 5058, 18, 588, 780, 2932, 27130, 1908, 4109, 9906, 1964, 18, 3384, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 17169, 1964, 18, 542, 4435, 4109, 461, 12, 6769, 4109, 461, 1769, 202, 202, 2211, 18, 1289, 1964, 12, 17169, 1964, 1769, 2 ]
public BArray(byte[] xs) { this.xs = xs; }
public BArray(byte[] value) { this.value = value; }
public BArray(byte[] xs) { this.xs = xs; }
48012 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48012/b5127bbfea6df39af5db3dc45bb9f7e698acb3f1/RunTime.java/buggy/sources/scala/runtime/RunTime.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 605, 1076, 12, 7229, 8526, 9280, 13, 288, 333, 18, 13713, 273, 9280, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 605, 1076, 12, 7229, 8526, 9280, 13, 288, 333, 18, 13713, 273, 9280, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 op.getType();
return op.getType();
private VM_TypeReference getRefTypeOf(OPT_Operand op) { if (VM.VerifyAssertions) VM._assert(!op.isDefinitelyNull()); return op.getType(); }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/9f7e15228c35a04a33dad4f1d51fe26cef5732fc/OPT_BC2IR.java/clean/rvm/src/vm/compilers/optimizing/ir/conversions/bc2hir/OPT_BC2IR.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 8251, 67, 7534, 17404, 559, 951, 12, 15620, 67, 10265, 1061, 13, 288, 565, 309, 261, 7397, 18, 8097, 8213, 1115, 13, 8251, 6315, 11231, 12, 5, 556, 18, 291, 6443, 25818, 2041, 10663, 202, 327, 1061, 18, 588, 559, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 8251, 67, 7534, 17404, 559, 951, 12, 15620, 67, 10265, 1061, 13, 288, 565, 309, 261, 7397, 18, 8097, 8213, 1115, 13, 8251, 6315, 11231, 12, 5, 556, 18, 291, 6443, 25818, 2041, 10663, 202, 327, 1061, 18, 588, 559, 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 ]
for (Iterator<PlaceInfo> iterator = myForwardPlaces.iterator(); iterator.hasNext();) { iterator.next(); }
public final void onCommandFinished(Object commandGroupId) { if (myCommandStartPlace != null) { if (myCurrentCommandIsNavigation && myCurrentCommandHasMoves) { if (!myBackInProgress) { if (commandGroupId == null || !commandGroupId.equals(myLastGroupId)) { putLastOrMerge(myBackPlaces, myCommandStartPlace, BACK_QUEUE_LIMIT); } if (!myForwardInProgress) { for (Iterator<PlaceInfo> iterator = myForwardPlaces.iterator(); iterator.hasNext();) { iterator.next(); } myForwardPlaces.clear(); } } removeInvalidFilesFromStacks(); } } myLastGroupId = commandGroupId; if (myCurrentCommandHasChanges) { setCurrentChangePlace(); } else if (myCurrentCommandHasMoves) { pushCurrentChangePlace(); } }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/01e706e8806ba7faf0f7e3c375559eb316bec8c9/IdeDocumentHistoryImpl.java/clean/source/com/intellij/openapi/fileEditor/impl/IdeDocumentHistoryImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 918, 603, 2189, 10577, 12, 921, 1296, 8722, 13, 288, 565, 309, 261, 4811, 2189, 1685, 6029, 480, 446, 13, 288, 1377, 309, 261, 4811, 3935, 2189, 2520, 14301, 597, 3399, 3935, 2189, 5582, 19297, 13, 288, 3639, 309, 16051, 4811, 2711, 13434, 13, 288, 1850, 309, 261, 3076, 8722, 422, 446, 747, 401, 3076, 8722, 18, 14963, 12, 4811, 3024, 8722, 3719, 288, 5411, 1378, 3024, 1162, 6786, 12, 4811, 2711, 24791, 16, 3399, 2189, 1685, 6029, 16, 15842, 67, 19533, 67, 8283, 1769, 1850, 289, 1850, 309, 16051, 4811, 8514, 13434, 13, 288, 5411, 364, 261, 3198, 32, 6029, 966, 34, 2775, 273, 3399, 8514, 24791, 18, 9838, 5621, 2775, 18, 5332, 2134, 5621, 13, 288, 2868, 2775, 18, 4285, 5621, 5411, 289, 5411, 3399, 8514, 24791, 18, 8507, 5621, 1850, 289, 3639, 289, 3639, 1206, 1941, 2697, 1265, 28090, 5621, 1377, 289, 565, 289, 565, 3399, 3024, 8722, 273, 1296, 8722, 31, 565, 309, 261, 4811, 3935, 2189, 5582, 7173, 13, 288, 1377, 12589, 3043, 6029, 5621, 565, 289, 565, 469, 309, 261, 4811, 3935, 2189, 5582, 19297, 13, 288, 1377, 1817, 3935, 3043, 6029, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 918, 603, 2189, 10577, 12, 921, 1296, 8722, 13, 288, 565, 309, 261, 4811, 2189, 1685, 6029, 480, 446, 13, 288, 1377, 309, 261, 4811, 3935, 2189, 2520, 14301, 597, 3399, 3935, 2189, 5582, 19297, 13, 288, 3639, 309, 16051, 4811, 2711, 13434, 13, 288, 1850, 309, 261, 3076, 8722, 422, 446, 747, 401, 3076, 8722, 18, 14963, 12, 4811, 3024, 8722, 3719, 288, 5411, 1378, 3024, 1162, 6786, 12, 4811, 2711, 24791, 16, 3399, 2189, 1685, 6029, 16, 15842, 67, 19533, 67, 8283, 1769, 1850, 289, 1850, 309, 16051, 4811, 8514, 13434, 13, 288, 5411, 364, 261, 3198, 32, 6029, 966, 34, 2775, 273, 3399, 8514, 24791, 18, 9838, 5621, 2775, 18, 5332, 2134, 5621, 2 ]
String key = String.valueOf( dateStyle ) + ":" + locale.getName( ); DateFormat result = (DateFormat) dateFormatHolder.get( key );
Integer key = new Integer( locale.getName( ).hashCode( ) * 5 + dateStyle ); DateFormat result = null; try { result = (DateFormat) dateFormatHolder.get( key ); } catch ( Exception e ) { result = null; }
public static DateFormat getDateInstance( int dateStyle, ULocale locale ) { String key = String.valueOf( dateStyle ) + ":" + locale.getName( ); //DateFormatIdentifier key = new DateFormatIdentifier(dateStyle,0,locale) ; DateFormat result = (DateFormat) dateFormatHolder.get( key ); //This code block is added to solve the problem that the uncached datetimeformatter being used if ( result == null ) { synchronized ( dateTimeFormatholder ) { result = (DateFormat)dateFormatHolder.get( key ); if ( result == null ) { result = DateFormat.getDateInstance( dateStyle, locale ); result.setLenient( false ); dateFormatHolder.put( key, result ); } } } return result; }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/43c64286ed852ffb2e0f16d0cc7eeace83a85565/DataTypeUtil.java/clean/core/org.eclipse.birt.core/src/org/eclipse/birt/core/data/DataTypeUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 18371, 10713, 1442, 12, 509, 1509, 2885, 16, 29145, 2573, 262, 202, 95, 202, 202, 780, 498, 273, 514, 18, 1132, 951, 12, 1509, 2885, 262, 397, 6153, 397, 2573, 18, 17994, 12, 11272, 202, 202, 759, 11878, 3004, 498, 273, 394, 18371, 3004, 12, 712, 2885, 16, 20, 16, 6339, 13, 274, 202, 202, 11878, 563, 273, 261, 11878, 13, 16996, 6064, 18, 588, 12, 498, 11272, 9506, 202, 759, 2503, 981, 1203, 353, 3096, 358, 12439, 326, 6199, 716, 326, 6301, 2004, 3314, 12354, 3832, 1399, 1082, 202, 430, 261, 563, 422, 446, 262, 202, 202, 95, 1082, 202, 22043, 261, 9296, 1204, 421, 1498, 262, 1082, 202, 95, 9506, 202, 2088, 273, 261, 11878, 13, 712, 1630, 6064, 18, 588, 12, 498, 11272, 9506, 202, 430, 261, 563, 422, 446, 262, 9506, 202, 95, 6862, 202, 2088, 273, 18371, 18, 588, 1626, 1442, 12, 1509, 2885, 16, 2573, 11272, 6862, 202, 2088, 18, 542, 2891, 1979, 12, 629, 11272, 6862, 202, 712, 1630, 6064, 18, 458, 12, 498, 16, 563, 11272, 9506, 202, 97, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 563, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 18371, 10713, 1442, 12, 509, 1509, 2885, 16, 29145, 2573, 262, 202, 95, 202, 202, 780, 498, 273, 514, 18, 1132, 951, 12, 1509, 2885, 262, 397, 6153, 397, 2573, 18, 17994, 12, 11272, 202, 202, 759, 11878, 3004, 498, 273, 394, 18371, 3004, 12, 712, 2885, 16, 20, 16, 6339, 13, 274, 202, 202, 11878, 563, 273, 261, 11878, 13, 16996, 6064, 18, 588, 12, 498, 11272, 9506, 202, 759, 2503, 981, 1203, 353, 3096, 358, 12439, 326, 6199, 716, 326, 6301, 2004, 3314, 12354, 3832, 1399, 1082, 202, 430, 261, 563, 422, 446, 262, 202, 202, 95, 1082, 202, 22043, 261, 9296, 1204, 421, 1498, 262, 1082, 202, 95, 9506, 202, 2088, 273, 2 ]
ungroupPrimitive(are);
ungroupPrimitive(are, false);
public void fillArc(ArcRenderEvent are) throws ChartException { groupPrimitive(are); super.fillArc(are); ungroupPrimitive(are); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/aeb2ff9aeebc28aaf0d2e96bfd88e2332f7a7e96/SVGRendererImpl.java/buggy/chart/org.eclipse.birt.chart.device.svg/src/org/eclipse/birt/chart/device/svg/SVGRendererImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3636, 14598, 12, 14598, 3420, 1133, 854, 13, 1216, 14804, 503, 288, 202, 202, 1655, 9840, 12, 834, 1769, 202, 202, 9565, 18, 5935, 14598, 12, 834, 1769, 202, 202, 318, 1655, 9840, 12, 834, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3636, 14598, 12, 14598, 3420, 1133, 854, 13, 1216, 14804, 503, 288, 202, 202, 1655, 9840, 12, 834, 1769, 202, 202, 9565, 18, 5935, 14598, 12, 834, 1769, 202, 202, 318, 1655, 9840, 12, 834, 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 ]
290, 291, 222, 223, 368, 310, 10, 342, 91, 301, 345, 346, 59, 348, 306, 331, 44, 352, 346, 269, 348, 271, 338, 341, 244, 279, 246, 247, 725, 244, 349, 246, 247, 341, 369, 350, 256, 41, 727, 61,
350, 264, 222, 223, 308, 310, 368, 342, 61, 301, 345, 346, 59, 348, 306, 59, 340, 352, 346, 267, 348, 91, 290, 291, 244, 856, 246, 247, 267, 244, 349, 246, 247, 341, 369, 279, 256, 339, 727, 725,
private static final short[] yyCheck1() { return new short[] { 15, 16, 215, 14, 19, 7, 247, 15, 16, 6, 378, 19, 15, 16, 21, 375, 19, 41, 6, 7, 392, 398, 27, 15, 16, 27, 342, 19, 43, 44, 10, 3, 693, 370, 49, 50, 10, 52, 53, 27, 10, 410, 50, 101, 21, 292, 44, 32, 47, 296, 10, 4, 5, 369, 71, 10, 51, 54, 50, 263, 280, 14, 106, 10, 280, 10, 54, 506, 507, 306, 41, 387, 11, 10, 11, 444, 313, 314, 693, 59, 695, 41, 310, 310, 58, 59, 402, 94, 343, 44, 61, 263, 264, 100, 269, 91, 271, 269, 51, 44, 10, 53, 2, 3, 4, 5, 113, 41, 8, 9, 10, 11, 59, 10, 14, 15, 16, 94, 0, 19, 15, 16, 310, 343, 19, 310, 26, 61, 10, 2, 320, 10, 71, 10, 310, 328, 343, 90, 454, 10, 10, 44, 362, 371, 371, 349, 362, 47, 48, 49, 10, 51, 304, 53, 49, 10, 308, 10, 61, 349, 10, 58, 59, 353, 354, 44, 359, 44, 829, 108, 10, 41, 308, 269, 47, 271, 10, 59, 125, 58, 59, 369, 370, 371, 369, 370, 371, 58, 59, 59, 90, 41, 10, 369, 370, 371, 311, 312, 10, 559, 10, 218, 310, 200, 59, 105, 59, 107, 545, 267, 10, 269, 200, 310, 829, 41, 231, 232, 233, 59, 467, 10, 590, 41, 58, 59, 44, 362, 565, 244, 41, 246, 247, 10, 107, 61, 244, 91, 246, 247, 41, 244, 681, 246, 247, 364, 58, 59, 58, 59, 61, 282, 244, 268, 246, 247, 93, 91, 58, 59, 61, 369, 370, 371, 263, 32, 290, 291, 16, 340, 59, 19, 369, 370, 371, 91, 256, 91, 61, 218, 331, 32, 59, 10, 666, 222, 223, 338, 125, 671, 269, 91, 271, 267, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 290, 291, 222, 223, 368, 310, 10, 342, 91, 301, 345, 346, 59, 348, 306, 331, 44, 352, 346, 269, 348, 271, 338, 341, 244, 279, 246, 247, 725, 244, 349, 246, 247, 341, 369, 350, 256, 41, 727, 61, 418, 419, 377, 263, 733, 302, 303, 304, 305, 377, 267, 331, 387, 388, 389, 390, 279, 357, 338, 394, 368, 439, 595, 256, 369, 370, 394, 402, 267, 630, 263, 406, 407, 345, 346, 410, 348, 350, 386, 414, 352, 301, 302, 303, 304, 305, 306, 307, 308, 264, 281, 414, 427, 401, 269, 407, 776, 432, 433, 434, 425, 331, 414, 425, 363, 359, 441, 799, 338, 444, 44, 799, 447, 267, 340, 772, 10, 425, 91, 454, 262, 91, 342, 431, 341, 345, 346, 342, 348, 349, 350, 10, 352, 279, 10, 267, 359, 267, 397, 398, 340, 341, 341, 343, 344, 453, 264, 267, 279, 369, 370, 371, 290, 291, 369, 264, 349, 331, 279, 44, 849, 308, 41, 383, 338, 59, 61, 387, 368, 826, 703, 391, 387, 393, 10, 553, 244, 331, 246, 247, 59, 310, 402, 59, 338, 385, 386, 402, 877, 516, 383, 526, 522, 523, 414, 331, 10, 331, 391, 835, 393, 401, 338, 341, 338, 41, 91, 348, 428, 310, 59, 331, 340, 359, 511, 316, 263, 264, 338, 516, 290, 291, 549, 343, 340, 522, 523, 41, 359, 279, 44, 431, 311, 312, 454, 428, 377, 554, 359, 454, 369, 370, 371, 350, 351, 59, 554, 41, 331, 574, 44, 10, 574, 453, 240, 338, 44, 272, 593, 274, 275, 794, 308, 320, 2, 3, 574, 61, 369, 370, 8, 9, 10, 11, 268, 269, 611, 15, 16, 341, 615, 19, 41, 542, 619, 44, 10, 544, 26, 263, 264, 10, 349, 56, 57, 630, 353, 354, 355, 356, 59, 44, 44, 91, 44, 343, 331, 566, 643, 47, 48, 49, 690, 338, 362, 53, 340, 320, 630, 320, 655, 320, 93, 41, 544, 545, 657, 662, 663, 41, 125, 308, 371, 668, 669, 59, 304, 371, 44, 58, 59, 347, 269, 678, 679, 565, 267, 271, 91, 264, 607, 44, 41, 44, 689, 41, 125, 41, 331, 579, 41, 331, 32, 741, 340, 338, 744, 105, 338, 107, 264, 340, 91, 340, 268, 269, 340, 712, 713, 714, 348, 349, 350, 351, 657, 720, 579, 607, 264, 93, 662, 663, 727, 269, 279, 271, 668, 732, 733, 44, 2, 3, 4, 5, 732, 41, 8, 737, 738, 732, 630, 10, 14, 633, 93, 630, 264, 61, 404, 44, 732, 44, 44, 304, 683, 341, 304, 627, 628, 702, 650, 263, 767, 340, 769, 340, 340, 657, 658, 93, 660, 661, 662, 663, 41, 47, 331, 44, 668, 51, 10, 264, 709, 338, 264, 44, 93, 650, 343, 58, 59, 796, 350, 798, 61, 658, 725, 660, 661, 804, 44, 44, 44, 808, 359, 2, 3, 812, 41, 41, 41, 8, 702, 125, 222, 223, 706, 14, 90, 709, 93, 279, 91, 340, 91, 767, 570, 571, 58, 59, 835, 721, 722, 723, 264, 107, 244, 41, 246, 247, 264, 10, 847, 706, 849, 264, 340, 91, 256, 264, 47, 41, 359, 264, 41, 263, 834, 125, 721, 722, 723, 91, 867, 264, 869, 847, 279, 125, 262, 263, 264, 44, 877, 331, 308, 269, 881, 767, 267, 264, 338, 771, 772, 264, 306, 307, 44, 309, 44, 41, 59, 313, 314, 301, 302, 303, 304, 305, 306, 307, 308, 359, 792, 125, 264, 93, 44, 264, 771, 264, 107, 2, 3, 4, 5, 6, 44, 8, 331, 93, 125, 271, 343, 14, 44, 338, 41, 41, 10, 792, 93, 93, 125, 41, 342, 264, 826, 345, 346, 93, 348, 349, 331, 125, 352, 835, 359, 837, 41, 338, 835, 61, 5, 91, 844, 863, 47, 44, 614, 6, 51, 369, 370, 371, 834, 78, 776, 559, 624, 657, 836, 91, 90, 247, 837, 383, 58, 59, -1, 387, 695, 844, 695, 391, 256, 393, 2, 3, 71, 10, -1, 263, 8, -1, 402, -1, -1, -1, 267, 90, -1, -1, -1, -1, 91, -1, 414, -1, -1, 91, -1, -1, 279, 280, -1, -1, 107, -1, -1, -1, 428, -1, 293, 294, 295, 296, 297, -1, -1, 301, -1, 47, -1, -1, 306, 279, 280, 267, 59, 783, 784, -1, 786, -1, -1, -1, 454, -1, 10, -1, 280, 9, 10, 11, -1, -1, -1, -1, -1, 256, -1, -1, 331, -1, 331, -1, 263, -1, 26, 338, 726, 338, -1, 729, 730, -1, 343, 349, 350, 49, -1, 304, 10, -1, 307, 308, 309, 331, -1, -1, 48, 107, 359, -1, 338, 362, 58, 59, 370, 343, -1, 331, -1, -1, 301, -1, -1, -1, 338, 306, -1, 383, 856, 343, -1, 359, -1, -1, 362, 391, 343, 393, -1, -1, -1, 348, 349, 350, 351, 91, 58, 59, 362, -1, -1, 304, 544, 545, 307, 308, 309, 279, 280, -1, -1, -1, -1, 105, -1, -1, -1, -1, 349, -1, 810, 811, 428, 565, 41, 279, -1, 44, 331, 91, -1, 256, -1, -1, -1, 338, -1, 579, 263, 370, 343, -1, -1, -1, 61, 348, 349, 350, 351, -1, -1, 267, 383, -1, -1, 845, 846, -1, 279, 331, 391, 851, 393, -1, 280, 607, 338, -1, -1, -1, -1, 343, -1, -1, 91, -1, 301, 331, 868, -1, -1, 306, -1, 10, 338, -1, 876, 359, 630, 879, 362, 633, -1, 883, -1, -1, 304, 428, -1, 307, 308, 309, -1, -1, -1, 359, 256, -1, 650, -1, 331, -1, -1, 263, -1, 331, 658, 338, 660, 661, 662, 663, 338, -1, 349, 350, 668, 343, -1, -1, 222, 223, 59, -1, -1, -1, -1, -1, 359, 545, 348, 349, 350, 351, -1, 370, 362, -1, -1, 304, -1, 301, 307, 308, 309, -1, 306, -1, 383, 565, 231, 232, -1, -1, 706, -1, 391, 709, 393, -1, -1, 267, -1, 579, -1, -1, 331, -1, -1, 721, 722, 723, 0, 338, 280, -1, -1, -1, 343, -1, -1, 10, -1, 348, 349, 350, 351, -1, -1, 349, -1, -1, -1, 428, -1, 267, -1, -1, -1, -1, 302, 303, 304, 305, 545, 307, 308, -1, -1, -1, 370, -1, -1, 41, -1, 767, -1, -1, -1, 771, 772, -1, -1, 383, 565, 331, -1, -1, 342, -1, 59, 391, 338, 393, 650, 651, -1, 343, 579, -1, 792, 657, 658, -1, 660, 661, -1, -1, -1, -1, -1, -1, 279, -1, 10, 369, 362, -1, -1, 331, -1, -1, -1, 377, 378, 346, 338, 348, 428, 371, -1, 44, -1, 387, 826, -1, -1, -1, -1, -1, -1, -1, -1, 835, -1, 837, 702, -1, 402, -1, 706, -1, 844, -1, -1, -1, 377, 125, -1, -1, -1, -1, -1, 59, 331, 721, 722, 723, -1, 650, 545, 338, 414, 394, -1, -1, 657, 658, 91, 660, 661, -1, -1, -1, -1, 406, 407, -1, -1, 410, 565, -1, 359, 414, -1, -1, -1, -1, 41, -1, 454, 44, -1, -1, 579, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 771, 772, -1, 61, -1, 441, 702, -1, 444, -1, 706, 447, 304, -1, -1, 307, 308, 309, -1, -1, 10, 792, -1, -1, -1, 721, 722, 723, -1, -1, 545, -1, -1, 91, -1, -1, 505, 506, 507, 331, -1, -1, 511, -1, -1, 41, 338, -1, 44, -1, 565, 343, -1, 522, 523, 826, 348, 349, 350, 351, 650, -1, -1, -1, 579, 61, 837, 657, 658, 59, 660, 661, -1, 844, -1, 771, 772, 546, -1, 262, 263, 264, -1, -1, -1, 268, 269, 544, 271, -1, 526, -1, -1, -1, 41, 91, 792, 44, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 578, -1, 580, 702, 582, 61, -1, 706, -1, -1, 41, 304, 590, 44, 307, 308, 309, -1, -1, -1, -1, 826, 721, 722, 723, -1, 650, 0, -1, -1, 61, -1, 837, -1, 658, 91, 660, 661, 331, 844, -1, 607, 279, 280, -1, 338, -1, -1, 593, -1, 343, -1, -1, -1, -1, 348, 349, 350, 351, -1, 91, -1, -1, -1, -1, -1, 611, 633, 41, -1, 615, -1, 771, 772, 619, -1, -1, -1, -1, -1, -1, -1, 706, -1, 304, 630, -1, 307, 308, 309, -1, -1, 0, 792, 331, -1, -1, 721, 722, 723, -1, 338, 10, 681, -1, -1, 343, -1, -1, -1, -1, 331, 279, 280, -1, -1, -1, -1, 338, -1, -1, -1, 359, 343, -1, 362, -1, 826, 348, 349, 350, 351, -1, 41, 679, -1, 44, -1, 837, -1, -1, -1, -1, 709, 689, 844, -1, 771, 772, -1, 58, 59, 125, 61, -1, 63, -1, -1, -1, 737, 738, -1, -1, -1, 331, -1, -1, -1, 792, -1, -1, 338, -1, -1, 279, 720, 343, -1, -1, -1, -1, -1, 727, 91, -1, 93, -1, -1, 733, -1, -1, -1, 359, -1, -1, 362, -1, -1, -1, -1, -1, -1, 826, -1, -1, 304, -1, -1, 307, 308, 309, -1, -1, 837, -1, 0, -1, 125, -1, -1, 844, 799, -1, 279, 769, 10, 331, -1, -1, -1, -1, -1, 331, 338, -1, -1, -1, -1, 343, 338, -1, -1, -1, -1, 343, -1, -1, -1, 279, 348, 349, 350, 351, 798, 359, -1, 41, 835, -1, 44, -1, -1, -1, 808, -1, -1, -1, 812, -1, -1, -1, -1, -1, 58, 59, 331, 61, -1, 63, -1, -1, -1, 338, -1, -1, 863, -1, -1, 10, 262, 263, 264, -1, -1, -1, 268, 269, -1, 271, -1, 331, -1, 847, 359, 849, -1, 91, 338, 93, 320, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 867, -1, 869, 336, 337, -1, 359, -1, -1, -1, 877, -1, -1, -1, 881, -1, 349, -1, 125, 63, 353, 354, 355, 356, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, 63, -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, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, -1, -1, -1, 10, -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, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, 59, 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, 340, 341, 342, 343, 344, 345, 346, 347, 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, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, -1, -1, 336, 337, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, 297, 349, 44, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, 58, 59, -1, 61, -1, 63, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, -1, -1, 336, 337, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 93, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, 304, 305, 0, -1, 308, -1, -1, -1, -1, -1, -1, 315, 10, 317, 318, 125, 320, 321, 322, 323, -1, 325, 326, -1, -1, 329, -1, -1, -1, -1, 334, 335, 336, 337, -1, -1, -1, -1, -1, -1, -1, -1, 320, 41, 348, 349, 44, 351, 352, 353, 354, 355, 356, 357, 358, 359, -1, 361, 336, 337, 58, 59, -1, 61, 304, 63, -1, 307, 308, 309, -1, 349, -1, 351, -1, 353, 354, 355, 356, -1, 10, -1, -1, 320, -1, -1, -1, -1, 325, 326, -1, 331, -1, 91, -1, 93, -1, -1, 338, 336, 337, -1, -1, 343, -1, -1, -1, -1, 348, 349, 350, 351, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, 125, -1, 59, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 63, 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, 341, 342, 343, 344, 345, 346, 347, 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, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -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, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 0, -1, -1, 304, -1, -1, 307, 308, 309, -1, 10, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 331, -1, -1, -1, -1, -1, -1, 338, -1, -1, -1, 41, 343, -1, 44, -1, -1, 348, 349, 350, 351, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, 61, -1, 63, -1, -1, -1, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, -1, -1, 336, 337, -1, -1, -1, -1, -1, 91, -1, 93, -1, -1, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 304, 305, 0, -1, 308, -1, -1, -1, -1, -1, -1, 315, 10, 317, 318, 125, 320, 321, 322, 323, -1, 325, 326, -1, -1, 329, -1, -1, -1, -1, 334, 335, 336, 337, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, 348, 349, 44, 351, 352, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, 58, 59, -1, -1, -1, 63, 304, 305, -1, -1, 308, -1, -1, -1, -1, -1, -1, 315, -1, 317, 318, -1, 320, 321, 322, 323, -1, 325, 326, -1, -1, 329, -1, 91, -1, 93, 334, 335, 336, 337, -1, -1, -1, -1, -1, -1, -1, -1, -1, 44, 348, 349, -1, 351, 352, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, 125, 63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -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, 341, 342, 343, 344, 345, 346, 347, 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, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -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, 341, 342, 343, 344, 345, 346, 347, 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, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, -1, -1, 336, 337, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, 349, 44, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 304, 305, 58, 59, 308, -1, -1, 63, -1, -1, -1, 315, -1, 317, 318, -1, 320, 321, 322, 323, -1, 325, 326, -1, -1, 329, -1, -1, -1, -1, 334, 335, 336, 337, -1, 91, -1, 93, -1, -1, -1, -1, -1, -1, 348, 349, -1, 351, 352, 353, 354, 355, 356, 357, 358, 359, 0, 361, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, 125, -1, -1, -1, 304, 305, -1, -1, 308, -1, -1, -1, -1, -1, -1, 315, -1, 317, 318, -1, 320, 321, 322, 323, -1, 325, 326, -1, 41, 329, -1, 44, -1, -1, 334, 335, 336, 337, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, 348, 349, 63, 351, 352, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, -1, -1, -1, -1, -1, 304, 305, -1, -1, 308, -1, -1, -1, 91, -1, 93, 315, -1, 317, 318, -1, 320, 321, 322, 323, -1, 325, 326, -1, -1, 329, -1, -1, -1, -1, 334, 335, 336, 337, -1, -1, -1, -1, 58, -1, -1, -1, 125, 63, 348, 349, -1, 351, 352, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -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, 341, 342, 343, 344, 345, 346, 347, 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, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -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, 341, 342, 343, 344, 345, 346, 347, 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, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, 332, 333, -1, -1, 336, 337, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, 349, 44, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, 304, 305, 58, 59, 308, -1, -1, 63, -1, -1, -1, 315, -1, 317, 318, -1, 320, 321, 322, 323, -1, 325, 326, -1, -1, 329, -1, -1, -1, -1, 334, 335, 336, 337, -1, 91, -1, 93, -1, -1, -1, -1, -1, -1, 348, 349, -1, 351, 352, 353, 354, 355, 356, 357, 358, 359, 0, 361, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, -1, 125, -1, -1, -1, 304, 305, -1, -1, 308, -1, -1, -1, -1, -1, -1, 315, -1, 317, 318, -1, 320, 321, 322, 323, -1, 325, 326, -1, 41, 329, -1, 44, -1, -1, 334, 335, 336, 337, -1, -1, -1, -1, -1, -1, -1, 58, 59, -1, 348, 349, 63, 351, 352, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, -1, -1, -1, -1, -1, 304, 305, -1, -1, 308, -1, -1, -1, 91, -1, 93, 315, -1, 317, 318, -1, 320, 321, 322, 323, -1, 325, 326, -1, -1, 329, -1, -1, -1, -1, 334, 335, 336, 337, -1, -1, -1, -1, -1, -1, -1, -1, 125, -1, 348, 349, -1, 351, 352, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -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, 341, 342, -1, 344, 345, 346, 347, 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, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -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, 341, 342, -1, 344, 345, 346, 347, 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, 304, 305, -1, -1, 308, -1, -1, -1, -1, -1, -1, 315, -1, 317, 318, -1, 320, 321, 322, 323, 41, 325, 326, 44, -1, 329, -1, -1, -1, -1, 334, 335, 336, 337, -1, -1, -1, 58, 59, -1, 61, -1, 63, -1, 348, 349, -1, 351, 352, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, -1, 304, 305, -1, -1, 308, -1, -1, -1, 91, -1, 93, 315, -1, 317, 318, -1, 320, 321, 322, 323, -1, 325, 326, -1, -1, 329, -1, -1, -1, 0, 334, 335, 336, 337, -1, -1, -1, -1, -1, 10, -1, -1, 125, -1, 348, 349, -1, 351, 352, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, -1, -1, -1, 304, 305, -1, -1, 308, -1, 41, -1, -1, 44, -1, 315, -1, 317, 318, -1, 320, 321, 322, 323, -1, 325, 326, 58, 59, 329, -1, -1, 63, -1, 334, 335, 336, 337, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 348, 349, -1, 351, 352, 353, 354, 355, 356, 357, 358, 359, 91, 361, 93, -1, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, -1, -1, -1, -1, -1, 336, 337, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 349, 125, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, -1, -1, -1, -1, -1, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, -1, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -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, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, -1, 363, 364, 365, 366, 367, 368, 257, 258, 259, -1, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, -1, -1, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, -1, 293, 294, 295, 296, 297, -1, 299, -1, -1, 302, 303, 304, 305, 306, 307, 308, 309, -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, 341, 342, -1, 344, 345, 346, 347, 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, 320, 321, 322, 323, 324, 325, 326, 327, -1, 329, 330, -1, -1, -1, -1, -1, 336, 337, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41, -1, 349, 44, 351, -1, 353, 354, 355, 356, 357, 358, 359, -1, 361, -1, -1, -1, 59, -1, 61, -1, 63, 320, 321, 322, 323, 324, 325, 326, -1, -1, 329, 330, -1, -1, -1, -1, -1, 336, 337, -1, -1, -1, -1, -1, -1, -1, -1, -1, 91, -1, 349, -1, 351, -1, 353, 354, 355, 356, 357, 358, 359, 320, 361, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, 336, 337, 10, -1, -1, 125, -1, -1, -1, -1, -1, -1, -1, 349, -1, 351, -1, 353, 354, 355, 356, -1, -1, 359, -1, 361, -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, }; }
47619 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47619/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, 21, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 6647, 4711, 16, 282, 2872, 16, 225, 576, 3600, 16, 282, 5045, 16, 282, 5342, 16, 565, 2371, 16, 225, 29460, 16, 282, 4711, 16, 282, 2872, 16, 565, 1666, 16, 6647, 890, 8285, 16, 282, 5342, 16, 282, 4711, 16, 282, 2872, 16, 282, 9035, 16, 225, 890, 5877, 16, 282, 5342, 16, 282, 20170, 16, 565, 1666, 16, 565, 2371, 16, 6647, 890, 9975, 16, 225, 890, 10689, 16, 282, 12732, 16, 282, 4711, 16, 282, 2872, 16, 282, 12732, 16, 225, 890, 9452, 16, 282, 5342, 16, 282, 21193, 16, 282, 13291, 16, 5411, 1728, 16, 565, 890, 16, 225, 1666, 11180, 16, 225, 890, 7301, 16, 282, 17160, 16, 282, 6437, 16, 282, 1728, 16, 282, 18106, 16, 282, 15935, 16, 282, 12732, 16, 5411, 1728, 16, 225, 1059, 2163, 16, 282, 6437, 16, 225, 13822, 16, 282, 9035, 16, 225, 576, 9975, 16, 282, 13291, 16, 282, 3847, 16, 282, 17495, 16, 225, 576, 10525, 16, 5411, 1728, 16, 565, 1059, 16, 565, 1381, 16, 225, 6580, 29, 16, 282, 26465, 16, 282, 1728, 16, 282, 21119, 16, 282, 22431, 16, 282, 6437, 16, 225, 576, 4449, 16, 6647, 576, 3672, 16, 282, 5045, 16, 225, 1728, 26, 16, 282, 1728, 16, 225, 576, 3672, 16, 282, 1728, 16, 282, 22431, 16, 225, 6437, 26, 16, 225, 6437, 27, 16, 225, 5196, 26, 16, 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, 565, 3238, 760, 727, 3025, 8526, 9016, 1564, 21, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 6647, 4711, 16, 282, 2872, 16, 225, 576, 3600, 16, 282, 5045, 16, 282, 5342, 16, 565, 2371, 16, 225, 29460, 16, 282, 4711, 16, 282, 2872, 16, 565, 1666, 16, 6647, 890, 8285, 16, 282, 5342, 16, 282, 4711, 16, 282, 2872, 16, 282, 9035, 16, 225, 890, 5877, 16, 282, 5342, 16, 282, 20170, 16, 565, 1666, 16, 565, 2371, 16, 6647, 890, 9975, 16, 225, 890, 10689, 16, 282, 12732, 16, 282, 4711, 16, 282, 2872, 16, 282, 12732, 16, 225, 890, 9452, 16, 282, 5342, 16, 282, 21193, 16, 282, 13291, 16, 5411, 1728, 16, 565, 890, 16, 2 ]
log(logBuffer.toString());
throw new MessagingException(logBuffer.toString());
public void service(Mail originalMail) throws MessagingException { boolean keepMessageId = false; // duplicates the Mail object, to be able to modify the new mail keeping the original untouched Mail newMail = ((MailImpl) originalMail).duplicate(newName((MailImpl) originalMail)); // We don't need to use the original Remote Address and Host, // and doing so would likely cause a loop with spam detecting // matchers. try { ((MailImpl) newMail).setRemoteAddr(java.net.InetAddress.getLocalHost().getHostAddress()); ((MailImpl) newMail).setRemoteHost(java.net.InetAddress.getLocalHost().getHostName()); } catch (java.net.UnknownHostException _) { ((MailImpl) newMail).setRemoteAddr("127.0.0.1"); ((MailImpl) newMail).setRemoteHost("localhost"); } if (isDebug) { MailImpl newMailImpl = (MailImpl) newMail; log("New mail - sender: " + newMailImpl.getSender() + ", recipients: " + arrayToString(newMailImpl.getRecipients().toArray()) + ", name: " + newMailImpl.getName() + ", remoteHost: " + newMailImpl.getRemoteHost() + ", remoteAddr: " + newMailImpl.getRemoteAddr() + ", state: " + newMailImpl.getState() + ", lastUpdated: " + newMailImpl.getLastUpdated() + ", errorMessage: " + newMailImpl.getErrorMessage()); } //Create the message if(getInLineType(originalMail) != UNALTERED) { if (isDebug) { log("Alter message"); } newMail.setMessage(new MimeMessage(Session.getDefaultInstance(System.getProperties(), null))); // handle the new message if altered buildAlteredMessage(newMail, originalMail); setTo(newMail, getTo(originalMail), originalMail); } else { // if we need the original, create a copy of this message to redirect if (getPassThrough(originalMail)) { newMail.setMessage(new MimeMessage(originalMail.getMessage()) { protected void updateHeaders() throws MessagingException { if (getMessageID() == null) super.updateHeaders(); else { modified = false; } } }); } if (isDebug) { log("Message resent unaltered."); } keepMessageId = true; } //Set additional headers setRecipients(newMail, getRecipients(originalMail), originalMail); setSubjectPrefix(newMail, getSubjectPrefix(originalMail), originalMail); if(newMail.getMessage().getHeader(RFC2822Headers.DATE) == null) { newMail.getMessage().setHeader(RFC2822Headers.DATE, rfc822DateFormat.format(new Date())); } setReplyTo(newMail, getReplyTo(originalMail), originalMail); setReturnPath(newMail, getReturnPath(originalMail), originalMail); setSender(newMail, getSender(originalMail), originalMail); setIsReply(newMail, isReply(originalMail), originalMail); newMail.getMessage().saveChanges(); if (keepMessageId) { setMessageId(newMail, originalMail); } if (senderDomainIsValid(newMail)) { //Send it off... getMailetContext().sendMail(newMail); } else { StringBuffer logBuffer = new StringBuffer(256) .append(getMailetName()) .append(" mailet cannot forward ") .append(((MailImpl) originalMail).getName()) .append(". Invalid sender domain for ") .append(newMail.getSender()) .append(". Consider using the Redirect mailet ") .append("using a different sender."); log(logBuffer.toString()); } if(!getPassThrough(originalMail)) { originalMail.setState(Mail.GHOST); } }
47102 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47102/6d2bc5bdec2df2f55d0976c22d72efa1c121d3e2/AbstractRedirect.java/clean/trunk/src/java/org/apache/james/transport/mailets/AbstractRedirect.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1156, 12, 6759, 2282, 6759, 13, 1216, 23794, 503, 288, 3639, 1250, 3455, 30550, 273, 629, 31, 3639, 368, 11211, 326, 11542, 733, 16, 358, 506, 7752, 358, 5612, 326, 394, 4791, 19966, 326, 2282, 640, 869, 19370, 3639, 11542, 394, 6759, 273, 14015, 6759, 2828, 13, 2282, 6759, 2934, 17342, 12, 2704, 461, 12443, 6759, 2828, 13, 2282, 6759, 10019, 3639, 368, 1660, 2727, 1404, 1608, 358, 999, 326, 2282, 6304, 5267, 471, 4893, 16, 3639, 368, 471, 9957, 1427, 4102, 10374, 4620, 279, 2798, 598, 24824, 5966, 310, 3639, 368, 17609, 18, 3639, 775, 288, 5411, 14015, 6759, 2828, 13, 394, 6759, 2934, 542, 5169, 3178, 12, 6290, 18, 2758, 18, 382, 278, 1887, 18, 588, 2042, 2594, 7675, 588, 2594, 1887, 10663, 5411, 14015, 6759, 2828, 13, 394, 6759, 2934, 542, 5169, 2594, 12, 6290, 18, 2758, 18, 382, 278, 1887, 18, 588, 2042, 2594, 7675, 588, 20946, 10663, 3639, 289, 1044, 261, 6290, 18, 2758, 18, 4874, 29776, 389, 13, 288, 5411, 14015, 6759, 2828, 13, 394, 6759, 2934, 542, 5169, 3178, 2932, 14260, 18, 20, 18, 20, 18, 21, 8863, 5411, 14015, 6759, 2828, 13, 394, 6759, 2934, 542, 5169, 2594, 2932, 13014, 8863, 3639, 289, 3639, 309, 261, 291, 2829, 13, 288, 5411, 11542, 2828, 394, 6759, 2828, 273, 261, 6759, 2828, 13, 394, 6759, 31, 5411, 613, 2932, 1908, 4791, 300, 5793, 30, 315, 397, 394, 6759, 2828, 18, 588, 12021, 1435, 15604, 397, 3104, 12045, 30, 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, 1156, 12, 6759, 2282, 6759, 13, 1216, 23794, 503, 288, 3639, 1250, 3455, 30550, 273, 629, 31, 3639, 368, 11211, 326, 11542, 733, 16, 358, 506, 7752, 358, 5612, 326, 394, 4791, 19966, 326, 2282, 640, 869, 19370, 3639, 11542, 394, 6759, 273, 14015, 6759, 2828, 13, 2282, 6759, 2934, 17342, 12, 2704, 461, 12443, 6759, 2828, 13, 2282, 6759, 10019, 3639, 368, 1660, 2727, 1404, 1608, 358, 999, 326, 2282, 6304, 5267, 471, 4893, 16, 3639, 368, 471, 9957, 1427, 4102, 10374, 4620, 279, 2798, 598, 24824, 5966, 310, 3639, 368, 17609, 18, 3639, 775, 288, 5411, 14015, 6759, 2828, 13, 394, 6759, 2934, 542, 5169, 3178, 12, 6290, 18, 2758, 18, 382, 278, 1887, 2 ]
BcelObjectType ot = BcelWorld.getBcelObjectType((declaringType.isParameterizedType()?declaringType.getGenericType():declaringType));
ResolvedType rt = (declaringType.isParameterizedType()?declaringType.getGenericType():declaringType); BcelObjectType ot = BcelWorld.getBcelObjectType(rt);
public void weaveAroundInline( BcelAdvice munger, boolean hasDynamicTest) { /* Implementation notes: * * AroundInline still extracts the instructions of the original shadow into * an extracted method. This allows inlining of even that advice that doesn't * call proceed or calls proceed more than once. * * It extracts the instructions of the original shadow into a method. * * Then it extracts the instructions of the advice into a new method defined on * this enclosing class. This new method can then be specialized as below. * * Then it searches in the instructions of the advice for any call to the * proceed method. * * At such a call, there is stuff on the stack representing the arguments to * proceed. Pop these into the frame. * * Now build the stack for the call to the extracted method, taking values * either from the join point state or from the new frame locs from proceed. * Now call the extracted method. The right return value should be on the * stack, so no cast is necessary. * * If only one call to proceed is made, we can re-inline the original shadow. * We are not doing that presently. * * If the body of the advice can be determined to not alter the stack, or if * this shadow doesn't care about the stack, i.e. method-execution, then the * new method for the advice can also be re-lined. We are not doing that * presently. */ // !!! THIS BLOCK OF CODE SHOULD BE IN A METHOD CALLED weaveAround(...); Member mungerSig = munger.getSignature(); //Member originalSig = mungerSig; // If mungerSig is on a parameterized type, originalSig is the member on the generic type if (mungerSig instanceof ResolvedMember) { ResolvedMember rm = (ResolvedMember)mungerSig; if (rm.hasBackingGenericMember()) mungerSig = rm.getBackingGenericMember(); } ResolvedType declaringType = world.resolve(mungerSig.getDeclaringType(),true); if (declaringType.isMissing()) { world.getLint().cantFindType.signal( new String[] {WeaverMessages.format(WeaverMessages.CANT_FIND_TYPE_DURING_AROUND_WEAVE,declaringType.getClassName())}, getSourceLocation(), new ISourceLocation[]{ munger.getSourceLocation()} );// IMessage msg = new Message(// WeaverMessages.format(WeaverMessages.CANT_FIND_TYPE_DURING_AROUND_WEAVE,declaringType.getClassName()),// "",IMessage.ERROR,getSourceLocation(),null,// new ISourceLocation[]{ munger.getSourceLocation()});// world.getMessageHandler().handleMessage(msg); } //??? might want some checks here to give better errors BcelObjectType ot = BcelWorld.getBcelObjectType((declaringType.isParameterizedType()?declaringType.getGenericType():declaringType)); LazyMethodGen adviceMethod = ot.getLazyClassGen().getLazyMethodGen(mungerSig); if (!adviceMethod.getCanInline()) { weaveAroundClosure(munger, hasDynamicTest); return; } // specific test for @AJ proceedInInners if (munger.getConcreteAspect().isAnnotationStyleAspect()) { // if we can't find one proceed() // we suspect that the call is happening in an inner class // so we don't inline it. // Note: for code style, this is done at Aspect compilation time. boolean canSeeProceedPassedToOther = false; InstructionHandle curr = adviceMethod.getBody().getStart(); InstructionHandle end = adviceMethod.getBody().getEnd(); ConstantPoolGen cpg = adviceMethod.getEnclosingClass().getConstantPoolGen(); while (curr != end) { InstructionHandle next = curr.getNext(); Instruction inst = curr.getInstruction(); if ((inst instanceof InvokeInstruction) && ((InvokeInstruction)inst).getSignature(cpg).indexOf("Lorg/aspectj/lang/ProceedingJoinPoint;") > 0) { // we may want to refine to exclude stuff returning jp ? // does code style skip inline if i write dump(thisJoinPoint) ? canSeeProceedPassedToOther = true;// we see one pjp passed around - dangerous break; } curr = next; } if (canSeeProceedPassedToOther) { // remember this decision to avoid re-analysis adviceMethod.setCanInline(false); weaveAroundClosure(munger, hasDynamicTest); return; } } // We can't inline around methods if they have around advice on them, this // is because the weaving will extract the body and hence the proceed call. //??? should consider optimizations to recognize simple cases that don't require body extraction enclosingMethod.setCanInline(false); // start by exposing various useful things into the frame final InstructionFactory fact = getFactory(); // now generate the aroundBody method LazyMethodGen extractedMethod = extractMethod( NameMangler.aroundCallbackMethodName( getSignature(), getEnclosingClass()), Modifier.PRIVATE, munger ); // now extract the advice into its own method String adviceMethodName = NameMangler.aroundCallbackMethodName( getSignature(), getEnclosingClass()) + "$advice"; List argVarList = new ArrayList(); List proceedVarList = new ArrayList(); int extraParamOffset = 0; // Create the extra parameters that are needed for passing to proceed // This code is very similar to that found in makeCallToCallback and should // be rationalized in the future if (thisVar != null) { argVarList.add(thisVar); proceedVarList.add(new BcelVar(thisVar.getType(), extraParamOffset)); extraParamOffset += thisVar.getType().getSize(); } if (targetVar != null && targetVar != thisVar) { argVarList.add(targetVar); proceedVarList.add(new BcelVar(targetVar.getType(), extraParamOffset)); extraParamOffset += targetVar.getType().getSize(); } for (int i = 0, len = getArgCount(); i < len; i++) { argVarList.add(argVars[i]); proceedVarList.add(new BcelVar(argVars[i].getType(), extraParamOffset)); extraParamOffset += argVars[i].getType().getSize(); } if (thisJoinPointVar != null) { argVarList.add(thisJoinPointVar); proceedVarList.add(new BcelVar(thisJoinPointVar.getType(), extraParamOffset)); extraParamOffset += thisJoinPointVar.getType().getSize(); } Type[] adviceParameterTypes = adviceMethod.getArgumentTypes(); Type[] extractedMethodParameterTypes = extractedMethod.getArgumentTypes(); Type[] parameterTypes = new Type[extractedMethodParameterTypes.length + adviceParameterTypes.length + 1]; int parameterIndex = 0; System.arraycopy( extractedMethodParameterTypes, 0, parameterTypes, parameterIndex, extractedMethodParameterTypes.length); parameterIndex += extractedMethodParameterTypes.length; parameterTypes[parameterIndex++] = BcelWorld.makeBcelType(adviceMethod.getEnclosingClass().getType()); System.arraycopy( adviceParameterTypes, 0, parameterTypes, parameterIndex, adviceParameterTypes.length); LazyMethodGen localAdviceMethod = new LazyMethodGen( Modifier.PRIVATE | Modifier.FINAL | Modifier.STATIC, BcelWorld.makeBcelType(mungerSig.getReturnType()), adviceMethodName, parameterTypes, new String[0], getEnclosingClass()); String donorFileName = adviceMethod.getEnclosingClass().getInternalFileName(); String recipientFileName = getEnclosingClass().getInternalFileName();// System.err.println("donor " + donorFileName);// System.err.println("recip " + recipientFileName); if (! donorFileName.equals(recipientFileName)) { localAdviceMethod.fromFilename = donorFileName; getEnclosingClass().addInlinedSourceFileInfo( donorFileName, adviceMethod.highestLineNumber); } getEnclosingClass().addMethodGen(localAdviceMethod); // create a map that will move all slots in advice method forward by extraParamOffset // in order to make room for the new proceed-required arguments that are added at // the beginning of the parameter list int nVars = adviceMethod.getMaxLocals() + extraParamOffset; IntMap varMap = IntMap.idMap(nVars); for (int i=extraParamOffset; i < nVars; i++) { varMap.put(i-extraParamOffset, i); } localAdviceMethod.getBody().insert( BcelClassWeaver.genInlineInstructions(adviceMethod, localAdviceMethod, varMap, fact, true)); localAdviceMethod.setMaxLocals(nVars); //System.err.println(localAdviceMethod); // the shadow is now empty. First, create a correct call // to the around advice. This includes both the call (which may involve // value conversion of the advice arguments) and the return // (which may involve value conversion of the return value). Right now // we push a null for the unused closure. It's sad, but there it is. InstructionList advice = new InstructionList(); // InstructionHandle adviceMethodInvocation; { for (Iterator i = argVarList.iterator(); i.hasNext(); ) { BcelVar var = (BcelVar)i.next(); var.appendLoad(advice, fact); } // ??? we don't actually need to push NULL for the closure if we take care advice.append( munger.getAdviceArgSetup( this, null, (munger.getConcreteAspect().isAnnotationStyleAspect() && munger.getDeclaringAspect()!=null && munger.getDeclaringAspect().resolve(world).isAnnotationStyleAspect())? this.loadThisJoinPoint(): new InstructionList(InstructionConstants.ACONST_NULL))); // adviceMethodInvocation = advice.append( Utility.createInvoke(fact, localAdviceMethod)); //(fact, getWorld(), munger.getSignature())); advice.append( Utility.createConversion( getFactory(), BcelWorld.makeBcelType(mungerSig.getReturnType()), extractedMethod.getReturnType(),world.isInJava5Mode())); if (! isFallsThrough()) { advice.append(InstructionFactory.createReturn(extractedMethod.getReturnType())); } } // now, situate the call inside the possible dynamic tests, // and actually add the whole mess to the shadow if (! hasDynamicTest) { range.append(advice); } else { InstructionList afterThingie = new InstructionList(InstructionConstants.NOP); InstructionList callback = makeCallToCallback(extractedMethod); if (terminatesWithReturn()) { callback.append( InstructionFactory.createReturn(extractedMethod.getReturnType())); } else { //InstructionHandle endNop = range.insert(fact.NOP, Range.InsideAfter); advice.append( InstructionFactory.createBranchInstruction( Constants.GOTO, afterThingie.getStart())); } range.append( munger.getTestInstructions( this, advice.getStart(), callback.getStart(), advice.getStart())); range.append(advice); range.append(callback); range.append(afterThingie); } // now search through the advice, looking for a call to PROCEED. // Then we replace the call to proceed with some argument setup, and a // call to the extracted method. // inlining support for code style aspects if (!munger.getConcreteAspect().isAnnotationStyleAspect()) { String proceedName = NameMangler.proceedMethodName(munger.getSignature().getName()); InstructionHandle curr = localAdviceMethod.getBody().getStart(); InstructionHandle end = localAdviceMethod.getBody().getEnd(); ConstantPoolGen cpg = localAdviceMethod.getEnclosingClass().getConstantPoolGen(); while (curr != end) { InstructionHandle next = curr.getNext(); Instruction inst = curr.getInstruction(); if ((inst instanceof INVOKESTATIC) && proceedName.equals(((INVOKESTATIC) inst).getMethodName(cpg))) { localAdviceMethod.getBody().append( curr, getRedoneProceedCall( fact, extractedMethod, munger, localAdviceMethod, proceedVarList)); Utility.deleteInstruction(curr, localAdviceMethod); } curr = next; } // and that's it. } else { //ATAJ inlining support for @AJ aspects // [TODO document @AJ code rule: don't manipulate 2 jps proceed at the same time.. in an advice body] InstructionHandle curr = localAdviceMethod.getBody().getStart(); InstructionHandle end = localAdviceMethod.getBody().getEnd(); ConstantPoolGen cpg = localAdviceMethod.getEnclosingClass().getConstantPoolGen(); while (curr != end) { InstructionHandle next = curr.getNext(); Instruction inst = curr.getInstruction(); if ((inst instanceof INVOKEINTERFACE) && "proceed".equals(((INVOKEINTERFACE) inst).getMethodName(cpg))) { final boolean isProceedWithArgs; if (((INVOKEINTERFACE) inst).getArgumentTypes(cpg).length == 1) { // proceed with args as a boxed Object[] isProceedWithArgs = true; } else { isProceedWithArgs = false; } InstructionList insteadProceedIl = getRedoneProceedCallForAnnotationStyle( fact, extractedMethod, munger, localAdviceMethod, proceedVarList, isProceedWithArgs ); localAdviceMethod.getBody().append(curr, insteadProceedIl); Utility.deleteInstruction(curr, localAdviceMethod); } curr = next; } } }
53148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53148/1a6f69583137f03d2a8052148a17eebe8e79e162/BcelShadow.java/clean/weaver/src/org/aspectj/weaver/bcel/BcelShadow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 732, 836, 30022, 10870, 12, 377, 202, 38, 2183, 1871, 633, 312, 318, 693, 16, 377, 202, 6494, 711, 9791, 4709, 13, 202, 95, 202, 202, 20308, 25379, 10913, 30, 1082, 380, 1875, 380, 432, 2260, 10870, 4859, 16469, 326, 12509, 434, 326, 2282, 10510, 1368, 1875, 380, 392, 9438, 707, 18, 225, 1220, 5360, 316, 7511, 310, 434, 5456, 716, 29929, 716, 3302, 1404, 1082, 380, 745, 11247, 578, 4097, 11247, 1898, 2353, 3647, 18, 1875, 380, 1875, 380, 2597, 16469, 326, 12509, 434, 326, 2282, 10510, 1368, 279, 707, 18, 1082, 380, 1875, 380, 9697, 518, 16469, 326, 12509, 434, 326, 29929, 1368, 279, 394, 707, 2553, 603, 1082, 380, 333, 16307, 667, 18, 225, 1220, 394, 707, 848, 1508, 506, 29158, 487, 5712, 18, 1082, 380, 1875, 380, 9697, 518, 16662, 316, 326, 12509, 434, 326, 29929, 364, 1281, 745, 358, 326, 1082, 380, 11247, 707, 18, 1082, 380, 1875, 380, 282, 2380, 4123, 279, 745, 16, 1915, 353, 10769, 603, 326, 2110, 5123, 326, 1775, 358, 1082, 380, 282, 11247, 18, 225, 10264, 4259, 1368, 326, 2623, 18, 1082, 380, 1875, 380, 282, 4494, 1361, 326, 2110, 364, 326, 745, 358, 326, 9438, 707, 16, 13763, 924, 1875, 380, 282, 3344, 628, 326, 1233, 1634, 919, 578, 628, 326, 394, 2623, 26357, 628, 11247, 18, 1082, 380, 282, 4494, 745, 326, 9438, 707, 18, 225, 1021, 2145, 327, 460, 1410, 506, 603, 326, 1082, 380, 282, 2110, 16, 1427, 1158, 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, 732, 836, 30022, 10870, 12, 377, 202, 38, 2183, 1871, 633, 312, 318, 693, 16, 377, 202, 6494, 711, 9791, 4709, 13, 202, 95, 202, 202, 20308, 25379, 10913, 30, 1082, 380, 1875, 380, 432, 2260, 10870, 4859, 16469, 326, 12509, 434, 326, 2282, 10510, 1368, 1875, 380, 392, 9438, 707, 18, 225, 1220, 5360, 316, 7511, 310, 434, 5456, 716, 29929, 716, 3302, 1404, 1082, 380, 745, 11247, 578, 4097, 11247, 1898, 2353, 3647, 18, 1875, 380, 1875, 380, 2597, 16469, 326, 12509, 434, 326, 2282, 10510, 1368, 279, 707, 18, 1082, 380, 1875, 380, 9697, 518, 16469, 326, 12509, 434, 326, 29929, 1368, 279, 394, 707, 2553, 603, 1082, 380, 333, 16307, 667, 18, 2 ]
mobyCollection.setAttribute((Attribute) child .getAttribute("articleName", MobyObjectClassNSImpl.MOBYNS) .clone());
mobyCollection.setAttribute((Attribute) child.getAttribute( "articleName", MobyObjectClassNSImpl.MOBYNS).clone()); } } else if (child.getAttributeValue("articleName") != null) { if (child.getAttributeValue("articleName").equals(articleName)) { e = child; mobyCollection.setAttribute((Attribute) child.getAttribute( "articleName").clone());
public static String getMobyCollection(Element documentElement, String objectType, String articleName, String mobyEndpoint) { MobyObjectClassNSImpl mo = new MobyObjectClassNSImpl(mobyEndpoint); Document doc = XMLUtilities.createDomDocument(); Element root = new Element("MOBY", MobyObjectClassNSImpl.MOBYNS); Element content = new Element("mobyContent", MobyObjectClassNSImpl.MOBYNS); Element mobyData = new Element("mobyData", MobyObjectClassNSImpl.MOBYNS); Element mobyCollection = new Element("Collection", MobyObjectClassNSImpl.MOBYNS); mobyData.setAttribute("queryID", "a1", MobyObjectClassNSImpl.MOBYNS); root.addContent(content); doc.addContent(root); content.addContent(mobyData); mobyData.addContent(mobyCollection); Element e = documentElement.getChild("mobyContent", MobyObjectClassNSImpl.MOBYNS); if (e != null) { e = e.getChild("mobyData", MobyObjectClassNSImpl.MOBYNS); if (e != null) { List children = e.getChildren("Collection", MobyObjectClassNSImpl.MOBYNS); for (Iterator x = children.iterator(); x.hasNext();) { Object o = x.next(); if (o instanceof Element) { Element child = (Element) o; if (child.getAttributeValue("articleName", MobyObjectClassNSImpl.MOBYNS).equals( articleName)) { e = child; mobyCollection.setAttribute((Attribute) child .getAttribute("articleName", MobyObjectClassNSImpl.MOBYNS) .clone()); } } } } } List list = e.getChildren("Simple", MobyObjectClassNSImpl.MOBYNS); for (Iterator x = list.iterator(); x.hasNext();) { Element child = (Element) x.next(); List objects = child.getChildren(objectType, MobyObjectClassNSImpl.MOBYNS); // iterate through the list adding them to the mobyCollection TODO Iterator iter = objects.iterator(); while (iter.hasNext()) { Element simple = new Element("Simple", MobyObjectClassNSImpl.MOBYNS); Element _c = (Element) iter.next(); iter.remove(); simple.addContent(_c.detach()); mobyCollection.addContent(simple); } } return mo.toString(root); }
7616 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7616/68bb1ce8ce02b5a59cbae128ae4d8f93720f7c6b/XMLUtilities.java/clean/trunk/taverna1.0/src/org/biomoby/client/taverna/plugin/XMLUtilities.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 514, 2108, 947, 93, 2532, 12, 1046, 16722, 16, 1082, 202, 780, 16400, 16, 514, 7559, 461, 16, 514, 312, 947, 93, 3293, 13, 288, 202, 202, 49, 947, 93, 921, 797, 3156, 2828, 7344, 273, 394, 490, 947, 93, 921, 797, 3156, 2828, 12, 81, 947, 93, 3293, 1769, 202, 202, 2519, 997, 273, 3167, 11864, 18, 2640, 8832, 2519, 5621, 202, 202, 1046, 1365, 273, 394, 3010, 2932, 49, 5704, 61, 3113, 490, 947, 93, 921, 797, 3156, 2828, 18, 49, 5704, 61, 3156, 1769, 202, 202, 1046, 913, 273, 394, 3010, 2932, 81, 947, 93, 1350, 3113, 9506, 202, 49, 947, 93, 921, 797, 3156, 2828, 18, 49, 5704, 61, 3156, 1769, 202, 202, 1046, 312, 947, 93, 751, 273, 394, 3010, 2932, 81, 947, 93, 751, 3113, 490, 947, 93, 921, 797, 3156, 2828, 18, 49, 5704, 61, 3156, 1769, 202, 202, 1046, 312, 947, 93, 2532, 273, 394, 3010, 2932, 2532, 3113, 9506, 202, 49, 947, 93, 921, 797, 3156, 2828, 18, 49, 5704, 61, 3156, 1769, 202, 202, 81, 947, 93, 751, 18, 542, 1499, 2932, 2271, 734, 3113, 315, 69, 21, 3113, 490, 947, 93, 921, 797, 3156, 2828, 18, 49, 5704, 61, 3156, 1769, 202, 202, 3085, 18, 1289, 1350, 12, 1745, 1769, 202, 202, 2434, 18, 1289, 1350, 12, 3085, 1769, 202, 202, 1745, 18, 1289, 1350, 12, 81, 947, 93, 751, 1769, 202, 202, 81, 947, 93, 751, 18, 1289, 1350, 12, 81, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 514, 2108, 947, 93, 2532, 12, 1046, 16722, 16, 1082, 202, 780, 16400, 16, 514, 7559, 461, 16, 514, 312, 947, 93, 3293, 13, 288, 202, 202, 49, 947, 93, 921, 797, 3156, 2828, 7344, 273, 394, 490, 947, 93, 921, 797, 3156, 2828, 12, 81, 947, 93, 3293, 1769, 202, 202, 2519, 997, 273, 3167, 11864, 18, 2640, 8832, 2519, 5621, 202, 202, 1046, 1365, 273, 394, 3010, 2932, 49, 5704, 61, 3113, 490, 947, 93, 921, 797, 3156, 2828, 18, 49, 5704, 61, 3156, 1769, 202, 202, 1046, 913, 273, 394, 3010, 2932, 81, 947, 93, 1350, 3113, 9506, 202, 49, 947, 93, 921, 797, 3156, 2828, 18, 49, 5704, 61, 3156, 1769, 2 ]
public IASTTranslationUnit getAST(ICElement cElement, WAIT_FLAG waitFlag, IProgressMonitor progressMonitor) {
public IASTTranslationUnit getAST(ICElement cElement, IIndex index, WAIT_FLAG waitFlag, IProgressMonitor progressMonitor) {
public IASTTranslationUnit getAST(ICElement cElement, WAIT_FLAG waitFlag, IProgressMonitor progressMonitor) { if (cElement == null) return null; Assert.isTrue(cElement instanceof ITranslationUnit); if (progressMonitor != null && progressMonitor.isCanceled()) return null; boolean isActiveElement; synchronized (this) { isActiveElement= cElement.equals(fActiveCElement); if (isActiveElement) { if (fAST != null) { if (DEBUG) System.out.println(getThreadName() + " - " + DEBUG_PREFIX + "returning cached AST:" + toString(fAST) + " for: " + cElement.getElementName()); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ return fAST; } if (waitFlag == WAIT_NO) { if (DEBUG) System.out.println(getThreadName() + " - " + DEBUG_PREFIX + "returning null (WAIT_NO) for: " + cElement.getElementName()); //$NON-NLS-1$ //$NON-NLS-2$ return null; } } } if (isActiveElement && isReconciling(cElement)) { try { final ICElement activeElement= fReconcilingCElement; // Wait for AST synchronized (fWaitLock) { if (DEBUG) System.out.println(getThreadName() + " - " + DEBUG_PREFIX + "waiting for AST for: " + cElement.getElementName()); //$NON-NLS-1$ //$NON-NLS-2$ fWaitLock.wait(); } // Check whether active element is still valid synchronized (this) { if (activeElement == fActiveCElement && fAST != null) { if (DEBUG) System.out.println(getThreadName() + " - " + DEBUG_PREFIX + "...got AST for: " + cElement.getElementName()); //$NON-NLS-1$ //$NON-NLS-2$ return fAST; } } return getAST(cElement, waitFlag, progressMonitor); } catch (InterruptedException e) { return null; // thread has been interrupted don't compute AST } } else if (waitFlag == WAIT_NO || (waitFlag == WAIT_ACTIVE_ONLY && !(isActiveElement && fAST == null))) return null; if (isActiveElement) aboutToBeReconciled(cElement); if (DEBUG) System.err.println(getThreadName() + " - " + DEBUG_PREFIX + "creating AST for " + cElement.getElementName()); //$NON-NLS-1$ //$NON-NLS-2$ IASTTranslationUnit ast= null; try { ast= createAST(cElement, progressMonitor); if (progressMonitor != null && progressMonitor.isCanceled()) ast= null; else if (DEBUG && ast != null) System.err.println(getThreadName() + " - " + DEBUG_PREFIX + "created AST for: " + cElement.getElementName()); //$NON-NLS-1$ //$NON-NLS-2$ } finally { if (isActiveElement) { if (fAST != null) { if (DEBUG) System.out.println(getThreadName() + " - " + DEBUG_PREFIX + "Ignore created AST for " + cElement.getElementName() + "- AST from reconciler is newer"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ reconciled(fAST, fActivePositionConverter, cElement, null); } else reconciled(ast, null, cElement, null); } } return ast; }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/2119729ff7f7097b3c69f1bb844deb116040f3d9/ASTProvider.java/clean/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/ASTProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 9053, 6717, 2802, 4506, 882, 12, 2871, 1046, 276, 1046, 16, 26859, 67, 9651, 2529, 4678, 16, 467, 5491, 7187, 4007, 7187, 13, 288, 202, 202, 430, 261, 71, 1046, 422, 446, 13, 1082, 202, 2463, 446, 31, 9506, 202, 8213, 18, 291, 5510, 12, 71, 1046, 1276, 467, 6717, 2802, 1769, 202, 202, 430, 261, 8298, 7187, 480, 446, 597, 4007, 7187, 18, 291, 23163, 10756, 1082, 202, 2463, 446, 31, 202, 202, 6494, 15083, 1046, 31, 202, 202, 22043, 261, 2211, 13, 288, 1082, 202, 291, 3896, 1046, 33, 276, 1046, 18, 14963, 12, 74, 3896, 39, 1046, 1769, 1082, 202, 430, 261, 291, 3896, 1046, 13, 288, 9506, 202, 430, 261, 74, 9053, 480, 446, 13, 288, 6862, 202, 430, 261, 9394, 13, 25083, 202, 3163, 18, 659, 18, 8222, 12, 588, 3830, 461, 1435, 397, 315, 300, 315, 397, 6369, 67, 6307, 397, 315, 2463, 310, 3472, 9183, 2773, 397, 1762, 12, 74, 9053, 13, 397, 315, 364, 30, 315, 397, 276, 1046, 18, 21336, 461, 10663, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 22, 8, 4329, 3993, 17, 5106, 17, 23, 8, 6862, 202, 2463, 284, 9053, 31, 9506, 202, 97, 9506, 202, 430, 261, 7048, 4678, 422, 26859, 67, 3417, 13, 288, 6862, 202, 430, 261, 9394, 13, 25083, 202, 3163, 18, 659, 18, 8222, 12, 588, 3830, 461, 1435, 397, 315, 300, 315, 397, 6369, 67, 6307, 397, 315, 2463, 310, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 9053, 6717, 2802, 4506, 882, 12, 2871, 1046, 276, 1046, 16, 26859, 67, 9651, 2529, 4678, 16, 467, 5491, 7187, 4007, 7187, 13, 288, 202, 202, 430, 261, 71, 1046, 422, 446, 13, 1082, 202, 2463, 446, 31, 9506, 202, 8213, 18, 291, 5510, 12, 71, 1046, 1276, 467, 6717, 2802, 1769, 202, 202, 430, 261, 8298, 7187, 480, 446, 597, 4007, 7187, 18, 291, 23163, 10756, 1082, 202, 2463, 446, 31, 202, 202, 6494, 15083, 1046, 31, 202, 202, 22043, 261, 2211, 13, 288, 1082, 202, 291, 3896, 1046, 33, 276, 1046, 18, 14963, 12, 74, 3896, 39, 1046, 1769, 1082, 202, 430, 261, 291, 3896, 1046, 13, 288, 9506, 202, 430, 261, 74, 2 ]
throws org.xml.sax.SAXException {
throws org.xml.sax.SAXException {
public void startContextElement(String name, Attributes attributes) throws org.xml.sax.SAXException { super.startContextElement(name, attributes); String usiteName = (attributes.getValue("name")); if (checkNonEmpty(usiteName)) { ((UnicoreProcess) targetProcess).uParam.setUsiteName(usiteName); } String type = (attributes.getValue("type")); if (checkNonEmpty(type)) { ((UnicoreProcess) targetProcess).uParam.setUsiteType(type); } String url = (attributes.getValue("url")); if (checkNonEmpty(url)) { ((UnicoreProcess) targetProcess).uParam.setUsiteUrl(url); } }
14315 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14315/02b74933ab36f3053e665e84b8287cd5fd62e098/ProcessDefinitionHandler.java/buggy/src/org/objectweb/proactive/core/descriptor/xml/ProcessDefinitionHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 787, 1042, 1046, 12, 780, 508, 16, 9055, 1677, 13, 7734, 1216, 2358, 18, 2902, 18, 87, 651, 18, 55, 2501, 503, 288, 7734, 2240, 18, 1937, 1042, 1046, 12, 529, 16, 1677, 1769, 7734, 514, 584, 1137, 461, 273, 261, 4350, 18, 24805, 2932, 529, 7923, 1769, 7734, 309, 261, 1893, 23176, 12, 407, 1137, 461, 3719, 288, 10792, 14015, 984, 335, 479, 2227, 13, 1018, 2227, 2934, 89, 786, 18, 542, 3477, 1137, 461, 12, 407, 1137, 461, 1769, 7734, 289, 7734, 514, 618, 273, 261, 4350, 18, 24805, 2932, 723, 7923, 1769, 7734, 309, 261, 1893, 23176, 12, 723, 3719, 288, 10792, 14015, 984, 335, 479, 2227, 13, 1018, 2227, 2934, 89, 786, 18, 542, 3477, 1137, 559, 12, 723, 1769, 7734, 289, 7734, 514, 880, 273, 261, 4350, 18, 24805, 2932, 718, 7923, 1769, 7734, 309, 261, 1893, 23176, 12, 718, 3719, 288, 10792, 14015, 984, 335, 479, 2227, 13, 1018, 2227, 2934, 89, 786, 18, 542, 3477, 1137, 1489, 12, 718, 1769, 7734, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 787, 1042, 1046, 12, 780, 508, 16, 9055, 1677, 13, 7734, 1216, 2358, 18, 2902, 18, 87, 651, 18, 55, 2501, 503, 288, 7734, 2240, 18, 1937, 1042, 1046, 12, 529, 16, 1677, 1769, 7734, 514, 584, 1137, 461, 273, 261, 4350, 18, 24805, 2932, 529, 7923, 1769, 7734, 309, 261, 1893, 23176, 12, 407, 1137, 461, 3719, 288, 10792, 14015, 984, 335, 479, 2227, 13, 1018, 2227, 2934, 89, 786, 18, 542, 3477, 1137, 461, 12, 407, 1137, 461, 1769, 7734, 289, 7734, 514, 618, 273, 261, 4350, 18, 24805, 2932, 723, 7923, 1769, 7734, 309, 261, 1893, 23176, 12, 723, 3719, 288, 10792, 14015, 984, 335, 479, 2227, 13, 1018, 2227, 2934, 89, 786, 2 ]
isVirtual = false; visibility = ASTAccessVisibility.PUBLIC; nameDuple = null; consume(); setCompletionValues(astClassSpec.getOwnerScope(), CompletionKind.CLASS_REFERENCE, KeywordSetKey.BASE_SPECIFIER ); continue baseSpecifierLoop; default : break baseSpecifierLoop; } }
isVirtual = false; visibility = ASTAccessVisibility.PUBLIC; nameDuple = null; consume(); setCompletionValues(astClassSpec.getOwnerScope(), CompletionKind.CLASS_REFERENCE, KeywordSetKey.BASE_SPECIFIER ); continue baseSpecifierLoop; default : break baseSpecifierLoop; } }
protected void baseSpecifier( IASTClassSpecifier astClassSpec) throws EndOfFileException, BacktrackException { consume(IToken.tCOLON); setCompletionValues(astClassSpec.getOwnerScope(), CompletionKind.CLASS_REFERENCE, KeywordSetKey.BASE_SPECIFIER ); boolean isVirtual = false; ASTAccessVisibility visibility = ASTAccessVisibility.PUBLIC; ITokenDuple nameDuple = null; ArrayList bases = null; baseSpecifierLoop : for (;;) { switch (LT(1)) { case IToken.t_virtual : consume(IToken.t_virtual); setCompletionValues(astClassSpec.getOwnerScope(), CompletionKind.CLASS_REFERENCE, KeywordSetKey.EMPTY ); isVirtual = true; break; case IToken.t_public : consume(); setCompletionValues(astClassSpec.getOwnerScope(), CompletionKind.CLASS_REFERENCE, KeywordSetKey.EMPTY ); break; case IToken.t_protected : consume(); visibility = ASTAccessVisibility.PROTECTED; setCompletionValues(astClassSpec.getOwnerScope(), CompletionKind.CLASS_REFERENCE, KeywordSetKey.EMPTY ); break; case IToken.t_private : visibility = ASTAccessVisibility.PRIVATE; consume(); setCompletionValues(astClassSpec.getOwnerScope(), CompletionKind.CLASS_REFERENCE, KeywordSetKey.EMPTY ); break; case IToken.tCOLONCOLON : case IToken.tIDENTIFIER : //to get templates right we need to use the class as the scope nameDuple = name(astClassSpec, CompletionKind.CLASS_REFERENCE, KeywordSetKey.BASE_SPECIFIER ); break; case IToken.tCOMMA : //because we are using the class as the scope to get the name, we need to postpone adding the base //specifiers until after we have all the nameDuples if( bases == null ){ bases = new ArrayList(5); } bases.add( new Object[] { isVirtual ? Boolean.TRUE : Boolean.FALSE, visibility, nameDuple } ); isVirtual = false; visibility = ASTAccessVisibility.PUBLIC; nameDuple = null; consume(); setCompletionValues(astClassSpec.getOwnerScope(), CompletionKind.CLASS_REFERENCE, KeywordSetKey.BASE_SPECIFIER ); continue baseSpecifierLoop; default : break baseSpecifierLoop; } } try { if( bases != null ){ int size = bases.size(); for( int i = 0; i < size; i++ ){ Object [] data = (Object[]) bases.get( i ); astFactory.addBaseSpecifier( astClassSpec, ((Boolean)data[0]).booleanValue(), (ASTAccessVisibility) data[1], (ITokenDuple)data[2] ); } } astFactory.addBaseSpecifier( astClassSpec, isVirtual, visibility, nameDuple ); } catch (ASTSemanticException e) { failParse(); throw backtrack; } catch (Exception e) { logException( "baseSpecifier_2::addBaseSpecifier", e ); //$NON-NLS-1$ throw backtrack; } }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/85be18a5f9556c1b23f600ca12f088a1d51d3925/Parser.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1026, 21416, 12, 3639, 467, 9053, 797, 21416, 3364, 797, 1990, 13, 3639, 1216, 4403, 951, 812, 503, 16, 4297, 4101, 503, 565, 288, 3639, 7865, 12, 1285, 969, 18, 88, 4935, 673, 1769, 7734, 444, 11238, 1972, 12, 689, 797, 1990, 18, 588, 5541, 3876, 9334, 20735, 5677, 18, 5237, 67, 14617, 16, 18317, 30267, 18, 8369, 67, 13847, 10591, 11272, 3639, 1250, 353, 6466, 273, 629, 31, 3639, 9183, 1862, 10135, 9478, 273, 9183, 1862, 10135, 18, 14939, 31, 3639, 467, 1345, 40, 2268, 508, 40, 2268, 273, 446, 31, 7734, 2407, 8337, 273, 446, 31, 7734, 1026, 21416, 6452, 294, 364, 261, 25708, 13, 3639, 288, 5411, 1620, 261, 12050, 12, 21, 3719, 5411, 288, 7734, 648, 467, 1345, 18, 88, 67, 12384, 294, 10792, 7865, 12, 1285, 969, 18, 88, 67, 12384, 1769, 1171, 202, 542, 11238, 1972, 12, 689, 797, 1990, 18, 588, 5541, 3876, 9334, 20735, 5677, 18, 5237, 67, 14617, 16, 18317, 30267, 18, 13625, 11272, 10792, 353, 6466, 273, 638, 31, 10792, 898, 31, 7734, 648, 467, 1345, 18, 88, 67, 482, 294, 1171, 202, 21224, 5621, 1171, 202, 542, 11238, 1972, 12, 689, 797, 1990, 18, 588, 5541, 3876, 9334, 20735, 5677, 18, 5237, 67, 14617, 16, 18317, 30267, 18, 13625, 11272, 10792, 898, 31, 7734, 648, 467, 1345, 18, 88, 67, 1117, 294, 6862, 202, 21224, 5621, 6862, 565, 9478, 273, 9183, 1862, 10135, 18, 3373, 26729, 31, 6862, 565, 444, 11238, 1972, 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, 4750, 918, 1026, 21416, 12, 3639, 467, 9053, 797, 21416, 3364, 797, 1990, 13, 3639, 1216, 4403, 951, 812, 503, 16, 4297, 4101, 503, 565, 288, 3639, 7865, 12, 1285, 969, 18, 88, 4935, 673, 1769, 7734, 444, 11238, 1972, 12, 689, 797, 1990, 18, 588, 5541, 3876, 9334, 20735, 5677, 18, 5237, 67, 14617, 16, 18317, 30267, 18, 8369, 67, 13847, 10591, 11272, 3639, 1250, 353, 6466, 273, 629, 31, 3639, 9183, 1862, 10135, 9478, 273, 9183, 1862, 10135, 18, 14939, 31, 3639, 467, 1345, 40, 2268, 508, 40, 2268, 273, 446, 31, 7734, 2407, 8337, 273, 446, 31, 7734, 1026, 21416, 6452, 294, 364, 261, 25708, 13, 3639, 288, 5411, 1620, 261, 12050, 12, 21, 3719, 2 ]
if (resCount == 0) throw new DBLayerException("The record is no longer in the database.");
if (resCount == 0) throw new DBLayerException(L10n.getString("Error.RecordNoLongerInDatabase"));
public boolean isEditAllowed(int occId) throws RemoteException, DBLayerException { User user = database.getUser(); Right rights = database.getUserRights(); if (rights.getAdministrator() == 1) { logger.debug("This user is an administrator which allows him to edit this record."); return true; } if (rights.getEditAll() == 1) { logger.debug("This user can edit all records which means that this one too."); return true; } SelectQuery sq = database.createQuery(Occurrence.class); sq.createAlias(Occurrence.CREATEDWHO,"cw"); sq.addProjection(PlantloreConstants.PROJ_PROPERTY,"cw."+User.ID); sq.addRestriction(PlantloreConstants.RESTR_EQ,Occurrence.ID, null, occId, null); int resId = database.executeQuery(sq); int resCount = database.getNumRows(resId); assert resCount == 1; if (resCount == 0) //FIXME throw new DBLayerException("The record is no longer in the database."); Object[] obj = database.more(resId, 0, 0); Object[] res = (Object[])obj[0]; String userId = ""+res[0]; logger.debug("Occurrence id "+occId+" was created by user id "+userId); if (user.getId().equals(res[0])) { logger.debug("It was this user who created the record. Therefore he is allowed to edit it."); return true; } String[] editableIds = rights.getEditGroup().split(","); for (String id : editableIds) { if (userId.equals(id)) { logger.debug("This user is allowed to edit this user's record."); return true; } } logger.debug("This user is NOT allowed to edit this record."); return false; }
57211 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57211/0c6f113049549619a349437cb50367e94d59f194/AppCore.java/buggy/trunk/src/net/sf/plantlore/client/AppCore.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 1250, 353, 4666, 5042, 12, 474, 9145, 548, 13, 1216, 18361, 16, 2383, 4576, 503, 288, 5411, 2177, 729, 273, 2063, 18, 588, 1299, 5621, 5411, 13009, 14989, 273, 2063, 18, 588, 1299, 18464, 5621, 5411, 309, 261, 23700, 18, 588, 4446, 14207, 1435, 422, 404, 13, 288, 7734, 1194, 18, 4148, 2932, 2503, 729, 353, 392, 22330, 1492, 5360, 366, 381, 358, 3874, 333, 1409, 1199, 1769, 7734, 327, 638, 31, 5411, 289, 13491, 309, 261, 23700, 18, 588, 4666, 1595, 1435, 422, 404, 13, 288, 7734, 1194, 18, 4148, 2932, 2503, 729, 848, 3874, 777, 3853, 1492, 4696, 716, 333, 1245, 4885, 1199, 1769, 7734, 327, 638, 31, 21821, 289, 13491, 6766, 1138, 4744, 273, 2063, 18, 2640, 1138, 12, 24267, 18, 1106, 1769, 5411, 4744, 18, 2640, 2936, 12, 24267, 18, 18546, 59, 7995, 10837, 71, 91, 8863, 5411, 4744, 18, 1289, 14789, 12, 1749, 970, 383, 266, 2918, 18, 3373, 46, 67, 9900, 10837, 71, 91, 1199, 15, 1299, 18, 734, 1769, 5411, 4744, 18, 1289, 11670, 12, 1749, 970, 383, 266, 2918, 18, 862, 3902, 67, 27247, 16, 24267, 18, 734, 16, 446, 16, 9145, 548, 16, 446, 1769, 5411, 509, 400, 548, 273, 2063, 18, 8837, 1138, 12, 11410, 1769, 5411, 509, 400, 1380, 273, 2063, 18, 588, 2578, 4300, 12, 455, 548, 1769, 5411, 1815, 400, 1380, 422, 404, 31, 5411, 309, 261, 455, 1380, 422, 374, 13, 368, 25810, 7734, 604, 394, 2383, 4576, 503, 2932, 1986, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 1250, 353, 4666, 5042, 12, 474, 9145, 548, 13, 1216, 18361, 16, 2383, 4576, 503, 288, 5411, 2177, 729, 273, 2063, 18, 588, 1299, 5621, 5411, 13009, 14989, 273, 2063, 18, 588, 1299, 18464, 5621, 5411, 309, 261, 23700, 18, 588, 4446, 14207, 1435, 422, 404, 13, 288, 7734, 1194, 18, 4148, 2932, 2503, 729, 353, 392, 22330, 1492, 5360, 366, 381, 358, 3874, 333, 1409, 1199, 1769, 7734, 327, 638, 31, 5411, 289, 13491, 309, 261, 23700, 18, 588, 4666, 1595, 1435, 422, 404, 13, 288, 7734, 1194, 18, 4148, 2932, 2503, 729, 848, 3874, 777, 3853, 1492, 4696, 716, 333, 1245, 4885, 1199, 1769, 7734, 327, 638, 31, 21821, 289, 13491, 6766, 1138, 4744, 273, 2 ]
_browser.getUI().debugMessage("setting the filter");
_browser.getUI().debugMessage("setting the filter: " + uri.toString());
private List calculateNodes(SyndieURI uri) { ThreadAccumulator acc = new ThreadAccumulator(_client, _browser.getUI()); _browser.getUI().debugMessage("setting the filter"); acc.setFilter(uri); _browser.getUI().debugMessage("gathering the threads"); acc.gatherThreads(); // now sort it... _browser.getUI().debugMessage("sorting the threads"); List threads = new ArrayList(); for (int i = 0; i < acc.getThreadCount(); i++) threads.add(acc.getRootThread(i)); // now sort... // (or not...) return threads; }
27487 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27487/f42748f8ad9bce73751c9b0d26ebe173cd548360/MessageTree.java/buggy/src/syndie/gui/MessageTree.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 987, 4604, 3205, 12, 10503, 72, 1385, 3098, 2003, 13, 288, 3639, 4884, 27361, 4078, 273, 394, 4884, 27361, 24899, 2625, 16, 389, 11213, 18, 588, 5370, 10663, 3639, 389, 11213, 18, 588, 5370, 7675, 4148, 1079, 2932, 8920, 326, 1034, 30, 315, 397, 2003, 18, 10492, 10663, 3639, 4078, 18, 542, 1586, 12, 1650, 1769, 3639, 389, 11213, 18, 588, 5370, 7675, 4148, 1079, 2932, 75, 4806, 310, 326, 7403, 8863, 3639, 4078, 18, 75, 4806, 13233, 5621, 3639, 368, 2037, 1524, 518, 2777, 3639, 389, 11213, 18, 588, 5370, 7675, 4148, 1079, 2932, 28751, 326, 7403, 8863, 3639, 987, 7403, 273, 394, 2407, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 4078, 18, 588, 3830, 1380, 5621, 277, 27245, 5411, 7403, 18, 1289, 12, 8981, 18, 588, 2375, 3830, 12, 77, 10019, 7734, 368, 2037, 1524, 2777, 3639, 368, 261, 280, 486, 21846, 7734, 327, 7403, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 987, 4604, 3205, 12, 10503, 72, 1385, 3098, 2003, 13, 288, 3639, 4884, 27361, 4078, 273, 394, 4884, 27361, 24899, 2625, 16, 389, 11213, 18, 588, 5370, 10663, 3639, 389, 11213, 18, 588, 5370, 7675, 4148, 1079, 2932, 8920, 326, 1034, 30, 315, 397, 2003, 18, 10492, 10663, 3639, 4078, 18, 542, 1586, 12, 1650, 1769, 3639, 389, 11213, 18, 588, 5370, 7675, 4148, 1079, 2932, 75, 4806, 310, 326, 7403, 8863, 3639, 4078, 18, 75, 4806, 13233, 5621, 3639, 368, 2037, 1524, 518, 2777, 3639, 389, 11213, 18, 588, 5370, 7675, 4148, 1079, 2932, 28751, 326, 7403, 8863, 3639, 987, 7403, 273, 394, 2407, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 4078, 2 ]
catch (IOException ioe) { myLogger.log(Logger.SEVERE,"Error in agent serialization. Abort transfer. " + ioe); } catch (JADESecurityException ae) { myLogger.log(Logger.SEVERE,"Permission to move not owned. Abort transfer. " + ae.getMessage()); } catch(NotFoundException nfe) { if(transferState == 0) { myLogger.log(Logger.SEVERE,"Destination container does not exist. Abort transfer. " + nfe.getMessage()); } else if(transferState == 2) { myLogger.log(Logger.SEVERE,"Transferring agent does not seem to be part of the platform. Abort transfer. " + nfe.getMessage()); } else if(transferState == 3) { myLogger.log(Logger.SEVERE,"Transferred agent not found on destination container. Can't roll back. " + nfe.getMessage()); } } catch(NameClashException nce) { nce.printStackTrace(); } catch(IMTPException imtpe) { if (transferState == 0) { myLogger.log(Logger.SEVERE,"Can't retrieve destination container. Abort transfer. " + imtpe.getMessage()); } else if (transferState == 1) { myLogger.log(Logger.SEVERE,"Error creating agent on destination container. Abort transfer. " + imtpe.getMessage()); } else if (transferState == 2) { myLogger.log(Logger.SEVERE,"Error transferring agent identity. Abort transfer. " + imtpe.getMessage()); try { dest.handleTransferResult(agentID, TRANSFER_ABORT, messages); } catch (Exception e) { e.printStackTrace(); } } else if (transferState == 3) { myLogger.log(Logger.SEVERE,"Error activating transferred agent. Can't roll back!!!. " + imtpe.getMessage()); } } /*#DOTNET_INCLUDE_BEGIN catch(System.Exception exc) { if(myLogger.isLoggable(Logger.SEVERE)) myLogger.log(Logger.SEVERE,"Error in agent serialization. Abort transfer. " + exc.get_Message()); } #DOTNET_INCLUDE_END*/ finally { if (transferState <= 2) { a.restoreBufferedState(); } myContainer.releaseLocalAgent(agentID); } }
private void handleInformMoved(VerticalCommand cmd) throws IMTPException, ServiceException, JADESecurityException, NotFoundException { Object[] params = cmd.getParams(); AID agentID = (AID)params[0]; Location where = (Location)params[1]; if(myLogger.isLoggable(Logger.INFO)) myLogger.log(Logger.INFO,"Moving agent " + agentID + " on container " + where.getName()); Agent a = myContainer.acquireLocalAgent(agentID); if (a == null) { myLogger.log(Logger.SEVERE,"Internal error: handleMove() called with a wrong name (" + agentID + ") !!!"); return; } String proto = where.getProtocol(); if(!CaseInsensitiveString.equalsIgnoreCase(proto, ContainerID.DEFAULT_IMTP)) { myLogger.log(Logger.SEVERE,"Mobility protocol not supported. Aborting transfer"); a.restoreBufferedState(); return; } int transferState = 0; List messages = new ArrayList(); AgentMobilitySlice dest = null; try { // If the destination container is the same as this one, there is nothing to do if (CaseInsensitiveString.equalsIgnoreCase(where.getName(), myContainer.here().getName())) { return; } dest = (AgentMobilitySlice) getSlice(where.getName()); if (dest == null) { myLogger.log(Logger.SEVERE,"Destination does not exist or does not support mobility"); return; } if(myLogger.isLoggable(Logger.FINE)) { myLogger.log(Logger.FINE,"Destination container for agent " + agentID + " found"); } transferState = 1; // Serialize the agent ByteArrayOutputStream out = new ByteArrayOutputStream(); ObjectOutputStream encoder = new ObjectOutputStream(out); encoder.writeObject(a); byte[] bytes = out.toByteArray(); if(myLogger.isLoggable(Logger.FINE)) { myLogger.log(Logger.FINE,"Agent " + agentID + " correctly serialized"); } // Gets the container where the agent classes can be retrieved String classSiteName = (String)sites.get(a); if (classSiteName == null) { // The agent was born on this container classSiteName = getLocalNode().getName(); } // Create the agent on the destination container try { dest.createAgent(agentID, bytes, classSiteName, MIGRATION, CREATE_ONLY); } catch(IMTPException imtpe) { // Try to get a newer slice and repeat... dest = (AgentMobilitySlice)getFreshSlice(where.getName()); dest.createAgent(agentID, bytes, classSiteName, MIGRATION, CREATE_ONLY); } transferState = 2; if(myLogger.isLoggable(Logger.FINE)) { myLogger.log(Logger.FINE,"Agent " + agentID + " correctly created on destination container"); } AgentMobilitySlice mainSlice = (AgentMobilitySlice)getSlice(MAIN_SLICE); // Perform an atomic transaction for agent identity transfer // From now on, messages for the moving agent will be routed to the // destination container boolean transferResult = false; try { transferResult = mainSlice.transferIdentity(agentID, (ContainerID) myContainer.here(), (ContainerID) where); } catch(IMTPException imtpe) { // Try to get a newer slice and repeat... mainSlice = (AgentMobilitySlice)getFreshSlice(MAIN_SLICE); transferResult = mainSlice.transferIdentity(agentID, (ContainerID) myContainer.here(), (ContainerID) where); } transferState = 3; if (transferResult == TRANSFER_COMMIT) { if(myLogger.isLoggable(Logger.FINE)) { myLogger.log(Logger.FINE,"Identity of agent " + agentID + " correctly transferred"); } // Send received messages to the destination container. Note that // there is no synchronization problem as the agent is locked in the LADT myContainer.fillListFromMessageQueue(messages, a); dest.handleTransferResult(agentID, transferResult, messages); try { // Cause the termination of the agent thread a.changeStateTo(new LifeCycle(AP_GONE) { public boolean alive() { return false; } }); // Remove the gone agent from the LADT myContainer.removeLocalAgent(a.getAID()); } catch (Exception e) { // Should never happen e.printStackTrace(); } sites.remove(a); if(myLogger.isLoggable(Logger.FINE)) { myLogger.log(Logger.FINE,"Agent " + agentID + " correctly gone"); } } else { myLogger.log(Logger.WARNING,"Error transferring identity of agent " + agentID); a.restoreBufferedState(); dest.handleTransferResult(agentID, transferResult, messages); myLogger.log(Logger.WARNING,"Migration of agent " + agentID + "aborted"); } } //#DOTNET_EXCLUDE_BEGIN catch (IOException ioe) { // Error in agent serialization myLogger.log(Logger.SEVERE,"Error in agent serialization. Abort transfer. " + ioe); } catch (JADESecurityException ae) { // Permission to move not owned myLogger.log(Logger.SEVERE,"Permission to move not owned. Abort transfer. " + ae.getMessage()); } catch(NotFoundException nfe) { if(transferState == 0) { myLogger.log(Logger.SEVERE,"Destination container does not exist. Abort transfer. " + nfe.getMessage()); } else if(transferState == 2) { myLogger.log(Logger.SEVERE,"Transferring agent does not seem to be part of the platform. Abort transfer. " + nfe.getMessage()); } else if(transferState == 3) { // PANIC !!! myLogger.log(Logger.SEVERE,"Transferred agent not found on destination container. Can't roll back. " + nfe.getMessage()); } } catch(NameClashException nce) { // This should not happen, because the agent is not changing its name but just its location... nce.printStackTrace(); } catch(IMTPException imtpe) { // Unexpected remote error if (transferState == 0) { myLogger.log(Logger.SEVERE,"Can't retrieve destination container. Abort transfer. " + imtpe.getMessage()); } else if (transferState == 1) { myLogger.log(Logger.SEVERE,"Error creating agent on destination container. Abort transfer. " + imtpe.getMessage()); } else if (transferState == 2) { myLogger.log(Logger.SEVERE,"Error transferring agent identity. Abort transfer. " + imtpe.getMessage()); try { dest.handleTransferResult(agentID, TRANSFER_ABORT, messages); } catch (Exception e) { e.printStackTrace(); } } else if (transferState == 3) { // PANIC !!! myLogger.log(Logger.SEVERE,"Error activating transferred agent. Can't roll back!!!. " + imtpe.getMessage()); } } //#DOTNET_EXCLUDE_END /*#DOTNET_INCLUDE_BEGIN catch(System.Exception exc) { if(myLogger.isLoggable(Logger.SEVERE)) myLogger.log(Logger.SEVERE,"Error in agent serialization. Abort transfer. " + exc.get_Message()); } #DOTNET_INCLUDE_END*/ finally { if (transferState <= 2) { // Something went wrong --> Roll back. a.restoreBufferedState(); } myContainer.releaseLocalAgent(agentID); } }
5505 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5505/46dba8df2358fb752e8d0a7cd2a512d0a633dbd6/AgentMobilityService.java/buggy/src/jade/core/mobility/AgentMobilityService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1640, 25541, 25317, 12, 15704, 2189, 1797, 13, 1216, 467, 14636, 503, 16, 16489, 16, 804, 37, 1639, 24918, 16, 12323, 288, 202, 202, 921, 8526, 859, 273, 1797, 18, 588, 1370, 5621, 202, 202, 37, 734, 4040, 734, 273, 261, 37, 734, 13, 2010, 63, 20, 15533, 202, 202, 2735, 1625, 273, 261, 2735, 13, 2010, 63, 21, 15533, 1082, 565, 309, 12, 4811, 3328, 18, 291, 1343, 8455, 12, 3328, 18, 5923, 3719, 1377, 3399, 3328, 18, 1330, 12, 3328, 18, 5923, 10837, 49, 13767, 4040, 315, 397, 4040, 734, 397, 315, 603, 1478, 315, 397, 1625, 18, 17994, 10663, 9506, 202, 3630, 279, 273, 3399, 2170, 18, 1077, 1039, 2042, 3630, 12, 5629, 734, 1769, 202, 202, 430, 261, 69, 422, 446, 13, 288, 1082, 202, 4811, 3328, 18, 1330, 12, 3328, 18, 1090, 2204, 41, 10837, 3061, 555, 30, 1640, 7607, 1435, 2566, 598, 279, 7194, 508, 7566, 397, 4040, 734, 397, 9369, 401, 5, 4442, 1769, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 780, 3760, 273, 1625, 18, 588, 5752, 5621, 202, 202, 430, 12, 5, 2449, 21931, 780, 18, 14963, 5556, 12, 9393, 16, 4039, 734, 18, 5280, 67, 3445, 11130, 3719, 288, 1082, 202, 4811, 3328, 18, 1330, 12, 3328, 18, 1090, 2204, 41, 10837, 49, 947, 1889, 1771, 486, 3260, 18, 14263, 310, 7412, 8863, 1082, 202, 69, 18, 13991, 17947, 1119, 5621, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 474, 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, 1640, 25541, 25317, 12, 15704, 2189, 1797, 13, 1216, 467, 14636, 503, 16, 16489, 16, 804, 37, 1639, 24918, 16, 12323, 288, 202, 202, 921, 8526, 859, 273, 1797, 18, 588, 1370, 5621, 202, 202, 37, 734, 4040, 734, 273, 261, 37, 734, 13, 2010, 63, 20, 15533, 202, 202, 2735, 1625, 273, 261, 2735, 13, 2010, 63, 21, 15533, 1082, 565, 309, 12, 4811, 3328, 18, 291, 1343, 8455, 12, 3328, 18, 5923, 3719, 1377, 3399, 3328, 18, 1330, 12, 3328, 18, 5923, 10837, 49, 13767, 4040, 315, 397, 4040, 734, 397, 315, 603, 1478, 315, 397, 1625, 18, 17994, 10663, 9506, 202, 3630, 279, 273, 3399, 2170, 18, 1077, 1039, 2042, 3630, 12, 2 ]
TableViewer tableviewer = (TableViewer) fViewer; TableTestLabelProvider provider = (TableTestLabelProvider) tableviewer .getLabelProvider();
TableViewer tableviewer = (TableViewer) fViewer; TableTestLabelProvider provider = (TableTestLabelProvider) tableviewer .getLabelProvider();
public void testLabelProviderStateChange() { TableViewer tableviewer = (TableViewer) fViewer; TableTestLabelProvider provider = (TableTestLabelProvider) tableviewer .getLabelProvider(); provider.fExtended = true; provider.setSuffix("added suffix"); // BUG 1FZ5SDC: JFUIF:WINNT - TableViewerColumn should listen for LabelProvider changes tableviewer.refresh(); TestElement first = fRootElement.getFirstChild(); String newLabel = providedString(first); assertEquals("rendered label", newLabel, getItemText(0)); provider.fExtended = false; // BUG 1FZ5SDC: JFUIF:WINNT - TableViewerColumn should listen for LabelProvider changes fViewer.refresh(); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/8a90f738d710f6ad45ad9241f00bac86c329e84b/TableViewerTest.java/buggy/tests/org.eclipse.ui.tests/Eclipse JFace Tests/org/eclipse/jface/tests/viewers/TableViewerTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2224, 2249, 22505, 1435, 288, 3639, 3555, 18415, 1014, 25256, 273, 261, 1388, 18415, 13, 284, 18415, 31, 3639, 3555, 4709, 2224, 2249, 2893, 273, 261, 1388, 4709, 2224, 2249, 13, 1014, 25256, 7734, 263, 588, 2224, 2249, 5621, 3639, 2893, 18, 74, 11456, 273, 638, 31, 3639, 2893, 18, 542, 5791, 2932, 9665, 3758, 8863, 3639, 368, 10937, 43, 404, 42, 62, 25, 55, 5528, 30, 21091, 5370, 42, 30, 24572, 1784, 300, 3555, 18415, 1494, 1410, 6514, 364, 5287, 2249, 3478, 3639, 1014, 25256, 18, 9144, 5621, 3639, 7766, 1046, 1122, 273, 284, 2375, 1046, 18, 588, 3759, 1763, 5621, 3639, 514, 394, 2224, 273, 2112, 780, 12, 3645, 1769, 3639, 1815, 8867, 2932, 26332, 1433, 3113, 394, 2224, 16, 8143, 1528, 12, 20, 10019, 3639, 2893, 18, 74, 11456, 273, 629, 31, 3639, 368, 10937, 43, 404, 42, 62, 25, 55, 5528, 30, 21091, 5370, 42, 30, 24572, 1784, 300, 3555, 18415, 1494, 1410, 6514, 364, 5287, 2249, 3478, 3639, 284, 18415, 18, 9144, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2224, 2249, 22505, 1435, 288, 3639, 3555, 18415, 1014, 25256, 273, 261, 1388, 18415, 13, 284, 18415, 31, 3639, 3555, 4709, 2224, 2249, 2893, 273, 261, 1388, 4709, 2224, 2249, 13, 1014, 25256, 7734, 263, 588, 2224, 2249, 5621, 3639, 2893, 18, 74, 11456, 273, 638, 31, 3639, 2893, 18, 542, 5791, 2932, 9665, 3758, 8863, 3639, 368, 10937, 43, 404, 42, 62, 25, 55, 5528, 30, 21091, 5370, 42, 30, 24572, 1784, 300, 3555, 18415, 1494, 1410, 6514, 364, 5287, 2249, 3478, 3639, 1014, 25256, 18, 9144, 5621, 3639, 7766, 1046, 1122, 273, 284, 2375, 1046, 18, 588, 3759, 1763, 5621, 3639, 514, 394, 2224, 273, 2112, 780, 12, 3645, 1769, 3639, 1815, 8867, 2 ]
} else if (type.typeParams().length > 0 && !isPrimitive(symbol)) {
} else if (type.typeParams().length > 0 && !monoPrimitive(symbol)) {
public Type transformInfo(Symbol symbol, Type type) { if (symbol.isClass()) { NewMember[] toAdd = membersToAdd(symbol); if (toAdd.length == 0) return type; else { Scope newMembers = new Scope(symbol.members()); for (int i = 0; i < toAdd.length; ++i) newMembers.enterOrOverload(toAdd[i].symbolToAdd()); return Type.compoundType(type.parents(), newMembers, symbol); } } else if (type.typeParams().length > 0 && !isPrimitive(symbol)) { // Polymorphic method/constructor: // - add a value parameter for every type parameter. switch (type) { case PolyType(Symbol[] tparams, // : Type.MethodType(Symbol[] vparams, Type result)): List newVParams = new LinkedList(Arrays.asList(paramsToAdd(symbol))); newVParams.addAll(Arrays.asList(vparams)); Symbol[] newVParamsA = (Symbol[]) newVParams.toArray(new Symbol[newVParams.size()]); return new Type.PolyType(tparams, new Type.MethodType(newVParamsA, result)); default: throw Debug.abort("unexpected type: ", type); } } else return type; }
1156 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1156/1f2e15f4e5c472d9c8b2361dae68d090cfdc9ee5/TypesAsValuesPhase.java/clean/sources/scalac/transformer/TypesAsValuesPhase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1412, 2510, 966, 12, 5335, 3273, 16, 1412, 618, 13, 288, 3639, 309, 261, 7175, 18, 291, 797, 10756, 288, 5411, 1166, 4419, 8526, 25607, 273, 4833, 13786, 12, 7175, 1769, 5411, 309, 261, 869, 986, 18, 2469, 422, 374, 13, 7734, 327, 618, 31, 5411, 469, 288, 7734, 5468, 394, 6918, 273, 394, 5468, 12, 7175, 18, 7640, 10663, 7734, 364, 261, 474, 277, 273, 374, 31, 277, 411, 25607, 18, 2469, 31, 965, 77, 13, 10792, 394, 6918, 18, 2328, 1162, 4851, 945, 12, 869, 986, 63, 77, 8009, 7175, 13786, 10663, 7734, 327, 1412, 18, 22585, 559, 12, 723, 18, 12606, 9334, 394, 6918, 16, 3273, 1769, 5411, 289, 3639, 289, 469, 309, 261, 723, 18, 723, 1370, 7675, 2469, 405, 374, 597, 401, 2586, 83, 9840, 12, 7175, 3719, 288, 5411, 368, 6730, 21976, 707, 19, 12316, 30, 5411, 368, 300, 527, 279, 460, 1569, 364, 3614, 618, 1569, 18, 5411, 1620, 261, 723, 13, 288, 5411, 648, 18394, 559, 12, 5335, 8526, 268, 2010, 16, 368, 294, 12900, 1412, 18, 21988, 12, 5335, 8526, 331, 2010, 16, 1412, 563, 3719, 30, 7734, 987, 394, 58, 1370, 273, 10792, 394, 10688, 12, 12726, 18, 345, 682, 12, 2010, 13786, 12, 7175, 3719, 1769, 7734, 394, 58, 1370, 18, 1289, 1595, 12, 12726, 18, 345, 682, 12, 90, 2010, 10019, 7734, 8565, 8526, 394, 58, 1370, 37, 273, 261, 5335, 63, 5717, 10792, 394, 58, 1370, 18, 31447, 12, 2704, 8565, 63, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1412, 2510, 966, 12, 5335, 3273, 16, 1412, 618, 13, 288, 3639, 309, 261, 7175, 18, 291, 797, 10756, 288, 5411, 1166, 4419, 8526, 25607, 273, 4833, 13786, 12, 7175, 1769, 5411, 309, 261, 869, 986, 18, 2469, 422, 374, 13, 7734, 327, 618, 31, 5411, 469, 288, 7734, 5468, 394, 6918, 273, 394, 5468, 12, 7175, 18, 7640, 10663, 7734, 364, 261, 474, 277, 273, 374, 31, 277, 411, 25607, 18, 2469, 31, 965, 77, 13, 10792, 394, 6918, 18, 2328, 1162, 4851, 945, 12, 869, 986, 63, 77, 8009, 7175, 13786, 10663, 7734, 327, 1412, 18, 22585, 559, 12, 723, 18, 12606, 9334, 394, 6918, 16, 3273, 1769, 5411, 289, 3639, 289, 469, 309, 261, 2 ]
public void reset(int i) { currentIndex = previous(i);
public void reset() { currentIndex = -1;
public void reset(int i) { currentIndex = previous(i); }
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/473e73e956d6ff2c0ecfedc365eaef22bfab27ea/LexStream.java/buggy/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/diagnose/LexStream.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2715, 12, 474, 277, 13, 288, 202, 202, 2972, 1016, 273, 2416, 12, 77, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2715, 12, 474, 277, 13, 288, 202, 202, 2972, 1016, 273, 2416, 12, 77, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (configLocked) { return; } if(this.grailsApplication != null) Thread.currentThread().setContextClassLoader( this.grailsApplication.getClassLoader() ); for(Iterator i = this.domainClasses.iterator();i.hasNext();) { GrailsDomainClass domainClass = (GrailsDomainClass)i.next(); GrailsDomainBinder.bindClass(domainClass, super.createMappings()); } super.secondPassCompile(); this.configLocked = true; }
if (configLocked) { return; } if(this.grailsApplication != null) Thread.currentThread().setContextClassLoader( this.grailsApplication.getClassLoader() ); for(Iterator i = this.domainClasses.iterator();i.hasNext();) { GrailsDomainClass domainClass = (GrailsDomainClass)i.next(); GrailsDomainBinder.bindClass(domainClass, super.createMappings()); } super.secondPassCompile(); this.configLocked = true; }
protected void secondPassCompile() throws MappingException { if (configLocked) { return; } // set the class loader to load Groovy classes if(this.grailsApplication != null) Thread.currentThread().setContextClassLoader( this.grailsApplication.getClassLoader() ); // do Grails class configuration for(Iterator i = this.domainClasses.iterator();i.hasNext();) { GrailsDomainClass domainClass = (GrailsDomainClass)i.next(); GrailsDomainBinder.bindClass(domainClass, super.createMappings()); } // call super super.secondPassCompile(); this.configLocked = true; }
50670 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50670/903f4b388a57a464f9d14176ea5d25485de66436/DefaultGrailsDomainConfiguration.java/clean/src/persistence/org/codehaus/groovy/grails/orm/hibernate/cfg/DefaultGrailsDomainConfiguration.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 2205, 6433, 9937, 1435, 1216, 30896, 288, 202, 202, 430, 261, 1425, 8966, 13, 288, 1082, 202, 2463, 31, 202, 202, 97, 9506, 202, 759, 444, 326, 667, 4088, 358, 1262, 20841, 3318, 202, 202, 430, 12, 2211, 18, 2752, 14573, 3208, 480, 446, 13, 1082, 202, 3830, 18, 2972, 3830, 7675, 542, 1042, 7805, 12, 333, 18, 2752, 14573, 3208, 18, 588, 7805, 1435, 11272, 202, 202, 759, 741, 10812, 14573, 667, 1664, 202, 202, 1884, 12, 3198, 277, 273, 333, 18, 4308, 4818, 18, 9838, 5621, 77, 18, 5332, 2134, 5621, 13, 288, 1082, 202, 14571, 14573, 3748, 797, 2461, 797, 273, 261, 14571, 14573, 3748, 797, 13, 77, 18, 4285, 5621, 25083, 202, 14571, 14573, 3748, 17700, 18, 4376, 797, 12, 4308, 797, 16, 2240, 18, 2640, 7742, 10663, 202, 202, 97, 9506, 202, 759, 745, 2240, 202, 202, 9565, 18, 8538, 6433, 9937, 5621, 202, 202, 2211, 18, 1425, 8966, 273, 638, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 2205, 6433, 9937, 1435, 1216, 30896, 288, 202, 202, 430, 261, 1425, 8966, 13, 288, 1082, 202, 2463, 31, 202, 202, 97, 9506, 202, 759, 444, 326, 667, 4088, 358, 1262, 20841, 3318, 202, 202, 430, 12, 2211, 18, 2752, 14573, 3208, 480, 446, 13, 1082, 202, 3830, 18, 2972, 3830, 7675, 542, 1042, 7805, 12, 333, 18, 2752, 14573, 3208, 18, 588, 7805, 1435, 11272, 202, 202, 759, 741, 10812, 14573, 667, 1664, 202, 202, 1884, 12, 3198, 277, 273, 333, 18, 4308, 4818, 18, 9838, 5621, 77, 18, 5332, 2134, 5621, 13, 288, 1082, 202, 14571, 14573, 3748, 797, 2461, 797, 273, 261, 14571, 14573, 3748, 797, 13, 77, 18, 4285, 5621, 25083, 2 ]
tp.add(new TablePanel(tp.el, tp, tp.oNode),gbc);
TablePanel pan = new TablePanel(tp.el, tp, tp.oNode); dataPanel.add(pan,gbc);
public void renderTab(TabPanel tp) { if(!tp.isRendered) { tp.isRendered = true; tp.removeAll(); //Set up the GridBagLayout tp.setLayout(new GridBagLayout()); GridBagConstraints gbc = new GridBagConstraints(); gbc.fill = GridBagConstraints.HORIZONTAL; gbc.anchor = GridBagConstraints.NORTHWEST; Insets ins = new Insets(10,10,10,10); gbc.insets = ins; gbc.weightx = 1.0; gbc.weighty = 1.0; gbc.gridwidth = GridBagConstraints.REMAINDER; gbc.gridheight = 1; //placeY will hold info on which position to add a new component to the layout int placeY = 0; //add a title label to show which element JPanel titlePanel = new JPanel(); titlePanel.setLayout(new GridLayout(2,1)); JLabel title = new JLabel(); Font thisFont = title.getFont(); Font newFont = new Font(thisFont.getFontName(),Font.BOLD,18); title.setFont(newFont); title.setText(tp.name + ":"); titlePanel.add(title); //if title has a description, add it in italics if (tp.el.hasAttribute("Description")) { if(tp.el.getAttribute("Description").length() != 0) { JLabel descrip = new JLabel(); newFont = new Font(thisFont.getFontName(),Font.ITALIC,thisFont.getSize()); descrip.setFont(newFont); descrip.setText( " " + tp.el.getAttribute("Description")); ins = new Insets(10,30,10,10); titlePanel.add(descrip); } } gbc.gridy = placeY; tp.add(titlePanel,gbc); placeY++; gbc.gridy = placeY; tp.add(new TablePanel(tp.el, tp, tp.oNode),gbc); placeY++; ins = new Insets(10,30,10,10); gbc.insets = ins; Vector theseElements = DOMUtil.getChildElements("OMEElement",tp.el); Vector branchElements = new Vector(theseElements.size()); for(int i = 0;i<theseElements.size();i++) { Element e = null; if (theseElements.get(i) instanceof Element) e = (Element) theseElements.get(i); if (DOMUtil.getChildElements("OMEElement",e).size() != 0) { branchElements.add(e); } else { if(tp.oNode != null) { Vector v = tp.oNode.getChildren(e.getAttribute("XMLName")); if (v.size() == 0) {//Use reflect api to avoid large switch statement to handle construction of different//OMEXMLNode child classes OMEXMLNode n = null; try { ReflectedUniverse r = new ReflectedUniverse(); String unknownName = e.getAttribute("XMLName"); if (unknownName.equals("Project") || unknownName.equals("Feature") || unknownName.equals("CustomAttributes") || unknownName.equals("Dataset") || unknownName.equals("Image")) { r.exec("import org.openmicroscopy.xml." + unknownName + "Node"); } else r.exec("import org.openmicroscopy.xml.st." + unknownName + "Node"); r.setVar("parent", tp.oNode); r.exec("result = new " + unknownName + "Node(parent)"); n = (OMEXMLNode) r.getVar("result"); } catch (Exception exc) { System.out.println(exc.toString()); } gbc.gridy = placeY; tp.add(new TablePanel(e, tp, n),gbc); placeY++; } else { for(int j = 0;j<v.size();j++) { OMEXMLNode n = (OMEXMLNode) v.get(j); gbc.gridy = placeY; tp.add(new TablePanel(e, tp, n),gbc); placeY++; } } } else { OMEXMLNode n = null; gbc.gridy = placeY; tp.add(new TablePanel(e, tp, n),gbc); placeY++; } } } } }
55415 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55415/3d8317ff17a4ac8a033e9e9b4bea49abbfe32878/MetadataPane.java/clean/loci/ome/notebook/MetadataPane.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1743, 5661, 12, 5661, 5537, 8071, 13, 288, 565, 309, 12, 5, 6834, 18, 291, 19222, 13, 288, 1377, 8071, 18, 291, 19222, 273, 638, 31, 1377, 8071, 18, 4479, 1595, 5621, 225, 368, 694, 731, 326, 7145, 5013, 3744, 3639, 8071, 18, 542, 3744, 12, 2704, 7145, 5013, 3744, 10663, 1377, 13075, 26432, 273, 394, 13075, 5621, 1377, 26432, 18, 5935, 273, 13075, 18, 44, 20344, 31, 1377, 26432, 18, 16215, 273, 13075, 18, 50, 28212, 31285, 31, 1377, 22300, 2763, 273, 394, 22300, 12, 2163, 16, 2163, 16, 2163, 16, 2163, 1769, 1377, 26432, 18, 267, 4424, 273, 2763, 31, 1377, 26432, 18, 4865, 92, 273, 404, 18, 20, 31, 1377, 26432, 18, 4865, 93, 273, 404, 18, 20, 31, 1377, 26432, 18, 5222, 2819, 273, 13075, 18, 862, 5535, 14822, 31, 1377, 26432, 18, 5222, 4210, 273, 404, 31, 225, 368, 964, 61, 903, 6887, 1123, 603, 1492, 1754, 358, 527, 279, 394, 1794, 358, 326, 3511, 1377, 509, 3166, 61, 273, 374, 31, 1850, 368, 1289, 279, 2077, 1433, 358, 2405, 1492, 930, 1850, 24048, 2077, 5537, 273, 394, 24048, 5621, 1377, 2077, 5537, 18, 542, 3744, 12, 2704, 7145, 3744, 12, 22, 16, 21, 10019, 1377, 21403, 2077, 273, 394, 21403, 5621, 1377, 10063, 333, 5711, 273, 2077, 18, 588, 5711, 5621, 1377, 10063, 394, 5711, 273, 394, 10063, 12, 2211, 5711, 18, 588, 5711, 461, 9334, 5711, 18, 38, 11846, 16, 2643, 1769, 1377, 2077, 18, 542, 5711, 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, 1743, 5661, 12, 5661, 5537, 8071, 13, 288, 565, 309, 12, 5, 6834, 18, 291, 19222, 13, 288, 1377, 8071, 18, 291, 19222, 273, 638, 31, 1377, 8071, 18, 4479, 1595, 5621, 225, 368, 694, 731, 326, 7145, 5013, 3744, 3639, 8071, 18, 542, 3744, 12, 2704, 7145, 5013, 3744, 10663, 1377, 13075, 26432, 273, 394, 13075, 5621, 1377, 26432, 18, 5935, 273, 13075, 18, 44, 20344, 31, 1377, 26432, 18, 16215, 273, 13075, 18, 50, 28212, 31285, 31, 1377, 22300, 2763, 273, 394, 22300, 12, 2163, 16, 2163, 16, 2163, 16, 2163, 1769, 1377, 26432, 18, 267, 4424, 273, 2763, 31, 1377, 26432, 18, 4865, 92, 273, 404, 18, 20, 31, 1377, 26432, 18, 4865, 2 ]
currentStream.add(w3 + " w\n");
currentStream.add(format(w3) + " w\n");
protected void drawBorderLine(float x1, float y1, float x2, float y2, boolean horz, boolean startOrBefore, int style, ColorType col) { float w = x2 - x1; float h = y2 - y1; if ((w < 0) || (h < 0)) { log.error("Negative extent received. Border won't be painted."); return; } switch (style) { case Constants.EN_DASHED: setColor(toColor(col), false, null); if (horz) { float unit = Math.abs(2 * h); int rep = (int)(w / unit); if (rep % 2 == 0) { rep++; } unit = w / rep; currentStream.add("[" + unit + "] 0 d "); currentStream.add(h + " w\n"); float ym = y1 + (h / 2); currentStream.add(x1 + " " + ym + " m " + x2 + " " + ym + " l S\n"); } else { float unit = Math.abs(2 * w); int rep = (int)(h / unit); if (rep % 2 == 0) { rep++; } unit = h / rep; currentStream.add("[" + unit + "] 0 d "); currentStream.add(w + " w\n"); float xm = x1 + (w / 2); currentStream.add(xm + " " + y1 + " m " + xm + " " + y2 + " l S\n"); } break; case Constants.EN_DOTTED: setColor(toColor(col), false, null); currentStream.add("1 J "); if (horz) { float unit = Math.abs(2 * h); int rep = (int)(w / unit); if (rep % 2 == 0) { rep++; } unit = w / rep; currentStream.add("[0 " + unit + "] 0 d "); currentStream.add(h + " w\n"); float ym = y1 + (h / 2); currentStream.add(x1 + " " + ym + " m " + x2 + " " + ym + " l S\n"); } else { float unit = Math.abs(2 * w); int rep = (int)(h / unit); if (rep % 2 == 0) { rep++; } unit = h / rep; currentStream.add("[0 " + unit + " ] 0 d "); currentStream.add(w + " w\n"); float xm = x1 + (w / 2); currentStream.add(xm + " " + y1 + " m " + xm + " " + y2 + " l S\n"); } break; case Constants.EN_DOUBLE: setColor(toColor(col), false, null); currentStream.add("[] 0 d "); if (horz) { float h3 = h / 3; currentStream.add(h3 + " w\n"); float ym1 = y1 + (h3 / 2); float ym2 = ym1 + h3 + h3; currentStream.add(x1 + " " + ym1 + " m " + x2 + " " + ym1 + " l S\n"); currentStream.add(x1 + " " + ym2 + " m " + x2 + " " + ym2 + " l S\n"); } else { float w3 = w / 3; currentStream.add(w3 + " w\n"); float xm1 = x1 + (w3 / 2); float xm2 = xm1 + w3 + w3; currentStream.add(xm1 + " " + y1 + " m " + xm1 + " " + y2 + " l S\n"); currentStream.add(xm2 + " " + y1 + " m " + xm2 + " " + y2 + " l S\n"); } break; case Constants.EN_GROOVE: case Constants.EN_RIDGE: { float colFactor = (style == EN_GROOVE ? 0.4f : -0.4f); currentStream.add("[] 0 d "); Color c = toColor(col); if (horz) { Color uppercol = lightenColor(c, -colFactor); Color lowercol = lightenColor(c, colFactor); float h3 = h / 3; currentStream.add(h3 + " w\n"); float ym1 = y1 + (h3 / 2); setColor(uppercol, false, null); currentStream.add(x1 + " " + ym1 + " m " + x2 + " " + ym1 + " l S\n"); setColor(c, false, null); currentStream.add(x1 + " " + (ym1 + h3) + " m " + x2 + " " + (ym1 + h3) + " l S\n"); setColor(lowercol, false, null); currentStream.add(x1 + " " + (ym1 + h3 + h3) + " m " + x2 + " " + (ym1 + h3 + h3) + " l S\n"); } else { Color leftcol = lightenColor(c, -colFactor); Color rightcol = lightenColor(c, colFactor); float w3 = w / 3; currentStream.add(w3 + " w\n"); float xm1 = x1 + (w3 / 2); setColor(leftcol, false, null); currentStream.add(xm1 + " " + y1 + " m " + xm1 + " " + y2 + " l S\n"); setColor(c, false, null); currentStream.add((xm1 + w3) + " " + y1 + " m " + (xm1 + w3) + " " + y2 + " l S\n"); setColor(rightcol, false, null); currentStream.add((xm1 + w3 + w3) + " " + y1 + " m " + (xm1 + w3 + w3) + " " + y2 + " l S\n"); } break; } case Constants.EN_INSET: case Constants.EN_OUTSET: { float colFactor = (style == EN_OUTSET ? 0.4f : -0.4f); currentStream.add("[] 0 d "); Color c = toColor(col); if (horz) { c = lightenColor(c, (startOrBefore ? 1 : -1) * colFactor); currentStream.add(h + " w\n"); float ym1 = y1 + (h / 2); setColor(c, false, null); currentStream.add(x1 + " " + ym1 + " m " + x2 + " " + ym1 + " l S\n"); } else { c = lightenColor(c, (startOrBefore ? 1 : -1) * colFactor); currentStream.add(w + " w\n"); float xm1 = x1 + (w / 2); setColor(c, false, null); currentStream.add(xm1 + " " + y1 + " m " + xm1 + " " + y2 + " l S\n"); } break; } case Constants.EN_HIDDEN: break; default: setColor(toColor(col), false, null); currentStream.add("[] 0 d "); if (horz) { currentStream.add(h + " w\n"); float ym = y1 + (h / 2); currentStream.add(x1 + " " + ym + " m " + x2 + " " + ym + " l S\n"); } else { currentStream.add(w + " w\n"); float xm = x1 + (w / 2); currentStream.add(xm + " " + y1 + " m " + xm + " " + y2 + " l S\n"); } } }
5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/dc7978e4a540cdd65415af3c77108ebff6cd2fd2/PDFRenderer.java/buggy/src/java/org/apache/fop/render/pdf/PDFRenderer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 3724, 8107, 1670, 12, 5659, 619, 21, 16, 1431, 677, 21, 16, 1431, 619, 22, 16, 1431, 677, 22, 16, 2398, 1250, 29404, 94, 16, 1250, 787, 1162, 4649, 16, 509, 2154, 16, 5563, 559, 645, 13, 288, 3639, 1431, 341, 273, 619, 22, 300, 619, 21, 31, 3639, 1431, 366, 273, 677, 22, 300, 677, 21, 31, 3639, 309, 14015, 91, 411, 374, 13, 747, 261, 76, 411, 374, 3719, 288, 5411, 613, 18, 1636, 2932, 14959, 11933, 5079, 18, 13525, 8462, 1404, 506, 12574, 329, 1199, 1769, 5411, 327, 31, 3639, 289, 3639, 1620, 261, 4060, 13, 288, 5411, 648, 5245, 18, 1157, 67, 9793, 2664, 2056, 30, 1171, 16207, 12, 869, 2957, 12, 1293, 3631, 629, 16, 446, 1769, 7734, 309, 261, 76, 280, 94, 13, 288, 10792, 1431, 2836, 273, 2361, 18, 5113, 12, 22, 380, 366, 1769, 10792, 509, 2071, 273, 261, 474, 21433, 91, 342, 2836, 1769, 10792, 309, 261, 14462, 738, 576, 422, 374, 13, 288, 13491, 2071, 9904, 31, 10792, 289, 10792, 2836, 273, 341, 342, 2071, 31, 10792, 783, 1228, 18, 1289, 2932, 9614, 397, 2836, 397, 9850, 374, 302, 315, 1769, 10792, 783, 1228, 18, 1289, 12, 76, 397, 315, 341, 64, 82, 8863, 10792, 1431, 677, 81, 273, 677, 21, 397, 261, 76, 342, 576, 1769, 10792, 783, 1228, 18, 1289, 12, 92, 21, 397, 315, 315, 397, 677, 81, 397, 315, 312, 315, 397, 619, 22, 397, 315, 315, 397, 677, 81, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 3724, 8107, 1670, 12, 5659, 619, 21, 16, 1431, 677, 21, 16, 1431, 619, 22, 16, 1431, 677, 22, 16, 2398, 1250, 29404, 94, 16, 1250, 787, 1162, 4649, 16, 509, 2154, 16, 5563, 559, 645, 13, 288, 3639, 1431, 341, 273, 619, 22, 300, 619, 21, 31, 3639, 1431, 366, 273, 677, 22, 300, 677, 21, 31, 3639, 309, 14015, 91, 411, 374, 13, 747, 261, 76, 411, 374, 3719, 288, 5411, 613, 18, 1636, 2932, 14959, 11933, 5079, 18, 13525, 8462, 1404, 506, 12574, 329, 1199, 1769, 5411, 327, 31, 3639, 289, 3639, 1620, 261, 4060, 13, 288, 5411, 648, 5245, 18, 1157, 67, 9793, 2664, 2056, 30, 1171, 16207, 12, 869, 2957, 12, 2 ]
if (toolBarMgr != null)
} if (toolBarMgr != null) {
public void dispose() { clearGlobalActionHandlers(); if (menuMgr != null) { menuMgr.dispose(); menuMgr.disposeManager(); } if (statusLineMgr != null) statusLineMgr.disposeManager(); if (toolBarMgr != null) toolBarMgr.disposeManager(); clearListeners(); }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/SubActionBars.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/SubActionBars.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 15825, 1435, 288, 202, 202, 8507, 5160, 1803, 6919, 5621, 202, 202, 430, 261, 5414, 9455, 480, 446, 13, 288, 1082, 202, 5414, 9455, 18, 2251, 4150, 5621, 1082, 202, 5414, 9455, 18, 2251, 4150, 1318, 5621, 202, 202, 97, 202, 202, 430, 261, 2327, 1670, 9455, 480, 446, 13, 1082, 202, 2327, 1670, 9455, 18, 2251, 4150, 1318, 5621, 202, 202, 430, 261, 6738, 5190, 9455, 480, 446, 13, 1082, 202, 6738, 5190, 9455, 18, 2251, 4150, 1318, 5621, 202, 202, 8507, 5583, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 482, 918, 15825, 1435, 288, 202, 202, 8507, 5160, 1803, 6919, 5621, 202, 202, 430, 261, 5414, 9455, 480, 446, 13, 288, 1082, 202, 5414, 9455, 18, 2251, 4150, 5621, 1082, 202, 5414, 9455, 18, 2251, 4150, 1318, 5621, 202, 202, 97, 202, 202, 430, 261, 2327, 1670, 9455, 480, 446, 13, 1082, 202, 2327, 1670, 9455, 18, 2251, 4150, 1318, 5621, 202, 202, 430, 261, 6738, 5190, 9455, 480, 446, 13, 1082, 202, 6738, 5190, 9455, 18, 2251, 4150, 1318, 5621, 202, 202, 8507, 5583, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
status.addFatalError("Ambigious return value: selected block contains more than one assignment to local variable.");
status.addFatalError("Ambiguous return value: selected block contains more than one assignment to local variable.");
private void checkLocalWrites(RefactoringStatus status, List followingLocals) { LocalVariableBinding returnBinding= null; boolean isHardReturnDeclaration= false; Iterator iter= fSelectedLocalWrites.iterator(); while (iter.hasNext()) { LocalVariableBinding binding= (LocalVariableBinding)iter.next(); if (!fStatementAnalyzer.isSelected(binding.declaration)) { boolean isUsedAfterSelection= followingLocals.contains(binding); if (returnBinding == null) { returnBinding= binding; isHardReturnDeclaration= isUsedAfterSelection; } else { if (isHardReturnDeclaration) { status.addFatalError("Ambigious return value: selected block contains more than one assignment to local variable."); return; } else if (isUsedAfterSelection) { returnBinding= binding; isHardReturnDeclaration= true; } } // The variable is not part of the read accesses. So we have to create a local variable declaration. if (!fUsedLocals.contains(binding)) fLocalReturnValueDeclaration= makeDeclaration(binding) + ";"; } } if (returnBinding != null) { fReturnStatementBinding= returnBinding; computeReturnType(returnBinding, isHardReturnDeclaration, status); } }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/4d9ed9937a315b7884dc683e100670869244ecc9/LocalVariableAnalyzer.java/buggy/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/core/refactoring/code/LocalVariableAnalyzer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 866, 2042, 8368, 12, 426, 3493, 6053, 1482, 1267, 16, 987, 3751, 1333, 1031, 13, 288, 202, 202, 2042, 3092, 5250, 327, 5250, 33, 446, 31, 202, 202, 6494, 27803, 1060, 990, 6094, 33, 629, 31, 202, 202, 3198, 1400, 33, 284, 7416, 2042, 8368, 18, 9838, 5621, 202, 202, 17523, 261, 2165, 18, 5332, 2134, 10756, 288, 1082, 202, 2042, 3092, 5250, 5085, 33, 261, 2042, 3092, 5250, 13, 2165, 18, 4285, 5621, 1082, 202, 430, 16051, 74, 3406, 12803, 18, 291, 7416, 12, 7374, 18, 22448, 3719, 288, 9506, 202, 6494, 353, 6668, 4436, 6233, 33, 3751, 1333, 1031, 18, 12298, 12, 7374, 1769, 9506, 202, 430, 261, 2463, 5250, 422, 446, 13, 288, 6862, 202, 2463, 5250, 33, 5085, 31, 6862, 202, 291, 29601, 990, 6094, 33, 353, 6668, 4436, 6233, 31, 9506, 202, 97, 469, 288, 6862, 202, 430, 261, 291, 29601, 990, 6094, 13, 288, 25083, 202, 2327, 18, 1289, 19593, 668, 2932, 30706, 360, 22774, 327, 460, 30, 3170, 1203, 1914, 1898, 2353, 1245, 6661, 358, 1191, 2190, 1199, 1769, 25083, 202, 2463, 31, 6862, 202, 97, 469, 309, 261, 291, 6668, 4436, 6233, 13, 288, 25083, 202, 2463, 5250, 33, 5085, 31, 25083, 202, 291, 29601, 990, 6094, 33, 638, 31, 6862, 202, 97, 9506, 202, 97, 9506, 202, 759, 1021, 2190, 353, 486, 1087, 434, 326, 855, 2006, 281, 18, 6155, 732, 1240, 358, 752, 279, 1191, 2190, 8266, 18, 9506, 202, 430, 16051, 74, 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, 866, 2042, 8368, 12, 426, 3493, 6053, 1482, 1267, 16, 987, 3751, 1333, 1031, 13, 288, 202, 202, 2042, 3092, 5250, 327, 5250, 33, 446, 31, 202, 202, 6494, 27803, 1060, 990, 6094, 33, 629, 31, 202, 202, 3198, 1400, 33, 284, 7416, 2042, 8368, 18, 9838, 5621, 202, 202, 17523, 261, 2165, 18, 5332, 2134, 10756, 288, 1082, 202, 2042, 3092, 5250, 5085, 33, 261, 2042, 3092, 5250, 13, 2165, 18, 4285, 5621, 1082, 202, 430, 16051, 74, 3406, 12803, 18, 291, 7416, 12, 7374, 18, 22448, 3719, 288, 9506, 202, 6494, 353, 6668, 4436, 6233, 33, 3751, 1333, 1031, 18, 12298, 12, 7374, 1769, 9506, 202, 430, 261, 2463, 5250, 422, 446, 13, 2 ]
if ( !isSnapshot( project.getVersion() ) )
throw new MojoExecutionException( "The project " + project.getGroupId() + ":" + project.getArtifactId() + " isn't a snapshot (" + project.getVersion() + ")." ); } Model model = project.getOriginalModel(); if ( model.getParent() != null ) { Artifact parentArtifact = project.getParentArtifact(); if ( isSnapshot( parentArtifact.getBaseVersion() ) )
private void transformPomToReleaseVersionPom( MavenProject project ) throws MojoExecutionException { if ( !getReleaseProgress().verifyCheckpoint( ReleaseProgressTracker.CP_POM_TRANSFORMED_FOR_RELEASE ) ) { if ( !isSnapshot( project.getVersion() ) ) { throw new MojoExecutionException( "The project " + project.getGroupId() + ":" + project.getArtifactId() + " isn't a snapshot (" + project.getVersion() + ")." ); } Model model = project.getOriginalModel(); //Rewrite parent version if ( model.getParent() != null ) { Artifact parentArtifact = project.getParentArtifact(); if ( isSnapshot( parentArtifact.getBaseVersion() ) ) { String version = resolveVersion( parentArtifact, "parent", project ); model.getParent().setVersion( version ); } } //Rewrite dependencies section List dependencies = model.getDependencies(); if ( dependencies != null ) { for ( Iterator i = dependencies.iterator(); i.hasNext(); ) { Dependency dep = (Dependency) i.next(); // Avoid in dep mgmt if ( dep.getVersion() != null ) { String resolvedVersion = getVersionResolver().getResolvedVersion( dep.getGroupId(), dep.getArtifactId() ); if ( resolvedVersion != null ) { dep.setVersion( resolvedVersion ); } } } } DependencyManagement dependencyManagement = model.getDependencyManagement(); dependencies = dependencyManagement != null ? dependencyManagement.getDependencies() : null; if ( dependencies != null ) { for ( Iterator i = dependencies.iterator(); i.hasNext(); ) { Dependency dep = (Dependency) i.next(); if ( dep.getVersion() != null ) { String resolvedVersion = getVersionResolver().getResolvedVersion( dep.getGroupId(), dep.getArtifactId() ); if ( resolvedVersion != null ) { dep.setVersion( resolvedVersion ); } } } } Build build = model.getBuild(); if ( build != null ) { //Rewrite plugins section List plugins = build.getPlugins(); if ( plugins != null ) { for ( Iterator i = plugins.iterator(); i.hasNext(); ) { Plugin plugin = (Plugin) i.next(); // Avoid in plugin mgmt if ( plugin.getVersion() != null ) { String resolvedVersion = getVersionResolver().getResolvedVersion( plugin.getGroupId(), plugin.getArtifactId() ); if ( resolvedVersion != null ) { plugin.setVersion( resolvedVersion ); } } } } PluginManagement pluginManagement = build.getPluginManagement(); plugins = pluginManagement != null ? pluginManagement.getPlugins() : null; if ( plugins != null ) { for ( Iterator i = plugins.iterator(); i.hasNext(); ) { Plugin plugin = (Plugin) i.next(); if ( plugin.getVersion() != null ) { String resolvedVersion = getVersionResolver().getResolvedVersion( plugin.getGroupId(), plugin.getArtifactId() ); if ( resolvedVersion != null ) { plugin.setVersion( resolvedVersion ); } } } } //Rewrite extensions section List extensions = build.getExtensions(); for ( Iterator i = extensions.iterator(); i.hasNext(); ) { Extension ext = (Extension) i.next(); String resolvedVersion = getVersionResolver().getResolvedVersion( ext.getGroupId(), ext.getArtifactId() ); if ( resolvedVersion != null ) { ext.setVersion( resolvedVersion ); } } } Reporting reporting = model.getReporting(); if ( reporting != null ) { //Rewrite reports section List reports = reporting.getPlugins(); for ( Iterator i = reports.iterator(); i.hasNext(); ) { ReportPlugin plugin = (ReportPlugin) i.next(); String resolvedVersion = getVersionResolver().getResolvedVersion( plugin.getGroupId(), plugin.getArtifactId() ); if ( resolvedVersion != null ) { plugin.setVersion( resolvedVersion ); } } } Writer writer = null; try { writer = new FileWriter( project.getFile() ); project.writeOriginalModel( writer ); } catch ( IOException e ) { throw new MojoExecutionException( "Cannot write released version of pom to: " + project.getFile(), e ); } finally { IOUtil.close( writer ); } try { getReleaseProgress().checkpoint( basedir, ReleaseProgressTracker.CP_POM_TRANSFORMED_FOR_RELEASE ); } catch ( IOException e ) { getLog().warn( "Error writing checkpoint.", e ); } } }
47160 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47160/22f9a34107d27782bab8e88b50b54708304b73dc/PrepareReleaseMojo.java/buggy/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugins/release/PrepareReleaseMojo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2510, 52, 362, 774, 7391, 1444, 52, 362, 12, 17176, 4109, 1984, 262, 3639, 1216, 18780, 565, 288, 3639, 309, 261, 401, 588, 7391, 5491, 7675, 8705, 14431, 12, 10819, 5491, 8135, 18, 4258, 67, 52, 1872, 67, 16596, 7473, 25773, 67, 7473, 67, 30762, 262, 262, 3639, 288, 5411, 604, 394, 18780, 12, 315, 1986, 1984, 315, 397, 1984, 18, 588, 8722, 1435, 397, 6153, 397, 1984, 18, 588, 7581, 548, 1435, 397, 315, 5177, 1404, 279, 4439, 7566, 397, 1984, 18, 588, 1444, 1435, 397, 9369, 1199, 11272, 289, 225, 3164, 938, 273, 1984, 18, 588, 8176, 1488, 5621, 282, 309, 261, 938, 18, 588, 3054, 1435, 480, 446, 262, 288, 14022, 982, 7581, 273, 1984, 18, 588, 3054, 7581, 5621, 225, 309, 261, 353, 4568, 12, 982, 7581, 18, 588, 2171, 1444, 1435, 262, 262, 5411, 288, 7734, 604, 394, 18780, 12, 315, 1986, 1984, 315, 397, 1984, 18, 588, 8722, 1435, 397, 6153, 397, 10792, 1984, 18, 588, 7581, 548, 1435, 397, 315, 5177, 1404, 279, 4439, 7566, 397, 1984, 18, 588, 1444, 1435, 397, 9369, 1199, 11272, 5411, 289, 5411, 3164, 938, 273, 1984, 18, 588, 8176, 1488, 5621, 5411, 368, 19618, 982, 1177, 5411, 309, 261, 938, 18, 588, 3054, 1435, 480, 446, 262, 5411, 288, 7734, 14022, 982, 7581, 273, 1984, 18, 588, 3054, 7581, 5621, 7734, 309, 261, 353, 4568, 12, 982, 7581, 18, 588, 2171, 1444, 1435, 262, 262, 7734, 288, 10792, 514, 1177, 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, 377, 3238, 918, 2510, 52, 362, 774, 7391, 1444, 52, 362, 12, 17176, 4109, 1984, 262, 3639, 1216, 18780, 565, 288, 3639, 309, 261, 401, 588, 7391, 5491, 7675, 8705, 14431, 12, 10819, 5491, 8135, 18, 4258, 67, 52, 1872, 67, 16596, 7473, 25773, 67, 7473, 67, 30762, 262, 262, 3639, 288, 5411, 604, 394, 18780, 12, 315, 1986, 1984, 315, 397, 1984, 18, 588, 8722, 1435, 397, 6153, 397, 1984, 18, 588, 7581, 548, 1435, 397, 315, 5177, 1404, 279, 4439, 7566, 397, 1984, 18, 588, 1444, 1435, 397, 9369, 1199, 11272, 289, 225, 3164, 938, 273, 1984, 18, 588, 8176, 1488, 5621, 282, 309, 261, 938, 18, 588, 3054, 1435, 480, 446, 262, 288, 14022, 982, 7581, 2 ]
stack[++stackTop] = theThisObj;
stack[++stackTop] = thisObj;
public static Object interpret(InterpreterData theData) throws JavaScriptException { Object lhs; Object[] stack = new Object[theData.itsMaxStack]; int stackTop = -1; byte[] iCode = theData.itsICode; int pc = 0; int iCodeLength = theData.itsICodeTop; Object[] local = null; // used for newtemp/usetemp etc. if (theData.itsMaxLocals > 0) local = new Object[theData.itsMaxLocals]; Object[] vars = null; final Scriptable undefined = Undefined.instance; int i = theData.itsVariableTable.size(); if (i > 0) { vars = new Object[i]; for (i = 0; i < theData.itsVariableTable.getParameterCount(); i++) { if (i >= theData.itsInArgs.length) vars[i] = undefined; else vars[i] = theData.itsInArgs[i]; } for ( ; i < vars.length; i++) vars[i] = undefined; } Context cx = theData.itsCX; Scriptable scope = theData.itsScope; if (theData.itsNestedFunctions != null) { for (i = 0; i < theData.itsNestedFunctions.length; i++) createFunctionObject(theData.itsNestedFunctions[i], scope); } Object id; Object rhs; int count; int slot; String name = null; Object[] outArgs; int lIntValue; long lLongValue; int rIntValue; int[] catchStack = null; int[] finallyStack = null; Scriptable[] scopeStack = null; int tryStackTop = 0; if (theData.itsMaxTryDepth > 0) { catchStack = new int[theData.itsMaxTryDepth]; finallyStack = new int[theData.itsMaxTryDepth]; scopeStack = new Scriptable[theData.itsMaxTryDepth]; } /* Save the security domain. Must restore upon normal exit. * If we exit the interpreter loop by throwing an exception, * set cx.interpreterSecurityDomain to null, and require the * catching function to restore it. */ Object savedSecurityDomain = cx.interpreterSecurityDomain; cx.interpreterSecurityDomain = theData.securityDomain; Object result = undefined; Scriptable theThisObj = theData.itsThisObj; while (pc < iCodeLength) { try { switch ((int)(iCode[pc] & 0xff)) { case TokenStream.ENDTRY : tryStackTop--; break; case TokenStream.TRY : i = getTarget(iCode, pc + 1); if (i == pc) i = 0; catchStack[tryStackTop] = i; i = getTarget(iCode, pc + 3); if (i == (pc + 2)) i = 0; finallyStack[tryStackTop] = i; scopeStack[tryStackTop++] = scope; pc += 4; break; case TokenStream.GE : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.cmp_LEB(rhs, lhs); break; case TokenStream.LE : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.cmp_LEB(lhs, rhs); break; case TokenStream.GT : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.cmp_LTB(rhs, lhs); break; case TokenStream.LT : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.cmp_LTB(lhs, rhs); break; case TokenStream.IN : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = new Boolean(ScriptRuntime.in(lhs, rhs)); break; case TokenStream.INSTANCEOF : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = new Boolean( ScriptRuntime.instanceOf(scope, lhs, rhs)); break; case TokenStream.EQ : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.eqB(lhs, rhs); break; case TokenStream.NE : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.neB(lhs, rhs); break; case TokenStream.SHEQ : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.seqB(lhs, rhs); break; case TokenStream.SHNE : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.sneB(lhs, rhs); break; case TokenStream.IFNE : if (!ScriptRuntime.toBoolean(stack[stackTop--])) { pc = getTarget(iCode, pc + 1); continue; } pc += 2; break; case TokenStream.IFEQ : if (ScriptRuntime.toBoolean(stack[stackTop--])) { pc = getTarget(iCode, pc + 1); continue; } pc += 2; break; case TokenStream.GOTO : pc = getTarget(iCode, pc + 1); continue; case TokenStream.GOSUB : stack[++stackTop] = new Integer(pc + 3); pc = getTarget(iCode, pc + 1); continue; case TokenStream.RETSUB : slot = (iCode[++pc] & 0xFF); pc = ((Integer)local[slot]).intValue(); continue; case TokenStream.POP : stackTop--; break; case TokenStream.DUP : stack[stackTop + 1] = stack[stackTop]; stackTop++; break; case TokenStream.POPV : result = stack[stackTop--]; break; case TokenStream.RETURN : result = stack[stackTop--]; pc = getTarget(iCode, pc + 1); break; case TokenStream.BITNOT : rIntValue = ScriptRuntime.toInt32(stack[stackTop]); stack[stackTop] = new Double(~rIntValue); break; case TokenStream.BITAND : rIntValue = ScriptRuntime.toInt32(stack[stackTop--]); lIntValue = ScriptRuntime.toInt32(stack[stackTop]); stack[stackTop] = new Double(lIntValue & rIntValue); break; case TokenStream.BITOR : rIntValue = ScriptRuntime.toInt32(stack[stackTop--]); lIntValue = ScriptRuntime.toInt32(stack[stackTop]); stack[stackTop] = new Double(lIntValue | rIntValue); break; case TokenStream.BITXOR : rIntValue = ScriptRuntime.toInt32(stack[stackTop--]); lIntValue = ScriptRuntime.toInt32(stack[stackTop]); stack[stackTop] = new Double(lIntValue ^ rIntValue); break; case TokenStream.LSH : rIntValue = ScriptRuntime.toInt32(stack[stackTop--]); lIntValue = ScriptRuntime.toInt32(stack[stackTop]); stack[stackTop] = new Double(lIntValue << rIntValue); break; case TokenStream.RSH : rIntValue = ScriptRuntime.toInt32(stack[stackTop--]); lIntValue = ScriptRuntime.toInt32(stack[stackTop]); stack[stackTop] = new Double(lIntValue >> rIntValue); break; case TokenStream.URSH : rIntValue = (ScriptRuntime.toInt32(stack[stackTop--]) & 0x1F); lLongValue = ScriptRuntime.toUint32(stack[stackTop]); stack[stackTop] = new Double(lLongValue >>> rIntValue); break; case TokenStream.ADD : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.add(lhs, rhs); break; case TokenStream.SUB : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = new Double(ScriptRuntime.toNumber(lhs) - ScriptRuntime.toNumber(rhs)); break; case TokenStream.NEG : rhs = stack[stackTop]; stack[stackTop] = new Double(-ScriptRuntime.toNumber(rhs)); break; case TokenStream.POS : rhs = stack[stackTop]; stack[stackTop] = new Double(ScriptRuntime.toNumber(rhs)); break; case TokenStream.MUL : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = new Double(ScriptRuntime.toNumber(lhs) * ScriptRuntime.toNumber(rhs)); break; case TokenStream.DIV : rhs = stack[stackTop--]; lhs = stack[stackTop]; // Detect the divide by zero or let Java do it ? stack[stackTop] = new Double(ScriptRuntime.toNumber(lhs) / ScriptRuntime.toNumber(rhs)); break; case TokenStream.MOD : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = new Double(ScriptRuntime.toNumber(lhs) % ScriptRuntime.toNumber(rhs)); break; case TokenStream.BINDNAME : stack[++stackTop] = ScriptRuntime.bind(scope, getString(theData.itsStringTable, iCode, pc + 1)); pc += 2; break; case TokenStream.GETBASE : stack[++stackTop] = ScriptRuntime.getBase(scope, getString(theData.itsStringTable, iCode, pc + 1)); pc += 2; break; case TokenStream.SETNAME : rhs = stack[stackTop--]; lhs = stack[stackTop]; // what about class cast exception here ? stack[stackTop] = ScriptRuntime.setName((Scriptable)lhs, rhs, scope, getString(theData.itsStringTable, iCode, pc + 1)); pc += 2; break; case TokenStream.DELPROP : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.delete(lhs, rhs); break; case TokenStream.GETPROP : name = (String)stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.getProp(lhs, name, scope); break; case TokenStream.SETPROP : rhs = stack[stackTop--]; name = (String)stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.setProp(lhs, name, rhs, scope); break; case TokenStream.GETELEM : id = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.getElem(lhs, id, scope); break; case TokenStream.SETELEM : rhs = stack[stackTop--]; id = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.setElem(lhs, id, rhs, scope); break; case TokenStream.PROPINC : name = (String)stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.postIncrement(lhs, name, scope); break; case TokenStream.PROPDEC : name = (String)stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.postDecrement(lhs, name, scope); break; case TokenStream.ELEMINC : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.postIncrementElem(lhs, rhs, scope); break; case TokenStream.ELEMDEC : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.postDecrementElem(lhs, rhs, scope); break; case TokenStream.GETTHIS : lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.getThis((Scriptable)lhs); break; case TokenStream.NEWTEMP : lhs = stack[stackTop]; slot = (iCode[++pc] & 0xFF); local[slot] = lhs; break; case TokenStream.USETEMP : slot = (iCode[++pc] & 0xFF); stack[++stackTop] = local[slot]; break; case TokenStream.CALLSPECIAL : i = (iCode[pc + 1] << 8) | (iCode[pc + 2] & 0xFF); name = getString(theData.itsStringTable, iCode, pc + 3); count = (iCode[pc + 5] << 8) | (iCode[pc + 6] & 0xFF); outArgs = new Object[count]; for (i = count - 1; i >= 0; i--) outArgs[i] = stack[stackTop--]; rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.callSpecial( cx, lhs, rhs, outArgs, theThisObj, scope, name, i); pc += 6; break; case TokenStream.CALL : count = (iCode[pc + 3] << 8) | (iCode[pc + 4] & 0xFF); outArgs = new Object[count]; for (i = count - 1; i >= 0; i--) outArgs[i] = stack[stackTop--]; rhs = stack[stackTop--]; lhs = stack[stackTop]; if (lhs == undefined) { lhs = getString(theData.itsStringTable, iCode, pc + 1); } Scriptable calleeScope = scope; if (theData.itsNeedsActivation) { calleeScope = ScriptableObject.getTopLevelScope(scope); } stack[stackTop] = ScriptRuntime.call(cx, lhs, rhs, outArgs, calleeScope); pc += 4; break; case TokenStream.NEW : count = (iCode[pc + 3] << 8) | (iCode[pc + 4] & 0xFF); outArgs = new Object[count]; for (i = count - 1; i >= 0; i--) outArgs[i] = stack[stackTop--]; lhs = stack[stackTop]; if (lhs == undefined) { lhs = getString(theData.itsStringTable, iCode, pc + 1); } stack[stackTop] = ScriptRuntime.newObject(cx, lhs, outArgs, scope); pc += 4; break; case TokenStream.TYPEOF : lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.typeof(lhs); break; case TokenStream.TYPEOFNAME : name = getString(theData.itsStringTable, iCode, pc + 1); stack[++stackTop] = ScriptRuntime.typeofName(scope, name); pc += 2; break; case TokenStream.STRING : stack[++stackTop] = getString(theData.itsStringTable, iCode, pc + 1); pc += 2; break; case TokenStream.NUMBER : stack[++stackTop] = getNumber(theData.itsNumberTable, iCode, pc + 1); pc += 2; break; case TokenStream.NAME : stack[++stackTop] = ScriptRuntime.name(scope, getString(theData.itsStringTable, iCode, pc + 1)); pc += 2; break; case TokenStream.NAMEINC : stack[++stackTop] = ScriptRuntime.postIncrement(scope, getString(theData.itsStringTable, iCode, pc + 1)); pc += 2; break; case TokenStream.NAMEDEC : stack[++stackTop] = ScriptRuntime.postDecrement(scope, getString(theData.itsStringTable, iCode, pc + 1)); pc += 2; break; case TokenStream.SETVAR : lhs = stack[stackTop]; slot = (iCode[++pc] & 0xFF); vars[slot] = lhs; break; case TokenStream.GETVAR : slot = (iCode[++pc] & 0xFF); stack[++stackTop] = vars[slot]; break; case TokenStream.VARINC : slot = (iCode[++pc] & 0xFF); stack[++stackTop] = vars[slot]; vars[slot] = ScriptRuntime.postIncrement(vars[slot]); break; case TokenStream.VARDEC : slot = (iCode[++pc] & 0xFF); stack[++stackTop] = vars[slot]; vars[slot] = ScriptRuntime.postDecrement(vars[slot]); break; case TokenStream.ZERO : stack[++stackTop] = zero; break; case TokenStream.ONE : stack[++stackTop] = one; break; case TokenStream.NULL : stack[++stackTop] = null; break; case TokenStream.THIS : stack[++stackTop] = theThisObj; break; case TokenStream.FALSE : stack[++stackTop] = Boolean.FALSE; break; case TokenStream.TRUE : stack[++stackTop] = Boolean.TRUE; break; case TokenStream.UNDEFINED : stack[++stackTop] = Undefined.instance; break; case TokenStream.THROW : cx.interpreterSecurityDomain = null; throw new JavaScriptException(stack[stackTop--]); case TokenStream.JTHROW : cx.interpreterSecurityDomain = null; lhs = stack[stackTop--]; if (lhs instanceof JavaScriptException) throw (JavaScriptException)lhs; else throw (RuntimeException)lhs; case TokenStream.ENTERWITH : lhs = stack[stackTop--]; scope = ScriptRuntime.enterWith(lhs, scope); break; case TokenStream.LEAVEWITH : scope = ScriptRuntime.leaveWith(scope); break; case TokenStream.NEWSCOPE : stack[++stackTop] = ScriptRuntime.newScope(); break; case TokenStream.ENUMINIT : slot = (iCode[++pc] & 0xFF); lhs = stack[stackTop--]; local[slot] = ScriptRuntime.initEnum(lhs, scope); break; case TokenStream.ENUMNEXT : slot = (iCode[++pc] & 0xFF); stack[++stackTop] = ScriptRuntime.nextEnum((Enumeration)local[slot]); break; case TokenStream.GETPROTO : lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.getProto(lhs, scope); break; case TokenStream.GETPARENT : lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.getParent(lhs); break; case TokenStream.GETSCOPEPARENT : lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.getParent(lhs, scope); break; case TokenStream.SETPROTO : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.setProto(lhs, rhs, scope); break; case TokenStream.SETPARENT : rhs = stack[stackTop--]; lhs = stack[stackTop]; stack[stackTop] = ScriptRuntime.setParent(lhs, rhs, scope); break; case TokenStream.SCOPE : stack[++stackTop] = scope; break; case TokenStream.CLOSURE : i = (iCode[pc + 1] << 8) | (iCode[pc + 2] & 0xFF); stack[++stackTop] = new InterpretedFunction( theData.itsNestedFunctions[i], scope, cx); createFunctionObject( (InterpretedFunction)stack[stackTop], scope); pc += 2; break; case TokenStream.OBJECT : i = (iCode[pc + 1] << 8) | (iCode[pc + 2] & 0xFF); stack[++stackTop] = theData.itsRegExpLiterals[i]; pc += 2; break; case TokenStream.LINE : i = (iCode[pc + 1] << 8) | (iCode[pc + 2] & 0xFF); cx.interpreterLine = i; pc += 2; break; case TokenStream.SOURCEFILE : cx.interpreterSourceFile = theData.itsSourceFile; break; default : dumpICode(theData); throw new RuntimeException("Unknown icode : " + (iCode[pc] & 0xff) + " @ pc : " + pc); } pc++; } catch (EcmaError ee) { // an offical ECMA error object, // handle as if it were a JavaScriptException stackTop = 0; cx.interpreterSecurityDomain = null; if (tryStackTop > 0) { pc = catchStack[--tryStackTop]; scope = scopeStack[tryStackTop]; if (pc == 0) { pc = finallyStack[tryStackTop]; if (pc == 0) throw ee; stack[0] = ee.getErrorObject(); } else stack[0] = ee.getErrorObject(); } else throw ee; // We caught an exception; restore this function's // security domain. cx.interpreterSecurityDomain = theData.securityDomain; } catch (JavaScriptException jsx) { stackTop = 0; cx.interpreterSecurityDomain = null; if (tryStackTop > 0) { pc = catchStack[--tryStackTop]; scope = scopeStack[tryStackTop]; if (pc == 0) { pc = finallyStack[tryStackTop]; if (pc == 0) throw jsx; stack[0] = jsx; } else stack[0] = ScriptRuntime.unwrapJavaScriptException(jsx); } else throw jsx; // We caught an exception; restore this function's // security domain. cx.interpreterSecurityDomain = theData.securityDomain; } catch (RuntimeException jx) { cx.interpreterSecurityDomain = null; if (tryStackTop > 0) { stackTop = 0; stack[0] = jx; pc = finallyStack[--tryStackTop]; scope = scopeStack[tryStackTop]; if (pc == 0) throw jx; } else throw jx; // We caught an exception; restore this function's // security domain. cx.interpreterSecurityDomain = theData.securityDomain; } } cx.interpreterSecurityDomain = savedSecurityDomain; return result; }
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/bdb5337527f41ea5ba4c1088fb9faa43224c3ad0/Interpreter.java/buggy/org/mozilla/javascript/Interpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1033, 10634, 12, 30010, 751, 326, 751, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 1033, 8499, 31, 3639, 1033, 8526, 2110, 273, 394, 1033, 63, 5787, 751, 18, 1282, 2747, 2624, 15533, 3639, 509, 2110, 3401, 273, 300, 21, 31, 3639, 1160, 8526, 277, 1085, 273, 326, 751, 18, 1282, 45, 1085, 31, 7734, 509, 6125, 273, 374, 31, 3639, 509, 277, 1085, 1782, 273, 326, 751, 18, 1282, 45, 1085, 3401, 31, 7734, 1033, 8526, 1191, 273, 446, 31, 3639, 368, 1399, 364, 394, 5814, 19, 407, 278, 30752, 5527, 18, 3639, 309, 261, 5787, 751, 18, 1282, 2747, 1333, 1031, 405, 374, 13, 5411, 1191, 273, 394, 1033, 63, 5787, 751, 18, 1282, 2747, 1333, 1031, 15533, 18701, 1033, 8526, 4153, 273, 446, 31, 3639, 727, 22780, 3109, 273, 22243, 18, 1336, 31, 3639, 509, 277, 273, 326, 751, 18, 1282, 3092, 1388, 18, 1467, 5621, 3639, 309, 261, 77, 405, 374, 13, 288, 5411, 4153, 273, 394, 1033, 63, 77, 15533, 5411, 364, 261, 77, 273, 374, 31, 277, 411, 326, 751, 18, 1282, 3092, 1388, 18, 588, 1662, 1380, 5621, 277, 27245, 288, 7734, 309, 261, 77, 1545, 326, 751, 18, 1282, 382, 2615, 18, 2469, 13, 10792, 4153, 63, 77, 65, 273, 3109, 31, 7734, 469, 4766, 565, 4153, 63, 77, 65, 273, 326, 751, 18, 1282, 382, 2615, 63, 77, 15533, 7734, 289, 5411, 364, 261, 274, 277, 411, 4153, 18, 2469, 31, 277, 27245, 7734, 4153, 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, 1033, 10634, 12, 30010, 751, 326, 751, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 1033, 8499, 31, 3639, 1033, 8526, 2110, 273, 394, 1033, 63, 5787, 751, 18, 1282, 2747, 2624, 15533, 3639, 509, 2110, 3401, 273, 300, 21, 31, 3639, 1160, 8526, 277, 1085, 273, 326, 751, 18, 1282, 45, 1085, 31, 7734, 509, 6125, 273, 374, 31, 3639, 509, 277, 1085, 1782, 273, 326, 751, 18, 1282, 45, 1085, 3401, 31, 7734, 1033, 8526, 1191, 273, 446, 31, 3639, 368, 1399, 364, 394, 5814, 19, 407, 278, 30752, 5527, 18, 3639, 309, 261, 5787, 751, 18, 1282, 2747, 1333, 1031, 405, 374, 13, 5411, 1191, 273, 394, 1033, 63, 5787, 751, 18, 1282, 2 ]
assertTrue("nextable exception(\"ne7o\", getNestable(\"ne7i\", Throwable(\"ne7 exception\"))) message is ne7o: ne7i: ne7 exception", ne7.getMessage().equals("ne7o: ne7i: ne7 exception"));
assertEquals("nestable exception(\"ne7o\", getNestable(\"ne7i\", Throwable(\"ne7 exception\"))) message is ne7o: ne7i: ne7 exception", ne7.getMessage(), "ne7o"); Nestable ne8 = getNestable(); assertNull("nestable exception() message is null", ne8.getMessage());
public void testGetMessage() { Nestable ne1 = getNestable(); assertNull("nestable exception() message is null", ne1.getMessage()); Nestable ne2 = getNestable("ne2"); assertNotNull("nestable exception(\"ne2\") message is not null", ne2.getMessage()); assertTrue("nestable exception(\"ne2\") message == ne2", ne2.getMessage().equals("ne2")); Nestable ne3 = getNestable(getThrowable("ne3 exception")); assertNotNull("nestable exception(Throwable(\"ne3 exception\") message is not null", ne3.getMessage()); assertTrue("nestable exception(Throwable(\"ne3 exception\") message == cause message", ne3.getMessage().equals(ne3.getCause().getMessage())); Nestable ne4 = getNestable("ne4", getThrowable("ne4 exception")); assertNotNull("nestable exception(\"ne4\", Throwable(\"ne4 exception\") message is not null", ne4.getMessage()); assertTrue("nestable exception(\"ne4\", Throwable(\"ne4 exception\") message == ne4: ne4 exception", ne4.getMessage().equals("ne4: ne4 exception")); Nestable ne5 = getNestable("ne5", (Throwable) null); assertNotNull("nestable exception(\"ne5\", null) message is not null", ne5.getMessage()); assertTrue("nestable exception(\"ne5\", null) message == ne5", ne5.getMessage().equals("ne5")); Nestable ne6 = getNestable(null, getThrowable("ne6 exception")); assertTrue("nestable exception(null, Throwable(\"ne6 exception\") cause == ne6 exception", ne6.getMessage().equals("ne6 exception")); Nestable ne7 = getNestable("ne7o", getNestable("ne7i", getThrowable("ne7 exception"))); assertTrue("nextable exception(\"ne7o\", getNestable(\"ne7i\", Throwable(\"ne7 exception\"))) message is ne7o: ne7i: ne7 exception", ne7.getMessage().equals("ne7o: ne7i: ne7 exception")); }
4554 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4554/82c5dada6f7b369b69c383aa995f45578325e139/AbstractNestableTestCase.java/clean/src/test/org/apache/commons/lang/exception/AbstractNestableTestCase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 967, 1079, 1435, 565, 288, 3639, 423, 395, 429, 1073, 21, 273, 11069, 395, 429, 5621, 3639, 1815, 2041, 2932, 30953, 429, 1520, 1435, 883, 353, 446, 3113, 1073, 21, 18, 24906, 10663, 540, 423, 395, 429, 1073, 22, 273, 11069, 395, 429, 2932, 4644, 22, 8863, 3639, 25395, 2932, 30953, 429, 1520, 23031, 4644, 22, 2412, 13, 883, 353, 486, 446, 3113, 1073, 22, 18, 24906, 10663, 3639, 1815, 5510, 2932, 30953, 429, 1520, 23031, 4644, 22, 2412, 13, 883, 422, 1073, 22, 3113, 1073, 22, 18, 24906, 7675, 14963, 2932, 4644, 22, 7923, 1769, 7734, 423, 395, 429, 1073, 23, 273, 11069, 395, 429, 12, 588, 15155, 2932, 4644, 23, 1520, 7923, 1769, 3639, 25395, 2932, 30953, 429, 1520, 12, 15155, 23031, 4644, 23, 1520, 2412, 13, 883, 353, 486, 446, 3113, 5411, 1073, 23, 18, 24906, 10663, 540, 1815, 5510, 2932, 30953, 429, 1520, 12, 15155, 23031, 4644, 23, 1520, 2412, 13, 883, 422, 4620, 883, 3113, 5411, 1073, 23, 18, 24906, 7675, 14963, 12, 4644, 23, 18, 588, 10683, 7675, 24906, 1435, 10019, 1171, 423, 395, 429, 1073, 24, 273, 11069, 395, 429, 2932, 4644, 24, 3113, 336, 15155, 2932, 4644, 24, 1520, 7923, 1769, 3639, 25395, 2932, 30953, 429, 1520, 23031, 4644, 24, 22564, 4206, 23031, 4644, 24, 1520, 2412, 13, 883, 353, 486, 446, 3113, 2398, 1073, 24, 18, 24906, 10663, 540, 1815, 5510, 2932, 30953, 429, 1520, 23031, 4644, 24, 22564, 4206, 23031, 4644, 24, 1520, 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, 967, 1079, 1435, 565, 288, 3639, 423, 395, 429, 1073, 21, 273, 11069, 395, 429, 5621, 3639, 1815, 2041, 2932, 30953, 429, 1520, 1435, 883, 353, 446, 3113, 1073, 21, 18, 24906, 10663, 540, 423, 395, 429, 1073, 22, 273, 11069, 395, 429, 2932, 4644, 22, 8863, 3639, 25395, 2932, 30953, 429, 1520, 23031, 4644, 22, 2412, 13, 883, 353, 486, 446, 3113, 1073, 22, 18, 24906, 10663, 3639, 1815, 5510, 2932, 30953, 429, 1520, 23031, 4644, 22, 2412, 13, 883, 422, 1073, 22, 3113, 1073, 22, 18, 24906, 7675, 14963, 2932, 4644, 22, 7923, 1769, 7734, 423, 395, 429, 1073, 23, 273, 11069, 395, 429, 12, 588, 15155, 2932, 4644, 23, 1520, 7923, 1769, 2 ]
m_node.getNodeId(), vlan.intValue());
m_node.getNodeId(), vlan);
private void storeSnmpCollection(Connection dbConn, Timestamp now) throws SQLException, UnknownHostException { Category log = ThreadCategory.getInstance(getClass()); PreparedStatement stmt = null; ResultSet rs = null; Iterator ite = null; int nodeid = m_node.getNodeId(); if (m_snmpcoll.hasIpNetToMediaTable()) { ite = m_snmpcoll.getIpNetToMediaTable() .getEntries().iterator(); if (log.isDebugEnabled()) log .debug("store: saving IpNetToMediaTable to atinterface table in DB"); while (ite.hasNext()) { int atnodeid = -1; IpNetToMediaTableEntry ent = (IpNetToMediaTableEntry) ite .next(); int ifindex = ent .getInt32(IpNetToMediaTableEntry.INTM_INDEX); String physAddr = ent .getHexString(IpNetToMediaTableEntry.INTM_PHYSADDR); InetAddress ipaddress = ent .getIPAddress(IpNetToMediaTableEntry.INTM_NETADDR); if (log.isDebugEnabled()) log.debug("store: trying save info for ipaddr " + ipaddress.getHostName() + " mac address " + physAddr + " found on ifindex " + ifindex); try { stmt = dbConn.prepareStatement(SQL_GET_NODEID); stmt.setString(1, ipaddress.getHostAddress()); rs = stmt.executeQuery(); if (!rs.next()) { rs.close(); stmt.close(); if (log.isEnabledFor(Priority.WARN)) log.warn("store: no nodeid found for ipaddress " + ipaddress + "."); continue; } int ndx = 1; atnodeid = rs.getInt(ndx++); if (rs.wasNull()) { if (log.isEnabledFor(Priority.WARN)) log.warn("store: no nodeid find for ipaddress " + ipaddress + "."); continue; } } finally { if (rs != null) rs.close(); if (stmt != null) stmt.close(); } if (physAddr.equals("000000000000")) { log.warn("store: mac address " + physAddr + " is invalid for ipaddress " + ipaddress.getHostAddress()); continue; } DbAtInterfaceEntry atInterfaceEntry = DbAtInterfaceEntry.get( dbConn, atnodeid, ipaddress.getHostAddress()); if (atInterfaceEntry == null) { atInterfaceEntry = DbAtInterfaceEntry.create(atnodeid, ipaddress.toString()); } // update object atInterfaceEntry.updateAtPhysAddr(physAddr); atInterfaceEntry.updateSourceNodeId(nodeid); atInterfaceEntry.updateIfIndex(ifindex); atInterfaceEntry.updateStatus(DbAtInterfaceEntry.STATUS_ACTIVE); atInterfaceEntry.set_lastpolltime(now); // store object in database atInterfaceEntry.store(dbConn); } } if (m_snmpcoll.hasCdpCacheTable()) { java.util.List cdpInterfaces = new java.util.ArrayList(); ite = m_snmpcoll.getCdpCacheTable() .getEntries().iterator(); while (ite.hasNext()) { CdpCacheTableEntry cdpEntry = (CdpCacheTableEntry) ite.next(); int cdpAddrType = cdpEntry.getInt32(CdpCacheTableEntry.CDP_ADDRESS_TYPE); if (cdpAddrType != 1) continue; InetAddress cdpTargetIpAddr = cdpEntry.getIPAddress(CdpCacheTableEntry.CDP_ADDRESS); int cdpIfIndex = cdpEntry.getInt32(CdpCacheTableEntry.CDP_IFINDEX); String cdpTargetDevicePort = cdpEntry.getHexString(CdpCacheTableEntry.CDP_DEVICEPORT); CdpInterface cdpIface = new CdpInterface(cdpIfIndex); int targetCdpNodeId = getNodeidFromIp(dbConn, cdpTargetIpAddr); cdpIface.setCdpTargetNodeId(targetCdpNodeId); cdpIface.setCdpTargetIpAddr(cdpTargetIpAddr); cdpIface.setCdpTargetIfIndex(getIfIndexFromSnmpInterfaceIfName( dbConn, targetCdpNodeId, cdpTargetDevicePort.toString())); cdpInterfaces.add(cdpIface); } m_node.setCdpInterfaces(cdpInterfaces); } if (m_snmpcoll.hasRouteTable()) { java.util.List routeInterfaces = new java.util.ArrayList(); ite = m_snmpcoll.getIpRouteTable().getEntries() .iterator(); if (log.isDebugEnabled()) log .debug("store: saving ipRouteTable to iprouteinterface table in DB"); while (ite.hasNext()) { IpRouteTableEntry ent = (IpRouteTableEntry) ite.next(); InetAddress routedest = ent.getIPAddress(IpRouteTableEntry.IP_ROUTE_DEST); InetAddress routemask = ent.getIPAddress(IpRouteTableEntry.IP_ROUTE_MASK); InetAddress nexthop = ent.getIPAddress(IpRouteTableEntry.IP_ROUTE_NXTHOP); int ifindex = ent.getInt32(IpRouteTableEntry.IP_ROUTE_IFINDEX); int routemetric1 = ent.getInt32(IpRouteTableEntry.IP_ROUTE_METRIC1); int routemetric2 = ent.getInt32(IpRouteTableEntry.IP_ROUTE_METRIC2); int routemetric3 =ent.getInt32(IpRouteTableEntry.IP_ROUTE_METRIC3); int routemetric4 = ent.getInt32(IpRouteTableEntry.IP_ROUTE_METRIC4); int routemetric5 = ent.getInt32(IpRouteTableEntry.IP_ROUTE_METRIC5); int routetype = ent.getInt32(IpRouteTableEntry.IP_ROUTE_TYPE); int routeproto = ent.getInt32(IpRouteTableEntry.IP_ROUTE_PROTO); // info used for Discovery Link RouterInterface routeIface = new RouterInterface(ifindex); routeIface.setMetric(routemetric1); routeIface.setNextHop(nexthop); routeIface.setSnmpiftype(getSnmpIfType(dbConn, nodeid, ifindex)); routeIface.setNodeparentid(getNodeidFromIp(dbConn,nexthop)); routeInterfaces.add(routeIface); // save info to DB DbIpRouteInterfaceEntry iprouteInterfaceEntry = DbIpRouteInterfaceEntry .get(dbConn, nodeid, routedest.toString()); if (iprouteInterfaceEntry == null) { // Create a new entry iprouteInterfaceEntry = DbIpRouteInterfaceEntry.create( m_node.getNodeId(), routedest.toString()); } // update object iprouteInterfaceEntry.updateRouteMask(routemask.getHostAddress()); iprouteInterfaceEntry.updateRouteNextHop(nexthop.getHostAddress()); iprouteInterfaceEntry.updateIfIndex(ifindex); if (routemetric1 != -1) iprouteInterfaceEntry.updateRouteMetric1(routemetric1); if (routemetric2 != -1) iprouteInterfaceEntry.updateRouteMetric2(routemetric2); if (routemetric3 != -1) iprouteInterfaceEntry.updateRouteMetric3(routemetric3); if (routemetric4 != -1) iprouteInterfaceEntry.updateRouteMetric4(routemetric4); if (routemetric5 != -1) iprouteInterfaceEntry.updateRouteMetric5(routemetric5); if (routetype != -1) iprouteInterfaceEntry.updateRouteType(routetype); if (routeproto != -1) iprouteInterfaceEntry.updateRouteProto(routeproto); iprouteInterfaceEntry .updateStatus(DbAtInterfaceEntry.STATUS_ACTIVE); iprouteInterfaceEntry.set_lastpolltime(now); // store object in database iprouteInterfaceEntry.store(dbConn); } m_node.setRouteInterfaces(routeInterfaces); } // STARTS loop on vlans if (m_snmpcoll.hasVlanTable()) { ite = m_snmpcoll.getSnmpVlanCollections() .iterator(); while (ite.hasNext()) { SnmpVlanCollection snmpVlanColl = (SnmpVlanCollection) ite .next(); String vlanindex = snmpVlanColl.getVlanIndex(); Integer vlan = new Integer(vlanindex); String vlanname = m_snmpcoll.getVlanName( vlanindex); if (log.isDebugEnabled()) log .debug("store: saving SnmpVlanCollection entries in DB for VLAN " + vlanname + " index " + vlan); if (snmpVlanColl.hasDot1dBase()) { if (log.isDebugEnabled()) log .debug("store: saving Dot1dBaseGroup in stpnode table in DB"); Dot1dBaseGroup dod1db = (Dot1dBaseGroup) snmpVlanColl.getDot1dBase(); String baseBridgeAddress = dod1db.getBridgeAddress(); int basenumports = dod1db.getNumberOfPorts(); int bridgetype = dod1db.getBridgeType(); if (baseBridgeAddress == "000000000000") { log.warn("store: base bridge address " + baseBridgeAddress + " is invalid for ipaddress " ); } else { m_node.addBridgeIdentifier(baseBridgeAddress,vlanindex); DbStpNodeEntry dbStpNodeEntry = DbStpNodeEntry.get(dbConn, m_node.getNodeId(), vlan.intValue()); if (dbStpNodeEntry == null) { // Create a new entry dbStpNodeEntry = DbStpNodeEntry.create(m_node .getNodeId(), vlan.intValue()); } // update object dbStpNodeEntry.updateBaseBridgeAddress(baseBridgeAddress); dbStpNodeEntry.updateBaseNumPorts(basenumports); dbStpNodeEntry.updateBaseType(bridgetype); dbStpNodeEntry.updateBaseVlanName(vlanname); if (snmpVlanColl.hasDot1dStp()) { if (log.isDebugEnabled()) log .debug("store: saving Dot1dStpGroup in stpnode table in DB"); Dot1dStpGroup dod1stp = (Dot1dStpGroup) snmpVlanColl .getDot1dStp(); int protospec = dod1stp.getStpProtocolSpecification(); int stppriority = dod1stp.getStpPriority(); String stpDesignatedRoot = dod1stp.getStpDesignatedRoot(); int stprootcost = dod1stp.getStpRootCost(); int stprootport = dod1stp.getStpRootPort(); if (stpDesignatedRoot != "0000000000000000") { m_node.setVlanStpRoot(vlanindex,stpDesignatedRoot); } dbStpNodeEntry.updateStpProtocolSpecification(protospec); dbStpNodeEntry.updateStpPriority(stppriority); dbStpNodeEntry.updateStpDesignatedRoot(stpDesignatedRoot); dbStpNodeEntry.updateStpRootCost(stprootcost); dbStpNodeEntry.updateStpRootPort(stprootport); } // store object in database dbStpNodeEntry.updateStatus(DbStpNodeEntry.STATUS_ACTIVE); dbStpNodeEntry.set_lastpolltime(now); dbStpNodeEntry.store(dbConn); if (snmpVlanColl.hasDot1dBasePortTable()) { Iterator sub_ite = snmpVlanColl.getDot1dBasePortTable() .getEntries().iterator(); if (log.isDebugEnabled()) log .debug("store: saving Dot1dBasePortTable in stpinterface table in DB"); while (sub_ite.hasNext()) { Dot1dBasePortTableEntry dot1dbaseptentry = (Dot1dBasePortTableEntry) sub_ite .next(); int baseport = dot1dbaseptentry.getInt32(Dot1dBasePortTableEntry.BASE_PORT); int ifindex = dot1dbaseptentry.getInt32(Dot1dBasePortTableEntry.BASE_IFINDEX); m_node.setIfIndexBridgePort(ifindex,baseport); DbStpInterfaceEntry dbStpIntEntry = DbStpInterfaceEntry .get(dbConn, m_node.getNodeId(), baseport, vlan .intValue()); if (dbStpIntEntry == null) { // Create a new entry dbStpIntEntry = DbStpInterfaceEntry.create( m_node.getNodeId(), baseport, vlan.intValue()); } dbStpIntEntry.updateIfIndex(ifindex); dbStpIntEntry .updateStatus(DbStpNodeEntry.STATUS_ACTIVE); dbStpIntEntry.set_lastpolltime(now); dbStpIntEntry.store(dbConn); } } if (snmpVlanColl.hasDot1dStpPortTable()) { if (log.isDebugEnabled()) log .debug(" store: saving Dot1dStpPortTable in stpinterface table in DB"); Iterator sub_ite = snmpVlanColl.getDot1dStpPortTable() .getEntries().iterator(); while (sub_ite.hasNext()) { Dot1dStpPortTableEntry dot1dstpptentry = (Dot1dStpPortTableEntry) sub_ite .next(); int stpport = dot1dstpptentry.getInt32(Dot1dStpPortTableEntry.STP_PORT); DbStpInterfaceEntry dbStpIntEntry = DbStpInterfaceEntry .get(dbConn, m_node.getNodeId(), stpport, vlan.intValue()); if (dbStpIntEntry == null) { // Cannot create the object becouse must exists the dot1dbase // object!!!!! if (log.isEnabledFor(Priority.WARN)) log .warn("store StpInterface: when storing STP info" + " for bridge node with nodeid " + m_node.getNodeId() + " bridgeport number " + stpport + " and vlan index " + vlanindex + " info not found in database, ERROR skipping....."); } else { int stpportstate = dot1dstpptentry .getInt32(Dot1dStpPortTableEntry.STP_PORT_STATE); int stpportpathcost = dot1dstpptentry .getInt32(Dot1dStpPortTableEntry.STP_PORT_PATH_COST); String stpPortDesignatedBridge = dot1dstpptentry .getHexString(Dot1dStpPortTableEntry.STP_PORT_DESIGNATED_BRIDGE); String stpPortDesignatedRoot = dot1dstpptentry .getHexString(Dot1dStpPortTableEntry.STP_PORT_DESIGNATED_ROOT); int stpportdesignatedcost = dot1dstpptentry .getInt32(Dot1dStpPortTableEntry.STP_PORT_DESIGNATED_COST); String stpPortDesignatedPort = dot1dstpptentry .getHexString(Dot1dStpPortTableEntry.STP_PORT_DESIGNATED_PORT); if (stpPortDesignatedBridge.equals("0000000000000000")) { log.warn("storeSnmpCollection: designated bridge is invalid not adding to discoveryLink"); } else if (stpPortDesignatedPort.equals("0000")) { log.warn("storeSnmpCollection: designated port is invalid not adding to discoveryLink"); } else { BridgeStpInterface stpIface = new BridgeStpInterface(stpport,vlanindex); stpIface.setStpPortDesignatedBridge(stpPortDesignatedBridge); stpIface.setStpPortDesignatedPort(stpPortDesignatedPort); m_node.addStpInterface(stpIface); } dbStpIntEntry.updateStpPortState(stpportstate); dbStpIntEntry.updateStpPortPathCost(stpportpathcost); dbStpIntEntry.updateStpportDesignatedBridge(stpPortDesignatedBridge); dbStpIntEntry.updateStpportDesignatedRoot(stpPortDesignatedRoot); dbStpIntEntry.updateStpPortDesignatedCost(stpportdesignatedcost); dbStpIntEntry.updateStpportDesignatedPort(stpPortDesignatedPort); dbStpIntEntry.updateStatus(DbStpNodeEntry.STATUS_ACTIVE); dbStpIntEntry.set_lastpolltime(now); dbStpIntEntry.store(dbConn); } } } if (snmpVlanColl.hasDot1dTpFdbTable()) { Iterator subite = snmpVlanColl.getDot1dFdbTable() .getEntries().iterator(); while (subite.hasNext()) { Dot1dTpFdbTableEntry dot1dfdbentry = (Dot1dTpFdbTableEntry) subite .next(); String curMacAddress = dot1dfdbentry .getHexString(Dot1dTpFdbTableEntry.FDB_ADDRESS); int fdbport = dot1dfdbentry.getInt32(Dot1dTpFdbTableEntry.FDB_PORT); if (fdbport == 0) { if (log.isDebugEnabled()) log.debug("populateBridge: macaddress " + curMacAddress + " learned on invalid port " + fdbport + " . Skipping"); continue; } int curfdbstatus = dot1dfdbentry.getInt32(Dot1dTpFdbTableEntry.FDB_STATUS); if (curfdbstatus == SNMP_DOT1D_FDB_STATUS_LEARNED) { m_node.addMacAddress(fdbport, curMacAddress, vlanindex); if (log.isDebugEnabled()) log .debug("storeSnmpCollection: found learned mac address " + curMacAddress + " on bridge port " + fdbport + " for VLAN " + snmpVlanColl.getVlanIndex()); } if (curfdbstatus == SNMP_DOT1D_FDB_STATUS_SELF) { m_node.addBridgeIdentifier(curMacAddress); if (log.isDebugEnabled()) log .debug("storeSnmpCollection: found bridge identifier " + curMacAddress + " for VLAN " + snmpVlanColl.getVlanIndex() + " and bridge port " + fdbport); } if (curfdbstatus == SNMP_DOT1D_FDB_STATUS_INVALID) { if (log.isDebugEnabled()) log.debug("storeSnmpCollection: macaddress " + curMacAddress + " has INVALID status on port " + fdbport + " . Skipping"); continue; } if (curfdbstatus == SNMP_DOT1D_FDB_STATUS_MGMT) { if (log.isDebugEnabled()) log.debug("storeSnmpCollection: macaddress " + curMacAddress + " has MGMT status on port " + fdbport + " . Skipping"); continue; } if (curfdbstatus == SNMP_DOT1D_FDB_STATUS_OTHER) { if (log.isDebugEnabled()) log.debug("storeSnmpCollection: macaddress " + curMacAddress + " has OTHER status on port " + fdbport + " . Skipping"); continue; } } } //now adding bridge identifier mac addresses of switch from snmpinterface stmt = dbConn.prepareStatement(SQL_GET_SNMPPHYSADDR_SNMPINTERFACE); stmt.setInt(1, m_node.getNodeId()); rs = stmt.executeQuery(); while (rs.next()) { String macaddr = rs.getString("snmpphysaddr"); if (macaddr == null) continue; m_node.addBridgeIdentifier(macaddr); if (log.isDebugEnabled()) log .debug("storeSnmpCollection: found bridge identifier " + macaddr + " from snmpinterface db table"); } //now adding bridge identifier mac addresses of switch from snmpinterface stmt = dbConn.prepareStatement(SQL_GET_ATPHYSADDR_SNMPINTERFACE); stmt.setInt(1, m_node.getNodeId()); rs = stmt.executeQuery(); while (rs.next()) { String macaddr = rs.getString("atphysaddr"); if (macaddr == null) continue; m_node.addBridgeIdentifier(macaddr); if (log.isDebugEnabled()) log .debug("storeSnmpCollection: found bridge identifier " + macaddr + " from atinterface db table"); } } } } } int i = 0; stmt = dbConn.prepareStatement(SQL_UPDATE_ATINTERFACE); stmt.setInt(1, m_node.getNodeId()); stmt.setTimestamp(2, now); i = stmt.executeUpdate(); if (log.isDebugEnabled()) log.debug("store: SQL statement " + stmt.toString() + ". " + i + " rows UPDATED for nodeid " + m_node.getNodeId() + "."); stmt.close(); stmt = dbConn.prepareStatement(SQL_UPDATE_IPROUTEINTERFACE); stmt.setInt(1, m_node.getNodeId()); stmt.setTimestamp(2, now); i = stmt.executeUpdate(); if (log.isDebugEnabled()) log.debug("store: SQL statement " + stmt.toString() + ". " + i + " rows UPDATED for nodeid " + m_node.getNodeId() + "."); stmt.close(); stmt = dbConn.prepareStatement(SQL_UPDATE_STPNODE); stmt.setInt(1, m_node.getNodeId()); stmt.setTimestamp(2, now); i = stmt.executeUpdate(); if (log.isDebugEnabled()) log.debug("store: SQL statement " + stmt.toString() + ". " + i + " rows UPDATED for nodeid " + m_node.getNodeId() + "."); stmt.close(); stmt = dbConn.prepareStatement(SQL_UPDATE_STPINTERFACE); stmt.setInt(1, m_node.getNodeId()); stmt.setTimestamp(2, now); i = stmt.executeUpdate(); if (log.isDebugEnabled()) log.debug("store: SQL statement " + stmt.toString() + ". " + i + " rows UPDATED for nodeid " + m_node.getNodeId() + "."); stmt.close(); }
11849 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11849/f3e13aa5f29f79fb74c5975bb7cf59814d4d4cb1/DbEventWriter.java/buggy/opennms-services/src/main/java/org/opennms/netmgt/linkd/DbEventWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1707, 10461, 1291, 2532, 12, 1952, 30795, 16, 8159, 2037, 13, 1216, 6483, 16, 1082, 202, 4874, 29776, 288, 202, 202, 4457, 613, 273, 4884, 4457, 18, 588, 1442, 12, 588, 797, 10663, 202, 202, 29325, 3480, 273, 446, 31, 202, 202, 13198, 3597, 273, 446, 31, 202, 202, 3198, 518, 73, 273, 446, 31, 202, 202, 474, 756, 350, 273, 312, 67, 2159, 18, 588, 15883, 5621, 202, 202, 430, 261, 81, 67, 26527, 12910, 18, 5332, 5273, 7308, 774, 5419, 1388, 10756, 288, 1082, 202, 1137, 273, 312, 67, 26527, 12910, 18, 588, 5273, 7308, 774, 5419, 1388, 1435, 6862, 202, 18, 588, 5400, 7675, 9838, 5621, 1082, 202, 430, 261, 1330, 18, 291, 2829, 1526, 10756, 9506, 202, 1330, 25083, 202, 18, 4148, 2932, 2233, 30, 12392, 14709, 7308, 774, 5419, 1388, 358, 622, 5831, 1014, 316, 2383, 8863, 1082, 202, 17523, 261, 1137, 18, 5332, 2134, 10756, 288, 9506, 202, 474, 622, 2159, 350, 273, 300, 21, 31, 9506, 202, 5273, 7308, 774, 5419, 1388, 1622, 3281, 273, 261, 5273, 7308, 774, 5419, 1388, 1622, 13, 518, 73, 25083, 202, 18, 4285, 5621, 9506, 202, 474, 309, 1615, 273, 3281, 25083, 202, 18, 588, 1702, 1578, 12, 5273, 7308, 774, 5419, 1388, 1622, 18, 3217, 49, 67, 9199, 1769, 9506, 202, 780, 24758, 3178, 273, 3281, 25083, 202, 18, 588, 14866, 12, 5273, 7308, 774, 5419, 1388, 1622, 18, 3217, 49, 67, 8939, 61, 55, 14142, 1769, 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, 1152, 918, 1707, 10461, 1291, 2532, 12, 1952, 30795, 16, 8159, 2037, 13, 1216, 6483, 16, 1082, 202, 4874, 29776, 288, 202, 202, 4457, 613, 273, 4884, 4457, 18, 588, 1442, 12, 588, 797, 10663, 202, 202, 29325, 3480, 273, 446, 31, 202, 202, 13198, 3597, 273, 446, 31, 202, 202, 3198, 518, 73, 273, 446, 31, 202, 202, 474, 756, 350, 273, 312, 67, 2159, 18, 588, 15883, 5621, 202, 202, 430, 261, 81, 67, 26527, 12910, 18, 5332, 5273, 7308, 774, 5419, 1388, 10756, 288, 1082, 202, 1137, 273, 312, 67, 26527, 12910, 18, 588, 5273, 7308, 774, 5419, 1388, 1435, 6862, 202, 18, 588, 5400, 7675, 9838, 5621, 1082, 202, 430, 261, 1330, 18, 2 ]
"/AssetReportPlugin: unable to process " + task.getUID() + " - task already has a PlanElement - " + task.getPlanElement() + ".\n");
"/AssetReportPlugin: unable to process " + task.getUID() + " - task already has a PlanElement - " + task.getPlanElement() + ".\n");
private void allocate(Task task) { if (task.getPlanElement() != null) { myLogger.error(getMessageAddress().toString()+ "/AssetReportPlugin: unable to process " + task.getUID() + " - task already has a PlanElement - " + task.getPlanElement() + ".\n"); return; } Asset reportingAsset = task.getDirectObject(); if (!reportingAsset.getClusterPG().getMessageAddress().equals(getMessageAddress())) { allocateRemote(task); } else { allocateLocal(task); } }
10687 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10687/fd3fa415188580721c5277ccab46c14586e61074/AssetReportPlugin.java/clean/planning/src/org/cougaar/planning/plugin/asset/AssetReportPlugin.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 10101, 12, 2174, 1562, 13, 288, 565, 309, 261, 4146, 18, 588, 5365, 1046, 1435, 480, 446, 13, 288, 1377, 3399, 3328, 18, 1636, 12, 24906, 1887, 7675, 10492, 1435, 15, 1082, 377, 2206, 6672, 4820, 3773, 30, 13496, 358, 1207, 315, 397, 1562, 18, 588, 3060, 1435, 397, 1875, 377, 315, 300, 1562, 1818, 711, 279, 12540, 1046, 300, 315, 397, 1875, 377, 1562, 18, 588, 5365, 1046, 1435, 397, 3552, 64, 82, 8863, 1377, 327, 31, 565, 289, 565, 10494, 16096, 6672, 273, 1562, 18, 588, 5368, 921, 5621, 565, 309, 16051, 20904, 6672, 18, 588, 3629, 18679, 7675, 24906, 1887, 7675, 14963, 12, 24906, 1887, 1435, 3719, 288, 1377, 10101, 5169, 12, 4146, 1769, 565, 289, 469, 288, 1377, 10101, 2042, 12, 4146, 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, 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, 282, 3238, 918, 10101, 12, 2174, 1562, 13, 288, 565, 309, 261, 4146, 18, 588, 5365, 1046, 1435, 480, 446, 13, 288, 1377, 3399, 3328, 18, 1636, 12, 24906, 1887, 7675, 10492, 1435, 15, 1082, 377, 2206, 6672, 4820, 3773, 30, 13496, 358, 1207, 315, 397, 1562, 18, 588, 3060, 1435, 397, 1875, 377, 315, 300, 1562, 1818, 711, 279, 12540, 1046, 300, 315, 397, 1875, 377, 1562, 18, 588, 5365, 1046, 1435, 397, 3552, 64, 82, 8863, 1377, 327, 31, 565, 289, 565, 10494, 16096, 6672, 273, 1562, 18, 588, 5368, 921, 5621, 565, 309, 16051, 20904, 6672, 18, 588, 3629, 18679, 7675, 24906, 1887, 7675, 14963, 12, 24906, 1887, 1435, 3719, 288, 1377, 10101, 5169, 12, 4146, 2 ]
throws FileNotFoundException, JasperException, IOException {
throws FileNotFoundException, JasperException, IOException {
public Node.Nodes parseTagFileDirectives(String inFileName) throws FileNotFoundException, JasperException, IOException { boolean isTagFileSave = isTagFile; boolean directiveOnlySave = directiveOnly; isTagFile = true; directiveOnly = true; Node.Nodes page = doParse(inFileName, null, ctxt.getTagFileJarUrl(inFileName)); directiveOnly = directiveOnlySave; isTagFile = isTagFileSave; return page; }
26330 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/26330/6742cb8e2facefed0a144762d397571cc17eb04d/ParserController.java/clean/java/org/apache/jasper/compiler/ParserController.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2029, 18, 3205, 1109, 1805, 812, 25343, 12, 780, 316, 4771, 13, 202, 3639, 1216, 13707, 16, 804, 345, 457, 503, 16, 1860, 288, 3639, 1250, 353, 1805, 812, 4755, 273, 353, 1805, 812, 31, 3639, 1250, 8655, 3386, 4755, 273, 8655, 3386, 31, 3639, 353, 1805, 812, 273, 638, 31, 3639, 8655, 3386, 273, 638, 31, 3639, 2029, 18, 3205, 1363, 273, 741, 3201, 12, 267, 4771, 16, 446, 16, 7734, 14286, 18, 588, 1805, 812, 10813, 1489, 12, 267, 4771, 10019, 3639, 8655, 3386, 273, 8655, 3386, 4755, 31, 3639, 353, 1805, 812, 273, 353, 1805, 812, 4755, 31, 3639, 327, 1363, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2029, 18, 3205, 1109, 1805, 812, 25343, 12, 780, 316, 4771, 13, 202, 3639, 1216, 13707, 16, 804, 345, 457, 503, 16, 1860, 288, 3639, 1250, 353, 1805, 812, 4755, 273, 353, 1805, 812, 31, 3639, 1250, 8655, 3386, 4755, 273, 8655, 3386, 31, 3639, 353, 1805, 812, 273, 638, 31, 3639, 8655, 3386, 273, 638, 31, 3639, 2029, 18, 3205, 1363, 273, 741, 3201, 12, 267, 4771, 16, 446, 16, 7734, 14286, 18, 588, 1805, 812, 10813, 1489, 12, 267, 4771, 10019, 3639, 8655, 3386, 273, 8655, 3386, 4755, 31, 3639, 353, 1805, 812, 273, 353, 1805, 812, 4755, 31, 3639, 327, 1363, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return path.lastSegment() + " - " + info.getPid();
return path.lastSegment() + " - " + info.getPid();
private int getProcessID() throws CoreException { final Shell shell = LaunchUIPlugin.getShell(); final int pid[] = { -1 }; if (shell == null) { abort("No Shell availible in Launch", null, ICDTLaunchConfigurationConstants.ERR_INTERNAL_ERROR); } Display display = shell.getDisplay(); display.syncExec(new Runnable() { public void run() { ILabelProvider provider = new LabelProvider() { /* (non-Javadoc) * @see org.eclipse.jface.viewers.LabelProvider#getText(java.lang.Object) */ public String getText(Object element) { IProcessInfo info = (IProcessInfo)element; IPath path = new Path(info.getName()); return path.lastSegment() + " - " + info.getPid(); } /* (non-Javadoc) * @see org.eclipse.jface.viewers.LabelProvider#getImage(java.lang.Object) */ public Image getImage(Object element) { return LaunchImages.get(LaunchImages.IMG_OBJS_EXEC); } }; ILabelProvider qprovider = new LabelProvider() { public String getText(Object element) { IProcessInfo info = (IProcessInfo) element; return info.getName(); } /* (non-Javadoc) * @see org.eclipse.jface.viewers.LabelProvider#getImage(java.lang.Object) */ public Image getImage(Object element) { return LaunchImages.get(LaunchImages.IMG_OBJS_EXEC); } }; TwoPaneElementSelector dialog = new TwoPaneElementSelector(shell, provider, qprovider); dialog.setTitle("Select Process"); dialog.setMessage("Select a Process to attach debugger to:"); IProcessList plist = CCorePlugin.getDefault().getProcessList(); if (plist == null) { MessageDialog.openError(shell, "CDT Launch Error", "Current platform does not support listing processes"); return; } dialog.setElements(plist.getProcessList()); if (dialog.open() == ElementListSelectionDialog.OK) { IProcessInfo info = (IProcessInfo) dialog.getFirstResult(); if ( info != null ) { pid[0] = info.getPid(); } } } }); return pid[0]; }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/e18d7494d05c2df37d92c9fd60d82ec6edb98ab2/LocalCLaunchConfigurationDelegate.java/buggy/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/LocalCLaunchConfigurationDelegate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 509, 18758, 734, 1435, 1216, 30015, 288, 202, 202, 6385, 19433, 5972, 273, 14643, 5370, 3773, 18, 588, 13220, 5621, 202, 202, 6385, 509, 4231, 8526, 273, 288, 300, 21, 289, 31, 202, 202, 430, 261, 10304, 422, 446, 13, 288, 1082, 202, 18623, 2932, 2279, 19433, 15783, 1523, 316, 14643, 3113, 446, 16, 467, 10160, 5967, 4760, 1750, 2918, 18, 9712, 67, 14005, 67, 3589, 1769, 202, 202, 97, 202, 202, 4236, 2562, 273, 5972, 18, 588, 4236, 5621, 202, 202, 5417, 18, 8389, 1905, 12, 2704, 10254, 1435, 288, 1082, 202, 482, 918, 1086, 1435, 288, 9506, 202, 45, 2224, 2249, 2893, 273, 394, 5287, 2249, 1435, 288, 6862, 202, 20308, 261, 5836, 17, 24060, 13, 25083, 380, 632, 5946, 2358, 18, 20416, 18, 78, 865, 18, 1945, 414, 18, 2224, 2249, 7, 588, 1528, 12, 6290, 18, 4936, 18, 921, 13, 25083, 1195, 6862, 202, 482, 514, 6701, 12, 921, 930, 13, 288, 25083, 202, 45, 2227, 966, 1123, 273, 261, 45, 2227, 966, 13, 2956, 31, 25083, 202, 45, 743, 589, 273, 394, 2666, 12, 1376, 18, 17994, 10663, 25083, 202, 2463, 589, 18, 2722, 4131, 1435, 397, 315, 300, 315, 397, 1123, 18, 588, 12478, 5621, 6862, 202, 97, 6862, 202, 20308, 261, 5836, 17, 24060, 13, 25083, 380, 632, 5946, 2358, 18, 20416, 18, 78, 865, 18, 1945, 414, 18, 2224, 2249, 7, 588, 2040, 12, 6290, 18, 4936, 18, 921, 13, 25083, 1195, 6862, 202, 482, 3421, 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, 509, 18758, 734, 1435, 1216, 30015, 288, 202, 202, 6385, 19433, 5972, 273, 14643, 5370, 3773, 18, 588, 13220, 5621, 202, 202, 6385, 509, 4231, 8526, 273, 288, 300, 21, 289, 31, 202, 202, 430, 261, 10304, 422, 446, 13, 288, 1082, 202, 18623, 2932, 2279, 19433, 15783, 1523, 316, 14643, 3113, 446, 16, 467, 10160, 5967, 4760, 1750, 2918, 18, 9712, 67, 14005, 67, 3589, 1769, 202, 202, 97, 202, 202, 4236, 2562, 273, 5972, 18, 588, 4236, 5621, 202, 202, 5417, 18, 8389, 1905, 12, 2704, 10254, 1435, 288, 1082, 202, 482, 918, 1086, 1435, 288, 9506, 202, 45, 2224, 2249, 2893, 273, 394, 5287, 2249, 1435, 288, 6862, 202, 20308, 261, 5836, 17, 2 ]
public TreeHomeAction(int direction, String name) throws NotImplementedException
public TreeHomeAction(int dir, String name)
public TreeHomeAction(int direction, String name) throws NotImplementedException { // TODO: Implement this properly }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/BasicTreeUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4902, 8684, 1803, 12, 474, 4068, 16, 514, 508, 13, 565, 1216, 10051, 503, 565, 288, 1377, 368, 2660, 30, 10886, 333, 8214, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4902, 8684, 1803, 12, 474, 4068, 16, 514, 508, 13, 565, 1216, 10051, 503, 565, 288, 1377, 368, 2660, 30, 10886, 333, 8214, 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 ]
} else { return name.parseForArrayDimensionality();
public final int getDimensionality() { if (isArrayType()) { if (isWordArrayType() || isCodeArrayType()) { return 1; } else { return name.parseForArrayDimensionality(); } } else if (isWordType() || isCodeType()) { return -1; } else if (isClassType()) { return 0; } else { return -1; } }
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/df391e2eb0a2c460dc256c55a70b5421264fa61f/VM_TypeReference.java/clean/rvm/src/vm/classLoader/VM_TypeReference.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 509, 20283, 7919, 1435, 288, 565, 309, 261, 291, 27182, 10756, 288, 1377, 309, 261, 291, 3944, 27182, 1435, 747, 353, 1085, 27182, 10756, 288, 202, 2463, 404, 31, 1377, 289, 469, 288, 202, 2463, 508, 18, 2670, 1290, 1076, 8611, 7919, 5621, 1377, 289, 565, 289, 469, 309, 261, 291, 3944, 559, 1435, 747, 353, 1085, 559, 10756, 288, 1377, 327, 300, 21, 31, 565, 289, 469, 309, 261, 291, 18328, 10756, 288, 1377, 327, 374, 31, 565, 289, 469, 288, 1377, 327, 300, 21, 31, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 282, 1071, 727, 509, 20283, 7919, 1435, 288, 565, 309, 261, 291, 27182, 10756, 288, 1377, 309, 261, 291, 3944, 27182, 1435, 747, 353, 1085, 27182, 10756, 288, 202, 2463, 404, 31, 1377, 289, 469, 288, 202, 2463, 508, 18, 2670, 1290, 1076, 8611, 7919, 5621, 1377, 289, 565, 289, 469, 309, 261, 291, 3944, 559, 1435, 747, 353, 1085, 559, 10756, 288, 1377, 327, 300, 21, 31, 565, 289, 469, 309, 261, 291, 18328, 10756, 288, 1377, 327, 374, 31, 565, 289, 469, 288, 1377, 327, 300, 21, 31, 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 ]
this.contextPath = req.getContextPath();
this.context = context; this.contextPath = "/gridsphere";
public PortletURLImpl(HttpServletRequest req, HttpServletResponse res) { this.store = new HashMap(); this.res = res; this.req = req; this.contextPath = req.getContextPath(); this.isSecure = req.isSecure(); store.put(SportletProperties.COMPONENT_ID, (String) req.getAttribute(SportletProperties.COMPONENT_ID)); }
49343 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49343/4567cbac543fd58edcd8132af8c94ba260f72ffd/PortletURLImpl.java/clean/src/org/gridlab/gridsphere/portlet/jsrimpl/PortletURLImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 21305, 1785, 2828, 12, 2940, 18572, 1111, 16, 12446, 400, 13, 288, 3639, 333, 18, 2233, 273, 394, 4317, 5621, 3639, 333, 18, 455, 273, 400, 31, 3639, 333, 18, 3658, 273, 1111, 31, 3639, 333, 18, 2472, 273, 819, 31, 333, 18, 2472, 743, 273, 2206, 5222, 87, 9346, 14432, 3639, 333, 18, 291, 12834, 273, 1111, 18, 291, 12834, 5621, 3639, 1707, 18, 458, 12, 55, 655, 1810, 2297, 18, 22922, 67, 734, 16, 261, 780, 13, 1111, 18, 588, 1499, 12, 55, 655, 1810, 2297, 18, 22922, 67, 734, 10019, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 21305, 1785, 2828, 12, 2940, 18572, 1111, 16, 12446, 400, 13, 288, 3639, 333, 18, 2233, 273, 394, 4317, 5621, 3639, 333, 18, 455, 273, 400, 31, 3639, 333, 18, 3658, 273, 1111, 31, 3639, 333, 18, 2472, 273, 819, 31, 333, 18, 2472, 743, 273, 2206, 5222, 87, 9346, 14432, 3639, 333, 18, 291, 12834, 273, 1111, 18, 291, 12834, 5621, 3639, 1707, 18, 458, 12, 55, 655, 1810, 2297, 18, 22922, 67, 734, 16, 261, 780, 13, 1111, 18, 588, 1499, 12, 55, 655, 1810, 2297, 18, 22922, 67, 734, 10019, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
char[] subarray = new char[newSize];
Object[] subarray = (Object[]) Array.newInstance(type, newSize);
public static char[] subarray(char[] array, int startIndexInclusive, int endIndexExclusive) { if (array == null) { return null; } if (startIndexInclusive < 0) { startIndexInclusive = 0; } if (endIndexExclusive > array.length) { endIndexExclusive = array.length; } int newSize = endIndexExclusive - startIndexInclusive; if (newSize <= 0) { return EMPTY_CHAR_ARRAY; } char[] subarray = new char[newSize]; System.arraycopy(array, startIndexInclusive, subarray, 0, newSize); return subarray; }
7060 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7060/00d021f30e0c2202c3a942b0f93cc9d9285010fc/ArrayUtils.java/buggy/src/java/org/apache/commons/lang/ArrayUtils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1149, 8526, 720, 1126, 12, 3001, 8526, 526, 16, 509, 10588, 19146, 16, 509, 13818, 17075, 13, 288, 3639, 309, 261, 1126, 422, 446, 13, 288, 5411, 327, 446, 31, 3639, 289, 3639, 309, 261, 1937, 1016, 19146, 411, 374, 13, 288, 5411, 10588, 19146, 273, 374, 31, 3639, 289, 3639, 309, 261, 409, 1016, 17075, 405, 526, 18, 2469, 13, 288, 5411, 13818, 17075, 273, 526, 18, 2469, 31, 3639, 289, 3639, 509, 21402, 273, 13818, 17075, 300, 10588, 19146, 31, 3639, 309, 261, 2704, 1225, 1648, 374, 13, 288, 5411, 327, 8984, 67, 7305, 67, 8552, 31, 3639, 289, 4202, 1033, 8526, 720, 1126, 273, 261, 921, 63, 5717, 1510, 18, 2704, 1442, 12, 723, 16, 21402, 1769, 3639, 2332, 18, 1126, 3530, 12, 1126, 16, 10588, 19146, 16, 720, 1126, 16, 374, 16, 21402, 1769, 3639, 327, 720, 1126, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1149, 8526, 720, 1126, 12, 3001, 8526, 526, 16, 509, 10588, 19146, 16, 509, 13818, 17075, 13, 288, 3639, 309, 261, 1126, 422, 446, 13, 288, 5411, 327, 446, 31, 3639, 289, 3639, 309, 261, 1937, 1016, 19146, 411, 374, 13, 288, 5411, 10588, 19146, 273, 374, 31, 3639, 289, 3639, 309, 261, 409, 1016, 17075, 405, 526, 18, 2469, 13, 288, 5411, 13818, 17075, 273, 526, 18, 2469, 31, 3639, 289, 3639, 509, 21402, 273, 13818, 17075, 300, 10588, 19146, 31, 3639, 309, 261, 2704, 1225, 1648, 374, 13, 288, 5411, 327, 8984, 67, 7305, 67, 8552, 31, 3639, 289, 4202, 1033, 8526, 720, 1126, 273, 261, 921, 63, 5717, 1510, 18, 2704, 1442, 12, 2 ]
if ((start.loadInt() & ALIGNMENT_MASK) == ALIGNMENT_MASK) { start = start.plus(BYTES_IN_INT); if ((start.loadInt() & ALIGNMENT_MASK) == ALIGNMENT_MASK) {
if ((start.loadWord().toInt() & ALIGNMENT_MASK) == ALIGNMENT_MASK) { start = start.plus(BYTES_IN_WORD); if ((start.loadWord().toInt() & ALIGNMENT_MASK) == ALIGNMENT_MASK) {
public static ObjectReference getObjectFromStartAddress(Address start) { if ((start.loadInt() & ALIGNMENT_MASK) == ALIGNMENT_MASK) { start = start.plus(BYTES_IN_INT); if ((start.loadInt() & ALIGNMENT_MASK) == ALIGNMENT_MASK) { return ObjectReference.nullReference(); } } return start.plus(OBJECT_REF_OFFSET).toObjectReference(); }
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/4429cbe87e85f0cbda3ba9359631fca3b8a295ea/VM_JavaHeader.java/clean/rvm/src/vm/objectModel/default/VM_JavaHeader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 31321, 6455, 1265, 1685, 1887, 12, 1887, 787, 13, 288, 565, 309, 14015, 1937, 18, 945, 1702, 1435, 473, 21892, 3212, 67, 11704, 13, 422, 21892, 3212, 67, 11704, 13, 288, 1377, 787, 273, 787, 18, 10103, 12, 13718, 67, 706, 67, 3217, 1769, 1377, 309, 14015, 1937, 18, 945, 1702, 1435, 473, 21892, 3212, 67, 11704, 13, 422, 21892, 3212, 67, 11704, 13, 288, 3639, 327, 31321, 18, 2011, 2404, 5621, 1377, 289, 565, 289, 565, 327, 787, 18, 10103, 12, 9422, 67, 10771, 67, 11271, 2934, 869, 22101, 5621, 282, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 31321, 6455, 1265, 1685, 1887, 12, 1887, 787, 13, 288, 565, 309, 14015, 1937, 18, 945, 1702, 1435, 473, 21892, 3212, 67, 11704, 13, 422, 21892, 3212, 67, 11704, 13, 288, 1377, 787, 273, 787, 18, 10103, 12, 13718, 67, 706, 67, 3217, 1769, 1377, 309, 14015, 1937, 18, 945, 1702, 1435, 473, 21892, 3212, 67, 11704, 13, 422, 21892, 3212, 67, 11704, 13, 288, 3639, 327, 31321, 18, 2011, 2404, 5621, 1377, 289, 565, 289, 565, 327, 787, 18, 10103, 12, 9422, 67, 10771, 67, 11271, 2934, 869, 22101, 5621, 282, 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 ]
logger.log(Level.FINE, "The argList contains non-String elements.");
private void hackyStatValidate() throws IllegalEventParameterException { logger.entering(this.getClass().getName(), "hackyStatValidate"); logger.log(ECGLevel.PACKET, this.toString()); List<String> entryList = new ArrayList<String>(); List argList = this.getArgList(); entryList.add(Long.toString(this.getTimeStamp().getTime())); for (Object elem : argList) { if (elem instanceof String) { String str = (String) elem; entryList.add(str); } else { logger.log(Level.FINE, "The event is not valid in repspect to validity level: " + VALIDATION_LEVEL.HACKYSTAT); logger.log(Level.FINE, "The argList contains non-String elements."); logger.exiting(this.getClass().getName(), "hackyStatValidate"); throw new IllegalEventParameterException( "The argList contains non-String elements."); } } try { SensorDataEntryFactory .getEntry(this.getSensorDataType(), entryList); } catch (SensorDataTypeException e) { logger.log(Level.FINE, "The event is not valid in respect to validity level: " + VALIDATION_LEVEL.HACKYSTAT); logger.log(Level.FINE, e.getMessage()); logger.exiting(this.getClass().getName(), "hackyStatValidate"); throw new IllegalEventParameterException(e.getMessage()); } }
239 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/239/12e141dfe545f266ed4747df1928e06153238621/ValidEventPacket.java/buggy/lab/ECG_Lab/src/org/electrocodeogram/event/ValidEventPacket.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 11769, 93, 5000, 4270, 1435, 1216, 2141, 1133, 14819, 288, 3639, 1194, 18, 2328, 310, 12, 2211, 18, 588, 797, 7675, 17994, 9334, 315, 76, 484, 93, 5000, 4270, 8863, 3639, 1194, 18, 1330, 12, 7228, 43, 2355, 18, 12231, 1584, 16, 333, 18, 10492, 10663, 3639, 987, 32, 780, 34, 1241, 682, 273, 394, 2407, 32, 780, 34, 5621, 3639, 987, 1501, 682, 273, 333, 18, 588, 4117, 682, 5621, 3639, 1241, 682, 18, 1289, 12, 3708, 18, 10492, 12, 2211, 18, 588, 21536, 7675, 588, 950, 1435, 10019, 3639, 364, 261, 921, 3659, 294, 1501, 682, 13, 288, 5411, 309, 261, 10037, 1276, 514, 13, 288, 7734, 514, 609, 273, 261, 780, 13, 3659, 31, 7734, 1241, 682, 18, 1289, 12, 701, 1769, 5411, 289, 469, 288, 7734, 1194, 18, 1330, 12, 2355, 18, 42, 3740, 16, 10792, 315, 1986, 871, 353, 486, 923, 316, 283, 1121, 1181, 358, 13800, 1801, 30, 315, 4766, 565, 397, 15093, 2689, 67, 10398, 18, 44, 3649, 61, 28549, 1769, 7734, 1194, 18, 1330, 12, 2355, 18, 42, 3740, 16, 10792, 315, 1986, 1501, 682, 1914, 1661, 17, 780, 2186, 1199, 1769, 7734, 1194, 18, 8593, 310, 12, 2211, 18, 588, 797, 7675, 17994, 9334, 315, 76, 484, 93, 5000, 4270, 8863, 7734, 604, 394, 2141, 1133, 14819, 12, 10792, 315, 1986, 1501, 682, 1914, 1661, 17, 780, 2186, 1199, 1769, 5411, 289, 3639, 289, 3639, 775, 288, 5411, 28903, 751, 1622, 1733, 7734, 263, 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, 377, 3238, 918, 11769, 93, 5000, 4270, 1435, 1216, 2141, 1133, 14819, 288, 3639, 1194, 18, 2328, 310, 12, 2211, 18, 588, 797, 7675, 17994, 9334, 315, 76, 484, 93, 5000, 4270, 8863, 3639, 1194, 18, 1330, 12, 7228, 43, 2355, 18, 12231, 1584, 16, 333, 18, 10492, 10663, 3639, 987, 32, 780, 34, 1241, 682, 273, 394, 2407, 32, 780, 34, 5621, 3639, 987, 1501, 682, 273, 333, 18, 588, 4117, 682, 5621, 3639, 1241, 682, 18, 1289, 12, 3708, 18, 10492, 12, 2211, 18, 588, 21536, 7675, 588, 950, 1435, 10019, 3639, 364, 261, 921, 3659, 294, 1501, 682, 13, 288, 5411, 309, 261, 10037, 1276, 514, 13, 288, 7734, 514, 609, 273, 261, 780, 13, 3659, 2 ]
}
}
public InactiveLocalBodyStrategy() { }
50951 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50951/625cd3611da648072e66b62b74a66e1548e31628/BodyImpl.java/clean/src/org/objectweb/proactive/core/body/BodyImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 657, 3535, 2042, 2250, 4525, 1435, 288, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 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, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 657, 3535, 2042, 2250, 4525, 1435, 288, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void testClone_IBondOrderSum() {
public void testClone_IBondOrderSum() throws Exception {
public void testClone_IBondOrderSum() { IAtomType at = builder.newAtomType("C"); at.setBondOrderSum(1.0); IAtomType clone = (IAtomType)at.clone(); at.setBondOrderSum(2.0); assertEquals(1.0, clone.getBondOrderSum(), 0.001); }
46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/2b55a607674535cd8492e3539d8f3dce16fc3b92/AtomTypeTest.java/clean/src/org/openscience/cdk/test/AtomTypeTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 10930, 67, 45, 9807, 2448, 3495, 1435, 1216, 1185, 288, 3639, 8831, 559, 622, 273, 2089, 18, 2704, 3641, 559, 2932, 39, 8863, 3639, 622, 18, 542, 9807, 2448, 3495, 12, 21, 18, 20, 1769, 3639, 8831, 559, 3236, 273, 261, 45, 3641, 559, 13, 270, 18, 14056, 5621, 7734, 622, 18, 542, 9807, 2448, 3495, 12, 22, 18, 20, 1769, 3639, 1815, 8867, 12, 21, 18, 20, 16, 3236, 18, 588, 9807, 2448, 3495, 9334, 374, 18, 11664, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 10930, 67, 45, 9807, 2448, 3495, 1435, 1216, 1185, 288, 3639, 8831, 559, 622, 273, 2089, 18, 2704, 3641, 559, 2932, 39, 8863, 3639, 622, 18, 542, 9807, 2448, 3495, 12, 21, 18, 20, 1769, 3639, 8831, 559, 3236, 273, 261, 45, 3641, 559, 13, 270, 18, 14056, 5621, 7734, 622, 18, 542, 9807, 2448, 3495, 12, 22, 18, 20, 1769, 3639, 1815, 8867, 12, 21, 18, 20, 16, 3236, 18, 588, 9807, 2448, 3495, 9334, 374, 18, 11664, 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 ]
peerField.set(this, ((EmbeddedWindowSupport) tk).createEmbeddedWindow (this));
peerField.set(this, tk.createEmbeddedWindow (this));
public void addNotify() { Toolkit tk = getToolkit(); if (! (tk instanceof EmbeddedWindowSupport)) throw new UnsupportedOperationException ("Embedded windows are not supported by the current peers: " + tk.getClass()); // Circumvent the package-privateness of the AWT internal // java.awt.Component.peer member variable. try { Field peerField = Component.class.getDeclaredField("peer"); AccessController.doPrivileged(new SetAccessibleAction(peerField)); peerField.set(this, ((EmbeddedWindowSupport) tk).createEmbeddedWindow (this)); } catch (IllegalAccessException e) { // This should never happen. } catch (NoSuchFieldException e) { // This should never happen. } super.addNotify(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50cfc3ee73e2e377b07c91f0e40a2f172b10fd27/EmbeddedWindow.java/clean/core/src/classpath/gnu/gnu/java/awt/EmbeddedWindow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 527, 9168, 1435, 225, 288, 565, 13288, 8691, 13030, 273, 336, 6364, 8691, 5621, 565, 309, 16051, 261, 16099, 1276, 21829, 3829, 6289, 3719, 1377, 604, 394, 13172, 3639, 7566, 14980, 9965, 854, 486, 3260, 635, 326, 783, 10082, 30, 315, 202, 397, 13030, 18, 588, 797, 10663, 565, 368, 13246, 28538, 616, 326, 2181, 17, 11365, 270, 15681, 434, 326, 432, 8588, 2713, 565, 368, 2252, 18, 2219, 88, 18, 1841, 18, 12210, 3140, 2190, 18, 565, 775, 1377, 288, 202, 974, 4261, 974, 273, 5435, 18, 1106, 18, 588, 18888, 974, 2932, 12210, 8863, 202, 1862, 2933, 18, 2896, 18845, 12, 2704, 1000, 10451, 1803, 12, 12210, 974, 10019, 202, 12210, 974, 18, 542, 12, 2211, 16, 13030, 18, 2640, 14980, 3829, 261, 2211, 10019, 1377, 289, 565, 1044, 261, 12195, 9773, 425, 13, 1377, 288, 202, 759, 1220, 1410, 5903, 5865, 18, 1377, 289, 565, 1044, 261, 28341, 28846, 425, 13, 1377, 288, 202, 759, 1220, 1410, 5903, 5865, 18, 225, 289, 565, 2240, 18, 1289, 9168, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 527, 9168, 1435, 225, 288, 565, 13288, 8691, 13030, 273, 336, 6364, 8691, 5621, 565, 309, 16051, 261, 16099, 1276, 21829, 3829, 6289, 3719, 1377, 604, 394, 13172, 3639, 7566, 14980, 9965, 854, 486, 3260, 635, 326, 783, 10082, 30, 315, 202, 397, 13030, 18, 588, 797, 10663, 565, 368, 13246, 28538, 616, 326, 2181, 17, 11365, 270, 15681, 434, 326, 432, 8588, 2713, 565, 368, 2252, 18, 2219, 88, 18, 1841, 18, 12210, 3140, 2190, 18, 565, 775, 1377, 288, 202, 974, 4261, 974, 273, 5435, 18, 1106, 18, 588, 18888, 974, 2932, 12210, 8863, 202, 1862, 2933, 18, 2896, 18845, 12, 2704, 1000, 10451, 1803, 12, 12210, 974, 10019, 202, 12210, 974, 18, 542, 2 ]
int toDteFilterOperator( String modelOpr )
public static int toDteFilterOperator( String modelOpr )
int toDteFilterOperator( String modelOpr ) { if ( modelOpr.equals( DesignChoiceConstants.FILTER_OPERATOR_EQ ) ) return IConditionalExpression.OP_EQ; if ( modelOpr.equals( DesignChoiceConstants.FILTER_OPERATOR_NE ) ) return IConditionalExpression.OP_NE; if ( modelOpr.equals( DesignChoiceConstants.FILTER_OPERATOR_LT ) ) return IConditionalExpression.OP_LT; if ( modelOpr.equals( DesignChoiceConstants.FILTER_OPERATOR_LE ) ) return IConditionalExpression.OP_LE; if ( modelOpr.equals( DesignChoiceConstants.FILTER_OPERATOR_GE ) ) return IConditionalExpression.OP_GE; if ( modelOpr.equals( DesignChoiceConstants.FILTER_OPERATOR_GT ) ) return IConditionalExpression.OP_GT; if ( modelOpr.equals( DesignChoiceConstants.FILTER_OPERATOR_BETWEEN ) ) return IConditionalExpression.OP_BETWEEN; if ( modelOpr .equals( DesignChoiceConstants.FILTER_OPERATOR_NOT_BETWEEN ) ) return IConditionalExpression.OP_NOT_BETWEEN; if ( modelOpr.equals( DesignChoiceConstants.FILTER_OPERATOR_NULL ) ) return IConditionalExpression.OP_NULL; if ( modelOpr.equals( DesignChoiceConstants.FILTER_OPERATOR_NOT_NULL ) ) return IConditionalExpression.OP_NOT_NULL; if ( modelOpr.equals( DesignChoiceConstants.FILTER_OPERATOR_TRUE ) ) return IConditionalExpression.OP_TRUE; if ( modelOpr.equals( DesignChoiceConstants.FILTER_OPERATOR_FALSE ) ) return IConditionalExpression.OP_FALSE; if ( modelOpr.equals( DesignChoiceConstants.FILTER_OPERATOR_LIKE ) ) return IConditionalExpression.OP_LIKE; if ( modelOpr.equals( DesignChoiceConstants.FILTER_OPERATOR_TOP_N ) ) return IConditionalExpression.OP_TOP_N; if ( modelOpr.equals( DesignChoiceConstants.FILTER_OPERATOR_BOTTOM_N ) ) return IConditionalExpression.OP_BOTTOM_N; if ( modelOpr .equals( DesignChoiceConstants.FILTER_OPERATOR_TOP_PERCENT ) ) return IConditionalExpression.OP_TOP_PERCENT; if ( modelOpr .equals( DesignChoiceConstants.FILTER_OPERATOR_BOTTOM_PERCENT ) ) return IConditionalExpression.OP_BOTTOM_PERCENT; if ( modelOpr.equals( DesignChoiceConstants.FILTER_OPERATOR_ANY ) ) return IConditionalExpression.OP_ANY; assert false; // unknown filter operator return IConditionalExpression.OP_NONE; }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/fc8d300db77dfd9491136c145155ccaa029f1da9/ModelDteApiAdapter.java/clean/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/adapter/ModelDteApiAdapter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 474, 358, 40, 736, 1586, 5592, 12, 514, 938, 51, 683, 262, 202, 95, 202, 202, 430, 261, 938, 51, 683, 18, 14963, 12, 29703, 10538, 2918, 18, 11126, 67, 26110, 67, 27247, 262, 262, 1082, 202, 2463, 467, 14132, 2300, 18, 3665, 67, 27247, 31, 202, 202, 430, 261, 938, 51, 683, 18, 14963, 12, 29703, 10538, 2918, 18, 11126, 67, 26110, 67, 5407, 262, 262, 1082, 202, 2463, 467, 14132, 2300, 18, 3665, 67, 5407, 31, 202, 202, 430, 261, 938, 51, 683, 18, 14963, 12, 29703, 10538, 2918, 18, 11126, 67, 26110, 67, 12050, 262, 262, 1082, 202, 2463, 467, 14132, 2300, 18, 3665, 67, 12050, 31, 202, 202, 430, 261, 938, 51, 683, 18, 14963, 12, 29703, 10538, 2918, 18, 11126, 67, 26110, 67, 900, 262, 262, 1082, 202, 2463, 467, 14132, 2300, 18, 3665, 67, 900, 31, 202, 202, 430, 261, 938, 51, 683, 18, 14963, 12, 29703, 10538, 2918, 18, 11126, 67, 26110, 67, 7113, 262, 262, 1082, 202, 2463, 467, 14132, 2300, 18, 3665, 67, 7113, 31, 202, 202, 430, 261, 938, 51, 683, 18, 14963, 12, 29703, 10538, 2918, 18, 11126, 67, 26110, 67, 16506, 262, 262, 1082, 202, 2463, 467, 14132, 2300, 18, 3665, 67, 16506, 31, 202, 202, 430, 261, 938, 51, 683, 18, 14963, 12, 29703, 10538, 2918, 18, 11126, 67, 26110, 67, 38, 19311, 262, 262, 1082, 202, 2463, 467, 14132, 2300, 18, 3665, 67, 38, 19311, 31, 202, 202, 430, 261, 938, 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, 474, 358, 40, 736, 1586, 5592, 12, 514, 938, 51, 683, 262, 202, 95, 202, 202, 430, 261, 938, 51, 683, 18, 14963, 12, 29703, 10538, 2918, 18, 11126, 67, 26110, 67, 27247, 262, 262, 1082, 202, 2463, 467, 14132, 2300, 18, 3665, 67, 27247, 31, 202, 202, 430, 261, 938, 51, 683, 18, 14963, 12, 29703, 10538, 2918, 18, 11126, 67, 26110, 67, 5407, 262, 262, 1082, 202, 2463, 467, 14132, 2300, 18, 3665, 67, 5407, 31, 202, 202, 430, 261, 938, 51, 683, 18, 14963, 12, 29703, 10538, 2918, 18, 11126, 67, 26110, 67, 12050, 262, 262, 1082, 202, 2463, 467, 14132, 2300, 18, 3665, 67, 12050, 31, 202, 202, 430, 261, 938, 51, 683, 2 ]
weapon.minimumRange = 0;
weapon.minimumRange = WEAPON_NA;
public static WeaponType createISNarc() { WeaponType weapon = new WeaponType(); weapon.name = "Narc"; weapon.setInternalName("ISNarcBeacon"); weapon.addLookupName("IS Narc Beacon"); weapon.addLookupName("IS Narc Missile Beacon"); weapon.heat = 0; weapon.damage = DAMAGE_MISSILE; weapon.rackSize = 1; weapon.ammoType = AmmoType.T_NARC; weapon.minimumRange = 0; weapon.shortRange = 3; weapon.mediumRange = 6; weapon.longRange = 9; weapon.tonnage = 3.0f; weapon.criticals = 2; weapon.bv = 30; weapon.flags |= F_NO_FIRES; return weapon; }
4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/401ca1b195eaf75aa5b772970fd108eac60e1389/WeaponType.java/buggy/megamek/src/megamek/common/WeaponType.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1660, 28629, 559, 752, 5127, 50, 11828, 1435, 288, 3639, 1660, 28629, 559, 732, 28629, 273, 394, 1660, 28629, 559, 5621, 3639, 732, 28629, 18, 529, 273, 315, 50, 11828, 14432, 3639, 732, 28629, 18, 542, 3061, 461, 2932, 5127, 50, 11828, 1919, 16329, 8863, 3639, 732, 28629, 18, 1289, 6609, 461, 2932, 5127, 423, 11828, 4823, 16329, 8863, 3639, 732, 28629, 18, 1289, 6609, 461, 2932, 5127, 423, 11828, 490, 1054, 398, 4823, 16329, 8863, 3639, 732, 28629, 18, 580, 270, 273, 374, 31, 3639, 732, 28629, 18, 72, 301, 410, 273, 463, 2192, 2833, 67, 7492, 1260, 13578, 31, 3639, 732, 28629, 18, 21580, 1225, 273, 404, 31, 3639, 732, 28629, 18, 301, 8683, 559, 273, 3986, 8683, 559, 18, 56, 67, 50, 27206, 31, 3639, 732, 28629, 18, 15903, 2655, 273, 13880, 2203, 673, 67, 11277, 31, 3639, 732, 28629, 18, 6620, 2655, 273, 890, 31, 3639, 732, 28629, 18, 19011, 2655, 273, 1666, 31, 3639, 732, 28629, 18, 5748, 2655, 273, 2468, 31, 3639, 732, 28629, 18, 1917, 82, 410, 273, 890, 18, 20, 74, 31, 3639, 732, 28629, 18, 27826, 335, 1031, 273, 576, 31, 3639, 732, 28629, 18, 70, 90, 273, 5196, 31, 3639, 732, 28629, 18, 7133, 5626, 478, 67, 3417, 67, 1653, 7031, 31, 3639, 327, 732, 28629, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1660, 28629, 559, 752, 5127, 50, 11828, 1435, 288, 3639, 1660, 28629, 559, 732, 28629, 273, 394, 1660, 28629, 559, 5621, 3639, 732, 28629, 18, 529, 273, 315, 50, 11828, 14432, 3639, 732, 28629, 18, 542, 3061, 461, 2932, 5127, 50, 11828, 1919, 16329, 8863, 3639, 732, 28629, 18, 1289, 6609, 461, 2932, 5127, 423, 11828, 4823, 16329, 8863, 3639, 732, 28629, 18, 1289, 6609, 461, 2932, 5127, 423, 11828, 490, 1054, 398, 4823, 16329, 8863, 3639, 732, 28629, 18, 580, 270, 273, 374, 31, 3639, 732, 28629, 18, 72, 301, 410, 273, 463, 2192, 2833, 67, 7492, 1260, 13578, 31, 3639, 732, 28629, 18, 21580, 1225, 273, 404, 31, 3639, 732, 28629, 18, 301, 8683, 2 ]
String[] repository_ids =
String[] repository_ids =
private void write_value_internal (final java.io.Serializable value, final String repository_id) { valueMap.put (value, new Integer(pos)); if (value.getClass() == String.class) { // special handling for strings required according to spec String[] repository_ids = (repository_id == null) ? null : new String[]{ repository_id }; write_value_header( repository_ids ); write_wstring((String)value); } else if (value instanceof org.omg.CORBA.portable.StreamableValue) { org.omg.CORBA.portable.StreamableValue streamable = (org.omg.CORBA.portable.StreamableValue)value; write_value_header( streamable._truncatable_ids() ); ((org.omg.CORBA.portable.StreamableValue)value)._write(this);// if( streamable._truncatable_ids().length() > 1 ) // truncatable -> chunked// end_chunk(); } else { String[] repository_ids = (repository_id == null) ? null : new String[]{ repository_id }; String codebase = ValueHandler.getCodebase(value.getClass()); write_value_header( repository_ids, codebase ); ValueHandler.writeValue (this, value); } }
46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/814ceec0c432f5f91851da7a7b577943754681bf/CDROutputStream.java/clean/src/org/jacorb/orb/CDROutputStream.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1045, 67, 1132, 67, 7236, 261, 6385, 2252, 18, 1594, 18, 21682, 460, 16, 4766, 4202, 727, 514, 3352, 67, 350, 13, 377, 288, 3639, 460, 863, 18, 458, 261, 1132, 16, 394, 2144, 12, 917, 10019, 3639, 309, 261, 1132, 18, 588, 797, 1435, 422, 514, 18, 1106, 13, 225, 202, 95, 5411, 368, 4582, 5057, 364, 2064, 1931, 4888, 358, 857, 202, 565, 514, 8526, 3352, 67, 2232, 273, 3196, 202, 12, 9071, 67, 350, 422, 446, 13, 692, 446, 294, 394, 514, 63, 7073, 3352, 67, 350, 289, 31, 202, 565, 1045, 67, 1132, 67, 3374, 12, 3352, 67, 2232, 11272, 202, 565, 1045, 67, 91, 1080, 12443, 780, 13, 1132, 1769, 202, 97, 3639, 469, 309, 261, 1132, 1276, 2358, 18, 362, 75, 18, 9428, 12536, 18, 655, 429, 18, 1228, 429, 620, 13, 202, 95, 5411, 2358, 18, 362, 75, 18, 9428, 12536, 18, 655, 429, 18, 1228, 429, 620, 1407, 429, 273, 1171, 261, 3341, 18, 362, 75, 18, 9428, 12536, 18, 655, 429, 18, 1228, 429, 620, 13, 1132, 31, 202, 565, 1045, 67, 1132, 67, 3374, 12, 1407, 429, 6315, 23558, 8163, 67, 2232, 1435, 11272, 5411, 14015, 3341, 18, 362, 75, 18, 9428, 12536, 18, 655, 429, 18, 1228, 429, 620, 13, 1132, 2934, 67, 2626, 12, 2211, 1769, 759, 2868, 309, 12, 1407, 429, 6315, 23558, 8163, 67, 2232, 7675, 2469, 1435, 405, 404, 262, 368, 6956, 8163, 317, 19949, 759, 5375, 679, 67, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1045, 67, 1132, 67, 7236, 261, 6385, 2252, 18, 1594, 18, 21682, 460, 16, 4766, 4202, 727, 514, 3352, 67, 350, 13, 377, 288, 3639, 460, 863, 18, 458, 261, 1132, 16, 394, 2144, 12, 917, 10019, 3639, 309, 261, 1132, 18, 588, 797, 1435, 422, 514, 18, 1106, 13, 225, 202, 95, 5411, 368, 4582, 5057, 364, 2064, 1931, 4888, 358, 857, 202, 565, 514, 8526, 3352, 67, 2232, 273, 3196, 202, 12, 9071, 67, 350, 422, 446, 13, 692, 446, 294, 394, 514, 63, 7073, 3352, 67, 350, 289, 31, 202, 565, 1045, 67, 1132, 67, 3374, 12, 3352, 67, 2232, 11272, 202, 565, 1045, 67, 91, 1080, 12443, 780, 13, 1132, 1769, 202, 2 ]
popUpActions.size() - popupAddOffset);
popUpActions.size() - getPopupAddOffset());
public Vector getPopUpActions(MouseEvent me) { Vector popUpActions = super.getPopUpActions(me); // Show ... ArgoJMenu showMenu = new ArgoJMenu("menu.popup.show"); /* Only show the menuitems if they make sense: */ Editor ce = Globals.curEditor(); Vector figs = ce.getSelectionManager().getFigs(); Iterator i = figs.iterator(); boolean sOn = false; boolean sOff = false; boolean vOn = false; boolean vOff = false; while (i.hasNext()) { Fig f = (Fig) i.next(); if (f instanceof StereotypeContainer) { boolean v = ((StereotypeContainer) f).isStereotypeVisible(); if (v) sOn = true; else sOff = true; v = ((VisibilityContainer) f).isVisibilityVisible(); if (v) vOn = true; else vOff = true; } } if (sOn) showMenu.add(new UMLAction( Translator.localize("menu.popup.show.hide-stereotype"), UMLAction.NO_ICON) { /** * @see java.awt.event.ActionListener#actionPerformed( * java.awt.event.ActionEvent) */ public void actionPerformed(ActionEvent ae) { doStereotype(false); } }); if (sOff) showMenu.add(new UMLAction( Translator.localize("menu.popup.show.show-stereotype"), UMLAction.NO_ICON) { /** * @see java.awt.event.ActionListener#actionPerformed( * java.awt.event.ActionEvent) */ public void actionPerformed(ActionEvent ae) { doStereotype(true); } }); if (vOn) showMenu.add(new UMLAction( Translator.localize("menu.popup.show.hide-visibility"), UMLAction.NO_ICON) { /** * @see java.awt.event.ActionListener#actionPerformed( * java.awt.event.ActionEvent) */ public void actionPerformed(ActionEvent ae) { doVisibility(false); } }); if (vOff) showMenu.add(new UMLAction( Translator.localize("menu.popup.show.show-visibility"), UMLAction.NO_ICON) { /** * @see java.awt.event.ActionListener#actionPerformed( * java.awt.event.ActionEvent) */ public void actionPerformed(ActionEvent ae) { doVisibility(true); } }); popUpActions.insertElementAt(showMenu, popUpActions.size() - popupAddOffset); // Modifier ... popUpActions.insertElementAt(buildModifierPopUp(ABSTRACT | LEAF | ROOT), popUpActions.size() - popupAddOffset); // Visibility ... popUpActions.insertElementAt(buildVisibilityPopUp(), popUpActions.size() - popupAddOffset); return popUpActions; }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/bf39e2e9c35efb3ab501ba04807942833884f678/FigPackage.java/buggy/src_new/org/argouml/uml/diagram/static_structure/ui/FigPackage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 5589, 1689, 556, 1211, 6100, 12, 9186, 1133, 1791, 13, 288, 3639, 5589, 1843, 1211, 6100, 273, 2240, 18, 588, 7049, 1211, 6100, 12, 3501, 1769, 3639, 368, 9674, 1372, 3639, 1201, 3240, 46, 4599, 2405, 4599, 273, 394, 1201, 3240, 46, 4599, 2932, 5414, 18, 16086, 18, 4500, 8863, 3639, 1748, 5098, 2405, 326, 3824, 3319, 309, 2898, 1221, 12764, 30, 1195, 3639, 18451, 5898, 273, 18901, 1031, 18, 1397, 6946, 5621, 3639, 5589, 4291, 87, 273, 5898, 18, 588, 6233, 1318, 7675, 588, 42, 360, 87, 5621, 3639, 4498, 277, 273, 4291, 87, 18, 9838, 5621, 3639, 1250, 272, 1398, 273, 629, 31, 3639, 1250, 272, 7210, 273, 629, 31, 3639, 1250, 331, 1398, 273, 629, 31, 3639, 1250, 331, 7210, 273, 629, 31, 3639, 1323, 261, 77, 18, 5332, 2134, 10756, 288, 5411, 478, 360, 284, 273, 261, 42, 360, 13, 277, 18, 4285, 5621, 5411, 309, 261, 74, 1276, 348, 387, 73, 10570, 2170, 13, 288, 7734, 1250, 331, 273, 14015, 55, 387, 73, 10570, 2170, 13, 284, 2934, 291, 55, 387, 73, 10570, 6207, 5621, 7734, 309, 261, 90, 13, 272, 1398, 273, 638, 31, 7734, 469, 272, 7210, 273, 638, 31, 7734, 331, 273, 14015, 10135, 2170, 13, 284, 2934, 291, 10135, 6207, 5621, 7734, 309, 261, 90, 13, 331, 1398, 273, 638, 31, 7734, 469, 331, 7210, 273, 638, 31, 5411, 289, 3639, 289, 3639, 309, 261, 87, 1398, 13, 2405, 4599, 18, 1289, 12, 2704, 587, 1495, 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, 5589, 1689, 556, 1211, 6100, 12, 9186, 1133, 1791, 13, 288, 3639, 5589, 1843, 1211, 6100, 273, 2240, 18, 588, 7049, 1211, 6100, 12, 3501, 1769, 3639, 368, 9674, 1372, 3639, 1201, 3240, 46, 4599, 2405, 4599, 273, 394, 1201, 3240, 46, 4599, 2932, 5414, 18, 16086, 18, 4500, 8863, 3639, 1748, 5098, 2405, 326, 3824, 3319, 309, 2898, 1221, 12764, 30, 1195, 3639, 18451, 5898, 273, 18901, 1031, 18, 1397, 6946, 5621, 3639, 5589, 4291, 87, 273, 5898, 18, 588, 6233, 1318, 7675, 588, 42, 360, 87, 5621, 3639, 4498, 277, 273, 4291, 87, 18, 9838, 5621, 3639, 1250, 272, 1398, 273, 629, 31, 3639, 1250, 272, 7210, 273, 629, 31, 3639, 1250, 331, 1398, 273, 2 ]
asm.emitSTW(KLUDGE_TI_REG, VM_Entrypoints.JNIRefsTopField.getOffsetAsInt(), S0);
asm.emitSTWoffset(KLUDGE_TI_REG, S0, VM_Entrypoints.JNIRefsTopField.getOffset());
private static void storeParameters(VM_Assembler asm, int frameSize, VM_Method method, VM_Class klass) { int nextOSArgReg, nextOSArgFloatReg, nextVMArgReg, nextVMArgFloatReg; // offset to the spill area in the callee (OS frame): int spillOffsetOS; if (VM.BuildForPowerOpenABI || VM.BuildForMachOABI) { // 1st spill = JNIEnv, 2nd spill = class spillOffsetOS = NATIVE_FRAME_HEADER_SIZE + 2*BYTES_IN_STACKSLOT; } else if (VM.BuildForSVR4ABI) { spillOffsetOS = NATIVE_FRAME_HEADER_SIZE; } else { if (VM.VerifyAssertions) VM._assert(VM.NOT_REACHED); } // offset to the spill area in the caller (RVM frame), relative to the callee's FP int spillOffsetVM = frameSize + STACKFRAME_HEADER_SIZE; // does NOT include implicit this or class ptr VM_TypeReference[] types = method.getParameterTypes(); // Set up the Reference table for GC // PR <- JREFS array base asm.emitLAddr(PROCESSOR_REGISTER, VM_Entrypoints.JNIRefsField.getOffsetAsInt(), S0); // TI <- JREFS current top asm.emitLInt(KLUDGE_TI_REG, VM_Entrypoints.JNIRefsTopField.getOffsetAsInt(), S0); // JREFS offset for current TOP asm.emitADD(KLUDGE_TI_REG, PROCESSOR_REGISTER, KLUDGE_TI_REG); // convert into address // TODO - count number of refs // TODO - emit overflow check for JNIRefs array // start a new JNIRefs frame on each transition from Java to native C // push current SavedFP ptr onto top of JNIRefs stack (use available S1 reg as a temp) // and make current TOP the new savedFP // asm.emitLInt (S1, VM_Entrypoints.JNIRefsSavedFPField.getOffsetAsInt(), S0); asm.emitSTWU (S1, BYTES_IN_ADDRESS, KLUDGE_TI_REG); // push prev frame ptr onto JNIRefs array asm.emitSUBFC(S1, PROCESSOR_REGISTER, KLUDGE_TI_REG); // compute offset for new TOP asm.emitSTW (S1, VM_Entrypoints.JNIRefsSavedFPField.getOffsetAsInt(), S0); // save new TOP as new frame ptr in JNIEnv // for static methods: caller has placed args in r3,r4,... // for non-static methods:"this" ptr is in r3, and args start in r4,r5,... // // for static methods: for nonstatic methods: // Java caller OS callee Java caller OS callee // ----------- ---------- ----------- ---------- // spill = arg11 -> new spill spill = arg11 -> new spill // spill = arg10 -> new spill spill = arg10 -> new spill // spill = arg9 -> new spill // spill = arg9 -> new spill // spill = arg8 -> new spill spill = arg8 -> new spill // R10 = arg7 -> new spill spill = arg7 -> new spill // R9 = arg6 -> new spill R10 = arg6 -> new spill // // R8 = arg5 -> R10 R9 = arg5 -> R10 // R7 = arg4 -> R9 R8 = arg4 -> R9 // R6 = arg3 -> R8 R7 = arg3 -> R8 // R5 = arg2 -> R7 R6 = arg2 -> R7 // R4 = arg1 -> R6 R5 = arg1 -> R6 // R3 = arg0 -> R5 R4 = arg0 -> R5 // R4 = class R3 = this -> R4 // R3 = JNIenv R3 = JNIenv // nextOSArgFloatReg = FIRST_OS_PARAMETER_FPR; nextVMArgFloatReg = FIRST_VOLATILE_FPR; nextOSArgReg = FIRST_OS_PARAMETER_GPR + 2; // 1st reg = JNIEnv, 2nd reg = class/this if (method.isStatic()) { nextVMArgReg = FIRST_VOLATILE_GPR; } else { nextVMArgReg = FIRST_VOLATILE_GPR+1; // 1st reg = this, to be processed separately } // The loop below assumes the following relationship: if (VM.VerifyAssertions) VM._assert(FIRST_OS_PARAMETER_FPR==FIRST_VOLATILE_FPR); if (VM.VerifyAssertions) VM._assert(LAST_OS_PARAMETER_FPR<=LAST_VOLATILE_FPR); if (VM.VerifyAssertions) VM._assert(FIRST_OS_PARAMETER_GPR==FIRST_VOLATILE_GPR); if (VM.VerifyAssertions) VM._assert(LAST_OS_PARAMETER_GPR<=LAST_VOLATILE_GPR); generateParameterPassingCode(asm, types, nextVMArgReg, nextVMArgFloatReg, spillOffsetVM, nextOSArgReg, nextOSArgFloatReg, spillOffsetOS ); // Now add the 2 JNI parameters: JNI environment and Class or "this" object // if static method, append ref for class, else append ref for "this" // and pass offset in JNIRefs array in r4 (as second arg to called native code) int SECOND_OS_PARAMETER_GPR = FIRST_OS_PARAMETER_GPR+1; if (method.isStatic()) { klass.getClassForType(); // ensure the Java class object is created // ASSMPTION: JTOC saved above in JNIEnv is still valid, // used by following emitLAddrToc asm.emitLAddrToc(SECOND_OS_PARAMETER_GPR, klass.getTibOffset()); // r4 <= TIB asm.emitLAddr(SECOND_OS_PARAMETER_GPR, TIB_TYPE_INDEX, SECOND_OS_PARAMETER_GPR); // r4 <= VM_Type asm.emitLAddr(SECOND_OS_PARAMETER_GPR, VM_Entrypoints.classForTypeField.getOffsetAsInt(), SECOND_OS_PARAMETER_GPR); // r4 <- java.lang.Class asm.emitSTAddrU (SECOND_OS_PARAMETER_GPR, BYTES_IN_ADDRESS, KLUDGE_TI_REG); // append class ptr to end of JNIRefs array asm.emitSUBFC(SECOND_OS_PARAMETER_GPR, PROCESSOR_REGISTER, KLUDGE_TI_REG); // pass offset in bytes } else { asm.emitSTAddrU(T0, BYTES_IN_ADDRESS, KLUDGE_TI_REG); // append this ptr to end of JNIRefs array asm.emitSUBFC(SECOND_OS_PARAMETER_GPR, PROCESSOR_REGISTER, KLUDGE_TI_REG); // pass offset in bytes } // store the new JNIRefs array TOP back into JNIEnv asm.emitSUBFC(KLUDGE_TI_REG, PROCESSOR_REGISTER, KLUDGE_TI_REG); // compute offset for the current TOP asm.emitSTW(KLUDGE_TI_REG, VM_Entrypoints.JNIRefsTopField.getOffsetAsInt(), S0); }
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/607ce8428a60a1e2ea6aeee16fe403ddf08d4b83/VM_JNICompiler.java/clean/rvm/src/vm/arch/powerPC/jni/VM_JNICompiler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 918, 1707, 2402, 12, 7397, 67, 1463, 5747, 749, 20415, 16, 509, 2623, 1225, 16, 4766, 4202, 8251, 67, 1305, 707, 16, 8251, 67, 797, 7352, 13, 288, 565, 509, 1024, 4618, 4117, 1617, 16, 1024, 4618, 4117, 4723, 1617, 16, 1024, 7397, 4117, 1617, 16, 1024, 7397, 4117, 4723, 1617, 31, 540, 368, 1384, 358, 326, 1694, 737, 5091, 316, 326, 14425, 261, 4618, 2623, 4672, 565, 509, 1694, 737, 2335, 4618, 31, 565, 309, 261, 7397, 18, 3116, 1290, 13788, 3678, 2090, 45, 747, 8251, 18, 3116, 1290, 49, 497, 51, 2090, 45, 13, 288, 1377, 368, 404, 334, 1694, 737, 273, 804, 50, 45, 3491, 16, 576, 4880, 1694, 737, 273, 667, 1377, 1694, 737, 2335, 4618, 273, 423, 12992, 67, 15072, 67, 7557, 67, 4574, 397, 576, 14, 13718, 67, 706, 67, 21971, 55, 1502, 56, 31, 565, 289, 469, 309, 261, 7397, 18, 3116, 1290, 55, 10986, 24, 2090, 45, 13, 288, 1377, 1694, 737, 2335, 4618, 273, 423, 12992, 67, 15072, 67, 7557, 67, 4574, 31, 565, 289, 469, 288, 3639, 309, 261, 7397, 18, 8097, 8213, 1115, 13, 8251, 6315, 11231, 12, 7397, 18, 4400, 67, 29416, 15023, 1769, 565, 289, 3639, 368, 1384, 358, 326, 1694, 737, 5091, 316, 326, 4894, 261, 54, 7397, 2623, 3631, 3632, 358, 326, 14425, 1807, 28740, 565, 509, 1694, 737, 2335, 7397, 273, 2623, 1225, 397, 11464, 15072, 67, 7557, 67, 4574, 31, 565, 368, 1552, 4269, 2341, 10592, 333, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 918, 1707, 2402, 12, 7397, 67, 1463, 5747, 749, 20415, 16, 509, 2623, 1225, 16, 4766, 4202, 8251, 67, 1305, 707, 16, 8251, 67, 797, 7352, 13, 288, 565, 509, 1024, 4618, 4117, 1617, 16, 1024, 4618, 4117, 4723, 1617, 16, 1024, 7397, 4117, 1617, 16, 1024, 7397, 4117, 4723, 1617, 31, 540, 368, 1384, 358, 326, 1694, 737, 5091, 316, 326, 14425, 261, 4618, 2623, 4672, 565, 509, 1694, 737, 2335, 4618, 31, 565, 309, 261, 7397, 18, 3116, 1290, 13788, 3678, 2090, 45, 747, 8251, 18, 3116, 1290, 49, 497, 51, 2090, 45, 13, 288, 1377, 368, 404, 334, 1694, 737, 273, 804, 50, 45, 3491, 16, 576, 4880, 1694, 737, 273, 667, 1377, 2 ]
if (getChannel() != null) getChannel().close ();
if (getChannel() != null) getChannel().close();
public void close () throws IOException { impl.close (); if (getChannel() != null) getChannel().close (); closed = true; }
45163 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45163/dcbb69e84e9c71073608efebeefaa86de4bd97d3/ServerSocket.java/buggy/libjava/java/net/ServerSocket.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1746, 1832, 1216, 1860, 225, 288, 565, 9380, 18, 4412, 261, 1769, 565, 309, 261, 588, 2909, 1435, 480, 446, 13, 1377, 16454, 7675, 4412, 261, 1769, 3639, 4375, 273, 638, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1746, 1832, 1216, 1860, 225, 288, 565, 9380, 18, 4412, 261, 1769, 565, 309, 261, 588, 2909, 1435, 480, 446, 13, 1377, 16454, 7675, 4412, 261, 1769, 3639, 4375, 273, 638, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 parse(URL url) throws IOException { if (url != null) parse(new URLMetaDataIterator(url));
public void parse(String rsrc) throws IOException { if (rsrc != null) parse(new ResourceMetaDataIterator(rsrc, _loader));
public void parse(URL url) throws IOException { if (url != null) parse(new URLMetaDataIterator(url)); }
47053 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47053/ca83f07b459322422b7916f04307b81a553ca193/XMLMetaDataParser.java/buggy/openjpa-lib/src/main/java/org/apache/openjpa/lib/meta/XMLMetaDataParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1109, 12, 1785, 880, 13, 1216, 1860, 288, 3639, 309, 261, 718, 480, 446, 13, 5411, 1109, 12, 2704, 1976, 6998, 3198, 12, 718, 10019, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 377, 1071, 918, 1109, 12, 1785, 880, 13, 1216, 1860, 288, 3639, 309, 261, 718, 480, 446, 13, 5411, 1109, 12, 2704, 1976, 6998, 3198, 12, 718, 10019, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 (Expression) steps.getLast();
return (Expression) steps.get(steps.size() - 1);
public Expression getLastExpression() { if (steps.size() == 0) return null; return (Expression) steps.getLast(); }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/923702659405256598e89b59ccd7b1265023c739/PathExpr.java/clean/src/org/exist/xquery/PathExpr.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 5371, 7595, 2300, 1435, 288, 3639, 309, 261, 8986, 18, 1467, 1435, 422, 374, 13, 327, 446, 31, 3639, 327, 261, 2300, 13, 6075, 18, 588, 12, 8986, 18, 1467, 1435, 300, 404, 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, 1071, 5371, 7595, 2300, 1435, 288, 3639, 309, 261, 8986, 18, 1467, 1435, 422, 374, 13, 327, 446, 31, 3639, 327, 261, 2300, 13, 6075, 18, 588, 12, 8986, 18, 1467, 1435, 300, 404, 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 ]
if ( !currentChart.getType( ).equals( LineChart.TYPE_LITERAL ) && !currentChart.getType( ).equals( PieChart.TYPE_LITERAL ) && !currentChart.getType( ).equals( BarChart.TYPE_LITERAL ) && !currentChart.getType( ).equals( AreaChart.TYPE_LITERAL ) ) { currentChart.setSampleData( getConvertedSampleData( helperModel.getSampleData( ) ) ); }
currentChart.setSampleData( helperModel.getSampleData( ) );
private Chart getConvertedChart( Chart currentChart, String sNewSubType, String sNewDimension ) { Chart helperModel = (Chart) EcoreUtil.copy( currentChart ); // Cache series to keep attributes during conversion ChartCacheManager.getInstance( ) .cacheSeries( ChartUIUtil.getAllOrthogonalSeriesDefinitions( helperModel ) ); if ( currentChart instanceof ChartWithAxes ) { // Create a new instance of the correct type and set initial // properties currentChart = DialChartImpl.create( ); currentChart.setType( TYPE_LITERAL ); currentChart.setSubType( sNewSubType ); currentChart.setDimension( getDimensionFor( sNewDimension ) ); // Copy generic chart properties from the old chart currentChart.setBlock( helperModel.getBlock( ) ); currentChart.setDescription( helperModel.getDescription( ) ); currentChart.setGridColumnCount( helperModel.getGridColumnCount( ) ); if ( helperModel.getInteractivity( ) != null ) { currentChart.getInteractivity( ) .setEnable( helperModel.getInteractivity( ).isEnable( ) ); currentChart.getInteractivity( ) .setLegendBehavior( helperModel.getInteractivity( ) .getLegendBehavior( ) ); } if ( !currentChart.getType( ).equals( LineChart.TYPE_LITERAL ) && !currentChart.getType( ).equals( PieChart.TYPE_LITERAL ) && !currentChart.getType( ).equals( BarChart.TYPE_LITERAL ) && !currentChart.getType( ).equals( AreaChart.TYPE_LITERAL ) ) { currentChart.setSampleData( getConvertedSampleData( helperModel.getSampleData( ) ) ); } currentChart.setScript( helperModel.getScript( ) ); currentChart.setUnits( helperModel.getUnits( ) ); if ( helperModel.getGridColumnCount( ) > 0 ) { currentChart.setGridColumnCount( helperModel.getGridColumnCount( ) ); } else { currentChart.setGridColumnCount( 1 ); } // Copy series definitions from old chart ( (ChartWithoutAxes) currentChart ).getSeriesDefinitions( ) .add( ( (Axis) ( (ChartWithAxes) helperModel ).getAxes( ) .get( 0 ) ).getSeriesDefinitions( ).get( 0 ) ); Vector vOSD = new Vector( ); // Only convert series in primary orthogonal axis. Axis primaryOrthogonalAxis = ( (ChartWithAxes) helperModel ).getPrimaryOrthogonalAxis( (Axis) ( (ChartWithAxes) helperModel ).getAxes( ) .get( 0 ) ); EList osd = primaryOrthogonalAxis.getSeriesDefinitions( ); for ( int j = 0; j < osd.size( ); j++ ) { SeriesDefinition sd = (SeriesDefinition) osd.get( j ); Series series = sd.getDesignTimeSeries( ); sd.getSeries( ).clear( ); sd.getSeries( ).add( getConvertedSeries( series, j ) ); vOSD.add( sd ); } ( (SeriesDefinition) ( (ChartWithoutAxes) currentChart ).getSeriesDefinitions( ) .get( 0 ) ).getSeriesDefinitions( ).clear( ); ( (SeriesDefinition) ( (ChartWithoutAxes) currentChart ).getSeriesDefinitions( ) .get( 0 ) ).getSeriesDefinitions( ).addAll( vOSD ); currentChart.getLegend( ) .setItemType( LegendItemType.SERIES_LITERAL ); currentChart.getTitle( ) .getLabel( ) .getCaption( ) .setValue( CHART_TITLE ); } else if ( currentChart instanceof ChartWithoutAxes ) { if ( currentChart.getType( ).equals( TYPE_LITERAL ) ) { currentChart.setSubType( sNewSubType ); ( (DialChart) currentChart ).setDialSuperimposition( sNewSubType.equals( SUPERIMPOSED_SUBTYPE_LITERAL ) ); if ( !currentChart.getDimension( ) .equals( getDimensionFor( sNewDimension ) ) ) { currentChart.setDimension( getDimensionFor( sNewDimension ) ); } } else { // Create a new instance of the correct type and set initial // properties currentChart = DialChartImpl.create( ); currentChart.setType( TYPE_LITERAL ); currentChart.setSubType( sNewSubType ); currentChart.setDimension( getDimensionFor( sNewDimension ) ); ( (DialChart) currentChart ).setDialSuperimposition( sNewSubType.equals( SUPERIMPOSED_SUBTYPE_LITERAL ) ); // Copy generic chart properties from the old chart currentChart.setBlock( helperModel.getBlock( ) ); currentChart.setDescription( helperModel.getDescription( ) ); currentChart.setGridColumnCount( helperModel.getGridColumnCount( ) ); currentChart.setSampleData( helperModel.getSampleData( ) ); currentChart.setScript( helperModel.getScript( ) ); currentChart.setUnits( helperModel.getUnits( ) ); if ( helperModel.getInteractivity( ) != null ) { currentChart.getInteractivity( ) .setEnable( helperModel.getInteractivity( ) .isEnable( ) ); currentChart.getInteractivity( ) .setLegendBehavior( helperModel.getInteractivity( ) .getLegendBehavior( ) ); } // Clear existing series definitions ( (ChartWithoutAxes) currentChart ).getSeriesDefinitions( ) .clear( ); // Copy series definitions ( (ChartWithoutAxes) currentChart ).getSeriesDefinitions( ) .add( ( (ChartWithoutAxes) helperModel ).getSeriesDefinitions( ) .get( 0 ) ); // Update the series EList seriesdefinitions = ( (SeriesDefinition) ( (ChartWithoutAxes) currentChart ).getSeriesDefinitions( ) .get( 0 ) ).getSeriesDefinitions( ); for ( int j = 0; j < seriesdefinitions.size( ); j++ ) { Series series = ( (SeriesDefinition) seriesdefinitions.get( j ) ).getDesignTimeSeries( ); series = getConvertedSeries( series, j ); // Clear any existing series ( (SeriesDefinition) seriesdefinitions.get( j ) ).getSeries( ) .clear( ); // Add the new series ( (SeriesDefinition) seriesdefinitions.get( j ) ).getSeries( ) .add( series ); } currentChart.getLegend( ) .setItemType( LegendItemType.SERIES_LITERAL ); currentChart.getTitle( ) .getLabel( ) .getCaption( ) .setValue( CHART_TITLE ); } } else { return null; } return currentChart; }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/51342f37efb819d66eb6bfa56ebaba4fb7f4fa8b/MeterChart.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/type/MeterChart.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 14804, 336, 22063, 7984, 12, 14804, 783, 7984, 16, 514, 272, 1908, 30511, 16, 1082, 202, 780, 272, 1908, 8611, 262, 202, 95, 202, 202, 7984, 4222, 1488, 273, 261, 7984, 13, 512, 3644, 1304, 18, 3530, 12, 783, 7984, 11272, 202, 202, 759, 4379, 4166, 358, 3455, 1677, 4982, 4105, 202, 202, 7984, 27706, 18, 588, 1442, 12, 262, 9506, 202, 18, 2493, 6485, 12, 14804, 5370, 1304, 18, 588, 1595, 1162, 451, 28396, 6485, 7130, 12, 4222, 1488, 262, 11272, 202, 202, 430, 261, 783, 7984, 1276, 14804, 1190, 26494, 262, 202, 202, 95, 1082, 202, 759, 1788, 279, 394, 791, 434, 326, 3434, 618, 471, 444, 2172, 1082, 202, 759, 1790, 1082, 202, 2972, 7984, 273, 9402, 7984, 2828, 18, 2640, 12, 11272, 1082, 202, 2972, 7984, 18, 542, 559, 12, 3463, 67, 23225, 11272, 1082, 202, 2972, 7984, 18, 542, 30511, 12, 272, 1908, 30511, 11272, 1082, 202, 2972, 7984, 18, 542, 8611, 12, 20283, 1290, 12, 272, 1908, 8611, 262, 11272, 1082, 202, 759, 5631, 5210, 4980, 1790, 628, 326, 1592, 4980, 1082, 202, 2972, 7984, 18, 542, 1768, 12, 4222, 1488, 18, 588, 1768, 12, 262, 11272, 1082, 202, 2972, 7984, 18, 542, 3291, 12, 4222, 1488, 18, 588, 3291, 12, 262, 11272, 1082, 202, 2972, 7984, 18, 542, 6313, 1494, 1380, 12, 4222, 1488, 18, 588, 6313, 1494, 1380, 12, 262, 11272, 1082, 202, 430, 261, 4222, 1488, 18, 588, 2465, 9653, 12, 262, 480, 446, 262, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 14804, 336, 22063, 7984, 12, 14804, 783, 7984, 16, 514, 272, 1908, 30511, 16, 1082, 202, 780, 272, 1908, 8611, 262, 202, 95, 202, 202, 7984, 4222, 1488, 273, 261, 7984, 13, 512, 3644, 1304, 18, 3530, 12, 783, 7984, 11272, 202, 202, 759, 4379, 4166, 358, 3455, 1677, 4982, 4105, 202, 202, 7984, 27706, 18, 588, 1442, 12, 262, 9506, 202, 18, 2493, 6485, 12, 14804, 5370, 1304, 18, 588, 1595, 1162, 451, 28396, 6485, 7130, 12, 4222, 1488, 262, 11272, 202, 202, 430, 261, 783, 7984, 1276, 14804, 1190, 26494, 262, 202, 202, 95, 1082, 202, 759, 1788, 279, 394, 791, 434, 326, 3434, 618, 471, 444, 2172, 1082, 202, 759, 1790, 1082, 202, 2 ]
if(i+1 >= len) { throw new LDAPException("Missing right paren",
if(i >= len) throw new LDAPException("Unexpected end of filter",
public char peekChar() throws LDAPException { if(i+1 >= len) { throw new LDAPException("Missing right paren", LDAPException.FILTER_ERROR); } return filter.charAt(i+1); }
9947 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9947/b2074950b02e91cf57c7b9f7f2ed1f4404dbf958/RfcFilter.java/clean/com/novell/ldap/rfc2251/RfcFilter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 1149, 8032, 2156, 1435, 1377, 1216, 11916, 503, 282, 288, 1377, 309, 12, 77, 15, 21, 1545, 562, 13, 288, 540, 604, 394, 11916, 503, 2932, 4841, 2145, 22146, 3113, 4766, 11916, 503, 18, 11126, 67, 3589, 1769, 1377, 289, 1377, 327, 1034, 18, 3001, 861, 12, 77, 15, 21, 1769, 282, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 565, 1071, 1149, 8032, 2156, 1435, 1377, 1216, 11916, 503, 282, 288, 1377, 309, 12, 77, 15, 21, 1545, 562, 13, 288, 540, 604, 394, 11916, 503, 2932, 4841, 2145, 22146, 3113, 4766, 11916, 503, 18, 11126, 67, 3589, 1769, 1377, 289, 1377, 327, 1034, 18, 3001, 861, 12, 77, 15, 21, 1769, 282, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (x != piece.x || y != piece.y) { mpiece = movePiece(user, piece, x, y); if (mpiece == null) {
if (x != unit.x || y != unit.y) { munit = moveUnit(user, unit, x, y); if (munit == null) {
public void move (ClientObject caller, int pieceId, short x, short y, int targetId, BangService.InvocationListener il) throws InvocationException { BangUserObject user = (BangUserObject)caller; int pidx = _bangobj.getPlayerIndex(user.username); Piece piece = (Piece)_bangobj.pieces.get(pieceId); if (piece == null || piece.owner != pidx) { log.info("Rejecting move request [who=" + user.who() + ", piece=" + piece + "]."); return; } if (piece.ticksUntilMovable(_bangobj.tick) > 0) { log.info("Rejecting premature move/fire request " + "[who=" + user.who() + ", piece=" + piece.info() + "]."); return; } Piece target = (Piece)_bangobj.pieces.get(targetId); Piece mpiece = null; try { _bangobj.startTransaction(); // if they specified a non-NOOP move, execute it if (x != piece.x || y != piece.y) { mpiece = movePiece(user, piece, x, y); if (mpiece == null) { throw new InvocationException(MOVE_BLOCKED); } } // if they specified a target, shoot at it if (target != null) { // make sure the target is valid if (!piece.validTarget(target)) { log.info("Target not valid " + target + "."); // target already dead or something return; } // make sure the target is still within range _attacks.clear(); _bangobj.board.computeAttacks( piece.getFireDistance(), x, y, _attacks); if (!_attacks.contains(target.x, target.y)) { throw new InvocationException(TARGET_MOVED); } ShotEffect effect = piece.shoot(target); effect.prepare(_bangobj, _damage); _bangobj.setEffect(effect); recordDamage(user, _damage); // if they did not move in this same action, we need to // set their last acted tick if (mpiece == null) { piece.lastActed = _bangobj.tick; _bangobj.updatePieces(piece); } } // finally update our game statistics _bangobj.updateStats(); } finally { _bangobj.commitTransaction(); } }
8059 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8059/b1f75fcac699c104a2da8deec1b178c7391f6384/BangManager.java/clean/src/java/com/threerings/bang/game/server/BangManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3635, 261, 1227, 921, 4894, 16, 509, 11151, 548, 16, 3025, 619, 16, 3025, 677, 16, 8227, 509, 27729, 16, 605, 539, 1179, 18, 9267, 2223, 14254, 13, 3639, 1216, 11298, 503, 565, 288, 3639, 605, 539, 1299, 921, 729, 273, 261, 38, 539, 1299, 921, 13, 16140, 31, 3639, 509, 293, 3465, 273, 389, 70, 539, 2603, 18, 588, 12148, 1016, 12, 1355, 18, 5053, 1769, 3639, 453, 8414, 11151, 273, 261, 22607, 13, 67, 70, 539, 2603, 18, 31016, 18, 588, 12, 30100, 548, 1769, 3639, 309, 261, 30100, 422, 446, 747, 11151, 18, 8443, 480, 293, 3465, 13, 288, 5411, 613, 18, 1376, 2932, 21705, 310, 3635, 590, 306, 3350, 83, 1546, 397, 729, 18, 3350, 83, 1435, 397, 5397, 3104, 11151, 1546, 397, 11151, 397, 9850, 1199, 1769, 5411, 327, 31, 3639, 289, 3639, 309, 261, 30100, 18, 11767, 9716, 49, 1527, 429, 24899, 70, 539, 2603, 18, 6470, 13, 405, 374, 13, 288, 5411, 613, 18, 1376, 2932, 21705, 310, 23020, 1231, 3635, 19, 12179, 590, 315, 397, 5397, 5158, 3350, 83, 1546, 397, 729, 18, 3350, 83, 1435, 397, 3104, 11151, 1546, 397, 11151, 18, 1376, 1435, 397, 9850, 1199, 1769, 5411, 327, 31, 3639, 289, 3639, 453, 8414, 1018, 273, 261, 22607, 13, 67, 70, 539, 2603, 18, 31016, 18, 588, 12, 3299, 548, 1769, 3639, 453, 8414, 6749, 8414, 273, 446, 31, 3639, 775, 288, 5411, 389, 70, 539, 2603, 18, 1937, 3342, 5621, 5411, 368, 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, 3635, 261, 1227, 921, 4894, 16, 509, 11151, 548, 16, 3025, 619, 16, 3025, 677, 16, 8227, 509, 27729, 16, 605, 539, 1179, 18, 9267, 2223, 14254, 13, 3639, 1216, 11298, 503, 565, 288, 3639, 605, 539, 1299, 921, 729, 273, 261, 38, 539, 1299, 921, 13, 16140, 31, 3639, 509, 293, 3465, 273, 389, 70, 539, 2603, 18, 588, 12148, 1016, 12, 1355, 18, 5053, 1769, 3639, 453, 8414, 11151, 273, 261, 22607, 13, 67, 70, 539, 2603, 18, 31016, 18, 588, 12, 30100, 548, 1769, 3639, 309, 261, 30100, 422, 446, 747, 11151, 18, 8443, 480, 293, 3465, 13, 288, 5411, 613, 18, 1376, 2932, 21705, 310, 3635, 590, 306, 3350, 83, 1546, 397, 2 ]
e.printStackTrace();
t.printStackTrace();
void wrapExecute(NodeInfo origin, Node thisNode) { setOrigin( origin ); setThisNode( thisNode ); boolean hadError = false; try { execute( thisNode ); } catch (Exception e) { if ( ! ( this instanceof ReportExceptionCommand || this instanceof ReportCompletionCommand ) ) { try { getOrigin().reportException( getUid(), e ); } catch (Exception ee) { System.err.println( "unable to report error from " + getThisNode().getLocalNodeInfo() + " to " + getOrigin() ); ee.printStackTrace(); } } else { System.err.println( "unable to report error from " + getThisNode().getLocalNodeInfo() + " to " + getOrigin() ); e.printStackTrace(); } } if ( ! ( this instanceof ReportExceptionCommand || this instanceof ReportCompletionCommand ) ) { if ( ! hadError ) { try { getOrigin().reportCompletion( getUid() ); } catch (Exception e) { System.err.println( "unable to report completion from " + getThisNode().getLocalNodeInfo() + " to " + getOrigin() ); e.printStackTrace(); } } } }
4523 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4523/44f09ca0fa0653b2cd30b8be246b5339f9c3c0ef/Command.java/clean/sysunit/src/main/org/sysunit/mesh/Command.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 2193, 5289, 12, 25392, 4026, 16, 5397, 2029, 333, 907, 13, 565, 288, 3639, 444, 7571, 12, 4026, 11272, 3639, 444, 2503, 907, 12, 333, 907, 11272, 3639, 1250, 9323, 668, 273, 629, 31, 3639, 775, 3639, 288, 5411, 1836, 12, 333, 907, 11272, 3639, 289, 3639, 1044, 261, 503, 425, 13, 3639, 288, 5411, 309, 261, 401, 261, 333, 1276, 8706, 503, 2189, 5397, 747, 5397, 333, 1276, 8706, 11238, 2189, 262, 262, 5411, 288, 7734, 775, 7734, 288, 5397, 336, 7571, 7675, 6006, 503, 12, 31652, 9334, 4766, 1171, 425, 11272, 7734, 289, 7734, 1044, 261, 503, 14657, 13, 7734, 288, 10792, 2332, 18, 370, 18, 8222, 12, 315, 18828, 358, 2605, 555, 628, 315, 397, 336, 2503, 907, 7675, 588, 2042, 25392, 1435, 397, 315, 358, 315, 397, 336, 7571, 1435, 11272, 10792, 3393, 18, 1188, 6332, 5621, 7734, 289, 5411, 289, 5411, 469, 5411, 288, 7734, 2332, 18, 370, 18, 8222, 12, 315, 18828, 358, 2605, 555, 628, 315, 397, 336, 2503, 907, 7675, 588, 2042, 25392, 1435, 397, 315, 358, 315, 397, 336, 7571, 1435, 11272, 7734, 268, 18, 1188, 6332, 5621, 5411, 289, 3639, 289, 3639, 309, 261, 401, 261, 333, 1276, 8706, 503, 2189, 1171, 747, 1171, 333, 1276, 8706, 11238, 2189, 262, 262, 3639, 288, 5411, 309, 261, 401, 9323, 668, 262, 5411, 288, 7734, 775, 7734, 288, 10792, 336, 7571, 7675, 6006, 11238, 12, 31652, 1435, 11272, 7734, 289, 7734, 1044, 261, 503, 425, 13, 7734, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 2193, 5289, 12, 25392, 4026, 16, 5397, 2029, 333, 907, 13, 565, 288, 3639, 444, 7571, 12, 4026, 11272, 3639, 444, 2503, 907, 12, 333, 907, 11272, 3639, 1250, 9323, 668, 273, 629, 31, 3639, 775, 3639, 288, 5411, 1836, 12, 333, 907, 11272, 3639, 289, 3639, 1044, 261, 503, 425, 13, 3639, 288, 5411, 309, 261, 401, 261, 333, 1276, 8706, 503, 2189, 5397, 747, 5397, 333, 1276, 8706, 11238, 2189, 262, 262, 5411, 288, 7734, 775, 7734, 288, 5397, 336, 7571, 7675, 6006, 503, 12, 31652, 9334, 4766, 1171, 425, 11272, 7734, 289, 7734, 1044, 261, 503, 14657, 13, 7734, 288, 10792, 2332, 18, 370, 18, 8222, 12, 315, 18828, 358, 2605, 555, 628, 315, 2 ]
CDebugUIPlugin.errorDialog( "Operation failed.", ms );
CDebugUIPlugin.errorDialog( CDebugUIPlugin.getResourceString("internal.ui.actions.SignalZeroObjectActionDelegate.Operation_failed"), ms );
public void run( IAction action ) { if ( getTarget() != null ) { final MultiStatus ms = new MultiStatus( CDebugUIPlugin.getUniqueIdentifier(), DebugException.REQUEST_FAILED, "Unable to resume ignoring signal.", null ); BusyIndicator.showWhile( Display.getCurrent(), new Runnable() { public void run() { try { doAction( getTarget() ); } catch( DebugException e ) { ms.merge( e.getStatus() ); } } } ); if ( !ms.isOK() ) { IWorkbenchWindow window = CDebugUIPlugin.getActiveWorkbenchWindow(); if ( window != null ) { CDebugUIPlugin.errorDialog( "Operation failed.", ms ); } else { CDebugUIPlugin.log( ms ); } } } }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/7c50719ee75ad53d8a6bd367d0f569749c3680bc/SignalZeroObjectActionDelegate.java/buggy/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/SignalZeroObjectActionDelegate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1086, 12, 467, 1803, 1301, 262, 202, 95, 202, 202, 430, 261, 8571, 1435, 480, 446, 262, 202, 202, 95, 1082, 202, 6385, 5991, 1482, 4086, 273, 394, 5991, 1482, 12, 385, 2829, 5370, 3773, 18, 588, 6303, 3004, 9334, 17322, 6862, 202, 2829, 503, 18, 5519, 67, 11965, 16, 17322, 6862, 202, 6, 3370, 358, 10774, 14398, 4277, 1199, 16, 17322, 6862, 202, 2011, 11272, 1875, 202, 29289, 13140, 18, 4500, 15151, 12, 9311, 18, 588, 3935, 9334, 17322, 202, 2704, 10254, 1435, 6862, 25083, 202, 95, 6862, 6862, 1082, 202, 482, 918, 1086, 1435, 6862, 6862, 1082, 202, 95, 6862, 6862, 9506, 202, 698, 6862, 6862, 9506, 202, 95, 6862, 6862, 6862, 202, 2896, 1803, 12, 8571, 1435, 11272, 6862, 6862, 9506, 202, 97, 6862, 6862, 9506, 202, 14683, 12, 4015, 503, 425, 262, 6862, 6862, 9506, 202, 95, 6862, 6862, 6862, 202, 959, 18, 2702, 12, 425, 18, 588, 1482, 1435, 11272, 6862, 6862, 9506, 202, 97, 6862, 6862, 1082, 202, 97, 6862, 25083, 202, 97, 11272, 1082, 202, 430, 261, 401, 959, 18, 291, 3141, 1435, 262, 1082, 202, 95, 9506, 202, 45, 2421, 22144, 3829, 2742, 273, 385, 2829, 5370, 3773, 18, 588, 3896, 2421, 22144, 3829, 5621, 9506, 202, 430, 261, 2742, 480, 446, 262, 9506, 202, 95, 6862, 202, 39, 2829, 5370, 3773, 18, 1636, 6353, 12, 315, 2988, 2535, 1199, 16, 4086, 11272, 9506, 202, 97, 9506, 202, 12107, 9506, 202, 95, 6862, 202, 39, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1086, 12, 467, 1803, 1301, 262, 202, 95, 202, 202, 430, 261, 8571, 1435, 480, 446, 262, 202, 202, 95, 1082, 202, 6385, 5991, 1482, 4086, 273, 394, 5991, 1482, 12, 385, 2829, 5370, 3773, 18, 588, 6303, 3004, 9334, 17322, 6862, 202, 2829, 503, 18, 5519, 67, 11965, 16, 17322, 6862, 202, 6, 3370, 358, 10774, 14398, 4277, 1199, 16, 17322, 6862, 202, 2011, 11272, 1875, 202, 29289, 13140, 18, 4500, 15151, 12, 9311, 18, 588, 3935, 9334, 17322, 202, 2704, 10254, 1435, 6862, 25083, 202, 95, 6862, 6862, 1082, 202, 482, 918, 1086, 1435, 6862, 6862, 1082, 202, 95, 6862, 6862, 9506, 202, 698, 6862, 6862, 9506, 202, 95, 6862, 6862, 6862, 202, 2 ]
}
public void run() { System.out.println("CreateJininodeTask: lancement de la recherche"); Node[] nodes; JiniNodeFinder finder = new JiniNodeFinder(); nodes = finder.findNodes(host); //System.out.println("fin de la recherche NB de noeud: "+nodes.length); for (int i=0 ; i<nodes.length; i++){ Node node = nodes[i]; String nodeName = node.getNodeInformation().getName(); String hostname = node.getNodeInformation().getInetAddress().getHostName(); HostObject hostObject = worldObject.getHostObject(hostname); //System.out.println("hostObject: "+hostObject.getHostName()); if (hostObject == null) { //System.out.println("CreateJiniNodeTask: creation d'un nouvel host"); hostObject = new HostObject(worldObject, hostname); worldObject.addHostsObject(hostObject); worldObject.putChild(hostname, hostObject); } VMObject vmObject = hostObject.findVMObjectHavingExistingNode(nodeName); if (vmObject == null) { // new NodeObject //System.out.println("CreateJiniNodeTask: creation d'une nouvelle VM "); hostObject.addVMObject(node); } else { //System.out.println("CreateJiniNodeTask: creation d'un node dans une VM "); vmObject.addNodeObject(node); vmObject.sendEventsForAllActiveObjects(); } } }
14315 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14315/5e6860c26fe200ecc080f3ddc3de5b5afad88243/CreateJiniNodeTask.java/clean/src/org/objectweb/proactive/ic2d/util/CreateJiniNodeTask.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1086, 1435, 288, 565, 2332, 18, 659, 18, 8222, 2932, 1684, 46, 267, 267, 390, 2174, 30, 328, 1359, 475, 443, 7125, 283, 19322, 18706, 8863, 565, 2029, 8526, 2199, 31, 565, 804, 8767, 907, 8441, 7532, 273, 394, 804, 8767, 907, 8441, 5621, 565, 2199, 273, 7532, 18, 4720, 3205, 12, 2564, 1769, 565, 368, 3163, 18, 659, 18, 8222, 2932, 926, 443, 7125, 283, 19322, 18706, 20096, 443, 1158, 73, 1100, 30, 13773, 4690, 18, 2469, 1769, 565, 364, 261, 474, 277, 33, 20, 274, 277, 32, 4690, 18, 2469, 31, 277, 27245, 95, 1377, 2029, 756, 273, 2199, 63, 77, 15533, 1377, 514, 7553, 273, 756, 18, 588, 907, 5369, 7675, 17994, 5621, 1377, 514, 5199, 273, 756, 18, 588, 907, 5369, 7675, 588, 382, 278, 1887, 7675, 588, 20946, 5621, 1377, 4893, 921, 1479, 921, 273, 9117, 921, 18, 588, 2594, 921, 12, 10358, 1769, 1377, 368, 3163, 18, 659, 18, 8222, 2932, 2564, 921, 30, 13773, 2564, 921, 18, 588, 20946, 10663, 1377, 309, 261, 2564, 921, 422, 446, 13, 288, 9506, 202, 759, 3163, 18, 659, 18, 8222, 2932, 1684, 46, 8767, 907, 2174, 30, 6710, 302, 11, 318, 1158, 89, 941, 1479, 8863, 9506, 202, 2564, 921, 273, 394, 4893, 921, 12, 18179, 921, 16, 5199, 1769, 9506, 202, 18179, 921, 18, 1289, 12172, 921, 12, 2564, 921, 1769, 9506, 202, 18179, 921, 18, 458, 1763, 12, 10358, 16, 1479, 921, 1769, 540, 8251, 921, 4268, 921, 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, 1086, 1435, 288, 565, 2332, 18, 659, 18, 8222, 2932, 1684, 46, 267, 267, 390, 2174, 30, 328, 1359, 475, 443, 7125, 283, 19322, 18706, 8863, 565, 2029, 8526, 2199, 31, 565, 804, 8767, 907, 8441, 7532, 273, 394, 804, 8767, 907, 8441, 5621, 565, 2199, 273, 7532, 18, 4720, 3205, 12, 2564, 1769, 565, 368, 3163, 18, 659, 18, 8222, 2932, 926, 443, 7125, 283, 19322, 18706, 20096, 443, 1158, 73, 1100, 30, 13773, 4690, 18, 2469, 1769, 565, 364, 261, 474, 277, 33, 20, 274, 277, 32, 4690, 18, 2469, 31, 277, 27245, 95, 1377, 2029, 756, 273, 2199, 63, 77, 15533, 1377, 514, 7553, 273, 756, 18, 588, 907, 5369, 7675, 17994, 5621, 2 ]
info.uri = getContents(child);
info.uri = getTextContents(child);
private TaglibInfo extractInfo(String baseLocation, InputStream tldContents) { TaglibInfo info = new TaglibInfo(); if (tldContents != null) { DocumentProvider provider = new DocumentProvider(); provider.setInputStream(tldContents); provider.setValidating(false); provider.setRootElementName(JSP12TLDNames.TAGLIB); provider.setBaseReference(baseLocation); Node child = provider.getRootElement(); if (child == null || child.getNodeType() != Node.ELEMENT_NODE || !child.getNodeName().equals(JSP12TLDNames.TAGLIB)) { return null; } child = child.getFirstChild(); while (child != null) { if (child.getNodeType() == Node.ELEMENT_NODE) { if (child.getNodeName().equals(JSP12TLDNames.URI)) { info.uri = getContents(child); } else if (child.getNodeName().equals(JSP12TLDNames.SHORT_NAME)) { info.prefix = getContents(child); } else if (child.getNodeName().equals(JSP12TLDNames.JSP_VERSION)) { try { info.jspVersion = Float.parseFloat(getContents(child)); } catch (NumberFormatException e) { info.jspVersion = 0; } } else if (child.getNodeName().equals(JSP12TLDNames.SMALL_ICON)) { info.smallIcon = getContents(child); } else if (child.getNodeName().equals(JSP12TLDNames.LARGE_ICON)) { info.largeIcon = getContents(child); } } child = child.getNextSibling(); } } return info; }
13989 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13989/8879f011497e7f3a2360339d97d4c5a130e0ce68/ProjectDescription.java/buggy/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/contentmodel/ProjectDescription.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 4034, 2941, 966, 2608, 966, 12, 780, 1026, 2735, 16, 5037, 23373, 6323, 13, 288, 202, 202, 1805, 2941, 966, 1123, 273, 394, 4034, 2941, 966, 5621, 202, 202, 430, 261, 88, 1236, 6323, 480, 446, 13, 288, 1082, 202, 2519, 2249, 2893, 273, 394, 4319, 2249, 5621, 1082, 202, 6778, 18, 542, 4348, 12, 88, 1236, 6323, 1769, 1082, 202, 6778, 18, 542, 31496, 12, 5743, 1769, 1082, 202, 6778, 18, 542, 2375, 30584, 12, 46, 3118, 2138, 5967, 40, 1557, 18, 7927, 14484, 1769, 1082, 202, 6778, 18, 542, 2171, 2404, 12, 1969, 2735, 1769, 1082, 202, 907, 1151, 273, 2893, 18, 588, 2375, 1046, 5621, 1082, 202, 430, 261, 3624, 422, 446, 747, 1151, 18, 588, 15101, 1435, 480, 2029, 18, 10976, 67, 8744, 747, 401, 3624, 18, 588, 18948, 7675, 14963, 12, 46, 3118, 2138, 5967, 40, 1557, 18, 7927, 14484, 3719, 288, 9506, 202, 2463, 446, 31, 1082, 202, 97, 1082, 202, 3624, 273, 1151, 18, 588, 3759, 1763, 5621, 1082, 202, 17523, 261, 3624, 480, 446, 13, 288, 9506, 202, 430, 261, 3624, 18, 588, 15101, 1435, 422, 2029, 18, 10976, 67, 8744, 13, 288, 6862, 202, 430, 261, 3624, 18, 588, 18948, 7675, 14963, 12, 46, 3118, 2138, 5967, 40, 1557, 18, 3098, 3719, 288, 25083, 202, 1376, 18, 1650, 273, 15015, 12, 3624, 1769, 6862, 202, 97, 6862, 202, 12107, 309, 261, 3624, 18, 588, 18948, 7675, 14963, 12, 46, 3118, 2138, 5967, 40, 1557, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 4034, 2941, 966, 2608, 966, 12, 780, 1026, 2735, 16, 5037, 23373, 6323, 13, 288, 202, 202, 1805, 2941, 966, 1123, 273, 394, 4034, 2941, 966, 5621, 202, 202, 430, 261, 88, 1236, 6323, 480, 446, 13, 288, 1082, 202, 2519, 2249, 2893, 273, 394, 4319, 2249, 5621, 1082, 202, 6778, 18, 542, 4348, 12, 88, 1236, 6323, 1769, 1082, 202, 6778, 18, 542, 31496, 12, 5743, 1769, 1082, 202, 6778, 18, 542, 2375, 30584, 12, 46, 3118, 2138, 5967, 40, 1557, 18, 7927, 14484, 1769, 1082, 202, 6778, 18, 542, 2171, 2404, 12, 1969, 2735, 1769, 1082, 202, 907, 1151, 273, 2893, 18, 588, 2375, 1046, 5621, 1082, 202, 430, 261, 3624, 422, 446, 747, 2 ]
catch (Exception e) {
catch (Throwable e) {
public void test() throws Throwable { selenium.setContext("Test Verifications", "info"); /* Test Verifications */ // open|./tests/html/test_verifications.html?foo=bar| selenium.open("./tests/html/test_verifications.html?foo=bar");selenium.assertLocation("/tests/html/test_verifications.html");selenium.assertLocation("/tests/html/test_verifications.html?foo=bar"); // verifyValue|theText|the text value verifyEquals("the text value", selenium.getValue("theText")); // verifyNotValue|theText|not the text value verifyNotEquals("not the text value", selenium.getValue("theText")); // verifyValue|theHidden|the hidden value verifyEquals("the hidden value", selenium.getValue("theHidden")); // verifyText|theSpan|this is the span verifyEquals("this is the span", selenium.getText("theSpan")); // verifyNotText|theSpan|blah blah verifyNotEquals("blah blah", selenium.getText("theSpan")); // verifyTextPresent|this is the span| verifyTrue(this.getText().indexOf("this is the span")!=-1); // verifyTextNotPresent|this is not the span| verifyFalse(this.getText().indexOf("this is not the span")!=-1); boolean sawThrow13 = false; try { // originally verifyElementPresent|theSpan| selenium.assertElementPresent("theSpan"); } catch (Exception e) { sawThrow13 = true; } verifyFalse(sawThrow13); boolean sawThrow14 = false; try { // originally verifyElementPresent|theText| selenium.assertElementPresent("theText"); } catch (Exception e) { sawThrow14 = true; } verifyFalse(sawThrow14); boolean sawThrow15 = false; try { // originally verifyElementNotPresent|unknown| selenium.assertElementNotPresent("unknown"); } catch (Exception e) { sawThrow15 = true; } verifyFalse(sawThrow15); // verifyTable|theTable.1.0|c verifyEquals("c", selenium.getTable("theTable.1.0")); boolean sawThrow17 = false; try { // originally verifySelected|theSelect|index=1 selenium.assertSelected("theSelect", "index=1"); } catch (Exception e) { sawThrow17 = true; } verifyFalse(sawThrow17); boolean sawThrow18 = false; try { // originally verifySelected|theSelect|value=option2 selenium.assertSelected("theSelect", "value=option2"); } catch (Exception e) { sawThrow18 = true; } verifyFalse(sawThrow18); /* This is an example of why you can't just find the first option that matches and then verify that it is the selected option. */ boolean sawThrow21 = false; try { // originally verifySelected|theSelect|value=opt* selenium.assertSelected("theSelect", "value=opt*"); } catch (Exception e) { sawThrow21 = true; } verifyFalse(sawThrow21); boolean sawThrow22 = false; try { // originally verifySelected|theSelect|label=second option selenium.assertSelected("theSelect", "label=second option"); } catch (Exception e) { sawThrow22 = true; } verifyFalse(sawThrow22); boolean sawThrow23 = false; try { // originally verifySelected|theSelect|second option selenium.assertSelected("theSelect", "second option"); } catch (Exception e) { sawThrow23 = true; } verifyFalse(sawThrow23); boolean sawThrow24 = false; try { // originally verifySelected|theSelect|id=o2 selenium.assertSelected("theSelect", "id=o2"); } catch (Exception e) { sawThrow24 = true; } verifyFalse(sawThrow24); String[] tmp1 = {"first option", "second option", "third\\,\\,option"}; // verifySelectOptions|theSelect|first option,second option,third\\,\\,option verifyEquals(tmp1, selenium.getSelectOptions("theSelect")); // verifyAttribute|theText@class|foo verifyEquals("foo", selenium.getAttribute("theText@class")); // verifyNotAttribute|theText@class|fox verifyNotEquals("fox", selenium.getAttribute("theText@class")); // verifyTitle|theTitle| verifyEquals("theTitle", selenium.getTitle()); // verifyNotTitle|Blah Blah| verifyNotEquals("Blah Blah", selenium.getTitle()); checkForVerificationErrors(); }
4718 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4718/15660ffa40e3fe9cdf6de2752e79d93831571a27/TestVerifications.java/buggy/clients/java/src/test/java/com/thoughtworks/selenium/generated/TestVerifications.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 1842, 1435, 1216, 4206, 288, 202, 202, 1786, 17327, 18, 542, 1042, 2932, 4709, 6160, 6640, 3113, 315, 1376, 8863, 225, 1748, 7766, 6160, 6640, 4202, 1195, 1082, 202, 759, 1696, 96, 18, 19, 16341, 19, 2620, 19, 3813, 67, 502, 6640, 18, 2620, 35, 11351, 33, 3215, 96, 1082, 202, 1786, 17327, 18, 3190, 2932, 18, 19, 16341, 19, 2620, 19, 3813, 67, 502, 6640, 18, 2620, 35, 11351, 33, 3215, 8863, 1786, 17327, 18, 11231, 2735, 2932, 19, 16341, 19, 2620, 19, 3813, 67, 502, 6640, 18, 2620, 8863, 1786, 17327, 18, 11231, 2735, 2932, 19, 16341, 19, 2620, 19, 3813, 67, 502, 6640, 18, 2620, 35, 11351, 33, 3215, 8863, 1082, 202, 759, 3929, 620, 96, 5787, 1528, 96, 5787, 977, 460, 1082, 202, 8705, 8867, 2932, 5787, 977, 460, 3113, 29480, 18, 24805, 2932, 5787, 1528, 7923, 1769, 1082, 202, 759, 3929, 1248, 620, 96, 5787, 1528, 96, 902, 326, 977, 460, 1082, 202, 8705, 1248, 8867, 2932, 902, 326, 977, 460, 3113, 29480, 18, 24805, 2932, 5787, 1528, 7923, 1769, 1082, 202, 759, 3929, 620, 96, 5787, 9345, 96, 5787, 5949, 460, 1082, 202, 8705, 8867, 2932, 5787, 5949, 460, 3113, 29480, 18, 24805, 2932, 5787, 9345, 7923, 1769, 1082, 202, 759, 3929, 1528, 96, 5787, 6952, 96, 2211, 353, 326, 4548, 1082, 202, 8705, 8867, 2932, 2211, 353, 326, 4548, 3113, 29480, 18, 588, 1528, 2932, 5787, 6952, 7923, 1769, 1082, 202, 759, 3929, 1248, 1528, 96, 5787, 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, 1435, 1216, 4206, 288, 202, 202, 1786, 17327, 18, 542, 1042, 2932, 4709, 6160, 6640, 3113, 315, 1376, 8863, 225, 1748, 7766, 6160, 6640, 4202, 1195, 1082, 202, 759, 1696, 96, 18, 19, 16341, 19, 2620, 19, 3813, 67, 502, 6640, 18, 2620, 35, 11351, 33, 3215, 96, 1082, 202, 1786, 17327, 18, 3190, 2932, 18, 19, 16341, 19, 2620, 19, 3813, 67, 502, 6640, 18, 2620, 35, 11351, 33, 3215, 8863, 1786, 17327, 18, 11231, 2735, 2932, 19, 16341, 19, 2620, 19, 3813, 67, 502, 6640, 18, 2620, 8863, 1786, 17327, 18, 11231, 2735, 2932, 19, 16341, 19, 2620, 19, 3813, 67, 502, 6640, 18, 2620, 35, 11351, 33, 3215, 8863, 1082, 202, 759, 2 ]
private static Object interpretLoop(Context cx, CallFrame frame, Object throwable) { // throwable holds exception object to rethrow or catch // It is also used for continuation restart in which case // it holds ContinuationJump final Object DBL_MRK = UniqueTag.DOUBLE_MARK; final Object undefined = Undefined.instance; final boolean instructionCounting = (cx.instructionThreshold != 0); // arbitrary number to add to instructionCount when calling // other functions final int INVOCATION_COST = 100; // arbitrary exception cost for instruction counting final int EXCEPTION_COST = 100; String stringReg = null; int indexReg = -1; if (cx.lastInterpreterFrame != null) { // save the top frame from the previous interpreterLoop // invocation on the stack if (cx.previousInterpreterInvocations == null) { cx.previousInterpreterInvocations = new ObjArray(); } cx.previousInterpreterInvocations.push(cx.lastInterpreterFrame); } // When restarting continuation throwable is not null and to jump // to the code that rewind continuation state indexReg should be set // to -1. // With the normal call throable == null and indexReg == -1 allows to // catch bugs with using indeReg to access array eleemnts before // initializing indexReg. if (throwable != null) { // Assert assumptions if (!(throwable instanceof ContinuationJump)) { // It should be continuation Kit.codeBug(); } } Object interpreterResult = null; double interpreterResultDbl = 0.0; StateLoop: for (;;) { withoutExceptions: try { if (throwable != null) { // Recovering from exception, indexReg contains // the index of handler if (indexReg >= 0) { // Normal excepton handler, transfer // control appropriately if (frame.frozen) { // XXX Deal with exceptios!!! frame = frame.cloneFrozen(); } int[] table = frame.idata.itsExceptionTable; frame.pc = table[indexReg + EXCEPTION_HANDLER_SLOT]; if (instructionCounting) { frame.pcPrevBranch = frame.pc; } frame.savedStackTop = frame.emptyStackTop; int scopeLocal = frame.localShift + table[indexReg + EXCEPTION_SCOPE_SLOT]; int exLocal = frame.localShift + table[indexReg + EXCEPTION_LOCAL_SLOT]; frame.scope = (Scriptable)frame.stack[scopeLocal]; frame.stack[exLocal] = throwable; throwable = null; } else { // Continuation restoration ContinuationJump cjump = (ContinuationJump)throwable; // Clear throwable to indicate that execptions are OK throwable = null; if (cjump.branchFrame != frame) Kit.codeBug(); // Check that we have at least one frozen frame // in the case of detached continuation restoration: // unwind code ensure that if (cjump.capturedFrame == null) Kit.codeBug(); // Need to rewind branchFrame, capturedFrame // and all frames in between int rewindCount = cjump.capturedFrame.frameIndex + 1; if (cjump.branchFrame != null) { rewindCount -= cjump.branchFrame.frameIndex; } int enterCount = 0; CallFrame[] enterFrames = null; CallFrame x = cjump.capturedFrame; for (int i = 0; i != rewindCount; ++i) { if (!x.frozen) Kit.codeBug(); if (isFrameEnterExitRequired(x)) { if (enterFrames == null) { // Allocate enough space to store the rest // of rewind frames in case all of them // would require to enter enterFrames = new CallFrame[rewindCount - i]; } enterFrames[enterCount] = x; ++enterCount; } x = x.parentFrame; } while (enterCount != 0) { // execute enter: walk enterFrames in the reverse // order since they were stored starting from // the capturedFrame, not branchFrame --enterCount; x = enterFrames[enterCount]; enterFrame(cx, x, ScriptRuntime.emptyArgs); } // Continuation jump is almost done: capturedFrame // points to the call to the function that captured // continuation, so clone capturedFrame and // emulate return that function with the suplied result frame = cjump.capturedFrame.cloneFrozen(); setCallResult(frame, cjump.result, cjump.resultDbl); // restart the execution } // Should be already cleared if (throwable != null) Kit.codeBug(); } else { if (frame.frozen) Kit.codeBug(); } // Use local variables for constant values in frame // for faster access Object[] stack = frame.stack; double[] sDbl = frame.sDbl; Object[] vars = frame.varSource.stack; double[] varDbls = frame.varSource.sDbl; byte[] iCode = frame.idata.itsICode; String[] strings = frame.idata.itsStringTable; // Use local for stackTop as well. Since execption handlers // can only exist at statement level where stack is empty, // it is necessary to save/restore stackTop only accross // function calls and normal returns. int stackTop = frame.savedStackTop; // Store new frame in cx which is used for error reporting etc. cx.lastInterpreterFrame = frame; Loop: for (;;) { // Exception handler assumes that PC is already incremented // pass the instruction start when it searches the // exception handler int op = iCode[frame.pc++]; jumplessRun: { // Back indent to ease imlementation readingswitch (op) { case Token.THROW: { Object value = stack[stackTop]; if (value == DBL_MRK) value = ScriptRuntime.wrapNumber(sDbl[stackTop]); --stackTop; int sourceLine = getIndex(iCode, frame.pc); throwable = new JavaScriptException(value, frame.idata.itsSourceFile, sourceLine); break withoutExceptions; } case Token.RETHROW: { indexReg += frame.localShift; throwable = stack[indexReg]; break withoutExceptions; } case Token.GE : case Token.LE : case Token.GT : case Token.LT : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; object_compare: { number_compare: { double rDbl, lDbl; if (rhs == DBL_MRK) { rDbl = sDbl[stackTop + 1]; lDbl = stack_double(frame, stackTop); } else if (lhs == DBL_MRK) { rDbl = ScriptRuntime.toNumber(rhs); lDbl = sDbl[stackTop]; } else { break number_compare; } switch (op) { case Token.GE: valBln = (lDbl >= rDbl); break object_compare; case Token.LE: valBln = (lDbl <= rDbl); break object_compare; case Token.GT: valBln = (lDbl > rDbl); break object_compare; case Token.LT: valBln = (lDbl < rDbl); break object_compare; default: throw Kit.codeBug(); } } switch (op) { case Token.GE: valBln = ScriptRuntime.cmp_LE(rhs, lhs); break; case Token.LE: valBln = ScriptRuntime.cmp_LE(lhs, rhs); break; case Token.GT: valBln = ScriptRuntime.cmp_LT(rhs, lhs); break; case Token.LT: valBln = ScriptRuntime.cmp_LT(lhs, rhs); break; default: throw Kit.codeBug(); } } stack[stackTop] = ScriptRuntime.wrapBoolean(valBln); continue Loop; } case Token.IN : case Token.INSTANCEOF : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = ScriptRuntime.wrapNumber(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = ScriptRuntime.wrapNumber(sDbl[stackTop]); boolean valBln; if (op == Token.IN) { valBln = ScriptRuntime.in(lhs, rhs, cx); } else { valBln = ScriptRuntime.instanceOf(lhs, rhs, cx); } stack[stackTop] = ScriptRuntime.wrapBoolean(valBln); continue Loop; } case Token.EQ : case Token.NE : { --stackTop; boolean valBln; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; if (rhs == DBL_MRK) { if (lhs == DBL_MRK) { valBln = (sDbl[stackTop] == sDbl[stackTop + 1]); } else { valBln = ScriptRuntime.eqNumber(sDbl[stackTop + 1], lhs); } } else { if (lhs == DBL_MRK) { valBln = ScriptRuntime.eqNumber(sDbl[stackTop], rhs); } else { valBln = ScriptRuntime.eq(lhs, rhs); } } valBln ^= (op == Token.NE); stack[stackTop] = ScriptRuntime.wrapBoolean(valBln); continue Loop; } case Token.SHEQ : case Token.SHNE : { --stackTop; Object rhs = stack[stackTop + 1]; Object lhs = stack[stackTop]; boolean valBln; shallow_compare: { double rdbl, ldbl; if (rhs == DBL_MRK) { rdbl = sDbl[stackTop + 1]; if (lhs == DBL_MRK) { ldbl = sDbl[stackTop]; } else if (lhs instanceof Number) { ldbl = ((Number)lhs).doubleValue(); } else { valBln = false; break shallow_compare; } } else if (lhs == DBL_MRK) { ldbl = sDbl[stackTop]; if (rhs == DBL_MRK) { rdbl = sDbl[stackTop + 1]; } else if (rhs instanceof Number) { rdbl = ((Number)rhs).doubleValue(); } else { valBln = false; break shallow_compare; } } else { valBln = ScriptRuntime.shallowEq(lhs, rhs); break shallow_compare; } valBln = (ldbl == rdbl); } valBln ^= (op == Token.SHNE); stack[stackTop] = ScriptRuntime.wrapBoolean(valBln); continue Loop; } case Token.IFNE : if (stack_boolean(frame, stackTop--)) { frame.pc += 2; continue Loop; } break jumplessRun; case Token.IFEQ : if (!stack_boolean(frame, stackTop--)) { frame.pc += 2; continue Loop; } break jumplessRun; case Icode_IFEQ_POP : if (!stack_boolean(frame, stackTop--)) { frame.pc += 2; continue Loop; } stack[stackTop--] = null; break jumplessRun; case Token.GOTO : break jumplessRun; case Icode_GOSUB : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = frame.pc + 2; break jumplessRun; case Icode_STARTSUB : if (stackTop == frame.emptyStackTop + 1) { // Call from Icode_GOSUB: store return PC address in the local indexReg += frame.localShift; stack[indexReg] = stack[stackTop]; sDbl[indexReg] = sDbl[stackTop]; --stackTop; } else { // Call from exception handler: exception object is already stored // in the local if (stackTop != frame.emptyStackTop) Kit.codeBug(); } continue Loop; case Icode_RETSUB : { // indexReg: local to store return address if (instructionCounting) { addInstructionCount(cx, frame, 0); } indexReg += frame.localShift; Object value = stack[indexReg]; if (value != DBL_MRK) { // Invocation from exception handler, restore object to rethrow throwable = value; break withoutExceptions; } // Normal return from GOSUB frame.pc = (int)sDbl[indexReg]; if (instructionCounting) { frame.pcPrevBranch = frame.pc; } continue Loop; } case Icode_POP : stack[stackTop] = null; stackTop--; continue Loop; case Icode_POP_RESULT : frame.result = stack[stackTop]; frame.resultDbl = sDbl[stackTop]; stack[stackTop] = null; --stackTop; continue Loop; case Icode_DUP : stack[stackTop + 1] = stack[stackTop]; sDbl[stackTop + 1] = sDbl[stackTop]; stackTop++; continue Loop; case Icode_DUP2 : stack[stackTop + 1] = stack[stackTop - 1]; sDbl[stackTop + 1] = sDbl[stackTop - 1]; stack[stackTop + 2] = stack[stackTop]; sDbl[stackTop + 2] = sDbl[stackTop]; stackTop += 2; continue Loop; case Icode_SWAP : { Object o = stack[stackTop]; stack[stackTop] = stack[stackTop - 1]; stack[stackTop - 1] = o; double d = sDbl[stackTop]; sDbl[stackTop] = sDbl[stackTop - 1]; sDbl[stackTop - 1] = d; continue Loop; } case Token.RETURN : frame.result = stack[stackTop]; frame.resultDbl = sDbl[stackTop]; --stackTop; break Loop; case Token.RETURN_RESULT : break Loop; case Icode_RETUNDEF : frame.result = undefined; break Loop; case Token.BITNOT : { int rIntValue = stack_int32(frame, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ~rIntValue; continue Loop; } case Token.BITAND : case Token.BITOR : case Token.BITXOR : case Token.LSH : case Token.RSH : { int rIntValue = stack_int32(frame, stackTop); --stackTop; int lIntValue = stack_int32(frame, stackTop); stack[stackTop] = DBL_MRK; switch (op) { case Token.BITAND: lIntValue &= rIntValue; break; case Token.BITOR: lIntValue |= rIntValue; break; case Token.BITXOR: lIntValue ^= rIntValue; break; case Token.LSH: lIntValue <<= rIntValue; break; case Token.RSH: lIntValue >>= rIntValue; break; } sDbl[stackTop] = lIntValue; continue Loop; } case Token.URSH : { int rIntValue = stack_int32(frame, stackTop) & 0x1F; --stackTop; double lDbl = stack_double(frame, stackTop); stack[stackTop] = DBL_MRK; sDbl[stackTop] = ScriptRuntime.toUint32(lDbl) >>> rIntValue; continue Loop; } case Token.NEG : case Token.POS : { double rDbl = stack_double(frame, stackTop); stack[stackTop] = DBL_MRK; if (op == Token.NEG) { rDbl = -rDbl; } sDbl[stackTop] = rDbl; continue Loop; } case Token.ADD : --stackTop; do_add(stack, sDbl, stackTop, cx); continue Loop; case Token.SUB : case Token.MUL : case Token.DIV : case Token.MOD : { double rDbl = stack_double(frame, stackTop); --stackTop; double lDbl = stack_double(frame, stackTop); stack[stackTop] = DBL_MRK; switch (op) { case Token.SUB: lDbl -= rDbl; break; case Token.MUL: lDbl *= rDbl; break; case Token.DIV: lDbl /= rDbl; break; case Token.MOD: lDbl %= rDbl; break; } sDbl[stackTop] = lDbl; continue Loop; } case Token.NOT : stack[stackTop] = ScriptRuntime.wrapBoolean( !stack_boolean(frame, stackTop)); continue Loop; case Token.BINDNAME : stack[++stackTop] = ScriptRuntime.bind(cx, frame.scope, stringReg); continue Loop; case Token.SETNAME : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = ScriptRuntime.wrapNumber(sDbl[stackTop]); --stackTop; Scriptable lhs = (Scriptable)stack[stackTop]; stack[stackTop] = ScriptRuntime.setName(lhs, rhs, cx, frame.scope, stringReg); continue Loop; } case Token.DELPROP : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = ScriptRuntime.wrapNumber(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = ScriptRuntime.wrapNumber(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.delete(lhs, rhs, cx); continue Loop; } case Token.GETPROP : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = ScriptRuntime.wrapNumber(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getObjectProp(lhs, stringReg, cx); continue Loop; } case Token.SETPROP : { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = ScriptRuntime.wrapNumber(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = ScriptRuntime.wrapNumber(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setObjectProp(lhs, stringReg, rhs, cx); continue Loop; } case Icode_PROP_INC_DEC : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = ScriptRuntime.wrapNumber(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.propIncrDecr(lhs, stringReg, cx, iCode[frame.pc]); ++frame.pc; continue Loop; } case Token.GETELEM : { --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) { lhs = ScriptRuntime.wrapNumber(sDbl[stackTop]); } Object value; Object id = stack[stackTop + 1]; if (id != DBL_MRK) { value = ScriptRuntime.getObjectElem(lhs, id, cx); } else { double d = sDbl[stackTop + 1]; value = ScriptRuntime.getObjectIndex(lhs, d, cx); } stack[stackTop] = value; continue Loop; } case Token.SETELEM : { stackTop -= 2; Object rhs = stack[stackTop + 2]; if (rhs == DBL_MRK) { rhs = ScriptRuntime.wrapNumber(sDbl[stackTop + 2]); } Object lhs = stack[stackTop]; if (lhs == DBL_MRK) { lhs = ScriptRuntime.wrapNumber(sDbl[stackTop]); } Object value; Object id = stack[stackTop + 1]; if (id != DBL_MRK) { value = ScriptRuntime.setObjectElem(lhs, id, rhs, cx); } else { double d = sDbl[stackTop + 1]; value = ScriptRuntime.setObjectIndex(lhs, d, rhs, cx); } stack[stackTop] = value; continue Loop; } case Icode_ELEM_INC_DEC: { Object rhs = stack[stackTop]; if (rhs == DBL_MRK) rhs = ScriptRuntime.wrapNumber(sDbl[stackTop]); --stackTop; Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = ScriptRuntime.wrapNumber(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.elemIncrDecr(lhs, rhs, cx, iCode[frame.pc]); ++frame.pc; continue Loop; } case Token.GET_REF : { Ref ref = (Ref)stack[stackTop]; stack[stackTop] = ScriptRuntime.refGet(ref, cx); continue Loop; } case Token.SET_REF : { Object value = stack[stackTop]; if (value == DBL_MRK) value = ScriptRuntime.wrapNumber(sDbl[stackTop]); --stackTop; Ref ref = (Ref)stack[stackTop]; stack[stackTop] = ScriptRuntime.refSet(ref, value, cx); continue Loop; } case Token.DEL_REF : { Ref ref = (Ref)stack[stackTop]; stack[stackTop] = ScriptRuntime.refDel(ref, cx); continue Loop; } case Icode_REF_INC_DEC : { Ref ref = (Ref)stack[stackTop]; stack[stackTop] = ScriptRuntime.refIncrDecr(ref, cx, iCode[frame.pc]); ++frame.pc; continue Loop; } case Token.LOCAL_LOAD : ++stackTop; indexReg += frame.localShift; stack[stackTop] = stack[indexReg]; sDbl[stackTop] = sDbl[indexReg]; continue Loop; case Icode_LOCAL_CLEAR : indexReg += frame.localShift; stack[indexReg] = null; continue Loop; case Icode_NAME_AND_THIS : // stringReg: name ++stackTop; stack[stackTop] = ScriptRuntime.getNameFunctionAndThis(stringReg, cx, frame.scope); ++stackTop; stack[stackTop] = ScriptRuntime.lastStoredScriptable(cx); continue Loop; case Icode_PROP_AND_THIS: { Object obj = stack[stackTop]; if (obj == DBL_MRK) obj = ScriptRuntime.wrapNumber(sDbl[stackTop]); // stringReg: property stack[stackTop] = ScriptRuntime.getPropFunctionAndThis(obj, stringReg, cx); ++stackTop; stack[stackTop] = ScriptRuntime.lastStoredScriptable(cx); continue Loop; } case Icode_ELEM_AND_THIS: { Object obj = stack[stackTop - 1]; if (obj == DBL_MRK) obj = ScriptRuntime.wrapNumber(sDbl[stackTop - 1]); Object id = stack[stackTop]; if (id == DBL_MRK) id = ScriptRuntime.wrapNumber(sDbl[stackTop]); stack[stackTop - 1] = ScriptRuntime.getElemFunctionAndThis(obj, id, cx); stack[stackTop] = ScriptRuntime.lastStoredScriptable(cx); continue Loop; } case Icode_VALUE_AND_THIS : { Object value = stack[stackTop]; if (value == DBL_MRK) value = ScriptRuntime.wrapNumber(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.getValueFunctionAndThis(value, cx); ++stackTop; stack[stackTop] = ScriptRuntime.lastStoredScriptable(cx); continue Loop; } case Icode_CALLSPECIAL : { if (instructionCounting) { cx.instructionCount += INVOCATION_COST; } int callType = iCode[frame.pc] & 0xFF; boolean isNew = (iCode[frame.pc + 1] != 0); int sourceLine = getIndex(iCode, frame.pc + 2); // indexReg: number of arguments if (isNew) { // stack change: function arg0 .. argN -> newResult stackTop -= indexReg; Object function = stack[stackTop]; if (function == DBL_MRK) function = ScriptRuntime.wrapNumber(sDbl[stackTop]); Object[] outArgs = getArgsArray( stack, sDbl, stackTop + 1, indexReg); stack[stackTop] = ScriptRuntime.newSpecial( cx, function, outArgs, frame.scope, callType); } else { // stack change: function thisObj arg0 .. argN -> result stackTop -= 1 + indexReg; // Call code generation ensure that stack here // is ... Function Scriptable Scriptable functionThis = (Scriptable)stack[stackTop + 1]; Function function = (Function)stack[stackTop]; Object[] outArgs = getArgsArray( stack, sDbl, stackTop + 2, indexReg); stack[stackTop] = ScriptRuntime.callSpecial( cx, function, functionThis, outArgs, frame.scope, frame.thisObj, callType, frame.idata.itsSourceFile, sourceLine); } frame.pc += 4; continue Loop; } case Token.CALL : case Icode_TAIL_CALL : case Token.REF_CALL : { if (instructionCounting) { cx.instructionCount += INVOCATION_COST; } // stack change: function thisObj arg0 .. argN -> result // indexReg: number of arguments stackTop -= 1 + indexReg; // CALL generation ensures that fun and funThisObj // are already Scriptable and Function objects respectively Function fun = (Function)stack[stackTop]; Scriptable funThisObj = (Scriptable)stack[stackTop + 1]; Scriptable calleeScope = frame.scope; if (frame.useActivation) { calleeScope = ScriptableObject.getTopLevelScope(frame.scope); } if (op == Token.REF_CALL) { Object[] outArgs = getArgsArray(stack, sDbl, stackTop + 2, indexReg); stack[stackTop] = ScriptRuntime.callRef(fun, funThisObj, outArgs, cx, calleeScope); continue Loop; } if (fun instanceof InterpretedFunction) { InterpretedFunction ifun = (InterpretedFunction)fun; if (frame.fnOrScript.securityDomain == ifun.securityDomain) { CallFrame callParentFrame = frame; CallFrame calleeFrame = new CallFrame(); if (op == Icode_TAIL_CALL) { // In principle tail call can re-use the current // frame and its stack arrays but it is hard to // do properly. Any exceptions that can legally // happen during frame re-initialization including // StackOverflowException during innocent looking // System.arraycopy may leave the current frame // data corrupted leading to undefined behaviour // in the catch code bellow that unwinds JS stack // on exceptions. Then there is issue about frame release // end exceptions there. // To avoid frame allocation a released frame // can be cached for re-use which would also benefit // non-tail calls but it is not clear that this caching // would gain in performance due to potentially // bad iteraction with GC. callParentFrame = frame.parentFrame; } initFrame(cx, calleeScope, funThisObj, stack, sDbl, stackTop + 2, indexReg, ifun, callParentFrame, calleeFrame); if (op == Icode_TAIL_CALL) { // Release the parent exitFrame(cx, frame, null); } else { frame.savedStackTop = stackTop; frame.savedCallOp = op; } frame = calleeFrame; continue StateLoop; } } if (fun instanceof Continuation) { // Jump to the captured continuation ContinuationJump cjump; cjump = new ContinuationJump((Continuation)fun, frame); // continuation result is the first argument if any // of contination call if (indexReg == 0) { cjump.result = undefined; } else { cjump.result = stack[stackTop + 2]; cjump.resultDbl = sDbl[stackTop + 2]; } // Start the real unwind job throwable = cjump; break withoutExceptions; } if (fun instanceof IdFunctionObject) { IdFunctionObject ifun = (IdFunctionObject)fun; if (Continuation.isContinuationConstructor(ifun)) { captureContinuation(cx, frame, stackTop); continue Loop; } } Object[] outArgs = getArgsArray(stack, sDbl, stackTop + 2, indexReg); stack[stackTop] = fun.call(cx, calleeScope, funThisObj, outArgs); continue Loop; } case Token.NEW : { if (instructionCounting) { cx.instructionCount += INVOCATION_COST; } // stack change: function arg0 .. argN -> newResult // indexReg: number of arguments stackTop -= indexReg; Object lhs = stack[stackTop]; if (lhs instanceof InterpretedFunction) { InterpretedFunction f = (InterpretedFunction)lhs; if (frame.fnOrScript.securityDomain == f.securityDomain) { Scriptable newInstance = f.createObject(cx, frame.scope); CallFrame calleeFrame = new CallFrame(); initFrame(cx, frame.scope, newInstance, stack, sDbl, stackTop + 1, indexReg, f, frame, calleeFrame); stack[stackTop] = newInstance; frame.savedStackTop = stackTop; frame.savedCallOp = op; frame = calleeFrame; continue StateLoop; } } if (!(lhs instanceof Function)) { if (lhs == DBL_MRK) lhs = ScriptRuntime.wrapNumber(sDbl[stackTop]); throw ScriptRuntime.notFunctionError(lhs); } Function fun = (Function)lhs; if (fun instanceof IdFunctionObject) { IdFunctionObject ifun = (IdFunctionObject)fun; if (Continuation.isContinuationConstructor(ifun)) { captureContinuation(cx, frame, stackTop); continue Loop; } } Object[] outArgs = getArgsArray(stack, sDbl, stackTop + 1, indexReg); stack[stackTop] = fun.construct(cx, frame.scope, outArgs); continue Loop; } case Token.TYPEOF : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = ScriptRuntime.wrapNumber(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.typeof(lhs); continue Loop; } case Icode_TYPEOFNAME : stack[++stackTop] = ScriptRuntime.typeofName(frame.scope, stringReg); continue Loop; case Token.STRING : stack[++stackTop] = stringReg; continue Loop; case Icode_SHORTNUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getShort(iCode, frame.pc); frame.pc += 2; continue Loop; case Icode_INTNUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = getInt(iCode, frame.pc); frame.pc += 4; continue Loop; case Token.NUMBER : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = frame.idata.itsDoubleTable[indexReg]; continue Loop; case Token.NAME : stack[++stackTop] = ScriptRuntime.name(cx, frame.scope, stringReg); continue Loop; case Icode_NAME_INC_DEC : stack[++stackTop] = ScriptRuntime.nameIncrDecr(frame.scope, stringReg, iCode[frame.pc]); ++frame.pc; continue Loop; case Icode_SETVAR1: indexReg = iCode[frame.pc++]; // fallthrough case Token.SETVAR : if (!frame.useActivation) { vars[indexReg] = stack[stackTop]; varDbls[indexReg] = sDbl[stackTop]; } else { Object val = stack[stackTop]; if (val == DBL_MRK) val = ScriptRuntime.wrapNumber(sDbl[stackTop]); stringReg = frame.idata.argNames[indexReg]; frame.scope.put(stringReg, frame.scope, val); } continue Loop; case Icode_GETVAR1: indexReg = iCode[frame.pc++]; // fallthrough case Token.GETVAR : ++stackTop; if (!frame.useActivation) { stack[stackTop] = vars[indexReg]; sDbl[stackTop] = varDbls[indexReg]; } else { stringReg = frame.idata.argNames[indexReg]; stack[stackTop] = frame.scope.get(stringReg, frame.scope); } continue Loop; case Icode_VAR_INC_DEC : { // indexReg : varindex ++stackTop; int incrDecrMask = iCode[frame.pc]; if (!frame.useActivation) { stack[stackTop] = DBL_MRK; Object varValue = vars[indexReg]; double d; if (varValue == DBL_MRK) { d = varDbls[indexReg]; } else { d = ScriptRuntime.toNumber(varValue); vars[indexReg] = DBL_MRK; } double d2 = ((incrDecrMask & Node.DECR_FLAG) == 0) ? d + 1.0 : d - 1.0; varDbls[indexReg] = d2; sDbl[stackTop] = ((incrDecrMask & Node.POST_FLAG) == 0) ? d2 : d; } else { String varName = frame.idata.argNames[indexReg]; stack[stackTop] = ScriptRuntime.nameIncrDecr(frame.scope, varName, incrDecrMask); } ++frame.pc; continue Loop; } case Icode_ZERO : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 0; continue Loop; case Icode_ONE : ++stackTop; stack[stackTop] = DBL_MRK; sDbl[stackTop] = 1; continue Loop; case Token.NULL : stack[++stackTop] = null; continue Loop; case Token.THIS : stack[++stackTop] = frame.thisObj; continue Loop; case Token.THISFN : stack[++stackTop] = frame.fnOrScript; continue Loop; case Token.FALSE : stack[++stackTop] = Boolean.FALSE; continue Loop; case Token.TRUE : stack[++stackTop] = Boolean.TRUE; continue Loop; case Icode_UNDEF : stack[++stackTop] = undefined; continue Loop; case Token.ENTERWITH : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = ScriptRuntime.wrapNumber(sDbl[stackTop]); --stackTop; frame.scope = ScriptRuntime.enterWith(lhs, cx, frame.scope); continue Loop; } case Token.LEAVEWITH : frame.scope = ScriptRuntime.leaveWith(frame.scope); continue Loop; case Token.CATCH_SCOPE : { // stack top: exception object // stringReg: name of exception variable // indexReg: local for exception scope --stackTop; indexReg += frame.localShift; boolean afterFirstScope = (frame.idata.itsICode[frame.pc] != 0); Throwable caughtException = (Throwable)stack[stackTop + 1]; Scriptable lastCatchScope; if (!afterFirstScope) { lastCatchScope = null; } else { lastCatchScope = (Scriptable)stack[indexReg]; } stack[indexReg] = ScriptRuntime.newCatchScope(caughtException, lastCatchScope, stringReg, cx, frame.scope); ++frame.pc; continue Loop; } case Token.ENUM_INIT_KEYS : case Token.ENUM_INIT_VALUES : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = ScriptRuntime.wrapNumber(sDbl[stackTop]); --stackTop; indexReg += frame.localShift; stack[indexReg] = ScriptRuntime.enumInit( lhs, cx, (op == Token.ENUM_INIT_VALUES)); continue Loop; } case Token.ENUM_NEXT : case Token.ENUM_ID : { indexReg += frame.localShift; Object val = stack[indexReg]; ++stackTop; stack[stackTop] = (op == Token.ENUM_NEXT) ? (Object)ScriptRuntime.enumNext(val) : (Object)ScriptRuntime.enumId(val, cx); continue Loop; } case Token.REF_SPECIAL : { //stringReg: name of special property Object obj = stack[stackTop]; if (obj == DBL_MRK) obj = ScriptRuntime.wrapNumber(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.specialRef(obj, stringReg, cx); continue Loop; } case Token.REF_MEMBER: { //indexReg: flags Object elem = stack[stackTop]; if (elem == DBL_MRK) elem = ScriptRuntime.wrapNumber(sDbl[stackTop]); --stackTop; Object obj = stack[stackTop]; if (obj == DBL_MRK) obj = ScriptRuntime.wrapNumber(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.memberRef(obj, elem, cx, indexReg); continue Loop; } case Token.REF_NS_MEMBER: { //indexReg: flags Object elem = stack[stackTop]; if (elem == DBL_MRK) elem = ScriptRuntime.wrapNumber(sDbl[stackTop]); --stackTop; Object ns = stack[stackTop]; if (ns == DBL_MRK) ns = ScriptRuntime.wrapNumber(sDbl[stackTop]); --stackTop; Object obj = stack[stackTop]; if (obj == DBL_MRK) obj = ScriptRuntime.wrapNumber(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.memberRef(obj, ns, elem, cx, indexReg); continue Loop; } case Token.REF_NAME: { //indexReg: flags Object name = stack[stackTop]; if (name == DBL_MRK) name = ScriptRuntime.wrapNumber(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.nameRef(name, cx, frame.scope, indexReg); continue Loop; } case Token.REF_NS_NAME: { //indexReg: flags Object name = stack[stackTop]; if (name == DBL_MRK) name = ScriptRuntime.wrapNumber(sDbl[stackTop]); --stackTop; Object ns = stack[stackTop]; if (ns == DBL_MRK) ns = ScriptRuntime.wrapNumber(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.nameRef(ns, name, cx, frame.scope, indexReg); continue Loop; } case Icode_SCOPE_LOAD : indexReg += frame.localShift; frame.scope = (Scriptable)stack[indexReg]; continue Loop; case Icode_SCOPE_SAVE : indexReg += frame.localShift; stack[indexReg] = frame.scope; continue Loop; case Icode_CLOSURE_EXPR : stack[++stackTop] = InterpretedFunction.createFunction(cx, frame.scope, frame.fnOrScript, indexReg); continue Loop; case Icode_CLOSURE_STMT : initFunction(cx, frame.scope, frame.fnOrScript, indexReg); continue Loop; case Token.REGEXP : stack[++stackTop] = frame.scriptRegExps[indexReg]; continue Loop; case Icode_LITERAL_NEW : // indexReg: number of values in the literal ++stackTop; stack[stackTop] = new Object[indexReg]; sDbl[stackTop] = 0; continue Loop; case Icode_LITERAL_SET : { Object value = stack[stackTop]; if (value == DBL_MRK) value = ScriptRuntime.wrapNumber(sDbl[stackTop]); --stackTop; int i = (int)sDbl[stackTop]; ((Object[])stack[stackTop])[i] = value; sDbl[stackTop] = i + 1; continue Loop; } case Token.ARRAYLIT : case Icode_SPARE_ARRAYLIT : case Token.OBJECTLIT : { Object[] data = (Object[])stack[stackTop]; Object val; if (op == Token.OBJECTLIT) { Object[] ids = (Object[])frame.idata.literalIds[indexReg]; val = ScriptRuntime.newObjectLiteral(ids, data, cx, frame.scope); } else { int[] skipIndexces = null; if (op == Icode_SPARE_ARRAYLIT) { skipIndexces = (int[])frame.idata.literalIds[indexReg]; } val = ScriptRuntime.newArrayLiteral(data, skipIndexces, cx, frame.scope); } stack[stackTop] = val; continue Loop; } case Icode_ENTERDQ : { Object lhs = stack[stackTop]; if (lhs == DBL_MRK) lhs = ScriptRuntime.wrapNumber(sDbl[stackTop]); --stackTop; frame.scope = ScriptRuntime.enterDotQuery(lhs, frame.scope); continue Loop; } case Icode_LEAVEDQ : { boolean valBln = stack_boolean(frame, stackTop); Object x = ScriptRuntime.updateDotQuery(valBln, frame.scope); if (x != null) { stack[stackTop] = x; frame.scope = ScriptRuntime.leaveDotQuery(frame.scope); frame.pc += 2; continue Loop; } // reset stack and PC to code after ENTERDQ --stackTop; break jumplessRun; } case Token.DEFAULTNAMESPACE : { Object value = stack[stackTop]; if (value == DBL_MRK) value = ScriptRuntime.wrapNumber(sDbl[stackTop]); stack[stackTop] = ScriptRuntime.setDefaultNamespace(value, cx); continue Loop; } case Token.ESCXMLATTR : { Object value = stack[stackTop]; if (value != DBL_MRK) { stack[stackTop] = ScriptRuntime.escapeAttributeValue(value, cx); } continue Loop; } case Token.ESCXMLTEXT : { Object value = stack[stackTop]; if (value != DBL_MRK) { stack[stackTop] = ScriptRuntime.escapeTextValue(value, cx); } continue Loop; } case Icode_LINE : frame.pcSourceLineStart = frame.pc; if (frame.debuggerFrame != null) { int line = getIndex(iCode, frame.pc); frame.debuggerFrame.onLineChange(cx, line); } frame.pc += 2; continue Loop; case Icode_REG_IND_C0: indexReg = 0; continue Loop; case Icode_REG_IND_C1: indexReg = 1; continue Loop; case Icode_REG_IND_C2: indexReg = 2; continue Loop; case Icode_REG_IND_C3: indexReg = 3; continue Loop; case Icode_REG_IND_C4: indexReg = 4; continue Loop; case Icode_REG_IND_C5: indexReg = 5; continue Loop; case Icode_REG_IND1: indexReg = 0xFF & iCode[frame.pc]; ++frame.pc; continue Loop; case Icode_REG_IND2: indexReg = getIndex(iCode, frame.pc); frame.pc += 2; continue Loop; case Icode_REG_IND4: indexReg = getInt(iCode, frame.pc); frame.pc += 4; continue Loop; case Icode_REG_STR_C0: stringReg = strings[0]; continue Loop; case Icode_REG_STR_C1: stringReg = strings[1]; continue Loop; case Icode_REG_STR_C2: stringReg = strings[2]; continue Loop; case Icode_REG_STR_C3: stringReg = strings[3]; continue Loop; case Icode_REG_STR1: stringReg = strings[0xFF & iCode[frame.pc]]; ++frame.pc; continue Loop; case Icode_REG_STR2: stringReg = strings[getIndex(iCode, frame.pc)]; frame.pc += 2; continue Loop; case Icode_REG_STR4: stringReg = strings[getInt(iCode, frame.pc)]; frame.pc += 4; continue Loop; default : dumpICode(frame.idata); throw new RuntimeException( "Unknown icode : "+op+" @ pc : "+(frame.pc-1));} // end of interpreter switch } // end of jumplessRun label block // This should be reachable only for jump implementation // when pc points to encoded target offset if (instructionCounting) { addInstructionCount(cx, frame, 2); } int offset = getShort(iCode, frame.pc); if (offset != 0) { // -1 accounts for pc pointing to jump opcode + 1 frame.pc += offset - 1; } else { frame.pc = frame.idata.longJumps. getExistingInt(frame.pc); } if (instructionCounting) { frame.pcPrevBranch = frame.pc; } continue Loop; } // end of Loop: for exitFrame(cx, frame, null); interpreterResult = frame.result; interpreterResultDbl = frame.resultDbl; if (frame.parentFrame != null) { frame = frame.parentFrame; if (frame.frozen) { frame = frame.cloneFrozen(); } setCallResult( frame, interpreterResult, interpreterResultDbl); interpreterResult = null; // Help GC continue StateLoop; } break StateLoop; } // end of interpreter withoutExceptions: try catch (Throwable ex) { if (throwable != null) { // This is serious bug and it is better to track it ASAP ex.printStackTrace(System.err); throw new IllegalStateException(); } throwable = ex; } // This should be reachable only after above catch or from // finally when it needs to propagate exception or from // explicit throw if (throwable == null) Kit.codeBug(); // Exception type final int EX_CATCH_STATE = 2; // Can execute JS catch final int EX_FINALLY_STATE = 1; // Can execute JS finally final int EX_NO_JS_STATE = 0; // Terminate JS execution int exState; ContinuationJump cjump = null; if (throwable instanceof JavaScriptException) { exState = EX_CATCH_STATE; } else if (throwable instanceof EcmaError) { // an offical ECMA error object, exState = EX_CATCH_STATE; } else if (throwable instanceof EvaluatorException) { exState = EX_CATCH_STATE; } else if (throwable instanceof RuntimeException) { exState = EX_FINALLY_STATE; } else if (throwable instanceof Error) { exState = EX_NO_JS_STATE; } else { // It must be ContinuationJump exState = EX_FINALLY_STATE; cjump = (ContinuationJump)throwable; } if (instructionCounting) { try { addInstructionCount(cx, frame, EXCEPTION_COST); } catch (RuntimeException ex) { throwable = ex; exState = EX_FINALLY_STATE; } catch (Error ex) { // Error from instruction counting // => unconditionally terminate JS throwable = ex; cjump = null; exState = EX_NO_JS_STATE; } } if (frame.debuggerFrame != null && throwable instanceof RuntimeException) { // Call debugger only for RuntimeException RuntimeException rex = (RuntimeException)throwable; try { frame.debuggerFrame.onExceptionThrown(cx, rex); } catch (Throwable ex) { // Any exception from debugger // => unconditionally terminate JS throwable = ex; cjump = null; exState = EX_NO_JS_STATE; } } for (;;) { if (exState != EX_NO_JS_STATE) { boolean onlyFinally = (exState != EX_CATCH_STATE); indexReg = getExceptionHandler(frame, onlyFinally); if (indexReg >= 0) { // We caught an exception, restart the loop // with exception pending the processing at the loop // start continue StateLoop; } } // No allowed execption handlers in this frame, unwind // to parent and try to look there exitFrame(cx, frame, throwable); frame = frame.parentFrame; if (frame == null) { break; } if (cjump != null && cjump.branchFrame == frame) { // Continuation branch point was hit, // restart the state loop to reenter continuation indexReg = -1; continue StateLoop; } } // No more frames, rethrow the exception or deal with continuation if (cjump != null) { if (cjump.branchFrame != null) { // The above loop should locate the top frame Kit.codeBug(); } if (cjump.capturedFrame != null) { // Restarting detached continuation indexReg = -1; continue StateLoop; } // Return continuation result to the caller interpreterResult = cjump.result; interpreterResultDbl = cjump.resultDbl; throwable = null; } break StateLoop; } // end of StateLoop: for(;;) // Do cleanups/restorations before the final return or throw if (cx.previousInterpreterInvocations != null && cx.previousInterpreterInvocations.size() != 0) { cx.lastInterpreterFrame = cx.previousInterpreterInvocations.pop(); } else { // It was the last interpreter frame on the stack cx.lastInterpreterFrame = null; // Force GC of the value cx.previousInterpreterInvocations cx.previousInterpreterInvocations = null; } if (throwable != null) { if (throwable instanceof RuntimeException) { throw (RuntimeException)throwable; } else { // Must be instance of Error or code bug throw (Error)throwable; } } return (interpreterResult != DBL_MRK) ? interpreterResult : ScriptRuntime.wrapNumber(interpreterResultDbl); }
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/90ebe1bf30876ca8ca8a098496166e8475268746/Interpreter.java/buggy/js/rhino/src/org/mozilla/javascript/Interpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 1033, 10634, 6452, 12, 1042, 9494, 16, 3049, 3219, 2623, 16, 4766, 3639, 1033, 10132, 13, 565, 288, 3639, 368, 10132, 14798, 1520, 733, 358, 22225, 578, 1044, 3639, 368, 2597, 353, 2546, 1399, 364, 17378, 7870, 316, 1492, 648, 3639, 368, 518, 14798, 1816, 23946, 26743, 3639, 727, 1033, 2383, 48, 67, 23464, 47, 273, 14584, 1805, 18, 17088, 67, 12693, 31, 3639, 727, 1033, 3109, 273, 22243, 18, 1336, 31, 3639, 727, 1250, 7592, 1380, 310, 273, 261, 71, 92, 18, 19116, 7614, 480, 374, 1769, 3639, 368, 11078, 1300, 358, 527, 358, 7592, 1380, 1347, 4440, 3639, 368, 1308, 4186, 3639, 727, 509, 2120, 16169, 8506, 67, 28343, 273, 2130, 31, 3639, 368, 11078, 1520, 6991, 364, 7592, 22075, 3639, 727, 509, 23136, 67, 28343, 273, 2130, 31, 3639, 514, 533, 1617, 273, 446, 31, 3639, 509, 770, 1617, 273, 300, 21, 31, 3639, 309, 261, 71, 92, 18, 2722, 30010, 3219, 480, 446, 13, 288, 5411, 368, 1923, 326, 1760, 2623, 628, 326, 2416, 16048, 6452, 5411, 368, 9495, 603, 326, 2110, 5411, 309, 261, 71, 92, 18, 11515, 30010, 3605, 17448, 422, 446, 13, 288, 7734, 9494, 18, 11515, 30010, 3605, 17448, 273, 394, 18760, 1076, 5621, 5411, 289, 5411, 9494, 18, 11515, 30010, 3605, 17448, 18, 6206, 12, 71, 92, 18, 2722, 30010, 3219, 1769, 3639, 289, 3639, 368, 5203, 7870, 310, 17378, 10132, 353, 486, 446, 471, 358, 11833, 3639, 368, 358, 326, 981, 716, 12881, 17378, 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, 1033, 10634, 6452, 12, 1042, 9494, 16, 3049, 3219, 2623, 16, 4766, 3639, 1033, 10132, 13, 565, 288, 3639, 368, 10132, 14798, 1520, 733, 358, 22225, 578, 1044, 3639, 368, 2597, 353, 2546, 1399, 364, 17378, 7870, 316, 1492, 648, 3639, 368, 518, 14798, 1816, 23946, 26743, 3639, 727, 1033, 2383, 48, 67, 23464, 47, 273, 14584, 1805, 18, 17088, 67, 12693, 31, 3639, 727, 1033, 3109, 273, 22243, 18, 1336, 31, 3639, 727, 1250, 7592, 1380, 310, 273, 261, 71, 92, 18, 19116, 7614, 480, 374, 1769, 3639, 368, 11078, 1300, 358, 527, 358, 7592, 1380, 1347, 4440, 3639, 368, 1308, 4186, 3639, 727, 509, 2120, 16169, 8506, 67, 28343, 273, 2130, 31, 3639, 368, 2 ]
if (missile.m_CurrentLocation.x < location.x) {
if (missile.getCurrentLocation().x < location.x) {
public int checkIncoming(MapPoint location) { int incoming = 0; ListIterator iter = m_Flying.listIterator(); while (iter.hasNext()) { Missile missile = (Missile)iter.next(); if (missile.m_CurrentLocation.x == location.x) { // We're in the same row if (missile.m_CurrentLocation.y < location.y) { // The missile is above us if (missile.m_Direction == WorldEntity.kSouthInt) { // and travelling toward us incoming |= WorldEntity.kNorthInt; } } else { // The missile is below us if (missile.m_Direction == WorldEntity.kNorthInt) { // and travelling toward us incoming |= WorldEntity.kSouthInt; } } } if (missile.m_CurrentLocation.y == location.y) { // We're in the same column if (missile.m_CurrentLocation.x < location.x) { // The missile is to our left if (missile.m_Direction == WorldEntity.kEastInt) { // and travelling toward us incoming |= WorldEntity.kWestInt; } } else { // The missile is to our right if (missile.m_Direction == WorldEntity.kWestInt) { // and travelling toward us incoming |= WorldEntity.kEastInt; } } } } return incoming; }
47007 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47007/8f506366ac134b2b2bfdfc39a4aa4a0296f919b2/TankSoarWorld.java/clean/SoarSuite/Environments/JavaTankSoar/source/tanksoar/TankSoarWorld.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 565, 202, 482, 509, 866, 20370, 12, 863, 2148, 2117, 13, 288, 202, 565, 202, 202, 474, 6935, 273, 374, 31, 202, 565, 202, 202, 682, 3198, 1400, 273, 312, 67, 42, 6291, 18, 1098, 3198, 5621, 202, 565, 202, 202, 17523, 261, 2165, 18, 5332, 2134, 10756, 288, 202, 565, 1082, 202, 27797, 398, 12543, 398, 273, 261, 27797, 398, 13, 2165, 18, 4285, 5621, 202, 565, 1082, 202, 430, 261, 3105, 398, 18, 81, 67, 3935, 2735, 18, 92, 422, 2117, 18, 92, 13, 288, 202, 565, 9506, 202, 759, 1660, 4565, 316, 326, 1967, 1027, 202, 565, 9506, 202, 430, 261, 3105, 398, 18, 81, 67, 3935, 2735, 18, 93, 411, 2117, 18, 93, 13, 288, 202, 565, 6862, 202, 759, 1021, 12543, 398, 353, 5721, 584, 202, 565, 6862, 202, 430, 261, 3105, 398, 18, 81, 67, 8212, 422, 21820, 1943, 18, 79, 55, 15347, 1702, 13, 288, 202, 565, 25083, 202, 759, 471, 29090, 2456, 358, 2913, 584, 202, 565, 25083, 202, 31033, 5626, 21820, 1943, 18, 79, 50, 7825, 1702, 31, 202, 565, 6862, 202, 97, 202, 565, 9506, 202, 97, 469, 288, 202, 565, 6862, 202, 759, 1021, 12543, 398, 353, 5712, 584, 202, 565, 6862, 202, 430, 261, 3105, 398, 18, 81, 67, 8212, 422, 21820, 1943, 18, 79, 50, 7825, 1702, 13, 288, 202, 565, 25083, 202, 759, 471, 29090, 2456, 358, 2913, 584, 202, 565, 25083, 202, 31033, 5626, 21820, 1943, 18, 79, 55, 15347, 1702, 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, 3196, 565, 202, 482, 509, 866, 20370, 12, 863, 2148, 2117, 13, 288, 202, 565, 202, 202, 474, 6935, 273, 374, 31, 202, 565, 202, 202, 682, 3198, 1400, 273, 312, 67, 42, 6291, 18, 1098, 3198, 5621, 202, 565, 202, 202, 17523, 261, 2165, 18, 5332, 2134, 10756, 288, 202, 565, 1082, 202, 27797, 398, 12543, 398, 273, 261, 27797, 398, 13, 2165, 18, 4285, 5621, 202, 565, 1082, 202, 430, 261, 3105, 398, 18, 81, 67, 3935, 2735, 18, 92, 422, 2117, 18, 92, 13, 288, 202, 565, 9506, 202, 759, 1660, 4565, 316, 326, 1967, 1027, 202, 565, 9506, 202, 430, 261, 3105, 398, 18, 81, 67, 3935, 2735, 18, 93, 411, 2117, 18, 93, 13, 2 ]
set(parameterIndex, (new Integer(x)).toString());
set(parameterIndex, Integer.toString(x));
public void setShort(int parameterIndex, short x) throws SQLException { set(parameterIndex, (new Integer(x)).toString()); }
45672 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45672/49740c5fb99094b3942d7b8588f545907fd17074/PreparedStatement.java/clean/src/interfaces/jdbc/org/postgresql/jdbc1/PreparedStatement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 4897, 12, 474, 25412, 16, 3025, 619, 13, 1216, 6483, 202, 95, 202, 202, 542, 12, 6775, 1016, 16, 261, 2704, 2144, 12, 92, 13, 2934, 10492, 10663, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 444, 4897, 12, 474, 25412, 16, 3025, 619, 13, 1216, 6483, 202, 95, 202, 202, 542, 12, 6775, 1016, 16, 261, 2704, 2144, 12, 92, 13, 2934, 10492, 10663, 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 ]
existsPropertyValue = existingProperty.getStructureValue() != null;
existsPropertyValue = existingProperty.getStructureValue() != null;
public void writePropertyObject(CmsProject project, CmsResource resource, CmsProperty property) throws CmsException { CmsPropertydefinition propertyDefinition = null; PreparedStatement stmt = null; Connection conn = null; String value = null; int mappingType = -1; CmsUUID id = null; CmsProperty existingProperty = null; boolean existsPropertyValue = false; boolean deletePropertyValue = false; try { // read the property definition propertyDefinition = readPropertyDefinition(property.getKey(), project.getId(), resource.getType()); } catch (CmsException e) { propertyDefinition = null; } if (propertyDefinition == null) { if (property.autoCreatePropertyDefinition()) { // create a missing property definition optionally propertyDefinition = createPropertyDefinition(property.getKey(), project.getId(), resource.getType()); if (project.getId() >= 0) { try { // create the property definition implicitly in the backup tables m_driverManager.getBackupDriver().createBackupPropertyDefinition(property.getKey(), resource.getType()); } catch (Exception e) { if (OpenCms.getLog(this).isErrorEnabled()) { OpenCms.getLog(this).error("[" + this.getClass().getName() + "] " + e.toString()); } } } } else { throw new CmsException("[" + this.getClass().getName() + ".writePropertyObject/1] " + property.getKey(), CmsException.C_NOT_FOUND); } } String resourceName = resource.getRootPath(); if (resource.isFolder() && !resourceName.endsWith(I_CmsConstants.C_FOLDER_SEPARATOR)) { resourceName += I_CmsConstants.C_FOLDER_SEPARATOR; } try { // read the existing property to test if we need the // insert or update query to write a property value existingProperty = readPropertyObject(propertyDefinition.getName(), project, resource); conn = m_sqlManager.getConnection(project.getId()); for (int i = 0; i < 2; i++) { mappingType = -1; value = null; id = null; existsPropertyValue = false; deletePropertyValue = false; // 1) take any required decisions to choose and fill the correct SQL query if (i == 0) { // write/delete the *structure value* on the first cycle if (existingProperty.getStructureValue() != null && property.deleteStructureValue()) { // this property value is marked to be deleted deletePropertyValue = true; } else { value = property.getStructureValue(); if (value == null || (value != null && "".equalsIgnoreCase(value.trim()))) { // no structure value set or the structure value is an empty string, // continue with the resource value continue; } } // set the vars to be written to the database mappingType = CmsProperty.C_STRUCTURE_RECORD_MAPPING; id = resource.getStructureId(); existsPropertyValue = existingProperty.getStructureValue() != null; } else if (i == 1) { // write/delete the *resource value* on the second cycle if (existingProperty.getResourceValue() != null && property.deleteResourceValue()) { // this property value is marked to be deleted deletePropertyValue = true; } else { value = property.getResourceValue(); if (value == null || (value != null && "".equalsIgnoreCase(value.trim()))) { // no resource value set or the resource value is an empty string, // break out of the loop break; } } // set the vars to be written to the database mappingType = CmsProperty.C_RESOURCE_RECORD_MAPPING; id = resource.getResourceId(); existsPropertyValue = existingProperty.getResourceValue() != null; } // 2) execute the SQL query if (!deletePropertyValue) { // insert/update the property value if (existsPropertyValue) { // {structure|resource} property value already exists- use update statement stmt = m_sqlManager.getPreparedStatement(conn, project.getId(), "C_PROPERTIES_UPDATE"); stmt.setString(1, m_sqlManager.validateNull(value)); stmt.setString(2, id.toString()); stmt.setInt(3, mappingType); stmt.setInt(4, propertyDefinition.getId()); } else { // {structure|resource} property value doesen't exist- use create statement stmt = m_sqlManager.getPreparedStatement(conn, project.getId(), "C_PROPERTIES_CREATE"); stmt.setInt(1, m_sqlManager.nextId(project.getId(), m_sqlManager.readQuery(project.getId(), "C_TABLE_PROPERTIES"))); stmt.setInt(2, propertyDefinition.getId()); stmt.setString(3, id.toString()); stmt.setInt(4, mappingType); stmt.setString(5, m_sqlManager.validateNull(value)); } } else { // {structure|resource} property value marked as deleted- use delete statement stmt = m_sqlManager.getPreparedStatement(conn, project.getId(), "C_PROPERTIES_DELETE"); stmt.setInt(1, propertyDefinition.getId()); stmt.setString(2, id.toString()); stmt.setInt(3, mappingType); } stmt.executeUpdate(); m_sqlManager.closeAll(null, stmt, null); } } catch (SQLException e) { throw m_sqlManager.getCmsException(this, null, CmsException.C_SQL_ERROR, e, false); } catch (Exception ex) { throw m_sqlManager.getCmsException(this, null, CmsException.C_UNKNOWN_EXCEPTION, ex, false); } finally { m_sqlManager.closeAll(conn, stmt, null); } }
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/68c9e9c7544dbe145bdf51a3ae62c07cb8894073/CmsVfsDriver.java/buggy/src/org/opencms/db/generic/CmsVfsDriver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1045, 1396, 921, 12, 4747, 4109, 1984, 16, 7630, 1058, 16, 18505, 1272, 13, 1216, 11228, 288, 3639, 18505, 6907, 1272, 1852, 273, 446, 31, 3639, 16913, 3480, 273, 446, 31, 3639, 4050, 1487, 273, 446, 31, 3639, 514, 460, 273, 446, 31, 3639, 509, 2874, 559, 273, 300, 21, 31, 3639, 15792, 612, 273, 446, 31, 3639, 18505, 2062, 1396, 273, 446, 31, 3639, 1250, 1704, 16107, 273, 629, 31, 3639, 1250, 1430, 16107, 273, 629, 31, 3639, 775, 288, 5411, 368, 855, 326, 1272, 2379, 5411, 1272, 1852, 273, 855, 1396, 1852, 12, 4468, 18, 588, 653, 9334, 1984, 18, 26321, 9334, 1058, 18, 588, 559, 10663, 3639, 289, 1044, 261, 4747, 503, 425, 13, 288, 5411, 1272, 1852, 273, 446, 31, 3639, 289, 3639, 309, 261, 4468, 1852, 422, 446, 13, 288, 5411, 309, 261, 4468, 18, 6079, 1684, 1396, 1852, 10756, 288, 7734, 368, 752, 279, 3315, 1272, 2379, 8771, 7734, 1272, 1852, 273, 31318, 1852, 12, 4468, 18, 588, 653, 9334, 1984, 18, 26321, 9334, 1058, 18, 588, 559, 10663, 7734, 309, 261, 4406, 18, 26321, 1435, 1545, 374, 13, 288, 10792, 775, 288, 13491, 368, 752, 326, 1272, 2379, 24682, 316, 326, 5114, 4606, 13491, 312, 67, 7407, 1318, 18, 588, 6248, 4668, 7675, 2640, 6248, 1396, 1852, 12, 4468, 18, 588, 653, 9334, 1058, 18, 588, 559, 10663, 10792, 289, 1044, 261, 503, 425, 13, 288, 13491, 309, 261, 3678, 4747, 18, 588, 1343, 12, 2211, 2934, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1045, 1396, 921, 12, 4747, 4109, 1984, 16, 7630, 1058, 16, 18505, 1272, 13, 1216, 11228, 288, 3639, 18505, 6907, 1272, 1852, 273, 446, 31, 3639, 16913, 3480, 273, 446, 31, 3639, 4050, 1487, 273, 446, 31, 3639, 514, 460, 273, 446, 31, 3639, 509, 2874, 559, 273, 300, 21, 31, 3639, 15792, 612, 273, 446, 31, 3639, 18505, 2062, 1396, 273, 446, 31, 3639, 1250, 1704, 16107, 273, 629, 31, 3639, 1250, 1430, 16107, 273, 629, 31, 3639, 775, 288, 5411, 368, 855, 326, 1272, 2379, 5411, 1272, 1852, 273, 855, 1396, 1852, 12, 4468, 18, 588, 653, 9334, 1984, 18, 26321, 9334, 1058, 18, 588, 559, 10663, 3639, 289, 1044, 261, 4747, 503, 425, 2 ]
if (state == true) {
if (state) {
public String getStateLabel(boolean state) { if (state == true) { return this.trueStateLabel; } else { return this.falseStateLabel; } }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/54d708538f2f67ba81397354eb2e290aa7fd425c/BooleanControl.java/buggy/modules/sound/src/main/java/javax/sound/sampled/BooleanControl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 8997, 2224, 12, 6494, 919, 13, 288, 3639, 309, 261, 2019, 13, 288, 5411, 327, 333, 18, 3767, 1119, 2224, 31, 3639, 289, 469, 288, 5411, 327, 333, 18, 5743, 1119, 2224, 31, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 8997, 2224, 12, 6494, 919, 13, 288, 3639, 309, 261, 2019, 13, 288, 5411, 327, 333, 18, 3767, 1119, 2224, 31, 3639, 289, 469, 288, 5411, 327, 333, 18, 5743, 1119, 2224, 31, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if ( featureID >= 0 )
switch ( featureID )
public NotificationChain eInverseRemove( InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs ) { if ( featureID >= 0 ) { switch ( eDerivedStructuralFeatureID( featureID, baseClass ) ) { case LayoutPackage.PLOT__CHILDREN : return ( (InternalEList) getChildren( ) ).basicRemove( otherEnd, msgs ); case LayoutPackage.PLOT__BOUNDS : return basicSetBounds( null, msgs ); case LayoutPackage.PLOT__INSETS : return basicSetInsets( null, msgs ); case LayoutPackage.PLOT__MIN_SIZE : return basicSetMinSize( null, msgs ); case LayoutPackage.PLOT__OUTLINE : return basicSetOutline( null, msgs ); case LayoutPackage.PLOT__BACKGROUND : return basicSetBackground( null, msgs ); case LayoutPackage.PLOT__TRIGGERS : return ( (InternalEList) getTriggers( ) ).basicRemove( otherEnd, msgs ); case LayoutPackage.PLOT__CLIENT_AREA : return basicSetClientArea( null, msgs ); default : return eDynamicInverseRemove( otherEnd, featureID, baseClass, msgs ); } } return eBasicSetContainer( null, featureID, msgs ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/036e8c78765730b146e5854b9d6c397a296fed86/PlotImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/layout/impl/PlotImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 27050, 425, 16376, 3288, 12, 3186, 8029, 1308, 1638, 16, 1082, 202, 474, 6966, 16, 1659, 23955, 16, 27050, 8733, 262, 202, 95, 202, 202, 430, 261, 6966, 1545, 374, 262, 202, 202, 95, 1082, 202, 9610, 261, 425, 21007, 14372, 4595, 734, 12, 6966, 16, 23955, 262, 262, 1082, 202, 95, 9506, 202, 3593, 9995, 2261, 18, 20485, 56, 972, 27043, 24296, 294, 6862, 202, 2463, 261, 261, 3061, 41, 682, 13, 10268, 12, 262, 262, 18, 13240, 3288, 12, 1308, 1638, 16, 6862, 1082, 202, 27439, 11272, 9506, 202, 3593, 9995, 2261, 18, 20485, 56, 972, 5315, 2124, 3948, 294, 6862, 202, 2463, 5337, 694, 5694, 12, 446, 16, 8733, 11272, 9506, 202, 3593, 9995, 2261, 18, 20485, 56, 972, 706, 28092, 294, 6862, 202, 2463, 5337, 694, 382, 4424, 12, 446, 16, 8733, 11272, 9506, 202, 3593, 9995, 2261, 18, 20485, 56, 972, 6236, 67, 4574, 294, 6862, 202, 2463, 5337, 694, 2930, 1225, 12, 446, 16, 8733, 11272, 9506, 202, 3593, 9995, 2261, 18, 20485, 56, 972, 5069, 5997, 294, 6862, 202, 2463, 5337, 694, 21805, 12, 446, 16, 8733, 11272, 9506, 202, 3593, 9995, 2261, 18, 20485, 56, 972, 8720, 20166, 294, 6862, 202, 2463, 5337, 694, 8199, 12, 446, 16, 8733, 11272, 9506, 202, 3593, 9995, 2261, 18, 20485, 56, 972, 6566, 27399, 55, 294, 6862, 202, 2463, 261, 261, 3061, 41, 682, 13, 336, 15114, 12, 262, 262, 18, 13240, 3288, 12, 1308, 1638, 16, 6862, 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, 27050, 425, 16376, 3288, 12, 3186, 8029, 1308, 1638, 16, 1082, 202, 474, 6966, 16, 1659, 23955, 16, 27050, 8733, 262, 202, 95, 202, 202, 430, 261, 6966, 1545, 374, 262, 202, 202, 95, 1082, 202, 9610, 261, 425, 21007, 14372, 4595, 734, 12, 6966, 16, 23955, 262, 262, 1082, 202, 95, 9506, 202, 3593, 9995, 2261, 18, 20485, 56, 972, 27043, 24296, 294, 6862, 202, 2463, 261, 261, 3061, 41, 682, 13, 10268, 12, 262, 262, 18, 13240, 3288, 12, 1308, 1638, 16, 6862, 1082, 202, 27439, 11272, 9506, 202, 3593, 9995, 2261, 18, 20485, 56, 972, 5315, 2124, 3948, 294, 6862, 202, 2463, 5337, 694, 5694, 12, 446, 16, 8733, 11272, 9506, 202, 3593, 2 ]
private void writeDOMtoStream(Document document) { // Prepare the DOM document for writing // DOMSource - Acts as a holder for a transformation Source tree in the // form of a Document Object Model (DOM) tree Source source = new DOMSource(document); // StreamResult - Acts as an holder for a XML transformation result // Prepare the output stream result = new StreamResult(outputStream); // An instance of this class can be obtained with the // TransformerFactory.newTransformer method. This instance may // then be used to process XML from a variety of sources and write // the transformation output to a variety of sinks Transformer xformer = null; try { xformer = TransformerFactory.newInstance().newTransformer(); //Transform the XML Source to a Result // xformer.transform(source, result); } catch (TransformerConfigurationException e) { e.printStackTrace(); } catch (TransformerFactoryConfigurationError e) { e.printStackTrace(); } catch (TransformerException e1) { e1.printStackTrace(); } }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/97c961c8634109583a193ad9c89f98db472390cf/TaskscapeXmlWriter.java/clean/org.eclipse.mylyn.context.core/src/org/eclipse/mylyn/core/util/TaskscapeXmlWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 3238, 918, 1045, 8168, 869, 1228, 12, 2519, 1668, 13, 288, 225, 368, 7730, 326, 4703, 1668, 364, 7410, 225, 368, 4703, 1830, 300, 4603, 87, 487, 279, 10438, 364, 279, 8620, 4998, 2151, 316, 326, 759, 646, 434, 279, 4319, 1033, 3164, 261, 8168, 13, 2151, 225, 4998, 1084, 273, 394, 4703, 1830, 12, 5457, 1769, 225, 368, 3961, 1253, 300, 4603, 87, 487, 392, 10438, 364, 279, 3167, 8620, 563, 225, 368, 7730, 326, 876, 1407, 225, 563, 273, 394, 3961, 1253, 12, 2844, 1228, 1769, 368, 1922, 791, 434, 333, 667, 848, 506, 12700, 598, 326, 759, 11519, 1733, 18, 2704, 8319, 225, 707, 18, 1220, 791, 2026, 759, 1508, 506, 1399, 358, 1207, 3167, 628, 279, 1394, 14369, 434, 5550, 471, 1045, 759, 326, 8620, 876, 358, 279, 1394, 14369, 434, 28618, 225, 11519, 619, 7208, 273, 446, 31, 225, 775, 288, 92, 7208, 273, 11519, 1733, 18, 2704, 1442, 7675, 2704, 8319, 5621, 759, 4059, 326, 3167, 4998, 358, 279, 3438, 759, 92, 7208, 18, 6547, 12, 3168, 16, 563, 1769, 225, 289, 1044, 261, 8319, 10737, 425, 13, 288, 73, 18, 1188, 6332, 5621, 225, 289, 1044, 261, 8319, 1733, 1750, 668, 425, 13, 288, 73, 18, 1188, 6332, 5621, 225, 289, 1044, 261, 8319, 503, 425, 21, 13, 288, 73, 21, 18, 1188, 6332, 5621, 225, 289, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 3238, 918, 1045, 8168, 869, 1228, 12, 2519, 1668, 13, 288, 225, 368, 7730, 326, 4703, 1668, 364, 7410, 225, 368, 4703, 1830, 300, 4603, 87, 487, 279, 10438, 364, 279, 8620, 4998, 2151, 316, 326, 759, 646, 434, 279, 4319, 1033, 3164, 261, 8168, 13, 2151, 225, 4998, 1084, 273, 394, 4703, 1830, 12, 5457, 1769, 225, 368, 3961, 1253, 300, 4603, 87, 487, 392, 10438, 364, 279, 3167, 8620, 563, 225, 368, 7730, 326, 876, 1407, 225, 563, 273, 394, 3961, 1253, 12, 2844, 1228, 1769, 368, 1922, 791, 434, 333, 667, 848, 506, 12700, 598, 326, 759, 11519, 1733, 18, 2704, 8319, 225, 707, 18, 1220, 791, 2026, 759, 1508, 506, 1399, 358, 1207, 3167, 2 ]
private void createActions() { ISelectionProvider provider= fViewer;// fOpenCUAction= new OpenResourceAction(provider); fPropertyDialogAction= new PropertyDialogAction(getShell(), provider); // fShowTypeHierarchyAction= new ShowTypeHierarchyAction(provider); fShowNavigatorAction= new ShowInNavigatorAction(provider); fAddBookmarkAction= new AddBookmarkAction(provider); fStandardGroups= new ContextMenuGroup[] { new NewGroup(), new BuildGroup(), new ReorgGroup(), new JavaSearchGroup() }; fDeleteAction= new DeleteAction(provider); fRefreshAction= new RefreshAction(getShell());// fFilterAction = new FilterSelectionAction(getShell(), this, PackagesMessages.getString("PackageExplorer.filters")); //$NON-NLS-1$// fShowLibrariesAction = new ShowLibrariesAction(this, PackagesMessages.getString("PackageExplorer.referencedLibs")); //$NON-NLS-1$// fShowBinariesAction = new ShowBinariesAction(getShell(), this, PackagesMessages.getString("PackageExplorer.binaryProjects")); //$NON-NLS-1$// // fBackAction= new BackAction(fFrameList);// fForwardAction= new ForwardAction(fFrameList);// fZoomInAction= new GoIntoAction(fFrameList);// fUpAction= new UpAction(fFrameList);//// fGotoTypeAction= new GotoTypeAction(this);// fGotoPackageAction= new GotoPackageAction(this); IActionBars actionService= getViewSite().getActionBars(); actionService.setGlobalActionHandler(IWorkbenchActionConstants.DELETE, fDeleteAction); }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/8ef1f2cbdf77210102411bbdb718423e561e0f65/JavaBrowsingPart.java/clean/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 6100, 1435, 288, 202, 202, 45, 6233, 2249, 2893, 33, 284, 18415, 31, 759, 202, 202, 74, 3678, 16001, 1803, 33, 394, 3502, 1420, 1803, 12, 6778, 1769, 202, 202, 74, 1396, 6353, 1803, 33, 394, 4276, 6353, 1803, 12, 588, 13220, 9334, 2893, 1769, 202, 202, 759, 284, 5706, 559, 12074, 1803, 33, 394, 9674, 559, 12074, 1803, 12, 6778, 1769, 202, 202, 74, 5706, 22817, 1803, 33, 394, 9674, 382, 22817, 1803, 12, 6778, 1769, 202, 202, 74, 986, 22966, 1803, 33, 394, 1436, 22966, 1803, 12, 6778, 1769, 9506, 202, 74, 8336, 3621, 33, 394, 1772, 4599, 1114, 8526, 288, 1082, 202, 2704, 1166, 1114, 9334, 1082, 202, 2704, 3998, 1114, 9334, 1082, 202, 2704, 868, 3341, 1114, 9334, 1082, 202, 2704, 5110, 2979, 1114, 1435, 202, 202, 20451, 9506, 202, 74, 2613, 1803, 33, 394, 2504, 1803, 12, 6778, 1769, 202, 202, 74, 8323, 1803, 33, 394, 14179, 1803, 12, 588, 13220, 10663, 759, 202, 202, 74, 1586, 1803, 273, 394, 4008, 6233, 1803, 12, 588, 13220, 9334, 333, 16, 7930, 1023, 5058, 18, 588, 780, 2932, 2261, 20938, 18, 6348, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 759, 202, 202, 74, 5706, 31909, 1803, 273, 394, 9674, 31909, 1803, 12, 2211, 16, 7930, 1023, 5058, 18, 588, 780, 2932, 2261, 20938, 18, 20883, 5664, 87, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 759, 202, 202, 74, 5706, 9913, 5646, 1803, 273, 394, 9674, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 6100, 1435, 288, 202, 202, 45, 6233, 2249, 2893, 33, 284, 18415, 31, 759, 202, 202, 74, 3678, 16001, 1803, 33, 394, 3502, 1420, 1803, 12, 6778, 1769, 202, 202, 74, 1396, 6353, 1803, 33, 394, 4276, 6353, 1803, 12, 588, 13220, 9334, 2893, 1769, 202, 202, 759, 284, 5706, 559, 12074, 1803, 33, 394, 9674, 559, 12074, 1803, 12, 6778, 1769, 202, 202, 74, 5706, 22817, 1803, 33, 394, 9674, 382, 22817, 1803, 12, 6778, 1769, 202, 202, 74, 986, 22966, 1803, 33, 394, 1436, 22966, 1803, 12, 6778, 1769, 9506, 202, 74, 8336, 3621, 33, 394, 1772, 4599, 1114, 8526, 288, 1082, 202, 2704, 1166, 1114, 9334, 1082, 202, 2704, 3998, 1114, 2 ]
returnval=false;
returnval=false;
public boolean addUserGroup(String usergroupname){ boolean returnval=true; try{ usergrouphome.findByPrimaryKey(usergroupname); returnval=false; }catch(FinderException e){ } if(returnval){ try{ usergrouphome.create(usergroupname); returnval=true; }catch(CreateException e){ returnval=false; } } return returnval; } // addUserGroup
4109 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4109/407cb8bf1ba941a903c1e7a6da4d1f73ec87560f/LocalAuthorizationSessionBean.java/clean/src/java/se/anatom/ejbca/ra/authorization/LocalAuthorizationSessionBean.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 527, 21255, 12, 780, 729, 1655, 529, 15329, 1377, 1250, 327, 1125, 33, 3767, 31, 3639, 775, 95, 3639, 729, 1655, 8712, 18, 4720, 858, 11575, 12, 1355, 1655, 529, 1769, 3639, 327, 1125, 33, 5743, 31, 4202, 289, 14683, 12, 8441, 503, 425, 15329, 3639, 289, 1377, 309, 12, 2463, 1125, 15329, 3639, 775, 95, 5411, 729, 1655, 8712, 18, 2640, 12, 1355, 1655, 529, 1769, 5411, 327, 1125, 33, 3767, 31, 3639, 289, 14683, 12, 1684, 503, 425, 15329, 6647, 327, 1125, 33, 5743, 31, 6647, 289, 1377, 289, 1377, 327, 327, 1125, 31, 5411, 289, 368, 527, 21255, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 527, 21255, 12, 780, 729, 1655, 529, 15329, 1377, 1250, 327, 1125, 33, 3767, 31, 3639, 775, 95, 3639, 729, 1655, 8712, 18, 4720, 858, 11575, 12, 1355, 1655, 529, 1769, 3639, 327, 1125, 33, 5743, 31, 4202, 289, 14683, 12, 8441, 503, 425, 15329, 3639, 289, 1377, 309, 12, 2463, 1125, 15329, 3639, 775, 95, 5411, 729, 1655, 8712, 18, 2640, 12, 1355, 1655, 529, 1769, 5411, 327, 1125, 33, 3767, 31, 3639, 289, 14683, 12, 1684, 503, 425, 15329, 6647, 327, 1125, 33, 5743, 31, 6647, 289, 1377, 289, 1377, 327, 327, 1125, 31, 5411, 289, 368, 527, 21255, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void handleFiles(List files) { try { DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); DocumentBuilder db = dbf.newDocumentBuilder(); Document doc = db.newDocument(); Element overviewRoot = Util.addChildElement(doc, "overview-frame", null); doc = db.newDocument(); Element allTagsRoot = Util.addChildElement(doc, "all-tags", null); Iterator iter = files.iterator(); while (iter.hasNext()) { File file = (File) iter.next(); if (!file.exists() || !file.canRead()) { continue; } Document xmlDoc = handleFile(file); if (xmlDoc != null) { String shortname = Util.getElementValue( xmlDoc.getDocumentElement(), "body/taglib/shortname"); Util.addChildElement(overviewRoot, "shortname", shortname); List tags = Util.getElements( xmlDoc.getDocumentElement(), "body/taglib/tag"); Iterator tagIter = tags.iterator(); while (tagIter.hasNext()) { Element tag = (Element) tagIter.next(); String tagname = Util.getElementValue(tag, "name"); tag = Util.addChildElement(allTagsRoot, "tag", null); Util.addChildElement(tag, "name", tagname); Util.addChildElement(tag, "taglib", shortname); } } } Source xml = new DOMSource(overviewRoot); Source xsl = new StreamSource( this.getClass().getResourceAsStream( "/resources/taglibdoc/index.xsl")); Result out = new StreamResult(new File(destdir, "index.html")); TransformerFactory tf = TransformerFactory.newInstance(); Transformer t = tf.newTransformer(xsl); t.transform(xml, out); xsl = new StreamSource( this.getClass().getResourceAsStream( "/resources/taglibdoc/overview-frame.xsl")); out = new StreamResult(new File(destdir, "overview-frame.html")); t = tf.newTransformer(xsl); t.transform(xml, out); xml = new DOMSource(allTagsRoot); xsl = new StreamSource( this.getClass().getResourceAsStream( "/resources/taglibdoc/all-tags.xsl")); out = new StreamResult(new File(destdir, "all-tags.html")); t = tf.newTransformer(xsl); t.transform(xml, out); Util.copyFile( "/resources/taglibdoc/stylesheet.css", new File(destdir, "stylesheet.css")); } catch (Exception e) { e.printStackTrace(); } }
8610 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8610/6c6a574b8da6a8f7989e99ea78e4db5cb63abe6b/TaglibDoc.java/buggy/tag-doc/src/java/org/apache/struts/taskdefs/TaglibDoc.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6459, 4110, 2697, 12, 682, 2354, 15329, 202, 202, 698, 95, 1082, 202, 2519, 20692, 1966, 74, 33, 2519, 20692, 18, 2704, 1442, 5621, 1082, 202, 2519, 1263, 1966, 33, 1966, 74, 18, 2704, 2519, 1263, 5621, 1082, 202, 2519, 2434, 33, 1966, 18, 2704, 2519, 5621, 1082, 202, 1046, 26081, 2375, 33, 9506, 202, 1304, 18, 1289, 1763, 1046, 12, 2434, 10837, 26081, 17, 3789, 3113, 2011, 1769, 1082, 202, 2434, 33, 1966, 18, 2704, 2519, 5621, 1082, 202, 1046, 454, 3453, 2375, 33, 1304, 18, 1289, 1763, 1046, 12, 2434, 10837, 454, 17, 4156, 3113, 2011, 1769, 1082, 202, 3198, 2165, 33, 2354, 18, 9838, 5621, 1082, 202, 17523, 12, 2165, 18, 5332, 2134, 10756, 95, 9506, 202, 812, 768, 28657, 812, 13, 2165, 18, 4285, 5621, 9506, 202, 430, 12, 5, 768, 18, 1808, 1435, 20081, 5, 768, 18, 4169, 1994, 10756, 95, 6862, 202, 17143, 31, 9506, 202, 97, 9506, 202, 2519, 2902, 1759, 33, 4110, 812, 12, 768, 1769, 9506, 202, 430, 12, 2902, 1759, 5, 33, 2011, 15329, 6862, 202, 780, 28650, 33, 25083, 202, 1304, 18, 21336, 620, 12, 6862, 1082, 202, 2902, 1759, 18, 588, 2519, 1046, 9334, 6862, 1082, 202, 6, 3432, 19, 2692, 2941, 19, 28650, 8863, 6862, 202, 1304, 18, 1289, 1763, 1046, 12, 26081, 2375, 10837, 28650, 3113, 28650, 1769, 6862, 202, 682, 4156, 33, 25083, 202, 1304, 18, 588, 3471, 12, 6862, 1082, 202, 2902, 1759, 18, 588, 2519, 1046, 9334, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6459, 4110, 2697, 12, 682, 2354, 15329, 202, 202, 698, 95, 1082, 202, 2519, 20692, 1966, 74, 33, 2519, 20692, 18, 2704, 1442, 5621, 1082, 202, 2519, 1263, 1966, 33, 1966, 74, 18, 2704, 2519, 1263, 5621, 1082, 202, 2519, 2434, 33, 1966, 18, 2704, 2519, 5621, 1082, 202, 1046, 26081, 2375, 33, 9506, 202, 1304, 18, 1289, 1763, 1046, 12, 2434, 10837, 26081, 17, 3789, 3113, 2011, 1769, 1082, 202, 2434, 33, 1966, 18, 2704, 2519, 5621, 1082, 202, 1046, 454, 3453, 2375, 33, 1304, 18, 1289, 1763, 1046, 12, 2434, 10837, 454, 17, 4156, 3113, 2011, 1769, 1082, 202, 3198, 2165, 33, 2354, 18, 9838, 5621, 1082, 202, 17523, 12, 2165, 18, 5332, 2134, 2 ]
WOApplication.ApplicationWillFinishLaunchingNotification,
ERXApplication.ApplicationDidCreateNotification,
public static void setUpFrameworkPrincipalClass(Class c) { try { NSLog.debug.appendln("Loaded items: " + initializedFrameworks); if(observer == null) { observer = new Observer(); NSNotificationCenter center = NSNotificationCenter.defaultCenter(); center.addObserver(observer, new NSSelector("finishInitialization", ERXConstant.NotificationClassArray), WOApplication.ApplicationWillFinishLaunchingNotification, null); } if (initializedFrameworks.objectForKey(c.getName()) == null) { NSLog.debug.appendln("Starting up: " + c.getName()); try { Field f = c.getField("REQUIRES"); Class requires[] = (Class[]) f.get(c); for (int i = 0; i < requires.length; i++) { Class requirement = requires[i]; setUpFrameworkPrincipalClass(requirement); } } catch (NoSuchFieldException e) { // nothing // NSLog.debug.appendln("No requirements: " + c.getName()); } catch (IllegalAccessException e) { NSLog.err.appendln("Can't read field REQUIRES from " + c.getName() + ", check if it is 'public static Class[] REQUIRES= new Class[] {...}' in this class"); NSForwardException._runtimeExceptionForThrowable(e); } ERXFrameworkPrincipal principal = (ERXFrameworkPrincipal)c.newInstance(); initializedFrameworks.setObjectForKey(principal,c.getName()); principal.initialize(); launchingFrameworks.addObject(principal); NSLog.debug.appendln("Initialized : " + c.getName()); } else { NSLog.debug.appendln("Was already inited: " + c.getName()); } } catch (InstantiationException e) { throw NSForwardException._runtimeExceptionForThrowable(e); } catch (IllegalAccessException e) { throw NSForwardException._runtimeExceptionForThrowable(e); } }
17168 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17168/732582c01b478d5fb73f6cef3ac09be0b07405bf/ERXFrameworkPrincipal.java/buggy/Common/Frameworks/ERExtensions/Sources/er/extensions/ERXFrameworkPrincipal.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 24292, 13701, 9155, 797, 12, 797, 276, 13, 288, 3639, 775, 288, 5411, 11472, 1343, 18, 4148, 18, 6923, 2370, 2932, 8835, 1516, 30, 315, 397, 6454, 13701, 87, 1769, 5411, 309, 12, 30971, 422, 446, 13, 288, 7734, 9655, 273, 394, 23290, 5621, 7734, 11472, 4386, 8449, 4617, 273, 11472, 4386, 8449, 18, 1886, 8449, 5621, 7734, 4617, 18, 1289, 11048, 12, 30971, 16, 13491, 394, 423, 1260, 292, 1229, 2932, 13749, 17701, 3113, 225, 4232, 60, 6902, 18, 4386, 797, 1076, 3631, 7682, 4232, 60, 3208, 18, 3208, 18250, 1684, 4386, 16, 13491, 446, 1769, 21821, 289, 5411, 309, 261, 13227, 13701, 87, 18, 1612, 19759, 12, 71, 18, 17994, 10756, 422, 446, 13, 288, 7734, 11472, 1343, 18, 4148, 18, 6923, 2370, 2932, 11715, 731, 30, 315, 397, 276, 18, 17994, 10663, 7734, 775, 288, 10792, 2286, 284, 273, 276, 18, 588, 974, 2932, 862, 8627, 7031, 8863, 10792, 1659, 4991, 8526, 273, 261, 797, 63, 5717, 284, 18, 588, 12, 71, 1769, 10792, 364, 261, 474, 277, 273, 374, 31, 277, 411, 4991, 18, 2469, 31, 277, 27245, 288, 13491, 1659, 12405, 273, 4991, 63, 77, 15533, 13491, 24292, 13701, 9155, 797, 12, 30848, 1769, 10792, 289, 7734, 289, 1044, 261, 28341, 28846, 425, 13, 288, 10792, 368, 5083, 10792, 368, 11472, 1343, 18, 4148, 18, 6923, 2370, 2932, 2279, 8433, 30, 315, 397, 276, 18, 17994, 10663, 7734, 289, 1044, 261, 12195, 9773, 425, 13, 288, 10792, 11472, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 24292, 13701, 9155, 797, 12, 797, 276, 13, 288, 3639, 775, 288, 5411, 11472, 1343, 18, 4148, 18, 6923, 2370, 2932, 8835, 1516, 30, 315, 397, 6454, 13701, 87, 1769, 5411, 309, 12, 30971, 422, 446, 13, 288, 7734, 9655, 273, 394, 23290, 5621, 7734, 11472, 4386, 8449, 4617, 273, 11472, 4386, 8449, 18, 1886, 8449, 5621, 7734, 4617, 18, 1289, 11048, 12, 30971, 16, 13491, 394, 423, 1260, 292, 1229, 2932, 13749, 17701, 3113, 225, 4232, 60, 6902, 18, 4386, 797, 1076, 3631, 7682, 4232, 60, 3208, 18, 3208, 18250, 1684, 4386, 16, 13491, 446, 1769, 21821, 289, 5411, 309, 261, 13227, 13701, 87, 18, 1612, 19759, 12, 71, 18, 17994, 10756, 422, 446, 2 ]
public boolean isSet(org.quickfix.field.StipulationType field)
public boolean isSet(quickfix.field.StipulationType field)
public boolean isSet(org.quickfix.field.StipulationType field) { return isSetField(field); }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/NewOrderCross.java/clean/src/java/src/quickfix/fix43/NewOrderCross.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 13532, 12, 19525, 904, 18, 1518, 18, 510, 625, 6234, 559, 652, 13, 225, 288, 327, 13532, 974, 12, 1518, 1769, 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, 282, 1071, 1250, 13532, 12, 19525, 904, 18, 1518, 18, 510, 625, 6234, 559, 652, 13, 225, 288, 327, 13532, 974, 12, 1518, 1769, 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 ]
public void update(IPerspectiveDescriptor newDesc) { perspective = newDesc;
public void update() {
public void update(IPerspectiveDescriptor newDesc) { perspective = newDesc; if (toolItem != null && !toolItem.isDisposed()) { ImageDescriptor imageDescriptor = perspective.getImageDescriptor(); if (imageDescriptor != null) { toolItem.setImage(imageDescriptor.createImage()); } else { toolItem.setImage(WorkbenchImages.getImageDescriptor( IWorkbenchGraphicConstants.IMG_ETOOL_DEF_PERSPECTIVE) .createImage()); } toolItem.setToolTipText(WorkbenchMessages.format( "PerspectiveBarContributionItem.toolTip", //$NON-NLS-1$ new Object[] { perspective.getLabel()})); } update(); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/4c0c864491ea8f27d7773b211ddae0e40a81354f/PerspectiveBarContributionItem.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PerspectiveBarContributionItem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1089, 12, 2579, 414, 16772, 3187, 394, 4217, 13, 288, 3639, 26651, 273, 394, 4217, 31, 3639, 309, 261, 6738, 1180, 480, 446, 597, 401, 6738, 1180, 18, 291, 1669, 7423, 10756, 288, 5411, 3421, 3187, 1316, 3187, 273, 26651, 18, 588, 2040, 3187, 5621, 5411, 309, 261, 2730, 3187, 480, 446, 13, 288, 7734, 5226, 1180, 18, 542, 2040, 12, 2730, 3187, 18, 2640, 2040, 10663, 5411, 289, 469, 288, 7734, 5226, 1180, 18, 542, 2040, 12, 2421, 22144, 8946, 18, 588, 2040, 3187, 12, 13491, 467, 2421, 22144, 29459, 2918, 18, 3445, 43, 67, 1584, 51, 1741, 67, 12904, 67, 3194, 23810, 1268, 5354, 13, 13491, 263, 2640, 2040, 10663, 5411, 289, 5411, 5226, 1180, 18, 542, 29250, 1528, 12, 2421, 22144, 5058, 18, 2139, 12, 10792, 315, 14781, 16772, 5190, 442, 4027, 1180, 18, 6738, 14189, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 10792, 394, 1033, 8526, 288, 26651, 18, 588, 2224, 1435, 6792, 1769, 3639, 289, 3639, 1089, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1089, 12, 2579, 414, 16772, 3187, 394, 4217, 13, 288, 3639, 26651, 273, 394, 4217, 31, 3639, 309, 261, 6738, 1180, 480, 446, 597, 401, 6738, 1180, 18, 291, 1669, 7423, 10756, 288, 5411, 3421, 3187, 1316, 3187, 273, 26651, 18, 588, 2040, 3187, 5621, 5411, 309, 261, 2730, 3187, 480, 446, 13, 288, 7734, 5226, 1180, 18, 542, 2040, 12, 2730, 3187, 18, 2640, 2040, 10663, 5411, 289, 469, 288, 7734, 5226, 1180, 18, 542, 2040, 12, 2421, 22144, 8946, 18, 588, 2040, 3187, 12, 13491, 467, 2421, 22144, 29459, 2918, 18, 3445, 43, 67, 1584, 51, 1741, 67, 12904, 67, 3194, 23810, 1268, 5354, 13, 13491, 263, 2640, 2040, 10663, 5411, 289, 5411, 5226, 2 ]
declaration(linkage, null, null);
declaration(linkage, null, null, KeywordSetKey.DECLARATION);
protected IASTDeclaration linkageSpecification(IASTScope scope) throws EndOfFileException, BacktrackException { IToken firstToken = consume(IToken.t_extern); if (LT(1) != IToken.tSTRING) throw backtrack; IToken spec = consume(IToken.tSTRING); if (LT(1) == IToken.tLBRACE) { consume(IToken.tLBRACE); IASTLinkageSpecification linkage; try { linkage = astFactory.createLinkageSpecification( scope, spec.getImage(), firstToken.getOffset(), firstToken.getLineNumber()); } catch (Exception e) { logException( "linkageSpecification_1:createLinkageSpecification", e ); //$NON-NLS-1$ throw backtrack; } linkage.enterScope( requestor, astFactory.getReferenceManager() ); linkageDeclarationLoop : while (LT(1) != IToken.tRBRACE) { int checkToken = LA(1).hashCode(); switch (LT(1)) { case IToken.tRBRACE : consume(IToken.tRBRACE); break linkageDeclarationLoop; default : try { declaration(linkage, null, null); } catch (BacktrackException bt) { failParse(); if (checkToken == LA(1).hashCode()) errorHandling(); } } if (checkToken == LA(1).hashCode()) errorHandling(); } // consume the } IToken lastTokenConsumed = consume(); linkage.setEndingOffsetAndLineNumber(lastTokenConsumed.getEndOffset(), lastTokenConsumed.getLineNumber()); linkage.exitScope( requestor, astFactory.getReferenceManager() ); return linkage; } // single declaration IASTLinkageSpecification linkage; try { linkage = astFactory.createLinkageSpecification( scope, spec.getImage(), firstToken.getOffset(), firstToken.getLineNumber()); } catch (Exception e) { logException( "linkageSpecification_2:createLinkageSpecification", e ); //$NON-NLS-1$ throw backtrack; } linkage.enterScope( requestor, astFactory.getReferenceManager() ); declaration(linkage, null, null); linkage.exitScope( requestor, astFactory.getReferenceManager() ); return linkage; }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/fb57293d470c0087b6edd9673084d38ceb95e5c2/Parser.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 467, 9053, 6094, 1692, 410, 8615, 12, 45, 9053, 3876, 2146, 13, 3639, 1216, 4403, 951, 812, 503, 16, 4297, 4101, 503, 565, 288, 3639, 467, 1345, 1122, 1345, 273, 7865, 12, 1285, 969, 18, 88, 67, 338, 798, 1769, 3639, 309, 261, 12050, 12, 21, 13, 480, 467, 1345, 18, 88, 5804, 13, 5411, 604, 1473, 4101, 31, 3639, 467, 1345, 857, 273, 7865, 12, 1285, 969, 18, 88, 5804, 1769, 1850, 309, 261, 12050, 12, 21, 13, 422, 467, 1345, 18, 88, 12995, 9254, 13, 3639, 288, 5411, 7865, 12, 1285, 969, 18, 88, 12995, 9254, 1769, 5411, 467, 9053, 2098, 410, 8615, 1692, 410, 31, 5411, 775, 5411, 288, 7734, 1692, 410, 273, 10792, 3364, 1733, 18, 2640, 2098, 410, 8615, 12, 13491, 2146, 16, 13491, 857, 18, 588, 2040, 9334, 13491, 1122, 1345, 18, 588, 2335, 9334, 1122, 1345, 18, 588, 31063, 10663, 5411, 289, 5411, 1044, 261, 503, 425, 13, 5411, 288, 2398, 202, 1330, 503, 12, 315, 1232, 410, 8615, 67, 21, 30, 2640, 2098, 410, 8615, 3113, 425, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 7734, 604, 1473, 4101, 31, 5411, 289, 13491, 1692, 410, 18, 2328, 3876, 12, 590, 280, 16, 3364, 1733, 18, 588, 2404, 1318, 1435, 11272, 7734, 1692, 410, 6094, 6452, 294, 1323, 261, 12050, 12, 21, 13, 480, 467, 1345, 18, 88, 19437, 9254, 13, 5411, 288, 7734, 509, 866, 1345, 273, 2928, 12, 21, 2934, 2816, 1085, 5621, 7734, 1620, 261, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 467, 9053, 6094, 1692, 410, 8615, 12, 45, 9053, 3876, 2146, 13, 3639, 1216, 4403, 951, 812, 503, 16, 4297, 4101, 503, 565, 288, 3639, 467, 1345, 1122, 1345, 273, 7865, 12, 1285, 969, 18, 88, 67, 338, 798, 1769, 3639, 309, 261, 12050, 12, 21, 13, 480, 467, 1345, 18, 88, 5804, 13, 5411, 604, 1473, 4101, 31, 3639, 467, 1345, 857, 273, 7865, 12, 1285, 969, 18, 88, 5804, 1769, 1850, 309, 261, 12050, 12, 21, 13, 422, 467, 1345, 18, 88, 12995, 9254, 13, 3639, 288, 5411, 7865, 12, 1285, 969, 18, 88, 12995, 9254, 1769, 5411, 467, 9053, 2098, 410, 8615, 1692, 410, 31, 5411, 775, 5411, 288, 7734, 1692, 410, 273, 10792, 2 ]
return evalUnder(mod, args[0], file, line);
Scope currentScope = runtime.getScope().current(); Visibility savedVisibility = currentScope.getVisibility(); currentScope.setVisibility(Visibility.PUBLIC); try { return evalUnder(mod, args[0], file, line); } finally { currentScope.setVisibility(savedVisibility); }
public IRubyObject specificEval(RubyModule mod, IRubyObject[] args) { if (getRuntime().isBlockGiven()) { if (args.length > 0) { throw new ArgumentError(getRuntime(), args.length, 0); } return yieldUnder(mod); } else { if (args.length == 0) { throw new ArgumentError(getRuntime(), "block not supplied"); } else if (args.length > 3) { String lastFuncName = runtime.getCurrentFrame().getLastFunc(); throw new ArgumentError( getRuntime(), "wrong # of arguments: " + lastFuncName + "(src) or " + lastFuncName + "{..}"); } /* if (ruby.getSecurityLevel() >= 4) { Check_Type(argv[0], T_STRING); } else { Check_SafeStr(argv[0]); } */ IRubyObject file = args.length > 1 ? args[1] : RubyString.newString(getRuntime(), "(eval)"); IRubyObject line = args.length > 2 ? args[2] : RubyFixnum.one(getRuntime()); return evalUnder(mod, args[0], file, line); } }
45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/0044a3b88a0afa22dcced1c8213002b0fb16faf4/RubyObject.java/buggy/src/org/jruby/RubyObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 2923, 13904, 12, 54, 10340, 3120, 681, 16, 15908, 10340, 921, 8526, 833, 13, 288, 3639, 309, 261, 588, 5576, 7675, 291, 1768, 6083, 10756, 288, 5411, 309, 261, 1968, 18, 2469, 405, 374, 13, 288, 7734, 604, 394, 9236, 12, 588, 5576, 9334, 833, 18, 2469, 16, 374, 1769, 5411, 289, 5411, 327, 2824, 14655, 12, 1711, 1769, 3639, 289, 469, 288, 5411, 309, 261, 1968, 18, 2469, 422, 374, 13, 288, 7734, 604, 394, 9236, 12, 588, 5576, 9334, 315, 2629, 486, 4580, 8863, 5411, 289, 469, 309, 261, 1968, 18, 2469, 405, 890, 13, 288, 7734, 514, 1142, 2622, 461, 273, 3099, 18, 588, 3935, 3219, 7675, 588, 3024, 2622, 5621, 7734, 604, 394, 9236, 12, 10792, 18814, 9334, 10792, 315, 21530, 468, 434, 1775, 30, 315, 397, 1142, 2622, 461, 397, 7751, 4816, 13, 578, 315, 397, 1142, 2622, 461, 397, 4144, 838, 1532, 1769, 5411, 289, 5411, 1748, 5411, 309, 261, 27768, 18, 588, 4368, 2355, 1435, 1545, 1059, 13, 288, 2398, 202, 1564, 67, 559, 12, 19485, 63, 20, 6487, 399, 67, 5804, 1769, 5411, 289, 469, 288, 2398, 202, 1564, 67, 9890, 1585, 12, 19485, 63, 20, 19226, 5411, 289, 5411, 1195, 5411, 15908, 10340, 921, 585, 273, 833, 18, 2469, 405, 404, 692, 833, 63, 21, 65, 294, 19817, 780, 18, 2704, 780, 12, 588, 5576, 9334, 7751, 8622, 2225, 1769, 5411, 15908, 10340, 921, 980, 273, 833, 18, 2469, 405, 576, 692, 833, 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, 15908, 10340, 921, 2923, 13904, 12, 54, 10340, 3120, 681, 16, 15908, 10340, 921, 8526, 833, 13, 288, 3639, 309, 261, 588, 5576, 7675, 291, 1768, 6083, 10756, 288, 5411, 309, 261, 1968, 18, 2469, 405, 374, 13, 288, 7734, 604, 394, 9236, 12, 588, 5576, 9334, 833, 18, 2469, 16, 374, 1769, 5411, 289, 5411, 327, 2824, 14655, 12, 1711, 1769, 3639, 289, 469, 288, 5411, 309, 261, 1968, 18, 2469, 422, 374, 13, 288, 7734, 604, 394, 9236, 12, 588, 5576, 9334, 315, 2629, 486, 4580, 8863, 5411, 289, 469, 309, 261, 1968, 18, 2469, 405, 890, 13, 288, 7734, 514, 1142, 2622, 461, 273, 3099, 18, 588, 3935, 3219, 7675, 588, 3024, 2622, 5621, 2 ]
public boolean isMissingParameter( ) {
public boolean isMissingParameter() {
public boolean isMissingParameter( ) { boolean missingParameter = false; ModuleHandle model = SessionHandleAdapter.getInstance( ) .getReportDesignHandle( ); HashMap params = (HashMap) this.getConfigVars( ); List parameters = model.getFlattenParameters( ); if ( parameters != null ) { for ( int i = 0; i < parameters.size( ); i++ ) { if ( parameters.get( i ) instanceof ScalarParameterHandle ) { ScalarParameterHandle parameter = ( (ScalarParameterHandle) parameters .get( i ) ); if ( parameter.isHidden( ) ) { continue; } String paramValue = null; if ( params != null && params.containsKey( parameter.getName( ) ) ) { Object curVal = params.get( parameter.getName( ) ); if ( curVal != null ) paramValue = curVal.toString( ); } else { paramValue = parameter.getDefaultValue( ); } if ( paramValue == null && !parameter.allowNull( ) ) { missingParameter = true; break; } if ( paramValue != null && paramValue.trim( ).length( ) <= 0 && !parameter.allowBlank( ) && parameter.getDataType( ).equalsIgnoreCase( DesignChoiceConstants.PARAM_TYPE_STRING ) ) { missingParameter = true; break; } } } } return missingParameter; }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/464f907d246180ca04c84336398722e6d5245566/ReportPreviewFormPage.java/clean/UI/org.eclipse.birt.report.designer.ui.preview/src/org/eclipse/birt/report/designer/ui/preview/editors/ReportPreviewFormPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 353, 4841, 1662, 12, 262, 202, 95, 202, 202, 6494, 3315, 1662, 273, 629, 31, 202, 202, 3120, 3259, 938, 273, 3877, 3259, 4216, 18, 588, 1442, 12, 262, 9506, 202, 18, 588, 4820, 15478, 3259, 12, 11272, 202, 202, 8658, 859, 273, 261, 8658, 13, 333, 18, 588, 809, 5555, 12, 11272, 202, 202, 682, 1472, 273, 938, 18, 588, 20237, 2402, 12, 11272, 202, 202, 430, 261, 1472, 480, 446, 262, 202, 202, 95, 1082, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 1472, 18, 1467, 12, 11272, 277, 9904, 262, 1082, 202, 95, 9506, 202, 430, 261, 1472, 18, 588, 12, 277, 262, 1276, 15791, 1662, 3259, 262, 9506, 202, 95, 6862, 202, 13639, 1662, 3259, 1569, 273, 261, 261, 13639, 1662, 3259, 13, 1472, 6862, 1082, 202, 18, 588, 12, 277, 262, 11272, 6862, 202, 430, 261, 1569, 18, 291, 9345, 12, 262, 262, 6862, 202, 95, 25083, 202, 17143, 31, 6862, 202, 97, 6862, 202, 780, 20250, 273, 446, 31, 6862, 202, 430, 261, 859, 480, 446, 6862, 1082, 202, 10, 10, 859, 18, 12298, 653, 12, 1569, 18, 17994, 12, 262, 262, 262, 6862, 202, 95, 25083, 202, 921, 662, 3053, 273, 859, 18, 588, 12, 1569, 18, 17994, 12, 262, 11272, 25083, 202, 430, 261, 662, 3053, 480, 446, 262, 6862, 1082, 202, 891, 620, 273, 662, 3053, 18, 10492, 12, 11272, 6862, 202, 97, 6862, 202, 12107, 6862, 202, 95, 25083, 202, 891, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 353, 4841, 1662, 12, 262, 202, 95, 202, 202, 6494, 3315, 1662, 273, 629, 31, 202, 202, 3120, 3259, 938, 273, 3877, 3259, 4216, 18, 588, 1442, 12, 262, 9506, 202, 18, 588, 4820, 15478, 3259, 12, 11272, 202, 202, 8658, 859, 273, 261, 8658, 13, 333, 18, 588, 809, 5555, 12, 11272, 202, 202, 682, 1472, 273, 938, 18, 588, 20237, 2402, 12, 11272, 202, 202, 430, 261, 1472, 480, 446, 262, 202, 202, 95, 1082, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 1472, 18, 1467, 12, 11272, 277, 9904, 262, 1082, 202, 95, 9506, 202, 430, 261, 1472, 18, 588, 12, 277, 262, 1276, 15791, 1662, 3259, 262, 9506, 202, 2 ]
parent.setLayout(layout); FormData data = new FormData(); data.top = new FormAttachment(0, 0); data.bottom = new FormAttachment(100, 0); parent.setLayoutData(data);
contents.setLayout(layout);
protected Control createContents(Composite parent) { // initialize the dialog units initializeDialogUnits(parent); FormLayout layout = new FormLayout(); parent.setLayout(layout); FormData data = new FormData(); data.top = new FormAttachment(0, 0); data.bottom = new FormAttachment(100, 0); parent.setLayoutData(data); //Now create a work area for the rest of the dialog workArea = new Composite(parent, SWT.NULL); GridLayout childLayout = new GridLayout(); childLayout.marginHeight = 0; childLayout.marginWidth = 0; childLayout.verticalSpacing = 0; workArea.setLayout(childLayout); Control top = createTitleArea(parent); resetWorkAreaAttachments(top); workArea.setFont(JFaceResources.getDialogFont()); // initialize the dialog units initializeDialogUnits(workArea); // create the dialog area and button bar dialogArea = createDialogArea(workArea); buttonBar = createButtonBar(workArea); return parent; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/d4c32220f5c7ae7c95649bbe6c2068aebd0ea9f4/TitleAreaDialog.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/TitleAreaDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 8888, 752, 6323, 12, 9400, 982, 13, 288, 3639, 368, 4046, 326, 6176, 4971, 3639, 4046, 6353, 7537, 12, 2938, 1769, 3639, 2748, 3744, 3511, 273, 394, 2748, 3744, 5621, 3639, 982, 18, 542, 3744, 12, 6741, 1769, 3639, 2748, 751, 501, 273, 394, 2748, 751, 5621, 3639, 501, 18, 3669, 273, 394, 2748, 6803, 12, 20, 16, 374, 1769, 3639, 501, 18, 9176, 273, 394, 2748, 6803, 12, 6625, 16, 374, 1769, 3639, 982, 18, 542, 3744, 751, 12, 892, 1769, 3639, 368, 8674, 752, 279, 1440, 5091, 364, 326, 3127, 434, 326, 6176, 3639, 1440, 5484, 273, 394, 14728, 12, 2938, 16, 348, 8588, 18, 8560, 1769, 3639, 7145, 3744, 1151, 3744, 273, 394, 7145, 3744, 5621, 3639, 1151, 3744, 18, 10107, 2686, 273, 374, 31, 3639, 1151, 3744, 18, 10107, 2384, 273, 374, 31, 3639, 1151, 3744, 18, 17824, 18006, 273, 374, 31, 3639, 1440, 5484, 18, 542, 3744, 12, 3624, 3744, 1769, 3639, 8888, 1760, 273, 752, 4247, 5484, 12, 2938, 1769, 3639, 2715, 2421, 5484, 12961, 12, 3669, 1769, 3639, 1440, 5484, 18, 542, 5711, 12, 46, 11824, 3805, 18, 588, 6353, 5711, 10663, 3639, 368, 4046, 326, 6176, 4971, 3639, 4046, 6353, 7537, 12, 1252, 5484, 1769, 3639, 368, 752, 326, 6176, 5091, 471, 3568, 4653, 3639, 6176, 5484, 273, 752, 6353, 5484, 12, 1252, 5484, 1769, 3639, 3568, 5190, 273, 752, 3616, 5190, 12, 1252, 5484, 1769, 3639, 327, 982, 31, 565, 289, 2, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 8888, 752, 6323, 12, 9400, 982, 13, 288, 3639, 368, 4046, 326, 6176, 4971, 3639, 4046, 6353, 7537, 12, 2938, 1769, 3639, 2748, 3744, 3511, 273, 394, 2748, 3744, 5621, 3639, 982, 18, 542, 3744, 12, 6741, 1769, 3639, 2748, 751, 501, 273, 394, 2748, 751, 5621, 3639, 501, 18, 3669, 273, 394, 2748, 6803, 12, 20, 16, 374, 1769, 3639, 501, 18, 9176, 273, 394, 2748, 6803, 12, 6625, 16, 374, 1769, 3639, 982, 18, 542, 3744, 751, 12, 892, 1769, 3639, 368, 8674, 752, 279, 1440, 5091, 364, 326, 3127, 434, 326, 6176, 3639, 1440, 5484, 273, 394, 14728, 12, 2938, 16, 348, 8588, 18, 8560, 1769, 3639, 7145, 3744, 1151, 3744, 273, 394, 7145, 2 ]
return execSub(cx, this, args, scope, MATCH, this);
return execSub(cx, scope, args, MATCH);
public Object call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) { return execSub(cx, this, args, scope, MATCH, this); }
12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/df6489821e17e324fc80ecaf97715a68d67771bd/NativeRegExp.java/buggy/js/rhino/src/org/mozilla/javascript/regexp/NativeRegExp.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 745, 12, 1042, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 15604, 1033, 8526, 833, 13, 288, 3639, 327, 1196, 1676, 12, 71, 92, 16, 2146, 16, 833, 16, 16585, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 745, 12, 1042, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 15604, 1033, 8526, 833, 13, 288, 3639, 327, 1196, 1676, 12, 71, 92, 16, 2146, 16, 833, 16, 16585, 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 ]
throw org.postgresql.Driver.notImplemented();
return connection.getServerMajorVersion();
public int getDatabaseMajorVersion() throws SQLException { throw org.postgresql.Driver.notImplemented(); }
45672 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45672/d23fd9572b4cd6bfea3f74067a2d631c20fda886/AbstractJdbc3DatabaseMetaData.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc3/AbstractJdbc3DatabaseMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 11263, 17581, 1444, 1435, 1216, 6483, 202, 95, 202, 202, 12849, 2358, 18, 2767, 24330, 18, 4668, 18, 902, 8644, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 11263, 17581, 1444, 1435, 1216, 6483, 202, 95, 202, 202, 12849, 2358, 18, 2767, 24330, 18, 4668, 18, 902, 8644, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public Vector getPortletApp() {
public List getPortletApp() {
public Vector getPortletApp() { return PortletApp; };
49343 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49343/0e5a70e155923cf1db4e96abd8a60a4fe9e80b66/PortletDeploymentDescriptor.java/clean/src/org/gridlab/gridsphere/portletcontainer/descriptor/PortletDeploymentDescriptor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 987, 11036, 1810, 3371, 1435, 288, 3639, 327, 21305, 3371, 31, 565, 289, 31, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 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, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 987, 11036, 1810, 3371, 1435, 288, 3639, 327, 21305, 3371, 31, 565, 289, 31, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
setLayout(new FlowLayout(FlowLayout.LEFT,0,0));
setLayout(new FlowLayout(FlowLayout.LEFT, 0, 0));
public MultiToolbar() { setLayout(new FlowLayout(FlowLayout.LEFT,0,0)); this.setBackground(Color.blue); }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/MultiToolbar.java/buggy/src_new/org/argouml/ui/MultiToolbar.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 5991, 17907, 1435, 288, 3639, 18479, 12, 2704, 9473, 3744, 12, 5249, 3744, 18, 10066, 16, 374, 16, 374, 10019, 3639, 333, 18, 542, 8199, 12, 2957, 18, 14081, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 5991, 17907, 1435, 288, 3639, 18479, 12, 2704, 9473, 3744, 12, 5249, 3744, 18, 10066, 16, 374, 16, 374, 10019, 3639, 333, 18, 542, 8199, 12, 2957, 18, 14081, 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 ]
final Set bindings = new HashSet(); bindings.add(binding1); bindings.add(binding2); bindingManager.setBindings(bindings);
bindingManager.addBinding(binding2);
public void testConflict() throws NotDefinedException { final Context context = contextManager.getContext("na"); context.define("name", "description", null); final Scheme scheme = bindingManager.getScheme("na"); scheme.define("name", "description", null); bindingManager.setActiveScheme(scheme); final Set activeContextIds = new HashSet(); activeContextIds.add("na"); contextManager.setActiveContextIds(activeContextIds); final Binding binding1 = new TestBinding("conflict1", "na", "na", null, null, Binding.SYSTEM); final Binding binding2 = new TestBinding("conflict2", "na", "na", null, null, Binding.SYSTEM); final Set bindings = new HashSet(); bindings.add(binding1); bindings.add(binding2); bindingManager.setBindings(bindings); Collection activeBindings = bindingManager .getActiveBindingsFor(binding1.getCommandId()); assertTrue("Neither binding should be active", activeBindings.isEmpty()); activeBindings = bindingManager.getActiveBindingsFor(binding2 .getCommandId()); assertTrue("Neither binding should be active", activeBindings.isEmpty()); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/aaf24f9edb61f7e189ff821250cda3d6f0088de9/BindingInteractionsTest.java/clean/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/keys/BindingInteractionsTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 10732, 1435, 1216, 2288, 8116, 503, 288, 202, 202, 6385, 1772, 819, 273, 819, 1318, 18, 29120, 2932, 6582, 8863, 202, 202, 2472, 18, 11255, 2932, 529, 3113, 315, 3384, 3113, 446, 1769, 202, 202, 6385, 10714, 4355, 273, 5085, 1318, 18, 588, 9321, 2932, 6582, 8863, 202, 202, 9068, 18, 11255, 2932, 529, 3113, 315, 3384, 3113, 446, 1769, 202, 202, 7374, 1318, 18, 542, 3896, 9321, 12, 9068, 1769, 202, 202, 6385, 1000, 2695, 1042, 2673, 273, 394, 6847, 5621, 202, 202, 3535, 1042, 2673, 18, 1289, 2932, 6582, 8863, 202, 202, 2472, 1318, 18, 542, 3896, 1042, 2673, 12, 3535, 1042, 2673, 1769, 202, 202, 6385, 15689, 5085, 21, 273, 394, 7766, 5250, 2932, 20340, 21, 3113, 315, 6582, 3113, 315, 6582, 3113, 446, 16, 9506, 202, 2011, 16, 15689, 18, 14318, 1769, 202, 202, 6385, 15689, 5085, 22, 273, 394, 7766, 5250, 2932, 20340, 22, 3113, 315, 6582, 3113, 315, 6582, 3113, 446, 16, 9506, 202, 2011, 16, 15689, 18, 14318, 1769, 202, 202, 6385, 1000, 7394, 273, 394, 6847, 5621, 202, 202, 15863, 18, 1289, 12, 7374, 21, 1769, 202, 202, 15863, 18, 1289, 12, 7374, 22, 1769, 202, 202, 7374, 1318, 18, 542, 10497, 12, 15863, 1769, 202, 202, 2532, 2695, 10497, 273, 5085, 1318, 9506, 202, 18, 588, 3896, 10497, 1290, 12, 7374, 21, 18, 588, 2189, 548, 10663, 202, 202, 11231, 5510, 2932, 6586, 2927, 5085, 1410, 506, 2695, 3113, 2695, 10497, 18, 291, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 10732, 1435, 1216, 2288, 8116, 503, 288, 202, 202, 6385, 1772, 819, 273, 819, 1318, 18, 29120, 2932, 6582, 8863, 202, 202, 2472, 18, 11255, 2932, 529, 3113, 315, 3384, 3113, 446, 1769, 202, 202, 6385, 10714, 4355, 273, 5085, 1318, 18, 588, 9321, 2932, 6582, 8863, 202, 202, 9068, 18, 11255, 2932, 529, 3113, 315, 3384, 3113, 446, 1769, 202, 202, 7374, 1318, 18, 542, 3896, 9321, 12, 9068, 1769, 202, 202, 6385, 1000, 2695, 1042, 2673, 273, 394, 6847, 5621, 202, 202, 3535, 1042, 2673, 18, 1289, 2932, 6582, 8863, 202, 202, 2472, 1318, 18, 542, 3896, 1042, 2673, 12, 3535, 1042, 2673, 1769, 202, 202, 6385, 15689, 5085, 21, 273, 394, 2 ]