rem
stringlengths
1
53.3k
add
stringlengths
0
80.5k
context
stringlengths
6
326k
meta
stringlengths
141
403
input_ids
list
attention_mask
list
labels
list
public void setGid(int gid) {
public synchronized void setGid(int gid) {
public void setGid(int gid) { Ext2Utils.set16(data, 24, gid); setDirty(true); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/76cdfbaf38c1029347a5829758eac206a20e3b16/INode.java/buggy/fs/src/fs/org/jnode/fs/ext2/INode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 26770, 350, 12, 474, 11399, 13, 288, 202, 202, 2482, 22, 1989, 18, 542, 2313, 12, 892, 16, 4248, 16, 11399, 1769, 9506, 202, 542, 10785, 12, 3767, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 26770, 350, 12, 474, 11399, 13, 288, 202, 202, 2482, 22, 1989, 18, 542, 2313, 12, 892, 16, 4248, 16, 11399, 1769, 9506, 202, 542, 10785, 12, 3767, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
SERVER.set(Server.this);
LOG.info(getName() + ": starting"); while (running) { Socket acceptedSock = null; try { acceptedSock = socket.accept(); new Connection(acceptedSock).start(); } catch (SocketTimeoutException e) { } catch (OutOfMemoryError e) { LOG.warn(getName() + " out of memory, sleeping...", e); try { acceptedSock.close(); Thread.sleep(60000); } catch (InterruptedException ie) { } catch (IOException ioe) { } } catch (Exception e) { LOG.info(getName() + " caught: " + e, e); } }
public void run() { SERVER.set(Server.this); try { // Create a new server socket and set to non blocking mode acceptChannel = ServerSocketChannel.open(); acceptChannel.configureBlocking(false); // Bind the server socket to the local host and port acceptChannel.socket().bind(address); // create a selector; selector= Selector.open(); // Register accepts on the server socket with the selector. acceptChannel.register(selector, SelectionKey.OP_ACCEPT); this.setName("Server listener on port " + port); LOG.info(getName() + ": starting"); while (running) { SelectionKey key = null; try { selector.select(timeout); Iterator iter = selector.selectedKeys().iterator(); while (iter.hasNext()) { key = (SelectionKey)iter.next(); if (key.isAcceptable()) doAccept(key); else if (key.isReadable()) doRead(key); iter.remove(); key = null; } } catch (OutOfMemoryError e) { closeCurrentConnection(key, e); cleanupConnections(true); Thread.sleep(60000); } catch (Exception e) { closeCurrentConnection(key, e); } cleanupConnections(false); } } catch (Exception e) { LOG.fatal("selector",e); } LOG.info("Stopping " + this.getName()); try { if (acceptChannel != null) acceptChannel.close(); if (selector != null) selector.close(); } catch (IOException e) { } selector= null; acceptChannel= null; connectionList = null; }
55137 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55137/c244f1709006c4db4d644eddce36174aa25c8cdd/Server.java/clean/src/java/org/apache/hadoop/ipc/Server.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 288, 1377, 2018, 18, 1376, 12, 17994, 1435, 397, 6398, 5023, 8863, 1323, 261, 8704, 13, 288, 8758, 8494, 55, 975, 273, 446, 31, 775, 288, 8494, 55, 975, 273, 2987, 18, 9436, 5621, 394, 4050, 12, 23847, 55, 975, 2934, 1937, 5621, 289, 1044, 261, 4534, 22195, 425, 13, 288, 289, 1044, 261, 11224, 6031, 668, 425, 13, 288, 565, 2018, 18, 8935, 12, 17994, 1435, 397, 315, 596, 434, 3778, 16, 5329, 310, 7070, 16, 425, 1769, 775, 288, 8494, 55, 975, 18, 4412, 5621, 4884, 18, 19607, 12, 26, 2787, 1769, 289, 1044, 261, 24485, 503, 9228, 13, 288, 289, 1044, 261, 14106, 10847, 13, 288, 289, 289, 1044, 261, 503, 425, 13, 288, 2018, 18, 1376, 12, 17994, 1435, 397, 315, 13537, 30, 315, 397, 425, 16, 425, 1769, 289, 289, 6647, 775, 288, 3639, 368, 1788, 279, 394, 1438, 2987, 471, 444, 358, 1661, 9445, 1965, 3639, 2791, 2909, 273, 3224, 4534, 2909, 18, 3190, 5621, 3639, 2791, 2909, 18, 14895, 8728, 12, 5743, 1769, 3639, 368, 6936, 326, 1438, 2987, 358, 326, 1191, 1479, 471, 1756, 3639, 2791, 2909, 18, 7814, 7675, 4376, 12, 2867, 1769, 3639, 368, 752, 279, 3451, 31, 3639, 3451, 33, 11703, 18, 3190, 5621, 3639, 368, 5433, 8104, 603, 326, 1438, 2987, 598, 326, 3451, 18, 3639, 2791, 2909, 18, 4861, 12, 9663, 16, 12977, 653, 18, 3665, 67, 21417, 1769, 3639, 333, 18, 542, 461, 2932, 2081, 2991, 603, 1756, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 288, 1377, 2018, 18, 1376, 12, 17994, 1435, 397, 6398, 5023, 8863, 1323, 261, 8704, 13, 288, 8758, 8494, 55, 975, 273, 446, 31, 775, 288, 8494, 55, 975, 273, 2987, 18, 9436, 5621, 394, 4050, 12, 23847, 55, 975, 2934, 1937, 5621, 289, 1044, 261, 4534, 22195, 425, 13, 288, 289, 1044, 261, 11224, 6031, 668, 425, 13, 288, 565, 2018, 18, 8935, 12, 17994, 1435, 397, 315, 596, 434, 3778, 16, 5329, 310, 7070, 16, 425, 1769, 775, 288, 8494, 55, 975, 18, 4412, 5621, 4884, 18, 19607, 12, 26, 2787, 1769, 289, 1044, 261, 24485, 503, 9228, 13, 288, 289, 1044, 261, 14106, 10847, 13, 288, 289, 289, 1044, 261, 503, 2 ]
{
{
public void onTChange(int z, int t) { resetTSlider(t); abstraction.onPlaneSelected(z, t); }
13273 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13273/a81a5a58f8e54d006d057455465766c8d3d72998/ViewerCtrl.java/clean/SRC/org/openmicroscopy/shoola/agents/viewer/ViewerCtrl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 603, 56, 3043, 12, 474, 998, 16, 509, 268, 13, 202, 95, 3639, 2715, 56, 21824, 12, 88, 1769, 202, 202, 378, 701, 1128, 18, 265, 19505, 7416, 12, 94, 16, 268, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 603, 56, 3043, 12, 474, 998, 16, 509, 268, 13, 202, 95, 3639, 2715, 56, 21824, 12, 88, 1769, 202, 202, 378, 701, 1128, 18, 265, 19505, 7416, 12, 94, 16, 268, 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 ]
Object v = p.get(name, start);
Object v = p.getPkgProperty(name, start, false);
public Object get(String name, Scriptable start) { Object result = super.get(name, start); if (result == NOT_FOUND && importedPackages != null) { for (int i=0; i < importedPackages.size(); i++) { Object o = importedPackages.elementAt(i); NativeJavaPackage p = (NativeJavaPackage) o; Object v = p.get(name, start); if (!(v instanceof NativeJavaPackage)) { if (result == NOT_FOUND) result = v; else throw new EvaluatorException("Ambiguous import: " + result + " and " + v); } } } return result; }
12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/29961e84db87a38d87746812b30296449281be97/ImporterTopLevel.java/clean/src/org/mozilla/javascript/ImporterTopLevel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 336, 12, 780, 508, 16, 22780, 787, 13, 288, 3639, 1033, 563, 273, 2240, 18, 588, 12, 529, 16, 787, 1769, 3639, 309, 261, 2088, 422, 4269, 67, 9294, 597, 9101, 11425, 480, 446, 13, 288, 5411, 364, 261, 474, 277, 33, 20, 31, 277, 411, 9101, 11425, 18, 1467, 5621, 277, 27245, 288, 7734, 1033, 320, 273, 9101, 11425, 18, 2956, 861, 12, 77, 1769, 7734, 16717, 5852, 2261, 293, 273, 261, 9220, 5852, 2261, 13, 320, 31, 7734, 1033, 331, 273, 293, 18, 588, 11264, 1396, 12, 529, 16, 787, 16, 629, 1769, 7734, 309, 16051, 12, 90, 1276, 16717, 5852, 2261, 3719, 288, 10792, 309, 261, 2088, 422, 4269, 67, 9294, 13, 13491, 563, 273, 331, 31, 10792, 469, 7682, 604, 394, 31956, 503, 2932, 30706, 10623, 1930, 30, 315, 397, 4766, 5397, 563, 397, 315, 471, 315, 397, 331, 1769, 7734, 289, 5411, 289, 3639, 289, 3639, 327, 563, 31, 2868, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 336, 12, 780, 508, 16, 22780, 787, 13, 288, 3639, 1033, 563, 273, 2240, 18, 588, 12, 529, 16, 787, 1769, 3639, 309, 261, 2088, 422, 4269, 67, 9294, 597, 9101, 11425, 480, 446, 13, 288, 5411, 364, 261, 474, 277, 33, 20, 31, 277, 411, 9101, 11425, 18, 1467, 5621, 277, 27245, 288, 7734, 1033, 320, 273, 9101, 11425, 18, 2956, 861, 12, 77, 1769, 7734, 16717, 5852, 2261, 293, 273, 261, 9220, 5852, 2261, 13, 320, 31, 7734, 1033, 331, 273, 293, 18, 588, 11264, 1396, 12, 529, 16, 787, 16, 629, 1769, 7734, 309, 16051, 12, 90, 1276, 16717, 5852, 2261, 3719, 288, 10792, 309, 261, 2088, 422, 4269, 67, 9294, 13, 13491, 2 ]
Integer caret = (Integer)buffer.getProperty(Buffer.CARET);
HashMap carets = (HashMap)getClientProperty(CARETS); if ( carets == null ) { carets = new HashMap(); putClientProperty(CARETS, carets); } CaretInfo caretInfo = (CaretInfo)carets.get(buffer.getPath()); if ( caretInfo == null ) { caretInfo = new CaretInfo(); } Integer caret = caretInfo.caret; if ( caret == null ) { caret = (Integer)buffer.getProperty(Buffer.CARET); }
public void loadCaretInfo() { Integer caret = (Integer)buffer.getProperty(Buffer.CARET); if(caret != null) { textArea.setCaretPosition(Math.min(caret.intValue(), buffer.getLength())); } Selection[] selection = (Selection[])buffer.getProperty(Buffer.SELECTION); if(selection != null) { for(int i = 0; i < selection.length; i++) { Selection s = selection[i]; int max = buffer.getLength(); if(s.getStart() > max || s.getEnd() > max) selection[i] = null; } textArea.setSelection(selection); } Integer firstLine = (Integer)buffer.getProperty(Buffer.SCROLL_VERT); if(firstLine != null) textArea.setFirstPhysicalLine(firstLine.intValue()); Integer horizontalOffset = (Integer)buffer.getProperty(Buffer.SCROLL_HORIZ); if(horizontalOffset != null) textArea.setHorizontalOffset(horizontalOffset.intValue()); /* Silly bug workaround #8694. If you look at the above code, * note that we restore the saved caret position first, then * scroll to the saved location. However, the caret changing * can itself result in scrolling to a different location than * what was saved; and since moveCaretPosition() calls * updateBracketHighlight(), the bracket highlight's out of * bounds calculation will rely on a different set of physical * first/last lines than what we will end up with eventually. * Instead of confusing the user with status messages that * appear at random when switching buffers, we simply hide the * message altogether. */ view.getStatus().setMessage(null); } //}}}
8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/fe24cfc4f524b97b4411f5083ec51dead9e8ba88/EditPane.java/buggy/org/gjt/sp/jedit/EditPane.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1262, 39, 20731, 966, 1435, 202, 95, 202, 202, 4522, 21683, 273, 261, 4522, 13, 4106, 18, 588, 1396, 12, 1892, 18, 3587, 10238, 1769, 202, 202, 430, 12, 71, 20731, 480, 446, 13, 202, 202, 95, 1082, 202, 955, 5484, 18, 542, 39, 20731, 2555, 12, 10477, 18, 1154, 12, 71, 20731, 18, 474, 620, 9334, 9506, 202, 4106, 18, 588, 1782, 1435, 10019, 202, 202, 97, 202, 202, 6233, 8526, 4421, 273, 261, 6233, 63, 5717, 4106, 18, 588, 1396, 12, 1892, 18, 1090, 15445, 1769, 202, 202, 430, 12, 10705, 480, 446, 13, 202, 202, 95, 1082, 202, 1884, 12, 474, 277, 273, 374, 31, 277, 411, 4421, 18, 2469, 31, 277, 27245, 1082, 202, 95, 9506, 202, 6233, 272, 273, 4421, 63, 77, 15533, 9506, 202, 474, 943, 273, 1613, 18, 588, 1782, 5621, 9506, 202, 430, 12, 87, 18, 588, 1685, 1435, 405, 943, 747, 272, 18, 588, 1638, 1435, 405, 943, 13, 6862, 202, 10705, 63, 77, 65, 273, 446, 31, 1082, 202, 97, 1082, 202, 955, 5484, 18, 542, 6233, 12, 10705, 1769, 202, 202, 97, 202, 202, 4522, 24415, 273, 261, 4522, 13, 4106, 18, 588, 1396, 12, 1892, 18, 2312, 14555, 67, 21654, 1769, 202, 202, 430, 12, 3645, 1670, 480, 446, 13, 1082, 202, 955, 5484, 18, 542, 3759, 18136, 1670, 12, 3645, 1670, 18, 474, 620, 10663, 202, 202, 4522, 10300, 2335, 273, 261, 4522, 13, 4106, 18, 588, 1396, 12, 1892, 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, 1262, 39, 20731, 966, 1435, 202, 95, 202, 202, 4522, 21683, 273, 261, 4522, 13, 4106, 18, 588, 1396, 12, 1892, 18, 3587, 10238, 1769, 202, 202, 430, 12, 71, 20731, 480, 446, 13, 202, 202, 95, 1082, 202, 955, 5484, 18, 542, 39, 20731, 2555, 12, 10477, 18, 1154, 12, 71, 20731, 18, 474, 620, 9334, 9506, 202, 4106, 18, 588, 1782, 1435, 10019, 202, 202, 97, 202, 202, 6233, 8526, 4421, 273, 261, 6233, 63, 5717, 4106, 18, 588, 1396, 12, 1892, 18, 1090, 15445, 1769, 202, 202, 430, 12, 10705, 480, 446, 13, 202, 202, 95, 1082, 202, 1884, 12, 474, 277, 273, 374, 31, 277, 411, 4421, 18, 2469, 31, 277, 2 ]
public org.quickfix.field.LegProduct getLegProduct() throws FieldNotFound { org.quickfix.field.LegProduct value = new org.quickfix.field.LegProduct();
public quickfix.field.LegProduct getLegProduct() throws FieldNotFound { quickfix.field.LegProduct value = new quickfix.field.LegProduct();
public org.quickfix.field.LegProduct getLegProduct() throws FieldNotFound { org.quickfix.field.LegProduct value = new org.quickfix.field.LegProduct(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/Email.java/clean/src/java/src/quickfix/fix44/Email.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 4133, 336, 8329, 4133, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 4133, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 4133, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 4133, 336, 8329, 4133, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 4133, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 4133, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return this.nodeVersion;
return nodeVersion;
public String getNodeVersion() { return this.nodeVersion; }
47012 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47012/0458430a0dc8a713aa2b4d64f000cbbaaeb4adea/FCPClientHello.java/buggy/src/thaw/fcp/FCPClientHello.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 5973, 1444, 1435, 288, 202, 202, 2463, 333, 18, 2159, 1444, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 5973, 1444, 1435, 288, 202, 202, 2463, 333, 18, 2159, 1444, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
System.out.println("Enterering ChannelRegistryImpl::getNextId()");
public String getNextId() { System.out.println("Enterering ChannelRegistryImpl::getNextId()"); RdbmServices rdbmService = new RdbmServices (); Connection con = null; Statement stmt = null; ResultSet rs = null; String chanXML = null; String catid = ""; try { con = rdbmService.getConnection (); stmt = con.createStatement (); String sQuery = "SELECT MAX(CHAN_ID)+1 FROM UP_CHANNELS"; Logger.log (Logger.DEBUG, sQuery); rs = stmt.executeQuery(sQuery); int nextID = 0; if(rs.next()) { nextID = rs.getInt(1); } return String.valueOf(nextID); } catch (Exception e){ Logger.log (Logger.ERROR, e); return null; } finally{ try{ if (stmt != null) stmt.close (); } catch (SQLException ex) { Logger.log(Logger.ERROR, ex); } rdbmService.releaseConnection(con); } }
1895 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1895/53ede3b1c37c10f1e0935cb7713a442dfb4c4eac/ChannelRegistryImpl.java/clean/source/org/jasig/portal/ChannelRegistryImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 6927, 548, 1435, 288, 7734, 534, 1966, 81, 5676, 436, 1966, 81, 1179, 273, 394, 534, 1966, 81, 5676, 261, 1769, 3639, 4050, 356, 273, 446, 31, 3639, 8056, 3480, 273, 446, 31, 3639, 10842, 3597, 282, 273, 446, 31, 3639, 514, 3861, 4201, 273, 446, 31, 3639, 514, 6573, 350, 273, 1408, 31, 7734, 775, 288, 5411, 356, 273, 436, 1966, 81, 1179, 18, 588, 1952, 261, 1769, 5411, 3480, 273, 356, 18, 2640, 3406, 261, 1769, 5411, 514, 26656, 273, 315, 4803, 4552, 12, 1792, 1258, 67, 734, 27921, 21, 4571, 7376, 67, 15814, 55, 14432, 5411, 4242, 18, 1330, 261, 3328, 18, 9394, 16, 26656, 1769, 13491, 3597, 273, 3480, 18, 8837, 1138, 12, 87, 1138, 1769, 5411, 509, 1024, 734, 273, 374, 31, 5411, 309, 12, 5453, 18, 4285, 10756, 5411, 288, 7734, 1024, 734, 273, 3597, 18, 588, 1702, 12, 21, 1769, 5411, 289, 5411, 327, 514, 18, 1132, 951, 12, 4285, 734, 1769, 3639, 289, 3639, 1044, 261, 503, 425, 15329, 5411, 4242, 18, 1330, 261, 3328, 18, 3589, 16, 425, 1769, 5411, 327, 446, 31, 3639, 289, 3639, 3095, 95, 5411, 775, 95, 7734, 309, 261, 10589, 480, 446, 13, 7734, 3480, 18, 4412, 261, 1769, 5411, 289, 5411, 1044, 261, 23116, 431, 13, 288, 7734, 4242, 18, 1330, 12, 3328, 18, 3589, 16, 431, 1769, 5411, 289, 3639, 436, 1966, 81, 1179, 18, 9340, 1952, 12, 591, 1769, 3639, 289, 225, 289, 282, 2, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 6927, 548, 1435, 288, 7734, 534, 1966, 81, 5676, 436, 1966, 81, 1179, 273, 394, 534, 1966, 81, 5676, 261, 1769, 3639, 4050, 356, 273, 446, 31, 3639, 8056, 3480, 273, 446, 31, 3639, 10842, 3597, 282, 273, 446, 31, 3639, 514, 3861, 4201, 273, 446, 31, 3639, 514, 6573, 350, 273, 1408, 31, 7734, 775, 288, 5411, 356, 273, 436, 1966, 81, 1179, 18, 588, 1952, 261, 1769, 5411, 3480, 273, 356, 18, 2640, 3406, 261, 1769, 5411, 514, 26656, 273, 315, 4803, 4552, 12, 1792, 1258, 67, 734, 27921, 21, 4571, 7376, 67, 15814, 55, 14432, 5411, 4242, 18, 1330, 261, 3328, 18, 9394, 16, 26656, 1769, 13491, 3597, 273, 3480, 18, 8837, 1138, 2 ]
private byte[] getContentDelete(CmsObject cms, CmsXmlWpTemplateFile template, String elementName, Hashtable parameters, String templateSelector) throws CmsException { //return var byte[] processResult = null; // session will be created or fetched I_CmsSession session = (CmsSession) cms.getRequestContext().getSession(true); //get the class of the content definition Class cdClass = getContentDefinitionClass(); //get (stored) id parameter String id = (String) parameters.get("id"); if (id == null) id = ""; /*if (id != "") { session.putValue("idsave", id); } else { String idsave = (String) session.getValue("idsave"); if (idsave == null) idsave = ""; id = idsave; session.removeValue("idsave"); }*/ // get value of hidden input field action String action = (String) parameters.get("action"); //no button pressed, go to the default section! //delete dialog, displays the title of the entry to be deleted if (action == null || action.equals("")) { if (id != "") { //set template section templateSelector = "delete"; //create appropriate class name with underscores for labels String moduleName = ""; moduleName = (String) getClass().toString(); //get name moduleName = moduleName.substring(5); //remove 'class' substring at the beginning moduleName = moduleName.trim(); moduleName = moduleName.replace('.', '_'); //replace dots with underscores //create new language file object CmsXmlLanguageFile lang = new CmsXmlLanguageFile(cms); //get the dialog from the langauge file and set it in the template template.setData("deletetitle", lang.getLanguageValue("messagebox.title.delete")); template.setData("deletedialog", lang.getLanguageValue("messagebox.message1.delete")); template.setData("newsentry", id); template.setData("setaction", "default"); } // confirmation button pressed, process data! } else { //set template section templateSelector = "done"; //remove marker session.removeValue("idsave"); //delete the content definition instance Integer idInteger = null; try { idInteger = Integer.valueOf(id); } catch (Exception e) { //access content definition constructor by reflection Object o = null; o = getContentDefinition(cms, cdClass, id); //get delete method and delete content definition instance try { ((A_CmsContentDefinition) o).delete(cms); //Method deleteMethod = (Method) cdClass.getMethod("delete", new Class[] {CmsObject.class}); //deleteMethod.invoke(o, new Object[] {cms}); } catch (Exception e1) { // System.err.println("error: "); if (A_OpenCms.isLogging()) { A_OpenCms.log(C_OPENCMS_INFO, getClassName() + ": Backoffice: delete method throwed an exception!"); } // System.err.println("error: "); templateSelector = "deleteerror"; // System.err.println("error: " + e1.getMessage()); template.setData("deleteerror", e1.getMessage()); } //finally start the processing processResult = startProcessing(cms, template, elementName, parameters, templateSelector); return processResult; } //access content definition constructor by reflection Object o = null; o = getContentDefinition(cms, cdClass, idInteger); //get delete method and delete content definition instance try { ((A_CmsContentDefinition) o).delete(cms); }catch (Exception e) { templateSelector = "deleteerror"; template.setData("deleteerror", e.getMessage()); } } //finally start the processing processResult = startProcessing(cms, template, elementName, parameters, templateSelector); return processResult;}
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/65fec749058083642e3e85283287c65357fa8690/A_CmsBackoffice.java/clean/src/com/opencms/defaults/A_CmsBackoffice.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 7229, 8526, 588, 1350, 2613, 12, 4747, 921, 6851, 16, 4747, 4432, 59, 84, 2283, 25579, 278, 29761, 16, 780, 2956, 461, 16, 5582, 14544, 3977, 16, 780, 3202, 4320, 13, 15069, 4747, 503, 95, 202, 759, 2463, 1401, 202, 7229, 8526, 2567, 1253, 33, 2011, 31, 202, 759, 3184, 20194, 70, 557, 266, 690, 280, 5754, 329, 202, 45, 67, 4747, 2157, 3184, 28657, 4747, 2157, 13, 6851, 18, 588, 21426, 7675, 588, 2157, 12, 3767, 1769, 202, 759, 588, 451, 557, 459, 792, 451, 31313, 319, 6907, 202, 797, 4315, 797, 33, 588, 1350, 1852, 797, 5621, 202, 759, 588, 12, 22601, 13, 350, 6775, 202, 780, 350, 28657, 780, 13, 3977, 18, 588, 2932, 350, 8863, 202, 430, 12, 350, 631, 2011, 13, 202, 202, 350, 1546, 14432, 202, 20308, 430, 12, 350, 5, 1546, 7923, 95, 202, 202, 3184, 18, 458, 620, 2932, 2232, 836, 3113, 350, 1769, 202, 97, 12107, 95, 202, 202, 780, 2232, 836, 28657, 780, 13, 3184, 18, 24805, 2932, 2232, 836, 8863, 202, 202, 430, 12, 2232, 836, 631, 2011, 13, 1082, 202, 2232, 836, 1546, 14432, 202, 202, 350, 33, 2232, 836, 31, 202, 202, 3184, 18, 4479, 620, 2932, 2232, 836, 8863, 202, 97, 5549, 202, 759, 588, 1132, 792, 6345, 2630, 1518, 1128, 202, 780, 1128, 28657, 780, 13, 3977, 18, 588, 2932, 1128, 8863, 202, 759, 82, 947, 2644, 10906, 16, 13212, 352, 580, 1886, 3464, 5, 202, 759, 8600, 3529, 16, 5417, 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, 3238, 7229, 8526, 588, 1350, 2613, 12, 4747, 921, 6851, 16, 4747, 4432, 59, 84, 2283, 25579, 278, 29761, 16, 780, 2956, 461, 16, 5582, 14544, 3977, 16, 780, 3202, 4320, 13, 15069, 4747, 503, 95, 202, 759, 2463, 1401, 202, 7229, 8526, 2567, 1253, 33, 2011, 31, 202, 759, 3184, 20194, 70, 557, 266, 690, 280, 5754, 329, 202, 45, 67, 4747, 2157, 3184, 28657, 4747, 2157, 13, 6851, 18, 588, 21426, 7675, 588, 2157, 12, 3767, 1769, 202, 759, 588, 451, 557, 459, 792, 451, 31313, 319, 6907, 202, 797, 4315, 797, 33, 588, 1350, 1852, 797, 5621, 202, 759, 588, 12, 22601, 13, 350, 6775, 202, 780, 350, 28657, 780, 13, 3977, 18, 588, 2932, 350, 2 ]
if (ivyRef.getRevision() != null && !ivyRef.getRevision().startsWith("working@") && md.getModuleRevisionId().getRevision() != null &&
if (ivyRef.getRevision() != null && !ivyRef.getRevision().startsWith("working@") &&
private boolean checkDescriptorConsistency(ModuleRevisionId mrid, ModuleDescriptor md, ResolvedResource ivyRef) { boolean ok = true; if (!mrid.getOrganisation().equals(md.getModuleRevisionId().getOrganisation())) { Message.error("\t"+getName()+": bad organisation found in "+ivyRef.getResource()+": expected="+mrid.getOrganisation()+" found="+md.getModuleRevisionId().getOrganisation()); ok = false; } if (!mrid.getName().equals(md.getModuleRevisionId().getName())) { Message.error("\t"+getName()+": bad module name found in "+ivyRef.getResource()+": expected="+mrid.getName()+" found="+md.getModuleRevisionId().getName()); ok = false; } if (ivyRef.getRevision() != null && !ivyRef.getRevision().startsWith("working@") && md.getModuleRevisionId().getRevision() != null && !ModuleRevisionId.acceptRevision(ivyRef.getRevision(), md.getModuleRevisionId().getRevision())) { Message.error("\t"+getName()+": bad revision found in "+ivyRef.getResource()+": expected="+ivyRef.getRevision()+" found="+md.getModuleRevisionId().getRevision()); ok = false; } if (!ok) { Message.verbose("\t"+getName()+": inconsistent module descriptor file found for "+mrid+" rejecting"); } return ok; }
45724 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45724/9ab9779e58abf2a4b12b550a207d5e9280847c27/BasicResolver.java/buggy/src/java/fr/jayasoft/ivy/resolver/BasicResolver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 866, 3187, 22124, 12, 3120, 7939, 548, 312, 1691, 16, 5924, 3187, 3481, 16, 22776, 1420, 4674, 93, 1957, 13, 288, 3639, 1250, 1529, 273, 638, 31, 3639, 309, 16051, 81, 1691, 18, 588, 6001, 304, 10742, 7675, 14963, 12, 1264, 18, 588, 3120, 7939, 548, 7675, 588, 6001, 304, 10742, 1435, 3719, 288, 5411, 2350, 18, 1636, 31458, 88, 6, 15, 17994, 1435, 15, 6877, 5570, 15501, 10742, 1392, 316, 13773, 427, 93, 1957, 18, 588, 1420, 1435, 15, 6877, 2665, 1546, 15, 81, 1691, 18, 588, 6001, 304, 10742, 1435, 9078, 1392, 1546, 15, 1264, 18, 588, 3120, 7939, 548, 7675, 588, 6001, 304, 10742, 10663, 5411, 1529, 273, 629, 31, 3639, 289, 3639, 309, 16051, 81, 1691, 18, 17994, 7675, 14963, 12, 1264, 18, 588, 3120, 7939, 548, 7675, 17994, 1435, 3719, 288, 5411, 2350, 18, 1636, 31458, 88, 6, 15, 17994, 1435, 15, 6877, 5570, 1605, 508, 1392, 316, 13773, 427, 93, 1957, 18, 588, 1420, 1435, 15, 6877, 2665, 1546, 15, 81, 1691, 18, 17994, 1435, 9078, 1392, 1546, 15, 1264, 18, 588, 3120, 7939, 548, 7675, 17994, 10663, 5411, 1529, 273, 629, 31, 3639, 289, 3639, 309, 261, 427, 93, 1957, 18, 588, 7939, 1435, 480, 446, 597, 401, 427, 93, 1957, 18, 588, 7939, 7675, 17514, 1190, 2932, 20478, 36, 7923, 597, 1171, 401, 3120, 7939, 548, 18, 9436, 7939, 12, 427, 93, 1957, 18, 588, 7939, 9334, 3481, 18, 588, 3120, 7939, 548, 7675, 588, 7939, 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, 1250, 866, 3187, 22124, 12, 3120, 7939, 548, 312, 1691, 16, 5924, 3187, 3481, 16, 22776, 1420, 4674, 93, 1957, 13, 288, 3639, 1250, 1529, 273, 638, 31, 3639, 309, 16051, 81, 1691, 18, 588, 6001, 304, 10742, 7675, 14963, 12, 1264, 18, 588, 3120, 7939, 548, 7675, 588, 6001, 304, 10742, 1435, 3719, 288, 5411, 2350, 18, 1636, 31458, 88, 6, 15, 17994, 1435, 15, 6877, 5570, 15501, 10742, 1392, 316, 13773, 427, 93, 1957, 18, 588, 1420, 1435, 15, 6877, 2665, 1546, 15, 81, 1691, 18, 588, 6001, 304, 10742, 1435, 9078, 1392, 1546, 15, 1264, 18, 588, 3120, 7939, 548, 7675, 588, 6001, 304, 10742, 10663, 5411, 1529, 273, 629, 31, 3639, 289, 3639, 2 ]
public String createErrorMessage(Invocation call) { StringBuffer buf = new StringBuffer(); buf.append("unexpected result type: "); buf.append(call.invokedMethod.getReturnType().toString()); buf.append("\n"); if( resultValuesByType.isEmpty() ) { buf.append("no result types are registered!"); } else { buf.append("expected one of: "); Iterator i = resultValuesByType.keySet().iterator(); boolean separatorRequired = false; while( i.hasNext() ) { if( separatorRequired ) buf.append(", "); buf.append( ((Class)i.next()).getName() ); separatorRequired = true; } } return buf.toString(); }
2796 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2796/065d08edd62599d5d244a9317db470157690f4f9/DefaultResultStub.java/clean/jmock/core/src/org/jmock/core/stub/DefaultResultStub.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 752, 14935, 12, 9267, 745, 13, 288, 202, 202, 780, 1892, 1681, 273, 394, 6674, 5621, 9506, 202, 4385, 18, 6923, 2932, 21248, 563, 618, 30, 315, 1769, 202, 202, 4385, 18, 6923, 12, 1991, 18, 5768, 14276, 1305, 18, 588, 9102, 7675, 10492, 10663, 202, 202, 4385, 18, 6923, 31458, 82, 8863, 25083, 202, 430, 12, 563, 1972, 14145, 18, 291, 1921, 1435, 262, 288, 1082, 202, 4385, 18, 6923, 2932, 2135, 563, 1953, 854, 4104, 4442, 1769, 202, 202, 97, 469, 288, 1082, 202, 4385, 18, 6923, 2932, 3825, 1245, 434, 30, 315, 1769, 25083, 202, 3198, 277, 273, 563, 1972, 14145, 18, 856, 694, 7675, 9838, 5621, 5411, 1250, 4182, 3705, 273, 629, 31, 2398, 1082, 202, 17523, 12, 277, 18, 5332, 2134, 1435, 262, 288, 9506, 202, 430, 12, 4182, 3705, 262, 1681, 18, 6923, 2932, 16, 315, 1769, 9506, 202, 4385, 18, 6923, 12, 14015, 797, 13, 77, 18, 4285, 1435, 2934, 17994, 1435, 11272, 27573, 4182, 3705, 273, 638, 31, 1082, 202, 97, 202, 202, 97, 9506, 202, 2463, 1681, 18, 10492, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 752, 14935, 12, 9267, 745, 13, 288, 202, 202, 780, 1892, 1681, 273, 394, 6674, 5621, 9506, 202, 4385, 18, 6923, 2932, 21248, 563, 618, 30, 315, 1769, 202, 202, 4385, 18, 6923, 12, 1991, 18, 5768, 14276, 1305, 18, 588, 9102, 7675, 10492, 10663, 202, 202, 4385, 18, 6923, 31458, 82, 8863, 25083, 202, 430, 12, 563, 1972, 14145, 18, 291, 1921, 1435, 262, 288, 1082, 202, 4385, 18, 6923, 2932, 2135, 563, 1953, 854, 4104, 4442, 1769, 202, 202, 97, 469, 288, 1082, 202, 4385, 18, 6923, 2932, 3825, 1245, 434, 30, 315, 1769, 25083, 202, 3198, 277, 273, 563, 1972, 14145, 18, 856, 694, 7675, 9838, 5621, 5411, 1250, 4182, 3705, 273, 2 ]
final long timeOut = 30L * 1000L; final long precision = 2L * 1000L;
final long TIME_OUT = 30L * 1000L; final long PRECISION = 2L * 1000L;
public final void init(Properties properties) throws IllegalStateException, Throwable { // Check and set state synchronized (_stateLock) { if (_state != UNINITIALIZED) { throw new IllegalStateException("This API is not uninitialized anymore."); } _state = INITIALIZING; } // Store the settings if (properties == null) { _initSettings = new Properties(); } else { _initSettings = (Properties) properties.clone(); } _initSettingsReader = new PropertiesPropertyReader(_initSettings); // TODO: Check if this API is session-based at all // XXX: Allow configuration of session ID type ? _sessionIDType = new BasicSessionID(this); _sessionIDGenerator = _sessionIDType.getGenerator(); // TODO: Configure time-out and precision using init settings // XXX: Configure time-out and precision at runtime ? final long timeOut = 30L * 1000L; // 30 seconds final long precision = 2L * 1000L; // 2 seconds ExpiryStrategy expiryStrategy = new ExpiryStrategy(timeOut, precision); // TODO: Configure initial queue size and max queue wait time using init // settings final int initialQueueSize = 89; final long maxQueueWaitTime = 15000L; // 15 seconds _sessionsByID = new ExpiryFolder(expiryStrategy, initialQueueSize, maxQueueWaitTime); // Let the subclass perform initialization boolean succeeded = false; try { initImpl(properties); succeeded = true; // Set the state } finally { synchronized (_stateLock) { if (!succeeded) { _state = UNINITIALIZED; } else { _state = INITIALIZED; } } } // XXX: Initialize all instances here somewhere ? }
45757 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45757/b5b8691691060376957e26909fc0de88b5a802fb/API.java/buggy/src/java-server-framework/org/xins/server/API.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 727, 918, 1208, 12, 2297, 1790, 13, 282, 1216, 5477, 16, 4206, 288, 1377, 368, 2073, 471, 444, 919, 1377, 3852, 261, 67, 2019, 2531, 13, 288, 540, 309, 261, 67, 2019, 480, 5019, 12919, 25991, 13, 288, 5411, 604, 394, 5477, 2932, 2503, 1491, 353, 486, 640, 13227, 16828, 1199, 1769, 540, 289, 540, 389, 2019, 273, 12584, 15154, 1360, 31, 1377, 289, 1377, 368, 4994, 326, 1947, 1377, 309, 261, 4738, 422, 446, 13, 288, 540, 389, 2738, 2628, 273, 394, 6183, 5621, 1377, 289, 469, 288, 540, 389, 2738, 2628, 273, 261, 2297, 13, 1790, 18, 14056, 5621, 1377, 289, 1377, 389, 2738, 2628, 2514, 273, 394, 6183, 1396, 2514, 24899, 2738, 2628, 1769, 1377, 368, 2660, 30, 2073, 309, 333, 1491, 353, 1339, 17, 12261, 622, 777, 1377, 368, 11329, 30, 7852, 1664, 434, 1339, 1599, 618, 692, 1377, 389, 17255, 559, 1377, 273, 394, 7651, 2157, 734, 12, 2211, 1769, 1377, 389, 17255, 3908, 273, 389, 17255, 559, 18, 588, 3908, 5621, 1377, 368, 2660, 30, 11758, 813, 17, 659, 471, 6039, 1450, 1208, 1947, 1377, 368, 11329, 30, 11758, 813, 17, 659, 471, 6039, 622, 3099, 692, 1377, 727, 1525, 813, 1182, 282, 273, 5196, 48, 380, 4336, 48, 31, 368, 5196, 3974, 1377, 727, 1525, 6039, 273, 225, 576, 48, 380, 4336, 48, 31, 368, 225, 576, 3974, 1377, 31462, 4525, 10839, 4525, 273, 394, 31462, 4525, 12, 957, 1182, 16, 6039, 1769, 1377, 368, 2660, 30, 11758, 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, 727, 918, 1208, 12, 2297, 1790, 13, 282, 1216, 5477, 16, 4206, 288, 1377, 368, 2073, 471, 444, 919, 1377, 3852, 261, 67, 2019, 2531, 13, 288, 540, 309, 261, 67, 2019, 480, 5019, 12919, 25991, 13, 288, 5411, 604, 394, 5477, 2932, 2503, 1491, 353, 486, 640, 13227, 16828, 1199, 1769, 540, 289, 540, 389, 2019, 273, 12584, 15154, 1360, 31, 1377, 289, 1377, 368, 4994, 326, 1947, 1377, 309, 261, 4738, 422, 446, 13, 288, 540, 389, 2738, 2628, 273, 394, 6183, 5621, 1377, 289, 469, 288, 540, 389, 2738, 2628, 273, 261, 2297, 13, 1790, 18, 14056, 5621, 1377, 289, 1377, 389, 2738, 2628, 2514, 273, 394, 6183, 1396, 2514, 24899, 2738, 2628, 1769, 2 ]
public void init() { add(new FeedbackLoop() { public void init() { setDelay(2); setJoiner(WEIGHTED_ROUND_ROBIN(0, 1)); setBody(new Filter() { Channel input = new Channel(Integer.TYPE, 1, 1); Channel output = new Channel(Integer.TYPE, 1); public void work() { output.pushInt(input.peekInt(1) + input.peekInt(0)); input.pop(); } }); setSplitter(DUPLICATE()); } int initPath(int index) { return 1; } }); add (new Filter () { Channel input = new Channel (Integer.TYPE, 1); public void initIO () { streamInput = input; } public void work () { System.out.println (input.popInt ()); } }); }
47772 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47772/ab40a093ff98c7575df6b961598feef3267336a8/Fib.java/buggy/streams/apps/examples/fib/Fib.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1208, 1435, 565, 288, 3639, 527, 12, 2704, 14013, 823, 6452, 1435, 5411, 288, 7734, 1071, 918, 1208, 1435, 7734, 288, 10792, 444, 6763, 12, 22, 1769, 10792, 444, 4572, 264, 12, 6950, 16055, 6404, 67, 15092, 67, 1457, 12615, 12, 20, 16, 404, 10019, 10792, 16492, 12, 2704, 4008, 1435, 13491, 288, 18701, 5307, 810, 273, 394, 5307, 12, 4522, 18, 2399, 16, 404, 16, 404, 1769, 18701, 5307, 876, 273, 394, 5307, 12, 4522, 18, 2399, 16, 404, 1769, 18701, 1071, 918, 1440, 1435, 18701, 288, 27573, 876, 18, 6206, 1702, 12, 2630, 18, 347, 3839, 1702, 12, 21, 13, 397, 9944, 4202, 810, 18, 347, 3839, 1702, 12, 20, 10019, 27573, 810, 18, 5120, 5621, 18701, 289, 13491, 15549, 10792, 444, 26738, 12, 30387, 26042, 10663, 7734, 289, 7734, 509, 1208, 743, 12, 474, 770, 13, 7734, 288, 10792, 327, 404, 31, 7734, 289, 5411, 15549, 3639, 527, 261, 2704, 4008, 1832, 5411, 288, 7734, 5307, 810, 273, 394, 5307, 261, 4522, 18, 2399, 16, 404, 1769, 27573, 1071, 918, 1208, 4294, 1832, 7734, 288, 10792, 1407, 1210, 273, 810, 31, 7734, 289, 27573, 1071, 918, 1440, 1832, 7734, 288, 10792, 2332, 18, 659, 18, 8222, 261, 2630, 18, 5120, 1702, 1832, 1769, 7734, 289, 5411, 15549, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1208, 1435, 565, 288, 3639, 527, 12, 2704, 14013, 823, 6452, 1435, 5411, 288, 7734, 1071, 918, 1208, 1435, 7734, 288, 10792, 444, 6763, 12, 22, 1769, 10792, 444, 4572, 264, 12, 6950, 16055, 6404, 67, 15092, 67, 1457, 12615, 12, 20, 16, 404, 10019, 10792, 16492, 12, 2704, 4008, 1435, 13491, 288, 18701, 5307, 810, 273, 394, 5307, 12, 4522, 18, 2399, 16, 404, 16, 404, 1769, 18701, 5307, 876, 273, 394, 5307, 12, 4522, 18, 2399, 16, 404, 1769, 18701, 1071, 918, 1440, 1435, 18701, 288, 27573, 876, 18, 6206, 1702, 12, 2630, 18, 347, 3839, 1702, 12, 21, 13, 397, 9944, 4202, 810, 18, 347, 3839, 1702, 12, 20, 10019, 27573, 810, 18, 2 ]
if (jj_scan_token(106)) {
if (jj_scan_token(107)) {
static final private boolean jj_3R_59() { Token xsp; xsp = jj_scanpos; if (jj_3R_144()) { jj_scanpos = xsp; if (jj_3R_145()) { jj_scanpos = xsp; if (jj_scan_token(83)) { jj_scanpos = xsp; if (jj_scan_token(106)) { jj_scanpos = xsp; if (jj_scan_token(80)) return true; } } } } return false; }
41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/380243817238f20dded6aa323a249c33dbaceae3/CPPParser.java/clean/pmd/src/net/sourceforge/pmd/cpd/cppast/CPPParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 760, 727, 3238, 1250, 10684, 67, 23, 54, 67, 6162, 1435, 288, 565, 3155, 619, 1752, 31, 565, 619, 1752, 273, 10684, 67, 9871, 917, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 25339, 10756, 288, 565, 10684, 67, 9871, 917, 273, 619, 1752, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 30379, 10756, 288, 565, 10684, 67, 9871, 917, 273, 619, 1752, 31, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 10261, 3719, 288, 565, 10684, 67, 9871, 917, 273, 619, 1752, 31, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 23054, 3719, 288, 565, 10684, 67, 9871, 917, 273, 619, 1752, 31, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 3672, 3719, 327, 638, 31, 565, 289, 565, 289, 565, 289, 565, 289, 565, 327, 629, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 760, 727, 3238, 1250, 10684, 67, 23, 54, 67, 6162, 1435, 288, 565, 3155, 619, 1752, 31, 565, 619, 1752, 273, 10684, 67, 9871, 917, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 25339, 10756, 288, 565, 10684, 67, 9871, 917, 273, 619, 1752, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 30379, 10756, 288, 565, 10684, 67, 9871, 917, 273, 619, 1752, 31, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 10261, 3719, 288, 565, 10684, 67, 9871, 917, 273, 619, 1752, 31, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 23054, 3719, 288, 565, 10684, 67, 9871, 917, 273, 619, 1752, 31, 565, 309, 261, 78, 78, 67, 2 ]
throw new PSQLException ("postgresql.con.failed",e);
throw new PSQLException ("postgresql.con.failed",e);
protected void openConnection(String host, int port, Properties info, String database, String url, Driver d) throws SQLException { // Throw an exception if the user or password properties are missing // This occasionally occurs when the client uses the properties version // of getConnection(), and is a common question on the email lists if(info.getProperty("user")==null) throw new PSQLException("postgresql.con.user"); if(info.getProperty("password")==null) throw new PSQLException("postgresql.con.pass"); this_driver = d; this_url = url; PG_DATABASE = database; PG_PASSWORD = info.getProperty("password"); PG_USER = info.getProperty("user"); PG_PORT = port; PG_HOST = host; PG_STATUS = CONNECTION_BAD; if(info.getProperty("compatible")==null) { compatible = d.getMajorVersion() + "." + d.getMinorVersion(); } else { compatible = info.getProperty("compatible"); } // Now make the initial connection try { pg_stream = new PG_Stream(host, port); } catch (ConnectException cex) { // Added by Peter Mount <peter@retep.org.uk> // ConnectException is thrown when the connection cannot be made. // we trap this an return a more meaningful message for the end user throw new PSQLException ("postgresql.con.refused"); } catch (IOException e) { throw new PSQLException ("postgresql.con.failed",e); } // Now we need to construct and send a startup packet try { // Ver 6.3 code pg_stream.SendInteger(4+4+SM_DATABASE+SM_USER+SM_OPTIONS+SM_UNUSED+SM_TTY,4); pg_stream.SendInteger(PG_PROTOCOL_LATEST_MAJOR,2); pg_stream.SendInteger(PG_PROTOCOL_LATEST_MINOR,2); pg_stream.Send(database.getBytes(),SM_DATABASE); // This last send includes the unused fields pg_stream.Send(PG_USER.getBytes(),SM_USER+SM_OPTIONS+SM_UNUSED+SM_TTY); // now flush the startup packets to the backend pg_stream.flush(); // Now get the response from the backend, either an error message // or an authentication request int areq = -1; // must have a value here do { int beresp = pg_stream.ReceiveChar(); switch(beresp) { case 'E': // An error occured, so pass the error message to the // user. // // The most common one to be thrown here is: // "User authentication failed" // throw new SQLException(pg_stream.ReceiveString(encoding)); case 'R': // Get the type of request areq = pg_stream.ReceiveIntegerR(4); // Get the password salt if there is one if(areq == AUTH_REQ_CRYPT) { byte[] rst = new byte[2]; rst[0] = (byte)pg_stream.ReceiveChar(); rst[1] = (byte)pg_stream.ReceiveChar(); salt = new String(rst,0,2); DriverManager.println("Salt="+salt); } // now send the auth packet switch(areq) { case AUTH_REQ_OK: break; case AUTH_REQ_KRB4: DriverManager.println("postgresql: KRB4"); throw new PSQLException("postgresql.con.kerb4"); case AUTH_REQ_KRB5: DriverManager.println("postgresql: KRB5"); throw new PSQLException("postgresql.con.kerb5"); case AUTH_REQ_PASSWORD: DriverManager.println("postgresql: PASSWORD"); pg_stream.SendInteger(5+PG_PASSWORD.length(),4); pg_stream.Send(PG_PASSWORD.getBytes()); pg_stream.SendInteger(0,1); pg_stream.flush(); break; case AUTH_REQ_CRYPT: DriverManager.println("postgresql: CRYPT"); String crypted = UnixCrypt.crypt(salt,PG_PASSWORD); pg_stream.SendInteger(5+crypted.length(),4); pg_stream.Send(crypted.getBytes()); pg_stream.SendInteger(0,1); pg_stream.flush(); break; default: throw new PSQLException("postgresql.con.auth",new Integer(areq)); } break; default: throw new PSQLException("postgresql.con.authfail"); } } while(areq != AUTH_REQ_OK); } catch (IOException e) { throw new PSQLException("postgresql.con.failed",e); } // As of protocol version 2.0, we should now receive the cancellation key and the pid int beresp = pg_stream.ReceiveChar(); switch(beresp) { case 'K': pid = pg_stream.ReceiveInteger(4); ckey = pg_stream.ReceiveInteger(4); break; case 'E': case 'N': throw new SQLException(pg_stream.ReceiveString(encoding)); default: throw new PSQLException("postgresql.con.setup"); } // Expect ReadyForQuery packet beresp = pg_stream.ReceiveChar(); switch(beresp) { case 'Z': break; case 'E': case 'N': throw new SQLException(pg_stream.ReceiveString(encoding)); default: throw new PSQLException("postgresql.con.setup"); } firstWarning = null; // "pg_encoding_to_char(1)" will return 'EUC_JP' for a backend compiled with multibyte, // otherwise it's hardcoded to 'SQL_ASCII'. // If the backend doesn't know about multibyte we can't assume anything about the encoding // used, so we denote this with 'UNKNOWN'. final String encodingQuery = "case when pg_encoding_to_char(1) = 'SQL_ASCII' then 'UNKNOWN' else getdatabaseencoding() end"; // Set datestyle and fetch db encoding in a single call, to avoid making // more than one round trip to the backend during connection startup. java.sql.ResultSet resultSet = ExecSQL("set datestyle to 'ISO'; select version(), " + encodingQuery + ";"); if (! resultSet.next()) { throw new PSQLException("postgresql.con.failed", "failed getting backend encoding"); } String version = resultSet.getString(1); dbVersionNumber = extractVersionNumber(version); String dbEncoding = resultSet.getString(2); encoding = Encoding.getEncoding(dbEncoding, info.getProperty("charSet")); // Initialise object handling initObjectTypes(); // Mark the connection as ok, and cleanup firstWarning = null; PG_STATUS = CONNECTION_OK; }
45534 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45534/839b9bc0117946afd62ee385a4c8a36c01b3053b/Connection.java/buggy/src/interfaces/jdbc/org/postgresql/Connection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 24982, 12, 780, 1479, 16, 509, 1756, 16, 6183, 1123, 16, 514, 2063, 16, 514, 880, 16, 9396, 302, 13, 1216, 6483, 565, 288, 565, 368, 3743, 392, 1520, 309, 326, 729, 578, 2201, 1790, 854, 3315, 565, 368, 1220, 9145, 345, 285, 1230, 9938, 1347, 326, 1004, 4692, 326, 1790, 1177, 565, 368, 434, 6742, 9334, 471, 353, 279, 2975, 5073, 603, 326, 2699, 6035, 565, 309, 12, 1376, 18, 588, 1396, 2932, 1355, 7923, 631, 2011, 13, 1377, 604, 394, 453, 23116, 2932, 2767, 24330, 18, 591, 18, 1355, 8863, 565, 309, 12, 1376, 18, 588, 1396, 2932, 3664, 7923, 631, 2011, 13, 1377, 604, 394, 453, 23116, 2932, 2767, 24330, 18, 591, 18, 5466, 8863, 565, 333, 67, 7407, 273, 302, 31, 565, 333, 67, 718, 273, 880, 31, 565, 22116, 67, 22366, 273, 2063, 31, 565, 22116, 67, 13784, 273, 1123, 18, 588, 1396, 2932, 3664, 8863, 565, 22116, 67, 4714, 273, 1123, 18, 588, 1396, 2932, 1355, 8863, 565, 22116, 67, 6354, 273, 1756, 31, 565, 22116, 67, 8908, 273, 1479, 31, 565, 22116, 67, 8608, 273, 20695, 67, 16234, 31, 565, 309, 12, 1376, 18, 588, 1396, 2932, 10943, 7923, 631, 2011, 13, 288, 1377, 7318, 273, 302, 18, 588, 17581, 1444, 1435, 397, 4585, 397, 302, 18, 588, 19549, 1444, 5621, 565, 289, 469, 288, 1377, 7318, 273, 1123, 18, 588, 1396, 2932, 10943, 8863, 565, 289, 565, 368, 4494, 1221, 326, 2172, 1459, 565, 775, 1377, 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, 24982, 12, 780, 1479, 16, 509, 1756, 16, 6183, 1123, 16, 514, 2063, 16, 514, 880, 16, 9396, 302, 13, 1216, 6483, 565, 288, 565, 368, 3743, 392, 1520, 309, 326, 729, 578, 2201, 1790, 854, 3315, 565, 368, 1220, 9145, 345, 285, 1230, 9938, 1347, 326, 1004, 4692, 326, 1790, 1177, 565, 368, 434, 6742, 9334, 471, 353, 279, 2975, 5073, 603, 326, 2699, 6035, 565, 309, 12, 1376, 18, 588, 1396, 2932, 1355, 7923, 631, 2011, 13, 1377, 604, 394, 453, 23116, 2932, 2767, 24330, 18, 591, 18, 1355, 8863, 565, 309, 12, 1376, 18, 588, 1396, 2932, 3664, 7923, 631, 2011, 13, 1377, 604, 394, 453, 23116, 2932, 2767, 24330, 18, 591, 18, 2 ]
DisplayStyleComboBox dscb = (DisplayStyleComboBox) toolbarComponents[i]; if (dscb.displayStyle) ((ReadMessageDisplayPanel)messageDisplay).setDisplayCombo(dscb);
DisplayStyleComboBox dscb = (DisplayStyleComboBox) toolbarComponents[i]; if (dscb.displayStyle) ((ReadMessageDisplayPanel)messageDisplay).setDisplayCombo(dscb);
public void configureMessageInternalFrame() throws MessagingException { try { this.setTitle((String)msg.getMessageInfo().getMessageProperty("Subject")); } catch (MessagingException me) { this.setTitle(Pooka.getProperty("Pooka.messageInternalFrame.messageTitle.noSubject", "<no subject>")); } messageDisplay = new ReadMessageDisplayPanel(this); messageDisplay.configureMessageDisplay(); toolbar = new ConfigurableToolbar("MessageWindowToolbar", Pooka.getResources()); this.getContentPane().add("North", toolbar); this.getContentPane().add("Center", messageDisplay); toolbar.setActive(this.getActions()); // check to see if there are any DisplayStyleComboBoxes // in the toolbar java.awt.Component[] toolbarComponents = toolbar.getComponents(); for (int i = 0; i < toolbarComponents.length; i++) { if (toolbarComponents[i] instanceof DisplayStyleComboBox) { DisplayStyleComboBox dscb = (DisplayStyleComboBox) toolbarComponents[i]; if (dscb.displayStyle) ((ReadMessageDisplayPanel)messageDisplay).setDisplayCombo(dscb); if (dscb.headerStyle) ((ReadMessageDisplayPanel)messageDisplay).setHeaderCombo(dscb); dscb.styleUpdated(getMessageProxy().getDisplayMode(), getMessageProxy().getHeaderMode()); } } keyBindings = new ConfigurableKeyBinding(this, "ReadMessageWindow.keyBindings", Pooka.getResources()); keyBindings.setActive(getActions()); configureInterfaceStyle(); }
967 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/967/538edc8a94ad8ef2062ef68f8ea643b251c1a947/ReadMessageInternalFrame.java/clean/src/net/suberic/pooka/gui/ReadMessageInternalFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 5068, 1079, 3061, 3219, 1435, 1216, 23794, 503, 288, 565, 775, 288, 1377, 333, 18, 542, 4247, 12443, 780, 13, 3576, 18, 24906, 966, 7675, 24906, 1396, 2932, 6638, 7923, 1769, 565, 289, 1044, 261, 23389, 503, 1791, 13, 288, 1377, 333, 18, 542, 4247, 12, 52, 1184, 69, 18, 588, 1396, 2932, 52, 1184, 69, 18, 2150, 3061, 3219, 18, 2150, 4247, 18, 2135, 6638, 3113, 3532, 2135, 3221, 2984, 10019, 565, 289, 3639, 883, 4236, 273, 394, 2720, 1079, 4236, 5537, 12, 2211, 1769, 565, 883, 4236, 18, 14895, 1079, 4236, 5621, 3639, 12748, 273, 394, 29312, 17907, 2932, 1079, 3829, 17907, 3113, 453, 1184, 69, 18, 588, 3805, 10663, 3639, 333, 18, 588, 1350, 8485, 7675, 1289, 2932, 50, 7825, 3113, 12748, 1769, 565, 333, 18, 588, 1350, 8485, 7675, 1289, 2932, 8449, 3113, 883, 4236, 1769, 3639, 12748, 18, 542, 3896, 12, 2211, 18, 588, 6100, 10663, 565, 368, 866, 358, 2621, 309, 1915, 854, 1281, 9311, 2885, 22199, 281, 565, 368, 316, 326, 12748, 565, 2252, 18, 2219, 88, 18, 1841, 8526, 12748, 7171, 273, 12748, 18, 588, 7171, 5621, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 12748, 7171, 18, 2469, 31, 277, 27245, 288, 1377, 309, 261, 18849, 7171, 63, 77, 65, 1276, 9311, 2885, 22199, 13, 288, 202, 4236, 2885, 22199, 302, 1017, 70, 273, 261, 4236, 2885, 22199, 13, 12748, 7171, 63, 77, 15533, 202, 430, 261, 72, 1017, 70, 18, 5417, 2885, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 5068, 1079, 3061, 3219, 1435, 1216, 23794, 503, 288, 565, 775, 288, 1377, 333, 18, 542, 4247, 12443, 780, 13, 3576, 18, 24906, 966, 7675, 24906, 1396, 2932, 6638, 7923, 1769, 565, 289, 1044, 261, 23389, 503, 1791, 13, 288, 1377, 333, 18, 542, 4247, 12, 52, 1184, 69, 18, 588, 1396, 2932, 52, 1184, 69, 18, 2150, 3061, 3219, 18, 2150, 4247, 18, 2135, 6638, 3113, 3532, 2135, 3221, 2984, 10019, 565, 289, 3639, 883, 4236, 273, 394, 2720, 1079, 4236, 5537, 12, 2211, 1769, 565, 883, 4236, 18, 14895, 1079, 4236, 5621, 3639, 12748, 273, 394, 29312, 17907, 2932, 1079, 3829, 17907, 3113, 453, 1184, 69, 18, 588, 3805, 10663, 3639, 333, 18, 588, 2 ]
return TabbedPanel.this.size();
return TabbedPanel.this.tabs.size();
public TabbedPanel(MarkupContainer parent, final String id, List<? extends ITab> tabs) { super(parent, id, new Model<Integer>(new Integer(-1))); if (tabs == null) { throw new IllegalArgumentException("argument [tabs] cannot be null"); } if (tabs.size() < 1) { throw new IllegalArgumentException( "argument [tabs] must contain a list of at least one tab"); } this.tabs = tabs; final IModel<Integer> tabCount = new AbstractReadOnlyModel<Integer>() { private static final long serialVersionUID = 1L; @Override public Integer getObject() { return TabbedPanel.this.size(); } }; // add the loop used to generate tab names new Loop(this, "tabs", tabCount) { private static final long serialVersionUID = 1L; @Override protected void populateItem(LoopItem item) { final int index = item.getIteration(); final ITab tab = ((ITab)TabbedPanel.this.tabs.get(index)); final int selected = getSelectedTab(); final WebMarkupContainer titleLink = newLink(item, "link", index); new Label(titleLink, "title", tab.getTitle()); item.add(new SimpleAttributeModifier("class", "selected") { private static final long serialVersionUID = 1L; @Override public boolean isEnabled() { return index == selected; } }); if (item.getIteration() == getIterations() - 1) { item.add(new AttributeAppender("class", true, new Model<String>("last"), " ")); } } }; // select the first tab by default setSelectedTab(0); }
46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/c6ecbca76b9bae4252f29e8ad1cfed2b98986155/TabbedPanel.java/clean/wicket-extensions/src/java/wicket/extensions/markup/html/tabs/TabbedPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 9483, 2992, 5537, 12, 13111, 2170, 982, 16, 727, 514, 612, 16, 987, 12880, 3231, 467, 5661, 34, 10920, 13, 202, 95, 202, 202, 9565, 12, 2938, 16, 612, 16, 394, 3164, 32, 4522, 34, 12, 2704, 2144, 19236, 21, 3719, 1769, 202, 202, 430, 261, 16056, 422, 446, 13, 202, 202, 95, 1082, 202, 12849, 394, 2754, 2932, 3446, 306, 16056, 65, 2780, 506, 446, 8863, 202, 202, 97, 202, 202, 430, 261, 16056, 18, 1467, 1435, 411, 404, 13, 202, 202, 95, 1082, 202, 12849, 394, 2754, 12, 6862, 202, 6, 3446, 306, 16056, 65, 1297, 912, 279, 666, 434, 622, 4520, 1245, 3246, 8863, 202, 202, 97, 202, 202, 2211, 18, 16056, 273, 10920, 31, 202, 202, 6385, 467, 1488, 32, 4522, 34, 3246, 1380, 273, 394, 4115, 12066, 1488, 32, 4522, 34, 1435, 202, 202, 95, 1082, 202, 1152, 760, 727, 1525, 30244, 273, 404, 48, 31, 1082, 202, 36, 6618, 1082, 202, 482, 2144, 6455, 1435, 1082, 202, 95, 9506, 202, 2463, 9483, 2992, 5537, 18, 2211, 18, 1467, 5621, 1082, 202, 97, 202, 202, 20451, 202, 202, 759, 527, 326, 2798, 1399, 358, 2103, 3246, 1257, 202, 202, 2704, 9720, 12, 2211, 16, 315, 16056, 3113, 3246, 1380, 13, 202, 202, 95, 1082, 202, 1152, 760, 727, 1525, 30244, 273, 404, 48, 31, 1082, 202, 36, 6618, 1082, 202, 1117, 918, 6490, 1180, 12, 6452, 1180, 761, 13, 1082, 202, 95, 9506, 202, 6385, 509, 770, 273, 761, 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, 9483, 2992, 5537, 12, 13111, 2170, 982, 16, 727, 514, 612, 16, 987, 12880, 3231, 467, 5661, 34, 10920, 13, 202, 95, 202, 202, 9565, 12, 2938, 16, 612, 16, 394, 3164, 32, 4522, 34, 12, 2704, 2144, 19236, 21, 3719, 1769, 202, 202, 430, 261, 16056, 422, 446, 13, 202, 202, 95, 1082, 202, 12849, 394, 2754, 2932, 3446, 306, 16056, 65, 2780, 506, 446, 8863, 202, 202, 97, 202, 202, 430, 261, 16056, 18, 1467, 1435, 411, 404, 13, 202, 202, 95, 1082, 202, 12849, 394, 2754, 12, 6862, 202, 6, 3446, 306, 16056, 65, 1297, 912, 279, 666, 434, 622, 4520, 1245, 3246, 8863, 202, 202, 97, 202, 202, 2211, 18, 16056, 273, 2 ]
key = key.substring(SOURCE.length());
key = key.substring(PROPERTY_SOURCE_PREFIX.length());
private void validateMissingSourceInBinIncludes(IBuildEntry binIncludes, ArrayList sourceEntryKeys) { if (binIncludes == null) return; for (int i = 0; i < sourceEntryKeys.size(); i++) { String key = (String)sourceEntryKeys.get(i); key = key.substring(SOURCE.length()); boolean found = false; String[] binIncludesTokens = binIncludes.getTokens(); for (int j = 0; j < binIncludesTokens.length; j++) { Pattern pattern = PatternConstructor.createPattern(binIncludesTokens[j], false); if (pattern.matcher(key).matches()) found = true; } if (!found) prepareError(BIN_INCLUDES, key, NLS.bind(PDECoreMessages.BuildErrorReporter_binIncludesMissing, key), PDEMarkerFactory.B_ADDDITION); } }
8783 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8783/8ef0d6ed33a0ada7aa654f23bd5c2b63fd6d7fd6/BuildErrorReporter.java/clean/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/builders/BuildErrorReporter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1954, 4841, 1830, 382, 9913, 16815, 12, 45, 3116, 1622, 4158, 16815, 16, 2407, 1084, 1622, 2396, 13, 288, 202, 202, 430, 261, 4757, 16815, 422, 446, 13, 1082, 202, 2463, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1084, 1622, 2396, 18, 1467, 5621, 277, 27245, 288, 1082, 202, 780, 498, 273, 261, 780, 13, 3168, 1622, 2396, 18, 588, 12, 77, 1769, 1082, 202, 856, 273, 498, 18, 28023, 12, 6537, 18, 2469, 10663, 1082, 202, 6494, 1392, 273, 629, 31, 1082, 202, 780, 8526, 4158, 16815, 5157, 273, 4158, 16815, 18, 588, 5157, 5621, 1082, 202, 1884, 261, 474, 525, 273, 374, 31, 525, 411, 4158, 16815, 5157, 18, 2469, 31, 525, 27245, 288, 9506, 202, 3234, 1936, 273, 6830, 6293, 18, 2640, 3234, 12, 4757, 16815, 5157, 63, 78, 6487, 629, 1769, 9506, 202, 430, 261, 4951, 18, 22761, 12, 856, 2934, 8436, 10756, 6862, 202, 7015, 273, 638, 31, 1082, 202, 97, 1082, 202, 430, 16051, 7015, 13, 9506, 202, 9366, 668, 12, 12615, 67, 26003, 55, 16, 498, 16, 25083, 202, 5106, 18, 4376, 12, 52, 1639, 4670, 5058, 18, 3116, 668, 13289, 67, 4757, 16815, 4841, 16, 498, 3631, 25083, 202, 52, 1639, 7078, 1733, 18, 38, 67, 1880, 5698, 7022, 1769, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 1152, 918, 1954, 4841, 1830, 382, 9913, 16815, 12, 45, 3116, 1622, 4158, 16815, 16, 2407, 1084, 1622, 2396, 13, 288, 202, 202, 430, 261, 4757, 16815, 422, 446, 13, 1082, 202, 2463, 31, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1084, 1622, 2396, 18, 1467, 5621, 277, 27245, 288, 1082, 202, 780, 498, 273, 261, 780, 13, 3168, 1622, 2396, 18, 588, 12, 77, 1769, 1082, 202, 856, 273, 498, 18, 28023, 12, 6537, 18, 2469, 10663, 1082, 202, 6494, 1392, 273, 629, 31, 1082, 202, 780, 8526, 4158, 16815, 5157, 273, 4158, 16815, 18, 588, 5157, 5621, 1082, 202, 1884, 261, 474, 525, 273, 374, 31, 525, 411, 4158, 16815, 5157, 2 ]
boolean closeEditors = PrefUtil.getAPIPreferenceStore() .getBoolean(IWorkbenchPreferenceConstants.CLOSE_EDITORS_ON_EXIT);
boolean closeEditors = PrefUtil.getAPIPreferenceStore().getBoolean( IWorkbenchPreferenceConstants.CLOSE_EDITORS_ON_EXIT);
private boolean busyClose(final boolean force) { // notify the advisor of preShutdown and allow it to veto if not forced isClosing = advisor.preShutdown(); if (!force && !isClosing) { return false; } // save any open editors if they are dirty isClosing = saveAllEditors(!force); if (!force && !isClosing) { return false; } boolean closeEditors = PrefUtil.getAPIPreferenceStore() .getBoolean(IWorkbenchPreferenceConstants.CLOSE_EDITORS_ON_EXIT); if (closeEditors) { Platform.run(new SafeRunnable() { public void run() { IWorkbenchWindow windows[] = getWorkbenchWindows(); for (int i = 0; i < windows.length; i++) { IWorkbenchPage pages[] = windows[i].getPages(); for (int j = 0; j < pages.length; j++) { isClosing = isClosing && pages[j].closeAllEditors(false); } } } }); if (!force && !isClosing) { return false; } } if (getWorkbenchConfigurer().getSaveAndRestore()) { Platform.run(new SafeRunnable() { public void run() { XMLMemento mem = recordWorkbenchState(); // Save the IMemento to a file. saveMementoToFile(mem); } public void handleException(Throwable e) { String message; if (e.getMessage() == null) { message = WorkbenchMessages.ErrorClosingNoArg; } else { message = NLS.bind( WorkbenchMessages.ErrorClosingOneArg, e .getMessage()); } if (!MessageDialog.openQuestion(null, WorkbenchMessages.Error, message)) { isClosing = false; } } }); } if (!force && !isClosing) { return false; } Platform.run(new SafeRunnable(WorkbenchMessages.ErrorClosing) { public void run() { if (isClosing || force) isClosing = windowManager.close(); } }); if (!force && !isClosing) { return false; } shutdown(); runEventLoop = false; return true; }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/73333dbcd42e60f1026cd0a1b14e2ddb08c2b396/Workbench.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 21697, 4605, 12, 6385, 1250, 2944, 13, 288, 202, 202, 759, 5066, 326, 1261, 10227, 434, 675, 10961, 471, 1699, 518, 358, 331, 11453, 309, 486, 13852, 202, 202, 291, 15745, 273, 1261, 10227, 18, 1484, 10961, 5621, 202, 202, 430, 16051, 5734, 597, 401, 291, 15745, 13, 288, 1082, 202, 2463, 629, 31, 202, 202, 97, 202, 202, 759, 1923, 1281, 1696, 29431, 309, 2898, 854, 9603, 202, 202, 291, 15745, 273, 1923, 1595, 4666, 1383, 12, 5, 5734, 1769, 202, 202, 430, 16051, 5734, 597, 401, 291, 15745, 13, 288, 1082, 202, 2463, 629, 31, 202, 202, 97, 202, 202, 6494, 1746, 4666, 1383, 273, 28184, 1304, 18, 588, 2557, 9624, 2257, 1435, 9506, 202, 18, 588, 5507, 12, 45, 2421, 22144, 9624, 2918, 18, 13384, 67, 13208, 55, 67, 673, 67, 28682, 1769, 202, 202, 430, 261, 4412, 4666, 1383, 13, 288, 1082, 202, 8201, 18, 2681, 12, 2704, 14060, 20013, 1435, 288, 9506, 202, 482, 918, 1086, 1435, 288, 6862, 202, 45, 2421, 22144, 3829, 9965, 8526, 273, 29026, 22144, 10399, 5621, 6862, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 9965, 18, 2469, 31, 277, 27245, 288, 25083, 202, 45, 2421, 22144, 1964, 4689, 8526, 273, 9965, 63, 77, 8009, 588, 5716, 5621, 25083, 202, 1884, 261, 474, 525, 273, 374, 31, 525, 411, 4689, 18, 2469, 31, 525, 27245, 288, 6862, 1082, 202, 291, 15745, 273, 353, 15745, 6862, 6862, 202, 10, 10, 4689, 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, 225, 202, 1152, 1250, 21697, 4605, 12, 6385, 1250, 2944, 13, 288, 202, 202, 759, 5066, 326, 1261, 10227, 434, 675, 10961, 471, 1699, 518, 358, 331, 11453, 309, 486, 13852, 202, 202, 291, 15745, 273, 1261, 10227, 18, 1484, 10961, 5621, 202, 202, 430, 16051, 5734, 597, 401, 291, 15745, 13, 288, 1082, 202, 2463, 629, 31, 202, 202, 97, 202, 202, 759, 1923, 1281, 1696, 29431, 309, 2898, 854, 9603, 202, 202, 291, 15745, 273, 1923, 1595, 4666, 1383, 12, 5, 5734, 1769, 202, 202, 430, 16051, 5734, 597, 401, 291, 15745, 13, 288, 1082, 202, 2463, 629, 31, 202, 202, 97, 202, 202, 6494, 1746, 4666, 1383, 273, 28184, 1304, 18, 588, 2557, 9624, 2257, 1435, 2 ]
if (Debug.DEBUG && MONITOR_BUNDLES) framework.adaptor.getBundleStats().startActivation(getGlobalName());
if (Debug.DEBUG && Debug.DEBUG_MONITOR_BUNDLES) { IBundleStats bundleStats = framework.adaptor.getBundleStats(); if (bundleStats != null) bundleStats.startActivation(getGlobalName()); }
protected void startWorker(boolean persistent) throws BundleException { if (framework.active) { if ((state & (STARTING | ACTIVE)) != 0) { return; } //STARTUP TIMING Start here if (Debug.DEBUG && MONITOR_BUNDLES) framework.adaptor.getBundleStats().startActivation(getGlobalName()); try { if (state == INSTALLED) { framework.packageAdmin.resolveBundles(); if (state != RESOLVED) { throw new BundleException(getResolutionFailureMessage()); } } if (Debug.DEBUG && Debug.DEBUG_GENERAL) { Debug.println("Bundle: Active sl = " + framework.startLevelImpl.getStartLevel() + "; Bundle " + id + " sl = " + this.startLevel); } if (this.startLevel <= framework.startLevelImpl.getStartLevel()) { state = STARTING; context = createContext(); try { context.start(); if (framework.active) { state = ACTIVE; if (Debug.DEBUG && Debug.DEBUG_GENERAL) { Debug.println("->started " + this); } framework.publishBundleEvent(BundleEvent.STARTED, this); } } catch (BundleException e) { context.close(); context = null; state = RESOLVED; throw e; } if (state == UNINSTALLED) { context.close(); context = null; throw new BundleException(Msg.formatter.getString("BUNDLE_UNINSTALLED_EXCEPTION")); } } } finally { if (Debug.DEBUG && MONITOR_BUNDLES) framework.adaptor.getBundleStats().endActivation(getGlobalName()); } } if (persistent) { setStatus(Constants.BUNDLE_STARTED, true); } }
2516 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2516/9d4bcf1367440bb7d03aced181d2d5d06081dfe4/BundleHost.java/buggy/bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/framework/internal/core/BundleHost.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 787, 6671, 12, 6494, 9195, 13, 1216, 8539, 503, 202, 95, 202, 202, 430, 261, 12303, 18, 3535, 13, 288, 1082, 202, 430, 14015, 2019, 473, 261, 7570, 1360, 571, 21135, 3719, 480, 374, 13, 288, 9506, 202, 2463, 31, 1082, 202, 97, 1082, 202, 759, 7570, 3079, 399, 3445, 1360, 3603, 2674, 1082, 202, 430, 261, 2829, 18, 9394, 597, 30215, 30153, 67, 38, 5240, 11386, 13, 9506, 202, 12303, 18, 19195, 280, 18, 588, 3405, 4195, 7675, 1937, 14857, 12, 588, 5160, 461, 10663, 1082, 202, 698, 288, 9506, 202, 430, 261, 2019, 422, 22880, 27751, 13, 288, 6862, 202, 12303, 18, 5610, 4446, 18, 10828, 16151, 5621, 6862, 202, 430, 261, 2019, 480, 12915, 1741, 12135, 13, 288, 25083, 202, 12849, 394, 8539, 503, 12, 588, 11098, 5247, 1079, 10663, 6862, 202, 97, 9506, 202, 97, 9506, 202, 430, 261, 2829, 18, 9394, 597, 4015, 18, 9394, 67, 13990, 1013, 13, 288, 6862, 202, 2829, 18, 8222, 2932, 3405, 30, 8857, 2020, 273, 315, 397, 8257, 18, 1937, 2355, 2828, 18, 588, 1685, 2355, 1435, 397, 13636, 8539, 315, 397, 612, 397, 315, 2020, 273, 315, 397, 333, 18, 1937, 2355, 1769, 9506, 202, 97, 9506, 202, 430, 261, 2211, 18, 1937, 2355, 1648, 8257, 18, 1937, 2355, 2828, 18, 588, 1685, 2355, 10756, 288, 6862, 202, 2019, 273, 10485, 1360, 31, 6862, 202, 2472, 273, 752, 1042, 5621, 6862, 202, 698, 288, 25083, 202, 2472, 18, 1937, 5621, 25083, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 787, 6671, 12, 6494, 9195, 13, 1216, 8539, 503, 202, 95, 202, 202, 430, 261, 12303, 18, 3535, 13, 288, 1082, 202, 430, 14015, 2019, 473, 261, 7570, 1360, 571, 21135, 3719, 480, 374, 13, 288, 9506, 202, 2463, 31, 1082, 202, 97, 1082, 202, 759, 7570, 3079, 399, 3445, 1360, 3603, 2674, 1082, 202, 430, 261, 2829, 18, 9394, 597, 30215, 30153, 67, 38, 5240, 11386, 13, 9506, 202, 12303, 18, 19195, 280, 18, 588, 3405, 4195, 7675, 1937, 14857, 12, 588, 5160, 461, 10663, 1082, 202, 698, 288, 9506, 202, 430, 261, 2019, 422, 22880, 27751, 13, 288, 6862, 202, 12303, 18, 5610, 4446, 18, 10828, 16151, 5621, 6862, 202, 430, 261, 2019, 2 ]
{ Member old = evaluator.setContext(this); Object value = evaluator.evaluateCurrent(); evaluator.setContext(old); return value; }
{ Member old = evaluator.setContext(this); Object value = evaluator.evaluateCurrent(); evaluator.setContext(old); return value; }
public Object evaluateScalar(Evaluator evaluator) { Member old = evaluator.setContext(this); Object value = evaluator.evaluateCurrent(); evaluator.setContext(old); return value; }
4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/b5b5168edc3af09cb74945a80b0c36e6630ed502/RolapMember.java/clean/src/main/mondrian/rolap/RolapMember.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1033, 5956, 13639, 12, 15876, 18256, 13, 202, 95, 202, 202, 4419, 1592, 273, 18256, 18, 542, 1042, 12, 2211, 1769, 202, 202, 921, 460, 273, 18256, 18, 21024, 3935, 5621, 202, 202, 14168, 639, 18, 542, 1042, 12, 1673, 1769, 202, 202, 2463, 460, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 482, 1033, 5956, 13639, 12, 15876, 18256, 13, 202, 95, 202, 202, 4419, 1592, 273, 18256, 18, 542, 1042, 12, 2211, 1769, 202, 202, 921, 460, 273, 18256, 18, 21024, 3935, 5621, 202, 202, 14168, 639, 18, 542, 1042, 12, 1673, 1769, 202, 202, 2463, 460, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (!(other instanceof JavaObject)) { return getRuntime().getFalse(); }
if (!(other instanceof JavaObject)) { other = other.getInstanceVariable("@java_object"); if (!(other instanceof JavaObject)) { return getRuntime().getFalse(); } }
public IRubyObject equal(IRubyObject other) { if (!(other instanceof JavaObject)) { return getRuntime().getFalse(); } if (getValue() == null && ((JavaObject) other).getValue() == null) { return getRuntime().getTrue(); } return (getValue().equals(((JavaObject) other).getValue())) ? getRuntime().getTrue() : getRuntime().getFalse(); }
46454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46454/14d12551b89e542056c68800fe9f2ccbada0d7a1/JavaObject.java/buggy/src/org/jruby/javasupport/JavaObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 3959, 12, 7937, 10340, 921, 1308, 13, 288, 377, 202, 430, 16051, 12, 3011, 1276, 5110, 921, 3719, 288, 377, 202, 202, 2463, 18814, 7675, 588, 8381, 5621, 377, 202, 97, 377, 202, 377, 202, 430, 261, 24805, 1435, 422, 446, 597, 14015, 5852, 921, 13, 1308, 2934, 24805, 1435, 422, 446, 13, 288, 377, 202, 202, 2463, 18814, 7675, 588, 5510, 5621, 377, 202, 97, 377, 202, 377, 202, 2463, 261, 24805, 7675, 14963, 12443, 12, 5852, 921, 13, 1308, 2934, 24805, 1435, 3719, 692, 18814, 7675, 588, 5510, 1435, 294, 18814, 7675, 588, 8381, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 15908, 10340, 921, 3959, 12, 7937, 10340, 921, 1308, 13, 288, 377, 202, 430, 16051, 12, 3011, 1276, 5110, 921, 3719, 288, 377, 202, 202, 2463, 18814, 7675, 588, 8381, 5621, 377, 202, 97, 377, 202, 377, 202, 430, 261, 24805, 1435, 422, 446, 597, 14015, 5852, 921, 13, 1308, 2934, 24805, 1435, 422, 446, 13, 288, 377, 202, 202, 2463, 18814, 7675, 588, 5510, 5621, 377, 202, 97, 377, 202, 377, 202, 2463, 261, 24805, 7675, 14963, 12443, 12, 5852, 921, 13, 1308, 2934, 24805, 1435, 3719, 692, 18814, 7675, 588, 5510, 1435, 294, 18814, 7675, 588, 8381, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
for ( int index = start ; index < length ; ++index ) {
final int end = start + length; for ( int index = start; index < end; ++index ) {
public void characters( char[] chars, int start, int length ) throws SAXException { ElementState state; try { state = content(); // Check if text should be print as CDATA section or unescaped // based on elements listed in the output format (the element // state) or whether we are inside a CDATA section or entity. if ( state.inCData || state.doCData ) { int saveIndent; // Print a CDATA section. The text is not escaped, but ']]>' // appearing in the code must be identified and dealt with. // The contents of a text node is considered space preserving. if ( ! state.inCData ) { _printer.printText( "<![CDATA[" ); state.inCData = true; } saveIndent = _printer.getNextIndent(); _printer.setNextIndent( 0 ); char ch; for ( int index = start ; index < length ; ++index ) { ch = chars[index]; if ( ch == ']' && index + 2 < length && chars[ index + 1 ] == ']' && chars[ index + 2 ] == '>' ) { _printer.printText("]]]]><![CDATA[>"); index +=2; continue; } if (!XML11Char.isXML11Valid(ch)) { // check if it is surrogate if (++index <length) { surrogates(ch, chars[index]); } else { fatalError("The character '"+(char)ch+"' is an invalid XML character"); } continue; } else { if ( _encodingInfo.isPrintable((char)ch) && XML11Char.isXML11ValidLiteral(ch)) { _printer.printText((char)ch); } else { // The character is not printable -- split CDATA section _printer.printText("]]>&#x"); _printer.printText(Integer.toHexString(ch)); _printer.printText(";<![CDATA["); } } } _printer.setNextIndent( saveIndent ); } else { int saveIndent; if ( state.preserveSpace ) { // If preserving space then hold of indentation so no // excessive spaces are printed at line breaks, escape // the text content without replacing spaces and print // the text breaking only at line breaks. saveIndent = _printer.getNextIndent(); _printer.setNextIndent( 0 ); printText( chars, start, length, true, state.unescaped ); _printer.setNextIndent( saveIndent ); } else { printText( chars, start, length, false, state.unescaped ); } } } catch ( IOException except ) { throw new SAXException( except ); } }
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/aa793edc3b4b668e6c4aa0da8287408167bac8f6/XML11Serializer.java/clean/src/org/apache/xml/serialize/XML11Serializer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3949, 12, 1149, 8526, 5230, 16, 509, 787, 16, 509, 769, 262, 3639, 1216, 14366, 565, 288, 3639, 3010, 1119, 919, 31, 3639, 775, 288, 5411, 919, 273, 913, 5621, 5411, 368, 2073, 309, 977, 1410, 506, 1172, 487, 28294, 2442, 578, 27869, 5411, 368, 2511, 603, 2186, 12889, 316, 326, 876, 740, 261, 5787, 930, 5411, 368, 919, 13, 578, 2856, 732, 854, 4832, 279, 28294, 2442, 578, 1522, 18, 5411, 309, 261, 919, 18, 267, 39, 751, 747, 919, 18, 2896, 39, 751, 262, 288, 7734, 509, 1850, 1923, 7790, 31, 7734, 368, 3038, 279, 28294, 2442, 18, 1021, 977, 353, 486, 8345, 16, 1496, 12671, 65, 1870, 7734, 368, 7226, 5968, 316, 326, 981, 1297, 506, 9283, 471, 443, 2390, 598, 18, 7734, 368, 1021, 2939, 434, 279, 977, 756, 353, 7399, 3476, 27995, 18, 7734, 309, 261, 401, 919, 18, 267, 39, 751, 262, 288, 10792, 389, 30439, 18, 1188, 1528, 12, 3532, 5, 63, 18375, 9614, 11272, 10792, 919, 18, 267, 39, 751, 273, 638, 31, 7734, 289, 7734, 1923, 7790, 273, 389, 30439, 18, 588, 2134, 7790, 5621, 7734, 389, 30439, 18, 542, 2134, 7790, 12, 374, 11272, 7734, 1149, 462, 31, 7734, 727, 509, 679, 273, 787, 397, 769, 31, 364, 261, 509, 770, 273, 787, 31, 770, 411, 679, 31, 965, 1615, 262, 288, 10792, 462, 273, 5230, 63, 1615, 15533, 10792, 309, 261, 462, 422, 8641, 597, 770, 397, 576, 411, 769, 597, 13491, 5230, 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, 3949, 12, 1149, 8526, 5230, 16, 509, 787, 16, 509, 769, 262, 3639, 1216, 14366, 565, 288, 3639, 3010, 1119, 919, 31, 3639, 775, 288, 5411, 919, 273, 913, 5621, 5411, 368, 2073, 309, 977, 1410, 506, 1172, 487, 28294, 2442, 578, 27869, 5411, 368, 2511, 603, 2186, 12889, 316, 326, 876, 740, 261, 5787, 930, 5411, 368, 919, 13, 578, 2856, 732, 854, 4832, 279, 28294, 2442, 578, 1522, 18, 5411, 309, 261, 919, 18, 267, 39, 751, 747, 919, 18, 2896, 39, 751, 262, 288, 7734, 509, 1850, 1923, 7790, 31, 7734, 368, 3038, 279, 28294, 2442, 18, 1021, 977, 353, 486, 8345, 16, 1496, 12671, 65, 1870, 7734, 368, 7226, 5968, 316, 326, 2 ]
"use", "use", "printf", "printf", "eachWithIndex", "every", "any", "grep", "collect", "collect", "findAll", "findIndexOf"
"use", "use", "use", "printf", "printf", "eachWithIndex", "every", "any", "grep", "collect", "collect", "findAll", "findIndexOf"
public void testMetaMethods() { Inspector insp = new Inspector(new Object()); Object[] metaMethods = insp.getMetaMethods(); assertEquals(31, metaMethods.length); String[] names = { "sleep", "sleep", "println", "println", "println", "find", "print", "print", "each", "invokeMethod", "inspect", "is", "isCase", "identity", "getAt", "putAt", "dump", "getMetaPropertyValues", "getProperties", "use", "use", "printf", "printf", "eachWithIndex", "every", "any", "grep", "collect", "collect", "findAll", "findIndexOf" }; assertNameEquals(names, metaMethods); String[] details = {"GROOVY","public","Object","void","println","Object","n/a"}; assertContains(metaMethods, details); }
6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/b1418402dbf5410f0a67ae98ec4d23184811cb6a/InspectorTest.java/clean/src/test/groovy/inspect/InspectorTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2781, 4712, 1435, 288, 3639, 31965, 316, 1752, 273, 394, 31965, 12, 2704, 1033, 10663, 3639, 1033, 8526, 2191, 4712, 273, 316, 1752, 18, 588, 2781, 4712, 5621, 3639, 1815, 8867, 12, 6938, 16, 2191, 4712, 18, 2469, 1769, 3639, 514, 8526, 1257, 273, 288, 315, 19607, 3113, 315, 19607, 3113, 315, 8222, 3113, 315, 8222, 3113, 315, 8222, 3113, 315, 4720, 3113, 315, 1188, 3113, 315, 1188, 3113, 315, 13798, 3113, 315, 14407, 1305, 3113, 21821, 315, 12009, 3113, 315, 291, 3113, 315, 291, 2449, 3113, 315, 10781, 3113, 315, 588, 861, 3113, 315, 458, 861, 3113, 315, 8481, 3113, 315, 588, 2781, 1396, 1972, 3113, 225, 315, 588, 2297, 3113, 21821, 315, 1202, 3113, 315, 1202, 3113, 315, 1202, 3113, 315, 1461, 3113, 315, 1461, 3113, 315, 13798, 1190, 1016, 3113, 315, 20434, 3113, 315, 2273, 3113, 315, 11556, 84, 3113, 315, 14676, 3113, 315, 14676, 3113, 315, 4720, 1595, 3113, 315, 4720, 31985, 6, 7682, 289, 31, 3639, 1815, 461, 8867, 12, 1973, 16, 2191, 4712, 1769, 3639, 514, 8526, 3189, 273, 12528, 43, 1457, 51, 58, 61, 15937, 482, 15937, 921, 15937, 6459, 15937, 8222, 15937, 921, 15937, 82, 19, 69, 6, 20451, 3639, 1815, 10846, 12, 3901, 4712, 16, 3189, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2781, 4712, 1435, 288, 3639, 31965, 316, 1752, 273, 394, 31965, 12, 2704, 1033, 10663, 3639, 1033, 8526, 2191, 4712, 273, 316, 1752, 18, 588, 2781, 4712, 5621, 3639, 1815, 8867, 12, 6938, 16, 2191, 4712, 18, 2469, 1769, 3639, 514, 8526, 1257, 273, 288, 315, 19607, 3113, 315, 19607, 3113, 315, 8222, 3113, 315, 8222, 3113, 315, 8222, 3113, 315, 4720, 3113, 315, 1188, 3113, 315, 1188, 3113, 315, 13798, 3113, 315, 14407, 1305, 3113, 21821, 315, 12009, 3113, 315, 291, 3113, 315, 291, 2449, 3113, 315, 10781, 3113, 315, 588, 861, 3113, 315, 458, 861, 3113, 315, 8481, 3113, 315, 588, 2781, 1396, 1972, 3113, 225, 315, 588, 2297, 3113, 21821, 315, 1202, 2 ]
super.readExternal(in); subgroups=(Vector)in.readObject();
super.readExternal(in); subgroups=(Vector)in.readObject();
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { super.readExternal(in); subgroups=(Vector)in.readObject(); }
49475 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49475/4071daaa0d7c1c82cdc06c63ce8b9cfb7b0eff8c/MergeView.java/buggy/src/org/jgroups/MergeView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 855, 6841, 12, 921, 1210, 316, 13, 1216, 1860, 16, 10403, 288, 202, 9565, 18, 896, 6841, 12, 267, 1769, 202, 1717, 4650, 28657, 5018, 13, 267, 18, 896, 921, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 918, 855, 6841, 12, 921, 1210, 316, 13, 1216, 1860, 16, 10403, 288, 202, 9565, 18, 896, 6841, 12, 267, 1769, 202, 1717, 4650, 28657, 5018, 13, 267, 18, 896, 921, 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 ]
else if ( query instanceof ISubqueryDefinition ) { return doExecuteSubQuery( query ); } return null;
return execute( parent, query );
public IResultSet execute( IBaseQueryDefinition query ) { if ( query instanceof IQueryDefinition ) { return doExecuteQuery( query ); } else if ( query instanceof ISubqueryDefinition ) { return doExecuteSubQuery( query ); } return null; }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/e5386013be68d2724b24f8a2bad7013b66e7b2ae/AbstractDataEngine.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/data/dte/AbstractDataEngine.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 13198, 1836, 12, 467, 2171, 1138, 1852, 843, 262, 202, 95, 202, 202, 430, 261, 843, 1276, 467, 1138, 1852, 262, 202, 202, 95, 1082, 202, 2463, 741, 5289, 1138, 12, 843, 11272, 202, 202, 97, 202, 202, 12107, 309, 261, 843, 1276, 467, 1676, 2271, 1852, 262, 202, 202, 95, 1082, 202, 2463, 741, 5289, 1676, 1138, 12, 843, 11272, 202, 202, 97, 202, 202, 2463, 446, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 13198, 1836, 12, 467, 2171, 1138, 1852, 843, 262, 202, 95, 202, 202, 430, 261, 843, 1276, 467, 1138, 1852, 262, 202, 202, 95, 1082, 202, 2463, 741, 5289, 1138, 12, 843, 11272, 202, 202, 97, 202, 202, 12107, 309, 261, 843, 1276, 467, 1676, 2271, 1852, 262, 202, 202, 95, 1082, 202, 2463, 741, 5289, 1676, 1138, 12, 843, 11272, 202, 202, 97, 202, 202, 2463, 446, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
l3ProneFiringArm = attacker.isLocationDestroyed(Mech.LOC_RARM) ? Mech.LOC_LARM : Mech.LOC_RARM;
l3ProneFiringArm = attacker.isLocationBad(Mech.LOC_RARM) ? Mech.LOC_LARM : Mech.LOC_RARM;
private static ToHitData getProneMods(Game game, Entity attacker, int weaponId) { if (!attacker.isProne()) { return null; // no modifier } ToHitData mods = new ToHitData(); Mounted weapon = attacker.getEquipment(weaponId); if ( attacker.entityIsQuad() ) { int legsDead = ((Mech)attacker).countDestroyedLegs(); if (legsDead == 0) { // No legs destroyed: no penalty and can fire all weapons return null; // no modifier } else if ( legsDead >= 3 ) { return new ToHitData(ToHitData.IMPOSSIBLE, "Prone with three or more legs destroyed."); } // we have one or two dead legs... // Need an intact front leg if (attacker.isLocationDestroyed(Mech.LOC_RARM) && attacker.isLocationDestroyed(Mech.LOC_LARM)) { return new ToHitData(ToHitData.IMPOSSIBLE, "Prone with both front legs destroyed."); } // front leg-mounted weapons have addidional trouble if (weapon.getLocation() == Mech.LOC_RARM || weapon.getLocation() == Mech.LOC_LARM) { int otherArm = weapon.getLocation() == Mech.LOC_RARM ? Mech.LOC_LARM : Mech.LOC_RARM; // check previous attacks for weapons fire from the other arm if (isFiringFromArmAlready(game, weaponId, attacker, otherArm)) { return new ToHitData(ToHitData.IMPOSSIBLE, "Prone and firing from other front leg already."); } } // can't fire rear leg weapons if (weapon.getLocation() == Mech.LOC_LLEG || weapon.getLocation() == Mech.LOC_RLEG) { return new ToHitData(ToHitData.IMPOSSIBLE, "Can't fire rear leg-mounted weapons while prone with destroyed legs."); } mods.addModifier(2, "attacker prone"); } else { int l3ProneFiringArm = Entity.LOC_NONE; if (attacker.isLocationDestroyed(Mech.LOC_RARM) || attacker.isLocationDestroyed(Mech.LOC_LARM)) { if ( game.getOptions().booleanOption("maxtech_prone_fire") ) { //Can fire with only one arm if (attacker.isLocationDestroyed(Mech.LOC_RARM) && attacker.isLocationDestroyed(Mech.LOC_LARM)) { return new ToHitData(ToHitData.IMPOSSIBLE, "Prone with both arms destroyed."); } l3ProneFiringArm = attacker.isLocationDestroyed(Mech.LOC_RARM) ? Mech.LOC_LARM : Mech.LOC_RARM; } else { // must have an arm intact return new ToHitData(ToHitData.IMPOSSIBLE, "Prone with one or both arms destroyed."); } } // arm-mounted weapons have addidional trouble if (weapon.getLocation() == Mech.LOC_RARM || weapon.getLocation() == Mech.LOC_LARM) { if ( l3ProneFiringArm == weapon.getLocation() ) { return new ToHitData(ToHitData.IMPOSSIBLE, "Prone and propping up with this arm."); } int otherArm = weapon.getLocation() == Mech.LOC_RARM ? Mech.LOC_LARM : Mech.LOC_RARM; // check previous attacks for weapons fire from the other arm if (isFiringFromArmAlready(game, weaponId, attacker, otherArm)) { return new ToHitData(ToHitData.IMPOSSIBLE, "Prone and firing from other arm already."); } } // can't fire leg weapons if (weapon.getLocation() == Mech.LOC_LLEG || weapon.getLocation() == Mech.LOC_RLEG) { return new ToHitData(ToHitData.IMPOSSIBLE, "Can't fire leg-mounted weapons while prone."); } mods.addModifier(2, "attacker prone"); if ( l3ProneFiringArm != Entity.LOC_NONE ) { mods.addModifier(1, "attacker propping on single arm"); } } return mods; }
4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/874156ef708f4cb436dd1899851ca8811fe1ba20/Compute.java/buggy/megamek/src/megamek/common/Compute.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 2974, 13616, 751, 8248, 476, 1739, 87, 12, 12496, 7920, 16, 3887, 13843, 264, 16, 509, 732, 28629, 548, 13, 288, 565, 309, 16051, 4558, 484, 264, 18, 291, 2050, 476, 10756, 288, 1377, 327, 446, 31, 368, 1158, 9606, 565, 289, 565, 2974, 13616, 751, 15546, 273, 394, 2974, 13616, 751, 5621, 565, 13076, 329, 732, 28629, 273, 13843, 264, 18, 588, 13142, 11568, 12, 1814, 28629, 548, 1769, 3639, 309, 261, 13843, 264, 18, 1096, 2520, 24483, 1435, 262, 288, 5411, 509, 884, 564, 11852, 273, 14015, 4667, 343, 13, 4558, 484, 264, 2934, 1883, 28414, 1682, 564, 5621, 5411, 309, 261, 298, 564, 11852, 422, 374, 13, 288, 3639, 368, 2631, 884, 564, 17689, 30, 1158, 23862, 471, 848, 4452, 777, 732, 438, 7008, 2868, 327, 446, 31, 368, 1158, 9606, 5411, 289, 469, 309, 261, 884, 564, 11852, 1545, 890, 262, 288, 3639, 327, 394, 2974, 13616, 751, 12, 774, 13616, 751, 18, 3445, 2419, 1260, 13450, 900, 16, 315, 2050, 476, 598, 8925, 578, 1898, 884, 564, 17689, 1199, 1769, 1377, 289, 1377, 368, 732, 1240, 1245, 578, 2795, 8363, 884, 564, 2777, 5411, 368, 12324, 392, 509, 621, 6641, 4553, 5411, 309, 261, 4558, 484, 264, 18, 291, 2735, 28414, 12, 4667, 343, 18, 29450, 67, 54, 26120, 13, 597, 13843, 264, 18, 291, 2735, 28414, 12, 4667, 343, 18, 29450, 67, 48, 26120, 3719, 288, 7734, 327, 394, 2974, 13616, 751, 12, 774, 13616, 751, 18, 3445, 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, 2974, 13616, 751, 8248, 476, 1739, 87, 12, 12496, 7920, 16, 3887, 13843, 264, 16, 509, 732, 28629, 548, 13, 288, 565, 309, 16051, 4558, 484, 264, 18, 291, 2050, 476, 10756, 288, 1377, 327, 446, 31, 368, 1158, 9606, 565, 289, 565, 2974, 13616, 751, 15546, 273, 394, 2974, 13616, 751, 5621, 565, 13076, 329, 732, 28629, 273, 13843, 264, 18, 588, 13142, 11568, 12, 1814, 28629, 548, 1769, 3639, 309, 261, 13843, 264, 18, 1096, 2520, 24483, 1435, 262, 288, 5411, 509, 884, 564, 11852, 273, 14015, 4667, 343, 13, 4558, 484, 264, 2934, 1883, 28414, 1682, 564, 5621, 5411, 309, 261, 298, 564, 11852, 422, 374, 13, 288, 3639, 368, 2631, 884, 564, 2 ]
_t = __t287;
_t = __t295;
public final Expression pathExpr(AST _t, PathExpr path ) throws RecognitionException, PermissionDeniedException,EXistException,XPathException { Expression step; AST pathExpr_AST_in = (AST)_t; AST c = null; AST i = null; AST dec = null; AST dbl = null; AST v = null; AST qn = null; AST nc1 = null; AST nc = null; AST attr = null; AST nc2 = null; AST nc3 = null; Expression rightStep= null; step= null; int axis= Constants.CHILD_AXIS; if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case STRING_LITERAL: { c = (AST)_t; match(_t,STRING_LITERAL); _t = _t.getNextSibling(); step= new LiteralValue(context, new StringValue(c.getText())); path.add(step); break; } case INTEGER_LITERAL: { i = (AST)_t; match(_t,INTEGER_LITERAL); _t = _t.getNextSibling(); step= new LiteralValue(context, new IntegerValue(Integer.parseInt(i.getText()))); path.add(step); break; } case DOUBLE_LITERAL: case DECIMAL_LITERAL: { { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case DECIMAL_LITERAL: { dec = (AST)_t; match(_t,DECIMAL_LITERAL); _t = _t.getNextSibling(); step= new LiteralValue(context, new DoubleValue(Double.parseDouble(dec.getText()))); break; } case DOUBLE_LITERAL: { dbl = (AST)_t; match(_t,DOUBLE_LITERAL); _t = _t.getNextSibling(); step= new LiteralValue(context, new DoubleValue(Double.parseDouble(dbl.getText()))); break; } default: { throw new NoViableAltException(_t); } } } path.add(step); break; } case VARIABLE_REF: { v = (AST)_t; match(_t,VARIABLE_REF); _t = _t.getNextSibling(); step= new VariableReference(context, v.getText()); path.add(step); break; } case FUNCTION: { step=functionCall(_t,path); _t = _retTree; break; } case QNAME: case WILDCARD: case PREFIX_WILDCARD: case NCNAME: case LITERAL_text: case LITERAL_node: case LITERAL_child: case LITERAL_self: case LITERAL_attribute: case LITERAL_descendant: case 104: case 105: case LITERAL_parent: case LITERAL_ancestor: case 108: case 109: { { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_child: case LITERAL_self: case LITERAL_attribute: case LITERAL_descendant: case 104: case 105: case LITERAL_parent: case LITERAL_ancestor: case 108: case 109: { axis=forwardAxis(_t); _t = _retTree; break; } case QNAME: case WILDCARD: case PREFIX_WILDCARD: case NCNAME: case LITERAL_text: case LITERAL_node: { break; } default: { throw new NoViableAltException(_t); } } } NodeTest test; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case QNAME: { qn = (AST)_t; match(_t,QNAME); _t = _t.getNextSibling(); QName qname= QName.parse(context, qn.getText()); test= new NameTest(Type.ELEMENT, qname); break; } case PREFIX_WILDCARD: { AST __t286 = _t; AST tmp41_AST_in = (AST)_t; match(_t,PREFIX_WILDCARD); _t = _t.getFirstChild(); nc1 = (AST)_t; match(_t,NCNAME); _t = _t.getNextSibling(); _t = __t286; _t = _t.getNextSibling(); QName qname= new QName(nc1.getText(), null, null); test= new NameTest(Type.ELEMENT, qname); break; } case NCNAME: { AST __t287 = _t; nc = _t==ASTNULL ? null :(AST)_t; match(_t,NCNAME); _t = _t.getFirstChild(); AST tmp42_AST_in = (AST)_t; match(_t,WILDCARD); _t = _t.getNextSibling(); _t = __t287; _t = _t.getNextSibling(); String namespaceURI= context.getURIForPrefix(nc.getText()); QName qname= new QName(null, namespaceURI, null); test= new NameTest(Type.ELEMENT, qname); break; } case WILDCARD: { AST tmp43_AST_in = (AST)_t; match(_t,WILDCARD); _t = _t.getNextSibling(); test= new TypeTest(Type.ELEMENT); break; } case LITERAL_node: { AST tmp44_AST_in = (AST)_t; match(_t,LITERAL_node); _t = _t.getNextSibling(); test= new AnyNodeTest(); break; } case LITERAL_text: { AST tmp45_AST_in = (AST)_t; match(_t,LITERAL_text); _t = _t.getNextSibling(); test= new TypeTest(Type.TEXT); break; } default: { throw new NoViableAltException(_t); } } } step= new LocationStep(context, axis, test); path.add(step); { _loop289: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==PREDICATE)) { predicate(_t,(LocationStep) step); _t = _retTree; } else { break _loop289; } } while (true); } break; } case AT: { AST tmp46_AST_in = (AST)_t; match(_t,AT); _t = _t.getNextSibling(); QName qname; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case QNAME: { attr = (AST)_t; match(_t,QNAME); _t = _t.getNextSibling(); qname= QName.parseAttribute(context, attr.getText()); break; } case PREFIX_WILDCARD: { AST __t291 = _t; AST tmp47_AST_in = (AST)_t; match(_t,PREFIX_WILDCARD); _t = _t.getFirstChild(); nc2 = (AST)_t; match(_t,NCNAME); _t = _t.getNextSibling(); _t = __t291; _t = _t.getNextSibling(); qname= new QName(nc2.getText(), null, null); break; } case NCNAME: { AST __t292 = _t; nc3 = _t==ASTNULL ? null :(AST)_t; match(_t,NCNAME); _t = _t.getFirstChild(); AST tmp48_AST_in = (AST)_t; match(_t,WILDCARD); _t = _t.getNextSibling(); _t = __t292; _t = _t.getNextSibling(); String namespaceURI= context.getURIForPrefix(nc3.getText()); if (namespaceURI == null) throw new EXistException("No namespace defined for prefix " + nc.getText()); qname= new QName(null, namespaceURI, null); break; } default: { throw new NoViableAltException(_t); } } } step= new LocationStep(context, Constants.ATTRIBUTE_AXIS, new NameTest(Type.ATTRIBUTE, qname)); path.add(step); { _loop294: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==PREDICATE)) { predicate(_t,(LocationStep) step); _t = _retTree; } else { break _loop294; } } while (true); } break; } case SELF: { AST tmp49_AST_in = (AST)_t; match(_t,SELF); _t = _t.getNextSibling(); step= new LocationStep(context, Constants.SELF_AXIS, new TypeTest(Type.NODE)); path.add(step); { _loop296: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==PREDICATE)) { predicate(_t,(LocationStep) step); _t = _retTree; } else { break _loop296; } } while (true); } break; } case PARENT: { AST tmp50_AST_in = (AST)_t; match(_t,PARENT); _t = _t.getNextSibling(); step= new LocationStep(context, Constants.PARENT_AXIS, new TypeTest(Type.NODE)); path.add(step); { _loop298: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==PREDICATE)) { predicate(_t,(LocationStep) step); _t = _retTree; } else { break _loop298; } } while (true); } break; } case SLASH: { AST __t299 = _t; AST tmp51_AST_in = (AST)_t; match(_t,SLASH); _t = _t.getFirstChild(); step=pathExpr(_t,path); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case QNAME: case WILDCARD: case PREFIX_WILDCARD: case FUNCTION: case VARIABLE_REF: case NCNAME: case STRING_LITERAL: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case SELF: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_attribute: case LITERAL_descendant: case 104: case 105: case LITERAL_parent: case LITERAL_ancestor: case 108: case 109: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: { rightStep=pathExpr(_t,path); _t = _retTree; if (rightStep instanceof LocationStep && ((LocationStep) rightStep).getAxis() == -1) ((LocationStep) rightStep).setAxis(Constants.CHILD_AXIS); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t299; _t = _t.getNextSibling(); if (step instanceof LocationStep && ((LocationStep) step).getAxis() == -1) ((LocationStep) step).setAxis(Constants.CHILD_AXIS); break; } case DSLASH: { AST __t301 = _t; AST tmp52_AST_in = (AST)_t; match(_t,DSLASH); _t = _t.getFirstChild(); step=pathExpr(_t,path); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case QNAME: case WILDCARD: case PREFIX_WILDCARD: case FUNCTION: case VARIABLE_REF: case NCNAME: case STRING_LITERAL: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case SELF: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_attribute: case LITERAL_descendant: case 104: case 105: case LITERAL_parent: case LITERAL_ancestor: case 108: case 109: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: { rightStep=pathExpr(_t,path); _t = _retTree; if (rightStep instanceof LocationStep) { LocationStep rs= (LocationStep) rightStep; if (rs.getAxis() == Constants.ATTRIBUTE_AXIS) rs.setAxis(Constants.DESCENDANT_ATTRIBUTE_AXIS); else rs.setAxis(Constants.DESCENDANT_SELF_AXIS); } break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t301; _t = _t.getNextSibling(); if (step instanceof LocationStep && ((LocationStep) rightStep).getAxis() == -1) ((LocationStep) step).setAxis(Constants.DESCENDANT_SELF_AXIS); break; } default: { throw new NoViableAltException(_t); } } _retTree = _t; return step; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/ca3671ce7c752480b17278b434be7f75e3ec7d57/XPathTreeParser2.java/clean/src/org/exist/parser/XPathTreeParser2.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 5371, 225, 589, 4742, 12, 9053, 389, 88, 16, 202, 202, 743, 4742, 589, 202, 13, 1216, 9539, 16, 8509, 15877, 16, 2294, 376, 503, 16, 14124, 503, 288, 202, 202, 2300, 2235, 31, 9506, 202, 9053, 589, 4742, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 9053, 276, 273, 446, 31, 202, 202, 9053, 277, 273, 446, 31, 202, 202, 9053, 2109, 273, 446, 31, 202, 202, 9053, 1319, 80, 273, 446, 31, 202, 202, 9053, 331, 273, 446, 31, 202, 202, 9053, 31054, 273, 446, 31, 202, 202, 9053, 8194, 21, 273, 446, 31, 202, 202, 9053, 8194, 273, 446, 31, 202, 202, 9053, 1604, 273, 446, 31, 202, 202, 9053, 8194, 22, 273, 446, 31, 202, 202, 9053, 8194, 23, 273, 446, 31, 6862, 202, 2300, 2145, 4160, 33, 446, 31, 1082, 202, 4119, 33, 446, 31, 1082, 202, 474, 2654, 33, 5245, 18, 27043, 67, 25614, 31, 25083, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 9469, 67, 23225, 30, 202, 202, 95, 1082, 202, 71, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 5804, 67, 23225, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 6862, 9506, 202, 4119, 33, 394, 14392, 620, 12, 2472, 16, 394, 18595, 12, 71, 18, 588, 1528, 1435, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 5371, 225, 589, 4742, 12, 9053, 389, 88, 16, 202, 202, 743, 4742, 589, 202, 13, 1216, 9539, 16, 8509, 15877, 16, 2294, 376, 503, 16, 14124, 503, 288, 202, 202, 2300, 2235, 31, 9506, 202, 9053, 589, 4742, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 9053, 276, 273, 446, 31, 202, 202, 9053, 277, 273, 446, 31, 202, 202, 9053, 2109, 273, 446, 31, 202, 202, 9053, 1319, 80, 273, 446, 31, 202, 202, 9053, 331, 273, 446, 31, 202, 202, 9053, 31054, 273, 446, 31, 202, 202, 9053, 8194, 21, 273, 446, 31, 202, 202, 9053, 8194, 273, 446, 31, 202, 202, 9053, 1604, 273, 446, 31, 2 ]
public Object jsFunction_exec() throws JavaScriptException {
private Object jsFunction_exec() throws JavaScriptException {
public Object jsFunction_exec() throws JavaScriptException { throw Context.reportRuntimeError1 ("msg.cant.call.indirect", "exec"); }
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/d589083a1e05831fd048d3c3f77379559ec628d7/NativeScript.java/clean/js/rhino/src/org/mozilla/javascript/NativeScript.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 3828, 2083, 67, 4177, 1435, 1216, 11905, 503, 288, 3639, 604, 1772, 18, 6006, 5576, 668, 21, 5411, 7566, 3576, 18, 71, 970, 18, 1991, 18, 728, 867, 3113, 315, 4177, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 3828, 2083, 67, 4177, 1435, 1216, 11905, 503, 288, 3639, 604, 1772, 18, 6006, 5576, 668, 21, 5411, 7566, 3576, 18, 71, 970, 18, 1991, 18, 728, 867, 3113, 315, 4177, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (!failedDependency) { result.add(constructor);
if (satisfiableConstructors.isEmpty()) { throw new NoSatisfiableConstructorsException(getComponentImplementation(), failedDependencies);
private List getSatisfiableConstructors(List constructors, MutablePicoContainer componentRegistry) throws PicoIntrospectionException, AssignabilityRegistrationException, NotConcreteRegistrationException { List result = new ArrayList(); Set failedDependencies = new HashSet(); for (Iterator iterator = constructors.iterator(); iterator.hasNext();) { Constructor constructor = (Constructor) iterator.next(); Class[] parameterTypes = constructor.getParameterTypes(); Parameter[] currentParameters = parameters != null ? parameters : createDefaultParameters(parameterTypes); boolean failedDependency = false; for (int i = 0; i < currentParameters.length; i++) { ComponentAdapter adapter = currentParameters[i].resolveAdapter(componentRegistry); if (adapter == null) { failedDependency = true; failedDependencies.add(parameterTypes[i]); break; } else { // we can't depend on ourself if (adapter.equals(this)) { failedDependency = true; failedDependencies.add(parameterTypes[i]); break; } if (getComponentKey().equals(adapter.getComponentKey())) { failedDependency = true; failedDependencies.add(parameterTypes[i]); break; } } } if (!failedDependency) { result.add(constructor); } } if (result.isEmpty()) { throw new NoSatisfiableConstructorsException(getComponentImplementation(), failedDependencies); } return result; }
9344 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9344/bba98c82f78306e2174e954e1465843bf0919ad3/DefaultComponentAdapter.java/buggy/trunk/java/picocontainer/src/java/org/picocontainer/defaults/DefaultComponentAdapter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 987, 1322, 270, 7396, 2214, 29590, 12, 682, 19874, 16, 10960, 52, 10764, 2170, 1794, 4243, 13, 1216, 453, 10764, 1702, 26362, 503, 16, 12093, 2967, 7843, 503, 16, 2288, 25845, 7843, 503, 288, 3639, 987, 563, 273, 394, 2407, 5621, 3639, 1000, 2535, 8053, 273, 394, 6847, 5621, 3639, 364, 261, 3198, 2775, 273, 19874, 18, 9838, 5621, 2775, 18, 5332, 2134, 5621, 13, 288, 5411, 11417, 3885, 273, 261, 6293, 13, 2775, 18, 4285, 5621, 5411, 1659, 8526, 20173, 273, 3885, 18, 588, 1662, 2016, 5621, 5411, 5498, 8526, 783, 2402, 273, 1472, 480, 446, 692, 1472, 294, 27346, 2402, 12, 6775, 2016, 1769, 5411, 1250, 2535, 7787, 273, 629, 31, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 783, 2402, 18, 2469, 31, 277, 27245, 288, 7734, 5435, 4216, 4516, 273, 783, 2402, 63, 77, 8009, 10828, 4216, 12, 4652, 4243, 1769, 7734, 309, 261, 10204, 422, 446, 13, 288, 10792, 2535, 7787, 273, 638, 31, 10792, 2535, 8053, 18, 1289, 12, 6775, 2016, 63, 77, 19226, 10792, 898, 31, 7734, 289, 469, 288, 10792, 368, 732, 848, 1404, 2447, 603, 3134, 2890, 10792, 309, 261, 10204, 18, 14963, 12, 2211, 3719, 288, 13491, 2535, 7787, 273, 638, 31, 13491, 2535, 8053, 18, 1289, 12, 6775, 2016, 63, 77, 19226, 13491, 898, 31, 10792, 289, 10792, 309, 261, 588, 1841, 653, 7675, 14963, 12, 10204, 18, 588, 1841, 653, 1435, 3719, 288, 13491, 2535, 7787, 273, 638, 31, 13491, 2535, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 987, 1322, 270, 7396, 2214, 29590, 12, 682, 19874, 16, 10960, 52, 10764, 2170, 1794, 4243, 13, 1216, 453, 10764, 1702, 26362, 503, 16, 12093, 2967, 7843, 503, 16, 2288, 25845, 7843, 503, 288, 3639, 987, 563, 273, 394, 2407, 5621, 3639, 1000, 2535, 8053, 273, 394, 6847, 5621, 3639, 364, 261, 3198, 2775, 273, 19874, 18, 9838, 5621, 2775, 18, 5332, 2134, 5621, 13, 288, 5411, 11417, 3885, 273, 261, 6293, 13, 2775, 18, 4285, 5621, 5411, 1659, 8526, 20173, 273, 3885, 18, 588, 1662, 2016, 5621, 5411, 5498, 8526, 783, 2402, 273, 1472, 480, 446, 692, 1472, 294, 27346, 2402, 12, 6775, 2016, 1769, 5411, 1250, 2535, 7787, 273, 629, 31, 5411, 364, 261, 474, 2 ]
private int max(int a, int b) {
protected int max(int a, int b) {
private int max(int a, int b) { return Math.max(a, b); }
47208 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47208/2419f21f3cca678ab2c0f7da5e9a3cef0bdffbf7/DockLayout.java/clean/src/openmap/com/bbn/openmap/gui/dock/DockLayout.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 509, 943, 12, 474, 279, 16, 509, 324, 13, 288, 3639, 327, 2361, 18, 1896, 12, 69, 16, 324, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 509, 943, 12, 474, 279, 16, 509, 324, 13, 288, 3639, 327, 2361, 18, 1896, 12, 69, 16, 324, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (entry.songs != null) { for (int i = 0; i < entry.songs.length; i++) { _stable.update(entry.songs[i]); } } _session.commit(); } catch (SQLException sqe) { _session.rollback(); throw sqe; } catch (RuntimeException rte) { _session.rollback(); throw rte; }
if (entry.songs != null) { for (int i = 0; i < entry.songs.length; i++) { _stable.update(entry.songs[i]); } } } });
public void updateEntry (Entry entry) throws SQLException { try { // update the entry _etable.update(entry); // and the entry's songs if (entry.songs != null) { for (int i = 0; i < entry.songs.length; i++) { _stable.update(entry.songs[i]); } } _session.commit(); } catch (SQLException sqe) { // back out our changes if something got hosed _session.rollback(); throw sqe; } catch (RuntimeException rte) { // back out our changes if something got hosed _session.rollback(); throw rte; } }
5965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5965/df34151895023c847a26a60a405a9ba82e178fa6/Repository.java/buggy/projects/robodj/src/java/robodj/repository/Repository.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1089, 1622, 261, 1622, 1241, 13, 202, 15069, 6483, 565, 288, 202, 698, 288, 202, 565, 368, 1089, 326, 1241, 202, 565, 389, 278, 429, 18, 2725, 12, 4099, 1769, 202, 565, 368, 471, 326, 1241, 1807, 272, 7260, 202, 565, 309, 261, 4099, 18, 816, 564, 480, 446, 13, 288, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1241, 18, 816, 564, 18, 2469, 31, 277, 27245, 288, 1082, 565, 389, 15021, 18, 2725, 12, 4099, 18, 816, 564, 63, 77, 19226, 202, 202, 97, 202, 565, 289, 202, 565, 389, 3184, 18, 7371, 5621, 202, 97, 1044, 261, 23116, 4744, 73, 13, 288, 202, 565, 368, 1473, 596, 3134, 3478, 309, 5943, 2363, 366, 11181, 202, 565, 389, 3184, 18, 20050, 5621, 202, 565, 604, 4744, 73, 31, 202, 97, 1044, 261, 11949, 436, 736, 13, 288, 202, 565, 368, 1473, 596, 3134, 3478, 309, 5943, 2363, 366, 11181, 202, 565, 389, 3184, 18, 20050, 5621, 202, 565, 604, 436, 736, 31, 202, 97, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1089, 1622, 261, 1622, 1241, 13, 202, 15069, 6483, 565, 288, 202, 698, 288, 202, 565, 368, 1089, 326, 1241, 202, 565, 389, 278, 429, 18, 2725, 12, 4099, 1769, 202, 565, 368, 471, 326, 1241, 1807, 272, 7260, 202, 565, 309, 261, 4099, 18, 816, 564, 480, 446, 13, 288, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1241, 18, 816, 564, 18, 2469, 31, 277, 27245, 288, 1082, 565, 389, 15021, 18, 2725, 12, 4099, 18, 816, 564, 63, 77, 19226, 202, 202, 97, 202, 565, 289, 202, 565, 389, 3184, 18, 7371, 5621, 202, 97, 1044, 261, 23116, 4744, 73, 13, 288, 202, 565, 368, 1473, 596, 3134, 3478, 309, 2 ]
return gen.mkStable(gen.Select(root, sym));
return gen.mkStable(gen.Select(root, tree.symbol()));
public Tree transform(Tree tree) { switch (tree) { case ClassDef(int mods, _, _, _, _, _) : { // Add outer link ClassDef classDef = (ClassDef) tree; Symbol sym = classDef.symbol(); Tree newTree; classStack.addFirst(sym); if (classStack.size() == 1 || Modifiers.Helper.isStatic(mods)) { outerLinks.addFirst(null); newTree = super.transform(tree); } else newTree = addOuterLink(classDef); outerLinks.removeFirst(); classStack.removeFirst(); return newTree; } case Ident(Name name): { if (! name.isTermName()) return super.transform(tree); // Follow "outer" links to fetch data in outer classes. Symbol sym = tree.symbol(); Symbol owner = sym.classOwner(); Iterator classIt = classStack.iterator(); boolean found = false; int level = -1; while (!found && classIt.hasNext()) { Symbol classSym = (Symbol)classIt.next(); if (classSym.closurePos(owner) != -1) found = true; ++level; } if (found && level > 0) { Tree root = outerRef(level); return gen.mkStable(gen.Select(root, sym)); } else { return super.transform(tree); } } case Apply(Tree fun, Tree[] args): { // Add outer parameter to constructor calls. Tree realFun; Tree[] typeArgs; switch (fun) { case TypeApply(Tree fun2, Tree[] tArgs): realFun = fun2; typeArgs = tArgs; break; default: realFun = fun; typeArgs = null; break; } Tree newFun = null, newArg = null; if (realFun.hasSymbol() && realFun.symbol().isPrimaryConstructor()) { switch (transform(realFun)) { case Select(Tree qualifier, Name selector): { if (! (qualifier.hasSymbol() && Modifiers.Helper.isNoVal(qualifier.symbol().flags))) { newFun = make.Ident(qualifier.pos, selector) .setType(realFun.type()) .setSymbol(realFun.symbol()); newArg = qualifier; } } break; case Ident(Name name): { Symbol owner = realFun.symbol().owner(); if (!classStack.isEmpty() && ((Symbol)classStack.getFirst()).closurePos(owner) != -1) { Symbol thisSym = (Symbol)classStack.getFirst(); newFun = realFun; newArg = gen.This(realFun.pos, thisSym); } } break; default: throw global.fail("unexpected node in constructor call"); } if (newFun != null && newArg != null) { Tree[] newArgs = new Tree[args.length + 1]; newArgs[0] = newArg; System.arraycopy(args, 0, newArgs, 1, args.length); Tree finalFun; if (typeArgs != null) finalFun = copy.TypeApply(fun, newFun, typeArgs); else finalFun = newFun; finalFun.type = addValueParam(finalFun.type, outerSym(realFun.symbol())); return copy.Apply(tree, finalFun, transform(newArgs)); } else return super.transform(tree); } else return super.transform(tree); } default: return super.transform(tree); } }
48012 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48012/14bc0c4f0df23f78fcd143a719113b1c1c37c4ea/ExplicitOuterClasses.java/buggy/sources/scalac/transformer/ExplicitOuterClasses.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4902, 2510, 12, 2471, 2151, 13, 288, 3639, 1620, 261, 3413, 13, 288, 3639, 648, 1659, 3262, 12, 474, 15546, 16, 389, 16, 389, 16, 389, 16, 389, 16, 389, 13, 294, 288, 5411, 368, 1436, 6390, 1692, 5411, 1659, 3262, 667, 3262, 273, 261, 797, 3262, 13, 2151, 31, 5411, 8565, 5382, 273, 667, 3262, 18, 7175, 5621, 5411, 4902, 394, 2471, 31, 5411, 667, 2624, 18, 1289, 3759, 12, 8117, 1769, 5411, 309, 261, 1106, 2624, 18, 1467, 1435, 422, 404, 747, 3431, 3383, 18, 2276, 18, 291, 5788, 12, 22760, 3719, 288, 7734, 6390, 7100, 18, 1289, 3759, 12, 2011, 1769, 7734, 394, 2471, 273, 2240, 18, 6547, 12, 3413, 1769, 5411, 289, 469, 7734, 394, 2471, 273, 527, 15040, 2098, 12, 1106, 3262, 1769, 5411, 6390, 7100, 18, 4479, 3759, 5621, 5411, 667, 2624, 18, 4479, 3759, 5621, 5411, 327, 394, 2471, 31, 3639, 289, 3639, 648, 13128, 12, 461, 508, 4672, 288, 5411, 309, 16051, 508, 18, 291, 4065, 461, 10756, 7734, 327, 2240, 18, 6547, 12, 3413, 1769, 5411, 368, 16093, 315, 14068, 6, 4716, 358, 2158, 501, 316, 6390, 3318, 18, 5411, 8565, 5382, 273, 2151, 18, 7175, 5621, 5411, 8565, 3410, 273, 5382, 18, 1106, 5541, 5621, 5411, 4498, 667, 7193, 273, 667, 2624, 18, 9838, 5621, 5411, 1250, 1392, 273, 629, 31, 5411, 509, 1801, 273, 300, 21, 31, 5411, 1323, 16051, 7015, 597, 667, 7193, 18, 5332, 2134, 10756, 288, 7734, 8565, 667, 11901, 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, 1071, 4902, 2510, 12, 2471, 2151, 13, 288, 3639, 1620, 261, 3413, 13, 288, 3639, 648, 1659, 3262, 12, 474, 15546, 16, 389, 16, 389, 16, 389, 16, 389, 16, 389, 13, 294, 288, 5411, 368, 1436, 6390, 1692, 5411, 1659, 3262, 667, 3262, 273, 261, 797, 3262, 13, 2151, 31, 5411, 8565, 5382, 273, 667, 3262, 18, 7175, 5621, 5411, 4902, 394, 2471, 31, 5411, 667, 2624, 18, 1289, 3759, 12, 8117, 1769, 5411, 309, 261, 1106, 2624, 18, 1467, 1435, 422, 404, 747, 3431, 3383, 18, 2276, 18, 291, 5788, 12, 22760, 3719, 288, 7734, 6390, 7100, 18, 1289, 3759, 12, 2011, 1769, 7734, 394, 2471, 273, 2240, 18, 6547, 12, 3413, 1769, 5411, 289, 469, 2 ]
if (active) { formatter = NumberFormat.getIntegerInstance(); formatter.setMinimumIntegerDigits(4); formatter.setGroupingUsed(false); }
public TestingGround(BugReporter bugReporter) { this.bugReporter = bugReporter; if (active) { formatter = NumberFormat.getIntegerInstance(); formatter.setMinimumIntegerDigits(4); formatter.setGroupingUsed(false); } }
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/aa8d5b4de3181e25993ad50dc057234f2a5f23c9/TestingGround.java/clean/findbugs/src/java/edu/umd/cs/findbugs/detect/TestingGround.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 7766, 310, 43, 2260, 12, 19865, 13289, 7934, 13289, 13, 288, 202, 202, 2211, 18, 925, 13289, 273, 7934, 13289, 31, 202, 202, 430, 261, 3535, 13, 288, 1082, 202, 12354, 273, 29587, 18, 588, 4522, 1442, 5621, 1082, 202, 12354, 18, 542, 13042, 4522, 9537, 12, 24, 1769, 1082, 202, 12354, 18, 542, 21014, 6668, 12, 5743, 1769, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 7766, 310, 43, 2260, 12, 19865, 13289, 7934, 13289, 13, 288, 202, 202, 2211, 18, 925, 13289, 273, 7934, 13289, 31, 202, 202, 430, 261, 3535, 13, 288, 1082, 202, 12354, 273, 29587, 18, 588, 4522, 1442, 5621, 1082, 202, 12354, 18, 542, 13042, 4522, 9537, 12, 24, 1769, 1082, 202, 12354, 18, 542, 21014, 6668, 12, 5743, 1769, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 IASTTemplateDeclaration createTemplateDeclaration( IASTScope scope, List templateParameters, boolean exported, int startingOffset );
public IASTTemplateDeclaration createTemplateDeclaration( IASTScope scope, List templateParameters, boolean exported, int startingOffset ) throws Exception;
public IASTTemplateDeclaration createTemplateDeclaration( IASTScope scope, List templateParameters, boolean exported, int startingOffset );
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/007714a3941370ecdf5c0dd873f4e0bcc64a50e8/IASTFactory.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/parser/ast/IASTFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 9053, 2283, 6094, 752, 2283, 6094, 12, 467, 9053, 3876, 2146, 16, 987, 1542, 2402, 16, 1250, 11518, 16, 509, 5023, 2335, 262, 1216, 1185, 31, 225, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 9053, 2283, 6094, 752, 2283, 6094, 12, 467, 9053, 3876, 2146, 16, 987, 1542, 2402, 16, 1250, 11518, 16, 509, 5023, 2335, 262, 1216, 1185, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
String docToLoad = getAttribute("href");
public void parseContents(final Parser parser) { final Stylesheet context = parser.getCurrentStylesheet(); try { String docToLoad = getAttribute("href"); if (context.checkForLoop(docToLoad)) { final int errno = ErrorMsg.CIRCULAR_INCLUDE_ERR; final ErrorMsg msg = new ErrorMsg(errno, docToLoad, this); parser.reportError(Constants.FATAL, msg); return; } String currLoadedDoc = context.getSystemId(); SourceLoader loader = context.getSourceLoader(); InputSource input = null; if (loader != null) { final XSLTC xsltc = parser.getXSLTC(); input = loader.loadSource(docToLoad, currLoadedDoc, xsltc); } else { // bug 7835, patch by Stefan Kost (s.kost@webmacher.de) if ((currLoadedDoc != null) && (currLoadedDoc.length() > 0)) { File file = new File(currLoadedDoc); if (file.exists()) { currLoadedDoc = "file:" + file.getCanonicalPath(); } final URL url = new URL(new URL(currLoadedDoc), docToLoad); docToLoad = url.toString(); input = new InputSource(docToLoad); } else { File file = new File(System.getProperty("user.dir"), docToLoad); if (file.exists()) { docToLoad = "file:" + file.getCanonicalPath(); } else { throw new FileNotFoundException( "Could not load file " + docToLoad); } input = new InputSource(docToLoad); } } final SyntaxTreeNode root = parser.parse(input); if (root == null) return; final Stylesheet _included = parser.makeStylesheet(root); if (_included == null) return; _included.setSourceLoader(loader); _included.setSystemId(docToLoad); _included.setParentStylesheet(context); _included.setIncludingStylesheet(context); _included.setTemplateInlining(context.getTemplateInlining()); // An included stylesheet gets the same import precedence // as the stylesheet that included it. final int precedence = context.getImportPrecedence(); _included.setImportPrecedence(precedence); parser.setCurrentStylesheet(_included); _included.parseContents(parser); final Enumeration elements = _included.elements(); final Stylesheet topStylesheet = parser.getTopLevelStylesheet(); while (elements.hasMoreElements()) { final Object element = elements.nextElement(); if (element instanceof TopLevelElement) { if (element instanceof Variable) topStylesheet.addVariable((Variable)element); else if (element instanceof Param) topStylesheet.addParam((Param)element); else topStylesheet.addElement((TopLevelElement)element); } } } catch (Exception e) { e.printStackTrace(); } finally { parser.setCurrentStylesheet(context); } }
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/99dd81295de9815fb99092a9ecb22a3b4b5ff789/Include.java/clean/src/org/apache/xalan/xsltc/compiler/Include.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1109, 6323, 12, 6385, 6783, 2082, 13, 288, 202, 6385, 29483, 2963, 819, 273, 2082, 18, 588, 3935, 24656, 5621, 202, 698, 288, 202, 565, 514, 997, 26883, 273, 4061, 2932, 7547, 8863, 202, 565, 309, 261, 2472, 18, 1893, 31451, 12, 2434, 26883, 3719, 288, 202, 202, 6385, 509, 8402, 273, 1068, 3332, 18, 7266, 11529, 19545, 67, 26003, 67, 9712, 31, 202, 202, 6385, 1068, 3332, 1234, 273, 394, 1068, 3332, 12, 19088, 16, 997, 26883, 16, 333, 1769, 202, 202, 4288, 18, 6006, 668, 12, 2918, 18, 29891, 16, 1234, 1769, 202, 202, 2463, 31, 202, 565, 289, 202, 565, 514, 4306, 8835, 1759, 273, 819, 18, 588, 3163, 548, 5621, 202, 565, 4998, 2886, 4088, 273, 819, 18, 588, 1830, 2886, 5621, 202, 565, 23699, 810, 273, 446, 31, 202, 565, 309, 261, 6714, 480, 446, 13, 288, 202, 202, 6385, 17243, 15988, 20791, 5111, 273, 2082, 18, 588, 60, 4559, 15988, 5621, 202, 202, 2630, 273, 4088, 18, 945, 1830, 12, 2434, 26883, 16, 4306, 8835, 1759, 16, 20791, 5111, 1769, 202, 565, 289, 202, 565, 469, 288, 202, 202, 759, 7934, 22860, 4763, 16, 4729, 635, 7780, 74, 304, 1475, 669, 261, 87, 18, 79, 669, 36, 4875, 81, 27779, 18, 323, 13, 202, 202, 430, 14015, 17016, 8835, 1759, 480, 446, 13, 597, 261, 17016, 8835, 1759, 18, 2469, 1435, 405, 374, 3719, 288, 1082, 565, 1387, 585, 273, 394, 1387, 12, 17016, 8835, 1759, 1769, 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, 377, 1071, 918, 1109, 6323, 12, 6385, 6783, 2082, 13, 288, 202, 6385, 29483, 2963, 819, 273, 2082, 18, 588, 3935, 24656, 5621, 202, 698, 288, 202, 565, 514, 997, 26883, 273, 4061, 2932, 7547, 8863, 202, 565, 309, 261, 2472, 18, 1893, 31451, 12, 2434, 26883, 3719, 288, 202, 202, 6385, 509, 8402, 273, 1068, 3332, 18, 7266, 11529, 19545, 67, 26003, 67, 9712, 31, 202, 202, 6385, 1068, 3332, 1234, 273, 394, 1068, 3332, 12, 19088, 16, 997, 26883, 16, 333, 1769, 202, 202, 4288, 18, 6006, 668, 12, 2918, 18, 29891, 16, 1234, 1769, 202, 202, 2463, 31, 202, 565, 289, 202, 565, 514, 4306, 8835, 1759, 273, 819, 18, 588, 3163, 548, 5621, 202, 565, 2 ]
if (store.getBoolean(IPreferenceConstants.OVERRIDE_PRESENTATION) != override)
if (store.getBoolean(IPreferenceConstants.OVERRIDE_PRESENTATION) != override) {
private void updateOverrideState(boolean override) { IPreferenceStore store = getPreferenceStore(); if (store.getBoolean(IPreferenceConstants.OVERRIDE_PRESENTATION) != override) store .setValue(IPreferenceConstants.OVERRIDE_PRESENTATION, override); // as we are no longer overriding the prefs should match the selected // presentation setPresentationPrefs(getSelectedPresentationID()); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/ViewsPreferencePage.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/ViewsPreferencePage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1089, 6618, 1119, 12, 6494, 3849, 13, 288, 202, 202, 45, 9624, 2257, 1707, 273, 336, 9624, 2257, 5621, 202, 202, 430, 261, 2233, 18, 588, 5507, 12, 45, 9624, 2918, 18, 31514, 67, 3670, 17418, 2689, 13, 480, 3849, 13, 1082, 202, 2233, 6862, 202, 18, 542, 620, 12, 45, 9624, 2918, 18, 31514, 67, 3670, 17418, 2689, 16, 6862, 1082, 202, 10601, 1769, 202, 202, 759, 487, 732, 854, 1158, 7144, 19488, 326, 15503, 1410, 845, 326, 3170, 202, 202, 759, 22525, 202, 202, 542, 6351, 367, 1386, 2556, 12, 588, 7416, 6351, 367, 734, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 1152, 918, 1089, 6618, 1119, 12, 6494, 3849, 13, 288, 202, 202, 45, 9624, 2257, 1707, 273, 336, 9624, 2257, 5621, 202, 202, 430, 261, 2233, 18, 588, 5507, 12, 45, 9624, 2918, 18, 31514, 67, 3670, 17418, 2689, 13, 480, 3849, 13, 1082, 202, 2233, 6862, 202, 18, 542, 620, 12, 45, 9624, 2918, 18, 31514, 67, 3670, 17418, 2689, 16, 6862, 1082, 202, 10601, 1769, 202, 202, 759, 487, 732, 854, 1158, 7144, 19488, 326, 15503, 1410, 845, 326, 3170, 202, 202, 759, 22525, 202, 202, 542, 6351, 367, 1386, 2556, 12, 588, 7416, 6351, 367, 734, 10663, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
SplitInserter splitInsert = new SplitInserter(data, block.clientMetadata, bestCodec, ctx.splitfileAlgorithm, ctx, this, NodeCHK.BLOCK_SIZE, getCHKOnly);
SplitInserter splitInsert = new SplitInserter(data, block.clientMetadata, bestCodec, ctx.splitfileAlgorithm, ctx, this, NodeCHK.BLOCK_SIZE, getCHKOnly, metadata);
public FreenetURI run(InsertBlock block, boolean metadata, boolean getCHKOnly) throws InserterException { if(block.data == null) throw new NullPointerException(); if(!block.desiredURI.toString(false).equals("CHK@")) throw new InserterException(InserterException.INVALID_URI, null); // Insert the content. // If we have reason to create a metadata document, include the client metadata. // Otherwise only create one (a redirect) with the client metadata, if there is any. // First, can it fit into a single block? Bucket data = block.data; ClientCHKBlock chk; Compressor bestCodec = null; Bucket bestCompressedData = null; long origSize = data.size(); if(data.size() > NodeCHK.BLOCK_SIZE && (!ctx.dontCompress)) { // Try to compress the data. // Try each algorithm, starting with the fastest and weakest. // Stop when run out of algorithms, or the compressed data fits in a single block. int algos = Compressor.countCompressAlgorithms(); try { for(int i=0;i<algos;i++) { Compressor comp = Compressor.getCompressionAlgorithmByDifficulty(i); Bucket result; result = comp.compress(data, ctx.bf, Long.MAX_VALUE); if(result.size() < NodeCHK.BLOCK_SIZE) { bestCodec = comp; data = result; if(bestCompressedData != null) ctx.bf.freeBucket(bestCompressedData); break; } if(bestCompressedData != null && result.size() < bestCompressedData.size()) { ctx.bf.freeBucket(bestCompressedData); bestCompressedData = result; bestCodec = comp; } else if(bestCompressedData == null && result.size() < data.size()) { bestCompressedData = result; bestCodec = comp; } } } catch (IOException e) { throw new InserterException(InserterException.BUCKET_ERROR, e, null); } catch (CompressionOutputSizeException e) { // Impossible throw new Error(e); } } if(data.size() <= NodeCHK.BLOCK_SIZE) { try { if(bestCodec == null) { chk = ClientCHKBlock.encode(data, metadata, true, (short)-1, 0); } else { if(origSize > ClientCHKBlock.MAX_LENGTH_BEFORE_COMPRESSION) throw new IllegalArgumentException("Data too big to compress into single block, but it does"); chk = ClientCHKBlock.encode(data, metadata, false, bestCodec.codecNumberForMetadata(), (int)origSize); } } catch (IOException e) { throw new InserterException(InserterException.BUCKET_ERROR, e, null); } catch (CHKEncodeException e) { Logger.error(this, "Unexpected error: "+e, e); throw new InserterException(InserterException.INTERNAL_ERROR, null); } return simplePutCHK(chk, block.clientMetadata, getCHKOnly); } // Too big, encode to a splitfile SplitInserter splitInsert = new SplitInserter(data, block.clientMetadata, bestCodec, ctx.splitfileAlgorithm, ctx, this, NodeCHK.BLOCK_SIZE, getCHKOnly); return splitInsert.run(); }
48807 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48807/b68b5432790bd0dc05355cf52ec6166eb2cceed9/FileInserter.java/buggy/src/freenet/client/FileInserter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 478, 2842, 278, 3098, 1086, 12, 4600, 1768, 1203, 16, 1250, 1982, 16, 1250, 336, 1792, 47, 3386, 13, 1216, 657, 550, 387, 503, 288, 202, 202, 430, 12, 2629, 18, 892, 422, 446, 13, 1082, 202, 12849, 394, 10108, 5621, 202, 202, 430, 12, 5, 2629, 18, 30458, 3098, 18, 10492, 12, 5743, 2934, 14963, 2932, 1792, 47, 27614, 3719, 1082, 202, 12849, 394, 657, 550, 387, 503, 12, 382, 550, 387, 503, 18, 9347, 67, 3098, 16, 446, 1769, 9506, 202, 759, 8040, 326, 913, 18, 202, 202, 759, 971, 732, 1240, 3971, 358, 752, 279, 1982, 1668, 16, 2341, 326, 1004, 1982, 18, 202, 202, 759, 5272, 1338, 752, 1245, 261, 69, 3136, 13, 598, 326, 1004, 1982, 16, 309, 1915, 353, 1281, 18, 9506, 202, 759, 5783, 16, 848, 518, 4845, 1368, 279, 2202, 1203, 35, 9506, 202, 4103, 501, 273, 1203, 18, 892, 31, 202, 202, 1227, 1792, 47, 1768, 15000, 31, 202, 202, 16552, 280, 3796, 11008, 273, 446, 31, 202, 202, 4103, 3796, 16841, 751, 273, 446, 31, 202, 202, 5748, 1647, 1225, 273, 501, 18, 1467, 5621, 202, 202, 430, 12, 892, 18, 1467, 1435, 405, 2029, 1792, 47, 18, 11403, 67, 4574, 597, 16051, 5900, 18, 72, 1580, 16552, 3719, 288, 1082, 202, 759, 6161, 358, 8099, 326, 501, 18, 1082, 202, 759, 6161, 1517, 4886, 16, 5023, 598, 326, 4797, 395, 471, 16046, 395, 18, 1082, 202, 759, 5131, 1347, 1086, 596, 434, 20032, 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, 478, 2842, 278, 3098, 1086, 12, 4600, 1768, 1203, 16, 1250, 1982, 16, 1250, 336, 1792, 47, 3386, 13, 1216, 657, 550, 387, 503, 288, 202, 202, 430, 12, 2629, 18, 892, 422, 446, 13, 1082, 202, 12849, 394, 10108, 5621, 202, 202, 430, 12, 5, 2629, 18, 30458, 3098, 18, 10492, 12, 5743, 2934, 14963, 2932, 1792, 47, 27614, 3719, 1082, 202, 12849, 394, 657, 550, 387, 503, 12, 382, 550, 387, 503, 18, 9347, 67, 3098, 16, 446, 1769, 9506, 202, 759, 8040, 326, 913, 18, 202, 202, 759, 971, 732, 1240, 3971, 358, 752, 279, 1982, 1668, 16, 2341, 326, 1004, 1982, 18, 202, 202, 759, 5272, 1338, 752, 1245, 261, 69, 3136, 2 ]
if (jj_3R_169()) return true;
if (jj_3R_173()) return true;
final private boolean jj_3R_121() { if (jj_3R_169()) return true; return false; }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/9aa0c6bec51662a685ea4b86bc02a52c9e593d8a/Parser.java/clean/dynamicjava/src/koala/dynamicjava/parser/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 26009, 1435, 288, 565, 309, 261, 78, 78, 67, 23, 54, 67, 31331, 10756, 327, 638, 31, 565, 327, 629, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 54, 67, 26009, 1435, 288, 565, 309, 261, 78, 78, 67, 23, 54, 67, 31331, 10756, 327, 638, 31, 565, 327, 629, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
int alt18=2; int LA18_0 = input.LA(1); if ( (LA18_0=='*') ) { int LA18_1 = input.LA(2); if ( (LA18_1=='/') ) { alt18=2;
int alt17=2; int LA17_0 = input.LA(1); if ( (LA17_0=='*') ) { int LA17_1 = input.LA(2); if ( (LA17_1=='/') ) { alt17=2;
public void mMULTI_LINE_COMMENT() throws RecognitionException { try { ruleNestingLevel++; int _type = MULTI_LINE_COMMENT; int _start = getCharIndex(); int _line = getLine(); int _charPosition = getCharPositionInLine(); int _channel = Token.DEFAULT_CHANNEL; // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1437:4: ( '/*' ( options {greedy=false; } : . )* '*/' ) // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1437:4: '/*' ( options {greedy=false; } : . )* '*/' { match("/*"); if (failed) return ; // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1437:9: ( options {greedy=false; } : . )* loop18: do { int alt18=2; int LA18_0 = input.LA(1); if ( (LA18_0=='*') ) { int LA18_1 = input.LA(2); if ( (LA18_1=='/') ) { alt18=2; } else if ( ((LA18_1>='\u0000' && LA18_1<='.')||(LA18_1>='0' && LA18_1<='\uFFFE')) ) { alt18=1; } } else if ( ((LA18_0>='\u0000' && LA18_0<=')')||(LA18_0>='+' && LA18_0<='\uFFFE')) ) { alt18=1; } switch (alt18) { case 1 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1437:35: . { matchAny(); if (failed) return ; } break; default : break loop18; } } while (true); match("*/"); if (failed) return ; if ( backtracking==0 ) { _channel=HIDDEN; } } if ( backtracking==0 ) { if ( token==null && ruleNestingLevel==1 ) { emit(_type,_line,_charPosition,_channel,_start,getCharIndex()-1); } } } finally { ruleNestingLevel--; } }
5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/158de3e3177d9b48d45fb4c3fae8404e0f01f690/DRLLexer.java/clean/drools-compiler/src/main/java/org/drools/lang/DRLLexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 312, 26588, 67, 5997, 67, 12200, 1435, 1216, 9539, 288, 3639, 775, 288, 5411, 1720, 50, 10100, 2355, 9904, 31, 5411, 509, 389, 723, 273, 27125, 67, 5997, 67, 12200, 31, 5411, 509, 389, 1937, 273, 23577, 1016, 5621, 5411, 509, 389, 1369, 273, 9851, 5621, 5411, 509, 389, 3001, 2555, 273, 23577, 2555, 382, 1670, 5621, 5411, 509, 389, 4327, 273, 3155, 18, 5280, 67, 15814, 31, 5411, 368, 463, 31027, 14915, 1695, 10649, 8464, 1695, 10649, 8464, 7482, 1695, 12215, 17, 9576, 1695, 4816, 1695, 5254, 1695, 4683, 1695, 3341, 1695, 12215, 1695, 4936, 1695, 16483, 18, 75, 30, 3461, 6418, 30, 24, 30, 261, 1173, 4035, 261, 702, 288, 11556, 24009, 33, 5743, 31, 289, 294, 263, 8618, 14609, 2473, 262, 5411, 368, 463, 31027, 14915, 1695, 10649, 8464, 1695, 10649, 8464, 7482, 1695, 12215, 17, 9576, 1695, 4816, 1695, 5254, 1695, 4683, 1695, 3341, 1695, 12215, 1695, 4936, 1695, 16483, 18, 75, 30, 3461, 6418, 30, 24, 30, 1173, 4035, 261, 702, 288, 11556, 24009, 33, 5743, 31, 289, 294, 263, 8618, 14609, 2473, 5411, 288, 5411, 845, 2932, 19, 7388, 1769, 309, 261, 7307, 13, 327, 274, 5411, 368, 463, 31027, 14915, 1695, 10649, 8464, 1695, 10649, 8464, 7482, 1695, 12215, 17, 9576, 1695, 4816, 1695, 5254, 1695, 4683, 1695, 3341, 1695, 12215, 1695, 4936, 1695, 16483, 18, 75, 30, 3461, 6418, 30, 29, 30, 261, 702, 288, 11556, 24009, 33, 5743, 31, 289, 294, 263, 8618, 5411, 2798, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 312, 26588, 67, 5997, 67, 12200, 1435, 1216, 9539, 288, 3639, 775, 288, 5411, 1720, 50, 10100, 2355, 9904, 31, 5411, 509, 389, 723, 273, 27125, 67, 5997, 67, 12200, 31, 5411, 509, 389, 1937, 273, 23577, 1016, 5621, 5411, 509, 389, 1369, 273, 9851, 5621, 5411, 509, 389, 3001, 2555, 273, 23577, 2555, 382, 1670, 5621, 5411, 509, 389, 4327, 273, 3155, 18, 5280, 67, 15814, 31, 5411, 368, 463, 31027, 14915, 1695, 10649, 8464, 1695, 10649, 8464, 7482, 1695, 12215, 17, 9576, 1695, 4816, 1695, 5254, 1695, 4683, 1695, 3341, 1695, 12215, 1695, 4936, 1695, 16483, 18, 75, 30, 3461, 6418, 30, 24, 30, 261, 1173, 4035, 261, 702, 288, 11556, 24009, 33, 5743, 2 ]
return getVersion().endsWith( SNAPSHOT_VERSION ) || getVersion().equals( LATEST_VERSION );
return getBaseVersion().endsWith( SNAPSHOT_VERSION ) || getBaseVersion().equals( LATEST_VERSION );
public boolean isSnapshot() { Matcher m = VERSION_FILE_PATTERN.matcher( getBaseVersion() ); if ( m.matches() ) { setBaseVersion( m.group( 1 ) + "-" + SNAPSHOT_VERSION ); return true; } else { return getVersion().endsWith( SNAPSHOT_VERSION ) || getVersion().equals( LATEST_VERSION ); } }
47050 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47050/4a094fd1f1c93196e04361dc38511efd4236a290/DefaultArtifact.java/buggy/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 353, 4568, 1435, 565, 288, 3639, 9757, 312, 273, 8456, 67, 3776, 67, 10831, 18, 22761, 12, 8297, 1444, 1435, 11272, 3639, 309, 261, 312, 18, 8436, 1435, 262, 3639, 288, 5411, 26435, 1444, 12, 312, 18, 1655, 12, 404, 262, 397, 7514, 397, 14204, 31667, 67, 5757, 11272, 5411, 327, 638, 31, 3639, 289, 3639, 469, 3639, 288, 5411, 327, 8297, 1444, 7675, 5839, 1190, 12, 14204, 31667, 67, 5757, 262, 747, 8297, 1444, 7675, 14963, 12, 511, 1777, 882, 67, 5757, 11272, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 353, 4568, 1435, 565, 288, 3639, 9757, 312, 273, 8456, 67, 3776, 67, 10831, 18, 22761, 12, 8297, 1444, 1435, 11272, 3639, 309, 261, 312, 18, 8436, 1435, 262, 3639, 288, 5411, 26435, 1444, 12, 312, 18, 1655, 12, 404, 262, 397, 7514, 397, 14204, 31667, 67, 5757, 11272, 5411, 327, 638, 31, 3639, 289, 3639, 469, 3639, 288, 5411, 327, 8297, 1444, 7675, 5839, 1190, 12, 14204, 31667, 67, 5757, 262, 747, 8297, 1444, 7675, 14963, 12, 511, 1777, 882, 67, 5757, 11272, 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 ]
}
}
public String getColumnText( Object element, int columnIndex ) { SelectionChoice choice = ( (SelectionChoice) element ); final int valueIndex = valueTable.getColumnProperties( ).length - 2; String text = null; if ( valueTable.getColumnProperties( ).length == 4 && columnIndex == 1 ) { if ( isDefaultChoice( choice ) ) { text = FLAG_DEFAULT; } } else if ( columnIndex == valueIndex ) { if ( choice == dummyChoice ) { text = INPUT_PROPMT; } else { text = choice.getValue( ); } } else if ( columnIndex == valueIndex + 1 ) { text = choice.getLabel( ); if ( text == null ) { text = format( choice.getValue( ) ); } } if ( text == null ) { text = ""; //$NON-NLS-1$ } return text; }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/191dda5b71b89a080e4aa09a1f5e77122d2af010/ParameterDialog.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ParameterDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 514, 6716, 1528, 12, 1033, 930, 16, 509, 14882, 262, 202, 202, 95, 1082, 202, 6233, 10538, 6023, 273, 261, 261, 6233, 10538, 13, 930, 11272, 1082, 202, 6385, 509, 460, 1016, 273, 460, 1388, 18, 588, 1494, 2297, 12, 262, 18, 2469, 300, 576, 31, 1082, 202, 780, 977, 273, 446, 31, 1082, 202, 430, 261, 460, 1388, 18, 588, 1494, 2297, 12, 262, 18, 2469, 422, 1059, 6862, 202, 10, 10, 14882, 422, 404, 262, 1082, 202, 95, 9506, 202, 430, 261, 20652, 10538, 12, 6023, 262, 262, 9506, 202, 95, 6862, 202, 955, 273, 10972, 67, 5280, 31, 9506, 202, 97, 1082, 202, 97, 1082, 202, 12107, 309, 261, 14882, 422, 460, 1016, 262, 1082, 202, 95, 9506, 202, 430, 261, 6023, 422, 9609, 10538, 262, 9506, 202, 95, 6862, 202, 955, 273, 12943, 67, 15811, 6152, 31, 9506, 202, 97, 9506, 202, 12107, 9506, 202, 95, 6862, 202, 955, 273, 6023, 18, 24805, 12, 11272, 9506, 202, 97, 1082, 202, 97, 1082, 202, 12107, 309, 261, 14882, 422, 460, 1016, 397, 404, 262, 1082, 202, 95, 9506, 202, 955, 273, 6023, 18, 588, 2224, 12, 11272, 9506, 202, 430, 261, 977, 422, 446, 262, 9506, 202, 95, 6862, 202, 955, 273, 740, 12, 6023, 18, 24805, 12, 262, 11272, 9506, 202, 97, 1082, 202, 97, 1082, 202, 430, 261, 977, 422, 446, 262, 1082, 202, 95, 9506, 202, 955, 273, 1408, 31, 4329, 3993, 17, 5106, 17, 21, 8, 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, 3196, 202, 482, 514, 6716, 1528, 12, 1033, 930, 16, 509, 14882, 262, 202, 202, 95, 1082, 202, 6233, 10538, 6023, 273, 261, 261, 6233, 10538, 13, 930, 11272, 1082, 202, 6385, 509, 460, 1016, 273, 460, 1388, 18, 588, 1494, 2297, 12, 262, 18, 2469, 300, 576, 31, 1082, 202, 780, 977, 273, 446, 31, 1082, 202, 430, 261, 460, 1388, 18, 588, 1494, 2297, 12, 262, 18, 2469, 422, 1059, 6862, 202, 10, 10, 14882, 422, 404, 262, 1082, 202, 95, 9506, 202, 430, 261, 20652, 10538, 12, 6023, 262, 262, 9506, 202, 95, 6862, 202, 955, 273, 10972, 67, 5280, 31, 9506, 202, 97, 1082, 202, 97, 1082, 202, 12107, 309, 261, 14882, 422, 460, 1016, 2 ]
throws SQLException, TdsException {
throws SQLException, TdsException {
public TdsConnection(Properties props_) throws SQLException, TdsException { host = props_.getProperty(Tds.PROP_HOST); serverType = Integer.parseInt(props_.getProperty(Tds.PROP_SERVERTYPE)); port = Integer.parseInt(props_.getProperty(Tds.PROP_PORT)); database = props_.getProperty(Tds.PROP_DBNAME); String user = props_.getProperty(Tds.PROP_USER); String password = props_.getProperty(Tds.PROP_PASSWORD); initialProps = props_; warningChain = new SQLWarningChain(); if (user == null) { user = props_.getProperty(Tds.PROP_USER.toLowerCase()); if (user == null) { throw new SQLException("Need a username."); } props_.put(Tds.PROP_USER, user); } if (password == null) { password = props_.getProperty(Tds.PROP_PASSWORD.toLowerCase()); if (password == null) { throw new SQLException("Need a password."); } props_.put(Tds.PROP_PASSWORD, password); } Tds tmpTds = this.allocateTds(false); tdsVer = tmpTds.getTdsVer(); database = tmpTds.getDatabase(); freeTds(tmpTds); }
5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/36d7d34eb620f32e386322a293eaf58cf253a3a6/TdsConnection.java/buggy/src/main/net/sourceforge/jtds/jdbc/TdsConnection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 399, 2377, 1952, 12, 2297, 3458, 67, 13, 3639, 1216, 6483, 16, 399, 2377, 503, 565, 288, 3639, 1479, 273, 3458, 27799, 588, 1396, 12, 56, 2377, 18, 15811, 67, 8908, 1769, 3639, 1438, 559, 273, 2144, 18, 2670, 1702, 12, 9693, 27799, 588, 1396, 12, 56, 2377, 18, 15811, 67, 4370, 2399, 10019, 3639, 1756, 273, 2144, 18, 2670, 1702, 12, 9693, 27799, 588, 1396, 12, 56, 2377, 18, 15811, 67, 6354, 10019, 3639, 2063, 273, 3458, 27799, 588, 1396, 12, 56, 2377, 18, 15811, 67, 2290, 1985, 1769, 3639, 514, 729, 273, 3458, 27799, 588, 1396, 12, 56, 2377, 18, 15811, 67, 4714, 1769, 3639, 514, 2201, 273, 3458, 27799, 588, 1396, 12, 56, 2377, 18, 15811, 67, 13784, 1769, 3639, 2172, 5047, 273, 3458, 67, 31, 3639, 3436, 3893, 273, 394, 3063, 6210, 3893, 5621, 3639, 309, 261, 1355, 422, 446, 13, 288, 5411, 729, 273, 3458, 27799, 588, 1396, 12, 56, 2377, 18, 15811, 67, 4714, 18, 869, 5630, 10663, 5411, 309, 261, 1355, 422, 446, 13, 288, 7734, 604, 394, 6483, 2932, 14112, 279, 2718, 1199, 1769, 5411, 289, 5411, 3458, 27799, 458, 12, 56, 2377, 18, 15811, 67, 4714, 16, 729, 1769, 3639, 289, 3639, 309, 261, 3664, 422, 446, 13, 288, 5411, 2201, 273, 3458, 27799, 588, 1396, 12, 56, 2377, 18, 15811, 67, 13784, 18, 869, 5630, 10663, 5411, 309, 261, 3664, 422, 446, 13, 288, 7734, 604, 394, 6483, 2932, 14112, 279, 2201, 1199, 1769, 5411, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 399, 2377, 1952, 12, 2297, 3458, 67, 13, 3639, 1216, 6483, 16, 399, 2377, 503, 565, 288, 3639, 1479, 273, 3458, 27799, 588, 1396, 12, 56, 2377, 18, 15811, 67, 8908, 1769, 3639, 1438, 559, 273, 2144, 18, 2670, 1702, 12, 9693, 27799, 588, 1396, 12, 56, 2377, 18, 15811, 67, 4370, 2399, 10019, 3639, 1756, 273, 2144, 18, 2670, 1702, 12, 9693, 27799, 588, 1396, 12, 56, 2377, 18, 15811, 67, 6354, 10019, 3639, 2063, 273, 3458, 27799, 588, 1396, 12, 56, 2377, 18, 15811, 67, 2290, 1985, 1769, 3639, 514, 729, 273, 3458, 27799, 588, 1396, 12, 56, 2377, 18, 15811, 67, 4714, 1769, 3639, 514, 2201, 273, 3458, 27799, 588, 1396, 12, 56, 2377, 2 ]
for ( int x=0; x < maxX; x++) grid.add(new Coords(x,midY+(midY/2)));
coords = new Coords(-1, midY+(midY/2)); buildStraightRoad(board, coords, E, 1, grid);
private static HashSet<Coords> buildMetroCity(int maxX, int maxY){ HashSet<Coords> grid = new HashSet<Coords>(); int midX = maxX/2; int midY = maxY/2; grid.add(new Coords(midX,midY)); //have the city hub be the mid point with all the hexes around it cleared out for ( int hex=0; hex < 6; hex++ ) grid.add(new Coords(Coords.xInDir(midX,midY,hex),Coords.yInDir(midX,midY,hex))); //first east west road for ( int x=0; x < maxX; x++) grid.add(new Coords(x,midY/2)); //second east west road for ( int x=0; x < maxX; x++) grid.add(new Coords(x,midY+(midY/2))); //First North South Road for ( int y=0; y < maxY; y++) grid.add(new Coords(midX/2,y)); //second North South Road for ( int y=0; y < maxY; y++) grid.add(new Coords(midX+(midX/2),y)); for ( int dir = 0; dir < 8; dir++){ Coords coords = new Coords(midX,midY); int x = midX; int y = midY; while (x >= 0 && x <= maxX && y >= 0 && y <= maxY ){ coords = selectNextGrid(dir,coords); grid.add(coords); //System.err.println(coords); x = coords.x; y = coords.y; } } return grid; }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/4573dd2cf429f818847dbb10c6709f6ece84a374/CityBuilder.java/buggy/megamek/src/megamek/common/util/CityBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 6847, 32, 13089, 34, 1361, 12244, 303, 22236, 12, 474, 21482, 16, 509, 21509, 15329, 3639, 6847, 32, 13089, 34, 3068, 273, 394, 6847, 32, 13089, 34, 5621, 3639, 509, 7501, 60, 273, 21482, 19, 22, 31, 3639, 509, 7501, 61, 273, 21509, 19, 22, 31, 7734, 3068, 18, 1289, 12, 2704, 10320, 87, 12, 13138, 60, 16, 13138, 61, 10019, 540, 368, 21516, 326, 12797, 11891, 506, 326, 7501, 1634, 598, 777, 326, 3827, 281, 6740, 518, 16054, 596, 3639, 364, 261, 509, 3827, 33, 20, 31, 3827, 411, 1666, 31, 3827, 9904, 262, 5411, 3068, 18, 1289, 12, 2704, 10320, 87, 12, 13089, 18, 92, 382, 1621, 12, 13138, 60, 16, 13138, 61, 16, 7118, 3631, 13089, 18, 93, 382, 1621, 12, 13138, 60, 16, 13138, 61, 16, 7118, 3719, 1769, 3639, 368, 3645, 19720, 27697, 721, 361, 540, 364, 261, 509, 619, 33, 20, 31, 619, 411, 21482, 31, 619, 27245, 5411, 3068, 18, 1289, 12, 2704, 10320, 87, 12, 92, 16, 13138, 61, 19, 22, 10019, 7734, 368, 8538, 19720, 27697, 721, 361, 540, 364, 261, 509, 619, 33, 20, 31, 619, 411, 21482, 31, 619, 27245, 5411, 3068, 18, 1289, 12, 2704, 10320, 87, 12, 92, 16, 13138, 61, 15, 12, 13138, 61, 19, 22, 3719, 1769, 7734, 368, 3759, 423, 7825, 348, 15347, 25097, 3639, 364, 261, 509, 677, 33, 20, 31, 677, 411, 21509, 31, 677, 27245, 5411, 3068, 18, 1289, 12, 2704, 10320, 87, 12, 13138, 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, 6847, 32, 13089, 34, 1361, 12244, 303, 22236, 12, 474, 21482, 16, 509, 21509, 15329, 3639, 6847, 32, 13089, 34, 3068, 273, 394, 6847, 32, 13089, 34, 5621, 3639, 509, 7501, 60, 273, 21482, 19, 22, 31, 3639, 509, 7501, 61, 273, 21509, 19, 22, 31, 7734, 3068, 18, 1289, 12, 2704, 10320, 87, 12, 13138, 60, 16, 13138, 61, 10019, 540, 368, 21516, 326, 12797, 11891, 506, 326, 7501, 1634, 598, 777, 326, 3827, 281, 6740, 518, 16054, 596, 3639, 364, 261, 509, 3827, 33, 20, 31, 3827, 411, 1666, 31, 3827, 9904, 262, 5411, 3068, 18, 1289, 12, 2704, 10320, 87, 12, 13089, 18, 92, 382, 1621, 12, 13138, 60, 16, 13138, 61, 16, 2 ]
scanInfo = new ScannerInfo(buildScanInfo.getDefinedSymbols(), buildScanInfo.getIncludePaths());
if( buildScanInfo != null ) scanInfo = new ScannerInfo(buildScanInfo.getDefinedSymbols(), buildScanInfo.getIncludePaths());
public void locateMatches( String [] paths, IWorkspace workspace, IWorkingCopy[] workingCopies ){ workspaceRoot = (workspace != null) ? workspace.getRoot() : null; HashMap wcPaths = new HashMap(); int wcLength = (workingCopies == null) ? 0 : workingCopies.length; if( wcLength > 0 ){ String [] newPaths = new String[ wcLength ]; for( int i = 0; i < wcLength; i++ ){ IWorkingCopy workingCopy = workingCopies[ i ]; String path = workingCopy.getOriginalElement().getPath().toString(); wcPaths.put( path, workingCopy ); newPaths[ i ] = path; } int len = paths.length; String [] tempArray = new String[ len + wcLength ]; System.arraycopy( paths, 0, tempArray, 0, len ); System.arraycopy( newPaths, 0, tempArray, len, wcLength ); paths = tempArray; } Arrays.sort( paths ); int length = paths.length; if( progressMonitor != null ){ progressMonitor.beginTask( "", length ); } for( int i = 0; i < length; i++ ){ if( progressMonitor != null ) { if( progressMonitor.isCanceled() ){ throw new OperationCanceledException(); } else { progressMonitor.worked( 1 ); } } String pathString = paths[ i ]; //skip duplicates if( i > 0 && pathString.equals( paths[ i - 1 ] ) ) continue; if (!searchScope.encloses(pathString)) continue; Reader reader = null; IPath realPath = null; IProject project = null; if( workspaceRoot != null ){ IWorkingCopy workingCopy = (IWorkingCopy)wcPaths.get( pathString ); if( workingCopy != null ){ reader = new CharArrayReader( workingCopy.getContents() ); currentResource = workingCopy.getResource(); realPath = currentResource.getLocation(); project = currentResource.getProject(); } else { currentResource = workspaceRoot.findMember( pathString, true ); try{ if( currentResource != null && currentResource instanceof IFile ){ IFile file = (IFile) currentResource; reader = new InputStreamReader( file.getContents() ); realPath = currentResource.getLocation(); project = file.getProject(); } } catch ( CoreException e ){ continue; } } } if( currentResource == null ) { IPath path = new Path( pathString ); try { currentPath = path; reader = new FileReader( path.toFile() ); realPath = currentPath; } catch (FileNotFoundException e) { continue; } } //Get the scanner info IScannerInfo scanInfo = new ScannerInfo(); IScannerInfoProvider provider = CCorePlugin.getDefault().getScannerInfoProvider(project); if (provider != null){ IScannerInfo buildScanInfo = provider.getScannerInformation(project); scanInfo = new ScannerInfo(buildScanInfo.getDefinedSymbols(), buildScanInfo.getIncludePaths()); } ParserLanguage language = null; if( project != null ){ language = CoreModel.getDefault().hasCCNature( project ) ? ParserLanguage.CPP : ParserLanguage.C; } else { //TODO no project, what language do we use? language = ParserLanguage.CPP; } IScanner scanner = ParserFactory.createScanner( reader, realPath.toOSString(), scanInfo, ParserMode.COMPLETE_PARSE, language, this ); IParser parser = ParserFactory.createParser( scanner, this, ParserMode.COMPLETE_PARSE, language ); if (VERBOSE) MatchLocator.verbose("*** New Search for path: " + pathString); parser.parse(); } }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/746563ed2bc1e25f48548e4c23872388ba929929/MatchLocator.java/clean/core/org.eclipse.cdt.core/search/org/eclipse/cdt/internal/core/search/matching/MatchLocator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 10627, 6869, 12, 514, 5378, 2953, 16, 467, 8241, 6003, 16, 467, 14836, 2951, 8526, 5960, 15670, 262, 95, 202, 202, 14915, 2375, 273, 261, 14915, 480, 446, 13, 692, 6003, 18, 588, 2375, 1435, 294, 446, 31, 9506, 202, 8658, 14310, 4466, 273, 394, 4317, 5621, 202, 202, 474, 14310, 1782, 273, 261, 20478, 15670, 422, 446, 13, 692, 374, 294, 5960, 15670, 18, 2469, 31, 202, 202, 430, 12, 14310, 1782, 405, 374, 262, 95, 1082, 202, 780, 5378, 394, 4466, 273, 394, 514, 63, 14310, 1782, 308, 31, 25083, 202, 1884, 12, 509, 277, 273, 374, 31, 277, 411, 14310, 1782, 31, 277, 9904, 262, 95, 9506, 202, 45, 14836, 2951, 5960, 2951, 273, 5960, 15670, 63, 277, 308, 31, 9506, 202, 780, 589, 273, 5960, 2951, 18, 588, 8176, 1046, 7675, 588, 743, 7675, 10492, 5621, 9506, 202, 27594, 4466, 18, 458, 12, 589, 16, 5960, 2951, 11272, 9506, 202, 2704, 4466, 63, 277, 308, 273, 589, 31, 1082, 202, 97, 25083, 202, 474, 562, 273, 2953, 18, 2469, 31, 1082, 202, 780, 5378, 1906, 1076, 273, 394, 514, 63, 562, 397, 14310, 1782, 308, 31, 1082, 202, 3163, 18, 1126, 3530, 12, 2953, 16, 374, 16, 1906, 1076, 16, 374, 16, 562, 11272, 1082, 202, 3163, 18, 1126, 3530, 12, 394, 4466, 16, 374, 16, 1906, 1076, 16, 562, 16, 14310, 1782, 11272, 1082, 202, 4481, 273, 1906, 1076, 31, 202, 202, 97, 9506, 202, 12726, 18, 3804, 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, 10627, 6869, 12, 514, 5378, 2953, 16, 467, 8241, 6003, 16, 467, 14836, 2951, 8526, 5960, 15670, 262, 95, 202, 202, 14915, 2375, 273, 261, 14915, 480, 446, 13, 692, 6003, 18, 588, 2375, 1435, 294, 446, 31, 9506, 202, 8658, 14310, 4466, 273, 394, 4317, 5621, 202, 202, 474, 14310, 1782, 273, 261, 20478, 15670, 422, 446, 13, 692, 374, 294, 5960, 15670, 18, 2469, 31, 202, 202, 430, 12, 14310, 1782, 405, 374, 262, 95, 1082, 202, 780, 5378, 394, 4466, 273, 394, 514, 63, 14310, 1782, 308, 31, 25083, 202, 1884, 12, 509, 277, 273, 374, 31, 277, 411, 14310, 1782, 31, 277, 9904, 262, 95, 9506, 202, 45, 14836, 2951, 5960, 2 ]
if (1 / x > 0) {
if (1 / x > 0) {
private double js_pow(double x, double y) { if (y == 0) return 1.0; // Java's pow(NaN, 0) = NaN; we need 1 if ((x == 0) && (y < 0)) { if (1 / x > 0) { // x is +0, Java is -oo, we need +oo return Double.POSITIVE_INFINITY; } /* if x is -0 and y is an odd integer, -oo */ int y_int = (int)y; if (y_int == y && (y_int & 0x1) != 0) return Double.NEGATIVE_INFINITY; return Double.POSITIVE_INFINITY; } return Math.pow(x, y); }
7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/b6331020dcf96bb85dae57ee2a2ce947b6b0477a/NativeMath.java/clean/js/rhino/src/org/mozilla/javascript/NativeMath.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1645, 3828, 67, 23509, 12, 9056, 619, 16, 1645, 677, 13, 288, 540, 309, 261, 93, 422, 374, 13, 327, 404, 18, 20, 31, 282, 368, 5110, 1807, 7602, 12, 21172, 16, 374, 13, 273, 10180, 31, 732, 1608, 404, 3639, 309, 14015, 92, 422, 374, 13, 597, 261, 93, 411, 374, 3719, 288, 5411, 309, 261, 21, 342, 619, 405, 374, 13, 288, 1171, 368, 619, 353, 397, 20, 16, 5110, 353, 300, 5161, 16, 732, 1608, 397, 5161, 7734, 327, 3698, 18, 7057, 16325, 67, 17716, 31, 7734, 289, 5411, 1748, 309, 619, 353, 300, 20, 471, 677, 353, 392, 14800, 3571, 16, 300, 5161, 1195, 5411, 509, 677, 67, 474, 273, 261, 474, 13, 93, 31, 5411, 309, 261, 93, 67, 474, 422, 677, 597, 261, 93, 67, 474, 473, 374, 92, 21, 13, 480, 374, 13, 7734, 327, 3698, 18, 5407, 22421, 67, 17716, 31, 5411, 327, 3698, 18, 7057, 16325, 67, 17716, 31, 3639, 289, 3639, 327, 2361, 18, 23509, 12, 92, 16, 677, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3238, 1645, 3828, 67, 23509, 12, 9056, 619, 16, 1645, 677, 13, 288, 540, 309, 261, 93, 422, 374, 13, 327, 404, 18, 20, 31, 282, 368, 5110, 1807, 7602, 12, 21172, 16, 374, 13, 273, 10180, 31, 732, 1608, 404, 3639, 309, 14015, 92, 422, 374, 13, 597, 261, 93, 411, 374, 3719, 288, 5411, 309, 261, 21, 342, 619, 405, 374, 13, 288, 1171, 368, 619, 353, 397, 20, 16, 5110, 353, 300, 5161, 16, 732, 1608, 397, 5161, 7734, 327, 3698, 18, 7057, 16325, 67, 17716, 31, 7734, 289, 5411, 1748, 309, 619, 353, 300, 20, 471, 677, 353, 392, 14800, 3571, 16, 300, 5161, 1195, 5411, 509, 677, 67, 474, 273, 261, 474, 13, 2 ]
&& !isInfantry) {
&& !isInfantry && !prevStep.isHasJustStood()) {
public PilotingRollData checkSkid(int moveType, Hex prevHex, int overallMoveType, MoveStep prevStep, int prevFacing, int curFacing, Coords lastPos, Coords curPos, boolean isInfantry, int distance) { PilotingRollData roll = getBasePilotingRoll(); // TODO: add check for elevation of pavement, road, // or bridge matches entity elevation. if (moveType != Entity.MOVE_JUMP && prevHex != null /* Bug 754610: Revert fix for bug 702735. && ( prevHex.contains(Terrain.PAVEMENT) || prevHex.contains(Terrain.ROAD) || prevHex.contains(Terrain.BRIDGE) ) */ && prevStep.isPavementStep() && overallMoveType == Entity.MOVE_RUN && prevFacing != curFacing && !lastPos.equals(curPos) && !isInfantry) { // append the reason modifier if ( this instanceof Mech ) { roll.append(new PilotingRollData(getId(), getMovementBeforeSkidPSRModifier(distance), "running & turning on pavement")); } else { roll.append(new PilotingRollData(getId(), getMovementBeforeSkidPSRModifier(distance), "reckless driving on pavement")); } } else { roll.addModifier(TargetRoll.CHECK_FALSE,"Check false"); } return roll; }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/7e22557a01fc4f2c0993fb3671a0e27e7e4ac58c/Entity.java/buggy/megamek/src/megamek/common/Entity.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 453, 330, 17128, 24194, 751, 866, 5925, 350, 12, 474, 3635, 559, 16, 15734, 2807, 7037, 16, 4766, 1377, 509, 13914, 7607, 559, 16, 9933, 4160, 2807, 4160, 16, 4766, 1377, 509, 2807, 42, 5330, 16, 509, 662, 42, 5330, 16, 4766, 1377, 10320, 87, 1142, 1616, 16, 10320, 87, 662, 1616, 16, 4766, 1377, 1250, 8048, 74, 304, 698, 16, 509, 3888, 13, 288, 3639, 453, 330, 17128, 24194, 751, 5824, 273, 8297, 52, 330, 17128, 24194, 5621, 3639, 368, 2660, 30, 527, 866, 364, 19051, 434, 293, 842, 820, 16, 721, 361, 16, 3639, 368, 4202, 578, 10105, 1885, 1522, 19051, 18, 3639, 309, 261, 8501, 559, 480, 3887, 18, 16537, 67, 46, 23942, 5411, 597, 2807, 7037, 480, 446, 5411, 1748, 16907, 2371, 6564, 26, 2163, 30, 868, 1097, 2917, 364, 7934, 2371, 3103, 27, 4763, 18, 9079, 597, 261, 2807, 7037, 18, 12298, 12, 56, 264, 7596, 18, 4066, 3412, 3212, 13, 747, 9079, 2807, 7037, 18, 12298, 12, 56, 264, 7596, 18, 1457, 1880, 13, 747, 9079, 2807, 7037, 18, 12298, 12, 56, 264, 7596, 18, 7192, 734, 7113, 13, 262, 5411, 1195, 5411, 597, 2807, 4160, 18, 291, 52, 842, 820, 4160, 1435, 5411, 597, 13914, 7607, 559, 422, 3887, 18, 16537, 67, 15238, 5411, 597, 2807, 42, 5330, 480, 662, 42, 5330, 5411, 597, 401, 2722, 1616, 18, 14963, 12, 1397, 1616, 13, 5411, 597, 401, 291, 13149, 304, 698, 282, 597, 401, 10001, 4160, 18, 291, 5582, 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, 453, 330, 17128, 24194, 751, 866, 5925, 350, 12, 474, 3635, 559, 16, 15734, 2807, 7037, 16, 4766, 1377, 509, 13914, 7607, 559, 16, 9933, 4160, 2807, 4160, 16, 4766, 1377, 509, 2807, 42, 5330, 16, 509, 662, 42, 5330, 16, 4766, 1377, 10320, 87, 1142, 1616, 16, 10320, 87, 662, 1616, 16, 4766, 1377, 1250, 8048, 74, 304, 698, 16, 509, 3888, 13, 288, 3639, 453, 330, 17128, 24194, 751, 5824, 273, 8297, 52, 330, 17128, 24194, 5621, 3639, 368, 2660, 30, 527, 866, 364, 19051, 434, 293, 842, 820, 16, 721, 361, 16, 3639, 368, 4202, 578, 10105, 1885, 1522, 19051, 18, 3639, 309, 261, 8501, 559, 480, 3887, 18, 16537, 67, 46, 23942, 5411, 2 ]
switch ( eDerivedStructuralFeatureID( eFeature ) )
switch ( featureID )
public void eSet( EStructuralFeature eFeature, Object newValue ) { switch ( eDerivedStructuralFeatureID( eFeature ) ) { case AttributePackage.STYLE_MAP__COMPONENT_NAME : setComponentName( (StyledComponent) newValue ); return; case AttributePackage.STYLE_MAP__STYLE : setStyle( (Style) newValue ); return; } eDynamicSet( eFeature, newValue ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/036e8c78765730b146e5854b9d6c397a296fed86/StyleMapImpl.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/impl/StyleMapImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 20199, 12, 512, 14372, 4595, 425, 4595, 16, 1033, 6129, 262, 202, 95, 202, 202, 9610, 261, 425, 21007, 14372, 4595, 734, 12, 425, 4595, 262, 262, 202, 202, 95, 1082, 202, 3593, 3601, 2261, 18, 15066, 67, 8352, 972, 22922, 67, 1985, 294, 9506, 202, 542, 1841, 461, 12, 261, 24273, 1259, 1841, 13, 6129, 11272, 9506, 202, 2463, 31, 1082, 202, 3593, 3601, 2261, 18, 15066, 67, 8352, 972, 15066, 294, 9506, 202, 542, 2885, 12, 261, 2885, 13, 6129, 11272, 9506, 202, 2463, 31, 202, 202, 97, 202, 202, 73, 9791, 694, 12, 425, 4595, 16, 6129, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 20199, 12, 512, 14372, 4595, 425, 4595, 16, 1033, 6129, 262, 202, 95, 202, 202, 9610, 261, 425, 21007, 14372, 4595, 734, 12, 425, 4595, 262, 262, 202, 202, 95, 1082, 202, 3593, 3601, 2261, 18, 15066, 67, 8352, 972, 22922, 67, 1985, 294, 9506, 202, 542, 1841, 461, 12, 261, 24273, 1259, 1841, 13, 6129, 11272, 9506, 202, 2463, 31, 1082, 202, 3593, 3601, 2261, 18, 15066, 67, 8352, 972, 15066, 294, 9506, 202, 542, 2885, 12, 261, 2885, 13, 6129, 11272, 9506, 202, 2463, 31, 202, 202, 97, 202, 202, 73, 9791, 694, 12, 425, 4595, 16, 6129, 11272, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public int getValue() { return (value); }
getValue() { return(value); }
public int getValue() { return (value); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/Scrollbar.java/clean/core/src/classpath/java/java/awt/Scrollbar.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 2366, 1435, 288, 202, 202, 2463, 261, 1132, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2366, 1435, 288, 202, 202, 2463, 261, 1132, 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, -100, -100, -100, -100, -100, -100 ]
return (EReference)labelBlockEClass.getEStructuralFeatures().get(0);
return (EReference) labelBlockEClass.getEStructuralFeatures().get(0);
public EReference getLabelBlock_Label() { return (EReference)labelBlockEClass.getEStructuralFeatures().get(0); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/LayoutPackageImpl.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/layout/impl/LayoutPackageImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 512, 2404, 11237, 1768, 67, 2224, 1435, 565, 288, 3639, 327, 261, 41, 2404, 13, 1433, 1768, 5720, 18, 588, 41, 14372, 8696, 7675, 588, 12, 20, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 512, 2404, 11237, 1768, 67, 2224, 1435, 565, 288, 3639, 327, 261, 41, 2404, 13, 1433, 1768, 5720, 18, 588, 41, 14372, 8696, 7675, 588, 12, 20, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if ( generateBy instanceof LabelItemDesign ) { return ( (LabelItemDesign) generateBy ).getHelpText( ); }
return helpText;
public String getHelpText( ) { if ( helpText == null ) { if ( generateBy instanceof LabelItemDesign ) { return ( (LabelItemDesign) generateBy ).getHelpText( ); } } return null; }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/b811fd826807f2a8956bc9cc187b79dc5aff3c45/LabelContent.java/clean/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/content/impl/LabelContent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 336, 6696, 1528, 12, 262, 202, 95, 202, 202, 430, 261, 2809, 1528, 422, 446, 262, 202, 202, 95, 1082, 202, 430, 261, 2103, 858, 1276, 5287, 1180, 15478, 262, 1082, 202, 95, 9506, 202, 2463, 261, 261, 2224, 1180, 15478, 13, 2103, 858, 262, 18, 588, 6696, 1528, 12, 11272, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 446, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 336, 6696, 1528, 12, 262, 202, 95, 202, 202, 430, 261, 2809, 1528, 422, 446, 262, 202, 202, 95, 1082, 202, 430, 261, 2103, 858, 1276, 5287, 1180, 15478, 262, 1082, 202, 95, 9506, 202, 2463, 261, 261, 2224, 1180, 15478, 13, 2103, 858, 262, 18, 588, 6696, 1528, 12, 11272, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 446, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
out.writeBytes(input);
out.write(input.getBytes("UTF-8"));
void createInput() throws IOException { String path = new File(".", INPUT_FILE).getAbsolutePath();// needed from junit forked vm DataOutputStream out = new DataOutputStream(new FileOutputStream(path)); out.writeBytes(input); out.close(); }
53958 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53958/e10b40e8014547113799b2653164e8c990d41209/TestStreaming.java/clean/src/contrib/streaming/src/test/org/apache/hadoop/streaming/TestStreaming.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 918, 752, 1210, 1435, 1216, 1860, 225, 288, 565, 514, 589, 273, 394, 1387, 2932, 1199, 16, 12943, 67, 3776, 2934, 588, 10368, 743, 5621, 759, 3577, 628, 525, 4873, 12515, 329, 4268, 565, 28680, 596, 273, 394, 28680, 12, 2704, 12942, 12, 803, 10019, 565, 596, 18, 2626, 12, 2630, 18, 588, 2160, 2932, 5159, 17, 28, 7923, 1769, 565, 596, 18, 4412, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 918, 752, 1210, 1435, 1216, 1860, 225, 288, 565, 514, 589, 273, 394, 1387, 2932, 1199, 16, 12943, 67, 3776, 2934, 588, 10368, 743, 5621, 759, 3577, 628, 525, 4873, 12515, 329, 4268, 565, 28680, 596, 273, 394, 28680, 12, 2704, 12942, 12, 803, 10019, 565, 596, 18, 2626, 12, 2630, 18, 588, 2160, 2932, 5159, 17, 28, 7923, 1769, 565, 596, 18, 4412, 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 ]
public void assignmentExpression() throws RecognitionException { try { // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:520:17: ( conditionalExpression ( (ASSIGN|PLUS_ASSIGN|MINUS_ASSIGN|STAR_ASSIGN|DIV_ASSIGN|MOD_ASSIGN|SR_ASSIGN|BSR_ASSIGN|SL_ASSIGN|BAND_ASSIGN|BXOR_ASSIGN|BOR_ASSIGN) assignmentExpression )? ) // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:520:17: conditionalExpression ( (ASSIGN|PLUS_ASSIGN|MINUS_ASSIGN|STAR_ASSIGN|DIV_ASSIGN|MOD_ASSIGN|SR_ASSIGN|BSR_ASSIGN|SL_ASSIGN|BAND_ASSIGN|BXOR_ASSIGN|BOR_ASSIGN) assignmentExpression )? { following.push(FOLLOW_conditionalExpression_in_assignmentExpression1878); conditionalExpression(); following.pop(); // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:521:17: ( (ASSIGN|PLUS_ASSIGN|MINUS_ASSIGN|STAR_ASSIGN|DIV_ASSIGN|MOD_ASSIGN|SR_ASSIGN|BSR_ASSIGN|SL_ASSIGN|BAND_ASSIGN|BXOR_ASSIGN|BOR_ASSIGN) assignmentExpression )? int alt51=2; int LA51_0 = input.LA(1); if ( LA51_0==ASSIGN||(LA51_0>=PLUS_ASSIGN && LA51_0<=BOR_ASSIGN) ) { alt51=1; } else if ( LA51_0==RBRACK||(LA51_0>=SEMI && LA51_0<=COMMA)||LA51_0==RPAREN||LA51_0==COLON ) { alt51=2; } else { NoViableAltException nvae = new NoViableAltException("521:17: ( (ASSIGN|PLUS_ASSIGN|MINUS_ASSIGN|STAR_ASSIGN|DIV_ASSIGN|MOD_ASSIGN|SR_ASSIGN|BSR_ASSIGN|SL_ASSIGN|BAND_ASSIGN|BXOR_ASSIGN|BOR_ASSIGN) assignmentExpression )?", 51, 0, input); throw nvae; } switch (alt51) { case 1 : // /Users/bob/Documents/workspace/jbossrules/drools-compiler/src/main/java/org/drools/semantics/java/parser/java.g:521:25: (ASSIGN|PLUS_ASSIGN|MINUS_ASSIGN|STAR_ASSIGN|DIV_ASSIGN|MOD_ASSIGN|SR_ASSIGN|BSR_ASSIGN|SL_ASSIGN|BAND_ASSIGN|BXOR_ASSIGN|BOR_ASSIGN) assignmentExpression { if ( input.LA(1)==ASSIGN||(input.LA(1)>=PLUS_ASSIGN && input.LA(1)<=BOR_ASSIGN) ) { input.consume(); errorRecovery=false; } else { MismatchedSetException mse = new MismatchedSetException(null,input); recoverFromMismatchedSet(input,mse,FOLLOW_set_in_assignmentExpression1886); throw mse; } following.push(FOLLOW_assignmentExpression_in_assignmentExpression2103); assignmentExpression(); following.pop(); } break; } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } }
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/024138fd0e08f5f4cd91a30959fe962d30fec435/JavaParser.java/clean/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 12960, 2300, 1435, 15069, 5650, 7909, 503, 95, 698, 95, 28111, 6588, 19, 70, 947, 19, 12922, 19, 14915, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 6290, 19, 3341, 19, 12215, 19, 18756, 19, 6290, 19, 4288, 19, 6290, 18, 75, 30, 25, 3462, 30, 4033, 30, 12, 22019, 2300, 12443, 23289, 96, 6253, 3378, 67, 23289, 96, 6236, 3378, 67, 23289, 96, 20943, 67, 23289, 96, 31901, 67, 23289, 96, 6720, 67, 23289, 96, 10090, 67, 23289, 96, 38, 10090, 67, 23289, 96, 4559, 67, 23289, 96, 38, 4307, 67, 23289, 96, 38, 60, 916, 67, 23289, 96, 38, 916, 67, 23289, 13, 12960, 2300, 13, 8535, 28111, 6588, 19, 70, 947, 19, 12922, 19, 14915, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 6290, 19, 3341, 19, 12215, 19, 18756, 19, 6290, 19, 4288, 19, 6290, 18, 75, 30, 25, 3462, 30, 4033, 30, 22019, 2300, 12443, 23289, 96, 6253, 3378, 67, 23289, 96, 6236, 3378, 67, 23289, 96, 20943, 67, 23289, 96, 31901, 67, 23289, 96, 6720, 67, 23289, 96, 10090, 67, 23289, 96, 38, 10090, 67, 23289, 96, 4559, 67, 23289, 96, 38, 4307, 67, 23289, 96, 38, 60, 916, 67, 23289, 96, 38, 916, 67, 23289, 13, 12960, 2300, 9945, 95, 14641, 310, 18, 6206, 12, 29890, 67, 22019, 2300, 67, 267, 67, 12960, 2300, 2643, 8285, 1769, 22019, 2300, 5621, 14641, 310, 18, 5120, 5621, 28111, 6588, 19, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 12960, 2300, 1435, 15069, 5650, 7909, 503, 95, 698, 95, 28111, 6588, 19, 70, 947, 19, 12922, 19, 14915, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 6290, 19, 3341, 19, 12215, 19, 18756, 19, 6290, 19, 4288, 19, 6290, 18, 75, 30, 25, 3462, 30, 4033, 30, 12, 22019, 2300, 12443, 23289, 96, 6253, 3378, 67, 23289, 96, 6236, 3378, 67, 23289, 96, 20943, 67, 23289, 96, 31901, 67, 23289, 96, 6720, 67, 23289, 96, 10090, 67, 23289, 96, 38, 10090, 67, 23289, 96, 4559, 67, 23289, 96, 38, 4307, 67, 23289, 96, 38, 60, 916, 67, 23289, 96, 38, 916, 67, 23289, 13, 12960, 2300, 13, 8535, 28111, 6588, 19, 2 ]
public void mEOL() throws RecognitionException { int EOL_StartIndex = input.index(); try { int type = EOL; int start = getCharIndex(); int line = getLine(); int charPosition = getCharPositionInLine(); int channel = Token.DEFAULT_CHANNEL; if ( backtracking>0 && alreadyParsedRule(input, 45) ) { return ; } // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:900:17: ( ( ( '\r\n' )=> '\r\n' | '\r' | '\n' ) ) // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:900:17: ( ( '\r\n' )=> '\r\n' | '\r' | '\n' ) { // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:900:17: ( ( '\r\n' )=> '\r\n' | '\r' | '\n' ) int alt2=3; int LA2_0 = input.LA(1); if ( LA2_0=='\r' ) { int LA2_1 = input.LA(2); if ( LA2_1=='\n' ) { alt2=1; } else { alt2=2;} } else if ( LA2_0=='\n' ) { alt2=3; } else { if (backtracking>0) {failed=true; return ;} NoViableAltException nvae = new NoViableAltException("900:17: ( ( \'\\r\\n\' )=> \'\\r\\n\' | \'\\r\' | \'\\n\' )", 2, 0, input); throw nvae; } switch (alt2) { case 1 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:900:25: ( '\r\n' )=> '\r\n' { match("\r\n"); if (failed) return ; } break; case 2 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:901:25: '\r' { match('\r'); if (failed) return ; } break; case 3 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:902:25: '\n' { match('\n'); if (failed) return ; } break; } } if ( token==null ) {emit(type,line,charPosition,channel,start,getCharIndex()-1);} } finally { if ( backtracking>0 ) { memoize(input, 45, EOL_StartIndex); } } }
5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/bf3305a89ef5e916acbab744c38aaaec83bf67ff/RuleParserLexer.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParserLexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 312, 5842, 1435, 1216, 9539, 288, 3639, 509, 19995, 67, 16792, 273, 810, 18, 1615, 5621, 3639, 775, 288, 5411, 509, 618, 273, 19995, 31, 5411, 509, 787, 273, 23577, 1016, 5621, 5411, 509, 980, 273, 9851, 5621, 5411, 509, 1149, 2555, 273, 23577, 2555, 382, 1670, 5621, 5411, 509, 1904, 273, 3155, 18, 5280, 67, 15814, 31, 5411, 309, 261, 6888, 34, 20, 597, 1818, 11257, 2175, 12, 2630, 16, 12292, 13, 262, 288, 327, 274, 289, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 17, 2704, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 29, 713, 30, 4033, 30, 261, 261, 261, 2337, 86, 64, 82, 11, 13216, 2337, 86, 64, 82, 11, 571, 2337, 86, 11, 571, 2337, 82, 11, 262, 262, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 17, 2704, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 29, 713, 30, 4033, 30, 261, 261, 2337, 86, 64, 82, 11, 13216, 2337, 86, 64, 82, 11, 571, 2337, 86, 11, 571, 2337, 82, 11, 262, 5411, 288, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 17, 2704, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 29, 713, 30, 4033, 30, 261, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 312, 5842, 1435, 1216, 9539, 288, 3639, 509, 19995, 67, 16792, 273, 810, 18, 1615, 5621, 3639, 775, 288, 5411, 509, 618, 273, 19995, 31, 5411, 509, 787, 273, 23577, 1016, 5621, 5411, 509, 980, 273, 9851, 5621, 5411, 509, 1149, 2555, 273, 23577, 2555, 382, 1670, 5621, 5411, 509, 1904, 273, 3155, 18, 5280, 67, 15814, 31, 5411, 309, 261, 6888, 34, 20, 597, 1818, 11257, 2175, 12, 2630, 16, 12292, 13, 262, 288, 327, 274, 289, 5411, 368, 385, 5581, 15298, 64, 10649, 8464, 17, 7482, 17, 2704, 64, 12215, 17, 9576, 64, 4816, 64, 5254, 64, 4683, 64, 3341, 64, 12215, 64, 4936, 64, 72, 1321, 18, 75, 30, 29, 713, 30, 4033, 2 ]
log.error("GroupRequestPull.receive(): header type of " + hdr.type + " not known");
System.err.println("GroupRequestPull.receive(): header type of " + hdr.type + " not known");
public void receive(Message msg) { MyHeader hdr=(MyHeader)msg.removeHeader(HDRNAME); Message rsp; if(hdr == null) { log.error("GroupRequestPull.receive(): header for " + HDRNAME + " was null"); return; } if(hdr.type == MyHeader.RESPONSE) { if(group_req != null) group_req.receiveResponse(msg); } else if(hdr.type == MyHeader.REQUEST) { // System.out.println("-- received REQUEST from " + msg.getSrc()); rsp=new Message(msg.getSrc(), null, null); rsp.putHeader(HDRNAME, new MyHeader(MyHeader.RESPONSE)); rsp.setObject("Hello from member " + ch.getLocalAddress()); try { adapter.send(rsp); } catch(Exception ex) { log.error("GroupRequestPull.receive(): failure sending response: " + ex); } } else { log.error("GroupRequestPull.receive(): header type of " + hdr.type + " not known"); } }
3550 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3550/5ad015d9a78e1da3350d9b398b46b2f5d4508564/GroupRequestPull.java/clean/tests/other/org/jgroups/tests/GroupRequestPull.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 6798, 12, 1079, 1234, 13, 288, 3639, 8005, 1864, 7723, 28657, 12062, 1864, 13, 3576, 18, 4479, 1864, 12, 44, 6331, 1985, 1769, 3639, 2350, 225, 12049, 31, 3639, 309, 12, 16587, 422, 446, 13, 288, 5411, 613, 18, 1636, 2932, 15382, 9629, 18, 18149, 13332, 1446, 364, 315, 397, 670, 6331, 1985, 397, 315, 1703, 446, 8863, 5411, 327, 31, 3639, 289, 3639, 309, 12, 16587, 18, 723, 422, 8005, 1864, 18, 14508, 13, 288, 5411, 309, 12, 1655, 67, 3658, 480, 446, 13, 7734, 1041, 67, 3658, 18, 18149, 1064, 12, 3576, 1769, 3639, 289, 3639, 469, 309, 12, 16587, 18, 723, 422, 8005, 1864, 18, 5519, 13, 288, 5411, 368, 2332, 18, 659, 18, 8222, 2932, 413, 5079, 12492, 628, 315, 397, 1234, 18, 588, 7740, 10663, 5411, 12049, 33, 2704, 2350, 12, 3576, 18, 588, 7740, 9334, 446, 16, 446, 1769, 5411, 12049, 18, 458, 1864, 12, 44, 6331, 1985, 16, 394, 8005, 1864, 12, 12062, 1864, 18, 14508, 10019, 5411, 12049, 18, 542, 921, 2932, 18601, 628, 3140, 315, 397, 462, 18, 588, 2042, 1887, 10663, 5411, 775, 288, 7734, 4516, 18, 4661, 12, 86, 1752, 1769, 5411, 289, 5411, 1044, 12, 503, 431, 13, 288, 7734, 613, 18, 1636, 2932, 15382, 9629, 18, 18149, 13332, 5166, 5431, 766, 30, 315, 397, 431, 1769, 5411, 289, 3639, 289, 3639, 469, 288, 5411, 2332, 18, 370, 18, 8222, 2932, 15382, 9629, 18, 18149, 13332, 1446, 618, 434, 315, 397, 7723, 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, 6798, 12, 1079, 1234, 13, 288, 3639, 8005, 1864, 7723, 28657, 12062, 1864, 13, 3576, 18, 4479, 1864, 12, 44, 6331, 1985, 1769, 3639, 2350, 225, 12049, 31, 3639, 309, 12, 16587, 422, 446, 13, 288, 5411, 613, 18, 1636, 2932, 15382, 9629, 18, 18149, 13332, 1446, 364, 315, 397, 670, 6331, 1985, 397, 315, 1703, 446, 8863, 5411, 327, 31, 3639, 289, 3639, 309, 12, 16587, 18, 723, 422, 8005, 1864, 18, 14508, 13, 288, 5411, 309, 12, 1655, 67, 3658, 480, 446, 13, 7734, 1041, 67, 3658, 18, 18149, 1064, 12, 3576, 1769, 3639, 289, 3639, 469, 309, 12, 16587, 18, 723, 422, 8005, 1864, 18, 5519, 13, 288, 5411, 368, 2332, 18, 659, 2 ]
RubyNumeric other = numericValue(num); if (other instanceof RubyFloat) { return RubyFloat.newFloat(getRuntime(), getDoubleValue()).op_mul(other); } return bigNorm(getRuntime(), getValue().multiply(bigIntValue(other)));
return numericValue(num).multiplyWith(this);
public RubyNumeric op_mul(IRubyObject num) { RubyNumeric other = numericValue(num); if (other instanceof RubyFloat) { return RubyFloat.newFloat(getRuntime(), getDoubleValue()).op_mul(other); } return bigNorm(getRuntime(), getValue().multiply(bigIntValue(other))); }
47984 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47984/a25fc494ea7daeb4b5b479e0173372332cf7d4ac/RubyBignum.java/buggy/src/org/jruby/RubyBignum.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 9902, 1061, 67, 16411, 12, 7937, 10340, 921, 818, 13, 288, 3639, 19817, 9902, 1308, 273, 6389, 620, 12, 2107, 1769, 3639, 309, 261, 3011, 1276, 19817, 4723, 13, 288, 5411, 327, 19817, 4723, 18, 2704, 4723, 12, 588, 5576, 9334, 16097, 620, 1435, 2934, 556, 67, 16411, 12, 3011, 1769, 3639, 289, 3639, 327, 5446, 14624, 12, 588, 5576, 9334, 2366, 7675, 7027, 1283, 12, 14002, 1702, 620, 12, 3011, 3719, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 9902, 1061, 67, 16411, 12, 7937, 10340, 921, 818, 13, 288, 3639, 19817, 9902, 1308, 273, 6389, 620, 12, 2107, 1769, 3639, 309, 261, 3011, 1276, 19817, 4723, 13, 288, 5411, 327, 19817, 4723, 18, 2704, 4723, 12, 588, 5576, 9334, 16097, 620, 1435, 2934, 556, 67, 16411, 12, 3011, 1769, 3639, 289, 3639, 327, 5446, 14624, 12, 588, 5576, 9334, 2366, 7675, 7027, 1283, 12, 14002, 1702, 620, 12, 3011, 3719, 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 ]
throw new RuntimeException("ERROR: Tempfile creation succeded although language is trusted!");
throw new RuntimeException( "ERROR: Tempfile creation succeded although language is trusted!");
private void tryCreateTempFile(boolean trusted) throws SQLException { Statement stmt = m_connection.createStatement(); ResultSet rs = null; try { if(trusted) rs = stmt.executeQuery("SELECT create_temp_file_trusted()"); else rs = stmt.executeQuery("SELECT create_temp_file_untrusted()"); if(!rs.next()) System.out.println("Unable to position ResultSet"); else System.out.println("Name of created temp file = " + rs.getString(1)); if(trusted) throw new RuntimeException("ERROR: Tempfile creation succeded although language is trusted!"); } catch(SQLException e) { if(!trusted) throw e; System.out.println("OK, creation of temp file was *unsuccessful* as it should be"); } finally { if(rs != null) { try { rs.close(); } catch(SQLException e) {} rs = null; } stmt.close(); } }
1170 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1170/efa76a6b7645e410731c10cec532ef6e6ea9f3f1/Tester.java/buggy/src/java/test/org/postgresql/pljava/test/Tester.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 775, 1684, 20181, 12, 6494, 13179, 13, 202, 15069, 6483, 202, 95, 202, 202, 3406, 3480, 273, 312, 67, 4071, 18, 2640, 3406, 5621, 202, 202, 13198, 3597, 273, 446, 31, 202, 202, 698, 202, 202, 95, 1082, 202, 430, 12, 25247, 13, 9506, 202, 5453, 273, 3480, 18, 8837, 1138, 2932, 4803, 752, 67, 5814, 67, 768, 67, 25247, 1435, 8863, 1082, 202, 12107, 9506, 202, 5453, 273, 3480, 18, 8837, 1138, 2932, 4803, 752, 67, 5814, 67, 768, 67, 318, 25247, 1435, 8863, 1082, 202, 430, 12, 5, 5453, 18, 4285, 10756, 9506, 202, 3163, 18, 659, 18, 8222, 2932, 3370, 358, 1754, 10842, 8863, 1082, 202, 12107, 9506, 202, 3163, 18, 659, 18, 8222, 2932, 461, 434, 2522, 1906, 585, 273, 315, 397, 3597, 18, 588, 780, 12, 21, 10019, 1082, 202, 430, 12, 25247, 13, 9506, 202, 12849, 394, 3235, 2932, 3589, 30, 16380, 768, 6710, 8667, 311, 785, 26347, 2653, 353, 13179, 4442, 1769, 202, 202, 97, 202, 202, 14683, 12, 23116, 425, 13, 202, 202, 95, 1082, 202, 430, 12, 5, 25247, 13, 9506, 202, 12849, 425, 31, 1082, 202, 3163, 18, 659, 18, 8222, 2932, 3141, 16, 6710, 434, 1906, 585, 1703, 380, 318, 18418, 14, 487, 518, 1410, 506, 8863, 202, 202, 97, 202, 202, 23417, 202, 202, 95, 1082, 202, 430, 12, 5453, 480, 446, 13, 1082, 202, 95, 9506, 202, 698, 288, 3597, 18, 4412, 5621, 289, 1044, 12, 23116, 425, 13, 2618, 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, 775, 1684, 20181, 12, 6494, 13179, 13, 202, 15069, 6483, 202, 95, 202, 202, 3406, 3480, 273, 312, 67, 4071, 18, 2640, 3406, 5621, 202, 202, 13198, 3597, 273, 446, 31, 202, 202, 698, 202, 202, 95, 1082, 202, 430, 12, 25247, 13, 9506, 202, 5453, 273, 3480, 18, 8837, 1138, 2932, 4803, 752, 67, 5814, 67, 768, 67, 25247, 1435, 8863, 1082, 202, 12107, 9506, 202, 5453, 273, 3480, 18, 8837, 1138, 2932, 4803, 752, 67, 5814, 67, 768, 67, 318, 25247, 1435, 8863, 1082, 202, 430, 12, 5, 5453, 18, 4285, 10756, 9506, 202, 3163, 18, 659, 18, 8222, 2932, 3370, 358, 1754, 10842, 8863, 1082, 202, 12107, 9506, 202, 3163, 18, 659, 2 ]
if (withoutUnicodePtr != 0) { withoutUnicodeBuffer[++withoutUnicodePtr] = currentCharacter;
if (this.withoutUnicodePtr != 0) { this.withoutUnicodeBuffer[++this.withoutUnicodePtr] = this.currentCharacter;
public int scanNumber(boolean dotPrefix) throws InvalidInputException { //when entering this method the currentCharacter is the first //digit of the number. It may be preceeded by a '.' when //dotPrefix is true boolean floating = dotPrefix; if ((!dotPrefix) && (currentCharacter == '0')) { if (getNextChar('x', 'X') >= 0) { //----------hexa----------------- //force the first char of the hexa number do exist... // consume next character unicodeAsBackSlash = false; if (((currentCharacter = source[currentPosition++]) == '\\') && (source[currentPosition] == 'u')) { getNextUnicodeChar(); } else { if (withoutUnicodePtr != 0) { withoutUnicodeBuffer[++withoutUnicodePtr] = currentCharacter; } } if (Character.digit(currentCharacter, 16) == -1) throw new InvalidInputException(INVALID_HEXA); //---end forcing-- while (getNextCharAsDigit(16)); if (getNextChar('l', 'L') >= 0) return TokenNameLongLiteral; else return TokenNameIntegerLiteral; } //there is x or X in the number //potential octal ! ... some one may write 000099.0 ! thus 00100 < 00078.0 is true !!!!! crazy language if (getNextCharAsDigit()) { //-------------potential octal----------------- while (getNextCharAsDigit()); if (getNextChar('l', 'L') >= 0) { return TokenNameLongLiteral; } if (getNextChar('f', 'F') >= 0) { return TokenNameFloatingPointLiteral; } if (getNextChar('d', 'D') >= 0) { return TokenNameDoubleLiteral; } else { //make the distinction between octal and float .... boolean isInteger = true; if (getNextChar('.')) { isInteger = false; while (getNextCharAsDigit()); } if (getNextChar('e', 'E') >= 0) { // consume next character isInteger = false; unicodeAsBackSlash = false; if (((currentCharacter = source[currentPosition++]) == '\\') && (source[currentPosition] == 'u')) { getNextUnicodeChar(); } else { if (withoutUnicodePtr != 0) { withoutUnicodeBuffer[++withoutUnicodePtr] = currentCharacter; } } if ((currentCharacter == '-') || (currentCharacter == '+')) { // consume next character unicodeAsBackSlash = false; if (((currentCharacter = source[currentPosition++]) == '\\') && (source[currentPosition] == 'u')) { getNextUnicodeChar(); } else { if (withoutUnicodePtr != 0) { withoutUnicodeBuffer[++withoutUnicodePtr] = currentCharacter; } } } if (!Character.isDigit(currentCharacter)) throw new InvalidInputException(INVALID_FLOAT); while (getNextCharAsDigit()); } if (getNextChar('f', 'F') >= 0) return TokenNameFloatingPointLiteral; if (getNextChar('d', 'D') >= 0 || !isInteger) return TokenNameDoubleLiteral; return TokenNameIntegerLiteral; } } else { /* carry on */ } } while (getNextCharAsDigit()); if ((!dotPrefix) && (getNextChar('l', 'L') >= 0)) return TokenNameLongLiteral; if ((!dotPrefix) && (getNextChar('.'))) { //decimal part that can be empty while (getNextCharAsDigit()); floating = true; } //if floating is true both exponant and suffix may be optional if (getNextChar('e', 'E') >= 0) { floating = true; // consume next character unicodeAsBackSlash = false; if (((currentCharacter = source[currentPosition++]) == '\\') && (source[currentPosition] == 'u')) { getNextUnicodeChar(); } else { if (withoutUnicodePtr != 0) { withoutUnicodeBuffer[++withoutUnicodePtr] = currentCharacter; } } if ((currentCharacter == '-') || (currentCharacter == '+')) { // consume next character unicodeAsBackSlash = false; if (((currentCharacter = source[currentPosition++]) == '\\') && (source[currentPosition] == 'u')) { getNextUnicodeChar(); } else { if (withoutUnicodePtr != 0) { withoutUnicodeBuffer[++withoutUnicodePtr] = currentCharacter; } } } if (!Character.isDigit(currentCharacter)) throw new InvalidInputException(INVALID_FLOAT); while (getNextCharAsDigit()); } if (getNextChar('d', 'D') >= 0) return TokenNameDoubleLiteral; if (getNextChar('f', 'F') >= 0) return TokenNameFloatingPointLiteral; //the long flag has been tested before return floating ? TokenNameDoubleLiteral : TokenNameIntegerLiteral;}
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/bd0b42da240c9e3160dab0f23f741fededbd0813/Scanner.java/clean/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Scanner.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 509, 4135, 1854, 12, 6494, 3928, 2244, 13, 1216, 31989, 288, 202, 759, 13723, 19014, 333, 707, 326, 783, 7069, 353, 326, 1122, 202, 759, 11052, 434, 326, 1300, 18, 2597, 2026, 506, 675, 5816, 635, 279, 2611, 1347, 202, 759, 9811, 2244, 353, 638, 202, 6494, 13861, 273, 3928, 2244, 31, 202, 430, 14015, 5, 9811, 2244, 13, 597, 261, 2972, 7069, 422, 296, 20, 26112, 288, 202, 202, 430, 261, 588, 2134, 2156, 2668, 92, 2187, 296, 60, 6134, 1545, 374, 13, 288, 368, 15392, 7118, 69, 1271, 17, 1082, 202, 759, 5734, 326, 1122, 1149, 434, 326, 3827, 69, 1300, 741, 1005, 2777, 1082, 202, 759, 7865, 1024, 3351, 1082, 202, 9124, 1463, 2711, 11033, 273, 629, 31, 1082, 202, 430, 261, 12443, 2972, 7069, 273, 1084, 63, 2972, 2555, 9904, 5717, 422, 5282, 13, 9506, 202, 10, 10, 261, 3168, 63, 2972, 2555, 65, 422, 296, 89, 26112, 288, 9506, 202, 588, 2134, 16532, 2156, 5621, 1082, 202, 97, 469, 288, 9506, 202, 430, 261, 13299, 16532, 5263, 480, 374, 13, 288, 6862, 202, 13299, 16532, 1892, 63, 9904, 13299, 16532, 5263, 65, 273, 783, 7069, 31, 9506, 202, 97, 1082, 202, 97, 1082, 202, 430, 261, 7069, 18, 11052, 12, 2972, 7069, 16, 2872, 13, 422, 300, 21, 13, 9506, 202, 12849, 394, 31989, 12, 9347, 67, 20661, 37, 1769, 1082, 202, 759, 6062, 409, 364, 2822, 413, 1082, 202, 17523, 261, 588, 2134, 2156, 1463, 10907, 12, 2313, 10019, 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, 1071, 509, 4135, 1854, 12, 6494, 3928, 2244, 13, 1216, 31989, 288, 202, 759, 13723, 19014, 333, 707, 326, 783, 7069, 353, 326, 1122, 202, 759, 11052, 434, 326, 1300, 18, 2597, 2026, 506, 675, 5816, 635, 279, 2611, 1347, 202, 759, 9811, 2244, 353, 638, 202, 6494, 13861, 273, 3928, 2244, 31, 202, 430, 14015, 5, 9811, 2244, 13, 597, 261, 2972, 7069, 422, 296, 20, 26112, 288, 202, 202, 430, 261, 588, 2134, 2156, 2668, 92, 2187, 296, 60, 6134, 1545, 374, 13, 288, 368, 15392, 7118, 69, 1271, 17, 1082, 202, 759, 5734, 326, 1122, 1149, 434, 326, 3827, 69, 1300, 741, 1005, 2777, 1082, 202, 759, 7865, 1024, 3351, 1082, 202, 9124, 1463, 2711, 11033, 2 ]
jj_la1[88] = jj_gen;
jj_la1[100] = jj_gen;
final public void StatementExpression() throws ParseException { /*@bgen(jjtree) StatementExpression */ ASTStatementExpression jjtn000 = new ASTStatementExpression(this, JJTSTATEMENTEXPRESSION); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case INCR: PreIncrementExpression(); break; case DECR: PreDecrementExpression(); break; default: jj_la1[89] = jj_gen; if (jj_2_38(2147483647)) { PostfixExpression(); } else { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case BOOLEAN: case BYTE: case CHAR: case DOUBLE: case FALSE: case FLOAT: case INT: case LONG: case NEW: case NULL: case SHORT: case SUPER: case THIS: case TRUE: case VOID: case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case CHARACTER_LITERAL: case STRING_LITERAL: case IDENTIFIER: case LPAREN: PrimaryExpression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case ASSIGN: case PLUSASSIGN: case MINUSASSIGN: case STARASSIGN: case SLASHASSIGN: case ANDASSIGN: case ORASSIGN: case XORASSIGN: case REMASSIGN: case LSHIFTASSIGN: case RSIGNEDSHIFTASSIGN: case RUNSIGNEDSHIFTASSIGN: AssignmentOperator(); Expression(); break; default: jj_la1[88] = jj_gen; ; } break; default: jj_la1[90] = jj_gen; jj_consume_token(-1); throw new ParseException(); } } } } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte000;} } if (jjte000 instanceof ParseException) { {if (true) throw (ParseException)jjte000;} } {if (true) throw (RuntimeException)jjte000;} } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } }
45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/1d8de6b34ea0ddb64fc94b478c0950c0d35de605/JavaParser.java/clean/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 918, 8056, 2300, 1435, 1216, 10616, 288, 1748, 36, 70, 4507, 12, 78, 78, 3413, 13, 8056, 2300, 1195, 225, 9183, 3406, 2300, 10684, 5088, 3784, 273, 394, 9183, 3406, 2300, 12, 2211, 16, 804, 46, 56, 7998, 16196, 13439, 14227, 1769, 225, 1250, 10684, 5111, 3784, 273, 638, 31, 225, 10684, 3413, 18, 3190, 907, 3876, 12, 78, 78, 5088, 3784, 1769, 565, 775, 288, 1377, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 1377, 648, 2120, 5093, 30, 3639, 2962, 10798, 2300, 5621, 3639, 898, 31, 1377, 648, 2030, 5093, 30, 3639, 2962, 23326, 475, 2300, 5621, 3639, 898, 31, 1377, 805, 30, 3639, 10684, 67, 11821, 21, 63, 6675, 65, 273, 10684, 67, 4507, 31, 3639, 309, 261, 78, 78, 67, 22, 67, 7414, 12, 22, 3461, 30623, 30792, 3719, 288, 1850, 5616, 904, 2300, 5621, 3639, 289, 469, 288, 1850, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 1850, 648, 18993, 30, 1850, 648, 20660, 30, 1850, 648, 12090, 30, 1850, 648, 14918, 30, 1850, 648, 4934, 30, 1850, 648, 15483, 30, 1850, 648, 6137, 30, 1850, 648, 14011, 30, 1850, 648, 12887, 30, 1850, 648, 3206, 30, 1850, 648, 20079, 30, 1850, 648, 16459, 654, 30, 1850, 648, 20676, 30, 1850, 648, 5383, 30, 1850, 648, 27085, 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, 727, 1071, 918, 8056, 2300, 1435, 1216, 10616, 288, 1748, 36, 70, 4507, 12, 78, 78, 3413, 13, 8056, 2300, 1195, 225, 9183, 3406, 2300, 10684, 5088, 3784, 273, 394, 9183, 3406, 2300, 12, 2211, 16, 804, 46, 56, 7998, 16196, 13439, 14227, 1769, 225, 1250, 10684, 5111, 3784, 273, 638, 31, 225, 10684, 3413, 18, 3190, 907, 3876, 12, 78, 78, 5088, 3784, 1769, 565, 775, 288, 1377, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 1377, 648, 2120, 5093, 30, 3639, 2962, 10798, 2300, 5621, 3639, 898, 31, 1377, 648, 2030, 5093, 30, 3639, 2962, 23326, 475, 2300, 5621, 3639, 2 ]
Collection expressions = queries[0].getBeforeExpressions( ); for ( Iterator iter = expressions.iterator( ); iter.hasNext( ); ) { rowSet.evaluate( (IBaseExpression) iter.next( ) ); } expressions = queries[0].getRowExpressions( );
Map expressions = queries[0].getResultSetExpressions( );
public void onRowSets( IRowSet[] rowSets ) throws BirtException { String javaHandlerClass = handle.getEventHandlerClass( ); if ( javaHandlerClass != null && javaHandlerClass.length( ) > 0 ) { // use java handler if available. cm.setScript( javaHandlerClass ); } // prepare the chart model. rtc = Generator.instance( ).prepare( cm, new BIRTExternalContext( context ), new BIRTScriptClassLoader( ), ULocale.getDefault( ) ); // check if ( rowSets == null || rowSets.length != 1 || rowSets[0] == null || queries == null || queries[0] == null ) { // if the Data rows are null/empty, do nothing. return; } // Evaluate the expressions so that they are registered by the DtE // in the Report // Document IRowSet rowSet = rowSets[0]; Collection expressions = queries[0].getBeforeExpressions( ); for ( Iterator iter = expressions.iterator( ); iter.hasNext( ); ) { rowSet.evaluate( (IBaseExpression) iter.next( ) ); } expressions = queries[0].getRowExpressions( ); while ( rowSet.next( ) ) { for ( Iterator iter = expressions.iterator( ); iter.hasNext( ); ) { rowSet.evaluate( (IBaseExpression) iter.next( ) ); } } expressions = queries[0].getAfterExpressions( ); for ( Iterator iter = expressions.iterator( ); iter.hasNext( ); ) { rowSet.evaluate( (IBaseExpression) iter.next( ) ); } }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/02ca210ca6fe38f1a3c6759e50c786f556d5bec9/ChartReportItemGenerationImpl.java/clean/chart/org.eclipse.birt.chart.reportitem/src/org/eclipse/birt/chart/reportitem/ChartReportItemGenerationImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 603, 1999, 2785, 12, 467, 1999, 694, 8526, 1027, 2785, 262, 1216, 605, 2714, 503, 202, 95, 202, 202, 780, 2252, 1503, 797, 273, 1640, 18, 588, 16402, 797, 12, 11272, 202, 202, 430, 261, 2252, 1503, 797, 480, 446, 597, 2252, 1503, 797, 18, 2469, 12, 262, 405, 374, 262, 202, 202, 95, 1082, 202, 759, 999, 2252, 1838, 309, 2319, 18, 1082, 202, 7670, 18, 542, 3651, 12, 2252, 1503, 797, 11272, 202, 202, 97, 202, 202, 759, 2911, 326, 4980, 938, 18, 202, 202, 3797, 71, 273, 10159, 18, 1336, 12, 262, 18, 9366, 12, 5003, 16, 9506, 202, 2704, 605, 7937, 56, 6841, 1042, 12, 819, 262, 16, 9506, 202, 2704, 605, 7937, 56, 3651, 7805, 12, 262, 16, 9506, 202, 57, 3916, 18, 588, 1868, 12, 262, 11272, 202, 202, 759, 866, 202, 202, 430, 261, 1027, 2785, 422, 446, 9506, 202, 20081, 1027, 2785, 18, 2469, 480, 404, 9506, 202, 20081, 1027, 2785, 63, 20, 65, 422, 446, 9506, 202, 20081, 6218, 422, 446, 9506, 202, 20081, 6218, 63, 20, 65, 422, 446, 262, 202, 202, 95, 1082, 202, 759, 309, 326, 1910, 2595, 854, 446, 19, 5531, 16, 741, 5083, 18, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 759, 18176, 326, 8041, 1427, 716, 2898, 854, 4104, 635, 326, 463, 88, 41, 202, 202, 759, 316, 326, 8706, 202, 202, 759, 4319, 202, 202, 45, 1999, 694, 1027, 694, 273, 1027, 2785, 63, 20, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 603, 1999, 2785, 12, 467, 1999, 694, 8526, 1027, 2785, 262, 1216, 605, 2714, 503, 202, 95, 202, 202, 780, 2252, 1503, 797, 273, 1640, 18, 588, 16402, 797, 12, 11272, 202, 202, 430, 261, 2252, 1503, 797, 480, 446, 597, 2252, 1503, 797, 18, 2469, 12, 262, 405, 374, 262, 202, 202, 95, 1082, 202, 759, 999, 2252, 1838, 309, 2319, 18, 1082, 202, 7670, 18, 542, 3651, 12, 2252, 1503, 797, 11272, 202, 202, 97, 202, 202, 759, 2911, 326, 4980, 938, 18, 202, 202, 3797, 71, 273, 10159, 18, 1336, 12, 262, 18, 9366, 12, 5003, 16, 9506, 202, 2704, 605, 7937, 56, 6841, 1042, 12, 819, 262, 16, 9506, 202, 2704, 2 ]
new Object[] { adapter.getLabel(parent)}); Job job = new Job(jobName) { public IStatus run(IProgressMonitor monitor) { adapter.fetchDeferredChildren(parent, collector, monitor); return Status.OK_STATUS; }
new Object[] { adapter.getLabel(parent)}); Job job = new Job(jobName) { public IStatus run(IProgressMonitor monitor) { adapter.fetchDeferredChildren(parent, collector, monitor); return Status.OK_STATUS; }
private void startFetchingDeferredChildren( final Object parent, final IDeferredWorkbenchAdapter adapter, final PendingUpdateAdapter placeholder) { final IElementCollector collector = new IElementCollector() { public void add(Object element, IProgressMonitor monitor) { add(new Object[] { element }, monitor); } public void add(Object[] elements, IProgressMonitor monitor) { addChildren(parent, elements, placeholder, monitor); } /* (non-Javadoc) * @see org.eclipse.jface.progress.IElementCollector#done() */ public void done() { runClearPlaceholderJob(placeholder); } }; // Cancel any jobs currently fetching children for the same parent instance. Platform.getJobManager().cancel(parent); String jobName = ProgressMessages.format("DeferredTreeContentManager.FetchingName", //$NON-NLS-1$ new Object[] { adapter.getLabel(parent)}); Job job = new Job(jobName) { public IStatus run(IProgressMonitor monitor) { adapter.fetchDeferredChildren(parent, collector, monitor); return Status.OK_STATUS; } /** * Check if the object is equal to parent or one * of parents children so that the job can be cancelled * if the parent is refreshed. */ public boolean belongsTo(Object family) { return isParent(family, parent); } /** * Check if the parent of element is equal to the * parent used in this job. * @return boolean */ private boolean isParent(Object family, Object child) { if (family.equals(child)) return true; IWorkbenchAdapter workbenchAdapter = getWorkbenchAdapter(child); if (workbenchAdapter == null) return false; Object elementParent = workbenchAdapter.getParent(child); if (elementParent == null) return false; return isParent(family, elementParent); } /** * Get the workbench adapter for the element. */ private IWorkbenchAdapter getWorkbenchAdapter(Object element) { if (element instanceof IWorkbenchAdapter) return (IWorkbenchAdapter) element; if (!(element instanceof IAdaptable)) return null; Object workbenchAdapter = ((IAdaptable) element).getAdapter(IWorkbenchAdapter.class); if (workbenchAdapter == null) return null; else return (IWorkbenchAdapter) workbenchAdapter; } }; job.addJobChangeListener(new JobChangeAdapter() { /* (non-Javadoc) * @see org.eclipse.core.runtime.jobs.JobChangeAdapter#done(org.eclipse.core.runtime.jobs.IJobChangeEvent) */ public void done(IJobChangeEvent event) { runClearPlaceholderJob(placeholder); } }); job.setRule(adapter.getRule(parent)); job.schedule(); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/09a1632e2d88d9079014c811ff3f92f883d50b30/DeferredTreeContentManager.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/progress/DeferredTreeContentManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 787, 30806, 16886, 4212, 12, 202, 202, 6385, 1033, 982, 16, 202, 202, 6385, 467, 16886, 2421, 22144, 4216, 4516, 16, 202, 202, 6385, 16034, 1891, 4216, 6695, 13, 288, 202, 202, 6385, 467, 1046, 7134, 8543, 273, 394, 467, 1046, 7134, 1435, 288, 1082, 202, 482, 918, 527, 12, 921, 930, 16, 467, 5491, 7187, 6438, 13, 288, 9506, 202, 1289, 12, 2704, 1033, 8526, 288, 930, 19879, 6438, 1769, 1082, 202, 97, 1082, 202, 482, 918, 527, 12, 921, 8526, 2186, 16, 467, 5491, 7187, 6438, 13, 288, 9506, 202, 1289, 4212, 12, 2938, 16, 2186, 16, 6695, 16, 6438, 1769, 1082, 202, 97, 1082, 202, 20308, 261, 5836, 17, 24060, 13, 9506, 380, 632, 5946, 2358, 18, 20416, 18, 78, 865, 18, 8298, 18, 45, 1046, 7134, 7, 8734, 1435, 9506, 1195, 1082, 202, 482, 918, 2731, 1435, 288, 9506, 202, 2681, 9094, 14038, 2278, 12, 12988, 1769, 1082, 202, 97, 202, 202, 20451, 202, 202, 759, 10347, 1281, 6550, 4551, 16191, 2325, 364, 326, 1967, 982, 791, 18, 202, 202, 8201, 18, 588, 2278, 1318, 7675, 10996, 12, 2938, 1769, 1082, 202, 780, 17833, 273, 10980, 5058, 18, 2139, 2932, 16886, 2471, 1350, 1318, 18, 30806, 461, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 202, 2704, 1033, 8526, 288, 4516, 18, 588, 2224, 12, 2938, 16869, 1769, 202, 202, 2278, 1719, 273, 394, 3956, 12, 4688, 461, 13, 288, 1082, 202, 482, 467, 1482, 1086, 12, 45, 5491, 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, 787, 30806, 16886, 4212, 12, 202, 202, 6385, 1033, 982, 16, 202, 202, 6385, 467, 16886, 2421, 22144, 4216, 4516, 16, 202, 202, 6385, 16034, 1891, 4216, 6695, 13, 288, 202, 202, 6385, 467, 1046, 7134, 8543, 273, 394, 467, 1046, 7134, 1435, 288, 1082, 202, 482, 918, 527, 12, 921, 930, 16, 467, 5491, 7187, 6438, 13, 288, 9506, 202, 1289, 12, 2704, 1033, 8526, 288, 930, 19879, 6438, 1769, 1082, 202, 97, 1082, 202, 482, 918, 527, 12, 921, 8526, 2186, 16, 467, 5491, 7187, 6438, 13, 288, 9506, 202, 1289, 4212, 12, 2938, 16, 2186, 16, 6695, 16, 6438, 1769, 1082, 202, 97, 1082, 202, 20308, 261, 5836, 17, 24060, 13, 9506, 2 ]
KeyStore ks = generateToken(administrator, username, password, data.getCAId(), keylength, false, loadkeys, savekeys);
KeyStore ks = generateToken(administrator, username, password, data.getCAId(), keylength, false, loadkeys, savekeys, data.getEndEntityProfileId());
public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { ServletDebug debug = new ServletDebug(request, response); boolean usekeyrecovery = false; RequestHelper.setDefaultCharacterEncoding(request); try { String username = request.getParameter("user"); String password = request.getParameter("password"); String keylengthstring = request.getParameter("keylength"); int keylength = 1024; int resulttype = 0; if(request.getParameter("resulttype") != null) resulttype = Integer.parseInt(request.getParameter("resulttype")); // Indicates if certificate or PKCS7 should be returned on manual PKCS10 request. String classid = "clsid:127698e4-e730-4e5c-a2b1-21490a70c8a1\" CODEBASE=\"/CertControl/xenroll.cab#Version=5,131,3659,0"; if ((request.getParameter("classid") != null) && !request.getParameter("classid").equals("")) { classid = request.getParameter("classid"); } if (keylengthstring != null) { keylength = Integer.parseInt(keylengthstring); } Admin administrator = new Admin(Admin.TYPE_PUBLIC_WEB_USER, request.getRemoteAddr()); IUserAdminSessionRemote adminsession = useradminhome.create(); IRaAdminSessionRemote raadminsession = raadminhome.create(); ISignSessionRemote signsession = signsessionhome.create(); RequestHelper helper = new RequestHelper(administrator, debug); log.debug("Got request for " + username + "/hiddenpwd"); debug.print("<h3>username: " + username + "</h3>"); // Check user int tokentype = SecConst.TOKEN_SOFT_BROWSERGEN; usekeyrecovery = (raadminsession.loadGlobalConfiguration(administrator)).getEnableKeyRecovery(); UserDataVO data = adminsession.findUser(administrator, username); if (data == null) { throw new ObjectNotFoundException(); } boolean savekeys = data.getKeyRecoverable() && usekeyrecovery; boolean loadkeys = (data.getStatus() == UserDataConstants.STATUS_KEYRECOVERY) && usekeyrecovery; // get users Token Type. tokentype = data.getTokenType(); if(tokentype == SecConst.TOKEN_SOFT_P12){ KeyStore ks = generateToken(administrator, username, password, data.getCAId(), keylength, false, loadkeys, savekeys); sendP12Token(ks, username, password, response); } if(tokentype == SecConst.TOKEN_SOFT_JKS){ KeyStore ks = generateToken(administrator, username, password, data.getCAId(), keylength, true, loadkeys, savekeys); sendJKSToken(ks, username, password, response); } if(tokentype == SecConst.TOKEN_SOFT_PEM){ KeyStore ks = generateToken(administrator, username, password, data.getCAId(), keylength, false, loadkeys, savekeys); sendPEMTokens(ks, username, password, response); } if(tokentype == SecConst.TOKEN_SOFT_BROWSERGEN){ // first check if it is a netcsape request, if (request.getParameter("keygen") != null) { byte[] reqBytes=request.getParameter("keygen").getBytes(); log.debug("Received NS request:"+new String(reqBytes)); if (reqBytes != null) { byte[] certs = helper.nsCertRequest(signsession, reqBytes, username, password); RequestHelper.sendNewCertToNSClient(certs, response); } } else if ( (request.getParameter("pkcs10") != null) || (request.getParameter("PKCS10") != null) ) { // if not netscape, check if it's IE byte[] reqBytes=request.getParameter("pkcs10").getBytes(); if (reqBytes == null) reqBytes=request.getParameter("PKCS10").getBytes(); log.debug("Received IE request:"+new String(reqBytes)); if (reqBytes != null) { byte[] b64cert=helper.pkcs10CertRequest(signsession, reqBytes, username, password, RequestHelper.ENCODED_PKCS7); debug.ieCertFix(b64cert); RequestHelper.sendNewCertToIEClient(b64cert, response.getOutputStream(), getServletContext(), getInitParameter("responseTemplate"),classid); } } else if (request.getParameter("pkcs10req") != null && resulttype != 0) { // if not IE, check if it's manual request byte[] reqBytes=request.getParameter("pkcs10req").getBytes(); if (reqBytes != null) { byte[] b64cert=helper.pkcs10CertRequest(signsession, reqBytes, username, password, resulttype); if(resulttype == RequestHelper.ENCODED_PKCS7) RequestHelper.sendNewB64Cert(b64cert, response, RequestHelper.BEGIN_PKCS7_WITH_NL, RequestHelper.END_PKCS7_WITH_NL); if(resulttype == RequestHelper.ENCODED_CERTIFICATE) RequestHelper.sendNewB64Cert(b64cert, response, RequestHelper.BEGIN_CERTIFICATE_WITH_NL, RequestHelper.END_CERTIFICATE_WITH_NL); } } } } catch (ObjectNotFoundException oe) { log.debug("Non existent username!"); debug.printMessage("Non existent username!"); debug.printMessage( "To generate a certificate a valid username and password must be entered."); debug.printDebugInfo(); return; } catch (AuthStatusException ase) { log.debug("Wrong user status!"); debug.printMessage("Wrong user status!"); if (usekeyrecovery) { debug.printMessage( "To generate a certificate for a user the user must have status new, failed or inprocess."); } else { debug.printMessage( "To generate a certificate for a user the user must have status new, failed or inprocess."); } debug.printDebugInfo(); return; } catch (AuthLoginException ale) { log.debug("Wrong password for user!"); debug.printMessage("Wrong username or password!"); debug.printMessage( "To generate a certificate a valid username and password must be entered."); debug.printDebugInfo(); return; } catch (SignRequestException re) { log.debug("Invalid request!"); debug.printMessage("Invalid request!"); debug.printMessage("Please supply a correct request."); debug.printDebugInfo(); return; } catch (SignRequestSignatureException se) { log.debug("Invalid signature on certificate request!"); debug.printMessage("Invalid signature on certificate request!"); debug.printMessage("Please supply a correctly signed request."); debug.printDebugInfo(); return; } catch (java.lang.ArrayIndexOutOfBoundsException ae) { log.debug("Empty or invalid request received."); debug.printMessage("Empty or invalid request!"); debug.printMessage("Please supply a correct request."); debug.printDebugInfo(); return; } catch (org.ejbca.core.model.ca.IllegalKeyException e) { log.debug("Illegal Key received: "+e.getMessage()); debug.printMessage("Invalid Key in request: "+e.getMessage()); debug.printMessage("Please supply a correct request."); debug.printDebugInfo(); return; } catch (Exception e) { log.debug(e); debug.print("<h3>parameter name and values: </h3>"); Enumeration paramNames = request.getParameterNames(); while (paramNames.hasMoreElements()) { String name = paramNames.nextElement().toString(); String parameter = request.getParameter(name); debug.print("<h4>" + name + ":</h4>" + parameter + "<br>"); } debug.takeCareOfException(e); debug.printDebugInfo(); } }
4109 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4109/231594d94963bcc244593a7d87b7b0f7b0989640/CertReqServlet.java/clean/src/java/org/ejbca/ui/web/pub/CertReqServlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 741, 3349, 12, 2940, 18572, 590, 16, 12446, 766, 13, 3639, 1216, 1860, 16, 16517, 288, 3639, 7971, 2829, 1198, 273, 394, 7971, 2829, 12, 2293, 16, 766, 1769, 3639, 1250, 999, 856, 23963, 273, 629, 31, 3639, 1567, 2276, 18, 542, 1868, 7069, 4705, 12, 2293, 1769, 3639, 775, 288, 5411, 514, 2718, 273, 590, 18, 588, 1662, 2932, 1355, 8863, 5411, 514, 2201, 273, 590, 18, 588, 1662, 2932, 3664, 8863, 5411, 514, 498, 2469, 1080, 273, 590, 18, 588, 1662, 2932, 856, 2469, 8863, 1082, 202, 474, 498, 2469, 273, 6250, 31, 9506, 5411, 509, 563, 723, 273, 374, 31, 5411, 309, 12, 2293, 18, 588, 1662, 2932, 2088, 723, 7923, 480, 446, 13, 2868, 563, 723, 273, 2144, 18, 2670, 1702, 12, 2293, 18, 588, 1662, 2932, 2088, 723, 7923, 1769, 368, 18336, 309, 4944, 578, 21234, 27, 1410, 506, 2106, 603, 11297, 21234, 2163, 590, 18, 13491, 514, 667, 350, 273, 315, 6429, 350, 30, 2138, 6669, 10689, 73, 24, 17, 73, 27, 5082, 17, 24, 73, 25, 71, 17, 69, 22, 70, 21, 17, 22, 3461, 9349, 69, 7301, 71, 28, 69, 21, 2412, 11128, 8369, 5189, 19, 5461, 3367, 19, 92, 275, 2693, 18, 71, 378, 7, 1444, 33, 25, 16, 29315, 16, 5718, 6162, 16, 20, 14432, 5411, 309, 14015, 2293, 18, 588, 1662, 2932, 1106, 350, 7923, 480, 446, 13, 597, 10792, 401, 2293, 18, 588, 1662, 2932, 1106, 350, 20387, 14963, 2932, 6, 3719, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 741, 3349, 12, 2940, 18572, 590, 16, 12446, 766, 13, 3639, 1216, 1860, 16, 16517, 288, 3639, 7971, 2829, 1198, 273, 394, 7971, 2829, 12, 2293, 16, 766, 1769, 3639, 1250, 999, 856, 23963, 273, 629, 31, 3639, 1567, 2276, 18, 542, 1868, 7069, 4705, 12, 2293, 1769, 3639, 775, 288, 5411, 514, 2718, 273, 590, 18, 588, 1662, 2932, 1355, 8863, 5411, 514, 2201, 273, 590, 18, 588, 1662, 2932, 3664, 8863, 5411, 514, 498, 2469, 1080, 273, 590, 18, 588, 1662, 2932, 856, 2469, 8863, 1082, 202, 474, 498, 2469, 273, 6250, 31, 9506, 5411, 509, 563, 723, 273, 374, 31, 5411, 309, 12, 2293, 18, 588, 1662, 2932, 2088, 723, 7923, 480, 446, 2 ]
pack.executables.add(new ExecutableFile(e.getAttribute("targetfile"),
String targetFile = e.getAttribute("targetfile"); pack.executables.add(new ExecutableFile(targetFile,
protected ArrayList getPacks(XMLElement data) throws Exception { // Initialisation ArrayList packs = new ArrayList(); XMLElement root = data.getFirstChildNamed("packs"); // We process each pack markup int npacks = root.getChildrenCount(); for (int i = 0; i < npacks; i++) { XMLElement el = root.getChildAtIndex(i); // Trivial initialisations Pack pack = new Pack(); pack.number = i; pack.name = el.getAttribute("name"); pack.required = el.getAttribute("required").equalsIgnoreCase("yes"); pack.description = el.getFirstChildNamed("description").getContent(); // We get the parsables list Iterator iter = null; Vector children = el.getChildrenNamed("parsable"); if (null != children && !children.isEmpty()) { iter = children.iterator(); while (iter.hasNext()) { XMLElement p = (XMLElement) iter.next(); pack.parsables.add (new ParsableFile(p.getAttribute("targetfile"), p.getAttribute("type", "plain"), p.getAttribute("encoding", null))); } } // We get the executables list children = el.getChildrenNamed("executable"); if (null != children && !children.isEmpty()) { iter = children.iterator(); while (iter.hasNext()) { XMLElement e = (XMLElement) iter.next(); // when to execute this executable int executeOn = ExecutableFile.NEVER; String val = e.getAttribute("stage", "never"); if ("postinstall".compareToIgnoreCase(val) == 0) executeOn = ExecutableFile.POSTINSTALL; else if ("uninstall".compareToIgnoreCase(val) == 0) executeOn = ExecutableFile.UNINSTALL; // main class of this executable String executeClass = e.getAttribute("class"); // type of this executable int executeType = ExecutableFile.BIN; val = e.getAttribute("type", "bin"); if ("jar".compareToIgnoreCase(val) == 0) executeType = ExecutableFile.JAR; // what to do if execution fails int onFailure = ExecutableFile.ASK; val = e.getAttribute("failure", "ask"); if ("abort".compareToIgnoreCase(val) == 0) onFailure = ExecutableFile.ABORT; else if ("warn".compareToIgnoreCase(val) == 0) onFailure = ExecutableFile.WARN; // get arguments for this executable ArrayList argList = new ArrayList(); XMLElement args = e.getFirstChildNamed("args"); if (null != args) { argList = new ArrayList(); Iterator argIterator = args.getChildrenNamed("arg").iterator(); while (argIterator.hasNext()) { XMLElement arg = (XMLElement) argIterator.next(); argList.add(arg.getAttribute("value")); } } // get os info on this executable ArrayList osList = new ArrayList(); Iterator osIterator = e.getChildrenNamed("os").iterator(); while (osIterator.hasNext()) { XMLElement os = (XMLElement) osIterator.next(); osList.add (new com.izforge.izpack.util.Os(os.getAttribute("family", null), os.getAttribute("name", null), os.getAttribute("version", null), os.getAttribute("arch", null))); } pack.executables.add(new ExecutableFile(e.getAttribute("targetfile"), executeType, executeClass, executeOn, onFailure, argList, osList)); } } // We get the files list iter = el.getChildrenNamed("file").iterator(); while (iter.hasNext()) { XMLElement f = (XMLElement) iter.next(); String path = basedir + File.separator + f.getAttribute("src"); File file = new File(path); boolean override = true; if (f.getAttribute("override") != null) override = f.getAttribute("override").equalsIgnoreCase("true"); addFile(file, f.getAttribute("targetdir"), f.getAttribute("os"), override, pack.packFiles); } // We get the fileset list iter = el.getChildrenNamed("fileset").iterator(); while (iter.hasNext()) { XMLElement f = (XMLElement) iter.next(); String path = basedir + File.separator + f.getAttribute("dir"); String casesensitive = f.getAttribute("casesensitive"); // get includes and excludes Vector xcludesList = f.getChildrenNamed("include"); String[] includes = null; XMLElement xclude = null; if (xcludesList.size() > 0) { includes = new String[xcludesList.size()]; for (int j = 0; j < xcludesList.size(); j++) { xclude = (XMLElement) xcludesList.get(j); includes[j] = xclude.getAttribute("name"); } } xcludesList = f.getChildrenNamed("exclude"); String[] excludes = null; xclude = null; if (xcludesList.size() > 0) { excludes = new String[xcludesList.size()]; for (int j = 0; j < xcludesList.size(); j++) { xclude = (XMLElement) xcludesList.get(j); excludes[j] = xclude.getAttribute("name"); } } addFileSet(path, includes, excludes, f.getAttribute("targetdir"), f.getAttribute("os"), pack.packFiles, casesensitive); } // We add the pack packs.add(pack); } // We return the ArrayList return packs; }
54145 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54145/c3234416ca8408295e1d45c60daee2efe9c3f5db/Compiler.java/buggy/src/lib/com/izforge/izpack/compiler/Compiler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 2407, 1689, 22098, 12, 15223, 501, 13, 1216, 1185, 225, 288, 565, 368, 10188, 10742, 565, 2407, 2298, 87, 273, 394, 2407, 5621, 565, 1139, 11155, 1365, 273, 501, 18, 588, 3759, 1763, 7604, 2932, 2920, 87, 8863, 565, 368, 1660, 1207, 1517, 2298, 9813, 565, 509, 1130, 22098, 273, 1365, 18, 588, 4212, 1380, 5621, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1130, 22098, 31, 277, 27245, 565, 288, 1377, 1139, 11155, 415, 273, 1365, 18, 588, 1763, 24499, 12, 77, 1769, 1377, 368, 840, 20109, 2172, 291, 1012, 1377, 7930, 2298, 273, 394, 7930, 5621, 1377, 2298, 18, 2696, 273, 277, 31, 1377, 2298, 18, 529, 273, 415, 18, 588, 1499, 2932, 529, 8863, 1377, 2298, 18, 4718, 273, 415, 18, 588, 1499, 2932, 4718, 20387, 14963, 5556, 2932, 9707, 8863, 1377, 2298, 18, 3384, 273, 415, 18, 588, 3759, 1763, 7604, 2932, 3384, 20387, 588, 1350, 5621, 1377, 368, 1660, 336, 326, 13249, 1538, 666, 1377, 4498, 1400, 273, 446, 31, 1377, 5589, 2325, 273, 415, 18, 588, 4212, 7604, 2932, 8954, 429, 8863, 1377, 309, 261, 2011, 480, 2325, 597, 401, 5906, 18, 291, 1921, 10756, 1377, 288, 3639, 1400, 273, 2325, 18, 9838, 5621, 3639, 1323, 261, 2165, 18, 5332, 2134, 10756, 3639, 288, 1850, 1139, 11155, 293, 273, 261, 15223, 13, 1400, 18, 4285, 5621, 1850, 2298, 18, 8954, 1538, 18, 1289, 5411, 261, 2704, 2280, 87, 429, 812, 12, 84, 18, 588, 1499, 2932, 3299, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 2407, 1689, 22098, 12, 15223, 501, 13, 1216, 1185, 225, 288, 565, 368, 10188, 10742, 565, 2407, 2298, 87, 273, 394, 2407, 5621, 565, 1139, 11155, 1365, 273, 501, 18, 588, 3759, 1763, 7604, 2932, 2920, 87, 8863, 565, 368, 1660, 1207, 1517, 2298, 9813, 565, 509, 1130, 22098, 273, 1365, 18, 588, 4212, 1380, 5621, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1130, 22098, 31, 277, 27245, 565, 288, 1377, 1139, 11155, 415, 273, 1365, 18, 588, 1763, 24499, 12, 77, 1769, 1377, 368, 840, 20109, 2172, 291, 1012, 1377, 7930, 2298, 273, 394, 7930, 5621, 1377, 2298, 18, 2696, 273, 277, 31, 1377, 2298, 18, 529, 273, 415, 18, 588, 1499, 2932, 2 ]
Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES), new Receiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, true) };
Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES), new Receiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, true) };
public void test_Simple_NTP_LA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageConsumer cons = sessReceive.createConsumer(queue1); MessageProducer prod = sessSend.createProducer(queue1); prod.setDeliveryMode(DeliveryMode.PERSISTENT); Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES), new Receiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, true) }; runRunners(runners); conn.close(); }
3806 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3806/854a630fe1e9177482e054121f2fd66ee7f5e035/StressQueueSameConnection.java/clean/tests/src/org/jboss/test/messaging/jms/stress/StressQueueSameConnection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 1842, 67, 5784, 67, 1784, 52, 67, 2534, 1435, 1216, 1185, 282, 288, 1377, 4050, 1487, 273, 6080, 18, 2640, 1952, 5621, 1377, 1487, 18, 1937, 5621, 5411, 3877, 8451, 3826, 273, 1487, 18, 2640, 2157, 12, 5743, 16, 3877, 18, 18909, 67, 3649, 27091, 6687, 7113, 1769, 1377, 3877, 8451, 11323, 273, 1487, 18, 2640, 2157, 12, 5743, 16, 3877, 18, 18909, 67, 3649, 27091, 6687, 7113, 1769, 5411, 2350, 5869, 1959, 273, 8451, 11323, 18, 2640, 5869, 12, 4000, 21, 1769, 1377, 2350, 12140, 10791, 273, 8451, 3826, 18, 2640, 12140, 12, 4000, 21, 1769, 1377, 10791, 18, 542, 8909, 2309, 12, 8909, 2309, 18, 3194, 28175, 1769, 5411, 22712, 8526, 1086, 9646, 273, 394, 22712, 8526, 288, 394, 15044, 2932, 17672, 21, 3113, 8451, 3826, 16, 10791, 16, 9443, 67, 3993, 67, 3194, 28175, 67, 26195, 3631, 4766, 3639, 394, 31020, 12, 23828, 11323, 16, 1959, 16, 9443, 67, 3993, 67, 3194, 28175, 67, 26195, 16, 638, 13, 289, 31, 1377, 1086, 1997, 9646, 12, 2681, 9646, 1769, 1377, 1487, 18, 4412, 5621, 540, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 1842, 67, 5784, 67, 1784, 52, 67, 2534, 1435, 1216, 1185, 282, 288, 1377, 4050, 1487, 273, 6080, 18, 2640, 1952, 5621, 1377, 1487, 18, 1937, 5621, 5411, 3877, 8451, 3826, 273, 1487, 18, 2640, 2157, 12, 5743, 16, 3877, 18, 18909, 67, 3649, 27091, 6687, 7113, 1769, 1377, 3877, 8451, 11323, 273, 1487, 18, 2640, 2157, 12, 5743, 16, 3877, 18, 18909, 67, 3649, 27091, 6687, 7113, 1769, 5411, 2350, 5869, 1959, 273, 8451, 11323, 18, 2640, 5869, 12, 4000, 21, 1769, 1377, 2350, 12140, 10791, 273, 8451, 3826, 18, 2640, 12140, 12, 4000, 21, 1769, 1377, 10791, 18, 542, 8909, 2309, 12, 8909, 2309, 18, 3194, 28175, 1769, 5411, 22712, 8526, 1086, 9646, 273, 2 ]
if (token.endsWith("\\"))
if (endsWithSlash(token))
public String nextToken() { StringBuffer buffer = new StringBuffer(); while (hasMoreTokens()) { String token = super.nextToken(); if (token.endsWith("\\")) { buffer.append(token.substring(0, token.length() - 1)); buffer.append(DELIMITER); } else { buffer.append(token); break; } } return buffer.toString().trim(); }
55609 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55609/7bbdeabc0539c560e07e2272fb92185e17986587/ExtendedProperties.java/clean/src/java/org/apache/commons/collections/ExtendedProperties.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 514, 9617, 1435, 3639, 288, 5411, 6674, 1613, 273, 394, 6674, 5621, 5411, 1323, 261, 5332, 7417, 5157, 10756, 5411, 288, 7734, 514, 1147, 273, 2240, 18, 4285, 1345, 5621, 7734, 309, 261, 5839, 1190, 11033, 12, 2316, 3719, 7734, 288, 10792, 1613, 18, 6923, 12, 2316, 18, 28023, 12, 20, 16, 1147, 18, 2469, 1435, 300, 404, 10019, 10792, 1613, 18, 6923, 12, 19722, 1769, 7734, 289, 7734, 469, 7734, 288, 10792, 1613, 18, 6923, 12, 2316, 1769, 10792, 898, 31, 7734, 289, 5411, 289, 5411, 327, 1613, 18, 10492, 7675, 5290, 5621, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 514, 9617, 1435, 3639, 288, 5411, 6674, 1613, 273, 394, 6674, 5621, 5411, 1323, 261, 5332, 7417, 5157, 10756, 5411, 288, 7734, 514, 1147, 273, 2240, 18, 4285, 1345, 5621, 7734, 309, 261, 5839, 1190, 11033, 12, 2316, 3719, 7734, 288, 10792, 1613, 18, 6923, 12, 2316, 18, 28023, 12, 20, 16, 1147, 18, 2469, 1435, 300, 404, 10019, 10792, 1613, 18, 6923, 12, 19722, 1769, 7734, 289, 7734, 469, 7734, 288, 10792, 1613, 18, 6923, 12, 2316, 1769, 10792, 898, 31, 7734, 289, 5411, 289, 5411, 327, 1613, 18, 10492, 7675, 5290, 5621, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
labelY = (int)(atom.getPoint2D().y - (atomSymbolYOffset + isotopeH));
labelY = (int)(atom.getPoint2D().y + (atomSymbolYOffset + isotopeH));
public void paintAtomSymbol(Atom atom, Color backColor, Graphics graphics, int alignment, int atomNumber) { if (atom.getPoint2D() == null) { logger.warn("Cannot draw atom without 2D coordinate"); return; } // The fonts for calculating geometries float subscriptFraction = 0.7f; Font normalFont = graphics.getFont(); int normalFontSize = normalFont.getSize(); Font subscriptFont = normalFont.deriveFont( normalFontSize*subscriptFraction); // get drawing fonts float normalScreenFontSize = getScreenSize(normalFontSize); Font normalScreenFont = normalFont.deriveFont(normalScreenFontSize); Font subscriptScreenFont = normalScreenFont.deriveFont( normalScreenFontSize*subscriptFraction); // STEP 1: calculate widths and heights for all parts in the label // calculate SYMBOL width, height String atomSymbol = atom.getSymbol(); if (r2dm.drawNumbers()) { if (atomSymbol.equals("C")) { atomSymbol = "" + atomNumber; } else if (atomNumber != 0 && !atomSymbol.equals("")) { atomSymbol += "-" + atomNumber; } } graphics.setFont(normalFont); FontMetrics fm = graphics.getFontMetrics(); int atomSymbolW = (new Integer(fm.stringWidth(atomSymbol))).intValue(); int atomSymbolFirstCharW = (new Integer(fm.stringWidth(atomSymbol.substring(0,1)))).intValue(); int atomSymbolH = (new Integer(fm.getAscent())).intValue(); int atomSymbolXOffset = atomSymbolFirstCharW/2; int atomSymbolYOffset = atomSymbolH/2; // calculate IMPLICIT H width, height int implicitHydrogenCount = atom.getHydrogenCount(); int hSymbolW = 0; // unless next condition, this is the default int hSymbolH = 0; // unless next condition, this is the default String hSymbol = "H"; String hMultiplierString = new Integer(implicitHydrogenCount).toString(); if (implicitHydrogenCount > 0) { // fm is identical, don't change hSymbolW = (new Integer(fm.stringWidth(hSymbol))).intValue(); hSymbolH = atomSymbolH; } graphics.setFont(subscriptFont); fm = graphics.getFontMetrics(); int hMultiplierW = 0; int hMultiplierH = 0; if (implicitHydrogenCount > 1) { // fm is identical, don't change hMultiplierW = (new Integer(fm.stringWidth(hMultiplierString))).intValue(); hMultiplierH = (new Integer(fm.getAscent())).intValue(); } // calculate CHARGE width, height // font is still subscript, that's fine int formalCharge = atom.getFormalCharge(); int formalChargeW = 0; // unless next condition, this is the default int formalChargeH = 0; String formalChargeString = ""; // if charge == 0, then don't print anything if (formalCharge != 0) { if (formalCharge > 1) { formalChargeString = new Integer(formalCharge).toString() + "+"; } else if (formalCharge > 0) { formalChargeString = "+"; } else if (formalCharge < -1) { formalChargeString = new Integer(formalCharge*-1).toString() + "-"; } else if (formalCharge < 0) { formalChargeString = "-"; } graphics.setFont(subscriptFont); fm = graphics.getFontMetrics(); formalChargeW = (new Integer(fm.stringWidth(formalChargeString))).intValue(); formalChargeH = (new Integer(fm.getAscent())).intValue(); } // calculate ISOTOPE width, height // font is still subscript, that's fine int atomicMassNumber = atom.getMassNumber(); int isotopeW = 0; // unless next condition, this is the default int isotopeH = 0; String isotopeString = ""; if (atomicMassNumber != 0 && isotopeFactory != null) { Isotope majorIsotope = isotopeFactory.getMajorIsotope(atom.getSymbol()); if (majorIsotope != null && atomicMassNumber != majorIsotope.getMassNumber()) { graphics.setFont(subscriptFont); fm = graphics.getFontMetrics(); isotopeString = new Integer(atomicMassNumber).toString(); isotopeW = (new Integer(fm.stringWidth(isotopeString))).intValue(); isotopeH = (new Integer(fm.getAscent())).intValue(); } } // STEP 2: calculate x's and y's for all parts in the label int labelX = 0; int labelY = 0; if (alignment == 1) { // left alignment labelX = (int)(atom.getPoint2D().x - (atomSymbolXOffset + isotopeW)); } else { // right alignment labelX = (int)(atom.getPoint2D().x - (atomSymbolXOffset + Math.max(isotopeW,hMultiplierW) + hSymbolW)); } // labelY and labelH are the same for both left/right aligned labelY = (int)(atom.getPoint2D().y - (atomSymbolYOffset + isotopeH)); // xy for atom symbol int[] atomSymbolCoords = new int[2]; if (alignment == 1) { // left alignment atomSymbolCoords[0] = labelX + isotopeW; } else { // right alignment atomSymbolCoords[0] = labelX + hSymbolW + Math.max(isotopeW, hMultiplierW); } atomSymbolCoords[1] = labelY + isotopeH + atomSymbolH; // xy for implicit hydrogens int[] hSymbolCoords = new int[2]; if (alignment == 1) { // left alignment hSymbolCoords[0] = labelX + isotopeW + atomSymbolW; } else { // right alignment hSymbolCoords[0] = labelX; } hSymbolCoords[1] = labelY + isotopeH + atomSymbolH; // xy for implicit hydrogens multiplier int[] hMultiplierCoords = new int[2]; if (alignment == 1) { // left alignment hMultiplierCoords[0] = labelX + isotopeW + atomSymbolW +hSymbolW; } else { // right alignment hMultiplierCoords[0] = labelX + hSymbolW; } hMultiplierCoords[1] = labelY + isotopeH + atomSymbolH + hMultiplierH/2; // xy for charge int[] chargeCoords = new int[2]; if (alignment == 1) { // left alignment chargeCoords[0] = labelX + isotopeW + atomSymbolW + hSymbolW; } else { // right alignment chargeCoords[0] = labelX + hSymbolW + Math.max(isotopeW, hMultiplierW) + atomSymbolW; } chargeCoords[1] = labelY + isotopeH; //xy for isotope int[] isotopeCoords = new int[2]; if (alignment == 1) { // left alignment isotopeCoords[0] = labelX; } else { // right alignment isotopeCoords[0] = labelX + hSymbolW; } isotopeCoords[1] = labelY + isotopeH; // STEP 3: draw empty backgrounds for all parts in the label int border = 2; // border for clearing background in pixels paintEmptySpace(atomSymbolCoords[0], atomSymbolCoords[1] - atomSymbolH, atomSymbolW, atomSymbolH, border, backColor, graphics); paintEmptySpace(hSymbolCoords[0], hSymbolCoords[1] - hSymbolH, hSymbolW, hSymbolH, border, backColor, graphics); paintEmptySpace(hMultiplierCoords[0], hMultiplierCoords[1] - hMultiplierH, hMultiplierW, hMultiplierH, border, backColor, graphics); paintEmptySpace(chargeCoords[0], chargeCoords[1] - formalChargeH, formalChargeW, formalChargeH, border, backColor, graphics); paintEmptySpace(isotopeCoords[0], isotopeCoords[1] - isotopeH, isotopeW, isotopeH, border, backColor, graphics); // STEP 4: draw all parts in the label Color atomColor = r2dm.getAtomColor(atom); // draw SYMBOL { int[] screenCoords = getScreenCoordinates(atomSymbolCoords); graphics.setColor(atomColor); graphics.setFont(normalScreenFont); graphics.drawString(atomSymbol, screenCoords[0], screenCoords[1]); // possibly underline SYMBOL if (atom.getProperty(ProblemMarker.ERROR_MARKER) != null || atom.getProperty(ProblemMarker.WARNING_MARKER) != null) { // RED for error, ORANGE for warnings if (atom.getProperty(ProblemMarker.ERROR_MARKER) != null) { graphics.setColor(Color.red); } else if (atom.getProperty(ProblemMarker.WARNING_MARKER) != null) { graphics.setColor(Color.orange); } // make zig zag bond int symbolLength = atom.getSymbol().length(); int zigzags = 1+(2*symbolLength); int spacing = atomSymbolW/zigzags; int width = atomSymbolH/3; for (int i=-symbolLength; i<=symbolLength; i++) { int[] lineCoords = new int[6]; int halfspacing = spacing/2; lineCoords[0]=atomSymbolCoords[0] + (atomSymbolW/2) + (i*spacing) - halfspacing; lineCoords[1]=atomSymbolCoords[1] + 1*width; lineCoords[2]=lineCoords[0]+halfspacing; lineCoords[3]=atomSymbolCoords[1] + 2*width; lineCoords[4]=lineCoords[2]+halfspacing; lineCoords[5]=lineCoords[1]; int[] lineScreenCoords = getScreenCoordinates(lineCoords); graphics.drawLine(lineScreenCoords[0], lineScreenCoords[1], lineScreenCoords[2], lineScreenCoords[3]); graphics.drawLine(lineScreenCoords[2], lineScreenCoords[3], lineScreenCoords[4], lineScreenCoords[5]); } } } // draw IMPLICIT H's if (implicitHydrogenCount > 0 && r2dm.getShowImplicitHydrogens()) { int[] screenCoords = getScreenCoordinates(hSymbolCoords); graphics.setColor(atomColor); graphics.setFont(normalScreenFont); graphics.drawString(hSymbol, screenCoords[0], screenCoords[1]); if (implicitHydrogenCount > 1) { // draw number of hydrogens screenCoords = getScreenCoordinates(hMultiplierCoords); graphics.setColor(atomColor); graphics.setFont(subscriptScreenFont); graphics.drawString(hMultiplierString, screenCoords[0], screenCoords[1]); } } // draw CHARGE if (formalCharge != 0) { int[] screenCoords = getScreenCoordinates(chargeCoords); graphics.setColor(atomColor); graphics.setFont(normalScreenFont); graphics.drawString(formalChargeString, screenCoords[0], screenCoords[1]); } // draw ISOTOPE if (isotopeString.length() > 0) { int[] screenCoords = getScreenCoordinates(isotopeCoords); graphics.setColor(atomColor); graphics.setFont(subscriptScreenFont); graphics.drawString(isotopeString, screenCoords[0], screenCoords[1]); } // reset old font & color graphics.setFont(normalFont); graphics.setColor(r2dm.getForeColor()); }
1306 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1306/024b5bd543555ab0427fdc6b91c9895dbe18db45/Renderer2D.java/clean/src/org/openscience/cdk/renderer/Renderer2D.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 12574, 3641, 5335, 12, 3641, 3179, 16, 5563, 1473, 2957, 16, 16830, 17313, 16, 509, 8710, 16, 509, 3179, 1854, 13, 288, 3639, 309, 261, 7466, 18, 588, 2148, 22, 40, 1435, 422, 446, 13, 288, 5411, 1194, 18, 8935, 2932, 4515, 3724, 3179, 2887, 576, 40, 7799, 8863, 5411, 327, 31, 3639, 289, 7734, 368, 1021, 16450, 364, 21046, 21891, 3639, 1431, 31855, 13724, 273, 374, 18, 27, 74, 31, 3639, 10063, 2212, 5711, 273, 17313, 18, 588, 5711, 5621, 3639, 509, 2212, 22688, 273, 2212, 5711, 18, 588, 1225, 5621, 3639, 10063, 31855, 5711, 273, 2212, 5711, 18, 765, 688, 5711, 12, 5411, 2212, 22688, 14, 1717, 4263, 13724, 1769, 3639, 368, 336, 16327, 16450, 3639, 1431, 2212, 7956, 22688, 273, 22303, 1225, 12, 6130, 22688, 1769, 3639, 10063, 2212, 7956, 5711, 273, 2212, 5711, 18, 765, 688, 5711, 12, 6130, 7956, 22688, 1769, 3639, 10063, 31855, 7956, 5711, 273, 2212, 7956, 5711, 18, 765, 688, 5711, 12, 5411, 2212, 7956, 22688, 14, 1717, 4263, 13724, 1769, 7734, 368, 25538, 404, 30, 4604, 15801, 471, 24779, 364, 777, 2140, 316, 326, 1433, 7734, 368, 4604, 26059, 1835, 16, 2072, 3639, 514, 3179, 5335, 273, 3179, 18, 588, 5335, 5621, 3639, 309, 261, 86, 22, 10956, 18, 9446, 10072, 10756, 288, 5411, 309, 261, 7466, 5335, 18, 14963, 2932, 39, 6, 3719, 288, 7734, 3179, 5335, 273, 1408, 397, 3179, 1854, 31, 5411, 289, 469, 309, 261, 7466, 1854, 480, 374, 597, 401, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 12574, 3641, 5335, 12, 3641, 3179, 16, 5563, 1473, 2957, 16, 16830, 17313, 16, 509, 8710, 16, 509, 3179, 1854, 13, 288, 3639, 309, 261, 7466, 18, 588, 2148, 22, 40, 1435, 422, 446, 13, 288, 5411, 1194, 18, 8935, 2932, 4515, 3724, 3179, 2887, 576, 40, 7799, 8863, 5411, 327, 31, 3639, 289, 7734, 368, 1021, 16450, 364, 21046, 21891, 3639, 1431, 31855, 13724, 273, 374, 18, 27, 74, 31, 3639, 10063, 2212, 5711, 273, 17313, 18, 588, 5711, 5621, 3639, 509, 2212, 22688, 273, 2212, 5711, 18, 588, 1225, 5621, 3639, 10063, 31855, 5711, 273, 2212, 5711, 18, 765, 688, 5711, 12, 5411, 2212, 22688, 14, 1717, 4263, 13724, 1769, 3639, 368, 336, 16327, 2 ]
protected TextViewer addTextViewer(TaskRepository repository, Composite composite, String text, int style) { if (actionContributor == null) { actionContributor = ((MylarTaskEditor) getEditor()).getContributor(); } final RepositoryTextViewer commentViewer = new RepositoryTextViewer(repository, composite, style); RepositoryViewerConfig repositoryViewerConfig = new RepositoryViewerConfig(false); commentViewer.configure(repositoryViewerConfig); IThemeManager themeManager = getSite().getWorkbenchWindow().getWorkbench().getThemeManager(); commentViewer.getTextWidget().setFont( themeManager.getCurrentTheme().getFontRegistry().get(TaskListColorsAndFonts.TASK_EDITOR_FONT)); commentViewer.addSelectionChangedListener(actionContributor); commentViewer.getTextWidget().addFocusListener(new FocusListener() { public void focusGained(FocusEvent e) { actionContributor.updateSelectableActions(commentViewer.getSelection()); } public void focusLost(FocusEvent e) { commentViewer.setSelectedRange(0, 0); actionContributor.forceActionsEnabled(); } }); commentViewer.addTextListener(new ITextListener() { public void textChanged(TextEvent event) { actionContributor.updateSelectableActions(commentViewer.getSelection()); } }); commentViewer.setEditable(false); commentViewer.getTextWidget().setMenu(getManagedForm().getForm().getMenu()); Document document = new Document(text); commentViewer.setDocument(document); addTextViewer(commentViewer); return commentViewer;
private void addTextViewer(TextViewer viewer) { textViewers.add(viewer);
protected TextViewer addTextViewer(TaskRepository repository, Composite composite, String text, int style) { if (actionContributor == null) { actionContributor = ((MylarTaskEditor) getEditor()).getContributor(); } final RepositoryTextViewer commentViewer = new RepositoryTextViewer(repository, composite, style); // NOTE: Configuration must be applied before the document is set in // order for // Hyperlink colouring to work. (Presenter needs document object up // front) RepositoryViewerConfig repositoryViewerConfig = new RepositoryViewerConfig(false); commentViewer.configure(repositoryViewerConfig); IThemeManager themeManager = getSite().getWorkbenchWindow().getWorkbench().getThemeManager(); commentViewer.getTextWidget().setFont( themeManager.getCurrentTheme().getFontRegistry().get(TaskListColorsAndFonts.TASK_EDITOR_FONT)); commentViewer.addSelectionChangedListener(actionContributor); commentViewer.getTextWidget().addFocusListener(new FocusListener() { public void focusGained(FocusEvent e) { actionContributor.updateSelectableActions(commentViewer.getSelection()); } public void focusLost(FocusEvent e) { commentViewer.setSelectedRange(0, 0); actionContributor.forceActionsEnabled(); } }); commentViewer.addTextListener(new ITextListener() { public void textChanged(TextEvent event) { actionContributor.updateSelectableActions(commentViewer.getSelection()); } }); commentViewer.setEditable(false); commentViewer.getTextWidget().setMenu(getManagedForm().getForm().getMenu()); Document document = new Document(text); commentViewer.setDocument(document); addTextViewer(commentViewer); return commentViewer; }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/1c351d01fb1df720d68786e0c8a3e2f6596a24b5/TaskFormPage.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskFormPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 3867, 18415, 25796, 18415, 12, 2174, 3305, 3352, 16, 14728, 9635, 16, 514, 977, 16, 509, 2154, 13, 288, 202, 202, 430, 261, 1128, 442, 19293, 422, 446, 13, 288, 1082, 202, 1128, 442, 19293, 273, 14015, 12062, 7901, 2174, 6946, 13, 336, 6946, 1435, 2934, 588, 442, 19293, 5621, 202, 202, 97, 202, 202, 6385, 6281, 1528, 18415, 2879, 18415, 273, 394, 6281, 1528, 18415, 12, 9071, 16, 9635, 16, 2154, 1769, 202, 202, 759, 5219, 30, 4659, 1297, 506, 6754, 1865, 326, 1668, 353, 444, 316, 202, 202, 759, 1353, 364, 202, 202, 759, 18274, 1232, 15046, 310, 358, 1440, 18, 261, 25684, 4260, 1668, 733, 731, 202, 202, 759, 6641, 13, 202, 202, 3305, 18415, 809, 3352, 18415, 809, 273, 394, 6281, 18415, 809, 12, 5743, 1769, 202, 202, 3469, 18415, 18, 14895, 12, 9071, 18415, 809, 1769, 202, 202, 1285, 76, 4698, 1318, 5006, 1318, 273, 11021, 7675, 588, 2421, 22144, 3829, 7675, 588, 2421, 22144, 7675, 588, 8335, 1318, 5621, 202, 202, 3469, 18415, 18, 588, 1528, 4609, 7675, 542, 5711, 12, 9506, 202, 7997, 1318, 18, 588, 3935, 8335, 7675, 588, 5711, 4243, 7675, 588, 12, 2174, 682, 12570, 1876, 5711, 87, 18, 15580, 67, 13208, 67, 25221, 10019, 202, 202, 3469, 18415, 18, 1289, 6233, 5033, 2223, 12, 1128, 442, 19293, 1769, 202, 202, 3469, 18415, 18, 588, 1528, 4609, 7675, 1289, 9233, 2223, 12, 2704, 478, 4560, 2223, 1435, 288, 1082, 202, 482, 918, 7155, 43, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 3867, 18415, 25796, 18415, 12, 2174, 3305, 3352, 16, 14728, 9635, 16, 514, 977, 16, 509, 2154, 13, 288, 202, 202, 430, 261, 1128, 442, 19293, 422, 446, 13, 288, 1082, 202, 1128, 442, 19293, 273, 14015, 12062, 7901, 2174, 6946, 13, 336, 6946, 1435, 2934, 588, 442, 19293, 5621, 202, 202, 97, 202, 202, 6385, 6281, 1528, 18415, 2879, 18415, 273, 394, 6281, 1528, 18415, 12, 9071, 16, 9635, 16, 2154, 1769, 202, 202, 759, 5219, 30, 4659, 1297, 506, 6754, 1865, 326, 1668, 353, 444, 316, 202, 202, 759, 1353, 364, 202, 202, 759, 18274, 1232, 15046, 310, 358, 1440, 18, 261, 25684, 4260, 1668, 733, 731, 202, 202, 759, 6641, 13, 202, 202, 2 ]
_t = __t332;
_t = __t340;
public final Expression pathExpr(AST _t, PathExpr path ) throws RecognitionException, PermissionDeniedException,EXistException,XPathException { Expression step; AST pathExpr_AST_in = (AST)_t; AST qn = null; AST nc1 = null; AST nc = null; AST attr = null; AST nc2 = null; AST nc3 = null; Expression rightStep= null; step= null; int axis= Constants.CHILD_AXIS; if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case QNAME: case WILDCARD: case PREFIX_WILDCARD: case NCNAME: case LITERAL_text: case LITERAL_node: case LITERAL_child: case LITERAL_self: case LITERAL_attribute: case LITERAL_descendant: case 115: case 116: case LITERAL_parent: case LITERAL_ancestor: case 119: case 120: { { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LITERAL_child: case LITERAL_self: case LITERAL_attribute: case LITERAL_descendant: case 115: case 116: case LITERAL_parent: case LITERAL_ancestor: case 119: case 120: { axis=forwardAxis(_t); _t = _retTree; break; } case QNAME: case WILDCARD: case PREFIX_WILDCARD: case NCNAME: case LITERAL_text: case LITERAL_node: { break; } default: { throw new NoViableAltException(_t); } } } NodeTest test; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case QNAME: { qn = (AST)_t; match(_t,QNAME); _t = _t.getNextSibling(); QName qname= QName.parse(context, qn.getText()); test= new NameTest(Type.ELEMENT, qname); break; } case PREFIX_WILDCARD: { AST __t317 = _t; AST tmp62_AST_in = (AST)_t; match(_t,PREFIX_WILDCARD); _t = _t.getFirstChild(); nc1 = (AST)_t; match(_t,NCNAME); _t = _t.getNextSibling(); _t = __t317; _t = _t.getNextSibling(); QName qname= new QName(nc1.getText(), null, null); test= new NameTest(Type.ELEMENT, qname); break; } case NCNAME: { AST __t318 = _t; nc = _t==ASTNULL ? null :(AST)_t; match(_t,NCNAME); _t = _t.getFirstChild(); AST tmp63_AST_in = (AST)_t; match(_t,WILDCARD); _t = _t.getNextSibling(); _t = __t318; _t = _t.getNextSibling(); String namespaceURI= context.getURIForPrefix(nc.getText()); QName qname= new QName(null, namespaceURI, null); test= new NameTest(Type.ELEMENT, qname); break; } case WILDCARD: { AST tmp64_AST_in = (AST)_t; match(_t,WILDCARD); _t = _t.getNextSibling(); test= new TypeTest(Type.ELEMENT); break; } case LITERAL_node: { AST tmp65_AST_in = (AST)_t; match(_t,LITERAL_node); _t = _t.getNextSibling(); test= new AnyNodeTest(); break; } case LITERAL_text: { AST tmp66_AST_in = (AST)_t; match(_t,LITERAL_text); _t = _t.getNextSibling(); test= new TypeTest(Type.TEXT); break; } default: { throw new NoViableAltException(_t); } } } step= new LocationStep(context, axis, test); path.add(step); { _loop320: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==PREDICATE)) { predicate(_t,(LocationStep) step); _t = _retTree; } else { break _loop320; } } while (true); } break; } case AT: { AST tmp67_AST_in = (AST)_t; match(_t,AT); _t = _t.getNextSibling(); QName qname= null; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case QNAME: { attr = (AST)_t; match(_t,QNAME); _t = _t.getNextSibling(); qname= QName.parseAttribute(context, attr.getText()); break; } case WILDCARD: { AST tmp68_AST_in = (AST)_t; match(_t,WILDCARD); _t = _t.getNextSibling(); break; } case PREFIX_WILDCARD: { AST __t322 = _t; AST tmp69_AST_in = (AST)_t; match(_t,PREFIX_WILDCARD); _t = _t.getFirstChild(); nc2 = (AST)_t; match(_t,NCNAME); _t = _t.getNextSibling(); _t = __t322; _t = _t.getNextSibling(); qname= new QName(nc2.getText(), null, null); break; } case NCNAME: { AST __t323 = _t; nc3 = _t==ASTNULL ? null :(AST)_t; match(_t,NCNAME); _t = _t.getFirstChild(); AST tmp70_AST_in = (AST)_t; match(_t,WILDCARD); _t = _t.getNextSibling(); _t = __t323; _t = _t.getNextSibling(); String namespaceURI= context.getURIForPrefix(nc3.getText()); if (namespaceURI == null) throw new EXistException("No namespace defined for prefix " + nc.getText()); qname= new QName(null, namespaceURI, null); break; } default: { throw new NoViableAltException(_t); } } } NodeTest test= qname == null ? new TypeTest(Type.ATTRIBUTE) : new NameTest(Type.ATTRIBUTE, qname); step= new LocationStep(context, Constants.ATTRIBUTE_AXIS, test); path.add(step); { _loop325: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==PREDICATE)) { predicate(_t,(LocationStep) step); _t = _retTree; } else { break _loop325; } } while (true); } break; } case SELF: { AST tmp71_AST_in = (AST)_t; match(_t,SELF); _t = _t.getNextSibling(); step= new LocationStep(context, Constants.SELF_AXIS, new TypeTest(Type.NODE)); path.add(step); { _loop327: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==PREDICATE)) { predicate(_t,(LocationStep) step); _t = _retTree; } else { break _loop327; } } while (true); } break; } case PARENT: { AST tmp72_AST_in = (AST)_t; match(_t,PARENT); _t = _t.getNextSibling(); step= new LocationStep(context, Constants.PARENT_AXIS, new TypeTest(Type.NODE)); path.add(step); { _loop329: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==PREDICATE)) { predicate(_t,(LocationStep) step); _t = _retTree; } else { break _loop329; } } while (true); } break; } case SLASH: { AST __t330 = _t; AST tmp73_AST_in = (AST)_t; match(_t,SLASH); _t = _t.getFirstChild(); step=expr(_t,path); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case QNAME: case PARENTHESIZED: case ABSOLUTE_SLASH: case ABSOLUTE_DSLASH: case WILDCARD: case PREFIX_WILDCARD: case FUNCTION: case UNARY_MINUS: case UNARY_PLUS: case VARIABLE_REF: case ELEMENT: case TEXT: case NCNAME: case STRING_LITERAL: case EQ: case LCURLY: case COMMA: case STAR: case PLUS: case LITERAL_some: case LITERAL_if: case LITERAL_return: case LITERAL_or: case LITERAL_and: case LITERAL_cast: case LITERAL_eq: case LITERAL_ne: case LITERAL_lt: case LITERAL_le: case LITERAL_gt: case LITERAL_ge: case NEQ: case GT: case GTEQ: case LT: case LTEQ: case ANDEQ: case OREQ: case LITERAL_to: case MINUS: case LITERAL_div: case LITERAL_idiv: case LITERAL_mod: case UNION: case LITERAL_intersect: case LITERAL_except: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case SELF: case XML_COMMENT: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_attribute: case LITERAL_descendant: case 115: case 116: case LITERAL_parent: case LITERAL_ancestor: case 119: case 120: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_PI: { rightStep=expr(_t,path); _t = _retTree; if (rightStep instanceof LocationStep) { if(((LocationStep) rightStep).getAxis() == -1) ((LocationStep) rightStep).setAxis(Constants.CHILD_AXIS); } else { //rightStep = new SimpleStep(context, Constants.CHILD_AXIS, rightStep); rightStep.setPrimaryAxis(Constants.CHILD_AXIS); //path.replaceLastExpression(rightStep); } break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t330; _t = _t.getNextSibling(); if (step instanceof LocationStep && ((LocationStep) step).getAxis() == -1) ((LocationStep) step).setAxis(Constants.CHILD_AXIS); break; } case DSLASH: { AST __t332 = _t; AST tmp74_AST_in = (AST)_t; match(_t,DSLASH); _t = _t.getFirstChild(); step=expr(_t,path); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case QNAME: case PARENTHESIZED: case ABSOLUTE_SLASH: case ABSOLUTE_DSLASH: case WILDCARD: case PREFIX_WILDCARD: case FUNCTION: case UNARY_MINUS: case UNARY_PLUS: case VARIABLE_REF: case ELEMENT: case TEXT: case NCNAME: case STRING_LITERAL: case EQ: case LCURLY: case COMMA: case STAR: case PLUS: case LITERAL_some: case LITERAL_if: case LITERAL_return: case LITERAL_or: case LITERAL_and: case LITERAL_cast: case LITERAL_eq: case LITERAL_ne: case LITERAL_lt: case LITERAL_le: case LITERAL_gt: case LITERAL_ge: case NEQ: case GT: case GTEQ: case LT: case LTEQ: case ANDEQ: case OREQ: case LITERAL_to: case MINUS: case LITERAL_div: case LITERAL_idiv: case LITERAL_mod: case UNION: case LITERAL_intersect: case LITERAL_except: case SLASH: case DSLASH: case LITERAL_text: case LITERAL_node: case SELF: case XML_COMMENT: case AT: case PARENT: case LITERAL_child: case LITERAL_self: case LITERAL_attribute: case LITERAL_descendant: case 115: case 116: case LITERAL_parent: case LITERAL_ancestor: case 119: case 120: case DOUBLE_LITERAL: case DECIMAL_LITERAL: case INTEGER_LITERAL: case XML_PI: { rightStep=expr(_t,path); _t = _retTree; if (rightStep instanceof LocationStep) { LocationStep rs= (LocationStep) rightStep; if (rs.getAxis() == Constants.ATTRIBUTE_AXIS) rs.setAxis(Constants.DESCENDANT_ATTRIBUTE_AXIS); else rs.setAxis(Constants.DESCENDANT_SELF_AXIS); } else { rightStep.setPrimaryAxis(Constants.DESCENDANT_SELF_AXIS); } break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t332; _t = _t.getNextSibling(); if (step instanceof LocationStep && ((LocationStep) step).getAxis() == -1) ((LocationStep) step).setAxis(Constants.DESCENDANT_SELF_AXIS); break; } default: { throw new NoViableAltException(_t); } } _retTree = _t; return step; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/d31ac0d651739cc32d55579c14a0786f6bfb4200/XPathTreeParser2.java/clean/src/org/exist/parser/XPathTreeParser2.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 5371, 225, 589, 4742, 12, 9053, 389, 88, 16, 202, 202, 743, 4742, 589, 202, 13, 1216, 9539, 16, 8509, 15877, 16, 2294, 376, 503, 16, 14124, 503, 288, 202, 202, 2300, 2235, 31, 9506, 202, 9053, 589, 4742, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 9053, 31054, 273, 446, 31, 202, 202, 9053, 8194, 21, 273, 446, 31, 202, 202, 9053, 8194, 273, 446, 31, 202, 202, 9053, 1604, 273, 446, 31, 202, 202, 9053, 8194, 22, 273, 446, 31, 202, 202, 9053, 8194, 23, 273, 446, 31, 6862, 202, 2300, 2145, 4160, 33, 446, 31, 1082, 202, 4119, 33, 446, 31, 1082, 202, 474, 2654, 33, 5245, 18, 27043, 67, 25614, 31, 25083, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 202, 202, 3593, 2238, 1985, 30, 202, 202, 3593, 678, 29067, 30, 202, 202, 3593, 17154, 67, 59, 29067, 30, 202, 202, 3593, 423, 39, 1985, 30, 202, 202, 3593, 511, 18454, 67, 955, 30, 202, 202, 3593, 511, 18454, 67, 2159, 30, 202, 202, 3593, 511, 18454, 67, 3624, 30, 202, 202, 3593, 511, 18454, 67, 2890, 30, 202, 202, 3593, 511, 18454, 67, 4589, 30, 202, 202, 3593, 511, 18454, 67, 26236, 970, 30, 202, 202, 3593, 22821, 30, 202, 202, 3593, 18973, 30, 202, 202, 3593, 511, 18454, 67, 2938, 30, 202, 202, 3593, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 5371, 225, 589, 4742, 12, 9053, 389, 88, 16, 202, 202, 743, 4742, 589, 202, 13, 1216, 9539, 16, 8509, 15877, 16, 2294, 376, 503, 16, 14124, 503, 288, 202, 202, 2300, 2235, 31, 9506, 202, 9053, 589, 4742, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 9053, 31054, 273, 446, 31, 202, 202, 9053, 8194, 21, 273, 446, 31, 202, 202, 9053, 8194, 273, 446, 31, 202, 202, 9053, 1604, 273, 446, 31, 202, 202, 9053, 8194, 22, 273, 446, 31, 202, 202, 9053, 8194, 23, 273, 446, 31, 6862, 202, 2300, 2145, 4160, 33, 446, 31, 1082, 202, 4119, 33, 446, 31, 1082, 202, 474, 2654, 33, 5245, 2 ]
return (getRecentCompetenceCourseInformation() != null) ? getRecentCompetenceCourseInformation().getEvaluationMethodEn() : null;
return getRecentCompetenceCourseInformation().getEvaluationMethodEn();
public String getEvaluationMethodEn() { return (getRecentCompetenceCourseInformation() != null) ? getRecentCompetenceCourseInformation().getEvaluationMethodEn() : null; }
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/2efa378284bf03f756efa31351cc2ec9d629a54e/CompetenceCourse.java/clean/src/net/sourceforge/fenixedu/domain/CompetenceCourse.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 4774, 4531, 367, 1305, 664, 1435, 288, 3639, 327, 5561, 2998, 2945, 278, 802, 39, 3117, 5369, 7675, 588, 13468, 1305, 664, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 4774, 4531, 367, 1305, 664, 1435, 288, 3639, 327, 5561, 2998, 2945, 278, 802, 39, 3117, 5369, 7675, 588, 13468, 1305, 664, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
this.closure.setMetaClass(metaClass); }
this.closure.setMetaClass(metaClass); }
public void setMetaClass(MetaClass metaClass) { this.closure.setMetaClass(metaClass); }
6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/9411e347dd46bbc42695d463bec72ecaed0a490a/Closure.java/clean/src/main/groovy/lang/Closure.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 29234, 797, 12, 2781, 797, 2191, 797, 13, 288, 1082, 202, 2211, 18, 20823, 18, 542, 2781, 797, 12, 3901, 797, 1769, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 29234, 797, 12, 2781, 797, 2191, 797, 13, 288, 1082, 202, 2211, 18, 20823, 18, 542, 2781, 797, 12, 3901, 797, 1769, 202, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
IEditorPart editor = (IEditorPart)editors[i].getPart(false); activationList.remove(editors[i]); if(editor != null) { firePartClosed(editor); disposePart(editor); }
IEditorReference editor = editors[i]; activationList.remove(editor); firePartClosed(editor); disposePart(editor);
public boolean closeAllEditors(boolean save) { // If part is added / removed always unzoom. if (isZoomed()) zoomOut(); // Save part. if (save && !getEditorManager().saveAll(true, true)) return false; // Deactivate part. boolean deactivate = activePart instanceof IEditorPart; if (deactivate) setActivePart(null); lastActiveEditor = null; actionSwitcher.updateTopEditor(null); // Close all editors. IEditorReference[] editors = getEditorManager().getEditors(); getEditorManager().closeAll(); for (int i = 0; i < editors.length; i ++) { IEditorPart editor = (IEditorPart)editors[i].getPart(false); activationList.remove(editors[i]); if(editor != null) { firePartClosed(editor); disposePart(editor); } } if (deactivate) activate(activationList.getActive()); // Notify interested listeners window.firePerspectiveChanged(this, getPerspective(), CHANGE_EDITOR_CLOSE); //if it was the last part, close the perspective lastPartClosePerspective(); // Return true on success. return true;}
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/3927ef725ff1f47354c3825af835c364375b4916/WorkbenchPage.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 1250, 1746, 1595, 4666, 1383, 12, 6494, 1923, 13, 288, 202, 759, 971, 1087, 353, 3096, 342, 3723, 3712, 640, 14932, 18, 202, 430, 261, 291, 11497, 329, 10756, 202, 202, 14932, 1182, 5621, 1082, 202, 759, 7074, 1087, 18, 202, 430, 261, 5688, 597, 401, 588, 6946, 1318, 7675, 5688, 1595, 12, 3767, 16, 638, 3719, 202, 202, 2463, 629, 31, 202, 759, 1505, 10014, 1087, 18, 202, 6494, 18790, 273, 2695, 1988, 1276, 467, 6946, 1988, 31, 202, 430, 261, 323, 10014, 13, 202, 202, 542, 3896, 1988, 12, 2011, 1769, 202, 2722, 3896, 6946, 273, 446, 31, 202, 1128, 10200, 264, 18, 2725, 3401, 6946, 12, 2011, 1769, 9506, 202, 759, 3527, 777, 29431, 18, 202, 45, 6946, 2404, 8526, 29431, 273, 336, 6946, 1318, 7675, 588, 4666, 1383, 5621, 202, 588, 6946, 1318, 7675, 4412, 1595, 5621, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 29431, 18, 2469, 31, 277, 965, 13, 288, 202, 202, 45, 6946, 1988, 4858, 273, 261, 45, 6946, 1988, 13, 4619, 1383, 63, 77, 8009, 588, 1988, 12, 5743, 1769, 202, 202, 16908, 682, 18, 4479, 12, 4619, 1383, 63, 77, 19226, 202, 202, 430, 12, 9177, 480, 446, 13, 288, 1082, 202, 12179, 1988, 7395, 12, 9177, 1769, 1082, 202, 2251, 4150, 1988, 12, 9177, 1769, 202, 202, 97, 202, 97, 202, 430, 261, 323, 10014, 13, 202, 202, 10014, 12, 16908, 682, 18, 588, 3896, 10663, 1082, 202, 759, 10918, 20506, 4679, 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, 1071, 1250, 1746, 1595, 4666, 1383, 12, 6494, 1923, 13, 288, 202, 759, 971, 1087, 353, 3096, 342, 3723, 3712, 640, 14932, 18, 202, 430, 261, 291, 11497, 329, 10756, 202, 202, 14932, 1182, 5621, 1082, 202, 759, 7074, 1087, 18, 202, 430, 261, 5688, 597, 401, 588, 6946, 1318, 7675, 5688, 1595, 12, 3767, 16, 638, 3719, 202, 202, 2463, 629, 31, 202, 759, 1505, 10014, 1087, 18, 202, 6494, 18790, 273, 2695, 1988, 1276, 467, 6946, 1988, 31, 202, 430, 261, 323, 10014, 13, 202, 202, 542, 3896, 1988, 12, 2011, 1769, 202, 2722, 3896, 6946, 273, 446, 31, 202, 1128, 10200, 264, 18, 2725, 3401, 6946, 12, 2011, 1769, 9506, 202, 759, 3527, 777, 29431, 18, 2 ]
return false;
return true;
public boolean isInterleaved(String id) throws FormatException, IOException { return false; }
46826 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46826/60468423aa07e5346071fe038c1324472c41e09e/ImageIOReader.java/clean/loci/formats/in/ImageIOReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 353, 2465, 22593, 12, 780, 612, 13, 1216, 4077, 503, 16, 1860, 288, 565, 327, 638, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 353, 2465, 22593, 12, 780, 612, 13, 1216, 4077, 503, 16, 1860, 288, 565, 327, 638, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 (length() == 1)
if (index < length())
XML replace(long index, Object xml) { if (length() == 1) { return getXmlFromAnnotation(0).replace(index, xml); } else { throw ScriptRuntime.typeError("The replace method works only on lists containing one item"); } }
47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/347734a288cc52cc58154ef5e55d0c26058627eb/XMLList.java/buggy/js/rhino/xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3167, 1453, 12, 5748, 770, 16, 1033, 2025, 13, 565, 288, 3639, 309, 261, 1615, 411, 769, 10756, 3639, 288, 5411, 327, 28504, 1265, 3257, 12, 20, 2934, 2079, 12, 1615, 16, 2025, 1769, 3639, 289, 3639, 469, 3639, 288, 5411, 604, 7739, 5576, 18, 723, 668, 2932, 1986, 1453, 707, 6330, 1338, 603, 6035, 4191, 1245, 761, 8863, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3167, 1453, 12, 5748, 770, 16, 1033, 2025, 13, 565, 288, 3639, 309, 261, 1615, 411, 769, 10756, 3639, 288, 5411, 327, 28504, 1265, 3257, 12, 20, 2934, 2079, 12, 1615, 16, 2025, 1769, 3639, 289, 3639, 469, 3639, 288, 5411, 604, 7739, 5576, 18, 723, 668, 2932, 1986, 1453, 707, 6330, 1338, 603, 6035, 4191, 1245, 761, 8863, 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 ]
if (expressions.entry(j).callMethod("===", expression.toRubyObject()).isTrue()) {
if (expressions.entry(j).callMethod("===", expression).isTrue()) {
public void visitCaseNode(CaseNode iVisited) { if (iVisited.getCaseNode() != null) { IRubyObject expression = eval(iVisited.getCaseNode()); Iterator iter = iVisited.getWhenNodes().iterator(); for (int i = 0, size = iVisited.getWhenNodes().size(); i < size; i++) { WhenNode whenNode = (WhenNode) iter.next(); ruby.setSourceLine(whenNode.getPosition().getLine()); ruby.setSourceFile(whenNode.getPosition().getFile()); if (isTrace()) { callTraceFunction( "line", ruby.getSourceFile(), ruby.getSourceLine(), self, ruby.getCurrentFrame().getLastFunc(), ruby.getCurrentFrame().getLastClass()); } RubyArray expressions = (RubyArray) eval(whenNode.getExpressionNodes()); for (int j = 0, len = expressions.getLength(); j < len; j++) { if (expressions.entry(j).callMethod("===", expression.toRubyObject()).isTrue()) { eval(whenNode); return; } } } } else { Iterator iter = iVisited.getWhenNodes().iterator(); while (iter.hasNext()) { WhenNode whenNode = (WhenNode) iter.next(); ruby.setSourceLine(whenNode.getPosition().getLine()); ruby.setSourceFile(whenNode.getPosition().getFile()); if (isTrace()) { callTraceFunction( "line", ruby.getSourceFile(), ruby.getSourceLine(), self, ruby.getCurrentFrame().getLastFunc(), ruby.getCurrentFrame().getLastClass()); } RubyArray expressions = (RubyArray) eval(whenNode.getExpressionNodes()); for (int i = 0; i < expressions.getLength(); i++) { if (expressions.entry(i).isTrue()) { eval(whenNode); return; } } } } eval(iVisited.getElseNode()); }
45221 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45221/f235ab756f32ea9496f8f880066b46ad95ebb692/EvaluateVisitor.java/clean/org/jruby/evaluator/EvaluateVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3757, 2449, 907, 12, 2449, 907, 277, 30019, 13, 288, 3639, 309, 261, 77, 30019, 18, 588, 2449, 907, 1435, 480, 446, 13, 288, 5411, 15908, 10340, 921, 2652, 273, 5302, 12, 77, 30019, 18, 588, 2449, 907, 10663, 5411, 4498, 1400, 273, 277, 30019, 18, 588, 9434, 3205, 7675, 9838, 5621, 5411, 364, 261, 474, 277, 273, 374, 16, 963, 273, 277, 30019, 18, 588, 9434, 3205, 7675, 1467, 5621, 277, 411, 963, 31, 277, 27245, 288, 7734, 5203, 907, 1347, 907, 273, 261, 9434, 907, 13, 1400, 18, 4285, 5621, 7734, 22155, 18, 542, 1830, 1670, 12, 13723, 907, 18, 588, 2555, 7675, 588, 1670, 10663, 7734, 22155, 18, 542, 31150, 12, 13723, 907, 18, 588, 2555, 7675, 29925, 10663, 7734, 309, 261, 291, 3448, 10756, 288, 10792, 745, 3448, 2083, 12, 13491, 315, 1369, 3113, 13491, 22155, 18, 588, 31150, 9334, 13491, 22155, 18, 588, 1830, 1670, 9334, 13491, 365, 16, 13491, 22155, 18, 588, 3935, 3219, 7675, 588, 3024, 2622, 9334, 13491, 22155, 18, 588, 3935, 3219, 7675, 588, 3024, 797, 10663, 7734, 289, 7734, 19817, 1076, 8041, 273, 261, 54, 10340, 1076, 13, 5302, 12, 13723, 907, 18, 588, 2300, 3205, 10663, 7734, 364, 261, 474, 525, 273, 374, 16, 562, 273, 8041, 18, 588, 1782, 5621, 525, 411, 562, 31, 525, 27245, 288, 10792, 309, 261, 21480, 18, 4099, 12, 78, 2934, 1991, 1305, 2932, 631, 1546, 16, 2652, 2934, 291, 5510, 10756, 288, 13491, 5302, 12, 13723, 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, 2449, 907, 12, 2449, 907, 277, 30019, 13, 288, 3639, 309, 261, 77, 30019, 18, 588, 2449, 907, 1435, 480, 446, 13, 288, 5411, 15908, 10340, 921, 2652, 273, 5302, 12, 77, 30019, 18, 588, 2449, 907, 10663, 5411, 4498, 1400, 273, 277, 30019, 18, 588, 9434, 3205, 7675, 9838, 5621, 5411, 364, 261, 474, 277, 273, 374, 16, 963, 273, 277, 30019, 18, 588, 9434, 3205, 7675, 1467, 5621, 277, 411, 963, 31, 277, 27245, 288, 7734, 5203, 907, 1347, 907, 273, 261, 9434, 907, 13, 1400, 18, 4285, 5621, 7734, 22155, 18, 542, 1830, 1670, 12, 13723, 907, 18, 588, 2555, 7675, 588, 1670, 10663, 7734, 22155, 18, 542, 31150, 12, 13723, 907, 2 ]
getPresentation().setActive(activeState ? StackPresentation.AS_ACTIVE_FOCUS : StackPresentation.AS_INACTIVE);
presentationSite.setActive(activeState);
public void setActive(boolean activeState) { if (activeState) { if (presentationSite.getState() == IStackPresentationSite.STATE_MINIMIZED) { setState(IStackPresentationSite.STATE_RESTORED); } } getPresentation().setActive(activeState ? StackPresentation.AS_ACTIVE_FOCUS : StackPresentation.AS_INACTIVE); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/caa606c7325710ffec5da6d00cdda37dc6bd0c74/PartStack.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PartStack.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 20669, 12, 6494, 2695, 1119, 13, 288, 3639, 309, 261, 3535, 1119, 13, 288, 5411, 309, 261, 10364, 4956, 18, 588, 1119, 1435, 422, 467, 2624, 6351, 367, 4956, 18, 7998, 67, 6236, 3445, 24131, 13, 288, 7734, 12947, 12, 45, 2624, 6351, 367, 4956, 18, 7998, 67, 12030, 51, 5879, 1769, 5411, 289, 10792, 289, 3639, 22525, 4956, 18, 542, 3896, 12, 3535, 1119, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 20669, 12, 6494, 2695, 1119, 13, 288, 3639, 309, 261, 3535, 1119, 13, 288, 5411, 309, 261, 10364, 4956, 18, 588, 1119, 1435, 422, 467, 2624, 6351, 367, 4956, 18, 7998, 67, 6236, 3445, 24131, 13, 288, 7734, 12947, 12, 45, 2624, 6351, 367, 4956, 18, 7998, 67, 12030, 51, 5879, 1769, 5411, 289, 10792, 289, 3639, 22525, 4956, 18, 542, 3896, 12, 3535, 1119, 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 ]
iCodeTop = addStringOp(Token.STRING, name, iCodeTop); itsStackDepth += 2; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; iCodeTop = addIcode(type == Token.INC ? Icode_PROPINC : Icode_PROPDEC, iCodeTop); itsStackDepth--;
stackChange(1); int op = (type == Token.INC) ? Icode_PROPINC : Icode_PROPDEC; iCodeTop = addStringOp(op, name, iCodeTop);
private int generateICode(Node node, int iCodeTop) { int type = node.getType(); Node child = node.getFirstChild(); Node firstChild = child; int savedStackDepth = itsStackDepth; int stackDelta = 0; // expected stack change for subtree code boolean stackShouldBeZero = false; switch (type) { case Token.FUNCTION : { int fnIndex = node.getExistingIntProp(Node.FUNCTION_PROP); FunctionNode fn = scriptOrFn.getFunctionNode(fnIndex); if (fn.getFunctionType() != FunctionNode.FUNCTION_STATEMENT) { stackDelta = 1; // Only function expressions or function expression // statements needs closure code creating new function // object on stack as function statements are initialized // at script/function start iCodeTop = addIndexOp(Icode_CLOSURE, fnIndex, iCodeTop); stackChange(1); } else { stackShouldBeZero = true; } break; } case Token.SCRIPT : stackShouldBeZero = true; iCodeTop = updateLineNumber(node, iCodeTop); while (child != null) { if (child.getType() != Token.FUNCTION) iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); } break; case Token.CASE : // Skip case condition child = child.getNext(); // fallthrough case Token.LABEL : case Token.LOOP : case Token.DEFAULT : case Token.BLOCK : case Token.EMPTY : stackShouldBeZero = true; iCodeTop = updateLineNumber(node, iCodeTop); while (child != null) { iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); } break; case Token.WITH : ++itsWithDepth; stackShouldBeZero = true; iCodeTop = updateLineNumber(node, iCodeTop); while (child != null) { iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); } --itsWithDepth; break; case Token.LOCAL_BLOCK : stackShouldBeZero = true; if ((itsLocalTop & ~0xFF) != 0) { throw Context.reportRuntimeError( "Program too complex (out of locals)"); } node.putIntProp(Node.LOCAL_PROP, itsLocalTop); ++itsLocalTop; if (itsLocalTop > itsData.itsMaxLocals) { itsData.itsMaxLocals = itsLocalTop; } iCodeTop = updateLineNumber(node, iCodeTop); while (child != null) { iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); } --itsLocalTop; break; case Token.LOCAL_LOAD : { stackDelta = 1; int localIndex = getLocalBlockRef(node); iCodeTop = addIndexOp(Token.LOCAL_LOAD, localIndex, iCodeTop); stackChange(1); break; } case Token.COMMA : stackDelta = 1; iCodeTop = generateICode(child, iCodeTop); while (null != (child = child.getNext())) { if (1 != itsStackDepth - savedStackDepth) Kit.codeBug(); iCodeTop = addToken(Token.POP, iCodeTop); itsStackDepth--; iCodeTop = generateICode(child, iCodeTop); } break; case Token.INIT_LIST : stackDelta = 1; iCodeTop = generateICode(child, iCodeTop); while (null != (child = child.getNext())) { if (1 != itsStackDepth - savedStackDepth) Kit.codeBug(); iCodeTop = addIcode(Icode_DUP, iCodeTop); // No stack adjusting: USE_STACK in subtree will do it iCodeTop = generateICode(child, iCodeTop); iCodeTop = addToken(Token.POP, iCodeTop); itsStackDepth--; } break; case Token.USE_STACK: // Indicates that stack was modified externally, // like placed catch object stackDelta = 1; itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; case Token.SWITCH : { stackShouldBeZero = true; Node.Jump switchNode = (Node.Jump)node; iCodeTop = updateLineNumber(switchNode, iCodeTop); iCodeTop = generateICode(child, iCodeTop); ObjArray cases = (ObjArray) switchNode.getProp(Node.CASES_PROP); for (int i = 0; i < cases.size(); i++) { Node thisCase = (Node)cases.get(i); Node first = thisCase.getFirstChild(); // the case expression is the firstmost child // the rest will be generated when the case // statements are encountered as siblings of // the switch statement. iCodeTop = generateICode(first, iCodeTop); iCodeTop = addIcode(Icode_DUPSECOND, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; iCodeTop = addToken(Token.SHEQ, iCodeTop); itsStackDepth--; Node.Target target = new Node.Target(); thisCase.addChildAfter(target, first); // If true, Icode_IFEQ_POP will jump and remove case value // from stack iCodeTop = addGoto(target, Icode_IFEQ_POP, iCodeTop); itsStackDepth--; } iCodeTop = addToken(Token.POP, iCodeTop); itsStackDepth--; Node defaultNode = (Node) switchNode.getProp(Node.DEFAULT_PROP); if (defaultNode != null) { Node.Target defaultTarget = new Node.Target(); defaultNode.getFirstChild(). addChildToFront(defaultTarget); iCodeTop = addGoto(defaultTarget, Token.GOTO, iCodeTop); } Node.Target breakTarget = switchNode.target; iCodeTop = addGoto(breakTarget, Token.GOTO, iCodeTop); break; } case Token.TARGET : stackShouldBeZero = true; markTargetLabel((Node.Target)node, iCodeTop); break; case Token.NEW : case Token.CALL : { stackDelta = 1; if (type == Token.NEW) { iCodeTop = generateICode(child, iCodeTop); } else { iCodeTop = generateCallFunAndThis(child, iCodeTop); if (itsStackDepth - savedStackDepth != 2) Kit.codeBug(); } int argCount = 0; while ((child = child.getNext()) != null) { iCodeTop = generateICode(child, iCodeTop); ++argCount; } int callType = node.getIntProp(Node.SPECIALCALL_PROP, Node.NON_SPECIALCALL); if (callType != Node.NON_SPECIALCALL) { // embed line number and source filename iCodeTop = addIndexOp(Icode_CALLSPECIAL, argCount, iCodeTop); iCodeTop = addByte(callType, iCodeTop); iCodeTop = addByte(type == Token.NEW ? 1 : 0, iCodeTop); iCodeTop = addShort(itsLineNumber, iCodeTop); } else { iCodeTop = addIndexOp(type, argCount, iCodeTop); } // adjust stack if (type == Token.NEW) { // f, args -> results itsStackDepth -= argCount; } else { // f, thisObj, args -> results itsStackDepth -= (argCount + 1); } if (argCount > itsData.itsMaxCalleeArgs) itsData.itsMaxCalleeArgs = argCount; break; } case Token.IFEQ : case Token.IFNE : iCodeTop = generateICode(child, iCodeTop); itsStackDepth--; // after the conditional GOTO, really // fall thru... case Token.GOTO : { stackShouldBeZero = true; Node.Target target = ((Node.Jump)node).target; iCodeTop = addGoto(target, (byte) type, iCodeTop); break; } case Token.JSR : { stackShouldBeZero = true; Node.Target target = ((Node.Jump)node).target; iCodeTop = addGoto(target, Icode_GOSUB, iCodeTop); break; } case Token.FINALLY : { stackShouldBeZero = true; // Account for incomming exception or GOTOSUB address ++itsStackDepth; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; int finallyRegister = getLocalBlockRef(node); iCodeTop = addIndexOp(Token.LOCAL_SAVE, finallyRegister, iCodeTop); itsStackDepth--; while (child != null) { iCodeTop = generateICode(child, iCodeTop); if (itsStackDepth != 0) Kit.codeBug(); child = child.getNext(); } iCodeTop = addIndexOp(Icode_RETSUB, finallyRegister, iCodeTop); break; } case Token.AND : case Token.OR : { stackDelta = 1; iCodeTop = generateICode(child, iCodeTop); iCodeTop = addIcode(Icode_DUP, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; int afterSecondJumpStart = iCodeTop; int jump = (type == Token.AND) ? Token.IFNE : Token.IFEQ; iCodeTop = addForwardGoto(jump, iCodeTop); itsStackDepth--; iCodeTop = addToken(Token.POP, iCodeTop); itsStackDepth--; child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); resolveForwardGoto(afterSecondJumpStart, iCodeTop); break; } case Token.HOOK : { stackDelta = 1; Node ifThen = child.getNext(); Node ifElse = ifThen.getNext(); iCodeTop = generateICode(child, iCodeTop); int elseJumpStart = iCodeTop; iCodeTop = addForwardGoto(Token.IFNE, iCodeTop); itsStackDepth--; iCodeTop = generateICode(ifThen, iCodeTop); int afterElseJumpStart = iCodeTop; iCodeTop = addForwardGoto(Token.GOTO, iCodeTop); resolveForwardGoto(elseJumpStart, iCodeTop); itsStackDepth = savedStackDepth; iCodeTop = generateICode(ifElse, iCodeTop); resolveForwardGoto(afterElseJumpStart, iCodeTop); break; } case Token.GETPROP : stackDelta = 1; iCodeTop = visitGetProp(iCodeTop, node, child, false); break; case Token.GETELEM : stackDelta = 1; iCodeTop = visitGetElem(iCodeTop, node, child, false); break; case Token.DELPROP : case Token.BITAND : case Token.BITOR : case Token.BITXOR : case Token.LSH : case Token.RSH : case Token.URSH : case Token.ADD : case Token.SUB : case Token.MOD : case Token.DIV : case Token.MUL : case Token.EQ: case Token.NE: case Token.SHEQ: case Token.SHNE: case Token.IN : case Token.INSTANCEOF : case Token.LE : case Token.LT : case Token.GE : case Token.GT : stackDelta = 1; iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addToken(type, iCodeTop); itsStackDepth--; break; case Token.POS : case Token.NEG : case Token.NOT : case Token.BITNOT : case Token.TYPEOF : case Token.VOID : stackDelta = 1; iCodeTop = generateICode(child, iCodeTop); if (type == Token.VOID) { iCodeTop = addToken(Token.POP, iCodeTop); iCodeTop = addToken(Token.UNDEFINED, iCodeTop); } else { iCodeTop = addToken(type, iCodeTop); } break; case Token.SETPROP : case Token.SETPROP_OP : { stackDelta = 1; iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); int special = node.getIntProp(Node.SPECIAL_PROP_PROP, 0); if (special != 0) { if (type == Token.SETPROP_OP) { iCodeTop = addIcode(Icode_DUP, iCodeTop); if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; if (special == Node.SPECIAL_PROP_PROTO) { iCodeTop = addIcode(Icode_GETPROTO, iCodeTop); } else if (special == Node.SPECIAL_PROP_PARENT) { iCodeTop = addIcode(Icode_GETSCOPEPARENT, iCodeTop); } else { throw badTree(node); } // Compensate for the following USE_STACK itsStackDepth--; } iCodeTop = generateICode(child, iCodeTop); if (special == Node.SPECIAL_PROP_PROTO) { iCodeTop = addIcode(Icode_SETPROTO, iCodeTop); } else if (special == Node.SPECIAL_PROP_PARENT) { iCodeTop = addIcode(Icode_SETPARENT, iCodeTop); } else { throw badTree(node); } itsStackDepth--; } else { iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); if (type == Token.SETPROP_OP) { iCodeTop = addIcode(Icode_DUPSECOND, iCodeTop); iCodeTop = addIcode(Icode_DUPSECOND, iCodeTop); itsStackDepth += 2; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; iCodeTop = addToken(Token.GETPROP, iCodeTop); itsStackDepth--; // Compensate for the following USE_STACK itsStackDepth--; } iCodeTop = generateICode(child, iCodeTop); iCodeTop = addToken(Token.SETPROP, iCodeTop); itsStackDepth -= 2; } break; } case Token.SETELEM : case Token.SETELEM_OP : stackDelta = 1; iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); if (type == Token.SETELEM_OP) { iCodeTop = addIcode(Icode_DUPSECOND, iCodeTop); iCodeTop = addIcode(Icode_DUPSECOND, iCodeTop); itsStackDepth += 2; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; iCodeTop = addToken(Token.GETELEM, iCodeTop); itsStackDepth--; // Compensate for the following USE_STACK itsStackDepth--; } iCodeTop = generateICode(child, iCodeTop); iCodeTop = addToken(Token.SETELEM, iCodeTop); itsStackDepth -= 2; break; case Token.SETNAME : stackDelta = 1; iCodeTop = generateICode(child, iCodeTop); child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addStringOp(Token.SETNAME, firstChild.getString(), iCodeTop); itsStackDepth--; break; case Token.TYPEOFNAME : { stackDelta = 1; String name = node.getString(); int index = -1; // use typeofname if an activation frame exists // since the vars all exist there instead of in jregs if (itsInFunctionFlag && !itsData.itsNeedsActivation) index = scriptOrFn.getParamOrVarIndex(name); if (index == -1) { iCodeTop = addStringOp(Icode_TYPEOFNAME, name, iCodeTop); stackChange(1); } else { iCodeTop = addToken(Token.GETVAR, iCodeTop); iCodeTop = addByte(index, iCodeTop); stackChange(1); iCodeTop = addToken(Token.TYPEOF, iCodeTop); } break; } case Token.BINDNAME : case Token.NAME : case Token.STRING : stackDelta = 1; iCodeTop = addStringOp(type, node.getString(), iCodeTop); stackChange(1); break; case Token.INC : case Token.DEC : { stackDelta = 1; int childType = child.getType(); switch (childType) { case Token.GETVAR : { String name = child.getString(); if (itsData.itsNeedsActivation) { iCodeTop = addIcode(Icode_SCOPE, iCodeTop); iCodeTop = addStringOp(Token.STRING, name, iCodeTop); itsStackDepth += 2; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; iCodeTop = addIcode(type == Token.INC ? Icode_PROPINC : Icode_PROPDEC, iCodeTop); itsStackDepth--; } else { int i = scriptOrFn.getParamOrVarIndex(name); iCodeTop = addIcode(type == Token.INC ? Icode_VARINC : Icode_VARDEC, iCodeTop); iCodeTop = addByte(i, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; } case Token.GETPROP : case Token.GETELEM : { Node getPropChild = child.getFirstChild(); iCodeTop = generateICode(getPropChild, iCodeTop); getPropChild = getPropChild.getNext(); iCodeTop = generateICode(getPropChild, iCodeTop); int icode; if (childType == Token.GETPROP) { icode = (type == Token.INC) ? Icode_PROPINC : Icode_PROPDEC; } else { icode = (type == Token.INC) ? Icode_ELEMINC : Icode_ELEMDEC; } iCodeTop = addIcode(icode, iCodeTop); itsStackDepth--; break; } default : { iCodeTop = addStringOp(type == Token.INC ? Icode_NAMEINC : Icode_NAMEDEC, child.getString(), iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; } } break; } case Token.NUMBER : { stackDelta = 1; double num = node.getDouble(); int inum = (int)num; if (inum == num) { if (inum == 0) { iCodeTop = addToken(Token.ZERO, iCodeTop); // Check for negative zero if (1.0 / num < 0.0) { iCodeTop = addToken(Token.NEG, iCodeTop); } } else if (inum == 1) { iCodeTop = addToken(Token.ONE, iCodeTop); } else if ((short)inum == inum) { iCodeTop = addIcode(Icode_SHORTNUMBER, iCodeTop); iCodeTop = addShort(inum, iCodeTop); } else { iCodeTop = addIcode(Icode_INTNUMBER, iCodeTop); iCodeTop = addInt(inum, iCodeTop); } } else { int index = getDoubleIndex(num); iCodeTop = addIndexOp(Token.NUMBER, index, iCodeTop); } stackChange(1); break; } case Token.POPV : stackShouldBeZero = true; // fallthrough case Token.POP : iCodeTop = updateLineNumber(node, iCodeTop); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addToken(type, iCodeTop); itsStackDepth--; break; case Token.ENTERWITH : stackShouldBeZero = true; iCodeTop = generateICode(child, iCodeTop); iCodeTop = addToken(Token.ENTERWITH, iCodeTop); itsStackDepth--; break; case Token.CATCH_SCOPE : stackDelta = 1; iCodeTop = generateICode(child, iCodeTop); iCodeTop = addStringOp(Token.CATCH_SCOPE, node.getString(), iCodeTop); break; case Token.LEAVEWITH : stackShouldBeZero = true; iCodeTop = addToken(Token.LEAVEWITH, iCodeTop); break; case Token.TRY : { stackShouldBeZero = true; Node.Jump tryNode = (Node.Jump)node; int exceptionObjectLocal = getLocalBlockRef(tryNode); Node catchTarget = tryNode.target; Node finallyTarget = tryNode.getFinally(); int tryStart = iCodeTop; int tryEnd = -1; int catchStart = -1; int finallyStart = -1; while (child != null) { boolean generated = false; if (child == catchTarget) { if (tryEnd >= 0) Kit.codeBug(); tryEnd = iCodeTop; catchStart = iCodeTop; markTargetLabel((Node.Target)child, iCodeTop); generated = true; } else if (child == finallyTarget) { if (tryEnd < 0) { tryEnd = iCodeTop; } finallyStart = iCodeTop; markTargetLabel((Node.Target)child, iCodeTop); generated = true; } if (!generated) { iCodeTop = generateICode(child, iCodeTop); } child = child.getNext(); } // [tryStart, tryEnd) contains GOSUB to call finally when it // presents at the end of try code and before return, break // continue that transfer control outside try. // After finally is executed the control will be // transfered back into [tryStart, tryEnd) and exception // handling assumes that the only code executed after // finally returns will be a jump outside try which could not // trigger exceptions. // It does not hold if instruction observer throws during // goto. Currently it may lead to double execution of finally. addExceptionHandler(tryStart, tryEnd, catchStart, finallyStart, itsWithDepth, exceptionObjectLocal); break; } case Token.THROW : stackShouldBeZero = true; iCodeTop = updateLineNumber(node, iCodeTop); iCodeTop = generateICode(child, iCodeTop); iCodeTop = addToken(Token.THROW, iCodeTop); iCodeTop = addShort(itsLineNumber, iCodeTop); itsStackDepth--; break; case Token.RETURN : stackShouldBeZero = true; iCodeTop = updateLineNumber(node, iCodeTop); if (child != null) { iCodeTop = generateICode(child, iCodeTop); iCodeTop = addToken(Token.RETURN, iCodeTop); itsStackDepth--; } else { iCodeTop = addIcode(Icode_RETUNDEF, iCodeTop); } break; case Token.RETURN_POPV : stackShouldBeZero = true; iCodeTop = updateLineNumber(node, iCodeTop); iCodeTop = addToken(Token.RETURN_POPV, iCodeTop); break; case Token.GETVAR : { stackDelta = 1; String name = node.getString(); if (itsData.itsNeedsActivation) { // SETVAR handled this by turning into a SETPROP, but // we can't do that to a GETVAR without manufacturing // bogus children. Instead we use a special op to // push the current scope. iCodeTop = addIcode(Icode_SCOPE, iCodeTop); iCodeTop = addStringOp(Token.STRING, name, iCodeTop); itsStackDepth += 2; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; iCodeTop = addToken(Token.GETPROP, iCodeTop); itsStackDepth--; } else { int index = scriptOrFn.getParamOrVarIndex(name); iCodeTop = addToken(Token.GETVAR, iCodeTop); iCodeTop = addByte(index, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; } break; } case Token.SETVAR : { stackDelta = 1; if (itsData.itsNeedsActivation) { child.setType(Token.BINDNAME); node.setType(Token.SETNAME); iCodeTop = generateICode(node, iCodeTop); } else { String name = child.getString(); child = child.getNext(); iCodeTop = generateICode(child, iCodeTop); int index = scriptOrFn.getParamOrVarIndex(name); iCodeTop = addToken(Token.SETVAR, iCodeTop); iCodeTop = addByte(index, iCodeTop); } break; } case Token.NULL: case Token.THIS: case Token.THISFN: case Token.FALSE: case Token.TRUE: case Token.UNDEFINED: stackDelta = 1; iCodeTop = addToken(type, iCodeTop); itsStackDepth++; if (itsStackDepth > itsData.itsMaxStack) itsData.itsMaxStack = itsStackDepth; break; case Token.ENUM_INIT : stackShouldBeZero = true; iCodeTop = generateICode(child, iCodeTop); iCodeTop = addIndexOp(Token.ENUM_INIT, getLocalBlockRef(node), iCodeTop); stackChange(-1); break; case Token.ENUM_NEXT : case Token.ENUM_ID : stackDelta = 1; iCodeTop = addIndexOp(type, getLocalBlockRef(node), iCodeTop); stackChange(1); break; case Token.REGEXP : { stackDelta = 1; int index = node.getExistingIntProp(Node.REGEXP_PROP); iCodeTop = addIndexOp(Token.REGEXP, index, iCodeTop); stackChange(1); break; } case Token.ARRAYLIT: case Token.OBJECTLIT: stackDelta = 1; iCodeTop = visitLiteral(iCodeTop, node, child); break; default : throw badTree(node); } if (stackDelta != itsStackDepth - savedStackDepth) { //System.out.println("Bad stack delta: type="+Token.name(type)+" expected="+stackDelta+" real="+ (itsStackDepth - savedStackDepth)); Kit.codeBug(); } if (stackShouldBeZero && !(stackDelta == 0 && itsStackDepth == 0)) { Kit.codeBug(); } return iCodeTop; }
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/bf289c63543f0cc34416017db6f071919cda9b64/Interpreter.java/clean/js/rhino/src/org/mozilla/javascript/Interpreter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 2103, 45, 1085, 12, 907, 756, 16, 509, 277, 1085, 3401, 13, 565, 288, 3639, 509, 618, 273, 756, 18, 588, 559, 5621, 3639, 2029, 1151, 273, 756, 18, 588, 3759, 1763, 5621, 3639, 2029, 15070, 273, 1151, 31, 3639, 509, 5198, 2624, 6148, 273, 2097, 2624, 6148, 31, 3639, 509, 2110, 9242, 273, 374, 31, 368, 2665, 2110, 2549, 364, 12773, 981, 3639, 1250, 2110, 14309, 1919, 7170, 273, 629, 31, 3639, 1620, 261, 723, 13, 288, 5411, 648, 3155, 18, 7788, 294, 288, 7734, 509, 2295, 1016, 273, 756, 18, 588, 9895, 1702, 4658, 12, 907, 18, 7788, 67, 15811, 1769, 7734, 4284, 907, 2295, 273, 2728, 1162, 5372, 18, 588, 2083, 907, 12, 4293, 1016, 1769, 7734, 309, 261, 4293, 18, 588, 2083, 559, 1435, 480, 4284, 907, 18, 7788, 67, 28411, 13, 288, 10792, 2110, 9242, 273, 404, 31, 10792, 368, 5098, 445, 8041, 578, 445, 2652, 10792, 368, 6317, 4260, 7213, 981, 4979, 394, 445, 10792, 368, 733, 603, 2110, 487, 445, 6317, 854, 6454, 10792, 368, 622, 2728, 19, 915, 787, 10792, 277, 1085, 3401, 273, 26794, 3817, 12, 45, 710, 67, 22693, 55, 4830, 16, 2295, 1016, 16, 277, 1085, 3401, 1769, 10792, 2110, 3043, 12, 21, 1769, 7734, 289, 469, 288, 10792, 2110, 14309, 1919, 7170, 273, 638, 31, 7734, 289, 7734, 898, 31, 5411, 289, 5411, 648, 3155, 18, 10885, 294, 7734, 2110, 14309, 1919, 7170, 273, 638, 31, 7734, 277, 1085, 3401, 273, 1089, 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, 509, 2103, 45, 1085, 12, 907, 756, 16, 509, 277, 1085, 3401, 13, 565, 288, 3639, 509, 618, 273, 756, 18, 588, 559, 5621, 3639, 2029, 1151, 273, 756, 18, 588, 3759, 1763, 5621, 3639, 2029, 15070, 273, 1151, 31, 3639, 509, 5198, 2624, 6148, 273, 2097, 2624, 6148, 31, 3639, 509, 2110, 9242, 273, 374, 31, 368, 2665, 2110, 2549, 364, 12773, 981, 3639, 1250, 2110, 14309, 1919, 7170, 273, 629, 31, 3639, 1620, 261, 723, 13, 288, 5411, 648, 3155, 18, 7788, 294, 288, 7734, 509, 2295, 1016, 273, 756, 18, 588, 9895, 1702, 4658, 12, 907, 18, 7788, 67, 15811, 1769, 7734, 4284, 907, 2295, 273, 2728, 1162, 5372, 18, 588, 2083, 907, 12, 2 ]
public org.quickfix.field.SettlInstTransType getSettlInstTransType() throws FieldNotFound { org.quickfix.field.SettlInstTransType value = new org.quickfix.field.SettlInstTransType();
public quickfix.field.SettlInstTransType getSettlInstTransType() throws FieldNotFound { quickfix.field.SettlInstTransType value = new quickfix.field.SettlInstTransType();
public org.quickfix.field.SettlInstTransType getSettlInstTransType() throws FieldNotFound { org.quickfix.field.SettlInstTransType value = new org.quickfix.field.SettlInstTransType(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/SettlementInstructions.java/clean/src/java/src/quickfix/fix41/SettlementInstructions.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 694, 6172, 10773, 1429, 559, 336, 694, 6172, 10773, 1429, 559, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 694, 6172, 10773, 1429, 559, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 694, 6172, 10773, 1429, 559, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 694, 6172, 10773, 1429, 559, 336, 694, 6172, 10773, 1429, 559, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 694, 6172, 10773, 1429, 559, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 694, 6172, 10773, 1429, 559, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public org.quickfix.field.RegistDtls get(org.quickfix.field.RegistDtls value)
public quickfix.field.RegistDtls get(quickfix.field.RegistDtls value)
public org.quickfix.field.RegistDtls get(org.quickfix.field.RegistDtls value) throws FieldNotFound { getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/RegistrationInstructions.java/buggy/src/java/src/quickfix/fix44/RegistrationInstructions.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 9549, 904, 18, 1518, 18, 1617, 376, 40, 17116, 336, 12, 19525, 904, 18, 1518, 18, 1617, 376, 40, 17116, 225, 460, 13, 565, 1216, 2286, 2768, 225, 288, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 9549, 904, 18, 1518, 18, 1617, 376, 40, 17116, 336, 12, 19525, 904, 18, 1518, 18, 1617, 376, 40, 17116, 225, 460, 13, 565, 1216, 2286, 2768, 225, 288, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void endDocument( ) throws SAXException { super.endDocument( ); // add all the exceptions to the module module.getAllExceptions( ).addAll( getErrorHandler( ).getErrors( ) ); // Check whether duplicate library namespace exists. List libraries = module.getAllLibraries( ); { Iterator iter = libraries.iterator( ); while ( iter.hasNext( ) ) { Library library = (Library) iter.next( ); if ( !library.isValid( ) ) { // Forward the fatal error to top level. Exception fatalException = ModelUtil .getFirstFatalException( library.getAllExceptions( ) ); if ( fatalException != null ) { XMLParserException exception = errorHandler .semanticError( fatalException ); module.getAllExceptions( ).add( exception ); } } } } // Skip the semantic check if we've already found errors. // Doing the semantic check would just uncover bogus errors // due to the ones we've already seen. if ( !module.getAllErrors( ).isEmpty( ) || module.getFatalException( ) != null ) { // The most errors which are found during parsing cannot be // recovered. module.setValid( false ); List allExceptions = new ArrayList( ); allExceptions.addAll( module.getAllExceptions( ) ); allExceptions.addAll( errorHandler.getWarnings( ) ); DesignFileException exception = new DesignFileException( module .getFileName( ), allExceptions ); throw new SAXException( exception ); } // the module is ok, then allocate the id for it and its contents module.manageId( module, true ); // Perform semantic check. The semantic error is recoverable. module.semanticCheck( module ); // translates warnings during parsing design files to ErrorDetail. if ( errorHandler.getWarnings( ) != null ) { module.getAllExceptions( ).addAll( errorHandler.getWarnings( ) ); } }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/21c70f47c2840b52107289eb0dfc883e4f4d2420/ModuleParserHandler.java/clean/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/parser/ModuleParserHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 679, 2519, 12, 262, 1216, 14366, 202, 95, 202, 202, 9565, 18, 409, 2519, 12, 11272, 202, 202, 759, 527, 777, 326, 4798, 358, 326, 1605, 202, 202, 2978, 18, 588, 1595, 11416, 12, 262, 18, 1289, 1595, 12, 7926, 1503, 12, 262, 18, 588, 4229, 12, 262, 11272, 202, 202, 759, 2073, 2856, 6751, 5313, 1981, 1704, 18, 202, 202, 682, 14732, 273, 1605, 18, 588, 1595, 31909, 12, 11272, 202, 202, 95, 1082, 202, 3198, 1400, 273, 14732, 18, 9838, 12, 11272, 1082, 202, 17523, 261, 1400, 18, 5332, 2134, 12, 262, 262, 1082, 202, 95, 9506, 202, 9313, 5313, 273, 261, 9313, 13, 1400, 18, 4285, 12, 11272, 9506, 202, 430, 261, 401, 12083, 18, 26810, 12, 262, 262, 9506, 202, 95, 6862, 202, 759, 17206, 326, 10081, 555, 358, 1760, 1801, 18, 6862, 202, 503, 10081, 503, 273, 3164, 1304, 6862, 1082, 202, 18, 588, 3759, 19593, 503, 12, 5313, 18, 588, 1595, 11416, 12, 262, 11272, 6862, 202, 430, 261, 10081, 503, 480, 446, 262, 6862, 202, 95, 25083, 202, 4201, 25746, 1520, 273, 17227, 6862, 9506, 202, 18, 12000, 9941, 668, 12, 10081, 503, 11272, 25083, 202, 2978, 18, 588, 1595, 11416, 12, 262, 18, 1289, 12, 1520, 11272, 6862, 202, 97, 9506, 202, 97, 1082, 202, 97, 202, 202, 97, 202, 202, 759, 6611, 326, 15178, 866, 309, 732, 8081, 1818, 1392, 1334, 18, 202, 202, 759, 2256, 310, 326, 15178, 866, 4102, 2537, 6301, 1643, 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, 679, 2519, 12, 262, 1216, 14366, 202, 95, 202, 202, 9565, 18, 409, 2519, 12, 11272, 202, 202, 759, 527, 777, 326, 4798, 358, 326, 1605, 202, 202, 2978, 18, 588, 1595, 11416, 12, 262, 18, 1289, 1595, 12, 7926, 1503, 12, 262, 18, 588, 4229, 12, 262, 11272, 202, 202, 759, 2073, 2856, 6751, 5313, 1981, 1704, 18, 202, 202, 682, 14732, 273, 1605, 18, 588, 1595, 31909, 12, 11272, 202, 202, 95, 1082, 202, 3198, 1400, 273, 14732, 18, 9838, 12, 11272, 1082, 202, 17523, 261, 1400, 18, 5332, 2134, 12, 262, 262, 1082, 202, 95, 9506, 202, 9313, 5313, 273, 261, 9313, 13, 1400, 18, 4285, 12, 11272, 9506, 202, 430, 261, 2 ]
else colors.setElementAt(color, functions.indexOf(function));
public void addFunction(IFunction function, Color color) { if ((function!=null) && (!functions.contains(function))) { functions.add(function); colors.add(color); } else colors.setElementAt(color, functions.indexOf(function)); }
46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/e9dfc42395ab748af7290d365085dea887c995e9/GraphRendererModel.java/clean/src/org/openscience/cdk/renderer/GraphRendererModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 527, 2083, 12, 45, 2083, 445, 16, 5563, 2036, 13, 225, 288, 565, 309, 14015, 915, 5, 33, 2011, 13, 597, 16051, 10722, 18, 12298, 12, 915, 20349, 565, 288, 1377, 4186, 18, 1289, 12, 915, 1769, 1377, 5740, 18, 1289, 12, 3266, 1769, 565, 289, 565, 469, 1377, 5740, 18, 542, 1046, 861, 12, 3266, 16, 4186, 18, 31806, 12, 915, 10019, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 527, 2083, 12, 45, 2083, 445, 16, 5563, 2036, 13, 225, 288, 565, 309, 14015, 915, 5, 33, 2011, 13, 597, 16051, 10722, 18, 12298, 12, 915, 20349, 565, 288, 1377, 4186, 18, 1289, 12, 915, 1769, 1377, 5740, 18, 1289, 12, 3266, 1769, 565, 289, 565, 469, 1377, 5740, 18, 542, 1046, 861, 12, 3266, 16, 4186, 18, 31806, 12, 915, 10019, 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 ]
if((f.parent.priorityClass == parent.priorityClass) && f.ctx.equals(ctx))
if((f.parent.priorityClass == parent.priorityClass) && f.ctx.equals(ctx) && f.keepLastData == keepLastData)
public synchronized USKFetcher getFetcher(USK usk, FetcherContext ctx, ClientGetter parent) { USKFetcher f = (USKFetcher) fetchersByUSK.get(usk); USK clear = usk.clearCopy(); if(temporaryBackgroundFetchersLRU.contains(clear)) temporaryBackgroundFetchersLRU.push(clear); if(f != null) { if((f.parent.priorityClass == parent.priorityClass) && f.ctx.equals(ctx)) return f; } f = new USKFetcher(usk, this, ctx, parent, 3, false); fetchersByUSK.put(usk, f); return f; }
52909 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52909/ba61984610fbdc6ae89adf37e39660cc27c3f343/USKManager.java/buggy/src/freenet/client/async/USKManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 587, 11129, 16855, 2812, 1593, 264, 12, 3378, 47, 584, 79, 16, 8065, 264, 1042, 1103, 16, 1082, 202, 1227, 8461, 982, 13, 288, 202, 202, 3378, 47, 16855, 284, 273, 261, 3378, 47, 16855, 13, 2158, 414, 858, 3378, 47, 18, 588, 12, 407, 79, 1769, 202, 202, 3378, 47, 2424, 273, 584, 79, 18, 8507, 2951, 5621, 202, 202, 430, 12, 31143, 8199, 5005, 414, 16018, 57, 18, 12298, 12, 8507, 3719, 202, 202, 31143, 8199, 5005, 414, 16018, 57, 18, 6206, 12, 8507, 1769, 202, 202, 430, 12, 74, 480, 446, 13, 288, 1082, 202, 430, 12443, 74, 18, 2938, 18, 8457, 797, 422, 982, 18, 8457, 797, 13, 597, 284, 18, 5900, 18, 14963, 12, 5900, 3719, 9506, 202, 2463, 284, 31, 202, 202, 97, 202, 202, 74, 273, 394, 587, 11129, 16855, 12, 407, 79, 16, 333, 16, 1103, 16, 982, 16, 890, 16, 629, 1769, 202, 202, 5754, 414, 858, 3378, 47, 18, 458, 12, 407, 79, 16, 284, 1769, 202, 202, 2463, 284, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 587, 11129, 16855, 2812, 1593, 264, 12, 3378, 47, 584, 79, 16, 8065, 264, 1042, 1103, 16, 1082, 202, 1227, 8461, 982, 13, 288, 202, 202, 3378, 47, 16855, 284, 273, 261, 3378, 47, 16855, 13, 2158, 414, 858, 3378, 47, 18, 588, 12, 407, 79, 1769, 202, 202, 3378, 47, 2424, 273, 584, 79, 18, 8507, 2951, 5621, 202, 202, 430, 12, 31143, 8199, 5005, 414, 16018, 57, 18, 12298, 12, 8507, 3719, 202, 202, 31143, 8199, 5005, 414, 16018, 57, 18, 6206, 12, 8507, 1769, 202, 202, 430, 12, 74, 480, 446, 13, 288, 1082, 202, 430, 12443, 74, 18, 2938, 18, 8457, 797, 422, 982, 18, 8457, 797, 13, 597, 284, 18, 2 ]
URL specsURL = getClass().getResource("/specs/");
URL specsURL = null; CodeSource source = getClass().getProtectionDomain().getCodeSource(); if (source != null) { URL sourceURL = source.getLocation(); try { if (sourceURL.getPath().endsWith(".jar")) { specsURL = new URL("jar:" + sourceURL.toExternalForm() + "!/specs/"); } else { specsURL = new URL(sourceURL.toExternalForm() + "/specs/"); } } catch (MalformedURLException murlex) { Utils.logIgnoredException(murlex); specsURL = getClass().getResource("/specs/"); } } else { specsURL = getClass().getResource("/specs/"); }
public final APISpec getAPISpecification() throws InvalidSpecificationException { // Lazily initialize _apiSpecification if (_apiSpecification == null) { URL specsURL = getClass().getResource("/specs/"); _apiSpecification = new APISpec(getClass(), specsURL.toExternalForm()); } return _apiSpecification; }
45757 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45757/8e2a180e61096aa83f131b189cbe4e0b7ffb6f1e/AbstractCAPI.java/clean/src/java-client-framework/org/xins/client/AbstractCAPI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 727, 1491, 1990, 336, 2557, 8615, 1435, 282, 1216, 1962, 8615, 503, 288, 1377, 368, 511, 20811, 4046, 389, 2425, 8615, 1377, 309, 261, 67, 2425, 8615, 422, 446, 13, 288, 540, 1976, 10607, 1785, 273, 446, 31, 3356, 1830, 1084, 273, 2900, 7675, 588, 16938, 3748, 7675, 588, 1085, 1830, 5621, 309, 261, 3168, 480, 446, 13, 288, 1976, 1084, 1785, 273, 1084, 18, 588, 2735, 5621, 775, 288, 309, 261, 3168, 1785, 18, 588, 743, 7675, 5839, 1190, 2932, 18, 11930, 6, 3719, 288, 10607, 1785, 273, 394, 1976, 2932, 11930, 2773, 397, 1084, 1785, 18, 869, 6841, 1204, 1435, 397, 17528, 19, 15115, 4898, 1769, 289, 469, 288, 10607, 1785, 225, 273, 394, 1976, 12, 3168, 1785, 18, 869, 6841, 1204, 1435, 397, 2206, 15115, 4898, 1769, 289, 289, 1044, 261, 18695, 20160, 312, 295, 4149, 13, 288, 6091, 18, 1330, 15596, 503, 12, 81, 295, 4149, 1769, 10607, 1785, 273, 2900, 7675, 588, 1420, 2932, 19, 15115, 4898, 1769, 289, 289, 469, 288, 10607, 1785, 273, 2900, 7675, 588, 1420, 2932, 19, 15115, 4898, 1769, 289, 540, 389, 2425, 8615, 273, 394, 1491, 1990, 12, 588, 797, 9334, 10607, 1785, 18, 869, 6841, 1204, 10663, 1377, 289, 1377, 327, 389, 2425, 8615, 31, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 727, 1491, 1990, 336, 2557, 8615, 1435, 282, 1216, 1962, 8615, 503, 288, 1377, 368, 511, 20811, 4046, 389, 2425, 8615, 1377, 309, 261, 67, 2425, 8615, 422, 446, 13, 288, 540, 1976, 10607, 1785, 273, 446, 31, 3356, 1830, 1084, 273, 2900, 7675, 588, 16938, 3748, 7675, 588, 1085, 1830, 5621, 309, 261, 3168, 480, 446, 13, 288, 1976, 1084, 1785, 273, 1084, 18, 588, 2735, 5621, 775, 288, 309, 261, 3168, 1785, 18, 588, 743, 7675, 5839, 1190, 2932, 18, 11930, 6, 3719, 288, 10607, 1785, 273, 394, 1976, 2932, 11930, 2773, 397, 1084, 1785, 18, 869, 6841, 1204, 1435, 397, 17528, 19, 15115, 4898, 1769, 289, 469, 288, 10607, 1785, 225, 273, 394, 1976, 2 ]
log( "Sent email with " + count + " attachment" + ( count == 1?"":"s" ), Project.MSG_INFO ); } catch( BuildException e ) { log( "Failed to send email", Project.MSG_WARN ); if( failOnError ) {
log("Sent email with " + count + " attachment" + (count == 1 ? "" : "s"), Project.MSG_INFO); } catch (BuildException e) { log("Failed to send email", Project.MSG_WARN); if (failOnError) {
public void execute() { Message savedMessage = message; Vector savedFiles = (Vector) files.clone(); try { Mailer mailer = null; // prepare for the auto select mechanism boolean autoFound = false; // try MIME format if( encoding.equals( MIME ) || ( encoding.equals( AUTO ) && !autoFound ) ) { try { mailer = (Mailer) Class.forName( "org.apache.tools.ant.taskdefs.email.MimeMailer" ) .newInstance(); autoFound = true; log( "Using MIME mail", Project.MSG_VERBOSE ); } catch( Throwable e ) { log( "Failed to initialise MIME mail", Project.MSG_WARN ); } } // try UU format if( encoding.equals( UU ) || ( encoding.equals( AUTO ) && !autoFound ) ) { try { mailer = (Mailer)Class.forName( "org.apache.tools.ant.taskdefs.email.UUMailer" ) .newInstance(); autoFound = true; log( "Using UU mail", Project.MSG_VERBOSE ); } catch( Throwable e ) { log( "Failed to initialise UU mail", Project.MSG_WARN ); } } // try plain format if( encoding.equals( PLAIN ) || ( encoding.equals( AUTO ) && !autoFound ) ) { mailer = new PlainMailer(); autoFound = true; log( "Using plain mail", Project.MSG_VERBOSE ); } // a valid mailer must be present by now if( mailer == null ) { throw new BuildException( "Failed to initialise encoding: " + encoding ); } // a valid message is required if( message == null ) { message = new Message(); } // an address to send from is required if( from == null || from.getAddress() == null ) { throw new BuildException( "A from element is required" ); } // at least one address to send to/cc/bcc is required if( toList.isEmpty() && ccList.isEmpty() && bccList.isEmpty() ) { throw new BuildException( "At least one of to,cc or bcc must " + "be supplied" ); } // set the mimetype if not done already (and required) if( messageMimeType != null ) { if( message.isMimeTypeSpecified() ) { throw new BuildException( "The mime type can only be " + "specified in one location" ); } else { message.setMimeType( messageMimeType ); } } // identify which files should be attached Enumeration e = filesets.elements(); while( e.hasMoreElements() ) { FileSet fs = (FileSet)e.nextElement(); DirectoryScanner ds = fs.getDirectoryScanner( project ); String[] includedFiles = ds.getIncludedFiles(); File baseDir = ds.getBasedir(); for( int j = 0; j < includedFiles.length; ++j ) { File file = new File( baseDir, includedFiles[ j ] ); files.addElement( file ); } } // let the user know what's going to happen log( "Sending email: " + subject, Project.MSG_INFO ); log( "From " + from, Project.MSG_VERBOSE ); log( "To " + toList, Project.MSG_VERBOSE ); log( "Cc " + ccList, Project.MSG_VERBOSE ); log( "Bcc " + bccList, Project.MSG_VERBOSE ); // pass the params to the mailer mailer.setHost( host ); mailer.setPort( port ); mailer.setMessage( message ); mailer.setFrom( from ); mailer.setToList( toList ); mailer.setCcList( ccList ); mailer.setBccList( bccList ); mailer.setFiles( files ); mailer.setSubject( subject ); mailer.setTask( this ); mailer.setIncludeFileNames( includeFileNames ); // send the email mailer.send(); // let the user know what happened int count = files.size(); log( "Sent email with " + count + " attachment" + ( count == 1?"":"s" ), Project.MSG_INFO ); } catch( BuildException e ) { log( "Failed to send email", Project.MSG_WARN ); if( failOnError ) { throw e; } } finally { message = savedMessage; files = savedFiles; } }
506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/506/c6c232893c39257745a8f7a618bcdb5c59791cae/EmailTask.java/clean/src/main/org/apache/tools/ant/taskdefs/email/EmailTask.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1836, 1435, 565, 288, 3639, 2350, 5198, 1079, 273, 883, 31, 3639, 5589, 5198, 2697, 273, 261, 5018, 13, 1390, 18, 14056, 5621, 3639, 775, 3639, 288, 5411, 11542, 264, 17308, 273, 446, 31, 5411, 368, 2911, 364, 326, 3656, 2027, 12860, 5411, 1250, 3656, 2043, 273, 629, 31, 5411, 368, 775, 13195, 740, 5411, 309, 12, 2688, 18, 14963, 12, 13195, 262, 1171, 747, 261, 2688, 18, 14963, 12, 17191, 262, 597, 401, 6079, 2043, 262, 262, 5411, 288, 7734, 775, 7734, 288, 10792, 17308, 273, 7682, 261, 23666, 13, 1659, 18, 1884, 461, 12, 315, 3341, 18, 19211, 18, 6642, 18, 970, 18, 4146, 12537, 18, 3652, 18, 13320, 23666, 6, 262, 13491, 263, 2704, 1442, 5621, 10792, 3656, 2043, 273, 638, 31, 10792, 613, 12, 315, 7736, 13195, 4791, 3113, 5420, 18, 11210, 67, 21900, 11272, 7734, 289, 7734, 1044, 12, 4206, 425, 262, 7734, 288, 10792, 613, 12, 315, 2925, 358, 21301, 13195, 4791, 3113, 5420, 18, 11210, 67, 27999, 11272, 7734, 289, 5411, 289, 5411, 368, 775, 587, 57, 740, 5411, 309, 12, 2688, 18, 14963, 12, 587, 57, 262, 1171, 747, 261, 2688, 18, 14963, 12, 17191, 262, 597, 401, 6079, 2043, 262, 262, 5411, 288, 7734, 775, 7734, 288, 10792, 17308, 273, 7682, 261, 23666, 13, 797, 18, 1884, 461, 12, 315, 3341, 18, 19211, 18, 6642, 18, 970, 18, 4146, 12537, 18, 3652, 18, 57, 2799, 671, 264, 6, 262, 13491, 263, 2704, 1442, 5621, 10792, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1836, 1435, 565, 288, 3639, 2350, 5198, 1079, 273, 883, 31, 3639, 5589, 5198, 2697, 273, 261, 5018, 13, 1390, 18, 14056, 5621, 3639, 775, 3639, 288, 5411, 11542, 264, 17308, 273, 446, 31, 5411, 368, 2911, 364, 326, 3656, 2027, 12860, 5411, 1250, 3656, 2043, 273, 629, 31, 5411, 368, 775, 13195, 740, 5411, 309, 12, 2688, 18, 14963, 12, 13195, 262, 1171, 747, 261, 2688, 18, 14963, 12, 17191, 262, 597, 401, 6079, 2043, 262, 262, 5411, 288, 7734, 775, 7734, 288, 10792, 17308, 273, 7682, 261, 23666, 13, 1659, 18, 1884, 461, 12, 315, 3341, 18, 19211, 18, 6642, 18, 970, 18, 4146, 12537, 18, 3652, 18, 13320, 23666, 6, 262, 13491, 263, 2 ]
refreshTree(tree.getSelectionPath()); }
refreshTree(tree.getSelectionPath()); }
protected void addProperty(ActionEvent evt) { Object path = tree.getSelectionPath().getLastPathComponent(); if (!(path instanceof MondrianDef.Level)) return; MondrianDef.Level level = (MondrianDef.Level) path; MondrianDef.Property property = new MondrianDef.Property(); property.name = "New Property " + level.properties.length; //add cube to schema mondrian.xom.NodeDef[] temp = null; temp = level.properties; level.properties = new MondrianDef.Property[temp.length + 1]; for (int i = 0; i < temp.length; i++) level.properties[i] = (MondrianDef.Property) temp[i]; level.properties[level.properties.length - 1] = property; refreshTree(tree.getSelectionPath()); }
4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/b5b5168edc3af09cb74945a80b0c36e6630ed502/SchemaExplorer.java/clean/src/main/mondrian/gui/SchemaExplorer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 14324, 12, 1803, 1133, 6324, 13, 202, 95, 202, 202, 921, 589, 273, 2151, 18, 588, 6233, 743, 7675, 588, 3024, 743, 1841, 5621, 202, 202, 430, 16051, 12, 803, 1276, 490, 1434, 566, 304, 3262, 18, 2355, 3719, 1082, 202, 2463, 31, 202, 202, 49, 1434, 566, 304, 3262, 18, 2355, 1801, 273, 261, 49, 1434, 566, 304, 3262, 18, 2355, 13, 589, 31, 202, 202, 49, 1434, 566, 304, 3262, 18, 1396, 1272, 273, 394, 490, 1434, 566, 304, 3262, 18, 1396, 5621, 202, 202, 4468, 18, 529, 273, 315, 1908, 4276, 315, 397, 1801, 18, 4738, 18, 2469, 31, 202, 202, 759, 1289, 18324, 358, 1963, 202, 202, 81, 1434, 566, 304, 18, 92, 362, 18, 907, 3262, 8526, 1906, 273, 446, 31, 202, 202, 5814, 273, 1801, 18, 4738, 31, 202, 202, 2815, 18, 4738, 273, 394, 490, 1434, 566, 304, 3262, 18, 1396, 63, 5814, 18, 2469, 397, 404, 15533, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 1906, 18, 2469, 31, 277, 27245, 1082, 202, 2815, 18, 4738, 63, 77, 65, 273, 261, 49, 1434, 566, 304, 3262, 18, 1396, 13, 1906, 63, 77, 15533, 202, 202, 2815, 18, 4738, 63, 2815, 18, 4738, 18, 2469, 300, 404, 65, 273, 1272, 31, 202, 202, 9144, 2471, 12, 3413, 18, 588, 6233, 743, 10663, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 14324, 12, 1803, 1133, 6324, 13, 202, 95, 202, 202, 921, 589, 273, 2151, 18, 588, 6233, 743, 7675, 588, 3024, 743, 1841, 5621, 202, 202, 430, 16051, 12, 803, 1276, 490, 1434, 566, 304, 3262, 18, 2355, 3719, 1082, 202, 2463, 31, 202, 202, 49, 1434, 566, 304, 3262, 18, 2355, 1801, 273, 261, 49, 1434, 566, 304, 3262, 18, 2355, 13, 589, 31, 202, 202, 49, 1434, 566, 304, 3262, 18, 1396, 1272, 273, 394, 490, 1434, 566, 304, 3262, 18, 1396, 5621, 202, 202, 4468, 18, 529, 273, 315, 1908, 4276, 315, 397, 1801, 18, 4738, 18, 2469, 31, 202, 202, 759, 1289, 18324, 358, 1963, 202, 202, 81, 1434, 566, 304, 2 ]
JSPManager.showJSP(request, response, "/dspace-admin/edit-collection.jsp");
JSPManager.showJSP(request, response, "/tools/edit-collection.jsp");
private void showNextPage(Context context, HttpServletRequest request, HttpServletResponse response, Collection collection, int stage) throws SQLException, ServletException, IOException, AuthorizeException { // Put collection in request attributes, as most JSPs will need it request.setAttribute("collection", collection); // FIXME: Not a nice hack -- do we show the MIT users checkbox? if (Group.findByName(context, "MIT Users") != null) { request.setAttribute("mitgroup", new Boolean(true)); } log.debug(LogManager.getHeader(context, "nextpage", "stage=" + stage)); switch(stage) { case BASIC_INFO: // Next page is 'permission to read' page iff ITEM_DEFAULT_READ // for anonymous group is NOT there List anonReadPols = AuthorizeManager.getPoliciesActionFilter( context, collection, Constants.DEFAULT_ITEM_READ); // At this stage, if there's any ITEM_DEFAULT_READ, it can only // be an anonymous one. if (anonReadPols.size() == 0) { request.setAttribute("permission", new Integer(PERM_READ)); JSPManager.showJSP(request, response, "/dspace-admin/wizard-permissions.jsp"); break; } case PERM_READ: // Next page is 'permission to submit' iff there's a submit group defined if (collection.getSubmitters() != null) { request.setAttribute("permission", new Integer(PERM_SUBMIT)); JSPManager.showJSP(request, response, "/dspace-admin/wizard-permissions.jsp"); break; } case PERM_SUBMIT: // Next page is 'workflow step 1' iff there's a wf step 1 group defined if (collection.getWorkflowGroup(1) != null) { request.setAttribute("permission", new Integer(PERM_WF1)); JSPManager.showJSP(request, response, "/dspace-admin/wizard-permissions.jsp"); break; } case PERM_WF1: // Next page is 'workflow step 2' iff there's a wf step 2 group defined if (collection.getWorkflowGroup(2) != null) { request.setAttribute("permission", new Integer(PERM_WF2)); JSPManager.showJSP(request, response, "/dspace-admin/wizard-permissions.jsp"); break; } case PERM_WF2: // Next page is 'workflow step 3' iff there's a wf step 2 group defined if (collection.getWorkflowGroup(3) != null) { request.setAttribute("permission", new Integer(PERM_WF3)); JSPManager.showJSP(request, response, "/dspace-admin/wizard-permissions.jsp"); break; } case PERM_WF3: // Next page is 'collection administrator' iff there's a collection administrator group if (collection.getAdministrators() != null) { request.setAttribute("permission", new Integer(PERM_ADMIN)); JSPManager.showJSP(request, response, "/dspace-admin/wizard-permissions.jsp"); break; } case PERM_ADMIN: // Next page is 'default item' iff there's a default item if (collection.getTemplateItem() != null) { DCType[] types = DCType.findAll(context); request.setAttribute("dctypes", types); JSPManager.showJSP(request, response, "/dspace-admin/wizard-default-item.jsp"); break; } case DEFAULT_ITEM: // Next page is 'summary page (the last page) // sort of a hack to pass the community ID to the edit collection page, // which needs it in other contexts if (collection != null) { Community[] communities = collection.getCommunities(); request.setAttribute("community", communities[0]); } JSPManager.showJSP(request, response, "/dspace-admin/edit-collection.jsp"); break; } }
52457 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52457/44d920f6673301feb8b329391378fb326189f9de/CollectionWizardServlet.java/buggy/dspace/src/org/dspace/app/webui/servlet/admin/CollectionWizardServlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2405, 21563, 12, 1042, 819, 16, 5411, 9984, 590, 16, 5411, 12446, 766, 16, 5411, 2200, 1849, 16, 5411, 509, 6009, 13, 565, 1216, 6483, 16, 16517, 16, 1860, 16, 23859, 503, 565, 288, 3639, 368, 4399, 1849, 316, 590, 1677, 16, 487, 4486, 804, 3118, 87, 903, 1608, 518, 3639, 590, 18, 542, 1499, 2932, 5548, 3113, 1849, 1769, 7734, 368, 9852, 30, 2288, 279, 13752, 11769, 1493, 741, 732, 2405, 326, 490, 1285, 3677, 11832, 35, 3639, 309, 261, 1114, 18, 4720, 5911, 12, 2472, 16, 315, 6068, 12109, 7923, 480, 446, 13, 3639, 288, 5411, 590, 18, 542, 1499, 2932, 1938, 1655, 3113, 394, 3411, 12, 3767, 10019, 3639, 289, 7734, 613, 18, 4148, 12, 1343, 1318, 18, 588, 1864, 12, 2472, 16, 315, 4285, 2433, 3113, 315, 12869, 1546, 397, 6009, 10019, 7734, 1620, 12, 12869, 13, 3639, 288, 3639, 648, 28143, 18118, 67, 5923, 30, 5411, 368, 4804, 1363, 353, 296, 9827, 358, 855, 11, 1363, 21437, 25504, 67, 5280, 67, 6949, 5411, 368, 364, 13236, 1041, 353, 4269, 1915, 5411, 987, 30637, 1994, 52, 3528, 273, 23859, 1318, 18, 588, 8825, 1803, 1586, 12, 10792, 819, 16, 1849, 16, 5245, 18, 5280, 67, 12674, 67, 6949, 1769, 5411, 368, 2380, 333, 6009, 16, 309, 1915, 1807, 1281, 25504, 67, 5280, 67, 6949, 16, 518, 848, 1338, 5411, 368, 506, 392, 13236, 1245, 18, 5411, 309, 261, 304, 265, 1994, 52, 3528, 18, 1467, 1435, 422, 374, 13, 5411, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2405, 21563, 12, 1042, 819, 16, 5411, 9984, 590, 16, 5411, 12446, 766, 16, 5411, 2200, 1849, 16, 5411, 509, 6009, 13, 565, 1216, 6483, 16, 16517, 16, 1860, 16, 23859, 503, 565, 288, 3639, 368, 4399, 1849, 316, 590, 1677, 16, 487, 4486, 804, 3118, 87, 903, 1608, 518, 3639, 590, 18, 542, 1499, 2932, 5548, 3113, 1849, 1769, 7734, 368, 9852, 30, 2288, 279, 13752, 11769, 1493, 741, 732, 2405, 326, 490, 1285, 3677, 11832, 35, 3639, 309, 261, 1114, 18, 4720, 5911, 12, 2472, 16, 315, 6068, 12109, 7923, 480, 446, 13, 3639, 288, 5411, 590, 18, 542, 1499, 2932, 1938, 1655, 3113, 394, 3411, 12, 3767, 10019, 3639, 289, 7734, 613, 18, 2 ]
ClassContext classContext = analysisContext.getClassContext(javaClass);
public void execute() throws CFGBuilderException, DataflowAnalysisException { if (AnalysisContext.currentAnalysisContext().getBoolProperty(AnalysisFeatures.CONSERVE_SPACE)) throw new IllegalStateException("This should not happen"); Set<Edge> deletedEdgeSet = new HashSet<Edge>(); if (DEBUG) System.out.println("PruneUnconditionalExceptionThrowerEdges: examining " + SignatureConverter.convertMethodSignature(methodGen)); Subtypes subtypes = AnalysisContext.currentAnalysisContext() .getSubtypes(); for (Iterator<BasicBlock> i = cfg.blockIterator(); i.hasNext();) { BasicBlock basicBlock = i.next(); if (!basicBlock.isExceptionThrower()) continue; Instruction exceptionThrower = basicBlock.getExceptionThrower().getInstruction(); if (!(exceptionThrower instanceof InvokeInstruction)) continue; InvokeInstruction inv = (InvokeInstruction) exceptionThrower; try { String className = inv.getClassName(cpg); if (className.startsWith("[")) continue; String methodSig = inv.getSignature(cpg); if (!methodSig.endsWith("V")) continue; JavaClass javaClass = Repository.lookupClass(className); ClassContext classContext = analysisContext.getClassContext(javaClass); if (DEBUG) System.out.println("\tlooking up method for " + basicBlock.getExceptionThrower()); JavaClassAndMethod classAndMethod = Hierarchy.findExactMethod(inv, cpg); if (classAndMethod == null) { if (DEBUG) System.out.println("\tNOT FOUND"); continue; } Method method = classAndMethod.getMethod(); XMethod xMethod = XFactory.createXMethod(javaClass, method); if (DEBUG) System.out.println("\tFound " + xMethod); // FIXME: for now, only allow static and private methods. // Could also allow final methods (but would require class hierarchy // search). if (!(method.isStatic() || method.isPrivate() || method.isFinal() || javaClass.isFinal() || !subtypes.hasSubtypes(javaClass))) continue; // Ignore abstract and native methods if (method.getCode() == null) continue; BitSet bytecodeSet = classContext.getBytecodeSet(method); if (bytecodeSet == null) continue; Boolean isUnconditionalThrower = cachedResults.get(xMethod); if (isUnconditionalThrower == null) { if (DEBUG) System.out.println("\tChecking " + xMethod); isUnconditionalThrower = !bytecodeSet.intersects(RETURN_OPCODE_SET); if (DEBUG && isUnconditionalThrower) { System.out.println("Return opcode set: " + RETURN_OPCODE_SET); System.out.println("Code opcode set: " + bytecodeSet); } cachedResults.put(xMethod, isUnconditionalThrower); } if (false && isUnconditionalThrower.booleanValue()) { MethodGen calledMethodGen = classContext.getMethodGen(method); // Ignore abstract and native methods if (calledMethodGen == null) continue; // Analyze exception paths of called method // to see if it always throws an unhandled exception. CFG calledCFG = classContext.getCFG(method); ReturnPathDataflow pathDataflow = classContext .getReturnPathDataflow(method); ReturnPath pathValue = pathDataflow.getStartFact(calledCFG .getExit()); isUnconditionalThrower = pathValue.getKind() != ReturnPath.RETURNS; // System.out.println("isThrower: " + result + " " + method.getCode().getLength() + " " + method); if (true) cachedResults.put(xMethod, isUnconditionalThrower); } if (isUnconditionalThrower.booleanValue()) { // Method always throws an unhandled exception // Remove the normal control flow edge from the CFG. Edge fallThrough = cfg.getOutgoingEdgeWithType(basicBlock, FALL_THROUGH_EDGE); if (fallThrough != null) { if (DEBUG) { System.out.println("\tREMOVING normal return for: " + xMethod); } deletedEdgeSet.add(fallThrough); } } } catch (ClassNotFoundException e) { analysisContext.getLookupFailureCallback().reportMissingClass(e); } } // Remove all edges marked for deletion for (Edge edge : deletedEdgeSet) { cfg.removeEdge(edge); } }
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/2f79cc653bea42086decdbf1a4fdc5e4d2c71a6c/PruneUnconditionalExceptionThrowerEdges.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/ba/PruneUnconditionalExceptionThrowerEdges.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1836, 1435, 1216, 7577, 1263, 503, 16, 1910, 2426, 9418, 503, 288, 202, 202, 430, 261, 9418, 1042, 18, 2972, 9418, 1042, 7675, 588, 7464, 1396, 12, 9418, 8696, 18, 2248, 2123, 3412, 67, 6616, 3719, 1082, 202, 12849, 394, 5477, 2932, 2503, 1410, 486, 5865, 8863, 202, 202, 694, 32, 6098, 34, 4282, 6098, 694, 273, 394, 6847, 32, 6098, 34, 5621, 202, 202, 430, 261, 9394, 13, 1082, 202, 3163, 18, 659, 18, 8222, 2932, 28404, 984, 22019, 503, 8282, 264, 10697, 30, 19707, 10008, 315, 397, 9506, 3639, 9249, 5072, 18, 6283, 1305, 5374, 12, 2039, 7642, 10019, 1082, 2592, 2352, 720, 2352, 273, 16318, 1042, 18, 2972, 9418, 1042, 1435, 1082, 202, 18, 588, 1676, 2352, 5621, 202, 202, 1884, 261, 3198, 32, 8252, 1768, 34, 277, 273, 2776, 18, 2629, 3198, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 1082, 202, 8252, 1768, 5337, 1768, 273, 277, 18, 4285, 5621, 1082, 202, 430, 16051, 13240, 1768, 18, 291, 503, 8282, 264, 10756, 9506, 202, 17143, 31, 1082, 202, 11983, 1520, 8282, 264, 273, 5337, 1768, 18, 588, 503, 8282, 264, 7675, 588, 11983, 5621, 1082, 202, 430, 16051, 12, 4064, 8282, 264, 1276, 14373, 11983, 3719, 9506, 202, 17143, 31, 1082, 202, 10969, 11983, 2198, 273, 261, 10969, 11983, 13, 1520, 8282, 264, 31, 1082, 202, 698, 288, 9506, 202, 780, 2658, 273, 2198, 18, 588, 3834, 12, 4057, 75, 1769, 9506, 202, 430, 261, 12434, 18, 17514, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1836, 1435, 1216, 7577, 1263, 503, 16, 1910, 2426, 9418, 503, 288, 202, 202, 430, 261, 9418, 1042, 18, 2972, 9418, 1042, 7675, 588, 7464, 1396, 12, 9418, 8696, 18, 2248, 2123, 3412, 67, 6616, 3719, 1082, 202, 12849, 394, 5477, 2932, 2503, 1410, 486, 5865, 8863, 202, 202, 694, 32, 6098, 34, 4282, 6098, 694, 273, 394, 6847, 32, 6098, 34, 5621, 202, 202, 430, 261, 9394, 13, 1082, 202, 3163, 18, 659, 18, 8222, 2932, 28404, 984, 22019, 503, 8282, 264, 10697, 30, 19707, 10008, 315, 397, 9506, 3639, 9249, 5072, 18, 6283, 1305, 5374, 12, 2039, 7642, 10019, 1082, 2592, 2352, 720, 2352, 273, 16318, 1042, 18, 2972, 9418, 1042, 1435, 1082, 2 ]
for (Iterator pps = propertyProviders.iterator(); pps.hasNext(); ) { PropertyProvider pp = (PropertyProvider) pps.next(); pp.fillProperties(anAsset);
synchronized (propertyProviders) { int l = propertyProviders.size(); for (int i=0; i<l; i++) { PropertyProvider pp = (PropertyProvider) propertyProviders.get(i); pp.fillProperties(anAsset); }
public void fillProperties(Asset anAsset) { // expose the asset to all propertyproviders for (Iterator pps = propertyProviders.iterator(); pps.hasNext(); ) { PropertyProvider pp = (PropertyProvider) pps.next(); pp.fillProperties(anAsset); } }
7981 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7981/82cc83b6f4d5ba72794065b6c02bd53537fb2279/PrototypeRegistry.java/clean/core/src/org/cougaar/domain/planning/ldm/PrototypeRegistry.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 3636, 2297, 12, 6672, 392, 6672, 13, 288, 565, 368, 15722, 326, 3310, 358, 777, 1272, 17520, 565, 364, 261, 3198, 293, 1121, 273, 1272, 10672, 18, 9838, 5621, 293, 1121, 18, 5332, 2134, 5621, 262, 288, 1377, 4276, 2249, 8228, 273, 261, 1396, 2249, 13, 293, 1121, 18, 4285, 5621, 1377, 8228, 18, 5935, 2297, 12, 304, 6672, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 3636, 2297, 12, 6672, 392, 6672, 13, 288, 565, 368, 15722, 326, 3310, 358, 777, 1272, 17520, 565, 364, 261, 3198, 293, 1121, 273, 1272, 10672, 18, 9838, 5621, 293, 1121, 18, 5332, 2134, 5621, 262, 288, 1377, 4276, 2249, 8228, 273, 261, 1396, 2249, 13, 293, 1121, 18, 4285, 5621, 1377, 8228, 18, 5935, 2297, 12, 304, 6672, 1769, 565, 289, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
xctxt.pushCurrentNode(parentContext);
DTMAxisTraverser traverser = dtm.getAxisTraverser(Axis.CHILD);
public int getProximityPosition(XPathContext xctxt, int predPos) { int context = xctxt.getCurrentNode(); DTM dtm = xctxt.getDTM(context); int pos = 0; int parentContext = xctxt.getPredicateRoot(); try { xctxt.pushCurrentNode(parentContext); DTMAxisTraverser traverser = dtm.getAxisTraverser(m_axisForPredicate); for (int child = traverser.first(parentContext); DTM.NULL != child; child = traverser.next(parentContext, child)) { try { xctxt.pushCurrentNode(child); if (NodeTest.SCORE_NONE != super.execute(xctxt, child)) { boolean pass = true; try { xctxt.pushSubContextList(this); xctxt.pushPredicateRoot(parentContext); for (int i = 0; i < predPos; i++) { XObject pred = m_predicates[i].execute(xctxt); if (XObject.CLASS_NUMBER == pred.getType()) { if ((pos+1) != (int) pred.num()) { pass = false; break; } } else if (!pred.bool()) { pass = false; break; } } } finally { xctxt.popSubContextList(); xctxt.popPredicateRoot(); } if(pass) pos++; if (child == context) { return pos; } } } finally { xctxt.popCurrentNode(); } } } catch (javax.xml.transform.TransformerException se) { // TODO: should keep throw sax exception... throw new java.lang.RuntimeException(se.getMessage()); } finally { xctxt.popCurrentNode(); // xctxt.popContextNodeList(); } return pos; }
46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/855785e59741275681cce3f3817fd09f74a02d35/StepPattern.java/clean/src/org/apache/xpath/patterns/StepPattern.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 3570, 92, 30786, 2555, 12, 14124, 1042, 25465, 16, 509, 3479, 1616, 13, 225, 288, 565, 509, 819, 273, 25465, 18, 588, 3935, 907, 5621, 565, 19854, 31281, 273, 25465, 18, 588, 9081, 49, 12, 2472, 1769, 565, 509, 949, 273, 374, 31, 565, 509, 982, 1042, 273, 25465, 18, 588, 8634, 2375, 5621, 2868, 775, 565, 288, 1377, 10696, 5535, 5674, 15844, 264, 10704, 264, 273, 31281, 18, 588, 6558, 15844, 264, 12, 6558, 18, 27043, 1769, 1377, 10696, 5535, 5674, 15844, 264, 10704, 264, 273, 31281, 18, 588, 6558, 15844, 264, 12, 81, 67, 4890, 1290, 8634, 1769, 1377, 364, 261, 474, 1151, 273, 10704, 264, 18, 3645, 12, 2938, 1042, 1769, 19854, 18, 8560, 480, 1151, 31, 2868, 1151, 273, 10704, 264, 18, 4285, 12, 2938, 1042, 16, 1151, 3719, 1377, 288, 3639, 775, 3639, 288, 1850, 25465, 18, 6206, 3935, 907, 12, 3624, 1769, 1850, 309, 261, 907, 4709, 18, 28520, 67, 9826, 480, 2240, 18, 8837, 12, 92, 20364, 16, 1151, 3719, 1850, 288, 5411, 1250, 1342, 273, 638, 31, 13491, 775, 5411, 288, 2868, 25465, 18, 6206, 1676, 1042, 682, 12, 2211, 1769, 2868, 25465, 18, 6206, 8634, 2375, 12, 2938, 1042, 1769, 10792, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3479, 1616, 31, 277, 27245, 2868, 288, 7734, 1139, 921, 3479, 273, 312, 67, 6510, 8242, 63, 77, 8009, 8837, 12, 92, 20364, 1769, 7734, 309, 261, 60, 921, 18, 5237, 67, 9931, 422, 3479, 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, 509, 3570, 92, 30786, 2555, 12, 14124, 1042, 25465, 16, 509, 3479, 1616, 13, 225, 288, 565, 509, 819, 273, 25465, 18, 588, 3935, 907, 5621, 565, 19854, 31281, 273, 25465, 18, 588, 9081, 49, 12, 2472, 1769, 565, 509, 949, 273, 374, 31, 565, 509, 982, 1042, 273, 25465, 18, 588, 8634, 2375, 5621, 2868, 775, 565, 288, 1377, 10696, 5535, 5674, 15844, 264, 10704, 264, 273, 31281, 18, 588, 6558, 15844, 264, 12, 6558, 18, 27043, 1769, 1377, 10696, 5535, 5674, 15844, 264, 10704, 264, 273, 31281, 18, 588, 6558, 15844, 264, 12, 81, 67, 4890, 1290, 8634, 1769, 1377, 364, 261, 474, 1151, 273, 10704, 264, 18, 3645, 12, 2938, 1042, 1769, 19854, 18, 2 ]
public abstract boolean needsGui();
boolean needsGui();
public abstract boolean needsGui();
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/Visibility.java/buggy/core/src/classpath/java/java/beans/Visibility.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 8770, 1250, 4260, 18070, 5621, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 8770, 1250, 4260, 18070, 5621, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
case 201: { CUP$result = new StructType(/*except_dcl*/52);
case 203: { CUP$result = new StructType(/*except_dcl*/51);
public final java_cup.runtime.symbol CUP$do_action( int CUP$act_num, java_cup.runtime.lr_parser CUP$parser, java.util.Stack CUP$stack, int CUP$top) throws java.lang.Exception { /* object for return from actions */ java_cup.runtime.symbol CUP$result; /* select the action based on the action number */ switch (CUP$act_num) { /*. . . . . . . . . . . . . . . . . . . .*/ case 226: // empty ::= { CUP$result = new java_cup.runtime.symbol(/*empty*/4); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 225: // param_type_spec ::= scopename { CUP$result = new TypeSpec(/*param_type_spec*/44); ((TypeSpec)CUP$result).type_spec = (/*s*/(ScopedName)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 224: // param_type_spec ::= string_type { CUP$result = new TypeSpec(/*param_type_spec*/44); ((TypeSpec)CUP$result).type_spec = (/*s*/(StringType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 223: // param_type_spec ::= base_type_spec { CUP$result = new TypeSpec(/*param_type_spec*/44); ((TypeSpec)CUP$result).type_spec = (/*s*/(BaseType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 222: // string_literal_list ::= string_literal COMMA string_literal_list { CUP$result = new java_cup.runtime.symbol(/*string_literal_list*/3); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 221: // string_literal_list ::= string_literal { CUP$result = new java_cup.runtime.symbol(/*string_literal_list*/3); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 220: // context_expr ::= empty { CUP$result = new java_cup.runtime.symbol(/*context_expr*/2); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 219: // context_expr ::= CONTEXT LPAREN string_literal_list RPAREN { CUP$result = new java_cup.runtime.symbol(/*context_expr*/2); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 218: // raises_expr ::= empty { CUP$result = new RaisesExpr(/*raises_expr*/84); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 217: // raises_expr ::= RAISES LPAREN scopename_list RPAREN { CUP$result = new RaisesExpr(/*raises_expr*/84); ((RaisesExpr)CUP$result).nameList = (Vector)(/*snl*/(SymbolList)CUP$stack.elementAt(CUP$top-1)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 216: // param_attribute ::= INOUT { CUP$result = new java_cup.runtime.int_token(/*param_attribute*/6); ((java_cup.runtime.int_token)CUP$result).int_val = ParamDecl.MODE_INOUT; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 215: // param_attribute ::= OUT { CUP$result = new java_cup.runtime.int_token(/*param_attribute*/6); ((java_cup.runtime.int_token)CUP$result).int_val = ParamDecl.MODE_OUT; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 214: // param_attribute ::= IN { CUP$result = new java_cup.runtime.int_token(/*param_attribute*/6); ((java_cup.runtime.int_token)CUP$result).int_val = ParamDecl.MODE_IN; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 213: // param_dcl ::= param_attribute param_type_spec simple_declarator { CUP$result = new ParamDecl(/*param_dcl*/83); ((ParamDecl)CUP$result).paramAttribute = (/*pa*/(java_cup.runtime.int_token)CUP$stack.elementAt(CUP$top-2)).int_val; ((ParamDecl)CUP$result).paramTypeSpec = (/*pts*/(TypeSpec)CUP$stack.elementAt(CUP$top-1)); ((ParamDecl)CUP$result).simple_declarator = (/*sd*/(SimpleDeclarator)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 212: // param_dcls ::= param_dcl { CUP$result = new SymbolList(/*param_dcls*/89); ((SymbolList)CUP$result).v.insertElementAt((/*pd*/(ParamDecl)CUP$stack.elementAt(CUP$top-0)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 211: // param_dcls ::= param_dcl COMMA param_dcls { CUP$result = new SymbolList(/*param_dcls*/89); ((SymbolList)CUP$result).v = (Vector)(/*pds*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.insertElementAt((/*pd*/(ParamDecl)CUP$stack.elementAt(CUP$top-2)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 210: // parameter_dcls ::= LPAREN RPAREN { CUP$result = new SymbolList(/*parameter_dcls*/91); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 209: // parameter_dcls ::= LPAREN param_dcls RPAREN { CUP$result = new SymbolList(/*parameter_dcls*/91); ((SymbolList)CUP$result).v = (Vector)(/*pds*/(SymbolList)CUP$stack.elementAt(CUP$top-1)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 208: // void_type_spec ::= VOID { CUP$result = new VoidTypeSpec(/*void_type_spec*/71); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 207: // op_type_spec ::= void_type_spec { CUP$result = new TypeSpec(/*op_type_spec*/43); ((TypeSpec)CUP$result).type_spec = (/*s*/(VoidTypeSpec)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 206: // op_type_spec ::= param_type_spec { CUP$result = new TypeSpec(/*op_type_spec*/43); ((TypeSpec)CUP$result).type_spec = (/*s*/(TypeSpec)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 205: // op_attribute ::= empty { CUP$result = new java_cup.runtime.int_token(/*op_attribute*/5); ((java_cup.runtime.int_token)CUP$result).int_val = OpDecl.NO_ATTRIBUTE; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 204: // op_attribute ::= ONEWAY { CUP$result = new java_cup.runtime.int_token(/*op_attribute*/5); ((java_cup.runtime.int_token)CUP$result).int_val = OpDecl.ONEWAY; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 203: // op_dcl ::= op_attribute op_type_spec ID parameter_dcls raises_expr context_expr { CUP$result = new OpDecl(/*op_dcl*/85); ((OpDecl)CUP$result).opAttribute = (/*oa*/(java_cup.runtime.int_token)CUP$stack.elementAt(CUP$top-5)).int_val; ((OpDecl)CUP$result).opTypeSpec = (/*ots*/(TypeSpec)CUP$stack.elementAt(CUP$top-4)); ((OpDecl)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-3))); ((OpDecl)CUP$result).paramDecls = (Vector)(/*pds*/(SymbolList)CUP$stack.elementAt(CUP$top-2)).v.clone(); ((OpDecl)CUP$result).raisesExpr = (/*re*/(RaisesExpr)CUP$stack.elementAt(CUP$top-1)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 202: // except_dcl ::= EXCEPTION ID LCBRACE member_list RCBRACE { CUP$result = new StructType(/*except_dcl*/52); ((StructType)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-3))); ((StructType)CUP$result).exc = true; ((StructType)CUP$result).set_memberlist( (/*ml*/(MemberList)CUP$stack.elementAt(CUP$top-1)) ); ((StructType)CUP$result).set_included( parser.include_state ); parser.closeScope( (Scope)((StructType)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 201: // except_dcl ::= EXCEPTION ID LCBRACE RCBRACE { CUP$result = new StructType(/*except_dcl*/52); ((StructType)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-2))); ((StructType)CUP$result).exc = true; ((StructType)CUP$result).set_included( parser.include_state ); parser.closeScope( (Scope)((StructType)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 200: // simple_declarator_list ::= simple_declarator COMMA simple_declarator_list { CUP$result = new SymbolList(/*simple_declarator_list*/93); ((SymbolList)CUP$result).v = (Vector)(/*sdl*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.insertElementAt((/*sd*/(SimpleDeclarator)CUP$stack.elementAt(CUP$top-2)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 199: // simple_declarator_list ::= simple_declarator { CUP$result = new SymbolList(/*simple_declarator_list*/93); ((SymbolList)CUP$result).v.insertElementAt((/*sd*/(SimpleDeclarator)CUP$stack.elementAt(CUP$top-0)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 198: // attr_dcl ::= ATTRIBUTE param_type_spec simple_declarator_list { CUP$result = new AttrDecl(/*attr_dcl*/86); ((AttrDecl)CUP$result).readOnly = false; ((AttrDecl)CUP$result).param_type_spec = (/*pts*/(TypeSpec)CUP$stack.elementAt(CUP$top-1)); ((AttrDecl)CUP$result).declarators = (/*sdl*/(SymbolList)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 197: // attr_dcl ::= READONLY ATTRIBUTE param_type_spec simple_declarator_list { CUP$result = new AttrDecl(/*attr_dcl*/86); ((AttrDecl)CUP$result).readOnly = true; ((AttrDecl)CUP$result).param_type_spec = (/*pts*/(TypeSpec)CUP$stack.elementAt(CUP$top-1)); ((AttrDecl)CUP$result).declarators = (/*sdl*/(SymbolList)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 196: // fixed_array_size ::= LSBRACE positive_int_const RSBRACE { CUP$result = new FixedArraySize(/*fixed_array_size*/82); ((FixedArraySize)CUP$result).pos_int_const = (/*pic*/(PosIntConst)CUP$stack.elementAt(CUP$top-1)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 195: // fixed_array_size_list ::= fixed_array_size fixed_array_size_list { CUP$result = new SymbolList(/*fixed_array_size_list*/97); ((SymbolList)CUP$result).v = (Vector)(/*fasl*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.insertElementAt((/*fas*/(FixedArraySize)CUP$stack.elementAt(CUP$top-1)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 194: // fixed_array_size_list ::= fixed_array_size { CUP$result = new SymbolList(/*fixed_array_size_list*/97); ((SymbolList)CUP$result).v.insertElementAt((/*fas*/(FixedArraySize)CUP$stack.elementAt(CUP$top-0)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 193: // array_declarator ::= ID fixed_array_size_list { CUP$result = new ArrayDeclarator(/*array_declarator*/81); ((ArrayDeclarator)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-1))); ((ArrayDeclarator)CUP$result).fixed_array_size_list = (/*fasl*/(SymbolList)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 192: // fixed_point_type ::= FIXED LESSTHAN positive_int_const COMMA positive_int_const GREATERTHAN { CUP$result = new FixedPointType(/*fixed_point_type*/74); ((FixedPointType)CUP$result).digit_expr = (/*digits*/(PosIntConst)CUP$stack.elementAt(CUP$top-3)).const_expr; ((FixedPointType)CUP$result).scale_expr = (/*scale*/(PosIntConst)CUP$stack.elementAt(CUP$top-1)).const_expr; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 191: // string_type ::= WSTRING { CUP$result = new StringType(/*string_type*/72); ((StringType)CUP$result).setWide(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 190: // string_type ::= STRING { CUP$result = new StringType(/*string_type*/72); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 189: // string_type ::= WSTRING LESSTHAN positive_int_const GREATERTHAN { CUP$result = new StringType(/*string_type*/72); ((StringType)CUP$result).max = (/*pic*/(PosIntConst)CUP$stack.elementAt(CUP$top-1)).const_expr; ((StringType)CUP$result).setWide(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 188: // string_type ::= STRING LESSTHAN positive_int_const GREATERTHAN { CUP$result = new StringType(/*string_type*/72); ((StringType)CUP$result).max = (/*pic*/(PosIntConst)CUP$stack.elementAt(CUP$top-1)).const_expr; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 187: // sequence_type ::= SEQUENCE LESSTHAN simple_type_spec GREATERTHAN { CUP$result = new SequenceType(/*sequence_type*/73); ((SequenceType)CUP$result).setTypeSpec( (/*sts*/(SimpleTypeSpec)CUP$stack.elementAt(CUP$top-1)) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 186: // sequence_type ::= SEQUENCE LESSTHAN simple_type_spec COMMA positive_int_const GREATERTHAN { CUP$result = new SequenceType(/*sequence_type*/73); ((SequenceType)CUP$result).max = (/*pic*/(PosIntConst)CUP$stack.elementAt(CUP$top-1)).const_expr; ((SequenceType)CUP$result).setTypeSpec( (/*sts*/(SimpleTypeSpec)CUP$stack.elementAt(CUP$top-3)) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 185: // native_type ::= NATIVE simple_declarator { CUP$result = new NativeType(/*native_type*/54); ((NativeType)CUP$result).declarator = (/*sd*/(SimpleDeclarator)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 184: // enumerator_list ::= ID COMMA enumerator_list { CUP$result = new SymbolList(/*enumerator_list*/96); ((SymbolList)CUP$result).v = (Vector)(/*el*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.insertElementAt((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-2)).str_val,0); ((SymbolList)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-2))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 183: // enumerator_list ::= ID { CUP$result = new SymbolList(/*enumerator_list*/96); ((SymbolList)CUP$result).v.insertElementAt((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0)).str_val,0); ((SymbolList)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 182: // enum_type ::= ENUM ID LCBRACE enumerator_list RCBRACE { CUP$result = new EnumType(/*enum_type*/50); ((EnumType)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-3))); ((EnumType)CUP$result).enumlist = (/*el*/(SymbolList)CUP$stack.elementAt(CUP$top-1)); ((EnumType)CUP$result).set_included( parser.include_state ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 181: // element_spec ::= type_spec declarator { CUP$result = new ElementSpec(/*element_spec*/57); ((ElementSpec)CUP$result).t.type_spec = (/*ts*/(TypeSpec)CUP$stack.elementAt(CUP$top-1)); ((ElementSpec)CUP$result).d = (/*dc*/(Declarator)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 180: // case_label_list ::= DEFAULT COLON case_label_list { CUP$result = new SymbolList(/*case_label_list*/88); ((SymbolList)CUP$result).v = (Vector)(/*cll*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.addElement(null); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 179: // case_label_list ::= CASE const_expr COLON case_label_list { CUP$result = new SymbolList(/*case_label_list*/88); ((SymbolList)CUP$result).v = (Vector)(/*cll*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.addElement((/*c*/(ConstExpr)CUP$stack.elementAt(CUP$top-2))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 178: // case_label_list ::= DEFAULT COLON { CUP$result = new SymbolList(/*case_label_list*/88); ((SymbolList)CUP$result).v.addElement( null ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 177: // case_label_list ::= CASE const_expr COLON { CUP$result = new SymbolList(/*case_label_list*/88); ((SymbolList)CUP$result).v.addElement((/*c*/(ConstExpr)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 176: // case ::= case_label_list element_spec SEMI { CUP$result = new Case(/*case*/56); ((Case)CUP$result).element_spec = (/*es*/(ElementSpec)CUP$stack.elementAt(CUP$top-1)); ((Case)CUP$result).case_label_list = (/*c*/(SymbolList)CUP$stack.elementAt(CUP$top-2)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 175: // switch_body ::= case switch_body { CUP$result = new SwitchBody(/*switch_body*/55); ((SwitchBody)CUP$result).caseListVector = (Vector)(/*sb*/(SwitchBody)CUP$stack.elementAt(CUP$top-0)).caseListVector.clone(); ((SwitchBody)CUP$result).caseListVector.addElement( (/*c*/(Case)CUP$stack.elementAt(CUP$top-1)) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 174: // switch_body ::= case { CUP$result = new SwitchBody(/*switch_body*/55); ((SwitchBody)CUP$result).caseListVector.addElement((/*c*/(Case)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 173: // switch_type_spec ::= scopename { CUP$result = new TypeSpec(/*switch_type_spec*/45); ((TypeSpec)CUP$result).type_spec = (/*s*/(ScopedName)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 172: // switch_type_spec ::= enum_type { CUP$result = new TypeSpec(/*switch_type_spec*/45); ((TypeSpec)CUP$result).set_constr((/*e*/(EnumType)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 171: // switch_type_spec ::= bool_type { CUP$result = new TypeSpec(/*switch_type_spec*/45); ((TypeSpec)CUP$result).type_spec = (/*b*/(BooleanType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 170: // switch_type_spec ::= char_type { CUP$result = new TypeSpec(/*switch_type_spec*/45); ((TypeSpec)CUP$result).type_spec = (/*c*/(CharType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 169: // switch_type_spec ::= int_type { CUP$result = new TypeSpec(/*switch_type_spec*/45); ((TypeSpec)CUP$result).type_spec = (/*i*/(IntType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 168: // union_type ::= UNION ID { CUP$result = new UnionType(/*union_type*/53); ((UnionType)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); parser.closeScope( (Scope)((UnionType)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 167: // union_type ::= UNION ID SWITCH LPAREN switch_type_spec RPAREN LCBRACE switch_body RCBRACE { CUP$result = new UnionType(/*union_type*/53); ((UnionType)CUP$result).setSwitchType( (/*s*/(TypeSpec)CUP$stack.elementAt(CUP$top-4)) ); ((UnionType)CUP$result).setSwitchBody( (/*sb*/(SwitchBody)CUP$stack.elementAt(CUP$top-1)) ); ((UnionType)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-7))); ((UnionType)CUP$result).set_included( parser.include_state ); parser.closeScope( (Scope)((UnionType)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 166: // member ::= type_spec declarators SEMI { CUP$result = new Member(/*member*/78); ((Member)CUP$result).type_spec = (/*ts*/(TypeSpec)CUP$stack.elementAt(CUP$top-2)); ((Member)CUP$result).declarators = (/*ds*/(SymbolList)CUP$stack.elementAt(CUP$top-1)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 165: // member_list ::= member member_list { CUP$result = new MemberList(/*member_list*/87); ((MemberList)CUP$result).v = (Vector)(/*ml*/(MemberList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((MemberList)CUP$result).v.insertElementAt((/*m*/(Member)CUP$stack.elementAt(CUP$top-1)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 164: // member_list ::= member { CUP$result = new MemberList(/*member_list*/87); ((MemberList)CUP$result).v.insertElementAt((/*m*/(Member)CUP$stack.elementAt(CUP$top-0)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 163: // struct_type ::= STRUCT ID { CUP$result = new StructType(/*struct_type*/51); ((StructType)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); parser.closeScope( (Scope)((StructType)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 162: // struct_type ::= STRUCT ID LCBRACE member_list RCBRACE { CUP$result = new StructType(/*struct_type*/51); ((StructType)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-3))); ((StructType)CUP$result).exc = false; ((StructType)CUP$result).set_memberlist( (/*ml*/(MemberList)CUP$stack.elementAt(CUP$top-1)) ); ((StructType)CUP$result).set_included( parser.include_state ); parser.closeScope( (Scope)((StructType)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 161: // any_type ::= ANY { CUP$result = new AnyType(/*any_type*/70); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 160: // octet_type ::= OCTET { CUP$result = new OctetType(/*octet_type*/69); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 159: // bool_type ::= BOOLEAN { CUP$result = new BooleanType(/*bool_type*/68); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 158: // char_type ::= WCHAR { CUP$result = new CharType(/*char_type*/67); ((CharType)CUP$result).setWide(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 157: // char_type ::= CHAR { CUP$result = new CharType(/*char_type*/67); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 156: // long_long_type ::= LONG LONG { CUP$result = new LongLongType(/*long_long_type*/66); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 155: // long_type ::= LONG { CUP$result = new LongType(/*long_type*/65); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 154: // short_type ::= SHORT { CUP$result = new ShortType(/*short_type*/64); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 153: // int_type ::= UNSIGNED short_type { CUP$result = new IntType(/*int_type*/59); ((IntType)CUP$result).type_spec = (/*s*/(ShortType)CUP$stack.elementAt(CUP$top-0)); ((IntType)CUP$result).setUnsigned(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 152: // int_type ::= short_type { CUP$result = new IntType(/*int_type*/59); ((IntType)CUP$result).type_spec = (/*s*/(ShortType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 151: // int_type ::= UNSIGNED long_long_type { CUP$result = new IntType(/*int_type*/59); ((IntType)CUP$result).type_spec = (/*l*/(LongLongType)CUP$stack.elementAt(CUP$top-0)); ((IntType)CUP$result).setUnsigned(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 150: // int_type ::= UNSIGNED long_type { CUP$result = new IntType(/*int_type*/59); ((IntType)CUP$result).type_spec = (/*l*/(LongType)CUP$stack.elementAt(CUP$top-0)); ((IntType)CUP$result).setUnsigned(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 149: // int_type ::= long_long_type { CUP$result = new IntType(/*int_type*/59); ((IntType)CUP$result).type_spec = (/*ll*/(LongLongType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 148: // int_type ::= long_type { CUP$result = new IntType(/*int_type*/59); ((IntType)CUP$result).type_spec = (/*l*/(LongType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 147: // double_type ::= DOUBLE { CUP$result = new DoubleType(/*double_type*/63); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 146: // fixed_pt_const_type ::= FIXED { CUP$result = new FixedPointConstType(/*fixed_pt_const_type*/62); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 145: // float_type ::= FLOAT { CUP$result = new FloatType(/*float_type*/61); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 144: // float_pt_type ::= double_type { CUP$result = new FloatPtType(/*float_pt_type*/60); ((FloatPtType)CUP$result).type_spec = (/*d*/(DoubleType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 143: // float_pt_type ::= float_type { CUP$result = new FloatPtType(/*float_pt_type*/60); ((FloatPtType)CUP$result).type_spec = (/*f*/(FloatType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 142: // simple_declarator ::= ID { CUP$result = new SimpleDeclarator(/*simple_declarator*/80); ((SimpleDeclarator)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 141: // declarator ::= array_declarator { CUP$result = new Declarator(/*declarator*/79); ((Declarator)CUP$result).d = (/*s*/(ArrayDeclarator)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 140: // declarator ::= simple_declarator { CUP$result = new Declarator(/*declarator*/79); ((Declarator)CUP$result).d = (/*s*/(SimpleDeclarator)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 139: // declarators ::= declarator { CUP$result = new SymbolList(/*declarators*/94); ((SymbolList)CUP$result).v.insertElementAt((/*d*/(Declarator)CUP$stack.elementAt(CUP$top-0)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 138: // declarators ::= declarator COMMA declarators { CUP$result = new SymbolList(/*declarators*/94); ((SymbolList)CUP$result).v = (Vector)(/*ds*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.insertElementAt((/*d*/(Declarator)CUP$stack.elementAt(CUP$top-2)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 137: // constr_type_spec ::= enum_type { CUP$result = new ConstrTypeSpec(/*constr_type_spec*/49); ((ConstrTypeSpec)CUP$result).c_type_spec = (/*e*/(EnumType)CUP$stack.elementAt(CUP$top-0)); ((ConstrTypeSpec)CUP$result).set_token((/*e*/(EnumType)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 136: // constr_type_spec ::= union_type { CUP$result = new ConstrTypeSpec(/*constr_type_spec*/49); ((ConstrTypeSpec)CUP$result).c_type_spec = (/*u*/(UnionType)CUP$stack.elementAt(CUP$top-0)); ((ConstrTypeSpec)CUP$result).set_token((/*u*/(UnionType)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 135: // constr_type_spec ::= struct_type { CUP$result = new ConstrTypeSpec(/*constr_type_spec*/49); ((ConstrTypeSpec)CUP$result).c_type_spec = (/*s*/(StructType)CUP$stack.elementAt(CUP$top-0)); ((ConstrTypeSpec)CUP$result).set_token((/*s*/(StructType)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 134: // template_type_spec ::= fixed_point_type { CUP$result = new TemplateTypeSpec(/*template_type_spec*/48); ((TemplateTypeSpec)CUP$result).type_spec = (/*f*/(FixedPointType)CUP$stack.elementAt(CUP$top-0)); ((TemplateTypeSpec)CUP$result).set_token((/*f*/(FixedPointType)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 133: // template_type_spec ::= string_type { CUP$result = new TemplateTypeSpec(/*template_type_spec*/48); ((TemplateTypeSpec)CUP$result).type_spec = (/*s*/(StringType)CUP$stack.elementAt(CUP$top-0)); ((TemplateTypeSpec)CUP$result).set_token((/*s*/(StringType)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 132: // template_type_spec ::= sequence_type { CUP$result = new TemplateTypeSpec(/*template_type_spec*/48); ((TemplateTypeSpec)CUP$result).type_spec = (/*s*/(SequenceType)CUP$stack.elementAt(CUP$top-0)); ((TemplateTypeSpec)CUP$result).set_token((/*s*/(SequenceType)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 131: // base_type_spec ::= VALUEBASE { CUP$result = new BaseType(/*base_type_spec*/58); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 130: // base_type_spec ::= any_type { CUP$result = new BaseType(/*base_type_spec*/58); ((BaseType)CUP$result).type_spec = (/*s*/(AnyType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 129: // base_type_spec ::= octet_type { CUP$result = new BaseType(/*base_type_spec*/58); ((BaseType)CUP$result).type_spec = (/*s*/(OctetType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 128: // base_type_spec ::= bool_type { CUP$result = new BaseType(/*base_type_spec*/58); ((BaseType)CUP$result).type_spec = (/*s*/(BooleanType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 127: // base_type_spec ::= char_type { CUP$result = new BaseType(/*base_type_spec*/58); ((BaseType)CUP$result).type_spec = (/*s*/(CharType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 126: // base_type_spec ::= int_type { CUP$result = new BaseType(/*base_type_spec*/58); ((BaseType)CUP$result).type_spec = (/*s*/(IntType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 125: // base_type_spec ::= float_pt_type { CUP$result = new BaseType(/*base_type_spec*/58); ((BaseType)CUP$result).type_spec = (/*s*/(FloatPtType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 124: // simple_type_spec ::= scopename { CUP$result = new SimpleTypeSpec(/*simple_type_spec*/47); ((SimpleTypeSpec)CUP$result).type_spec = (/*s*/(ScopedName)CUP$stack.elementAt(CUP$top-0)); ((SimpleTypeSpec)CUP$result).set_token((/*s*/(ScopedName)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 123: // simple_type_spec ::= template_type_spec { CUP$result = new SimpleTypeSpec(/*simple_type_spec*/47); ((SimpleTypeSpec)CUP$result).type_spec = (/*s*/(TemplateTypeSpec)CUP$stack.elementAt(CUP$top-0)); ((SimpleTypeSpec)CUP$result).set_token((/*s*/(TemplateTypeSpec)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 122: // simple_type_spec ::= base_type_spec { CUP$result = new SimpleTypeSpec(/*simple_type_spec*/47); ((SimpleTypeSpec)CUP$result).type_spec = (/*s*/(BaseType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 121: // type_spec ::= constr_type_spec { CUP$result = new TypeSpec(/*type_spec*/42); ((TypeSpec)CUP$result).type_spec = (/*s*/(ConstrTypeSpec)CUP$stack.elementAt(CUP$top-0)); ((TypeSpec)CUP$result).set_token((/*s*/(ConstrTypeSpec)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 120: // type_spec ::= simple_type_spec { CUP$result = new TypeSpec(/*type_spec*/42); ((TypeSpec)CUP$result).type_spec = (/*s*/(SimpleTypeSpec)CUP$stack.elementAt(CUP$top-0)); ((TypeSpec)CUP$result).set_token((/*s*/(SimpleTypeSpec)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 119: // type_declarator ::= type_spec declarators { CUP$result = new TypeDeclarator(/*type_declarator*/41); ((TypeDeclarator)CUP$result).type_spec = (/*ts*/(TypeSpec)CUP$stack.elementAt(CUP$top-1)); ((TypeDeclarator)CUP$result).declarators = (/*ds*/(SymbolList)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 118: // type_def ::= TYPEDEF type_declarator { CUP$result = new TypeDef(/*type_def*/46); ((TypeDef)CUP$result).type_declarator = (/*t*/(TypeDeclarator)CUP$stack.elementAt(CUP$top-0)); ((TypeDef)CUP$result).set_included( parser.include_state ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 117: // type_dcl ::= native_type { CUP$result = new TypeDeclaration(/*type_dcl*/40); ((TypeDeclaration)CUP$result).type_decl = (/*n*/(NativeType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 116: // type_dcl ::= enum_type { CUP$result = new TypeDeclaration(/*type_dcl*/40); ((TypeDeclaration)CUP$result).type_decl = (/*e*/(EnumType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 115: // type_dcl ::= union_type { CUP$result = new TypeDeclaration(/*type_dcl*/40); ((TypeDeclaration)CUP$result).type_decl = (/*u*/(UnionType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 114: // type_dcl ::= struct_type { CUP$result = new TypeDeclaration(/*type_dcl*/40); ((TypeDeclaration)CUP$result).type_decl = (/*s*/(StructType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 113: // type_dcl ::= type_def { CUP$result = new TypeDeclaration(/*type_dcl*/40); ((TypeDeclaration)CUP$result).type_decl = (/*t*/(TypeDef)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 112: // positive_int_const ::= const_expr { CUP$result = new PosIntConst(/*positive_int_const*/31); ((PosIntConst)CUP$result).const_expr = (/*c*/(ConstExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 111: // string_literal ::= LDBLQUOTE DBLQUOTE { CUP$result = new Literal(/*string_literal*/76); ((Literal)CUP$result).string = "\"\""; ((Literal)CUP$result).wide = true; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 110: // string_literal ::= LDBLQUOTE ID DBLQUOTE { CUP$result = new Literal(/*string_literal*/76); ((Literal)CUP$result).string = "\"" + (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-1)).str_val + "\""; ((Literal)CUP$result).wide = true; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 109: // string_literal ::= DBLQUOTE DBLQUOTE { CUP$result = new Literal(/*string_literal*/76); ((Literal)CUP$result).string = "\"\""; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 108: // string_literal ::= DBLQUOTE ID DBLQUOTE { CUP$result = new Literal(/*string_literal*/76); ((Literal)CUP$result).string = "\"" + (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-1)).str_val + "\""; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 107: // literal ::= FALSE { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = "false"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 106: // literal ::= TRUE { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = "true"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 105: // literal ::= FLOAT_NUMBER { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = "" + (/*n*/(java_cup.runtime.float_token)CUP$stack.elementAt(CUP$top-0)).float_val ; ((Literal)CUP$result).token = (/*n*/(java_cup.runtime.float_token)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 104: // literal ::= FIXED_NUMBER { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = "" + (/*f*/(fixed_token)CUP$stack.elementAt(CUP$top-0)).fixed_val; ((Literal)CUP$result).token = (/*f*/(fixed_token)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 103: // literal ::= string_literal { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = (/*s*/(Literal)CUP$stack.elementAt(CUP$top-0)).string; ((Literal)CUP$result).wide = (/*s*/(Literal)CUP$stack.elementAt(CUP$top-0)).wide; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 102: // literal ::= QUOTE CH QUOTE { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = "\'" + (/*c*/(java_cup.runtime.char_token)CUP$stack.elementAt(CUP$top-1)).char_val + "\'"; ((Literal)CUP$result).token = (/*c*/(java_cup.runtime.char_token)CUP$stack.elementAt(CUP$top-1)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 101: // literal ::= LONG_NUMBER { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = "" + (/*l*/(java_cup.runtime.long_token)CUP$stack.elementAt(CUP$top-0)).long_val; ((Literal)CUP$result).token = (/*l*/(java_cup.runtime.long_token)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 100: // literal ::= NUMBER { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = "" + (/*n*/(java_cup.runtime.int_token)CUP$stack.elementAt(CUP$top-0)).int_val; ((Literal)CUP$result).token = (/*n*/(java_cup.runtime.int_token)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 99: // primary_expr ::= LPAREN const_expr RPAREN { CUP$result = new PrimaryExpr(/*primary_expr*/39); ((PrimaryExpr)CUP$result).symbol = (/*c*/(ConstExpr)CUP$stack.elementAt(CUP$top-1)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 98: // primary_expr ::= literal { CUP$result = new PrimaryExpr(/*primary_expr*/39); ((PrimaryExpr)CUP$result).symbol = (/*l*/(Literal)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 97: // primary_expr ::= scopename { CUP$result = new PrimaryExpr(/*primary_expr*/39); ((PrimaryExpr)CUP$result).symbol = (/*s*/(ScopedName)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 96: // unary_op ::= TILDE { CUP$result = new java_cup.runtime.str_token(/*unary_op*/7); ((java_cup.runtime.str_token)CUP$result).str_val = "~"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 95: // unary_op ::= PLUS { CUP$result = new java_cup.runtime.str_token(/*unary_op*/7); ((java_cup.runtime.str_token)CUP$result).str_val = "+"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 94: // unary_op ::= MINUS { CUP$result = new java_cup.runtime.str_token(/*unary_op*/7); ((java_cup.runtime.str_token)CUP$result).str_val = "-"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 93: // unary_expr ::= primary_expr { CUP$result = new UnaryExpr(/*unary_expr*/38); ((UnaryExpr)CUP$result).primary_expr = (/*p*/(PrimaryExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 92: // unary_expr ::= unary_op primary_expr { CUP$result = new UnaryExpr(/*unary_expr*/38); ((UnaryExpr)CUP$result).primary_expr = (/*p*/(PrimaryExpr)CUP$stack.elementAt(CUP$top-0)); ((UnaryExpr)CUP$result).unary_op = (/*u*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-1)).str_val; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 91: // mult_expr ::= mult_expr PERCENT unary_expr { CUP$result = new MultExpr(/*mult_expr*/37); ((MultExpr)CUP$result).unary_expr = (/*u*/(UnaryExpr)CUP$stack.elementAt(CUP$top-0)); ((MultExpr)CUP$result).mult_expr = (/*m*/(MultExpr)CUP$stack.elementAt(CUP$top-2)); ((MultExpr)CUP$result).operator = "%"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 90: // mult_expr ::= mult_expr SLASH unary_expr { CUP$result = new MultExpr(/*mult_expr*/37); ((MultExpr)CUP$result).unary_expr = (/*u*/(UnaryExpr)CUP$stack.elementAt(CUP$top-0)); ((MultExpr)CUP$result).mult_expr = (/*m*/(MultExpr)CUP$stack.elementAt(CUP$top-2)); ((MultExpr)CUP$result).operator = "/"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 89: // mult_expr ::= mult_expr STAR unary_expr { CUP$result = new MultExpr(/*mult_expr*/37); ((MultExpr)CUP$result).unary_expr = (/*u*/(UnaryExpr)CUP$stack.elementAt(CUP$top-0)); ((MultExpr)CUP$result).mult_expr = (/*m*/(MultExpr)CUP$stack.elementAt(CUP$top-2)); ((MultExpr)CUP$result).operator = "*"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 88: // mult_expr ::= unary_expr { CUP$result = new MultExpr(/*mult_expr*/37); ((MultExpr)CUP$result).unary_expr = (/*u*/(UnaryExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 87: // add_expr ::= add_expr MINUS mult_expr { CUP$result = new AddExpr(/*add_expr*/36); ((AddExpr)CUP$result).add_expr = (/*a*/(AddExpr)CUP$stack.elementAt(CUP$top-2)); ((AddExpr)CUP$result).mult_expr = (/*m*/(MultExpr)CUP$stack.elementAt(CUP$top-0)); ((AddExpr)CUP$result).operator = "-"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 86: // add_expr ::= add_expr PLUS mult_expr { CUP$result = new AddExpr(/*add_expr*/36); ((AddExpr)CUP$result).add_expr = (/*a*/(AddExpr)CUP$stack.elementAt(CUP$top-2)); ((AddExpr)CUP$result).mult_expr = (/*m*/(MultExpr)CUP$stack.elementAt(CUP$top-0)); ((AddExpr)CUP$result).operator = "+"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 85: // add_expr ::= mult_expr { CUP$result = new AddExpr(/*add_expr*/36); ((AddExpr)CUP$result).mult_expr = (/*m*/(MultExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 84: // shift_expr ::= shift_expr RSHIFT add_expr { CUP$result = new ShiftExpr(/*shift_expr*/35); ((ShiftExpr)CUP$result).add_expr = (/*a*/(AddExpr)CUP$stack.elementAt(CUP$top-0)); ((ShiftExpr)CUP$result).shift_expr = (/*s*/(ShiftExpr)CUP$stack.elementAt(CUP$top-2)); ((ShiftExpr)CUP$result).operator = ">>"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 83: // shift_expr ::= shift_expr LSHIFT add_expr { CUP$result = new ShiftExpr(/*shift_expr*/35); ((ShiftExpr)CUP$result).add_expr = (/*a*/(AddExpr)CUP$stack.elementAt(CUP$top-0)); ((ShiftExpr)CUP$result).shift_expr = (/*s*/(ShiftExpr)CUP$stack.elementAt(CUP$top-2)); ((ShiftExpr)CUP$result).operator = "<<"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 82: // shift_expr ::= add_expr { CUP$result = new ShiftExpr(/*shift_expr*/35); ((ShiftExpr)CUP$result).add_expr = (/*a*/(AddExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 81: // and_expr ::= and_expr AMPERSAND shift_expr { CUP$result = new AndExpr(/*and_expr*/34); ((AndExpr)CUP$result).and_expr = (/*a*/(AndExpr)CUP$stack.elementAt(CUP$top-2)); ((AndExpr)CUP$result).shift_expr = (/*s*/(ShiftExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 80: // and_expr ::= shift_expr { CUP$result = new AndExpr(/*and_expr*/34); ((AndExpr)CUP$result).shift_expr = (/*s*/(ShiftExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 79: // xor_expr ::= xor_expr CIRCUM and_expr { CUP$result = new XorExpr(/*xor_expr*/33); ((XorExpr)CUP$result).and_expr = (/*a*/(AndExpr)CUP$stack.elementAt(CUP$top-0)); ((XorExpr)CUP$result).xor_expr = (/*x*/(XorExpr)CUP$stack.elementAt(CUP$top-2)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 78: // xor_expr ::= and_expr { CUP$result = new XorExpr(/*xor_expr*/33); ((XorExpr)CUP$result).and_expr = (/*a*/(AndExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 77: // or_expr ::= or_expr BAR xor_expr { CUP$result = new OrExpr(/*or_expr*/32); ((OrExpr)CUP$result).or_expr = (/*o*/(OrExpr)CUP$stack.elementAt(CUP$top-2)); ((OrExpr)CUP$result).xor_expr = (/*x*/(XorExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 76: // or_expr ::= xor_expr { CUP$result = new OrExpr(/*or_expr*/32); ((OrExpr)CUP$result).xor_expr = (/*x*/(XorExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 75: // const_expr ::= or_expr { CUP$result = new ConstExpr(/*const_expr*/30); ((ConstExpr)CUP$result).or_expr = (/*o*/(OrExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 74: // const_type ::= scopename { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(ScopedName)CUP$stack.elementAt(CUP$top-0)); ((ConstType)CUP$result).set_token((/*s*/(ScopedName)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 73: // const_type ::= octet_type { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(OctetType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 72: // const_type ::= string_type { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(StringType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 71: // const_type ::= fixed_pt_const_type { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(FixedPointConstType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 70: // const_type ::= float_pt_type { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(FloatPtType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 69: // const_type ::= bool_type { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(BooleanType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 68: // const_type ::= char_type { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(CharType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 67: // const_type ::= int_type { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(IntType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 66: // const_dcl ::= CONST const_type ID EQUALS const_expr { CUP$result = new ConstDecl(/*const_dcl*/28); ((ConstDecl)CUP$result).set_name((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-2)).str_val); ((ConstDecl)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-2))); ((ConstDecl)CUP$result).const_expr = (/*ce*/(ConstExpr)CUP$stack.elementAt(CUP$top-0)); ((ConstDecl)CUP$result).const_type = (ConstType)(/*ct*/(ConstType)CUP$stack.elementAt(CUP$top-3)); ((ConstDecl)CUP$result).set_included( parser.include_state ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 65: // init_param_decl ::= IN param_type_spec simple_declarator { CUP$result = new InitParamDecl(/*init_param_decl*/27); ((InitParamDecl)CUP$result).paramTypeSpec = (/*ts*/(TypeSpec)CUP$stack.elementAt(CUP$top-1)); ((InitParamDecl)CUP$result).simple_declarator = (/*sd*/(SimpleDeclarator)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 64: // init_param_decls ::= init_param_decl COMMA init_param_decls { CUP$result = new SymbolList(/*init_param_decls*/90); ((SymbolList)CUP$result).v = (Vector)(/*ipdcls*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.insertElementAt( (/*ip*/(InitParamDecl)CUP$stack.elementAt(CUP$top-2)), 0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 63: // init_param_decls ::= init_param_decl { CUP$result = new SymbolList(/*init_param_decls*/90); ((SymbolList)CUP$result).v.insertElementAt( (/*ip*/(InitParamDecl)CUP$stack.elementAt(CUP$top-0)), 0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 62: // init_dcl ::= FACTORY ID LPAREN RPAREN SEMI { CUP$result = new InitDecl(/*init_dcl*/26); ((InitDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-3)).str_val; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 61: // init_dcl ::= FACTORY ID LPAREN init_param_decls RPAREN SEMI { CUP$result = new InitDecl(/*init_dcl*/26); ((InitDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val; ((InitDecl)CUP$result).paramDecls = (Vector)(/*ipd*/(SymbolList)CUP$stack.elementAt(CUP$top-2)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 60: // state_member ::= PRIVATE type_spec declarators SEMI { CUP$result = new StateMember(/*state_member*/25); ((StateMember)CUP$result).isPublic = false; ((StateMember)CUP$result).type_spec = (/*ts*/(TypeSpec)CUP$stack.elementAt(CUP$top-2)); ((StateMember)CUP$result).declarators = (/*ds*/(SymbolList)CUP$stack.elementAt(CUP$top-1)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 59: // state_member ::= PUBLIC type_spec declarators SEMI { CUP$result = new StateMember(/*state_member*/25); ((StateMember)CUP$result).isPublic = true; ((StateMember)CUP$result).type_spec = (/*ts*/(TypeSpec)CUP$stack.elementAt(CUP$top-2)); ((StateMember)CUP$result).declarators = (/*ds*/(SymbolList)CUP$stack.elementAt(CUP$top-1)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 58: // value_element ::= init_dcl { CUP$result = new Definition(/*value_element*/24); ((Definition)CUP$result).set_declaration ((/*id*/(InitDecl)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 57: // value_element ::= state_member { CUP$result = new Definition(/*value_element*/24); ((Definition)CUP$result).set_declaration ((/*sm*/(StateMember)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 56: // value_element ::= export { CUP$result = new Definition(/*value_element*/24); ((Definition)CUP$result).set_declaration ((/*e*/(Definition)CUP$stack.elementAt(CUP$top-0)).get_declaration()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 55: // value_elements ::= empty { CUP$result = new Definitions(/*value_elements*/23); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 54: // value_elements ::= value_element value_elements { CUP$result = new Definitions(/*value_elements*/23); ((Definitions)CUP$result).v = (Vector)(/*es*/(Definitions)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((Definitions)CUP$result).v.insertElementAt((/*e*/(Definition)CUP$stack.elementAt(CUP$top-1)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 53: // truncatable ::= TRUNCATABLE { CUP$result = new Truncatable(/*truncatable*/16); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 52: // value_inheritance_spec ::= empty { CUP$result = new ValueInheritanceSpec(/*value_inheritance_spec*/22); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 51: // value_inheritance_spec ::= COLON scopename_list SUPPORTS scopename_list { CUP$result = new ValueInheritanceSpec(/*value_inheritance_spec*/22); ((ValueInheritanceSpec)CUP$result).v = (Vector)(/*vn*/(SymbolList)CUP$stack.elementAt(CUP$top-2)).v.clone(); ((ValueInheritanceSpec)CUP$result).supports = (Vector)(/*interface_names*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 50: // value_inheritance_spec ::= COLON truncatable scopename_list SUPPORTS scopename_list { CUP$result = new ValueInheritanceSpec(/*value_inheritance_spec*/22); ((ValueInheritanceSpec)CUP$result).truncatable = (/*t*/(Truncatable)CUP$stack.elementAt(CUP$top-3)); ((ValueInheritanceSpec)CUP$result).truncatable.scopedName = (ScopedName)(/*vn*/(SymbolList)CUP$stack.elementAt(CUP$top-2)).v.remove(0); ((ValueInheritanceSpec)CUP$result).v = (Vector)(/*vn*/(SymbolList)CUP$stack.elementAt(CUP$top-2)).v.clone(); ((ValueInheritanceSpec)CUP$result).supports = (Vector)(/*interface_names*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 49: // value_inheritance_spec ::= SUPPORTS scopename_list { CUP$result = new ValueInheritanceSpec(/*value_inheritance_spec*/22); ((ValueInheritanceSpec)CUP$result).supports = (Vector)(/*interface_names*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 48: // value_inheritance_spec ::= COLON scopename_list { CUP$result = new ValueInheritanceSpec(/*value_inheritance_spec*/22); ((ValueInheritanceSpec)CUP$result).v = (Vector)(/*vn*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 47: // value_inheritance_spec ::= COLON truncatable scopename_list { CUP$result = new ValueInheritanceSpec(/*value_inheritance_spec*/22); ((ValueInheritanceSpec)CUP$result).truncatable = (/*t*/(Truncatable)CUP$stack.elementAt(CUP$top-1)); ((ValueInheritanceSpec)CUP$result).truncatable.scopedName = (ScopedName)(/*vn*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.remove(0); ((ValueInheritanceSpec)CUP$result).v = (Vector)(/*vn*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 46: // value_dcl ::= VALUETYPE ID value_inheritance_spec LCBRACE value_elements RCBRACE { CUP$result = new ValueDecl(/*value_dcl*/19); ((ValueDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val; ((ValueDecl)CUP$result).set_token ((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); ((ValueDecl)CUP$result).setInheritanceSpec ((/*is*/(ValueInheritanceSpec)CUP$stack.elementAt(CUP$top-3))); ((ValueDecl)CUP$result).setValueElements ((/*ve*/(Definitions)CUP$stack.elementAt(CUP$top-1))); ((ValueDecl)CUP$result).isCustomMarshalled (false); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 45: // value_dcl ::= VALUETYPE ID { CUP$result = new ValueDecl(/*value_dcl*/19); ((ValueDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0)).str_val; ((ValueDecl)CUP$result).set_token ((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); ((ValueDecl)CUP$result).isCustomMarshalled (false); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 44: // value_dcl ::= CUSTOM VALUETYPE ID value_inheritance_spec LCBRACE value_elements RCBRACE { CUP$result = new ValueDecl(/*value_dcl*/19); ((ValueDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val; ((ValueDecl)CUP$result).set_token ((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); ((ValueDecl)CUP$result).setInheritanceSpec ((/*is*/(ValueInheritanceSpec)CUP$stack.elementAt(CUP$top-3))); ((ValueDecl)CUP$result).setValueElements ((/*ve*/(Definitions)CUP$stack.elementAt(CUP$top-1))); ((ValueDecl)CUP$result).isCustomMarshalled (true); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 43: // value_body ::= empty { CUP$result = new ValueBody(/*value_body*/21); ((ValueBody)CUP$result).commit(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 42: // value_body ::= export value_body { CUP$result = new ValueBody(/*value_body*/21); ((ValueBody)CUP$result).v = (Vector)(/*vb*/(ValueBody)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((ValueBody)CUP$result).v.insertElementAt((/*e*/(Definition)CUP$stack.elementAt(CUP$top-1)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 41: // value_abs_dcl ::= ABSTRACT VALUETYPE ID { CUP$result = new ValueAbsDecl(/*value_abs_dcl*/20); ((ValueAbsDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0)).str_val; ((ValueAbsDecl)CUP$result).set_token ((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 40: // value_abs_dcl ::= ABSTRACT VALUETYPE ID value_inheritance_spec LCBRACE value_body RCBRACE { CUP$result = new ValueAbsDecl(/*value_abs_dcl*/20); ((ValueAbsDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val; ((ValueAbsDecl)CUP$result).setInheritanceSpec( (/*is*/(ValueInheritanceSpec)CUP$stack.elementAt(CUP$top-3)) ); ((ValueAbsDecl)CUP$result).body = (/*b*/(ValueBody)CUP$stack.elementAt(CUP$top-1)); (/*b*/(ValueBody)CUP$stack.elementAt(CUP$top-1)).set_name((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val); (/*b*/(ValueBody)CUP$stack.elementAt(CUP$top-1)).myAbsValue = ((ValueAbsDecl)CUP$result); (/*b*/(ValueBody)CUP$stack.elementAt(CUP$top-1)).setEnclosingSymbol(((ValueAbsDecl)CUP$result)); ((ValueAbsDecl)CUP$result).set_token ((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 39: // value_box_dcl ::= VALUETYPE ID type_spec { CUP$result = new ValueBoxDecl(/*value_box_dcl*/18); ((ValueBoxDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-1)).str_val; ((ValueBoxDecl)CUP$result).typeSpec = (/*ts*/(TypeSpec)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 38: // value ::= value_box_dcl { CUP$result = new Value(/*value*/17); ((Value)CUP$result).setValue ((/*vbx*/(ValueBoxDecl)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 37: // value ::= value_abs_dcl { CUP$result = new Value(/*value*/17); ((Value)CUP$result).setValue ((/*vad*/(ValueAbsDecl)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 36: // value ::= value_dcl { CUP$result = new Value(/*value*/17); ((Value)CUP$result).setValue ((/*vd*/(ValueDecl)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 35: // scopename ::= OBJECT { CUP$result = new ScopedName(/*scopename*/15); ((ScopedName)CUP$result).typeName = "org.omg.CORBA.Object"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 34: // scopename ::= scopename DBLCOLON ID { CUP$result = new ScopedName(/*scopename*/15); ((ScopedName)CUP$result).setId( (/*sn*/(ScopedName)CUP$stack.elementAt(CUP$top-2)).typeName+ "." + (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0)).str_val ); ((ScopedName)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 33: // scopename ::= DBLCOLON ID { CUP$result = new ScopedName(/*scopename*/15); ((ScopedName)CUP$result).setId( "." + (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0)).str_val); ((ScopedName)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 32: // scopename ::= ID { CUP$result = new ScopedName(/*scopename*/15); ((ScopedName)CUP$result).setId( (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0)).str_val ); ((ScopedName)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 31: // scopename_list ::= scopename { CUP$result = new SymbolList(/*scopename_list*/92); ((SymbolList)CUP$result).v.insertElementAt((/*sn*/(ScopedName)CUP$stack.elementAt(CUP$top-0)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 30: // scopename_list ::= scopename COMMA scopename_list { CUP$result = new SymbolList(/*scopename_list*/92); ((SymbolList)CUP$result).v = (Vector)(/*snl*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.insertElementAt((/*sn*/(ScopedName)CUP$stack.elementAt(CUP$top-2)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 29: // inheritance_spec ::= empty { CUP$result = new SymbolList(/*inheritance_spec*/95); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 28: // inheritance_spec ::= COLON scopename_list { CUP$result = new SymbolList(/*inheritance_spec*/95); ((SymbolList)CUP$result).v = (Vector)(/*sl*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 27: // export ::= op_dcl SEMI { CUP$result = new Definition(/*export*/14); ((Definition)CUP$result).set_declaration((/*o*/(OpDecl)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 26: // export ::= attr_dcl SEMI { CUP$result = new Definition(/*export*/14); ((Definition)CUP$result).set_declaration((/*a*/(AttrDecl)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 25: // export ::= except_dcl SEMI { CUP$result = new Definition(/*export*/14); ((Definition)CUP$result).set_declaration((/*e*/(StructType)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 24: // export ::= const_dcl SEMI { CUP$result = new Definition(/*export*/14); ((Definition)CUP$result).set_declaration((/*c*/(ConstDecl)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 23: // export ::= type_dcl SEMI { CUP$result = new Definition(/*export*/14); ((Definition)CUP$result).set_declaration((/*t*/(TypeDeclaration)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 22: // interface_body ::= empty { CUP$result = new InterfaceBody(/*interface_body*/13); ((InterfaceBody)CUP$result).commit(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 21: // interface_body ::= export interface_body { CUP$result = new InterfaceBody(/*interface_body*/13); ((InterfaceBody)CUP$result).v = (Vector)(/*i*/(InterfaceBody)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((InterfaceBody)CUP$result).v.insertElementAt((/*e*/(Definition)CUP$stack.elementAt(CUP$top-1)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 20: // interface ::= PSEUDO INTERFACE ID { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_pseudo(); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); // ((Interface)CUP$result).set_locality( parser.getLocalityContraint()); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 19: // interface ::= LOCAL INTERFACE ID { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); ((Interface)CUP$result).set_abstract(); ((Interface)CUP$result).set_locality( true ); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 18: // interface ::= ABSTRACT INTERFACE ID { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); ((Interface)CUP$result).set_abstract(); // ((Interface)CUP$result).set_locality( parser.getLocalityContraint()); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 17: // interface ::= INTERFACE ID { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); // ((Interface)CUP$result).set_locality( parser.getLocalityContraint()); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 16: // interface ::= PSEUDO INTERFACE ID inheritance_spec LCBRACE interface_body RCBRACE { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_pseudo(); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); ((Interface)CUP$result).inheritanceSpec = (/*is*/(SymbolList)CUP$stack.elementAt(CUP$top-3)); ((Interface)CUP$result).body = (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).set_pseudo(); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).set_name((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val);// (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).my_interface = ((Interface)CUP$result); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).setEnclosingSymbol(((Interface)CUP$result)); ((Interface)CUP$result).set_included( parser.include_state ); // ((Interface)CUP$result).set_locality( parser.getLocalityContraint()); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 15: // interface ::= LOCAL INTERFACE ID inheritance_spec LCBRACE interface_body RCBRACE { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); ((Interface)CUP$result).inheritanceSpec = (/*is*/(SymbolList)CUP$stack.elementAt(CUP$top-3)); ((Interface)CUP$result).body = (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)) ; (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).set_name((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).my_interface = ((Interface)CUP$result); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).setEnclosingSymbol(((Interface)CUP$result)); ((Interface)CUP$result).set_included( parser.include_state ); ((Interface)CUP$result).set_locality( true ); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 14: // interface ::= ABSTRACT INTERFACE ID inheritance_spec LCBRACE interface_body RCBRACE { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); ((Interface)CUP$result).set_abstract(); ((Interface)CUP$result).inheritanceSpec = (/*is*/(SymbolList)CUP$stack.elementAt(CUP$top-3)); ((Interface)CUP$result).body = (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)) ; (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).set_name((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).my_interface = ((Interface)CUP$result); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).setEnclosingSymbol(((Interface)CUP$result)); ((Interface)CUP$result).set_included( parser.include_state ); // ((Interface)CUP$result).set_locality( parser.getLocalityContraint()); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 13: // interface ::= INTERFACE ID inheritance_spec LCBRACE interface_body RCBRACE { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); ((Interface)CUP$result).inheritanceSpec = (/*is*/(SymbolList)CUP$stack.elementAt(CUP$top-3)); ((Interface)CUP$result).body = (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)) ; (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).set_name((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).my_interface = ((Interface)CUP$result); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).setEnclosingSymbol(((Interface)CUP$result)); ((Interface)CUP$result).set_included( parser.include_state ); // ((Interface)CUP$result).set_locality( parser.getLocalityContraint()); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 12: // module ::= MODULE ID LCBRACE definitions RCBRACE { CUP$result = new Module(/*module*/11); ((Module)CUP$result).spec = (/*d*/(Definitions)CUP$stack.elementAt(CUP$top-1)); ((Module)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-3))); ((Module)CUP$result).setPackage((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-3)).str_val ); ((Module)CUP$result).set_included( parser.include_state ); (/*d*/(Definitions)CUP$stack.elementAt(CUP$top-1)).setEnclosingSymbol(((Module)CUP$result)); parser.closeScope( (Scope)((Module)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 11: // definition ::= value SEMI { CUP$result = new Definition(/*definition*/9); ((Definition)CUP$result).set_declaration((/*m*/(Value)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 10: // definition ::= module SEMI { CUP$result = new Definition(/*definition*/9); ((Definition)CUP$result).set_declaration((/*m*/(Module)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 9: // definition ::= interface SEMI { CUP$result = new Definition(/*definition*/9); ((Definition)CUP$result).set_declaration((/*p*/(Interface)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 8: // definition ::= except_dcl SEMI { CUP$result = new Definition(/*definition*/9); ((Definition)CUP$result).set_declaration((/*e*/(StructType)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 7: // definition ::= const_dcl SEMI { CUP$result = new Definition(/*definition*/9); ((Definition)CUP$result).set_declaration((/*c*/(ConstDecl)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 6: // definition ::= type_dcl SEMI { CUP$result = new Definition(/*definition*/9); ((Definition)CUP$result).set_declaration((/*t*/(TypeDeclaration)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 5: // definitions ::= definition { CUP$result = new Definitions(/*definitions*/10); ((Definitions)CUP$result).v.insertElementAt((/*d*/(Definition)CUP$stack.elementAt(CUP$top-0)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 4: // definitions ::= definition definitions { CUP$result = new Definitions(/*definitions*/10); ((Definitions)CUP$result).v = (Vector)(/*ds*/(Definitions)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((Definitions)CUP$result).v.insertElementAt((/*d*/(Definition)CUP$stack.elementAt(CUP$top-1)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 3: // specification ::= empty { CUP$result = new Spec(/*specification*/8); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 2: // specification ::= NT$0 definitions { CUP$result = new Spec(/*specification*/8); /* parsing */ // open the global scope parser.openScope(); ((Spec)CUP$result).definitions = (Vector)(/*ds*/(Definitions)CUP$stack.elementAt(CUP$top-0)).v.clone(); if( ((org.jacorb.idl.parser)CUP$parser).package_prefix != null ) ((Spec)CUP$result).setPackage( ((org.jacorb.idl.parser)CUP$parser).package_prefix ); ((Spec)CUP$result).parse(); if ( lexer.error_count != 0 ) { System.err.println(lexer.error_count + " error(s)."); System.exit(1); } // if there are still interfaces to be parsed, wait until the // threads performing this have finished. The last one // will call notify() :) if( parser.pending_interfaces.size() > 0 ) { // give other threads a chance to start and signal // that they're active Thread.yield(); boolean runnableFound = false; // still no one seems to be active, but we'll call // round to be sure if( parser.activeParseThreads() == 0 ) { for( int t = 0; t < InterfaceBody.parseThreads.size() && !runnableFound; t++ ) { runnableFound = ((InterfaceBody.ParseThread)InterfaceBody.parseThreads.elementAt(t)).isRunnable(); } } // only block waiting if we know that there are active or // runnable threads and that there are still pending tasks if( ( parser.activeParseThreads() > 1 || runnableFound ) && parser.pending_interfaces.size() > 0 ) { synchronized( parser.pending_interfaces ) { parser.pending_interfaces.wait(); } } } if( parser.pending_interfaces.size() > 0 && !parser.sloppy ) { parser.fatal_error("Undefined interface: " + (String)(parser.pending_interfaces.keys().nextElement()), null ); } /* okay, parsing is done */ parser.done_parsing = true; /* code generation phase */ if (! ((org.jacorb.idl.parser)CUP$parser).parse_only ) { ((Spec)CUP$result).print( new java.io.PrintWriter( java.lang.System.out ) ); } } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 1: // NT$0 ::= { CUP$result = new java_cup.runtime.token(/*NT$0*/98); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 0: // $START ::= specification EOF { CUP$result = new java_cup.runtime.token(/*$START*/0); } /* ACCEPT */ CUP$parser.done_parsing(); return CUP$result; /* . . . . . .*/ default: throw new Exception( "Invalid action number found in internal parse table"); } }
46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/459917427e43784c811fea8081796b8a67dfaa54/parser.java/clean/src/org/jacorb/idl/parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 2252, 67, 71, 416, 18, 9448, 18, 7175, 385, 3079, 8, 2896, 67, 1128, 12, 565, 509, 13491, 385, 3079, 8, 621, 67, 2107, 16, 565, 2252, 67, 71, 416, 18, 9448, 18, 10826, 67, 4288, 385, 3079, 8, 4288, 16, 565, 2252, 18, 1367, 18, 2624, 5411, 385, 3079, 8, 3772, 16, 565, 509, 13491, 385, 3079, 8, 3669, 13, 565, 1216, 2252, 18, 4936, 18, 503, 565, 288, 1377, 1748, 733, 364, 327, 628, 4209, 1195, 1377, 2252, 67, 71, 416, 18, 9448, 18, 7175, 385, 3079, 8, 2088, 31, 1377, 1748, 2027, 326, 1301, 2511, 603, 326, 1301, 1300, 1195, 1377, 1620, 261, 39, 3079, 8, 621, 67, 2107, 13, 3639, 288, 1850, 1748, 18, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 5549, 1850, 648, 576, 5558, 30, 368, 1008, 493, 33, 2398, 288, 2868, 385, 3079, 8, 2088, 273, 394, 2252, 67, 71, 416, 18, 9448, 18, 7175, 12, 20308, 5531, 5549, 24, 1769, 12900, 289, 1850, 327, 385, 3079, 8, 2088, 31, 1850, 1748, 18, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 5549, 1850, 648, 28298, 30, 368, 579, 67, 723, 67, 2793, 493, 33, 888, 556, 1069, 2398, 288, 2868, 385, 3079, 8, 2088, 273, 394, 1412, 1990, 12, 20308, 891, 67, 723, 67, 2793, 5549, 6334, 1769, 9079, 14015, 559, 1990, 13, 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, 282, 1071, 727, 2252, 67, 71, 416, 18, 9448, 18, 7175, 385, 3079, 8, 2896, 67, 1128, 12, 565, 509, 13491, 385, 3079, 8, 621, 67, 2107, 16, 565, 2252, 67, 71, 416, 18, 9448, 18, 10826, 67, 4288, 385, 3079, 8, 4288, 16, 565, 2252, 18, 1367, 18, 2624, 5411, 385, 3079, 8, 3772, 16, 565, 509, 13491, 385, 3079, 8, 3669, 13, 565, 1216, 2252, 18, 4936, 18, 503, 565, 288, 1377, 1748, 733, 364, 327, 628, 4209, 1195, 1377, 2252, 67, 71, 416, 18, 9448, 18, 7175, 385, 3079, 8, 2088, 31, 1377, 1748, 2027, 326, 1301, 2511, 603, 326, 1301, 1300, 1195, 1377, 1620, 261, 39, 3079, 8, 621, 67, 2107, 13, 3639, 288, 1850, 2 ]
case T_double :
case TypeIds.T_double :
public void sendOperator(int operatorConstant, int type_ID) { switch (type_ID) { case T_int : case T_boolean : case T_char : case T_byte : case T_short : switch (operatorConstant) { case PLUS : this.iadd(); break; case MINUS : this.isub(); break; case MULTIPLY : this.imul(); break; case DIVIDE : this.idiv(); break; case REMAINDER : this.irem(); break; case LEFT_SHIFT : this.ishl(); break; case RIGHT_SHIFT : this.ishr(); break; case UNSIGNED_RIGHT_SHIFT : this.iushr(); break; case AND : this.iand(); break; case OR : this.ior(); break; case XOR : this.ixor(); break; } break; case T_long : switch (operatorConstant) { case PLUS : this.ladd(); break; case MINUS : this.lsub(); break; case MULTIPLY : this.lmul(); break; case DIVIDE : this.ldiv(); break; case REMAINDER : this.lrem(); break; case LEFT_SHIFT : this.lshl(); break; case RIGHT_SHIFT : this.lshr(); break; case UNSIGNED_RIGHT_SHIFT : this.lushr(); break; case AND : this.land(); break; case OR : this.lor(); break; case XOR : this.lxor(); break; } break; case T_float : switch (operatorConstant) { case PLUS : this.fadd(); break; case MINUS : this.fsub(); break; case MULTIPLY : this.fmul(); break; case DIVIDE : this.fdiv(); break; case REMAINDER : this.frem(); } break; case T_double : switch (operatorConstant) { case PLUS : this.dadd(); break; case MINUS : this.dsub(); break; case MULTIPLY : this.dmul(); break; case DIVIDE : this.ddiv(); break; case REMAINDER : this.drem(); } }}
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/5a485cb39d1ee33622141cf426fac71c4bf93ded/CodeStream.java/buggy/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 1366, 5592, 12, 474, 3726, 6902, 16, 509, 618, 67, 734, 13, 288, 202, 9610, 261, 723, 67, 734, 13, 288, 202, 202, 3593, 399, 67, 474, 294, 202, 202, 3593, 399, 67, 6494, 294, 202, 202, 3593, 399, 67, 3001, 294, 202, 202, 3593, 399, 67, 7229, 294, 202, 202, 3593, 399, 67, 6620, 294, 1082, 202, 9610, 261, 9497, 6902, 13, 288, 9506, 202, 3593, 22443, 3378, 294, 6862, 202, 2211, 18, 77, 1289, 5621, 6862, 202, 8820, 31, 9506, 202, 3593, 6989, 3378, 294, 6862, 202, 2211, 18, 291, 373, 5621, 6862, 202, 8820, 31, 9506, 202, 3593, 31385, 7076, 294, 6862, 202, 2211, 18, 381, 332, 5621, 6862, 202, 8820, 31, 9506, 202, 3593, 27355, 10385, 294, 6862, 202, 2211, 18, 350, 427, 5621, 6862, 202, 8820, 31, 9506, 202, 3593, 2438, 5535, 14822, 294, 6862, 202, 2211, 18, 577, 81, 5621, 6862, 202, 8820, 31, 9506, 202, 3593, 9686, 67, 23191, 294, 6862, 202, 2211, 18, 1468, 80, 5621, 6862, 202, 8820, 31, 9506, 202, 3593, 13135, 67, 23191, 294, 6862, 202, 2211, 18, 1468, 86, 5621, 6862, 202, 8820, 31, 9506, 202, 3593, 5019, 21049, 67, 11847, 67, 23191, 294, 6862, 202, 2211, 18, 77, 1218, 86, 5621, 6862, 202, 8820, 31, 9506, 202, 3593, 4116, 294, 6862, 202, 2211, 18, 77, 464, 5621, 6862, 202, 8820, 31, 9506, 202, 3593, 4869, 294, 6862, 202, 2211, 18, 9659, 5621, 6862, 202, 8820, 31, 9506, 202, 3593, 28086, 294, 6862, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 1366, 5592, 12, 474, 3726, 6902, 16, 509, 618, 67, 734, 13, 288, 202, 9610, 261, 723, 67, 734, 13, 288, 202, 202, 3593, 399, 67, 474, 294, 202, 202, 3593, 399, 67, 6494, 294, 202, 202, 3593, 399, 67, 3001, 294, 202, 202, 3593, 399, 67, 7229, 294, 202, 202, 3593, 399, 67, 6620, 294, 1082, 202, 9610, 261, 9497, 6902, 13, 288, 9506, 202, 3593, 22443, 3378, 294, 6862, 202, 2211, 18, 77, 1289, 5621, 6862, 202, 8820, 31, 9506, 202, 3593, 6989, 3378, 294, 6862, 202, 2211, 18, 291, 373, 5621, 6862, 202, 8820, 31, 9506, 202, 3593, 31385, 7076, 294, 6862, 202, 2211, 18, 381, 332, 5621, 6862, 202, 8820, 31, 9506, 202, 2 ]
informMsg.setSource(myAgent.getName()); informMsg.removeAllDests(); informMsg.addDest(acceptMsg.getSource()); informMsg.setReplyTo(acceptMsg.getReplyWith());
informMsg.setSender(myAgent.getAID()); informMsg.clearAllReceiver(); informMsg.addReceiver(acceptMsg.getSender()); informMsg.setInReplyTo(acceptMsg.getReplyWith());
final public void action() { switch (state) { case 0: { cfpMsg = myAgent.receive(mt); if (cfpMsg == null) { block(); return; } //System.err.println("FipaContractNetResponderBehaviour: receive"); //cfpMsg.dump(); state = 1; break; } case 1: { proposeMsg = handleCfpMessage(cfpMsg); state = 2; if (proposeMsg == null) reset(); break; } case 2: { state = 3; proposeMsg.setSource(myAgent.getName()); proposeMsg.setReplyTo(cfpMsg.getReplyWith()); proposeMsg.setProtocol("FIPA-Contract-Net"); proposeMsg.setConversationId(cfpMsg.getConversationId()); if (proposeMsg.getReplyWith().length()<1) proposeMsg.setReplyWith("ContractNetResponder"+(new Date()).getTime()); template = MessageTemplate.MatchReplyTo(proposeMsg.getReplyWith()); myAgent.send(proposeMsg); //System.err.println("FipaContractNetResponderBehaviour: send"); //proposeMsg.dump(); if (! (ACLMessage.PROPOSE == proposeMsg.getPerformative())) reset(); else { timeout = proposeMsg.getReplyByDate().getTime()-(new Date()).getTime(); if (timeout <= 1000) timeout = -1; // infinite timeout endingTime = System.currentTimeMillis() + timeout; // System.err.println("FipaQueryInitiatorBehaviour: timeout="+timeout+" endingTime="+endingTime+" currTime="+System.currentTimeMillis()); } break; } case 3: { // in this state I can receive only accept-proposal or reject-proposal acceptMsg = myAgent.receive(template); if (acceptMsg == null) { if (timeout > 0) { blockTime = endingTime - System.currentTimeMillis(); // System.err.println("FipaContractNetResponderBehaviour: timeout="+timeout+" endingTime="+endingTime+" currTime="+System.currentTimeMillis()+" blockTime="+blockTime); if (blockTime <= 0) { //timeout expired reset(); return; } else { block(blockTime); return; } } else { // query without timeout block(); return; } } if (ACLMessage.ACCEPT_PROPOSAL == acceptMsg.getPerformative()) { //System.err.println("FipaContractNetResponderBehaviour: receive"); //acceptMsg.dump(); state = 4; informMsg = handleAcceptProposalMessage(acceptMsg); } else if (ACLMessage.REJECT_PROPOSAL == acceptMsg.getPerformative()) { //System.err.println("FipaContractNetResponderBehaviour: receive"); //acceptMsg.dump(); handleRejectProposalMessage(acceptMsg); reset(); } else handleOtherMessages(acceptMsg); break; } case 4: { // send the last message informMsg.setSource(myAgent.getName()); informMsg.removeAllDests(); informMsg.addDest(acceptMsg.getSource()); informMsg.setReplyTo(acceptMsg.getReplyWith()); informMsg.setProtocol("FIPA-Contract-Net"); informMsg.setConversationId(acceptMsg.getConversationId()); myAgent.send(informMsg); //System.err.println("FipaContractNetResponderBehaviour: send"); //informMsg.dump(); reset(); break; } } // end of switch }
5505 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5505/6103c8a7536c2eaf88202e3d5c6c115b600385dd/FipaContractNetResponderBehaviour.java/buggy/src/jade/proto/FipaContractNetResponderBehaviour.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 918, 1301, 1435, 288, 565, 1620, 261, 2019, 13, 288, 565, 648, 374, 30, 288, 1377, 6080, 84, 3332, 273, 3399, 3630, 18, 18149, 12, 1010, 1769, 1377, 309, 261, 71, 7944, 3332, 422, 446, 13, 288, 202, 2629, 5621, 202, 2463, 31, 1377, 289, 1377, 368, 3163, 18, 370, 18, 8222, 2932, 42, 625, 69, 8924, 7308, 28840, 19376, 477, 30, 6798, 8863, 1377, 368, 71, 7944, 3332, 18, 8481, 5621, 1377, 919, 273, 404, 31, 1377, 898, 31, 565, 289, 565, 648, 404, 30, 288, 1377, 450, 4150, 3332, 273, 1640, 39, 7944, 1079, 12, 71, 7944, 3332, 1769, 1377, 919, 273, 576, 31, 1377, 309, 261, 685, 4150, 3332, 422, 446, 13, 225, 202, 6208, 5621, 1377, 898, 31, 565, 289, 565, 648, 576, 30, 288, 1377, 919, 273, 890, 31, 1377, 450, 4150, 3332, 18, 542, 1830, 12, 4811, 3630, 18, 17994, 10663, 1377, 450, 4150, 3332, 18, 542, 7817, 774, 12, 71, 7944, 3332, 18, 588, 7817, 1190, 10663, 1377, 450, 4150, 3332, 18, 542, 5752, 2932, 1653, 4066, 17, 8924, 17, 7308, 8863, 1377, 450, 4150, 3332, 18, 542, 15717, 548, 12, 71, 7944, 3332, 18, 588, 15717, 548, 10663, 1377, 309, 261, 685, 4150, 3332, 18, 588, 7817, 1190, 7675, 2469, 1435, 32, 21, 13, 202, 685, 4150, 3332, 18, 542, 7817, 1190, 2932, 8924, 7308, 28840, 6, 15, 12, 2704, 2167, 1435, 2934, 588, 950, 10663, 1377, 1542, 273, 2350, 2283, 18, 2060, 7817, 774, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 918, 1301, 1435, 288, 565, 1620, 261, 2019, 13, 288, 565, 648, 374, 30, 288, 1377, 6080, 84, 3332, 273, 3399, 3630, 18, 18149, 12, 1010, 1769, 1377, 309, 261, 71, 7944, 3332, 422, 446, 13, 288, 202, 2629, 5621, 202, 2463, 31, 1377, 289, 1377, 368, 3163, 18, 370, 18, 8222, 2932, 42, 625, 69, 8924, 7308, 28840, 19376, 477, 30, 6798, 8863, 1377, 368, 71, 7944, 3332, 18, 8481, 5621, 1377, 919, 273, 404, 31, 1377, 898, 31, 565, 289, 565, 648, 404, 30, 288, 1377, 450, 4150, 3332, 273, 1640, 39, 7944, 1079, 12, 71, 7944, 3332, 1769, 1377, 919, 273, 576, 31, 1377, 309, 261, 685, 4150, 3332, 422, 446, 13, 225, 2 ]
throw Context.reportRuntimeError(Context.getMessage ("msg.add.sealed", null));
throw Context.reportRuntimeError0("msg.add.sealed");
private synchronized int addSlot(String id, int index, boolean getterSlot) { if (count == -1) throw Context.reportRuntimeError(Context.getMessage ("msg.add.sealed", null)); int start = (index & 0x7fffffff) % slots.length; int i = start; do { Slot slot = slots[i]; if (slot == null || slot == REMOVED) { count++; if ((4 * count) > (3 * slots.length)) { grow(); return getSlotToSet(id, index, getterSlot); } slot = getterSlot ? new GetterSlot() : new Slot(); slot.stringKey = id; slot.intKey = index; slots[i] = slot; return i; } if (slot.intKey == index && (slot.stringKey == id || (id != null && id.equals(slot.stringKey)))) { return i; } if (++i == slots.length) i = 0; } while (i != start); throw new RuntimeException("Hashtable internal error"); }
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/e737c6d867e82d4ba7fd00e7e388c9c8da824ff0/ScriptableObject.java/buggy/js/rhino/org/mozilla/javascript/ScriptableObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 3852, 509, 527, 8764, 12, 780, 612, 16, 509, 770, 16, 1250, 7060, 8764, 13, 565, 288, 3639, 309, 261, 1883, 422, 300, 21, 13, 5411, 604, 1772, 18, 6006, 5576, 668, 12, 1042, 18, 24906, 4766, 2398, 7566, 3576, 18, 1289, 18, 307, 18931, 3113, 446, 10019, 3639, 509, 787, 273, 261, 1615, 473, 374, 92, 27, 18217, 74, 13, 738, 12169, 18, 2469, 31, 3639, 509, 277, 273, 787, 31, 3639, 741, 288, 5411, 23195, 4694, 273, 12169, 63, 77, 15533, 5411, 309, 261, 14194, 422, 446, 747, 4694, 422, 23769, 12135, 13, 288, 7734, 1056, 9904, 31, 7734, 309, 14015, 24, 380, 1056, 13, 405, 261, 23, 380, 12169, 18, 2469, 3719, 288, 10792, 13334, 5621, 10792, 327, 17718, 352, 25208, 12, 350, 16, 770, 16, 7060, 8764, 1769, 7734, 289, 7734, 4694, 273, 7060, 8764, 692, 394, 968, 387, 8764, 1435, 294, 394, 23195, 5621, 7734, 4694, 18, 1080, 653, 273, 612, 31, 7734, 4694, 18, 474, 653, 273, 770, 31, 7734, 12169, 63, 77, 65, 273, 4694, 31, 7734, 327, 277, 31, 5411, 289, 5411, 309, 261, 14194, 18, 474, 653, 422, 770, 597, 1171, 261, 14194, 18, 1080, 653, 422, 612, 747, 261, 350, 480, 446, 597, 4766, 6647, 612, 18, 14963, 12, 14194, 18, 1080, 653, 3719, 3719, 2398, 288, 7734, 327, 277, 31, 5411, 289, 5411, 309, 261, 9904, 77, 422, 12169, 18, 2469, 13, 7734, 277, 273, 374, 31, 3639, 289, 1323, 261, 77, 480, 787, 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, 3852, 509, 527, 8764, 12, 780, 612, 16, 509, 770, 16, 1250, 7060, 8764, 13, 565, 288, 3639, 309, 261, 1883, 422, 300, 21, 13, 5411, 604, 1772, 18, 6006, 5576, 668, 12, 1042, 18, 24906, 4766, 2398, 7566, 3576, 18, 1289, 18, 307, 18931, 3113, 446, 10019, 3639, 509, 787, 273, 261, 1615, 473, 374, 92, 27, 18217, 74, 13, 738, 12169, 18, 2469, 31, 3639, 509, 277, 273, 787, 31, 3639, 741, 288, 5411, 23195, 4694, 273, 12169, 63, 77, 15533, 5411, 309, 261, 14194, 422, 446, 747, 4694, 422, 23769, 12135, 13, 288, 7734, 1056, 9904, 31, 7734, 309, 14015, 24, 380, 1056, 13, 405, 261, 23, 380, 12169, 18, 2469, 3719, 288, 10792, 2 ]
filteredTree = new FilteredTextTree(parent, styleBits, filter,SEARCHHISTORY);
filteredTree = new FilteredComboTree(parent, styleBits, filter);
protected TreeViewer createTreeViewer(Composite parent) { PatternItemFilter filter = new PatternItemFilter(true); int styleBits = SWT.SINGLE | SWT.H_SCROLL; filteredTree = new FilteredTextTree(parent, styleBits, filter,SEARCHHISTORY); GridData gd = new GridData(SWT.FILL, SWT.FILL, true, true); gd.horizontalIndent = IDialogConstants.HORIZONTAL_MARGIN; filteredTree.setBackground(parent.getDisplay().getSystemColor(SWT.COLOR_LIST_BACKGROUND)); TreeViewer tree = filteredTree.getViewer(); filteredTree.setInitialText(WorkbenchMessages.WorkbenchPreferenceDialog_FilterMessage); setContentAndLabelProviders(tree); tree.setInput(getPreferenceManager()); //if the tree has only one or zero pages, make the combo area disable if(hasAtMostOnePage(tree)){ filteredTree.getFilterControl().setEnabled(false); filteredTree.getFilterControl().setSelection(new Point(0,0)); } tree.addFilter(new CapabilityFilter()); tree.addSelectionChangedListener(new ISelectionChangedListener() { /* * (non-Javadoc) * * @see org.eclipse.jface.viewers.ISelectionChangedListener#selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent) */ public void selectionChanged(SelectionChangedEvent event) { handleTreeSelectionChanged(event); } }); super.addListeners(filteredTree.getViewer()); return filteredTree.getViewer(); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/86c0845979063a6f81868b6f9adb8b1c342abd0f/FilteredPreferenceDialog.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/FilteredPreferenceDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 4902, 18415, 752, 2471, 18415, 12, 9400, 982, 13, 288, 202, 202, 3234, 1180, 1586, 1034, 273, 394, 6830, 1180, 1586, 12, 3767, 1769, 3196, 202, 474, 2154, 6495, 273, 348, 8588, 18, 20184, 571, 348, 8588, 18, 44, 67, 2312, 14555, 31, 202, 202, 12071, 2471, 273, 394, 4008, 329, 1528, 2471, 12, 2938, 16, 2154, 6495, 16, 1034, 16, 17251, 31746, 1769, 202, 202, 6313, 751, 15551, 273, 394, 7145, 751, 12, 55, 8588, 18, 29818, 16, 348, 8588, 18, 29818, 16, 638, 16, 638, 1769, 202, 202, 19016, 18, 18396, 7790, 273, 1599, 3529, 2918, 18, 44, 20344, 67, 19772, 7702, 31, 202, 202, 12071, 2471, 18, 542, 8199, 12, 2938, 18, 588, 4236, 7675, 588, 3163, 2957, 12, 55, 8588, 18, 10989, 67, 7085, 67, 8720, 20166, 10019, 202, 202, 2471, 18415, 2151, 273, 5105, 2471, 18, 588, 18415, 5621, 202, 202, 12071, 2471, 18, 542, 4435, 1528, 12, 2421, 22144, 5058, 18, 2421, 22144, 9624, 6353, 67, 1586, 1079, 1769, 202, 202, 542, 1350, 1876, 2224, 10672, 12, 3413, 1769, 202, 202, 3413, 18, 542, 1210, 12, 588, 9624, 1318, 10663, 9506, 202, 759, 430, 326, 2151, 711, 1338, 1245, 578, 3634, 4689, 16, 1221, 326, 16778, 5091, 4056, 202, 202, 430, 12, 5332, 861, 18714, 3335, 1964, 12, 3413, 3719, 95, 1082, 202, 12071, 2471, 18, 588, 1586, 3367, 7675, 542, 1526, 12, 5743, 1769, 1082, 202, 12071, 2471, 18, 588, 1586, 3367, 7675, 542, 6233, 12, 2704, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 4902, 18415, 752, 2471, 18415, 12, 9400, 982, 13, 288, 202, 202, 3234, 1180, 1586, 1034, 273, 394, 6830, 1180, 1586, 12, 3767, 1769, 3196, 202, 474, 2154, 6495, 273, 348, 8588, 18, 20184, 571, 348, 8588, 18, 44, 67, 2312, 14555, 31, 202, 202, 12071, 2471, 273, 394, 4008, 329, 1528, 2471, 12, 2938, 16, 2154, 6495, 16, 1034, 16, 17251, 31746, 1769, 202, 202, 6313, 751, 15551, 273, 394, 7145, 751, 12, 55, 8588, 18, 29818, 16, 348, 8588, 18, 29818, 16, 638, 16, 638, 1769, 202, 202, 19016, 18, 18396, 7790, 273, 1599, 3529, 2918, 18, 44, 20344, 67, 19772, 7702, 31, 202, 202, 12071, 2471, 18, 542, 8199, 12, 2938, 18, 588, 2 ]
} catch (Exception e) { pw.write("an error occured\n"); pw.write(e.getMessage());
} catch (Exception e) { throw new ServletException(e);
public void service(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { // read parameters String cmdName = req.getParameter(COMMAND_KEY); String flavor = req.getParameter(OUTPUT_FLAVOR_KEY); if (flavor == null) { flavor = DEFAULT_OUTPUT_FLAVOR; } // set content type res.setContentType(flavor); // process command Session session = null; try { if (this.user == null) { session = this.repository.login(req.getRemoteUser()); } else { session = this.repository.login(new SimpleCredentials( this.user, this.password.toCharArray())); } PrintWriter pw = null; try { // create context JcrServletWebContext ctx = new JcrServletWebContext(session, getServletContext(), req, res); // get writer pw = CommandHelper.getOutput(ctx); // lookup command Command cmd = catalog.getCommand(cmdName); if (cmd == null) { throw new IllegalArgumentException("command " + cmdName + " not found"); } // execute command cmd.execute(ctx); // save changes session.save(); // write success message pw.write("success"); } catch (Exception e) { // write error message pw.write("an error occured\n"); pw.write(e.getMessage()); } finally { pw.close(); } } catch (Exception e) { throw new ServletException(e); } finally { if (session != null) { session.logout(); } } }
48761 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48761/872629ebc1ba567baf23a76f0d235c92fe5368f7/JcrCommandServlet.java/clean/contrib/jcr-commands/src/java/org/apache/jackrabbit/command/web/JcrCommandServlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1156, 12, 2940, 18572, 1111, 16, 12446, 400, 13, 1082, 202, 15069, 16517, 16, 1860, 288, 202, 202, 759, 855, 1472, 202, 202, 780, 1797, 461, 273, 1111, 18, 588, 1662, 12, 19104, 67, 3297, 1769, 202, 202, 780, 19496, 273, 1111, 18, 588, 1662, 12, 15527, 67, 42, 2534, 58, 916, 67, 3297, 1769, 202, 202, 430, 261, 2242, 9444, 422, 446, 13, 288, 1082, 202, 2242, 9444, 273, 3331, 67, 15527, 67, 42, 2534, 58, 916, 31, 202, 202, 97, 202, 202, 759, 444, 913, 618, 202, 202, 455, 18, 542, 8046, 12, 2242, 9444, 1769, 202, 202, 759, 1207, 1296, 202, 202, 2157, 1339, 273, 446, 31, 202, 202, 698, 288, 1082, 202, 430, 261, 2211, 18, 1355, 422, 446, 13, 288, 9506, 202, 3184, 273, 333, 18, 9071, 18, 5819, 12, 3658, 18, 588, 5169, 1299, 10663, 1082, 202, 97, 469, 288, 9506, 202, 3184, 273, 333, 18, 9071, 18, 5819, 12, 2704, 4477, 6163, 12, 25083, 202, 2211, 18, 1355, 16, 333, 18, 3664, 18, 869, 15936, 1435, 10019, 1082, 202, 97, 1082, 202, 5108, 2289, 8772, 273, 446, 31, 1082, 202, 698, 288, 9506, 202, 759, 752, 819, 9506, 202, 46, 3353, 4745, 4079, 1042, 1103, 273, 394, 22481, 4745, 4079, 1042, 12, 3184, 16, 25083, 202, 588, 4745, 1042, 9334, 1111, 16, 400, 1769, 9506, 202, 759, 336, 2633, 9506, 202, 14921, 273, 3498, 2276, 18, 588, 1447, 12, 5900, 1769, 9506, 202, 759, 3689, 1296, 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, 1156, 12, 2940, 18572, 1111, 16, 12446, 400, 13, 1082, 202, 15069, 16517, 16, 1860, 288, 202, 202, 759, 855, 1472, 202, 202, 780, 1797, 461, 273, 1111, 18, 588, 1662, 12, 19104, 67, 3297, 1769, 202, 202, 780, 19496, 273, 1111, 18, 588, 1662, 12, 15527, 67, 42, 2534, 58, 916, 67, 3297, 1769, 202, 202, 430, 261, 2242, 9444, 422, 446, 13, 288, 1082, 202, 2242, 9444, 273, 3331, 67, 15527, 67, 42, 2534, 58, 916, 31, 202, 202, 97, 202, 202, 759, 444, 913, 618, 202, 202, 455, 18, 542, 8046, 12, 2242, 9444, 1769, 202, 202, 759, 1207, 1296, 202, 202, 2157, 1339, 273, 446, 31, 202, 202, 698, 288, 1082, 2 ]
if (m_statementName != null) { try { if (!m_statementIsCursor) connection.execSQL("DEALLOCATE " + m_statementName); } catch (Exception e) { } finally { m_statementName = null; m_statementIsCursor = false; m_origSqlFragments = null; m_executeSqlFragments = null; } }
public java.sql.ResultSet executeQuery(String p_sql) throws SQLException { String l_sql = replaceProcessing(p_sql); m_sqlFragments = new String[] {l_sql}; m_binds = new Object[0]; //If we have already created a server prepared statement, we need //to deallocate the existing one if (m_statementName != null) { try { if (!m_statementIsCursor) connection.execSQL("DEALLOCATE " + m_statementName); } catch (Exception e) { } finally { m_statementName = null; m_statementIsCursor = false; m_origSqlFragments = null; m_executeSqlFragments = null; } } return executeQuery(); }
45672 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45672/7ecb6ede284fdf9f138028cc9db042c316e2f65e/AbstractJdbc1Statement.java/clean/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2252, 18, 4669, 18, 13198, 14304, 12, 780, 293, 67, 4669, 13, 1216, 6483, 202, 95, 202, 202, 780, 328, 67, 4669, 273, 1453, 7798, 12, 84, 67, 4669, 1769, 202, 202, 81, 67, 4669, 27588, 273, 394, 514, 8526, 288, 80, 67, 4669, 20451, 202, 202, 81, 67, 4376, 87, 273, 394, 1033, 63, 20, 15533, 202, 202, 759, 2047, 732, 1240, 1818, 2522, 279, 1438, 8208, 3021, 16, 732, 1608, 202, 202, 759, 869, 443, 16247, 326, 2062, 1245, 202, 202, 430, 261, 81, 67, 11516, 461, 480, 446, 13, 202, 202, 95, 1082, 202, 698, 1082, 202, 95, 27573, 309, 16051, 81, 67, 11516, 2520, 6688, 13, 4766, 3639, 1459, 18, 4177, 3997, 2932, 1639, 1013, 1502, 13000, 315, 397, 312, 67, 11516, 461, 1769, 1082, 202, 97, 1082, 202, 14683, 261, 503, 425, 13, 1082, 202, 95, 1082, 202, 97, 1082, 202, 23417, 1082, 202, 95, 9506, 202, 81, 67, 11516, 461, 273, 446, 31, 27573, 312, 67, 11516, 2520, 6688, 273, 629, 31, 9506, 202, 81, 67, 4949, 5101, 27588, 273, 446, 31, 9506, 202, 81, 67, 8837, 5101, 27588, 273, 446, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 14304, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2252, 18, 4669, 18, 13198, 14304, 12, 780, 293, 67, 4669, 13, 1216, 6483, 202, 95, 202, 202, 780, 328, 67, 4669, 273, 1453, 7798, 12, 84, 67, 4669, 1769, 202, 202, 81, 67, 4669, 27588, 273, 394, 514, 8526, 288, 80, 67, 4669, 20451, 202, 202, 81, 67, 4376, 87, 273, 394, 1033, 63, 20, 15533, 202, 202, 759, 2047, 732, 1240, 1818, 2522, 279, 1438, 8208, 3021, 16, 732, 1608, 202, 202, 759, 869, 443, 16247, 326, 2062, 1245, 202, 202, 430, 261, 81, 67, 11516, 461, 480, 446, 13, 202, 202, 95, 1082, 202, 698, 1082, 202, 95, 27573, 309, 16051, 81, 67, 11516, 2520, 6688, 13, 4766, 3639, 1459, 18, 4177, 3997, 2 ]
set(parameterIndex, (new Integer(x)).toString());
set(parameterIndex, Integer.toString(x));
public void setByte(int parameterIndex, byte x) throws SQLException { set(parameterIndex, (new Integer(x)).toString()); }
46563 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46563/49740c5fb99094b3942d7b8588f545907fd17074/PreparedStatement.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc2/PreparedStatement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 3216, 12, 474, 25412, 16, 1160, 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, 3216, 12, 474, 25412, 16, 1160, 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 ]
debug = "update";
private synchronized void lookupValues(Row row) throws KettleException { Row lu = new Row(); Row add; Value technicalKey; Value val_version; Value val_date = null; Value val_datfrom = null; Value val_datto = null; debug = "Start of lookupValues()"; //$NON-NLS-1$ if (first) { debug = "init of lookupValues()"; //$NON-NLS-1$ first=false; determineTechKeyCreation(); if (getCopy()==0) data.db.checkDimZero(meta.getTableName(), meta.getKeyField(), meta.getVersionField(), meta.isAutoIncrement()); debug = "first: setDimLookup()"; //$NON-NLS-1$ data.db.setDimLookup(meta.getTableName(), meta.getKeyLookup(), meta.getKeyField(), meta.getVersionField(), meta.getFieldLookup(), meta.getFieldStream(), meta.getDateFrom(), meta.getDateTo() ); // Lookup values debug = "first: lookup key nrs"; //$NON-NLS-1$ data.keynrs = new int[meta.getKeyStream().length]; for (int i=0;i<meta.getKeyStream().length;i++) { //logDetailed("Lookup values key["+i+"] --> "+key[i]+", row==null?"+(row==null)); data.keynrs[i]=row.searchValueIndex(meta.getKeyStream()[i]); if (data.keynrs[i]<0) // couldn't find field! { throw new KettleStepException(Messages.getString("DimensionLookup.Exception.KeyFieldNotFound",meta.getKeyStream()[i])); //$NON-NLS-1$ //$NON-NLS-2$ } } debug = "first: lookup value nrs"; //$NON-NLS-1$ // Return values if (meta.isUpdate()) { data.fieldnrs = new int[meta.getFieldStream().length]; for (int i=0;meta.getFieldStream()!=null && i<meta.getFieldStream().length;i++) { data.fieldnrs[i]=row.searchValueIndex(meta.getFieldStream()[i]); } } if (meta.getDateField()!=null && meta.getDateField().length()>0) { data.datefieldnr = row.searchValueIndex(meta.getDateField()); } else { data.datefieldnr=-1; } debug = "first: notfound field"; //$NON-NLS-1$ meta.setNotFound( new Value(meta.getKeyField(), (double)meta.getDatabaseMeta().getNotFoundTK(meta.isAutoIncrement())) ); if (meta.getKeyRename()!=null && meta.getKeyRename().length()>0) meta.getNotFound().setName(meta.getKeyRename()); if (meta.getDateField()!=null && data.datefieldnr>=0) { data.val_datnow = row.getValue(data.datefieldnr); } else { Calendar cal=Calendar.getInstance(); data.val_datnow = new Value("MIN", new Date(cal.getTimeInMillis())); // System date... //$NON-NLS-1$ } debug = "first: end"; //$NON-NLS-1$ } if (meta.getDateField()!=null && data.datefieldnr>=0) { data.val_datnow = row.getValue(data.datefieldnr); } for (int i=0;i<meta.getKeyStream().length;i++) { try { lu.addValue( row.getValue(data.keynrs[i]) ); } catch(Exception e) { throw new KettleStepException(Messages.getString("DimensionLookup.Exception.ErrorDetectedInGettingKey",i+"",data.keynrs[i]+"/"+row.size(),row.toString())); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } } if (data.datefieldnr>=0) val_date = row.getValue(data.datefieldnr); else val_date = data.val_datnow; if (log.isDebug()) logDebug(Messages.getString("DimensionLookup.Log.LookupRow")+lu.toString()+" val_date="+val_date.toString()); //$NON-NLS-1$ //$NON-NLS-2$ debug = "setDimValues()"; //$NON-NLS-1$ data.db.setDimValues(lu, val_date ); debug = "getLookup()"; //$NON-NLS-1$ add=data.db.getLookup(); /* Handle "update = false" first for performance reasons */ if (!meta.isUpdate()) { debug = "lookup"; //$NON-NLS-1$ if (add==null) { debug = "lookup: nothing found"; //$NON-NLS-1$ add=new Row(); add.addValue(meta.getNotFound()); Value v; for (int i=0;i<meta.getFieldStream().length;i++) { if (log.isDebug()) debug = "lookup: fieldstream #"+i; //$NON-NLS-1$ if (meta.getFieldStream()[i]!=null) { debug = "lookup: new value #"+i; //$NON-NLS-1$ if (meta.getFieldStream()[i]!=null) // Rename the field? v=new Value(meta.getFieldStream()[i], meta.getFieldUpdate()[i]); else v=new Value(meta.getFieldLookup()[i], meta.getFieldUpdate()[i]); // Nope, take the default name v.setNull(); add.addValue(v); } } } else { // We found the return values in row "add". // Throw away the version nr... add.removeValue(1); // Rename the key field if needed. Do it directly in the row... if (meta.getKeyRename()!=null && meta.getKeyRename().length()>0) add.getValue(0).setName(meta.getKeyRename()); } } else // Insert - update algorithm for slowly changing dimensions { if (add==null) // The dimension entry was not found, we need to add it! { debug = "insert"; //$NON-NLS-1$ if (log.isRowLevel()) logRowlevel(Messages.getString("DimensionLookup.Log.NoDimensionEntryFound")+lu+")"); //$NON-NLS-1$ //$NON-NLS-2$ //logDetailed("Entry not found: add value!"); // Date range: ]-oo,+oo[ val_datfrom = new Value("MIN", meta.getMinDate()); //$NON-NLS-1$ val_datto = new Value("MAX", meta.getMaxDate()); //$NON-NLS-1$ val_version = new Value(meta.getVersionField(), 1L); // Versions start at 1. // get a new value from the sequence choosen. boolean autoinc=false; technicalKey = null; switch ( getTechKeyCreation() ) { case CREATION_METHOD_TABLEMAX: // What's the next value for the technical key? technicalKey=new Value(meta.getKeyField(), 0L); // value to accept new key... data.db.getNextValue(getTransMeta().getCounters(), meta.getTableName(), technicalKey); break; case CREATION_METHOD_AUTOINC: autoinc=true; technicalKey=new Value(meta.getKeyField(), 0L); // value to accept new key... break; case CREATION_METHOD_SEQUENCE: technicalKey=data.db.getNextSequenceValue(meta.getSequenceName(), meta.getKeyField()); if (technicalKey!=null && log.isRowLevel()) logRowlevel(Messages.getString("DimensionLookup.Log.FoundNextSequence")+technicalKey.toString()); //$NON-NLS-1$ break; } /* * INSERT INTO table(version, datefrom, dateto, fieldlookup) * VALUES(val_version, val_datfrom, val_datto, row.fieldnrs) * ; */ debug = "insert row"; //$NON-NLS-1$ data.db.dimInsert(row, meta.getTableName(), true, autoinc?null:meta.getKeyField(), // In case of auto increment, don't insert the key, let the database do it. autoinc, technicalKey, meta.getVersionField(), val_version, meta.getDateFrom(), val_datfrom, meta.getDateTo(), val_datto, meta.getFieldLookup(), data.fieldnrs, meta.getKeyStream(), meta.getKeyLookup(), data.keynrs ); linesOutput++; add=new Row(); if (meta.getKeyRename()!=null && meta.getKeyRename().length()>0) technicalKey.setName(meta.getKeyRename()); add.addValue(technicalKey); if (log.isRowLevel()) logRowlevel(Messages.getString("DimensionLookup.Log.AddedDimensionEntry")+add.toString()); //$NON-NLS-1$ } else // The entry was found: do we need to insert, update or both? { if (log.isRowLevel()) logRowlevel(Messages.getString("DimensionLookup.Log.DimensionEntryFound")+add); //$NON-NLS-1$ debug = "update"; //$NON-NLS-1$ // What's the key? The first value of the return row technicalKey = add.getValue(0); val_version = add.getValue(1); // Date range: ]-oo,+oo[ val_datfrom = new Value("MIN", meta.getMinDate()); //$NON-NLS-1$ val_datto = new Value("MAX", meta.getMaxDate()); //$NON-NLS-1$ // The other values, we compare with int cmp; // If everything is the same: don't do anything // If one of the fields is different: insert or update // If all changed fields have update = Y, update // If one of the changed fields has update = N, insert boolean insert=false; boolean identical=true; boolean punch=false; Value v1, v2; for (int i=0;i<meta.getFieldStream().length;i++) { v1 = row.getValue(data.fieldnrs[i]); v2 = add.getValue(i+2); cmp = v1.compare(v2); // Not the same and update = 'N' --> insert if (cmp!=0) identical=false; // Field flagged for insert: insert if (cmp!=0 && meta.getFieldUpdate()[i]==DimensionLookupMeta.TYPE_UPDATE_DIM_INSERT) { insert=true; } // Field flagged for punchthrough if (cmp!=0 && meta.getFieldUpdate()[i]==DimensionLookupMeta.TYPE_UPDATE_DIM_PUNCHTHROUGH) { punch=true; } logRowlevel(Messages.getString("DimensionLookup.Log.ComparingValues",""+v1,""+v2,String.valueOf(cmp),String.valueOf(identical),String.valueOf(insert),String.valueOf(punch))); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ //$NON-NLS-6$ } if (!insert) // Just an update of row at key = val_key { if (!identical) { if (log.isRowLevel()) logRowlevel(Messages.getString("DimensionLookup.Log.UpdateRowWithValues")+row); //$NON-NLS-1$ /* * UPDATE d_customer * SET fieldlookup[] = row.getValue(fieldnrs) * WHERE returnkey = dimkey */ debug = "update row"; //$NON-NLS-1$ data.db.dimUpdate(row, meta.getTableName(), meta.getFieldLookup(), data.fieldnrs, meta.getKeyField(), technicalKey); linesUpdated++; } else { if (log.isRowLevel()) logRowlevel(Messages.getString("DimensionLookup.Log.SkipLine")); //$NON-NLS-1$ // Don't do anything, everything is file in de dimension. linesSkipped++; } } else { if (log.isRowLevel()) logRowlevel(Messages.getString("DimensionLookup.Log.InsertNewVersion")+technicalKey.toString()); //$NON-NLS-1$ val_datfrom = data.val_datnow; val_datto = new Value("MAX", meta.getMaxDate()); //$NON-NLS-1$ boolean autoinc=false; // First try to use an AUTOINCREMENT field if (meta.getDatabaseMeta().supportsAutoinc() && meta.isAutoIncrement()) { autoinc=true; technicalKey=new Value(meta.getKeyField(), 0.0); // value to accept new key... } else // Try to get the value by looking at a SEQUENCE (oracle mostly) if (meta.getDatabaseMeta().supportsSequences() && meta.getSequenceName()!=null && meta.getSequenceName().length()>0) { technicalKey=data.db.getNextSequenceValue(meta.getSequenceName(), meta.getKeyField()); if (technicalKey!=null && log.isRowLevel()) logRowlevel(Messages.getString("DimensionLookup.Log.FoundNextSequence2")+technicalKey.toString()); //$NON-NLS-1$ } else // Use our own sequence here... { // What's the next value for the technical key? technicalKey=new Value(meta.getKeyField(), 0L); // value to accept new key... data.db.getNextValue(getTransMeta().getCounters(), meta.getTableName(), technicalKey); } data.db.dimInsert( row, meta.getTableName(), false, meta.getKeyField(), autoinc, technicalKey, meta.getVersionField(), val_version, meta.getDateFrom(), val_datfrom, meta.getDateTo(), val_datto, meta.getFieldLookup(), data.fieldnrs, meta.getKeyStream(), meta.getKeyLookup(), data.keynrs ); linesOutput++; } if (punch) // On of the fields we have to punch through has changed! { /* * This means we have to update all versions: * * UPDATE dim SET punchf1 = val1, punchf2 = val2, ... * WHERE fieldlookup[] = ? * ; * * --> update ALL versions in the dimension table. */ data.db.dimPunchThrough( row, meta.getTableName(), meta.getFieldUpdate(), meta.getFieldLookup(), data.fieldnrs, meta.getKeyStream(), meta.getKeyLookup(), data.keynrs ); linesUpdated++; } add=new Row(); if (meta.getKeyRename()!=null && meta.getKeyRename().length()>0) technicalKey.setName(meta.getKeyRename()); add.addValue(technicalKey); if (log.isRowLevel()) logRowlevel(Messages.getString("DimensionLookup.Log.TechnicalKey")+technicalKey); //$NON-NLS-1$ } } debug = "add values to row"; //$NON-NLS-1$ if (log.isRowLevel()) logRowlevel(Messages.getString("DimensionLookup.Log.AddValuesToRow")+add); //$NON-NLS-1$ for (int i=0;i<add.size();i++) { row.addValue( add.getValue(i) ); } if (log.isDebug()) debug = "get date from date field, datefieldnr="+data.datefieldnr; //$NON-NLS-1$ // // Finaly, check the date range! Value date; if (data.datefieldnr>=0) date = row.getValue(data.datefieldnr); else date = new Value("date", new Date()); // system date //$NON-NLS-1$ debug = "check min date (min_date==null? "+(data.min_date==null)+", date==null? "+(date==null)+"), datefieldnr="+data.datefieldnr; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ if (data.min_date.compare(date)>0) data.min_date.setValue( date.getDate() ); debug = "check max date"; //$NON-NLS-1$ if (data.max_date.compare(date)<0) data.max_date.setValue( date.getDate() ); debug = "end of lookupValues()"; //$NON-NLS-1$ }
58146 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58146/b8c6b02ffc35cf6ae44d1cb0cdf4ecec0144af21/DimensionLookup.java/buggy/kettle/src/be/ibridge/kettle/trans/step/dimensionlookup/DimensionLookup.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 3852, 918, 3689, 1972, 12, 1999, 1027, 13, 202, 202, 15069, 1475, 278, 5929, 503, 202, 95, 202, 202, 1999, 20072, 273, 394, 6556, 5621, 202, 202, 1999, 527, 31, 9506, 202, 620, 17734, 1706, 653, 31, 202, 202, 620, 1244, 67, 1589, 31, 202, 202, 620, 1244, 67, 712, 565, 273, 446, 31, 202, 202, 620, 1244, 67, 3404, 2080, 273, 446, 31, 202, 202, 620, 1244, 67, 3404, 869, 282, 273, 446, 31, 9506, 202, 4148, 273, 315, 1685, 434, 3689, 1972, 10031, 31, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 430, 261, 3645, 13, 202, 202, 95, 1082, 202, 4148, 273, 315, 2738, 434, 3689, 1972, 10031, 31, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 6862, 202, 3645, 33, 5743, 31, 1082, 202, 24661, 56, 8987, 653, 9906, 5621, 1082, 202, 430, 261, 588, 2951, 1435, 631, 20, 13, 501, 18, 1966, 18, 1893, 5225, 7170, 12, 3901, 18, 588, 7147, 9334, 2191, 18, 588, 653, 974, 9334, 2191, 18, 588, 1444, 974, 9334, 2191, 18, 291, 4965, 10798, 10663, 25083, 202, 4148, 273, 315, 3645, 30, 444, 5225, 6609, 10031, 31, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 892, 18, 1966, 18, 542, 5225, 6609, 12, 3901, 18, 588, 7147, 9334, 17322, 2191, 18, 588, 653, 6609, 9334, 4405, 1171, 2191, 18, 588, 653, 974, 9334, 4405, 1171, 2191, 18, 588, 1444, 974, 9334, 4405, 1171, 2191, 18, 588, 974, 6609, 9334, 21394, 2191, 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, 3852, 918, 3689, 1972, 12, 1999, 1027, 13, 202, 202, 15069, 1475, 278, 5929, 503, 202, 95, 202, 202, 1999, 20072, 273, 394, 6556, 5621, 202, 202, 1999, 527, 31, 9506, 202, 620, 17734, 1706, 653, 31, 202, 202, 620, 1244, 67, 1589, 31, 202, 202, 620, 1244, 67, 712, 565, 273, 446, 31, 202, 202, 620, 1244, 67, 3404, 2080, 273, 446, 31, 202, 202, 620, 1244, 67, 3404, 869, 282, 273, 446, 31, 9506, 202, 4148, 273, 315, 1685, 434, 3689, 1972, 10031, 31, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 430, 261, 3645, 13, 202, 202, 95, 1082, 202, 4148, 273, 315, 2738, 434, 3689, 1972, 10031, 31, 4329, 3993, 17, 2 ]
decl = new XMLNSDecl(nsAlias.getResultPrefix(),
decl = new XMLNSDecl(nsAlias.getStylesheetPrefix(),
public void resolvePrefixTables() throws TransformerException { // Always start with a fresh prefix table! m_prefixTable = null; // If we have declared declarations, then we look for // a parent that has namespace decls, and add them // to this element's decls. Otherwise we just point // to the parent that has decls. if (null != this.m_declaredPrefixes) { StylesheetRoot stylesheet = this.getStylesheetRoot(); // Add this element's declared prefixes to the // prefix table. int n = m_declaredPrefixes.size(); for (int i = 0; i < n; i++) { XMLNSDecl decl = (XMLNSDecl) m_declaredPrefixes.elementAt(i); String prefix = decl.getPrefix(); String uri = decl.getURI(); boolean shouldExclude = excludeResultNSDecl(prefix, uri); // Create a new prefix table if one has not already been created. if (null == m_prefixTable) m_prefixTable = new Vector(); NamespaceAlias nsAlias = stylesheet.getNamespaceAliasComposed(uri); if(null != nsAlias) { // Should I leave the non-aliased element in the table as // an excluded element? // The exclusion should apply to the non-aliased prefix, so // we don't calculate it here. -sb decl = new XMLNSDecl(nsAlias.getResultPrefix(), nsAlias.getResultNamespace(), shouldExclude); } else decl = new XMLNSDecl(prefix, uri, shouldExclude); m_prefixTable.addElement(decl); } } ElemTemplateElement parent = (ElemTemplateElement) this.getParentNode(); if (null != parent) { // The prefix table of the parent should never be null! Vector prefixes = parent.m_prefixTable; if (null == m_prefixTable) { // Nothing to combine, so just use parent's table! this.m_prefixTable = parent.m_prefixTable; } else { // Add the prefixes from the parent's prefix table. int n = prefixes.size(); for (int i = 0; i < n; i++) { XMLNSDecl decl = (XMLNSDecl) prefixes.elementAt(i); boolean shouldExclude = excludeResultNSDecl(decl.getPrefix(), decl.getURI()); if (shouldExclude != decl.getIsExcluded()) { decl = new XMLNSDecl(decl.getPrefix(), decl.getURI(), shouldExclude); } m_prefixTable.addElement(decl); } } } else if (null == m_prefixTable) { // Must be stylesheet element without any result prefixes! m_prefixTable = new Vector(); } // Resolve the children's prefix tables. for (ElemTemplateElement child = m_firstChild; child != null; child = child.m_nextSibling) { child.resolvePrefixTables(); } }
46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/5b6c85f387684ebe60d8891931000696523ad483/ElemTemplateElement.java/buggy/src/org/apache/xalan/templates/ElemTemplateElement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 2245, 2244, 6905, 1435, 1216, 21684, 225, 288, 565, 368, 14178, 787, 598, 279, 12186, 1633, 1014, 5, 565, 312, 67, 3239, 1388, 273, 446, 31, 565, 368, 971, 732, 1240, 7886, 12312, 16, 1508, 732, 2324, 364, 377, 368, 279, 982, 716, 711, 1981, 3496, 87, 16, 471, 527, 2182, 377, 368, 358, 333, 930, 1807, 3496, 87, 18, 225, 5272, 732, 2537, 1634, 377, 368, 358, 326, 982, 716, 711, 3496, 87, 18, 565, 309, 261, 2011, 480, 333, 18, 81, 67, 16571, 11700, 13, 565, 288, 1377, 29483, 2963, 2375, 13820, 273, 333, 18, 588, 24656, 2375, 5621, 5411, 368, 1436, 333, 930, 1807, 7886, 9419, 358, 326, 4202, 368, 1633, 1014, 18, 1377, 509, 290, 273, 312, 67, 16571, 11700, 18, 1467, 5621, 1377, 364, 261, 474, 277, 273, 374, 31, 277, 411, 290, 31, 277, 27245, 1377, 288, 3639, 3167, 3156, 3456, 3496, 273, 261, 4201, 3156, 3456, 13, 312, 67, 16571, 11700, 18, 2956, 861, 12, 77, 1769, 3639, 514, 1633, 273, 3496, 18, 588, 2244, 5621, 3639, 514, 2003, 273, 3496, 18, 588, 3098, 5621, 3639, 1250, 1410, 12689, 273, 4433, 1253, 3156, 3456, 12, 3239, 16, 2003, 1769, 3639, 368, 1788, 279, 394, 1633, 1014, 309, 1245, 711, 486, 1818, 2118, 2522, 18, 3639, 309, 261, 2011, 422, 312, 67, 3239, 1388, 13, 1850, 312, 67, 3239, 1388, 273, 394, 5589, 5621, 3639, 6005, 2936, 3153, 2936, 273, 13820, 18, 588, 3402, 2936, 799, 7423, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 2245, 2244, 6905, 1435, 1216, 21684, 225, 288, 565, 368, 14178, 787, 598, 279, 12186, 1633, 1014, 5, 565, 312, 67, 3239, 1388, 273, 446, 31, 565, 368, 971, 732, 1240, 7886, 12312, 16, 1508, 732, 2324, 364, 377, 368, 279, 982, 716, 711, 1981, 3496, 87, 16, 471, 527, 2182, 377, 368, 358, 333, 930, 1807, 3496, 87, 18, 225, 5272, 732, 2537, 1634, 377, 368, 358, 326, 982, 716, 711, 3496, 87, 18, 565, 309, 261, 2011, 480, 333, 18, 81, 67, 16571, 11700, 13, 565, 288, 1377, 29483, 2963, 2375, 13820, 273, 333, 18, 588, 24656, 2375, 5621, 5411, 368, 1436, 333, 930, 1807, 7886, 9419, 358, 326, 4202, 368, 1633, 1014, 18, 2 ]
case CommonarchivePackage.EAR_FILE__DEPLOYMENT_DESCRIPTOR : setDeploymentDescriptor((Application) null);
case CommonarchivePackage.EAR_FILE__DEPLOYMENT_DESCRIPTOR: setDeploymentDescriptor((Application)null);
public void eUnset(EStructuralFeature eFeature) { switch (eDerivedStructuralFeatureID(eFeature)) { case CommonarchivePackage.EAR_FILE__URI : setURI(URI_EDEFAULT); return; case CommonarchivePackage.EAR_FILE__LAST_MODIFIED : unsetLastModified(); return; case CommonarchivePackage.EAR_FILE__SIZE : unsetSize(); return; case CommonarchivePackage.EAR_FILE__DIRECTORY_ENTRY : unsetDirectoryEntry(); return; case CommonarchivePackage.EAR_FILE__ORIGINAL_URI : setOriginalURI(ORIGINAL_URI_EDEFAULT); return; case CommonarchivePackage.EAR_FILE__LOADING_CONTAINER : setLoadingContainer((Container) null); return; case CommonarchivePackage.EAR_FILE__CONTAINER : setContainer((Container) null); return; case CommonarchivePackage.EAR_FILE__FILES : getFiles().clear(); return; case CommonarchivePackage.EAR_FILE__TYPES : getTypes().clear(); return; case CommonarchivePackage.EAR_FILE__MODULE_REFS : getModuleRefs().clear(); return; case CommonarchivePackage.EAR_FILE__DEPLOYMENT_DESCRIPTOR : setDeploymentDescriptor((Application) null); return; } eDynamicUnset(eFeature); }
8196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8196/ebce0dfcf980c405fd07c019b6f4466152262cb7/EARFileImpl.java/buggy/plugins/org.eclipse.jst.j2ee.core/commonArchive/org/eclipse/jst/j2ee/commonarchivecore/internal/impl/EARFileImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 19698, 12, 41, 14372, 4595, 425, 4595, 13, 288, 202, 202, 9610, 261, 73, 21007, 14372, 4595, 734, 12, 73, 4595, 3719, 288, 1082, 202, 3593, 5658, 10686, 2261, 18, 9250, 67, 3776, 972, 3098, 294, 9506, 202, 542, 3098, 12, 3098, 67, 11236, 1769, 9506, 202, 2463, 31, 1082, 202, 3593, 5658, 10686, 2261, 18, 9250, 67, 3776, 972, 14378, 67, 21143, 294, 9506, 202, 18579, 14747, 5621, 9506, 202, 2463, 31, 1082, 202, 3593, 5658, 10686, 2261, 18, 9250, 67, 3776, 972, 4574, 294, 9506, 202, 18579, 1225, 5621, 9506, 202, 2463, 31, 1082, 202, 3593, 5658, 10686, 2261, 18, 9250, 67, 3776, 972, 17229, 67, 19083, 294, 9506, 202, 18579, 2853, 1622, 5621, 9506, 202, 2463, 31, 1082, 202, 3593, 5658, 10686, 2261, 18, 9250, 67, 3776, 972, 24685, 1013, 67, 3098, 294, 9506, 202, 542, 8176, 3098, 12, 24685, 1013, 67, 3098, 67, 11236, 1769, 9506, 202, 2463, 31, 1082, 202, 3593, 5658, 10686, 2261, 18, 9250, 67, 3776, 972, 7783, 1360, 67, 21395, 294, 9506, 202, 542, 10515, 2170, 12443, 2170, 13, 446, 1769, 9506, 202, 2463, 31, 1082, 202, 3593, 5658, 10686, 2261, 18, 9250, 67, 3776, 972, 21395, 294, 9506, 202, 542, 2170, 12443, 2170, 13, 446, 1769, 9506, 202, 2463, 31, 1082, 202, 3593, 5658, 10686, 2261, 18, 9250, 67, 3776, 972, 12669, 294, 9506, 202, 588, 2697, 7675, 8507, 5621, 9506, 202, 2463, 31, 1082, 202, 3593, 5658, 10686, 2261, 18, 9250, 67, 3776, 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, 19698, 12, 41, 14372, 4595, 425, 4595, 13, 288, 202, 202, 9610, 261, 73, 21007, 14372, 4595, 734, 12, 73, 4595, 3719, 288, 1082, 202, 3593, 5658, 10686, 2261, 18, 9250, 67, 3776, 972, 3098, 294, 9506, 202, 542, 3098, 12, 3098, 67, 11236, 1769, 9506, 202, 2463, 31, 1082, 202, 3593, 5658, 10686, 2261, 18, 9250, 67, 3776, 972, 14378, 67, 21143, 294, 9506, 202, 18579, 14747, 5621, 9506, 202, 2463, 31, 1082, 202, 3593, 5658, 10686, 2261, 18, 9250, 67, 3776, 972, 4574, 294, 9506, 202, 18579, 1225, 5621, 9506, 202, 2463, 31, 1082, 202, 3593, 5658, 10686, 2261, 18, 9250, 67, 3776, 972, 17229, 67, 19083, 294, 9506, 202, 18579, 2853, 1622, 2 ]