rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
if (mod.isLeaf(curr))
if (isLeaf)
int paintRecursive(Graphics g, int indentation, int descent, int childNumber, int depth, JTree tree, TreeModel mod, Object curr) { Rectangle clip = tree.getVisibleRect(); if (indentation > clip.x + clip.width + rightChildIndent || descent > clip.y + clip.height + getRowHeight()) return descent; int halfHeight = getRowHeight() / 2; int halfWidth = rightChildIndent / 2; int y0 = descent + halfHeight; int heightOfLine = descent + halfHeight; boolean isRootVisible = tree.isRootVisible(); if (mod.isLeaf(curr)) { paintNode(g, indentation + 4, descent, tree, curr, true); descent += getRowHeight(); } else { if (depth > 0 || isRootVisible) { paintNode(g, indentation + 4, descent, tree, curr, false); descent += getRowHeight(); y0 += halfHeight; } int max = 0; if (!mod.isLeaf(curr)) max = mod.getChildCount(curr); if (tree.isExpanded(new TreePath(getPathToRoot(curr, 0)))) { for (int i = 0; i < max; i++) { int indent = indentation + rightChildIndent; if (!isRootVisible && depth == 0) indent = 0; else if ((!isRootVisible && !curr.equals(mod.getRoot())) || isRootVisible) { g.setColor(getHashColor()); heightOfLine = descent + halfHeight; paintHorizontalLine(g, (JComponent) tree, heightOfLine, indentation + halfWidth, indentation + rightChildIndent); } descent = paintRecursive(g, indent, descent, i, depth + 1, tree, mod, mod.getChild(curr, i)); } } } if (tree.isExpanded(new TreePath(getPathToRoot(curr, 0)))) if (y0 != heightOfLine && !mod.isLeaf(curr) && mod.getChildCount(curr) > 0) { g.setColor(getHashColor()); paintVerticalLine(g, (JComponent) tree, indentation + halfWidth, y0, heightOfLine); } return descent; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/BasicTreeUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 509, 12574, 10483, 12, 17558, 314, 16, 509, 12018, 16, 509, 3044, 319, 16, 509, 1151, 1854, 16, 5397, 509, 3598, 16, 804, 2471, 2151, 16, 4902, 1488, 681, 16, 1033, 4306, 13, 225, 288, 565, 13264, 6807, 273, 2151, 18, 588, 6207, 6120, 5621, 565, 309, 261, 9355, 367, 405, 6807, 18, 92, 397, 6807, 18, 2819, 397, 2145, 1763, 7790, 3639, 747, 3044, 319, 405, 6807, 18, 93, 397, 6807, 18, 4210, 397, 11835, 2686, 10756, 1377, 327, 3044, 319, 31, 565, 509, 8816, 2686, 273, 11835, 2686, 1435, 342, 576, 31, 565, 509, 8816, 2384, 273, 2145, 1763, 7790, 342, 576, 31, 565, 509, 677, 20, 273, 3044, 319, 397, 8816, 2686, 31, 565, 509, 2072, 951, 1670, 273, 3044, 319, 397, 8816, 2686, 31, 565, 1250, 19371, 6207, 273, 2151, 18, 291, 2375, 6207, 5621, 565, 309, 261, 291, 9858, 13, 1377, 288, 3639, 12574, 907, 12, 75, 16, 12018, 397, 1059, 16, 3044, 319, 16, 2151, 16, 4306, 16, 638, 1769, 3639, 3044, 319, 1011, 11835, 2686, 5621, 1377, 289, 565, 469, 1377, 288, 3639, 309, 261, 5979, 405, 374, 747, 19371, 6207, 13, 1850, 288, 5411, 12574, 907, 12, 75, 16, 12018, 397, 1059, 16, 3044, 319, 16, 2151, 16, 4306, 16, 629, 1769, 5411, 3044, 319, 1011, 11835, 2686, 5621, 5411, 677, 20, 1011, 8816, 2686, 31, 1850, 289, 3639, 509, 943, 273, 374, 31, 3639, 309, 16051, 1711, 18, 291, 9858, 12, 17016, 3719, 1850, 943, 273, 681, 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, 509, 12574, 10483, 12, 17558, 314, 16, 509, 12018, 16, 509, 3044, 319, 16, 509, 1151, 1854, 16, 5397, 509, 3598, 16, 804, 2471, 2151, 16, 4902, 1488, 681, 16, 1033, 4306, 13, 225, 288, 565, 13264, 6807, 273, 2151, 18, 588, 6207, 6120, 5621, 565, 309, 261, 9355, 367, 405, 6807, 18, 92, 397, 6807, 18, 2819, 397, 2145, 1763, 7790, 3639, 747, 3044, 319, 405, 6807, 18, 93, 397, 6807, 18, 4210, 397, 11835, 2686, 10756, 1377, 327, 3044, 319, 31, 565, 509, 8816, 2686, 273, 11835, 2686, 1435, 342, 576, 31, 565, 509, 8816, 2384, 273, 2145, 1763, 7790, 342, 576, 31, 565, 509, 677, 20, 273, 3044, 319, 397, 8816, 2686, 31, 565, 509, 2 ]
rlog.log(RMILog.VERBOSE, "ois = " + ois);
rlog.log(RMILog.VERBOSE, Messages.getString("rmi.log.55", ois));
public static void main(String args[]) { rlog.log(RMILog.VERBOSE, "ActivationGroupImpl.main: "); if (System.getSecurityManager() == null) { System.setSecurityManager(new RMISecurityManager()); } try { rlog.log(RMILog.VERBOSE, "System.in.available = " + System.in.available()); RMIObjectInputStream ois = new RMIObjectInputStream( new BufferedInputStream(System.in)); rlog.log(RMILog.VERBOSE, "ois = " + ois); ActivationGroupID agid = (ActivationGroupID) ois.readObject(); rlog.log(RMILog.VERBOSE, "agid = " + agid); ActivationGroupDesc agdesc = (ActivationGroupDesc) ois.readObject(); rlog.log(RMILog.VERBOSE, "agdesc = " + agdesc); long incarnation = ois.readLong(); rlog.log(RMILog.VERBOSE, "incarnation=" + incarnation); ActivationGroup.createGroup(agid, agdesc, incarnation); } catch (Throwable t) { rlog.log(RMILog.VERBOSE, ": " + "Exception: " + t); t.printStackTrace(); } }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/b348e06c6dac9b88f66841b025d00af43b5afac0/ActivationGroupImpl.java/buggy/modules/rmi/src/main/java/org/apache/harmony/rmi/activation/ActivationGroupImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 833, 63, 5717, 288, 3639, 436, 1330, 18, 1330, 12, 54, 7492, 1343, 18, 21900, 16, 315, 14857, 1114, 2828, 18, 5254, 30, 315, 1769, 3639, 309, 261, 3163, 18, 588, 4368, 1318, 1435, 422, 446, 13, 288, 5411, 2332, 18, 542, 4368, 1318, 12, 2704, 534, 7492, 4368, 1318, 10663, 3639, 289, 3639, 775, 288, 5411, 436, 1330, 18, 1330, 12, 54, 7492, 1343, 18, 21900, 16, 315, 3163, 18, 267, 18, 5699, 273, 315, 10792, 397, 2332, 18, 267, 18, 5699, 10663, 5411, 534, 7492, 921, 4348, 320, 291, 273, 394, 534, 7492, 921, 4348, 12, 10792, 394, 24742, 12, 3163, 18, 267, 10019, 2398, 436, 1330, 18, 1330, 12, 54, 7492, 1343, 18, 21900, 16, 4838, 18, 588, 780, 2932, 8864, 77, 18, 1330, 18, 2539, 3113, 320, 291, 10019, 5411, 26015, 30876, 1737, 350, 273, 261, 14857, 30876, 13, 320, 291, 18, 896, 921, 5621, 5411, 436, 1330, 18, 1330, 12, 54, 7492, 1343, 18, 21900, 16, 315, 346, 350, 273, 315, 397, 1737, 350, 1769, 5411, 26015, 1114, 4217, 1737, 5569, 273, 261, 14857, 1114, 4217, 13, 320, 291, 18, 896, 921, 5621, 5411, 436, 1330, 18, 1330, 12, 54, 7492, 1343, 18, 21900, 16, 315, 346, 5569, 273, 315, 397, 1737, 5569, 1769, 5411, 1525, 7290, 1303, 367, 273, 320, 291, 18, 896, 3708, 5621, 5411, 436, 1330, 18, 1330, 12, 54, 7492, 1343, 18, 21900, 16, 315, 9523, 1303, 367, 1546, 397, 7290, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 833, 63, 5717, 288, 3639, 436, 1330, 18, 1330, 12, 54, 7492, 1343, 18, 21900, 16, 315, 14857, 1114, 2828, 18, 5254, 30, 315, 1769, 3639, 309, 261, 3163, 18, 588, 4368, 1318, 1435, 422, 446, 13, 288, 5411, 2332, 18, 542, 4368, 1318, 12, 2704, 534, 7492, 4368, 1318, 10663, 3639, 289, 3639, 775, 288, 5411, 436, 1330, 18, 1330, 12, 54, 7492, 1343, 18, 21900, 16, 315, 3163, 18, 267, 18, 5699, 273, 315, 10792, 397, 2332, 18, 267, 18, 5699, 10663, 5411, 534, 7492, 921, 4348, 320, 291, 273, 394, 534, 7492, 921, 4348, 12, 10792, 394, 24742, 12, 3163, 18, 267, 10019, 2398, 436, 1330, 18, 1330, 12, 2 ]
if (isReserved(t)) { return (String) reservedTypes.get(t); } else { return t; } }
if (isReserved(t)) { return (String) reservedTypes.get(t); } else { return t; } }
public String getType(String t) { if (isReserved(t)) { return (String) reservedTypes.get(t); } else { return t; } }
3664 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3664/8a7f5eefd6d08ce575d82dee6d963fc83f20a5c0/TypeConverter.java/clean/apigen/src/apigen/gen/TypeConverter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 3130, 12, 780, 268, 13, 288, 202, 202, 430, 261, 291, 10435, 12, 88, 3719, 288, 1082, 202, 2463, 261, 780, 13, 8735, 2016, 18, 588, 12, 88, 1769, 202, 202, 97, 202, 202, 12107, 288, 1082, 202, 2463, 268, 31, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3130, 12, 780, 268, 13, 288, 202, 202, 430, 261, 291, 10435, 12, 88, 3719, 288, 1082, 202, 2463, 261, 780, 13, 8735, 2016, 18, 588, 12, 88, 1769, 202, 202, 97, 202, 202, 12107, 288, 1082, 202, 2463, 268, 31, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
void finished(JobInfo info);
void finished(JobTreeElement jte);
void finished(JobInfo info);
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/f52d6b94fa30f7dd2c2921a0ba5441c40e4c4f88/FinishedJobs.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/FinishedJobs.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 918, 6708, 12, 2278, 966, 1123, 1769, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 540, 918, 6708, 12, 2278, 966, 1123, 1769, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
registeredFilters.addAll(readExtension(tracker, extensions[i]));
IExtension extension = extensions[i]; processExtension(tracker, extension);
private MarkerSupportRegistry() { IExtensionTracker tracker = PlatformUI.getWorkbench() .getExtensionTracker(); IExtensionPoint point = Platform.getExtensionRegistry() .getExtensionPoint(IDEWorkbenchPlugin.IDE_WORKBENCH, MARKER_SUPPORT); if(point == null) return; IExtension[] extensions = point.getExtensions(); // initial population for (int i = 0; i < extensions.length; i++) { registeredFilters.addAll(readExtension(tracker, extensions[i])); } tracker.registerHandler(this, ExtensionTracker .createExtensionPointFilter(point)); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/627ec473d09ff552a82d62e1c32b07d9c8b6a356/MarkerSupportRegistry.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerSupportRegistry.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 14742, 6289, 4243, 1435, 288, 202, 202, 45, 3625, 8135, 9745, 273, 11810, 5370, 18, 588, 2421, 22144, 1435, 9506, 202, 18, 588, 3625, 8135, 5621, 202, 202, 45, 3625, 2148, 1634, 273, 11810, 18, 588, 3625, 4243, 1435, 9506, 202, 18, 588, 3625, 2148, 12, 10385, 2421, 22144, 3773, 18, 10385, 67, 10566, 38, 1157, 1792, 16, 25083, 202, 25989, 67, 13272, 6354, 1769, 202, 202, 430, 12, 1153, 422, 446, 13, 1082, 202, 2463, 31, 202, 202, 45, 3625, 8526, 4418, 273, 1634, 18, 588, 7513, 5621, 202, 202, 759, 2172, 11209, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 4418, 18, 2469, 31, 277, 27245, 288, 1082, 202, 14327, 5422, 18, 1289, 1595, 12, 896, 3625, 12, 16543, 16, 4418, 63, 77, 5717, 1769, 202, 202, 97, 202, 202, 16543, 18, 4861, 1503, 12, 2211, 16, 10021, 8135, 9506, 202, 18, 2640, 3625, 2148, 1586, 12, 1153, 10019, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 1152, 14742, 6289, 4243, 1435, 288, 202, 202, 45, 3625, 8135, 9745, 273, 11810, 5370, 18, 588, 2421, 22144, 1435, 9506, 202, 18, 588, 3625, 8135, 5621, 202, 202, 45, 3625, 2148, 1634, 273, 11810, 18, 588, 3625, 4243, 1435, 9506, 202, 18, 588, 3625, 2148, 12, 10385, 2421, 22144, 3773, 18, 10385, 67, 10566, 38, 1157, 1792, 16, 25083, 202, 25989, 67, 13272, 6354, 1769, 202, 202, 430, 12, 1153, 422, 446, 13, 1082, 202, 2463, 31, 202, 202, 45, 3625, 8526, 4418, 273, 1634, 18, 588, 7513, 5621, 202, 202, 759, 2172, 11209, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 4418, 18, 2469, 31, 277, 27245, 288, 1082, 202, 14327, 5422, 2 ]
return null;
return nativeResponse;
public Object getNativeResponse() { return null; }
57229 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57229/a06d48b62f091dd04d2ced16f141a9c7e4533f7b/XFormsModelSubmission.java/clean/src/java/org/orbeon/oxf/xforms/XFormsModelSubmission.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 25945, 1064, 1435, 288, 3639, 327, 6448, 1064, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 25945, 1064, 1435, 288, 3639, 327, 6448, 1064, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public TreeParent findParentOfNode(IASTNode node) { if (node == null || node.getParent() == null) return null; Iterator itr = children.iterator(); while (itr.hasNext()) { Object o = itr.next(); if (o != null && o instanceof TreeParent) { if ( ((TreeParent)o).getNode() == node.getParent() ) { return (TreeParent)o; } else if ( ((TreeParent)o).hasChildren() ){ TreeParent tree = findParentOfNode( ((TreeParent)o).getChildren(), node );
private TreeParent findParentOfNode(TreeObject[] trees, IASTNode node) { for (int i=0; i<trees.length; i++) { if (trees[i] != null && trees[i] instanceof TreeParent) { if ( ((TreeParent)trees[i]).getNode() == node.getParent() ) { return (TreeParent)trees[i]; } else if ( ((TreeParent)trees[i]).hasChildren() ){ TreeParent tree = findParentOfNode( ((TreeParent)trees[i]).getChildren(), node );
public TreeParent findParentOfNode(IASTNode node) { if (node == null || node.getParent() == null) return null; Iterator itr = children.iterator(); while (itr.hasNext()) { Object o = itr.next(); if (o != null && o instanceof TreeParent) { if ( ((TreeParent)o).getNode() == node.getParent() ) { return (TreeParent)o; } else if ( ((TreeParent)o).hasChildren() ){ TreeParent tree = findParentOfNode( ((TreeParent)o).getChildren(), node ); if (tree != null) return tree; } } } return null; // nothing found }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/c2d34df02ef660ad025d69d5f8105e295e9509cf/TreeParent.java/buggy/core/org.eclipse.cdt.ui.tests/src/org/eclipse/cdt/ui/tests/DOMAST/TreeParent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4902, 3054, 1104, 3054, 951, 907, 12, 45, 9053, 907, 756, 13, 288, 202, 202, 430, 261, 2159, 422, 446, 747, 756, 18, 588, 3054, 1435, 422, 446, 13, 327, 446, 31, 9506, 202, 3198, 11176, 273, 2325, 18, 9838, 5621, 202, 202, 17523, 261, 305, 86, 18, 5332, 2134, 10756, 288, 1082, 202, 921, 320, 273, 11176, 18, 4285, 5621, 1082, 202, 430, 261, 83, 480, 446, 597, 320, 1276, 4902, 3054, 13, 288, 9506, 202, 430, 261, 14015, 2471, 3054, 13, 83, 2934, 588, 907, 1435, 422, 756, 18, 588, 3054, 1435, 262, 288, 6862, 202, 2463, 261, 2471, 3054, 13, 83, 31, 9506, 202, 97, 469, 309, 261, 14015, 2471, 3054, 13, 83, 2934, 5332, 4212, 1435, 262, 95, 6862, 202, 2471, 3054, 2151, 273, 1104, 3054, 951, 907, 12, 14015, 2471, 3054, 13, 83, 2934, 588, 4212, 9334, 756, 11272, 6862, 202, 430, 261, 3413, 480, 446, 13, 327, 2151, 31, 9506, 202, 97, 1082, 202, 97, 202, 202, 97, 9506, 202, 2463, 446, 31, 368, 5083, 1392, 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, 4902, 3054, 1104, 3054, 951, 907, 12, 45, 9053, 907, 756, 13, 288, 202, 202, 430, 261, 2159, 422, 446, 747, 756, 18, 588, 3054, 1435, 422, 446, 13, 327, 446, 31, 9506, 202, 3198, 11176, 273, 2325, 18, 9838, 5621, 202, 202, 17523, 261, 305, 86, 18, 5332, 2134, 10756, 288, 1082, 202, 921, 320, 273, 11176, 18, 4285, 5621, 1082, 202, 430, 261, 83, 480, 446, 597, 320, 1276, 4902, 3054, 13, 288, 9506, 202, 430, 261, 14015, 2471, 3054, 13, 83, 2934, 588, 907, 1435, 422, 756, 18, 588, 3054, 1435, 262, 288, 6862, 202, 2463, 261, 2471, 3054, 13, 83, 31, 9506, 202, 97, 469, 309, 261, 14015, 2471, 3054, 13, 83, 2 ]
Relative.untranslateRelative(c);
Relative.untranslateRelative(c, false);
public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds); bounds.x = 0; bounds.y = 0; bounds.height = 0; //dummy style to make sure that text nodes don't get extra padding and such //doesn't work here because blocks may be inside inlines, losing inline styling: //c.pushStyle(CascadedStyle.emptyCascadedStyle); int blockLineHeight = FontUtil.lineHeight(c); LineMetrics blockLineMetrics = c.getTextRenderer().getLineMetrics(c.getGraphics(), c.getCurrentFont(), "thequickbrownfoxjumpedoverthelazydogTHEQUICKBROWNFOXJUMPEDOVERTHELAZYDOG"); // prepare remaining width and first linebox int remaining_width = bounds.width; LineBox curr_line = newLine(box, bounds, null, blockLineMetrics); LinkedList pushedOnFirstLine = null; // account for text-indent CalculatedStyle parentStyle = c.getCurrentStyle(); float indent = parentStyle.getFloatPropertyProportionalWidth(CSSName.TEXT_INDENT, remaining_width, c.getCtx()); remaining_width = remaining_width - (int) indent; curr_line.x = curr_line.x + (int) indent; // more setup LineBox prev_line = new LineBox(); prev_line.setParent(box); prev_line.y = bounds.y; prev_line.height = 0; InlineBox prev_inline = null; InlineBox prev_align_inline = null; // adjust the first line for float tabs // skip adjusting for tabs if this box is cleared if (!box.clear_left && !box.clear_right) { remaining_width = FloatUtil.adjustForTab(c, prev_line, remaining_width); } CalculatedStyle currentStyle = parentStyle; boolean isFirstLetter = true; LinkedList pendingPushStyles = null; int pendingLeftPadding = 0; int pendingRightPadding = 0; // loop until no more nodes while (contentList.size() > 0 && !c.shouldStop()) { Object o = contentList.get(0); contentList.remove(0); if (o instanceof FirstLineStyle) {//can actually only be the first object in list box.firstLineStyle = ((FirstLineStyle) o).getStyle(); c.addFirstLineStyle(box.firstLineStyle); continue; } if (o instanceof FirstLetterStyle) {//can actually only be the first or second object in list box.firstLetterStyle = ((FirstLetterStyle) o).getStyle(); continue; } if (o instanceof StylePush) { CascadedStyle cascaded; StylePush sp = (StylePush) o; if (sp.getElement() == null) { //anonymous inline box cascaded = CascadedStyle.emptyCascadedStyle; } else if (sp.getPseudoElement() != null) { cascaded = c.getCss().getPseudoElementStyle(sp.getElement(), sp.getPseudoElement()); } else { cascaded = c.getCss().getCascadedStyle(sp.getElement(), false);//already restyled by ContentUtil } //first push first-line styles if (c.hasFirstLineStyles()) { if (pushedOnFirstLine == null) { pushedOnFirstLine = new LinkedList(); for (Iterator i = c.getFirstLineStyles().iterator(); i.hasNext();) { c.pushStyle((CascadedStyle) i.next()); } } pushedOnFirstLine.addLast(cascaded); } c.pushStyle(cascaded); if (pendingPushStyles == null) { pendingPushStyles = new LinkedList(); } pendingPushStyles.addLast((StylePush) o); Relative.translateRelative(c); CalculatedStyle style = c.getCurrentStyle(); int parent_width = bounds.width; Border border = style.getBorderWidth(c.getCtx()); //note: percentages here refer to width of containing block Border margin = style.getMarginWidth(parent_width, parent_width, c.getCtx()); Border padding = style.getPaddingWidth(parent_width, parent_width, c.getCtx()); pendingLeftPadding += margin.left + border.left + padding.left; pendingRightPadding += padding.right + border.right + margin.right; continue; } if (o instanceof StylePop) { if (pendingPushStyles != null && pendingPushStyles.size() != 0) { pendingPushStyles.removeLast();//was a redundant one } else { if (prev_inline == null) { prev_inline = new InlineTextBox();//hope it is decently initialised as empty ((InlineTextBox) prev_inline).setMasterText(""); ((InlineTextBox) prev_inline).start_index = 0; ((InlineTextBox) prev_inline).end_index = 0; curr_line.addChild(prev_inline); } int parent_width = bounds.width; CalculatedStyle style = c.getCurrentStyle(); Border border = style.getBorderWidth(c.getCtx()); //note: percentages here refer to width of containing block Border margin = style.getMarginWidth(parent_width, parent_width, c.getCtx()); Border padding = style.getPaddingWidth(parent_width, parent_width, c.getCtx()); int rp = padding.right + border.right + margin.right; //CHECK: not sure this is where the padding really goes, always prev_inline.rightPadding += rp; pendingRightPadding -= rp; remaining_width -= rp; prev_inline.popstyles++; } if (c.hasFirstLineStyles()) { pushedOnFirstLine.removeLast(); } Relative.untranslateRelative(c); c.popStyle(); continue; } Content currentContent = (Content) o; if (currentContent.getStyle() != null) { //first push first-line styles if (c.hasFirstLineStyles()) { if (pushedOnFirstLine == null) { pushedOnFirstLine = new LinkedList(); for (Iterator i = c.getFirstLineStyles().iterator(); i.hasNext();) { c.pushStyle((CascadedStyle) i.next()); } } pushedOnFirstLine.addLast(currentContent.getStyle()); } c.pushStyle(currentContent.getStyle()); } // loop until no more text in this node InlineBox new_inline = null; int start = 0; InlineBlockBox pendingBlockBox = null; do { new_inline = null; if (currentContent instanceof AbsolutelyPositionedContent) { // Uu.p("this might be a problem, but it could just be an absolute block"); // result = new BoxLayout().layout(c,content); Box absolute = Absolute.generateAbsoluteBox(c, currentContent); curr_line.addChild(absolute); break; } // debugging check if (bounds.width < 0) { Uu.p("bounds width = " + bounds.width); Uu.dump_stack(); System.exit(-1); } // the crash warning code if (bounds.width < 1) { Uu.p("warning. width < 1 " + bounds.width); } currentStyle = c.getCurrentStyle(); // look at current inline // break off the longest section that will fit int fit = pendingRightPadding;//Note: this is not necessarily entirely correct if (start == 0) fit += pendingLeftPadding; new_inline = calculateInline(c, currentContent, remaining_width - fit, bounds.width, prev_align_inline, isFirstLetter, box.firstLetterStyle, curr_line, start, pendingBlockBox); pendingBlockBox = null; // if this inline needs to be on a new line if (prev_align_inline != null && new_inline.break_before) { // Uu.p("break before"); remaining_width = bounds.width; saveLine(curr_line, currentStyle, prev_line, bounds.width, bounds.x, c, box, false, blockLineHeight, pushedOnFirstLine); bounds.height += curr_line.height; prev_line = curr_line; curr_line = newLine(box, bounds, prev_line, blockLineMetrics); // skip adjusting for tabs if this box is cleared if (!box.clear_left && !box.clear_right) { remaining_width = FloatUtil.adjustForTab(c, curr_line, remaining_width); } //have to discard it and recalculate, particularly if this was the first line prev_align_inline.break_after = true; if (new_inline instanceof InlineBlockBox) pendingBlockBox = (InlineBlockBox) new_inline; new_inline = null; continue; } // save the new inline to the list // Uu.p("adding inline child: " + new_inline); //the inline might be set to size 0,0 after this, if it is first whitespace on line. // Cannot discard because it may contain style-pushes curr_line.addInlineChild(c, new_inline); // Uu.p("current line = " + curr_line); if (new_inline instanceof InlineTextBox) { start = ((InlineTextBox) new_inline).end_index; } isFirstLetter = false; new_inline.pushstyles = pendingPushStyles; pendingPushStyles = null; new_inline.leftPadding += pendingLeftPadding; pendingLeftPadding = 0; // calc new height of the line // don't count floats and absolutes if (!new_inline.floated && !new_inline.absolute) { adjustLineHeight(c, curr_line, new_inline); } if (!(currentContent instanceof FloatedBlockContent)) { // calc new width of the line curr_line.contentWidth += new_inline.getWidth(); } // reduce the available width remaining_width = remaining_width - new_inline.getWidth(); // if the last inline was at the end of a line, then go to next line if (new_inline.break_after) { // Uu.p("break after"); // then remaining_width = max_width remaining_width = bounds.width; // save the line saveLine(curr_line, currentStyle, prev_line, bounds.width, bounds.x, c, box, false, blockLineHeight, pushedOnFirstLine); // increase bounds height to account for the new line bounds.height += curr_line.height; prev_line = curr_line; curr_line = newLine(box, bounds, prev_line, blockLineMetrics); if (!box.clear_left && !box.clear_right) { remaining_width = FloatUtil.adjustForTab(c, curr_line, remaining_width); } } // set the inline to use for left alignment if (!isOutsideFlow(currentContent)) { prev_align_inline = new_inline; } prev_inline = new_inline; } while (new_inline == null || !new_inline.isEndOfParentContent()); if (currentContent.getStyle() != null) { c.popStyle(); if (c.hasFirstLineStyles()) { pushedOnFirstLine.removeLast(); } } } // save the final line saveLine(curr_line, currentStyle, prev_line, bounds.width, bounds.x, c, box, true, blockLineHeight, pushedOnFirstLine); bounds.height += curr_line.height; if (!c.shrinkWrap()) box.contentWidth = bounds.width; box.height = bounds.height; //box.x = 0; //box.y = 0; // Uu.p("- InlineLayout.layoutContent(): " + box); //pop the dummy style, but no, see above //c.popStyle(); }
57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/01fe5f6295fdbc46194c11fca8c5668798faefcb/InlineBoxing.java/buggy/src/java/org/xhtmlrenderer/layout/InlineBoxing.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 3511, 1350, 12, 1042, 276, 16, 8549, 3919, 16, 987, 913, 682, 13, 288, 3639, 368, 26715, 732, 1410, 3712, 506, 4832, 5943, 716, 13955, 358, 279, 1203, 17, 2815, 930, 3639, 368, 1884, 10407, 13694, 3639, 13264, 4972, 273, 394, 13264, 5621, 3639, 4972, 18, 2819, 273, 276, 18, 588, 2482, 4877, 7675, 2819, 31, 3639, 1954, 5694, 12, 10576, 1769, 3639, 4972, 18, 92, 273, 374, 31, 3639, 4972, 18, 93, 273, 374, 31, 3639, 4972, 18, 4210, 273, 374, 31, 3639, 368, 21050, 2154, 358, 1221, 3071, 716, 977, 2199, 2727, 1404, 336, 2870, 4992, 471, 4123, 3639, 368, 20657, 82, 1404, 1440, 2674, 2724, 4398, 2026, 506, 4832, 316, 3548, 16, 437, 2470, 6370, 16253, 2456, 30, 3639, 368, 71, 18, 6206, 2885, 12, 39, 3691, 2435, 2885, 18, 5531, 39, 3691, 2435, 2885, 1769, 3639, 509, 1203, 1670, 2686, 273, 10063, 1304, 18, 1369, 2686, 12, 71, 1769, 3639, 5377, 5653, 1203, 1670, 5653, 273, 276, 18, 588, 1528, 6747, 7675, 588, 1670, 5653, 12, 71, 18, 588, 17558, 9334, 7734, 276, 18, 588, 3935, 5711, 9334, 315, 5787, 19525, 70, 26253, 13873, 78, 379, 1845, 1643, 451, 292, 5038, 20330, 24644, 3500, 2871, 16024, 1457, 5665, 3313, 60, 46, 2799, 1423, 3191, 2204, 2455, 2247, 26315, 61, 3191, 43, 8863, 3639, 368, 2911, 4463, 1835, 471, 1122, 980, 2147, 3639, 509, 4463, 67, 2819, 273, 4972, 18, 2819, 31, 3639, 5377, 3514, 4306, 67, 1369, 273, 8093, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 3511, 1350, 12, 1042, 276, 16, 8549, 3919, 16, 987, 913, 682, 13, 288, 3639, 368, 26715, 732, 1410, 3712, 506, 4832, 5943, 716, 13955, 358, 279, 1203, 17, 2815, 930, 3639, 368, 1884, 10407, 13694, 3639, 13264, 4972, 273, 394, 13264, 5621, 3639, 4972, 18, 2819, 273, 276, 18, 588, 2482, 4877, 7675, 2819, 31, 3639, 1954, 5694, 12, 10576, 1769, 3639, 4972, 18, 92, 273, 374, 31, 3639, 4972, 18, 93, 273, 374, 31, 3639, 4972, 18, 4210, 273, 374, 31, 3639, 368, 21050, 2154, 358, 1221, 3071, 716, 977, 2199, 2727, 1404, 336, 2870, 4992, 471, 4123, 3639, 368, 20657, 82, 1404, 1440, 2674, 2724, 4398, 2026, 506, 4832, 316, 3548, 16, 2 ]
hash = 17 * hash + constructor.getParameterTypes()[i].getName().hashCode();
hash = (17 * hash) + constructor.getParameterTypes()[i].getName().hashCode();
public static int calculateHash(final CtConstructor constructor) { int hash = constructor.getName().hashCode(); try { for (int i = 0; i < constructor.getParameterTypes().length; i++) { hash = 17 * hash + constructor.getParameterTypes()[i].getName().hashCode(); } } catch (NotFoundException e) { throw new WrappedRuntimeException(e); } return hash; }
7954 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7954/0a8272f211b368352d468b943f2359cb79d9aaa1/JavassistConstructorInfo.java/clean/aspectwerkz3/src/main/org/codehaus/aspectwerkz/reflect/impl/javassist/JavassistConstructorInfo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 509, 4604, 2310, 12, 6385, 30714, 6293, 3885, 13, 288, 3639, 509, 1651, 273, 3885, 18, 17994, 7675, 2816, 1085, 5621, 3639, 775, 288, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3885, 18, 588, 1662, 2016, 7675, 2469, 31, 277, 27245, 288, 7734, 1651, 273, 261, 4033, 380, 1651, 13, 397, 3885, 18, 588, 1662, 2016, 1435, 63, 77, 8009, 17994, 7675, 2816, 1085, 5621, 5411, 289, 3639, 289, 1044, 261, 3990, 425, 13, 288, 5411, 604, 394, 24506, 11949, 12, 73, 1769, 3639, 289, 3639, 327, 1651, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 509, 4604, 2310, 12, 6385, 30714, 6293, 3885, 13, 288, 3639, 509, 1651, 273, 3885, 18, 17994, 7675, 2816, 1085, 5621, 3639, 775, 288, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3885, 18, 588, 1662, 2016, 7675, 2469, 31, 277, 27245, 288, 7734, 1651, 273, 261, 4033, 380, 1651, 13, 397, 3885, 18, 588, 1662, 2016, 1435, 63, 77, 8009, 17994, 7675, 2816, 1085, 5621, 5411, 289, 3639, 289, 1044, 261, 3990, 425, 13, 288, 5411, 604, 394, 24506, 11949, 12, 73, 1769, 3639, 289, 3639, 327, 1651, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
today++; tempReal = inHigh[today]; diffP = tempReal - prevHigh; prevHigh = tempReal; tempReal = inLow[today]; diffM = prevLow - tempReal; prevLow = tempReal; if ((diffM > 0) && (diffP < diffM)) {
today++; tempReal = inHigh[today]; diffP = tempReal-prevHigh; prevHigh = tempReal; tempReal = inLow[today]; diffM = prevLow-tempReal; prevLow = tempReal; if( (diffM > 0) && (diffP < diffM) ) {
public TA_RetCode MINUS_DI(int startIdx, int endIdx, double inHigh[], double inLow[], double inClose[], int optInTimePeriod, MInteger outBegIdx, MInteger outNbElement, double outReal[]) { int today, lookbackTotal, outIdx; double prevHigh, prevLow, prevClose; double prevMinusDM, prevTR; double tempReal, tempReal2, diffP, diffM; int i; if (startIdx < 0) return TA_RetCode.TA_OUT_OF_RANGE_START_INDEX; if ((endIdx < 0) || (endIdx < startIdx)) return TA_RetCode.TA_OUT_OF_RANGE_END_INDEX; if ((int) optInTimePeriod == (Integer.MIN_VALUE )) optInTimePeriod = 14; else if (((int) optInTimePeriod < 1) || ((int) optInTimePeriod > 100000)) return TA_RetCode.TA_BAD_PARAM; if (optInTimePeriod > 1) lookbackTotal = optInTimePeriod + (this.unstablePeriod[TA_FuncUnstId.TA_FUNC_UNST_MINUS_DI .ordinal()]); else lookbackTotal = 1; if (startIdx < lookbackTotal) startIdx = lookbackTotal; if (startIdx > endIdx) { outBegIdx.value = 0; outNbElement.value = 0; return TA_RetCode.TA_SUCCESS; } outIdx = 0; if (optInTimePeriod <= 1) { outBegIdx.value = startIdx; today = startIdx - 1; prevHigh = inHigh[today]; prevLow = inLow[today]; prevClose = inClose[today]; while (today < endIdx) { today++; tempReal = inHigh[today]; diffP = tempReal - prevHigh; prevHigh = tempReal; tempReal = inLow[today]; diffM = prevLow - tempReal; prevLow = tempReal; if ((diffM > 0) && (diffP < diffM)) { { tempReal = prevHigh - prevLow; tempReal2 = Math.abs(prevHigh - prevClose); if (tempReal2 > tempReal) tempReal = tempReal2; tempReal2 = Math.abs(prevLow - prevClose); if (tempReal2 > tempReal) tempReal = tempReal2; } ; if ((((-0.00000001) < tempReal) && (tempReal < 0.00000001))) outReal[outIdx++] = (double) 0.0; else outReal[outIdx++] = diffM / tempReal; } else outReal[outIdx++] = (double) 0.0; prevClose = inClose[today]; } outNbElement.value = outIdx; return TA_RetCode.TA_SUCCESS; } outBegIdx.value = today = startIdx; prevMinusDM = 0.0; prevTR = 0.0; today = startIdx - lookbackTotal; prevHigh = inHigh[today]; prevLow = inLow[today]; prevClose = inClose[today]; i = optInTimePeriod - 1; while (i-- > 0) { today++; tempReal = inHigh[today]; diffP = tempReal - prevHigh; prevHigh = tempReal; tempReal = inLow[today]; diffM = prevLow - tempReal; prevLow = tempReal; if ((diffM > 0) && (diffP < diffM)) { prevMinusDM += diffM; } { tempReal = prevHigh - prevLow; tempReal2 = Math.abs(prevHigh - prevClose); if (tempReal2 > tempReal) tempReal = tempReal2; tempReal2 = Math.abs(prevLow - prevClose); if (tempReal2 > tempReal) tempReal = tempReal2; } ; prevTR += tempReal; prevClose = inClose[today]; } i = (this.unstablePeriod[TA_FuncUnstId.TA_FUNC_UNST_MINUS_DI.ordinal()]) + 1; while (i-- != 0) { today++; tempReal = inHigh[today]; diffP = tempReal - prevHigh; prevHigh = tempReal; tempReal = inLow[today]; diffM = prevLow - tempReal; prevLow = tempReal; if ((diffM > 0) && (diffP < diffM)) { prevMinusDM = prevMinusDM - (prevMinusDM / optInTimePeriod) + diffM; } else { prevMinusDM = prevMinusDM - (prevMinusDM / optInTimePeriod); } { tempReal = prevHigh - prevLow; tempReal2 = Math.abs(prevHigh - prevClose); if (tempReal2 > tempReal) tempReal = tempReal2; tempReal2 = Math.abs(prevLow - prevClose); if (tempReal2 > tempReal) tempReal = tempReal2; } ; prevTR = prevTR - (prevTR / optInTimePeriod) + tempReal; prevClose = inClose[today]; } if (!(((-0.00000001) < prevTR) && (prevTR < 0.00000001))) outReal[0] = (100.0 * (prevMinusDM / prevTR)); else outReal[0] = 0.0; outIdx = 1; while (today < endIdx) { today++; tempReal = inHigh[today]; diffP = tempReal - prevHigh; prevHigh = tempReal; tempReal = inLow[today]; diffM = prevLow - tempReal; prevLow = tempReal; if ((diffM > 0) && (diffP < diffM)) { prevMinusDM = prevMinusDM - (prevMinusDM / optInTimePeriod) + diffM; } else { prevMinusDM = prevMinusDM - (prevMinusDM / optInTimePeriod); } { tempReal = prevHigh - prevLow; tempReal2 = Math.abs(prevHigh - prevClose); if (tempReal2 > tempReal) tempReal = tempReal2; tempReal2 = Math.abs(prevLow - prevClose); if (tempReal2 > tempReal) tempReal = tempReal2; } ; prevTR = prevTR - (prevTR / optInTimePeriod) + tempReal; prevClose = inClose[today]; if (!(((-0.00000001) < prevTR) && (prevTR < 0.00000001))) outReal[outIdx++] = (100.0 * (prevMinusDM / prevTR)); else outReal[outIdx++] = 0.0; } outNbElement.value = outIdx; return TA_RetCode.TA_SUCCESS; }
51465 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51465/cf65b93eedaca922be2993fe424b023f73c7562d/Core.java/buggy/trunk/ta-lib/java/src/TA/Lib/Core.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 399, 37, 67, 7055, 1085, 6989, 3378, 67, 2565, 12, 474, 27108, 16, 509, 679, 4223, 16, 1645, 316, 8573, 63, 6487, 1082, 202, 9056, 316, 10520, 63, 6487, 1645, 316, 4605, 63, 6487, 509, 2153, 382, 26540, 16, 1082, 202, 49, 4522, 596, 24059, 4223, 16, 490, 4522, 596, 22816, 1046, 16, 1645, 29205, 63, 5717, 288, 202, 202, 474, 10074, 16, 2324, 823, 5269, 16, 596, 4223, 31, 202, 202, 9056, 2807, 8573, 16, 2807, 10520, 16, 2807, 4605, 31, 202, 202, 9056, 2807, 18434, 16125, 16, 2807, 4349, 31, 202, 202, 9056, 31497, 16, 31497, 22, 16, 3122, 52, 16, 3122, 49, 31, 202, 202, 474, 277, 31, 202, 202, 430, 261, 1937, 4223, 411, 374, 13, 1082, 202, 2463, 399, 37, 67, 7055, 1085, 18, 9833, 67, 5069, 67, 3932, 67, 15928, 67, 7570, 67, 9199, 31, 202, 202, 430, 14015, 409, 4223, 411, 374, 13, 747, 261, 409, 4223, 411, 27108, 3719, 1082, 202, 2463, 399, 37, 67, 7055, 1085, 18, 9833, 67, 5069, 67, 3932, 67, 15928, 67, 4415, 67, 9199, 31, 202, 202, 430, 14015, 474, 13, 2153, 382, 26540, 422, 261, 4522, 18, 6236, 67, 4051, 8623, 1082, 202, 3838, 382, 26540, 273, 5045, 31, 202, 202, 12107, 309, 261, 12443, 474, 13, 2153, 382, 26540, 411, 404, 13, 9506, 202, 20081, 14015, 474, 13, 2153, 382, 26540, 405, 25259, 3719, 1082, 202, 2463, 399, 37, 67, 7055, 1085, 18, 9833, 67, 16234, 67, 8388, 31, 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, 399, 37, 67, 7055, 1085, 6989, 3378, 67, 2565, 12, 474, 27108, 16, 509, 679, 4223, 16, 1645, 316, 8573, 63, 6487, 1082, 202, 9056, 316, 10520, 63, 6487, 1645, 316, 4605, 63, 6487, 509, 2153, 382, 26540, 16, 1082, 202, 49, 4522, 596, 24059, 4223, 16, 490, 4522, 596, 22816, 1046, 16, 1645, 29205, 63, 5717, 288, 202, 202, 474, 10074, 16, 2324, 823, 5269, 16, 596, 4223, 31, 202, 202, 9056, 2807, 8573, 16, 2807, 10520, 16, 2807, 4605, 31, 202, 202, 9056, 2807, 18434, 16125, 16, 2807, 4349, 31, 202, 202, 9056, 31497, 16, 31497, 22, 16, 3122, 52, 16, 3122, 49, 31, 202, 202, 474, 277, 31, 202, 202, 430, 261, 1937, 2 ]
0, 0, 322, 323, 0, 0, 0, 0, 0, 0, 0, 0, 0, 472, 678, 324, 472, 325, 0, 326,
0, 274, 322, 323, 0, 0, 0, 0, 0, 0, 0, 274, 0, 0, 476, 324, 0, 325, 0, 326,
private static final short[] yyTable1() { return new short[] { 234, 234, 391, 229, 234, 203, 419, 239, 239, 189, 580, 239, 237, 237, 248, 564, 237, 814, 190, 190, 591, 601, 252, 240, 240, 203, 519, 240, 257, 259, 216, 95, 782, 552, 234, 234, 216, 283, 284, 190, 253, 617, 274, 356, 249, 461, 732, 652, 265, 466, 492, 109, 109, 551, 300, 442, 281, 291, 275, 435, 337, 109, 362, 492, 337, 442, 190, 660, 661, 422, 62, 588, 221, 215, 218, 617, 423, 424, 783, 217, 786, 492, 469, 387, 382, 217, 606, 353, 244, 441, 60, 362, 362, 248, 393, 342, 394, 362, 109, 444, 253, 285, 79, 79, 110, 110, 353, 69, 79, 210, 210, 210, 492, 492, 225, 210, 210, 354, 492, 210, 235, 235, 455, 247, 235, 455, 210, 69, 492, 70, 309, 363, 221, 442, 455, 656, 247, 109, 649, 216, 492, 71, 338, 470, 387, 535, 338, 79, 210, 210, 253, 279, 360, 210, 269, 492, 361, 216, 61, 324, 230, 492, 492, 326, 327, 261, 657, 447, 782, 366, 308, 492, 262, 579, 264, 394, 89, 492, 492, 363, 363, 456, 457, 458, 456, 457, 460, 598, 217, 492, 279, 230, 40, 456, 457, 462, 260, 261, 492, 564, 356, 392, 455, 291, 492, 210, 217, 79, 684, 438, 87, 440, 190, 391, 856, 64, 234, 234, 284, 308, 653, 492, 716, 40, 89, 89, 217, 256, 691, 234, 67, 234, 234, 441, 264, 64, 239, 369, 239, 420, 65, 237, 771, 237, 237, 55, 492, 492, 356, 356, 67, 335, 240, 439, 240, 240, 487, 273, 87, 87, 65, 456, 457, 465, 265, 295, 307, 308, 242, 345, 492, 243, 391, 391, 391, 387, 363, 402, 346, 221, 343, 297, 441, 492, 762, 397, 398, 344, 487, 766, 481, 278, 481, 381, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 307, 308, 210, 210, 550, 455, 494, 234, 387, 471, 524, 527, 492, 234, 476, 340, 347, 538, 531, 482, 531, 482, 341, 406, 210, 69, 210, 210, 802, 235, 265, 235, 417, 518, 234, 536, 79, 494, 617, 348, 626, 629, 234, 79, 617, 472, 473, 474, 475, 531, 492, 492, 234, 524, 589, 538, 61, 364, 492, 234, 518, 642, 721, 429, 456, 457, 594, 234, 363, 741, 264, 234, 234, 525, 528, 234, 532, 109, 518, 620, 539, 79, 210, 210, 210, 210, 79, 210, 210, 492, 597, 622, 634, 518, 492, 614, 564, 637, 638, 639, 632, 627, 624, 203, 543, 69, 234, 841, 628, 234, 376, 839, 234, 89, 352, 825, 492, 190, 454, 234, 377, 835, 210, 518, 492, 210, 210, 269, 210, 79, 279, 459, 210, 64, 492, 492, 61, 356, 600, 600, 511, 516, 363, 522, 523, 518, 379, 87, 67, 210, 79, 210, 40, 40, 269, 492, 264, 367, 65, 79, 617, 380, 459, 79, 368, 492, 389, 210, 549, 855, 792, 79, 269, 79, 441, 687, 413, 273, 415, 418, 459, 381, 210, 492, 273, 511, 516, 269, 617, 670, 582, 234, 673, 675, 210, 385, 445, 400, 590, 861, 592, 549, 386, 217, 401, 441, 278, 533, 79, 455, 396, 278, 388, 64, 666, 463, 492, 492, 278, 671, 307, 308, 670, 473, 390, 674, 676, 445, 67, 403, 445, 549, 357, 358, 210, 635, 576, 688, 65, 269, 381, 381, 381, 562, 563, 445, 190, 63, 430, 701, 71, 454, 203, 549, 411, 431, 81, 445, 234, 448, 449, 837, 399, 309, 94, 94, 190, 61, 456, 457, 94, 94, 94, 94, 709, 579, 234, 94, 94, 406, 234, 94, 454, 682, 234, 454, 492, 683, 94, 492, 492, 82, 324, 293, 294, 234, 326, 327, 328, 329, 454, 74, 407, 273, 410, 426, 372, 692, 744, 94, 94, 94, 778, 373, 428, 94, 434, 309, 614, 432, 752, 433, 446, 436, 210, 79, 229, 758, 760, 437, 450, 451, 464, 763, 765, 492, 780, 468, 537, 82, 82, 540, 579, 768, 234, 79, 583, 394, 423, 596, 725, 608, 618, 630, 234, 631, 636, 640, 452, 79, 641, 833, 654, 813, 662, 453, 815, 94, 834, 94, 492, 663, 423, 668, 492, 492, 669, 758, 760, 763, 560, 561, 562, 563, 109, 234, 705, 210, 492, 672, 759, 761, 234, 492, 87, 492, 764, 234, 234, 679, 83, 83, 111, 111, 810, 680, 83, 673, 675, 809, 210, 88, 226, 210, 685, 740, 686, 689, 609, 693, 811, 695, 697, 699, 773, 702, 700, 737, 738, 109, 79, 706, 821, 712, 234, 713, 714, 225, 79, 715, 79, 79, 210, 210, 76, 83, 278, 76, 210, 280, 84, 717, 794, 278, 718, 720, 724, 746, 473, 88, 88, 821, 232, 234, 76, 755, 600, 756, 757, 845, 76, 727, 733, 234, 87, 84, 84, 234, 735, 736, 739, 84, 788, 743, 94, 94, 79, 228, 280, 210, 745, 89, 279, 767, 472, 822, 696, 698, 84, 84, 234, 79, 79, 79, 774, 83, 94, 775, 94, 94, 779, 160, 234, 793, 234, 795, 796, 472, 94, 797, 84, 807, 817, 818, 827, 94, 518, 816, 799, 800, 801, 472, 234, 819, 234, 868, 82, 820, 492, 492, 492, 829, 234, 273, 832, 492, 234, 210, 82, 842, 273, 79, 79, 843, 747, 748, 847, 749, 849, 852, 160, 41, 42, 94, 94, 94, 94, 94, 94, 94, 94, 89, 79, 853, 854, 873, 78, 871, 824, 875, 84, 91, 91, 112, 112, 112, 877, 91, 423, 492, 493, 481, 483, 230, 80, 423, 493, 483, 86, 836, 483, 485, 485, 254, 94, 492, 79, 94, 94, 487, 94, 94, 423, 487, 94, 210, 82, 79, 494, 423, 269, 299, 115, 473, 79, 874, 91, 75, 728, 188, 282, 94, 94, 94, 549, 339, 826, 690, 734, 754, 862, 279, 351, 421, 863, 94, 86, 86, 0, 94, 784, 864, 785, 94, 83, 94, 92, 92, 301, 153, 0, 83, 92, 0, 94, 0, 0, 0, 88, 282, 0, 0, 0, 0, 280, 0, 94, 0, 0, 473, 0, 0, 76, 472, 0, 0, 91, 0, 0, 0, 94, 0, 302, 303, 304, 305, 306, 0, 0, 83, 0, 92, 0, 0, 83, 84, 472, 84, 153, 828, 830, 0, 831, 0, 0, 0, 94, 0, 85, 0, 472, 208, 208, 208, 0, 0, 0, 0, 0, 84, 0, 0, 279, 0, 472, 0, 84, 0, 250, 279, 803, 472, 0, 805, 806, 0, 472, 83, 280, 270, 0, 555, 83, 0, 556, 557, 558, 472, 0, 0, 267, 92, 76, 0, 472, 472, 85, 85, 83, 472, 0, 472, 0, 0, 84, 0, 0, 0, 472, 84, 0, 83, 872, 472, 0, 84, 0, 0, 472, 83, 559, 83, 0, 0, 0, 560, 561, 562, 563, 476, 83, 83, 472, 0, 0, 160, 94, 94, 160, 160, 160, 86, 473, 0, 0, 0, 0, 359, 0, 0, 0, 0, 84, 0, 848, 850, 83, 94, 81, 88, 0, 81, 418, 280, 0, 91, 0, 0, 0, 418, 0, 94, 91, 84, 160, 0, 0, 0, 81, 160, 160, 160, 160, 0, 0, 86, 84, 0, 0, 865, 866, 0, 83, 473, 84, 870, 84, 0, 473, 94, 473, 0, 0, 0, 0, 473, 0, 0, 273, 0, 91, 279, 878, 0, 0, 91, 0, 163, 279, 0, 880, 86, 94, 882, 473, 94, 0, 884, 0, 0, 555, 84, 0, 556, 557, 558, 0, 0, 0, 88, 92, 0, 94, 0, 280, 0, 0, 92, 0, 473, 94, 280, 94, 94, 94, 94, 473, 0, 91, 282, 94, 473, 0, 0, 208, 208, 163, 0, 0, 0, 0, 0, 83, 83, 560, 561, 562, 563, 0, 91, 473, 0, 0, 153, 0, 92, 153, 153, 153, 0, 92, 0, 91, 83, 404, 405, 0, 0, 94, 0, 91, 94, 91, 0, 0, 85, 0, 83, 0, 0, 417, 0, 0, 94, 94, 94, 481, 417, 476, 0, 0, 0, 153, 0, 0, 148, 0, 153, 153, 153, 153, 0, 0, 92, 0, 0, 0, 91, 0, 83, 0, 0, 0, 0, 208, 208, 208, 208, 84, 477, 478, 0, 0, 0, 92, 0, 0, 481, 0, 94, 0, 0, 0, 94, 94, 0, 0, 92, 84, 476, 0, 0, 270, 0, 148, 92, 476, 92, 83, 751, 0, 472, 84, 0, 94, 226, 83, 0, 83, 83, 0, 0, 0, 0, 0, 0, 81, 0, 131, 270, 476, 0, 0, 280, 0, 0, 0, 575, 581, 530, 280, 534, 92, 553, 0, 77, 0, 270, 94, 0, 0, 0, 0, 0, 0, 0, 0, 94, 0, 94, 789, 0, 270, 0, 83, 0, 94, 0, 0, 0, 577, 481, 0, 0, 0, 0, 0, 131, 273, 83, 83, 83, 0, 84, 91, 273, 267, 530, 0, 0, 228, 84, 476, 84, 84, 0, 0, 0, 0, 610, 613, 0, 0, 616, 91, 0, 81, 623, 0, 0, 0, 0, 78, 0, 270, 78, 0, 0, 91, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 83, 83, 0, 78, 0, 644, 790, 0, 616, 0, 84, 644, 163, 0, 0, 163, 163, 163, 0, 0, 132, 83, 0, 0, 0, 84, 84, 84, 0, 0, 92, 0, 0, 473, 0, 0, 659, 659, 659, 419, 0, 0, 667, 0, 0, 79, 419, 0, 79, 0, 92, 163, 0, 667, 667, 83, 163, 163, 163, 163, 91, 0, 0, 0, 92, 79, 83, 230, 91, 132, 91, 91, 0, 83, 0, 84, 84, 667, 0, 481, 481, 481, 0, 0, 0, 481, 481, 208, 481, 0, 677, 0, 0, 0, 74, 278, 84, 74, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 704, 0, 708, 791, 581, 74, 0, 91, 0, 0, 80, 148, 581, 80, 148, 148, 148, 0, 0, 0, 0, 84, 91, 91, 91, 0, 92, 482, 0, 0, 80, 0, 84, 0, 92, 423, 92, 92, 420, 84, 0, 208, 85, 476, 0, 420, 0, 0, 719, 0, 148, 0, 0, 0, 0, 148, 148, 148, 148, 0, 279, 0, 0, 0, 0, 0, 726, 742, 482, 0, 729, 0, 91, 91, 730, 0, 0, 0, 0, 0, 0, 0, 92, 0, 131, 613, 0, 131, 131, 131, 0, 0, 412, 91, 476, 0, 0, 92, 92, 92, 0, 476, 412, 659, 0, 0, 472, 0, 0, 0, 0, 422, 78, 473, 0, 0, 0, 0, 422, 0, 0, 0, 85, 131, 0, 476, 0, 91, 131, 131, 131, 131, 0, 412, 770, 0, 412, 0, 91, 0, 0, 0, 0, 208, 777, 91, 0, 92, 92, 0, 412, 412, 482, 412, 0, 412, 0, 0, 0, 667, 667, 0, 0, 0, 473, 0, 0, 0, 92, 0, 0, 473, 0, 0, 79, 644, 473, 0, 0, 0, 0, 0, 616, 412, 0, 412, 0, 0, 616, 0, 0, 0, 78, 0, 0, 473, 0, 0, 0, 0, 0, 0, 92, 0, 0, 132, 0, 0, 132, 132, 132, 0, 0, 92, 0, 415, 0, 412, 0, 0, 92, 581, 0, 74, 823, 415, 278, 0, 0, 0, 0, 0, 421, 278, 0, 0, 0, 0, 473, 421, 0, 0, 0, 0, 132, 0, 0, 0, 80, 132, 132, 132, 132, 838, 79, 0, 415, 270, 0, 415, 0, 0, 0, 846, 0, 0, 0, 851, 0, 0, 0, 0, 0, 415, 415, 423, 415, 0, 415, 0, 0, 0, 423, 0, 0, 581, 0, 0, 253, 482, 482, 482, 0, 0, 0, 482, 482, 0, 482, 0, 279, 0, 613, 74, 616, 0, 415, 279, 415, 309, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 876, 0, 879, 322, 323, 0, 80, 0, 0, 0, 616, 0, 0, 0, 883, 0, 324, 0, 415, 334, 326, 327, 328, 329, 0, 0, 0, 469, 469, 469, 0, 469, 412, 412, 412, 469, 469, 412, 412, 412, 469, 412, 469, 469, 469, 469, 469, 469, 469, 412, 469, 412, 412, 469, 469, 469, 469, 469, 469, 469, 412, 412, 0, 412, 412, 412, 412, 412, 0, 469, 334, 0, 469, 469, 469, 469, 469, 469, 469, 469, 0, 469, 469, 469, 469, 0, 0, 469, 469, 469, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, 0, 0, 412, 412, 412, 469, 412, 412, 469, 469, 469, 469, 469, 412, 469, 412, 469, 412, 469, 412, 412, 412, 412, 412, 412, 412, 469, 412, 469, 469, 469, 469, 469, 469, 469, 0, 0, 0, 95, 0, 0, 0, 0, 0, 0, 0, 470, 470, 470, 0, 470, 415, 415, 415, 470, 470, 415, 415, 415, 470, 415, 470, 470, 470, 470, 470, 470, 470, 415, 470, 415, 415, 470, 470, 470, 470, 470, 470, 470, 415, 415, 0, 415, 415, 415, 415, 415, 95, 470, 0, 0, 470, 470, 470, 470, 470, 470, 470, 470, 0, 470, 470, 470, 470, 0, 0, 470, 470, 470, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 415, 0, 0, 415, 415, 415, 470, 415, 415, 470, 470, 470, 470, 470, 415, 470, 415, 470, 415, 470, 415, 415, 415, 415, 415, 415, 415, 470, 415, 470, 470, 470, 470, 470, 470, 470, 472, 0, 0, 0, 0, 0, 0, 0, 0, 0, 472, 0, 0, 0, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 0, 0, 322, 323, 0, 0, 0, 0, 0, 0, 0, 0, 0, 472, 678, 324, 472, 325, 0, 326, 327, 328, 329, 330, 331, 332, 0, 333, 0, 0, 472, 472, 0, 84, 0, 472, 0, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 0, 0, 322, 323, 0, 0, 0, 0, 0, 0, 0, 0, 472, 0, 472, 324, 0, 325, 0, 326, 327, 328, 329, 330, 331, 332, 0, 333, 0, 0, 0, 508, 509, 473, 0, 510, 0, 0, 0, 0, 0, 0, 160, 473, 161, 162, 472, 163, 164, 165, 166, 0, 167, 168, 0, 0, 169, 0, 0, 0, 0, 170, 171, 172, 173, 0, 0, 0, 0, 0, 0, 0, 0, 309, 473, 175, 176, 473, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, 322, 323, 473, 473, 0, 86, 95, 473, 0, 95, 95, 95, 0, 324, 0, 325, 0, 326, 327, 328, 329, 0, 96, 0, 0, 309, 0, 0, 0, 0, 314, 315, 0, 412, 0, 473, 0, 473, 0, 0, 412, 322, 323, 0, 0, 95, 0, 0, 0, 0, 95, 95, 95, 95, 324, 0, 325, 0, 326, 327, 328, 329, 330, 331, 332, 0, 333, 0, 0, 473, 0, 96, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 472, 472, 472, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 334, 472, 472, 472, 472, 472, 0, 472, 0, 0, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 472, 472, 472, 0, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 0, 0, 472, 472, 472, 472, 0, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 472, 473, 473, 473, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 473, 473, 473, 473, 0, 473, 0, 0, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 473, 473, 473, 0, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 0, 0, 473, 473, 473, 473, 0, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 473, 476, 0, 0, 96, 0, 0, 96, 96, 96, 0, 476, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 415, 0, 0, 0, 0, 0, 0, 415, 0, 0, 0, 476, 96, 0, 476, 0, 0, 96, 96, 96, 96, 0, 0, 0, 0, 0, 0, 0, 476, 476, 0, 85, 0, 476, 0, 0, 0, 0, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 0, 0, 322, 323, 0, 0, 0, 0, 0, 476, 0, 476, 0, 0, 0, 324, 0, 325, 0, 326, 327, 328, 329, 330, 331, 332, 0, 333, 513, 514, 274, 0, 515, 0, 0, 0, 0, 0, 0, 160, 274, 161, 162, 476, 163, 164, 165, 166, 0, 167, 168, 0, 0, 169, 0, 0, 0, 0, 170, 171, 172, 173, 0, 0, 0, 0, 0, 0, 0, 0, 0, 274, 175, 176, 274, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, 0, 0, 274, 274, 0, 0, 0, 274, 520, 509, 0, 0, 521, 0, 0, 0, 0, 0, 0, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 0, 0, 169, 0, 274, 0, 274, 170, 171, 172, 173, 0, 0, 0, 0, 0, 0, 0, 0, 0, 608, 175, 176, 0, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, 0, 0, 0, 274, 334, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 472, 472, 472, 0, 472, 476, 476, 476, 472, 472, 476, 476, 476, 472, 476, 472, 472, 472, 472, 472, 472, 472, 0, 476, 476, 476, 472, 472, 472, 472, 472, 472, 472, 476, 476, 0, 476, 476, 476, 476, 476, 0, 472, 0, 0, 472, 472, 472, 472, 472, 472, 472, 472, 0, 472, 472, 472, 472, 0, 0, 472, 472, 472, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, 0, 0, 476, 476, 476, 472, 0, 476, 472, 472, 472, 472, 472, 476, 472, 476, 472, 476, 472, 476, 476, 476, 476, 476, 476, 476, 472, 476, 476, 472, 472, 472, 472, 472, 472, 471, 471, 471, 0, 471, 274, 274, 274, 471, 471, 274, 274, 274, 471, 274, 471, 471, 471, 471, 471, 471, 471, 0, 471, 274, 274, 471, 471, 471, 471, 471, 471, 471, 274, 274, 0, 274, 274, 274, 274, 274, 0, 471, 0, 0, 471, 471, 471, 471, 471, 471, 471, 471, 0, 471, 471, 471, 471, 0, 0, 471, 471, 471, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, 0, 0, 274, 274, 274, 471, 0, 274, 471, 471, 471, 471, 471, 274, 471, 274, 471, 274, 471, 274, 274, 274, 274, 274, 274, 274, 471, 274, 471, 471, 471, 471, 471, 471, 471, 477, 0, 0, 0, 0, 0, 0, 0, 0, 0, 477, 0, 0, 0, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 0, 0, 322, 323, 0, 0, 0, 0, 0, 0, 0, 0, 0, 477, 0, 324, 477, 325, 0, 326, 327, 328, 329, 330, 331, 332, 0, 333, 547, 514, 477, 477, 548, 0, 0, 477, 0, 0, 0, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 0, 0, 169, 0, 0, 0, 0, 170, 171, 172, 173, 0, 477, 0, 477, 0, 0, 0, 0, 0, 0, 175, 176, 0, 177, 178, 179, 180, 181, 182, 183, 184, 185, 478, 186, 0, 0, 0, 0, 0, 0, 0, 0, 478, 0, 0, 477, 0, 0, 0, 584, 509, 0, 0, 585, 0, 0, 0, 0, 0, 0, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 0, 478, 169, 0, 478, 0, 0, 170, 171, 172, 173, 0, 0, 0, 0, 0, 0, 0, 478, 478, 0, 175, 176, 478, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, 0, 0, 0, 0, 0, 0, 0, 0, 586, 514, 0, 0, 587, 0, 0, 0, 478, 0, 478, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 0, 0, 169, 0, 0, 0, 0, 170, 171, 172, 173, 0, 0, 0, 0, 655, 0, 0, 0, 478, 334, 175, 176, 0, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, 0, 0, 0, 0, 474, 474, 474, 0, 474, 477, 477, 477, 474, 474, 477, 477, 477, 474, 477, 474, 474, 474, 474, 474, 474, 474, 0, 477, 477, 477, 474, 474, 474, 474, 474, 474, 474, 477, 477, 0, 477, 477, 477, 477, 477, 0, 474, 0, 0, 474, 474, 474, 474, 474, 474, 474, 474, 0, 474, 474, 474, 474, 0, 0, 474, 474, 474, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 0, 0, 477, 477, 477, 474, 0, 477, 474, 474, 474, 474, 474, 477, 474, 477, 474, 477, 474, 477, 477, 477, 477, 477, 477, 477, 474, 477, 477, 474, 474, 474, 474, 474, 474, 475, 475, 475, 0, 475, 478, 478, 478, 475, 475, 478, 478, 478, 475, 478, 475, 475, 475, 475, 475, 475, 475, 0, 478, 478, 478, 475, 475, 475, 475, 475, 475, 475, 478, 478, 0, 478, 478, 478, 478, 478, 0, 475, 0, 0, 475, 475, 475, 475, 475, 475, 475, 475, 0, 475, 475, 475, 475, 0, 0, 475, 475, 475, 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, 0, 0, 478, 478, 478, 475, 0, 478, 475, 475, 475, 475, 475, 478, 475, 478, 475, 478, 475, 478, 478, 478, 478, 478, 478, 478, 475, 478, 478, 475, 475, 475, 475, 475, 475, 350, 0, 0, 0, 0, 0, 0, 0, 0, 0, 350, 0, 0, 0, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 0, 320, 321, 0, 0, 322, 323, 0, 0, 0, 0, 0, 0, 0, 0, 0, 350, 0, 324, 350, 325, 0, 326, 327, 328, 329, 330, 331, 332, 0, 333, 602, 509, 350, 350, 603, 0, 0, 350, 0, 0, 0, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 0, 0, 169, 0, 0, 0, 0, 170, 171, 172, 173, 0, 350, 0, 350, 0, 0, 0, 0, 0, 0, 175, 176, 0, 177, 178, 179, 180, 181, 182, 183, 184, 185, 492, 186, 0, 0, 0, 0, 0, 0, 0, 0, 492, 0, 0, 350, 0, 0, 0, 604, 514, 0, 0, 605, 0, 0, 0, 0, 0, 0, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 0, 492, 169, 0, 492, 0, 0, 170, 171, 172, 173, 0, 0, 0, 0, 0, 0, 0, 492, 492, 0, 175, 176, 492, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, 0, 0, 0, 0, 0, 0, 0, 0, 645, 509, 0, 0, 646, 0, 0, 0, 492, 0, 492, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 0, 0, 169, 0, 0, 0, 0, 170, 171, 172, 173, 0, 0, 0, 0, 0, 0, 0, 0, 492, 0, 175, 176, 0, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, 0, 0, 0, 0, 251, 251, 251, 0, 251, 350, 350, 350, 251, 251, 350, 350, 350, 251, 350, 251, 251, 251, 251, 251, 251, 251, 0, 350, 350, 350, 251, 251, 251, 251, 251, 251, 251, 350, 350, 0, 350, 350, 350, 350, 350, 0, 251, 0, 0, 251, 251, 251, 251, 251, 251, 251, 251, 0, 251, 251, 251, 251, 0, 0, 251, 251, 251, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 350, 0, 0, 350, 350, 350, 251, 0, 350, 251, 0, 251, 251, 251, 350, 251, 350, 251, 350, 251, 350, 350, 350, 350, 350, 350, 350, 251, 350, 350, 251, 251, 251, 251, 251, 251, 251, 251, 251, 0, 251, 492, 492, 492, 251, 251, 492, 492, 492, 251, 492, 251, 251, 251, 251, 251, 251, 251, 0, 492, 492, 492, 251, 251, 251, 251, 251, 251, 251, 492, 492, 0, 492, 492, 492, 492, 492, 0, 251, 0, 0, 251, 251, 251, 251, 251, 251, 251, 251, 0, 251, 251, 251, 251, 0, 0, 251, 251, 251, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 0, 0, 492, 492, 492, 251, 0, 492, 251, 0, 251, 251, 251, 492, 251, 492, 251, 492, 251, 492, 492, 492, 492, 492, 492, 492, 251, 492, 492, 251, 251, 251, 251, 251, 251, 278, 0, 0, 0, 0, 0, 0, 0, 0, 0, 278, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 647, 514, 0, 0, 648, 0, 0, 0, 0, 0, 0, 160, 0, 161, 162, 0, 163, 164, 165, 166, 278, 167, 168, 278, 0, 169, 0, 0, 0, 0, 170, 171, 172, 173, 0, 0, 0, 278, 278, 0, 87, 0, 278, 0, 175, 176, 0, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, 0, 0, 0, 0, 857, 509, 0, 0, 858, 0, 0, 0, 278, 0, 278, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 0, 0, 169, 0, 0, 0, 286, 170, 171, 172, 173, 0, 0, 0, 0, 0, 286, 0, 0, 278, 0, 175, 176, 0, 177, 178, 179, 180, 181, 182, 183, 184, 185, 0, 186, 0, 0, 0, 0, 0, 0, 859, 514, 0, 0, 860, 0, 286, 0, 0, 286, 0, 160, 0, 161, 162, 0, 163, 164, 165, 166, 0, 167, 168, 286, 286, 169, 0, 0, 286, 0, 170, 171, 172, 173, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 175, 176, 0, 177, 178, 179, 180, 181, 182, 183, 184, 185, 286, 186, 286, 0, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 0, 0, 0, 0, 0, 322, 323, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 324, 286, 325, 0, 326, 327, 328, 329, 330, 331, 332, 0, 333, 0, 0, 0, 0, 0, 0, 0, 0, 473, 473, 473, 0, 473, 278, 278, 278, 473, 473, 278, 278, 278, 473, 278, 473, 473, 473, 473, 473, 473, 473, 0, 0, 278, 278, 473, 473, 473, 473, 473, 473, 473, 278, 278, 0, 278, 278, 278, 278, 278, 0, 473, 0, 0, 473, 473, 473, 473, 473, 473, 473, 473, 0, 473, 473, 473, 473, 0, 0, 473, 473, 473, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 0, 0, 278, 278, 278, 473, 0, 278, 473, 473, 473, 473, 473, 278, 473, 278, 473, 278, 473, 278, 278, 278, 278, 278, 278, 278, 473, 278, 0, 473, 473, 473, 473, 473, 473, 251, 251, 251, 0, 251, 286, 286, 286, 251, 251, 286, 286, 286, 251, 286, 251, 251, 251, 251, 251, 251, 251, 0, 0, 286, 286, 251, 251, 251, 251, 251, 251, 251, 286, 286, 0, 286, 286, 286, 286, 286, 0, 251, 0, 0, 251, 251, 251, 251, 251, 251, 251, 251, 0, 251, 251, 251, 251, 0, 0, 251, 251, 251, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 0, 0, 286, 286, 286, 251, 0, 286, 251, 0, 251, 251, 251, 286, 251, 286, 251, 286, 251, 286, 286, 286, 286, 286, 286, 286, 251, 286, 472, 251, 251, 251, 251, 251, 251, 0, 0, 0, 472, 0, 0, 0, 309, 310, 311, 312, 313, 314, 315, 316, 0, 318, 319, 0, 0, 0, 0, 0, 322, 323, 0, 0, 0, 0, 0, 0, 0, 0, 0, 472, 0, 324, 76, 325, 0, 326, 327, 328, 329, 330, 331, 332, 0, 333, 0, 0, 0, 472, 0, 84, 0, 472, 309, 310, 311, 312, 313, 314, 315, 0, 0, 318, 319, 0, 0, 0, 0, 0, 322, 323, 0, 0, 0, 0, 0, 0, 0, 0, 0, 472, 0, 324, 0, 325, 0, 326, 327, 328, 329, 330, 331, 332, 309, 333, 0, 0, 0, 0, 0, 0, 473, 0, 0, 0, 0, 0, 0, 0, 322, 323, 473, 0, 0, 472, 0, 0, 0, 0, 0, 0, 0, 324, 0, 325, 0, 326, 327, 328, 329, 0, 0, 332, 0, 333, 0, 0, 0, 0, 0, 0, 0, 473, 0, 0, 78, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 473, 0, 86, 0, 473, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }; }
47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/a404cb04ade8bbc527b55cf473199686102428e1/YyTables.java/clean/src/org/jruby/parser/YyTables.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 760, 727, 3025, 8526, 9016, 1388, 21, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 1850, 576, 5026, 16, 225, 576, 5026, 16, 225, 890, 12416, 16, 225, 576, 5540, 16, 225, 576, 5026, 16, 225, 4200, 23, 16, 225, 1059, 3657, 16, 225, 576, 5520, 16, 225, 576, 5520, 16, 225, 6549, 29, 16, 6647, 1381, 3672, 16, 225, 576, 5520, 16, 225, 576, 6418, 16, 225, 576, 6418, 16, 225, 4248, 28, 16, 225, 1381, 1105, 16, 225, 576, 6418, 16, 225, 1725, 3461, 16, 225, 5342, 20, 16, 225, 5342, 20, 16, 6647, 1381, 12416, 16, 225, 1666, 1611, 16, 225, 6969, 22, 16, 225, 27610, 16, 225, 27610, 16, 225, 4200, 23, 16, 225, 1381, 3657, 16, 225, 27610, 16, 225, 6969, 27, 16, 225, 576, 6162, 16, 6647, 576, 2313, 16, 282, 16848, 16, 225, 2371, 11149, 16, 225, 1381, 9401, 16, 225, 576, 5026, 16, 225, 576, 5026, 16, 225, 576, 2313, 16, 225, 9131, 23, 16, 225, 576, 5193, 16, 225, 5342, 20, 16, 6647, 6969, 23, 16, 225, 1666, 4033, 16, 225, 576, 5608, 16, 225, 890, 4313, 16, 225, 4248, 29, 16, 225, 1059, 9498, 16, 225, 2371, 1578, 16, 225, 1666, 9401, 16, 225, 576, 9222, 16, 225, 1059, 6028, 16, 6647, 1059, 9975, 16, 225, 30116, 16, 225, 30116, 16, 225, 1381, 10593, 16, 225, 11631, 16, 225, 1059, 9452, 16, 225, 9131, 21, 16, 225, 576, 12416, 16, 225, 576, 5877, 16, 225, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 760, 727, 3025, 8526, 9016, 1388, 21, 1435, 288, 1377, 327, 394, 3025, 8526, 288, 1850, 576, 5026, 16, 225, 576, 5026, 16, 225, 890, 12416, 16, 225, 576, 5540, 16, 225, 576, 5026, 16, 225, 4200, 23, 16, 225, 1059, 3657, 16, 225, 576, 5520, 16, 225, 576, 5520, 16, 225, 6549, 29, 16, 6647, 1381, 3672, 16, 225, 576, 5520, 16, 225, 576, 6418, 16, 225, 576, 6418, 16, 225, 4248, 28, 16, 225, 1381, 1105, 16, 225, 576, 6418, 16, 225, 1725, 3461, 16, 225, 5342, 20, 16, 225, 5342, 20, 16, 6647, 1381, 12416, 16, 225, 1666, 1611, 16, 225, 6969, 22, 16, 225, 27610, 16, 225, 27610, 16, 225, 4200, 23, 16, 2 ]
LOG.error("Found <" + elementName + "/> with an empty key.");
LOG.error("Found <" + ELEMENT_NAME + "/> with an empty key.");
private static Map parseParameters(Element element) throws NullPointerException, ParseException { final String elementName = "param"; final String keyAttribute = "name"; // Get a list of all sub-elements List subElements = element.getChildren(elementName); int count = (subElements == null) ? 0 : subElements.size(); // Loop through all sub-elements Map map = null; for (int i = 0; i < count; i++) { // Get the current subelement Element subElement = (Element) subElements.get(i); // Ignore empty elements in the list if (subElement == null) { continue; } // Get the key and the value String key = subElement.getAttributeValue(keyAttribute); String value = subElement.getText(); // If key or value is empty, then ignore the whole thing boolean noKey = (key == null || key.length() < 1); boolean noValue = (value == null || value.length() < 1); if (noKey && noValue) { LOG.error("Found <" + elementName + "/> with an empty key and empty value."); } else if (noKey) { LOG.error("Found <" + elementName + "/> with an empty key."); } else if (noValue) { LOG.error("Found <" + elementName + "/> with " + keyAttribute + " \"" + key + "\" but an empty value."); } else { LOG.debug("Found <" + elementName + "/> with " + keyAttribute + " \"" + key + "\" and value \"" + value + "\"."); // Lazily initialize the Map if (map == null) { map = new HashMap(); // Only one value per key allowed } else if (map.get(key) != null) { throw new ParseException("The returned XML is invalid. Found <" + elementName + "/> with duplicate " + keyAttribute + " \"" + key + "\"."); } // Store the mapping map.put(key, value); } } return map; }
45757 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45757/14519255f1082fb5cc41ab9ae3d173be22ff428e/CallResultParser.java/clean/src/java-client-framework/org/xins/client/CallResultParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 760, 1635, 1109, 2402, 12, 1046, 930, 13, 282, 1216, 10108, 16, 10616, 288, 1377, 727, 514, 14453, 225, 273, 315, 891, 14432, 1377, 727, 514, 498, 1499, 273, 315, 529, 14432, 1377, 368, 968, 279, 666, 434, 777, 720, 17, 6274, 1377, 987, 720, 3471, 273, 930, 18, 588, 4212, 12, 2956, 461, 1769, 1377, 509, 1056, 273, 261, 1717, 3471, 422, 446, 13, 7734, 692, 374, 7734, 294, 720, 3471, 18, 1467, 5621, 1377, 368, 9720, 3059, 777, 720, 17, 6274, 1377, 1635, 852, 273, 446, 31, 1377, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1056, 31, 277, 27245, 288, 540, 368, 968, 326, 783, 720, 2956, 540, 3010, 720, 1046, 273, 261, 1046, 13, 720, 3471, 18, 588, 12, 77, 1769, 540, 368, 8049, 1008, 2186, 316, 326, 666, 540, 309, 261, 1717, 1046, 422, 446, 13, 288, 5411, 1324, 31, 540, 289, 540, 368, 968, 326, 498, 471, 326, 460, 540, 514, 498, 282, 273, 720, 1046, 18, 588, 14942, 12, 856, 1499, 1769, 540, 514, 460, 273, 720, 1046, 18, 588, 1528, 5621, 540, 368, 971, 498, 578, 460, 353, 1008, 16, 1508, 2305, 326, 7339, 7757, 540, 1250, 1158, 653, 282, 273, 261, 856, 282, 422, 446, 747, 498, 18, 2469, 1435, 282, 411, 404, 1769, 540, 1250, 1158, 620, 273, 261, 1132, 422, 446, 747, 460, 18, 2469, 1435, 411, 404, 1769, 540, 309, 261, 2135, 653, 597, 1158, 620, 13, 288, 5411, 2018, 18, 1636, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 760, 1635, 1109, 2402, 12, 1046, 930, 13, 282, 1216, 10108, 16, 10616, 288, 1377, 727, 514, 14453, 225, 273, 315, 891, 14432, 1377, 727, 514, 498, 1499, 273, 315, 529, 14432, 1377, 368, 968, 279, 666, 434, 777, 720, 17, 6274, 1377, 987, 720, 3471, 273, 930, 18, 588, 4212, 12, 2956, 461, 1769, 1377, 509, 1056, 273, 261, 1717, 3471, 422, 446, 13, 7734, 692, 374, 7734, 294, 720, 3471, 18, 1467, 5621, 1377, 368, 9720, 3059, 777, 720, 17, 6274, 1377, 1635, 852, 273, 446, 31, 1377, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1056, 31, 277, 27245, 288, 540, 368, 968, 326, 783, 720, 2956, 540, 3010, 720, 1046, 273, 261, 2 ]
case IProblem.AbstractMethodMustBeImplemented:
case IProblem.AbstractMethodMustBeImplemented:
public boolean hasCorrections(ICompilationUnit cu, int problemId) { switch (problemId) { case IProblem.UnterminatedString: case IProblem.UnusedImport: case IProblem.DuplicateImport: case IProblem.CannotImportPackage: case IProblem.ConflictingImport: case IProblem.ImportNotFound: case IProblem.UndefinedMethod: case IProblem.UndefinedConstructor: case IProblem.ParameterMismatch: case IProblem.MethodButWithConstructorName: case IProblem.UndefinedField: case IProblem.UndefinedName: case IProblem.PublicClassMustMatchFileName: case IProblem.PackageIsNotExpectedPackage: case IProblem.UndefinedType: case IProblem.TypeMismatch: case IProblem.UnhandledException: case IProblem.UnreachableCatch: case IProblem.InvalidCatchBlockSequence: case IProblem.VoidMethodReturnsValue: case IProblem.ShouldReturnValue: case IProblem.MissingReturnType: case IProblem.NonExternalizedStringLiteral: case IProblem.NonStaticAccessToStaticField: case IProblem.NonStaticAccessToStaticMethod: case IProblem.StaticMethodRequested: case IProblem.NonStaticFieldFromStaticInvocation: case IProblem.InstanceMethodDuringConstructorInvocation: case IProblem.InstanceFieldDuringConstructorInvocation: case IProblem.NotVisibleMethod: case IProblem.NotVisibleConstructor: case IProblem.NotVisibleType: case IProblem.NotVisibleField: case IProblem.BodyForAbstractMethod: case IProblem.AbstractMethodInAbstractClass: case IProblem.AbstractMethodMustBeImplemented: case IProblem.BodyForNativeMethod: case IProblem.OuterLocalMustBeFinal: case IProblem.UninitializedLocalVariable: case IProblem.UndefinedConstructorInDefaultConstructor: case IProblem.UnhandledExceptionInDefaultConstructor: case IProblem.NotVisibleConstructorInDefaultConstructor: case IProblem.AmbiguousType: case IProblem.UnusedPrivateMethod: case IProblem.UnusedPrivateConstructor: case IProblem.UnusedPrivateField: case IProblem.UnusedPrivateType: case IProblem.LocalVariableIsNeverUsed: case IProblem.ArgumentIsNeverUsed: case IProblem.MethodRequiresBody: case IProblem.NeedToEmulateFieldReadAccess: case IProblem.NeedToEmulateFieldWriteAccess: case IProblem.NeedToEmulateMethodAccess: case IProblem.NeedToEmulateConstructorAccess: case IProblem.SuperfluousSemicolon: case IProblem.UnnecessaryCast: case IProblem.UnnecessaryInstanceof: case IProblem.IndirectAccessToStaticField: case IProblem.IndirectAccessToStaticMethod: case IProblem.Task: case IProblem.UnusedMethodDeclaredThrownException: case IProblem.UnusedConstructorDeclaredThrownException: case IProblem.UnqualifiedFieldAccess: case IProblem.JavadocMissing: case IProblem.JavadocMissingParamTag: case IProblem.JavadocMissingReturnTag: case IProblem.JavadocMissingThrowsTag: case IProblem.JavadocUndefinedType: case IProblem.JavadocAmbiguousType: case IProblem.JavadocNotVisibleType: case IProblem.JavadocInvalidThrowsClassName: case IProblem.JavadocDuplicateThrowsClassName: case IProblem.JavadocDuplicateReturnTag: case IProblem.JavadocDuplicateParamName: case IProblem.JavadocInvalidParamName: case IProblem.JavadocUnexpectedTag: case IProblem.JavadocInvalidTag: case IProblem.NonBlankFinalLocalAssignment: case IProblem.DuplicateFinalLocalInitialization: case IProblem.FinalFieldAssignment: case IProblem.DuplicateBlankFinalFieldInitialization: case IProblem.AnonymousClassCannotExtendFinalClass: case IProblem.ClassExtendFinalClass: case IProblem.FinalMethodCannotBeOverridden: case IProblem.InheritedMethodReducesVisibility: case IProblem.MethodReducesVisibility: case IProblem.OverridingNonVisibleMethod: case IProblem.CannotOverrideAStaticMethodWithAnInstanceMethod: case IProblem.CannotHideAnInstanceMethodWithAStaticMethod: case IProblem.LocalVariableHidingLocalVariable: case IProblem.LocalVariableHidingField: case IProblem.FieldHidingLocalVariable: case IProblem.FieldHidingField: case IProblem.ArgumentHidingLocalVariable: case IProblem.ArgumentHidingField: case IProblem.IllegalModifierForInterfaceMethod: case IProblem.IllegalModifierForInterface: case IProblem.IllegalModifierForClass: case IProblem.IllegalModifierForInterfaceField: case IProblem.IllegalModifierForMemberInterface: case IProblem.IllegalModifierForMemberClass: case IProblem.IllegalModifierForLocalClass: case IProblem.IllegalModifierForArgument: case IProblem.IllegalModifierForField: case IProblem.IllegalModifierForMethod: case IProblem.IllegalModifierForVariable: case IProblem.IllegalVisibilityModifierForInterfaceMemberType: case IProblem.IncompatibleReturnType: case IProblem.IncompatibleExceptionInThrowsClause: case IProblem.NoMessageSendOnArrayType: case IProblem.InvalidOperator: case IProblem.MissingSerialVersion: case IProblem.UnnecessaryElse: case IProblem.SuperclassMustBeAClass: case IProblem.UseAssertAsAnIdentifier: case IProblem.UseEnumAsAnIdentifier: case IProblem.RedefinedLocal: case IProblem.RedefinedArgument: return true; default: return false; } }
13558 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13558/824f99b2bdded3542c1eb839c6b8a8af8db2494c/QuickFixProcessor.java/clean/org.eclipse.ajdt.ui/src/org/eclipse/ajdt/internal/ui/editor/quickfix/QuickFixProcessor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 711, 20884, 87, 12, 45, 19184, 2802, 15985, 16, 509, 6199, 548, 13, 288, 202, 202, 9610, 261, 18968, 548, 13, 288, 1082, 202, 3593, 467, 13719, 18, 984, 29133, 780, 30, 1082, 202, 3593, 467, 13719, 18, 21106, 5010, 30, 1082, 202, 3593, 467, 13719, 18, 11826, 5010, 30, 1082, 202, 3593, 467, 13719, 18, 4515, 5010, 2261, 30, 1082, 202, 3593, 467, 13719, 18, 10732, 310, 5010, 30, 1082, 202, 3593, 467, 13719, 18, 5010, 2768, 30, 1082, 202, 3593, 467, 13719, 18, 10317, 1305, 30, 1082, 202, 3593, 467, 13719, 18, 10317, 6293, 30, 1082, 202, 3593, 467, 13719, 18, 1662, 16901, 30, 1082, 202, 3593, 467, 13719, 18, 1305, 31167, 1190, 6293, 461, 30, 1082, 202, 3593, 467, 13719, 18, 10317, 974, 30, 1082, 202, 3593, 467, 13719, 18, 10317, 461, 30, 1082, 202, 3593, 467, 13719, 18, 4782, 797, 10136, 2060, 4771, 30, 1082, 202, 3593, 467, 13719, 18, 2261, 28041, 6861, 2261, 30, 1082, 202, 3593, 467, 13719, 18, 10317, 559, 30, 1082, 202, 3593, 467, 13719, 18, 559, 16901, 30, 1082, 202, 3593, 467, 13719, 18, 26952, 503, 30, 1082, 202, 3593, 467, 13719, 18, 984, 17246, 14842, 30, 1082, 202, 3593, 467, 13719, 18, 1941, 14842, 1768, 4021, 30, 1082, 202, 3593, 467, 13719, 18, 19038, 1305, 1356, 620, 30, 1082, 202, 3593, 467, 13719, 18, 14309, 19092, 30, 1082, 202, 3593, 467, 13719, 18, 4841, 9102, 30, 1082, 202, 3593, 467, 13719, 18, 3989, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 711, 20884, 87, 12, 45, 19184, 2802, 15985, 16, 509, 6199, 548, 13, 288, 202, 202, 9610, 261, 18968, 548, 13, 288, 1082, 202, 3593, 467, 13719, 18, 984, 29133, 780, 30, 1082, 202, 3593, 467, 13719, 18, 21106, 5010, 30, 1082, 202, 3593, 467, 13719, 18, 11826, 5010, 30, 1082, 202, 3593, 467, 13719, 18, 4515, 5010, 2261, 30, 1082, 202, 3593, 467, 13719, 18, 10732, 310, 5010, 30, 1082, 202, 3593, 467, 13719, 18, 5010, 2768, 30, 1082, 202, 3593, 467, 13719, 18, 10317, 1305, 30, 1082, 202, 3593, 467, 13719, 18, 10317, 6293, 30, 1082, 202, 3593, 467, 13719, 18, 1662, 16901, 30, 1082, 202, 3593, 467, 13719, 18, 1305, 31167, 1190, 2 ]
return getInstance(Wiki.getDefaultWikiAccount(), sTemplateFolderId);
return getInstance(target.getId(), fid);
public static Wiki getTemplateStore() throws ServiceException { synchronized (Wiki.class) { if (sTemplateFolderId == 0) { Account acct = getDefaultWikiAccount(); OperationContext octxt = new OperationContext(acct); WikiUrl wurl = new WikiUrl("//wiki/template"); Folder f = wurl.getFolder(octxt, acct.getId()); sTemplateFolderId = f.getId(); } } return getInstance(Wiki.getDefaultWikiAccount(), sTemplateFolderId); }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/0e30af5017b3c20082e3385b3a76e1627ffd9f49/Wiki.java/buggy/ZimbraServer/src/java/com/zimbra/cs/wiki/Wiki.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 28268, 10646, 2257, 1435, 1216, 16489, 288, 202, 202, 22043, 261, 25438, 18, 1106, 13, 288, 1082, 202, 430, 261, 87, 2283, 3899, 548, 422, 374, 13, 288, 9506, 202, 3032, 20774, 273, 4829, 25438, 3032, 5621, 9506, 202, 2988, 1042, 320, 20364, 273, 394, 4189, 1042, 12, 1077, 299, 1769, 9506, 202, 25438, 1489, 341, 718, 273, 394, 28268, 1489, 2932, 759, 13044, 19, 3202, 8863, 9506, 202, 3899, 284, 273, 341, 718, 18, 588, 3899, 12, 83, 20364, 16, 20774, 18, 26321, 10663, 9506, 202, 87, 2283, 3899, 548, 273, 284, 18, 26321, 5621, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 3694, 12, 25438, 18, 588, 1868, 25438, 3032, 9334, 272, 2283, 3899, 548, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 28268, 10646, 2257, 1435, 1216, 16489, 288, 202, 202, 22043, 261, 25438, 18, 1106, 13, 288, 1082, 202, 430, 261, 87, 2283, 3899, 548, 422, 374, 13, 288, 9506, 202, 3032, 20774, 273, 4829, 25438, 3032, 5621, 9506, 202, 2988, 1042, 320, 20364, 273, 394, 4189, 1042, 12, 1077, 299, 1769, 9506, 202, 25438, 1489, 341, 718, 273, 394, 28268, 1489, 2932, 759, 13044, 19, 3202, 8863, 9506, 202, 3899, 284, 273, 341, 718, 18, 588, 3899, 12, 83, 20364, 16, 20774, 18, 26321, 10663, 9506, 202, 87, 2283, 3899, 548, 273, 284, 18, 26321, 5621, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 3694, 12, 25438, 18, 588, 1868, 25438, 3032, 9334, 272, 2 ]
m_columnReplacements.put("outages.nodeid", new RowHasBogusData("outages", "nodeId"));
m_columnReplacements.put("outages.nodeid", new RowHasBogusData("outages", "nodeId"));
public Installer() { AutoIntegerIdMapStore snmpInterfaceId = new AutoIntegerIdMapStore(1, new String[] { "nodeid", "ipaddr", "snmpifindex" }); m_columnReplacements.put("snmpinterface.id", snmpInterfaceId); AutoIntegerIdMapStore ipInterfaceId = new AutoIntegerIdMapStore(1, new String[] { "nodeid", "ipaddr", "ifindex" }); m_columnReplacements.put("ipinterface.id", ipInterfaceId); MapStoreIdGetter IpInterfaceSnmpInterfaceId = new MapStoreIdGetter(snmpInterfaceId, new String[] { "nodeid", "ipaddr", "ifindex" }, true); m_columnReplacements.put("ipinterface.snmpinterfaceid", IpInterfaceSnmpInterfaceId); AutoIntegerIdMapStore ifServicesId = new AutoIntegerIdMapStore(1, new String[] { "nodeid", "ipaddr", "serviceid" }); m_columnReplacements.put("ifservices.id", ifServicesId); MapStoreIdGetter ifServicesIpInterfaceId = new MapStoreIdGetter(ipInterfaceId, new String[] { "nodeid", "ipaddr", "ifindex" }, false); m_columnReplacements.put("ifservices.ipinterfaceid", ifServicesIpInterfaceId); MapStoreIdGetter outagesifServiceId = new MapStoreIdGetter(ifServicesId, new String[] { "nodeid", "ipaddr", "serviceid" }, false); m_columnReplacements.put("outages.ifserviceid", outagesifServiceId); m_columnReplacements.put("events.eventsource", new EventSourceReplacement()); m_columnReplacements.put("outages.outageid", new AutoInteger(1)); m_columnReplacements.put("snmpinterface.nodeid", new RowHasBogusData("snmpInterface", "nodeId")); m_columnReplacements.put("snmpinterface.snmpifindex", new RowHasBogusData("snmpInterface", "snmpIfIndex")); m_columnReplacements.put("ipinterface.nodeid", new RowHasBogusData("ipInterface", "nodeId")); m_columnReplacements.put("ipinterface.ipaddr", new RowHasBogusData("ipInterface", "ipAddr")); m_columnReplacements.put("ifservices.nodeid", new RowHasBogusData("ifservices", "nodeId")); m_columnReplacements.put("ifservices.ipaddr", new RowHasBogusData("ifservices", "ipaddr")); m_columnReplacements.put("ifservices.serviceid", new RowHasBogusData("ifservices", "serviceId")); m_columnReplacements.put("outages.nodeid", new RowHasBogusData("outages", "nodeId")); m_columnReplacements.put("outages.serviceid", new RowHasBogusData("outages", "serviceId")); /* * This is totally bogus. outages.svcregainedeventid is a foreign * key that points at events.eventid, and a fixed replacement of zero * will break, because there should never be an event with an ID of * zero. I don't think it ever got executed before due to the * null replacement only being performed if a column was marked as * NOT NULL. */ /* m_columnReplacements.put("outages.svcregainedeventid", new FixedIntegerReplacement(0)); */ // Disabled for the same reason as above /* m_columnReplacements.put("notifications.eventid", new FixedIntegerReplacement(0)); */ m_columnReplacements.put("usersnotified.id", new AutoInteger(1)); m_columnReplacements.put("assets.id", new AutoInteger(1)); }
25465 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25465/28ec8d0f53c305460681fe922d064c060141774d/Installer.java/clean/opennms-install/src/main/java/org/opennms/install/Installer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 10284, 264, 1435, 288, 3639, 8064, 4522, 548, 863, 2257, 15366, 1358, 548, 273, 5411, 394, 8064, 4522, 548, 863, 2257, 12, 21, 16, 394, 514, 8526, 288, 315, 2159, 350, 3113, 315, 625, 4793, 3113, 315, 26527, 430, 1615, 6, 15549, 3639, 312, 67, 2827, 28440, 18, 458, 2932, 26527, 5831, 18, 350, 3113, 15366, 1358, 548, 1769, 7734, 8064, 4522, 548, 863, 2257, 2359, 1358, 548, 273, 5411, 394, 8064, 4522, 548, 863, 2257, 12, 21, 16, 394, 514, 8526, 288, 315, 2159, 350, 3113, 315, 625, 4793, 3113, 315, 430, 1615, 6, 15549, 3639, 312, 67, 2827, 28440, 18, 458, 2932, 625, 5831, 18, 350, 3113, 2359, 1358, 548, 1769, 3639, 1635, 2257, 548, 8461, 14709, 1358, 10461, 1291, 1358, 548, 273, 5411, 394, 1635, 2257, 548, 8461, 12, 26527, 1358, 548, 16, 394, 514, 8526, 288, 315, 2159, 350, 3113, 315, 625, 4793, 3113, 315, 430, 1615, 6, 19879, 638, 1769, 3639, 312, 67, 2827, 28440, 18, 458, 2932, 625, 5831, 18, 26527, 5831, 350, 3113, 14709, 1358, 10461, 1291, 1358, 548, 1769, 7734, 8064, 4522, 548, 863, 2257, 309, 5676, 548, 273, 5411, 394, 8064, 4522, 548, 863, 2257, 12, 21, 16, 394, 514, 8526, 288, 315, 2159, 350, 3113, 315, 625, 4793, 3113, 315, 3278, 350, 6, 15549, 3639, 312, 67, 2827, 28440, 18, 458, 2932, 430, 8387, 18, 350, 3113, 309, 5676, 548, 1769, 7734, 1635, 2257, 548, 8461, 309, 5676, 5273, 1358, 548, 273, 5411, 394, 1635, 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, 10284, 264, 1435, 288, 3639, 8064, 4522, 548, 863, 2257, 15366, 1358, 548, 273, 5411, 394, 8064, 4522, 548, 863, 2257, 12, 21, 16, 394, 514, 8526, 288, 315, 2159, 350, 3113, 315, 625, 4793, 3113, 315, 26527, 430, 1615, 6, 15549, 3639, 312, 67, 2827, 28440, 18, 458, 2932, 26527, 5831, 18, 350, 3113, 15366, 1358, 548, 1769, 7734, 8064, 4522, 548, 863, 2257, 2359, 1358, 548, 273, 5411, 394, 8064, 4522, 548, 863, 2257, 12, 21, 16, 394, 514, 8526, 288, 315, 2159, 350, 3113, 315, 625, 4793, 3113, 315, 430, 1615, 6, 15549, 3639, 312, 67, 2827, 28440, 18, 458, 2932, 625, 5831, 18, 350, 3113, 2359, 1358, 548, 1769, 3639, 1635, 2257, 548, 2 ]
}
private static String ri(String searchTerm) throws IOException, InterruptedException { if(searchTerm.length() == 0) searchTerm = "-c";// boolean windows = System.getProperty("os.name").toLowerCase().indexOf("windows") != -1;// if (windows) {// return getOutput(new String[] {"ri.bat", searchTerm});// } else { return getOutput(new String[] {"ri","-T", searchTerm});// } }
13291 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13291/f0d2d3f9a041e8e3a638a130b978aa15445aac51/RDocSeacher.java/buggy/src/org/jedit/ruby/RDocSeacher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 289, 289, 289, 289, 3238, 97, 760, 97, 514, 97, 12347, 12, 780, 97, 1623, 4065, 16869, 1216, 97, 1860, 29531, 7558, 97, 2618, 289, 289, 289, 289, 289, 289, 289, 309, 12, 3072, 4065, 18, 2469, 17767, 422, 97, 374, 16869, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 1623, 4065, 97, 273, 97, 3701, 71, 14432, 759, 97, 289, 289, 289, 289, 289, 289, 289, 1250, 97, 9965, 97, 273, 97, 2332, 18, 588, 1396, 2932, 538, 18, 529, 20387, 869, 5630, 7675, 31806, 2932, 13226, 7923, 97, 480, 97, 300, 21, 31, 759, 97, 289, 289, 289, 289, 289, 289, 289, 309, 97, 261, 13226, 16869, 288, 759, 97, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 327, 97, 11062, 12, 2704, 97, 514, 8526, 97, 12528, 566, 18, 28260, 3113, 97, 1623, 4065, 22938, 759, 97, 289, 289, 289, 289, 289, 289, 289, 10523, 469, 97, 2618, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 327, 97, 11062, 12, 2704, 97, 514, 8526, 97, 12528, 566, 15937, 17, 56, 3113, 97, 1623, 4065, 22938, 759, 97, 289, 289, 289, 289, 289, 289, 289, 10523, 289, 289, 289, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 289, 289, 289, 289, 3238, 97, 760, 97, 514, 97, 12347, 12, 780, 97, 1623, 4065, 16869, 1216, 97, 1860, 29531, 7558, 97, 2618, 289, 289, 289, 289, 289, 289, 289, 309, 12, 3072, 4065, 18, 2469, 17767, 422, 97, 374, 16869, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 289, 1623, 4065, 97, 273, 97, 3701, 71, 14432, 759, 97, 289, 289, 289, 289, 289, 289, 289, 1250, 97, 9965, 97, 273, 97, 2332, 18, 588, 1396, 2932, 538, 18, 529, 20387, 869, 5630, 7675, 31806, 2932, 13226, 7923, 97, 480, 97, 300, 21, 31, 759, 97, 289, 289, 289, 289, 289, 289, 289, 309, 97, 261, 13226, 16869, 288, 759, 97, 289, 289, 289, 289, 2 ]
ns.addOwnedElement(stereo); stereo.addExtendedElement(m); return stereo;
ns.addOwnedElement(stereo); stereo.addExtendedElement(m); return stereo;
public MStereotype buildStereotype(Object mObj, Object textObj, Object nsObj) { MModelElement m = (MModelElement)mObj; String text = (String)textObj; MNamespace ns = (MNamespace)nsObj; if (m == null || text == null || ns == null) throw new IllegalArgumentException("In buildStereotype: one of the arguments is null"); MStereotype stereo = createStereotype(); stereo.setName(text); stereo.setBaseClass(ExtensionMechanismsHelper.getHelper().getMetaModelName(m)); MStereotype stereo2 = ExtensionMechanismsHelper.getHelper().getStereotype(ns, stereo); if (stereo2 != null) { stereo2.addExtendedElement(m); UmlFactory.getFactory().delete(stereo); return stereo2; } else { ns.addOwnedElement(stereo); stereo.addExtendedElement(m); return stereo; } }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/ExtensionMechanismsFactory.java/buggy/src_new/org/argouml/model/uml/foundation/extensionmechanisms/ExtensionMechanismsFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 9238, 387, 73, 10570, 1361, 55, 387, 73, 10570, 12, 921, 312, 2675, 16, 4766, 4202, 1033, 977, 2675, 16, 4766, 4202, 1033, 3153, 2675, 13, 288, 3639, 490, 1488, 1046, 312, 273, 261, 49, 1488, 1046, 13, 81, 2675, 31, 3639, 514, 977, 273, 261, 780, 13, 955, 2675, 31, 3639, 490, 3402, 3153, 273, 261, 49, 3402, 13, 2387, 2675, 31, 377, 202, 430, 261, 81, 422, 446, 747, 977, 422, 446, 747, 3153, 422, 446, 13, 604, 394, 2754, 2932, 382, 1361, 55, 387, 73, 10570, 30, 1245, 434, 326, 1775, 353, 446, 8863, 377, 202, 3537, 387, 73, 10570, 29558, 273, 752, 55, 387, 73, 10570, 5621, 377, 202, 334, 822, 83, 18, 542, 461, 12, 955, 1769, 377, 202, 334, 822, 83, 18, 542, 2171, 797, 12, 3625, 4667, 28757, 2276, 18, 588, 2276, 7675, 588, 2781, 22363, 12, 81, 10019, 377, 202, 3537, 387, 73, 10570, 29558, 22, 273, 10021, 4667, 28757, 2276, 18, 588, 2276, 7675, 588, 55, 387, 73, 10570, 12, 2387, 16, 29558, 1769, 377, 202, 430, 261, 334, 822, 83, 22, 480, 446, 13, 288, 377, 202, 202, 334, 822, 83, 22, 18, 1289, 11456, 1046, 12, 81, 1769, 377, 202, 202, 57, 781, 1733, 18, 588, 1733, 7675, 3733, 12, 334, 822, 83, 1769, 377, 202, 202, 2463, 29558, 22, 31, 377, 202, 97, 469, 288, 377, 202, 202, 2387, 18, 1289, 5460, 329, 1046, 12, 334, 822, 83, 1769, 377, 202, 202, 334, 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, 9238, 387, 73, 10570, 1361, 55, 387, 73, 10570, 12, 921, 312, 2675, 16, 4766, 4202, 1033, 977, 2675, 16, 4766, 4202, 1033, 3153, 2675, 13, 288, 3639, 490, 1488, 1046, 312, 273, 261, 49, 1488, 1046, 13, 81, 2675, 31, 3639, 514, 977, 273, 261, 780, 13, 955, 2675, 31, 3639, 490, 3402, 3153, 273, 261, 49, 3402, 13, 2387, 2675, 31, 377, 202, 430, 261, 81, 422, 446, 747, 977, 422, 446, 747, 3153, 422, 446, 13, 604, 394, 2754, 2932, 382, 1361, 55, 387, 73, 10570, 30, 1245, 434, 326, 1775, 353, 446, 8863, 377, 202, 3537, 387, 73, 10570, 29558, 273, 752, 55, 387, 73, 10570, 5621, 377, 202, 334, 822, 83, 18, 2 ]
user, subInfo.workflowItem); */ }
"/mydspace/perform-task.jsp"); }
private void doCancellation(HttpServletRequest request, HttpServletResponse response, SubmissionInfo subInfo, int step, int displayStep) throws ServletException, IOException, SQLException { // If this is a workflow item, we need to return the // user to the "perform task" page if (isWorkflow(subInfo)) {/* // Get the user EPerson user = getCurrentUser(request); MyDSpaceServlet.showPerformTask( request, response, user, subInfo.workflowItem);*/ } else { request.setAttribute("submission.info", subInfo); request.setAttribute("step", String.valueOf(step)); request.setAttribute("display.step", String.valueOf(displayStep)); JSPManager.showJSP(request, response, "/submit/cancel.jsp"); } }
31338 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31338/76bf8c1bcf448b3435e65f56e50cb0a8a7e6eb4f/SubmitServlet.java/clean/dspace/src/org/dspace/app/webui/servlet/SubmitServlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 741, 2568, 6857, 12, 2940, 18572, 590, 16, 3639, 12446, 766, 16, 3639, 2592, 3951, 966, 720, 966, 16, 3639, 509, 2235, 16, 3639, 509, 2562, 4160, 13, 3639, 1216, 16517, 16, 1860, 16, 6483, 565, 288, 3639, 368, 971, 333, 353, 279, 6095, 761, 16, 732, 1608, 358, 327, 326, 3639, 368, 729, 358, 326, 315, 16092, 1562, 6, 1363, 3639, 309, 261, 291, 8484, 12, 1717, 966, 3719, 3639, 288, 20308, 5411, 368, 968, 326, 729, 5411, 512, 8346, 729, 273, 21995, 12, 2293, 1769, 5411, 8005, 40, 3819, 4745, 18, 4500, 4990, 2174, 12, 7734, 590, 16, 7734, 766, 16, 7734, 729, 16, 7734, 720, 966, 18, 13815, 1180, 1769, 5549, 3639, 289, 3639, 469, 3639, 288, 5411, 590, 18, 542, 1499, 2932, 12684, 18, 1376, 3113, 720, 966, 1769, 5411, 590, 18, 542, 1499, 2932, 4119, 3113, 514, 18, 1132, 951, 12, 4119, 10019, 5411, 590, 18, 542, 1499, 2932, 5417, 18, 4119, 3113, 7734, 514, 18, 1132, 951, 12, 5417, 4160, 10019, 5411, 804, 3118, 1318, 18, 4500, 46, 3118, 12, 2293, 16, 766, 16, 2206, 9297, 19, 10996, 18, 24926, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 741, 2568, 6857, 12, 2940, 18572, 590, 16, 3639, 12446, 766, 16, 3639, 2592, 3951, 966, 720, 966, 16, 3639, 509, 2235, 16, 3639, 509, 2562, 4160, 13, 3639, 1216, 16517, 16, 1860, 16, 6483, 565, 288, 3639, 368, 971, 333, 353, 279, 6095, 761, 16, 732, 1608, 358, 327, 326, 3639, 368, 729, 358, 326, 315, 16092, 1562, 6, 1363, 3639, 309, 261, 291, 8484, 12, 1717, 966, 3719, 3639, 288, 20308, 5411, 368, 968, 326, 729, 5411, 512, 8346, 729, 273, 21995, 12, 2293, 1769, 5411, 8005, 40, 3819, 4745, 18, 4500, 4990, 2174, 12, 7734, 590, 16, 7734, 766, 16, 7734, 729, 16, 7734, 720, 966, 18, 13815, 1180, 1769, 5549, 3639, 289, 2 ]
match(input,ID,FOLLOW_ID_in_constraint2028); if (failed) return ; match(input,39,FOLLOW_39_in_constraint2030); if (failed) return ;
match(input,ID,FOLLOW_ID_in_constraint2010); if (failed) return ; match(input,39,FOLLOW_39_in_constraint2012); if (failed) return ;
public void constraint(List constraints) throws RecognitionException { Token fb=null; Token f=null; Token con=null; RestrictionDescr rd = null; BaseDescr d = null; FieldConstraintDescr fc = null; try { // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:980:3: ( ( ( ID ':' )=>fb= ID ':' )? f= ID ( ( constraint_expression ( ( ('&'|'|') constraint_expression )=> ('&'|'|') constraint_expression )* )=>rd= constraint_expression ( ( ('&'|'|') constraint_expression )=>con= ('&'|'|')rd= constraint_expression )* )? ) // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:980:3: ( ( ID ':' )=>fb= ID ':' )? f= ID ( ( constraint_expression ( ( ('&'|'|') constraint_expression )=> ('&'|'|') constraint_expression )* )=>rd= constraint_expression ( ( ('&'|'|') constraint_expression )=>con= ('&'|'|')rd= constraint_expression )* )? { // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:980:3: ( ( ID ':' )=>fb= ID ':' )? int alt35=2; int LA35_0 = input.LA(1); if ( (LA35_0==ID) ) { int LA35_1 = input.LA(2); if ( (LA35_1==39) ) { alt35=1; } } switch (alt35) { case 1 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:980:5: ( ID ':' )=>fb= ID ':' { fb=(Token)input.LT(1); match(input,ID,FOLLOW_ID_in_constraint2028); if (failed) return ; match(input,39,FOLLOW_39_in_constraint2030); if (failed) return ; } break; } f=(Token)input.LT(1); match(input,ID,FOLLOW_ID_in_constraint2040); if (failed) return ; if ( backtracking==0 ) { if ( fb != null ) { d = new FieldBindingDescr( f.getText(), fb.getText() ); d.setLocation( offset(f.getLine()), f.getCharPositionInLine() ); constraints.add( d ); } fc = new FieldConstraintDescr(f.getText()); fc.setLocation( offset(f.getLine()), f.getCharPositionInLine() ); } // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:991:3: ( ( constraint_expression ( ( ('&'|'|') constraint_expression )=> ('&'|'|') constraint_expression )* )=>rd= constraint_expression ( ( ('&'|'|') constraint_expression )=>con= ('&'|'|')rd= constraint_expression )* )? int alt37=2; int LA37_0 = input.LA(1); if ( ((LA37_0>=57 && LA37_0<=65)) ) { alt37=1; } switch (alt37) { case 1 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:992:4: ( constraint_expression ( ( ('&'|'|') constraint_expression )=> ('&'|'|') constraint_expression )* )=>rd= constraint_expression ( ( ('&'|'|') constraint_expression )=>con= ('&'|'|')rd= constraint_expression )* { pushFollow(FOLLOW_constraint_expression_in_constraint2056); rd=constraint_expression(); _fsp--; if (failed) return ; if ( backtracking==0 ) { fc.addRestriction(rd); constraints.add(fc); } // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:997:4: ( ( ('&'|'|') constraint_expression )=>con= ('&'|'|')rd= constraint_expression )* loop36: do { int alt36=2; int LA36_0 = input.LA(1); if ( ((LA36_0>=55 && LA36_0<=56)) ) { alt36=1; } switch (alt36) { case 1 : // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:998:5: ( ('&'|'|') constraint_expression )=>con= ('&'|'|')rd= constraint_expression { con=(Token)input.LT(1); if ( (input.LA(1)>=55 && input.LA(1)<=56) ) { input.consume(); errorRecovery=false;failed=false; } else { if (backtracking>0) {failed=true; return ;} MismatchedSetException mse = new MismatchedSetException(null,input); recoverFromMismatchedSet(input,mse,FOLLOW_set_in_constraint2075); throw mse; } if ( backtracking==0 ) { if (con.getText().equals("&") ) { fc.addRestriction(new RestrictionConnectiveDescr(RestrictionConnectiveDescr.AND)); } else { fc.addRestriction(new RestrictionConnectiveDescr(RestrictionConnectiveDescr.OR)); } } pushFollow(FOLLOW_constraint_expression_in_constraint2092); rd=constraint_expression(); _fsp--; if (failed) return ; if ( backtracking==0 ) { fc.addRestriction(rd); } } break; default : break loop36; } } while (true); } break; } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return ; }
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/afea9f80e7c11e7b76df18f232d3b5ca5ad21e72/DRLParser.java/clean/drools-compiler/src/main/java/org/drools/lang/DRLParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 4954, 12, 682, 6237, 13, 1216, 9539, 288, 6647, 3155, 12754, 33, 2011, 31, 3639, 3155, 284, 33, 2011, 31, 3639, 3155, 356, 33, 2011, 31, 3639, 1124, 6192, 16198, 9437, 273, 446, 31, 1171, 202, 202, 2171, 16198, 302, 273, 446, 31, 540, 202, 202, 974, 5806, 16198, 8036, 273, 446, 31, 540, 202, 3639, 775, 288, 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, 29, 3672, 30, 23, 30, 261, 261, 261, 1599, 3921, 13216, 19192, 33, 1599, 3921, 7851, 284, 33, 1599, 261, 261, 4954, 67, 8692, 261, 261, 7707, 26045, 16637, 96, 6134, 4954, 67, 8692, 13216, 7707, 26045, 16637, 96, 6134, 4954, 67, 8692, 8618, 13216, 13623, 33, 4954, 67, 8692, 261, 261, 7707, 26045, 16637, 96, 6134, 4954, 67, 8692, 13216, 591, 33, 7707, 26045, 16637, 96, 6134, 13623, 33, 4954, 67, 8692, 8618, 7851, 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, 29, 3672, 30, 23, 30, 261, 261, 1599, 3921, 13216, 19192, 33, 1599, 3921, 7851, 284, 33, 1599, 261, 261, 4954, 67, 8692, 261, 261, 7707, 26045, 16637, 96, 6134, 4954, 67, 8692, 13216, 7707, 26045, 16637, 96, 6134, 4954, 67, 8692, 8618, 13216, 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, 4954, 12, 682, 6237, 13, 1216, 9539, 288, 6647, 3155, 12754, 33, 2011, 31, 3639, 3155, 284, 33, 2011, 31, 3639, 3155, 356, 33, 2011, 31, 3639, 1124, 6192, 16198, 9437, 273, 446, 31, 1171, 202, 202, 2171, 16198, 302, 273, 446, 31, 540, 202, 202, 974, 5806, 16198, 8036, 273, 446, 31, 540, 202, 3639, 775, 288, 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, 29, 3672, 30, 23, 30, 261, 261, 261, 1599, 3921, 13216, 19192, 33, 1599, 3921, 7851, 284, 33, 1599, 261, 261, 4954, 67, 8692, 261, 2 ]
return Constants.MilitaryEchelon.ECHELON_ORDER[serviceEchelonOrder + 1];
requestedEchelonOfSupport = Constants.MilitaryEchelon.ECHELON_ORDER[serviceEchelonOrder + 1];
protected String getRequestedEchelonOfSupport(Collection services) { int serviceEchelonOrder = -1; String agentName = getAgentIdentifier().toString(); for (Iterator iter = services.iterator(); iter.hasNext(); ) { ServiceInfo serviceInfo = (ServiceInfo) iter.next(); if (serviceInfo.getProviderName().equals(agentName)) { for (Iterator iterator = serviceInfo.getServiceClassifications().iterator(); iterator.hasNext();) { ServiceClassification classification = (ServiceClassification) iterator.next(); if (classification.getClassificationSchemeName().equals(UDDIConstants.MILITARY_ECHELON_SCHEME)) { String serviceEchelon = classification.getClassificationCode(); serviceEchelonOrder = Constants.MilitaryEchelon.echelonOrder(serviceEchelon); break; } break; } } } if (serviceEchelonOrder == -1) { return Constants.MilitaryEchelon.ECHELON_ORDER[0]; } else if (serviceEchelonOrder < Constants.MilitaryEchelon.MAX_ECHELON_INDEX) { return Constants.MilitaryEchelon.ECHELON_ORDER[serviceEchelonOrder + 1]; } else { return Constants.MilitaryEchelon.ECHELON_ORDER[Constants.MilitaryEchelon.MAX_ECHELON_INDEX]; } }
14011 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14011/f913b8387e7c1c0d6dd2ce3b8a2cc61b87ddb083/MatchmakerStubPlugin.java/clean/servicediscovery/src/org/cougaar/servicediscovery/plugin/MatchmakerStubPlugin.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 514, 4328, 329, 41, 343, 292, 265, 951, 6289, 12, 2532, 4028, 13, 288, 565, 509, 1156, 41, 343, 292, 265, 2448, 273, 300, 21, 31, 565, 514, 4040, 461, 273, 336, 3630, 3004, 7675, 10492, 5621, 565, 364, 261, 3198, 1400, 273, 4028, 18, 9838, 5621, 1400, 18, 5332, 2134, 5621, 262, 288, 1377, 1956, 966, 1156, 966, 273, 261, 1179, 966, 13, 1400, 18, 4285, 5621, 5411, 309, 261, 3278, 966, 18, 588, 31192, 7675, 14963, 12, 5629, 461, 3719, 288, 202, 1884, 261, 3198, 2775, 273, 1156, 966, 18, 588, 1179, 797, 6640, 7675, 9838, 5621, 202, 377, 2775, 18, 5332, 2134, 5621, 13, 288, 202, 225, 1956, 19168, 13804, 273, 3196, 565, 261, 1179, 19168, 13, 2775, 18, 4285, 5621, 202, 225, 309, 261, 20251, 18, 588, 19168, 9321, 461, 7675, 14963, 12, 12587, 2565, 2918, 18, 49, 2627, 1285, 6043, 67, 41, 1792, 2247, 673, 67, 22870, 3719, 288, 202, 377, 202, 565, 514, 1156, 41, 343, 292, 265, 273, 13804, 18, 588, 19168, 1085, 5621, 202, 565, 1156, 41, 343, 292, 265, 2448, 273, 3196, 1377, 5245, 18, 49, 330, 305, 814, 41, 343, 292, 265, 18, 8987, 292, 265, 2448, 12, 3278, 41, 343, 292, 265, 1769, 202, 565, 898, 31, 202, 225, 289, 202, 225, 898, 31, 202, 97, 1377, 289, 565, 289, 540, 309, 261, 3278, 41, 343, 292, 265, 2448, 422, 300, 21, 13, 288, 1377, 327, 5245, 18, 49, 330, 305, 814, 41, 343, 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, 514, 4328, 329, 41, 343, 292, 265, 951, 6289, 12, 2532, 4028, 13, 288, 565, 509, 1156, 41, 343, 292, 265, 2448, 273, 300, 21, 31, 565, 514, 4040, 461, 273, 336, 3630, 3004, 7675, 10492, 5621, 565, 364, 261, 3198, 1400, 273, 4028, 18, 9838, 5621, 1400, 18, 5332, 2134, 5621, 262, 288, 1377, 1956, 966, 1156, 966, 273, 261, 1179, 966, 13, 1400, 18, 4285, 5621, 5411, 309, 261, 3278, 966, 18, 588, 31192, 7675, 14963, 12, 5629, 461, 3719, 288, 202, 1884, 261, 3198, 2775, 273, 1156, 966, 18, 588, 1179, 797, 6640, 7675, 9838, 5621, 202, 377, 2775, 18, 5332, 2134, 5621, 13, 288, 202, 225, 1956, 19168, 13804, 273, 3196, 565, 261, 2 ]
if ( backtracking>0 && alreadyParsedRule(input, 1) ) { return ; }
public void mT15() throws RecognitionException { try { int type = T15; int start = getCharIndex(); int line = getLine(); int charPosition = getCharPositionInLine(); int channel = Token.DEFAULT_CHANNEL; // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:6:7: ( 'package' ) // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:6:7: 'package' { match("package"); } if ( token==null ) {emit(type,line,charPosition,channel,start,getCharIndex()-1);} } finally { } }
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/9c6423b7a31fdc4a1317e71a6d2850c94e2140e0/RuleParserLexer.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParserLexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 309, 261, 6888, 34, 20, 597, 1818, 11257, 2175, 12, 2630, 16, 404, 13, 262, 288, 327, 274, 289, 282, 309, 261, 6888, 34, 20, 597, 1818, 11257, 2175, 12, 2630, 16, 404, 13, 262, 288, 327, 274, 289, 282, 1071, 918, 21115, 3600, 1435, 1216, 9539, 288, 430, 261, 6888, 34, 20, 597, 1818, 11257, 2175, 12, 2630, 16, 404, 13, 262, 288, 327, 274, 289, 282, 309, 261, 6888, 34, 20, 597, 1818, 11257, 2175, 12, 2630, 16, 404, 13, 262, 288, 327, 274, 289, 282, 309, 261, 6888, 34, 20, 597, 1818, 11257, 2175, 12, 2630, 16, 404, 13, 262, 288, 327, 274, 289, 282, 309, 261, 6888, 34, 20, 597, 1818, 11257, 2175, 12, 2630, 16, 404, 13, 262, 288, 327, 274, 289, 282, 775, 288, 430, 261, 6888, 34, 20, 597, 1818, 11257, 2175, 12, 2630, 16, 404, 13, 262, 288, 327, 274, 289, 282, 309, 261, 6888, 34, 20, 597, 1818, 11257, 2175, 12, 2630, 16, 404, 13, 262, 288, 327, 274, 289, 282, 309, 261, 6888, 34, 20, 597, 1818, 11257, 2175, 12, 2630, 16, 404, 13, 262, 288, 327, 274, 289, 282, 309, 261, 6888, 34, 20, 597, 1818, 11257, 2175, 12, 2630, 16, 404, 13, 262, 288, 327, 274, 289, 282, 309, 261, 6888, 34, 20, 597, 1818, 11257, 2175, 12, 2630, 16, 404, 13, 262, 288, 327, 274, 289, 282, 309, 261, 6888, 34, 20, 597, 1818, 11257, 2175, 12, 2630, 16, 404, 13, 262, 288, 327, 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, 309, 261, 6888, 34, 20, 597, 1818, 11257, 2175, 12, 2630, 16, 404, 13, 262, 288, 327, 274, 289, 282, 309, 261, 6888, 34, 20, 597, 1818, 11257, 2175, 12, 2630, 16, 404, 13, 262, 288, 327, 274, 289, 282, 1071, 918, 21115, 3600, 1435, 1216, 9539, 288, 430, 261, 6888, 34, 20, 597, 1818, 11257, 2175, 12, 2630, 16, 404, 13, 262, 288, 327, 274, 289, 282, 309, 261, 6888, 34, 20, 597, 1818, 11257, 2175, 12, 2630, 16, 404, 13, 262, 288, 327, 274, 289, 282, 309, 261, 6888, 34, 20, 597, 1818, 11257, 2175, 12, 2630, 16, 404, 13, 262, 288, 327, 274, 289, 282, 309, 261, 6888, 34, 20, 597, 1818, 11257, 2175, 12, 2630, 2 ]
assertNull("No errors should be found.", ctx.getValidationError().getValue());
assertNoErrorsFound();
public void testObjectToDoublePrimitiveConverter() { ctx.bindValue(BeansObservables.observeValue(dataObject, "objectVal"), BeansObservables.observeValue(dataObject, "doublePrimitiveVal"), null); dataObject.setDoublePrimitiveVal(789.5); assertEquals("double value does not match", 789.5, dataObject.getDoublePrimitiveVal(), .001); assertEquals("Object value does not match", new Double(789.5), dataObject.getObjectVal()); assertNull("No errors should be found.", ctx.getValidationError().getValue()); dataObject.setObjectVal(new Double(910.5)); assertEquals("double value does not match", 910.5, dataObject.getDoublePrimitiveVal(), .001); assertEquals("Object value does not match", new Double(910.5), dataObject.getObjectVal()); assertNull("No errors should be found.", ctx.getValidationError().getValue()); dataObject.setObjectVal(null); assertEquals("double value does not match", 910.5, dataObject.getDoublePrimitiveVal(), .001); assertNull("Object value does not match", dataObject.getObjectVal()); assertNotNull("Errors should be found.", ctx.getValidationError().getValue()); Object object = new Object(); dataObject.setObjectVal(object); assertEquals("double value does not match", 910.5, dataObject.getDoublePrimitiveVal(), .001); assertSame("Object value does not match", object, dataObject.getObjectVal()); assertNotNull("Errors should be found.", ctx.getValidationError().getValue()); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/646de6c1228ca0820a97e225df84d75e3993e272/DefaultBindSupportFactoryDoublePrimitiveTest.java/buggy/tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/internal/databinding/provisional/factories/DefaultBindSupportFactoryDoublePrimitiveTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 921, 774, 5265, 9840, 5072, 1435, 288, 3639, 1103, 18, 4376, 620, 12, 14495, 26199, 1538, 18, 12199, 537, 620, 12, 892, 921, 16, 315, 1612, 3053, 6, 3631, 4823, 634, 26199, 1538, 18, 12199, 537, 620, 12, 892, 921, 16, 7734, 315, 9056, 9840, 3053, 6, 3631, 446, 1769, 3639, 31796, 18, 542, 5265, 9840, 3053, 12, 27, 6675, 18, 25, 1769, 3639, 1815, 8867, 2932, 9056, 460, 1552, 486, 845, 3113, 2371, 6675, 18, 25, 16, 31796, 18, 588, 5265, 9840, 3053, 9334, 263, 11664, 1769, 3639, 1815, 8867, 2932, 921, 460, 1552, 486, 845, 3113, 394, 3698, 12, 27, 6675, 18, 25, 3631, 31796, 18, 588, 921, 3053, 10663, 3639, 1815, 2279, 4229, 2043, 5621, 3639, 31796, 18, 542, 921, 3053, 12, 2704, 3698, 12, 29, 2163, 18, 25, 10019, 3639, 1815, 8867, 2932, 9056, 460, 1552, 486, 845, 3113, 2468, 2163, 18, 25, 16, 31796, 18, 588, 5265, 9840, 3053, 9334, 263, 11664, 1769, 3639, 1815, 8867, 2932, 921, 460, 1552, 486, 845, 3113, 394, 3698, 12, 29, 2163, 18, 25, 3631, 31796, 18, 588, 921, 3053, 10663, 3639, 1815, 2279, 4229, 2043, 5621, 3639, 31796, 18, 542, 921, 3053, 12, 2011, 1769, 3639, 1815, 8867, 2932, 9056, 460, 1552, 486, 845, 3113, 2468, 2163, 18, 25, 16, 31796, 18, 588, 5265, 9840, 3053, 9334, 263, 11664, 1769, 3639, 1815, 2041, 2932, 921, 460, 1552, 486, 845, 3113, 31796, 18, 588, 921, 3053, 10663, 3639, 25395, 2932, 4229, 1410, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 921, 774, 5265, 9840, 5072, 1435, 288, 3639, 1103, 18, 4376, 620, 12, 14495, 26199, 1538, 18, 12199, 537, 620, 12, 892, 921, 16, 315, 1612, 3053, 6, 3631, 4823, 634, 26199, 1538, 18, 12199, 537, 620, 12, 892, 921, 16, 7734, 315, 9056, 9840, 3053, 6, 3631, 446, 1769, 3639, 31796, 18, 542, 5265, 9840, 3053, 12, 27, 6675, 18, 25, 1769, 3639, 1815, 8867, 2932, 9056, 460, 1552, 486, 845, 3113, 2371, 6675, 18, 25, 16, 31796, 18, 588, 5265, 9840, 3053, 9334, 263, 11664, 1769, 3639, 1815, 8867, 2932, 921, 460, 1552, 486, 845, 3113, 394, 3698, 12, 27, 6675, 18, 25, 3631, 31796, 18, 588, 921, 3053, 10663, 3639, 1815, 2279, 2 ]
w.writeMarkup( " <i>(Optional)</i>");
w.writeMarkup( " <i>(Optional)</i>" ); } if ( parameter.getExpression() != null && parameter.getExpression().startsWith( "${component." ) ) { w.writeMarkup( " <i>(Discovered)</i>" );
private void writeGoalParameterTable( MojoDescriptor mojoDescriptor, XMLWriter w ) { w.startElement( "table" ); w.startElement( "tr" ); w.startElement( "th" ); w.writeText( "Parameter" ); w.endElement(); w.startElement( "th" ); w.writeText( "Type" ); w.endElement(); w.startElement( "th" ); w.writeText( "Expression" ); w.endElement(); w.startElement( "th" ); w.writeText( "Description" ); w.endElement(); w.endElement(); List parameters = mojoDescriptor.getParameters(); for ( int i = 0; i < parameters.size(); i++ ) { Parameter parameter = (Parameter) parameters.get( i ); w.startElement( "tr" ); // ---------------------------------------------------------------------- // // ---------------------------------------------------------------------- w.startElement( "td" ); String paramName = parameter.getAlias(); if ( StringUtils.isEmpty( paramName ) ) { paramName = parameter.getName(); } w.startElement( "code" ); w.writeText( paramName ); w.endElement(); if ( !parameter.isRequired() ) { w.writeMarkup( " <i>(Optional)</i>"); } w.endElement(); // ---------------------------------------------------------------------- // // ---------------------------------------------------------------------- w.startElement( "td" ); w.startElement( "code" ); w.writeText( parameter.getType() ); w.endElement(); w.endElement(); // ---------------------------------------------------------------------- // // ---------------------------------------------------------------------- w.startElement( "td" ); w.startElement( "code" ); if ( StringUtils.isNotEmpty( parameter.getExpression() ) ) { w.writeText( parameter.getExpression() ); } else { w.writeText( "-" ); } w.endElement(); w.endElement(); // ---------------------------------------------------------------------- // // ---------------------------------------------------------------------- w.startElement( "td" ); if ( StringUtils.isNotEmpty( parameter.getDescription() ) ) { w.writeMarkup( parameter.getDescription() ); } else { w.writeText( "No description." ); } String deprecationWarning = parameter.getDeprecated(); if ( deprecationWarning != null ) { w.writeMarkup( "<br/><b>Deprecated:</b> "); w.writeMarkup( deprecationWarning ); if ( deprecationWarning.length() == 0 ) { w.writeText( "No reason given." ); } w.endElement(); } w.endElement(); w.endElement(); } w.endElement(); }
47160 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47160/0ff8c16056a68a10f88e003b4cdfbcbcdec8d9e3/PluginXdocGenerator.java/buggy/maven-plugin-tools/maven-plugin-tools-api/src/main/java/org/apache/maven/tools/plugin/generator/PluginXdocGenerator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1045, 27716, 1662, 1388, 12, 15931, 3187, 312, 10007, 3187, 16, 3167, 2289, 341, 262, 565, 288, 3639, 341, 18, 1937, 1046, 12, 315, 2121, 6, 11272, 3639, 341, 18, 1937, 1046, 12, 315, 313, 6, 11272, 3639, 341, 18, 1937, 1046, 12, 315, 451, 6, 11272, 3639, 341, 18, 2626, 1528, 12, 315, 1662, 6, 11272, 3639, 341, 18, 409, 1046, 5621, 3639, 341, 18, 1937, 1046, 12, 315, 451, 6, 11272, 3639, 341, 18, 2626, 1528, 12, 315, 559, 6, 11272, 3639, 341, 18, 409, 1046, 5621, 3639, 341, 18, 1937, 1046, 12, 315, 451, 6, 11272, 3639, 341, 18, 2626, 1528, 12, 315, 2300, 6, 11272, 3639, 341, 18, 409, 1046, 5621, 3639, 341, 18, 1937, 1046, 12, 315, 451, 6, 11272, 3639, 341, 18, 2626, 1528, 12, 315, 3291, 6, 11272, 3639, 341, 18, 409, 1046, 5621, 3639, 341, 18, 409, 1046, 5621, 3639, 987, 1472, 273, 312, 10007, 3187, 18, 588, 2402, 5621, 3639, 364, 261, 509, 277, 273, 374, 31, 277, 411, 1472, 18, 1467, 5621, 277, 9904, 262, 3639, 288, 5411, 5498, 1569, 273, 261, 1662, 13, 1472, 18, 588, 12, 277, 11272, 5411, 341, 18, 1937, 1046, 12, 315, 313, 6, 11272, 5411, 368, 8879, 13465, 5411, 368, 5411, 368, 8879, 13465, 5411, 341, 18, 1937, 1046, 12, 315, 4465, 6, 11272, 5411, 514, 11466, 273, 1569, 18, 588, 2936, 5621, 5411, 309, 261, 5778, 18, 291, 1921, 12, 11466, 262, 262, 5411, 288, 7734, 11466, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1045, 27716, 1662, 1388, 12, 15931, 3187, 312, 10007, 3187, 16, 3167, 2289, 341, 262, 565, 288, 3639, 341, 18, 1937, 1046, 12, 315, 2121, 6, 11272, 3639, 341, 18, 1937, 1046, 12, 315, 313, 6, 11272, 3639, 341, 18, 1937, 1046, 12, 315, 451, 6, 11272, 3639, 341, 18, 2626, 1528, 12, 315, 1662, 6, 11272, 3639, 341, 18, 409, 1046, 5621, 3639, 341, 18, 1937, 1046, 12, 315, 451, 6, 11272, 3639, 341, 18, 2626, 1528, 12, 315, 559, 6, 11272, 3639, 341, 18, 409, 1046, 5621, 3639, 341, 18, 1937, 1046, 12, 315, 451, 6, 11272, 3639, 341, 18, 2626, 1528, 12, 315, 2300, 6, 11272, 3639, 341, 18, 409, 1046, 5621, 3639, 2 ]
if (!nextNode.isEditable()) { return; }
private void mergeWithNextVisibleNode(TreeContext tree, OutlineLayoutManager layout) { Node currentNode = textArea.node; Node nextNode = tree.getNextNode(currentNode); if (nextNode == null) { return; } Node parent = currentNode.getParent(); // Get Text for nodes. String nextNodeText = nextNode.getValue(); String currentNodeText = currentNode.getValue(); String newNextNodeText = currentNodeText + nextNodeText; // Put the Undoable onto the UndoQueue UndoableEdit undoableEdit = new UndoableEdit( nextNode, nextNodeText, newNextNodeText, 0, currentNodeText.length(), 0, currentNodeText.length() ); CompoundUndoableReplace undoableReplace = new CompoundUndoableReplace(parent); undoableReplace.addPrimitive(new PrimitiveUndoableReplace(parent, currentNode, null)); CompoundUndoableImpl undoable = new CompoundUndoableImpl(tree); undoable.addPrimitive(undoableReplace); undoable.addPrimitive(undoableEdit); tree.doc.undoQueue.add(undoable); undoable.redo(); }
49473 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49473/d17b327b0fcc521fd86424601d6ab6c88b651e7d/TextKeyListener.java/buggy/outliner/src/com/organic/maynard/outliner/TextKeyListener.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 225, 309, 16051, 4285, 907, 18, 291, 15470, 10756, 288, 327, 31, 289, 225, 918, 225, 309, 16051, 4285, 907, 18, 291, 15470, 10756, 288, 327, 31, 289, 225, 2691, 1190, 2134, 6207, 907, 12, 2471, 1042, 225, 309, 16051, 4285, 907, 18, 291, 15470, 10756, 288, 327, 31, 289, 225, 2151, 16, 225, 309, 16051, 4285, 907, 18, 291, 15470, 10756, 288, 327, 31, 289, 225, 2976, 1369, 3744, 1318, 225, 309, 16051, 4285, 907, 18, 291, 15470, 10756, 288, 327, 31, 289, 225, 3511, 13, 225, 309, 16051, 4285, 907, 18, 291, 15470, 10756, 288, 327, 31, 289, 225, 288, 202, 202, 907, 225, 309, 16051, 4285, 907, 18, 291, 15470, 10756, 288, 327, 31, 289, 225, 13425, 225, 309, 16051, 4285, 907, 18, 291, 15470, 10756, 288, 327, 31, 289, 225, 273, 225, 309, 16051, 4285, 907, 18, 291, 15470, 10756, 288, 327, 31, 289, 225, 977, 5484, 18, 2159, 31, 202, 202, 907, 225, 309, 16051, 4285, 907, 18, 291, 15470, 10756, 288, 327, 31, 289, 225, 22858, 225, 309, 16051, 4285, 907, 18, 291, 15470, 10756, 288, 327, 31, 289, 225, 273, 225, 309, 16051, 4285, 907, 18, 291, 15470, 10756, 288, 327, 31, 289, 225, 2151, 18, 588, 2134, 907, 12, 2972, 907, 1769, 202, 202, 430, 225, 309, 16051, 4285, 907, 18, 291, 15470, 10756, 288, 327, 31, 289, 225, 261, 4285, 907, 225, 309, 16051, 4285, 907, 18, 291, 15470, 10756, 288, 327, 31, 289, 225, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 225, 309, 16051, 4285, 907, 18, 291, 15470, 10756, 288, 327, 31, 289, 225, 918, 225, 309, 16051, 4285, 907, 18, 291, 15470, 10756, 288, 327, 31, 289, 225, 2691, 1190, 2134, 6207, 907, 12, 2471, 1042, 225, 309, 16051, 4285, 907, 18, 291, 15470, 10756, 288, 327, 31, 289, 225, 2151, 16, 225, 309, 16051, 4285, 907, 18, 291, 15470, 10756, 288, 327, 31, 289, 225, 2976, 1369, 3744, 1318, 225, 309, 16051, 4285, 907, 18, 291, 15470, 10756, 288, 327, 31, 289, 225, 3511, 13, 225, 309, 16051, 4285, 907, 18, 291, 15470, 10756, 288, 327, 31, 289, 225, 288, 202, 202, 907, 225, 309, 16051, 4285, 907, 18, 291, 15470, 10756, 288, 327, 2 ]
public void exit () {
public void exit () throws VM_PragmaInterruptible {
public void exit () { }
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/4bdcfd89af42d1c4725b81c48f2ebe6f7e29ed82/VM_Thread.java/buggy/rvm/src/vm/scheduler/VM_Thread.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 2427, 1832, 1216, 8251, 67, 2050, 9454, 14126, 1523, 288, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 282, 1071, 918, 2427, 1832, 1216, 8251, 67, 2050, 9454, 14126, 1523, 288, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
handleEndElement(element, false);
handleEndElement(element, augs, false);
public void endElement(QName element) throws XNIException { if (fNamespaces) { handleEndElement(element, false); } else if (fDocumentHandler != null) { fDocumentHandler.endElement(element); } } // endElement(QName)
6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/ee3cf4ff9e64a0ae2d3c850b7c9b40e51771781d/XMLNamespaceBinder.java/buggy/src/org/apache/xerces/impl/XMLNamespaceBinder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 14840, 12, 13688, 930, 13, 1216, 1139, 50, 45, 503, 288, 3639, 309, 261, 74, 13180, 13, 288, 5411, 1640, 1638, 1046, 12, 2956, 16, 279, 9024, 16, 629, 1769, 3639, 289, 3639, 469, 309, 261, 74, 2519, 1503, 480, 446, 13, 288, 5411, 284, 2519, 1503, 18, 409, 1046, 12, 2956, 1769, 3639, 289, 565, 289, 368, 14840, 12, 13688, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 14840, 12, 13688, 930, 13, 1216, 1139, 50, 45, 503, 288, 3639, 309, 261, 74, 13180, 13, 288, 5411, 1640, 1638, 1046, 12, 2956, 16, 279, 9024, 16, 629, 1769, 3639, 289, 3639, 469, 309, 261, 74, 2519, 1503, 480, 446, 13, 288, 5411, 284, 2519, 1503, 18, 409, 1046, 12, 2956, 1769, 3639, 289, 565, 289, 368, 14840, 12, 13688, 13, 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 ]
private void populateDB() throws Exception { final DistPollerDao dao = getDistPollerDao(); final TransactionCallback populater = new TransactionCallback() { public Object doInTransaction(TransactionStatus status) { m_testConfig.prePopulate(); populateDB(dao); m_testConfig.postPopulate(); return null; } }; Runnable doIt = new Runnable() { public void run() { m_transTemplate.execute(populater); } }; // run in a separate thread so its in a separate transaction Thread t = new Thread(doIt); t.start(); t.join(); }
48885 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48885/6154fcc8146635cf0286ee7dd24a32030b25bec6/AbstractDaoTestCase.java/clean/opennms-dao/src/test/java/org/opennms/netmgt/dao/AbstractDaoTestCase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 6459, 19936, 2290, 1435, 15069, 503, 95, 6385, 5133, 5850, 749, 40, 69, 369, 6033, 33, 588, 5133, 5850, 749, 11412, 5621, 6385, 3342, 2428, 5120, 332, 2045, 33, 2704, 3342, 2428, 1435, 95, 482, 921, 2896, 382, 3342, 12, 3342, 1482, 2327, 15329, 81, 67, 3813, 809, 18, 1484, 19097, 5621, 19936, 2290, 12, 2414, 83, 1769, 81, 67, 3813, 809, 18, 2767, 19097, 5621, 2463, 2011, 31, 9090, 31, 1997, 82, 1116, 83, 7193, 33, 2704, 20013, 1435, 95, 482, 6459, 2681, 1435, 95, 81, 67, 2338, 2283, 18, 8837, 12, 5120, 332, 2045, 1769, 9090, 31, 759, 2681, 267, 448, 1065, 270, 546, 896, 2048, 1282, 267, 448, 1065, 270, 16354, 634, 1128, 3830, 88, 33, 2704, 3830, 12, 2896, 7193, 1769, 88, 18, 1937, 5621, 88, 18, 5701, 5621, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 6459, 19936, 2290, 1435, 15069, 503, 95, 6385, 5133, 5850, 749, 40, 69, 369, 6033, 33, 588, 5133, 5850, 749, 11412, 5621, 6385, 3342, 2428, 5120, 332, 2045, 33, 2704, 3342, 2428, 1435, 95, 482, 921, 2896, 382, 3342, 12, 3342, 1482, 2327, 15329, 81, 67, 3813, 809, 18, 1484, 19097, 5621, 19936, 2290, 12, 2414, 83, 1769, 81, 67, 3813, 809, 18, 2767, 19097, 5621, 2463, 2011, 31, 9090, 31, 1997, 82, 1116, 83, 7193, 33, 2704, 20013, 1435, 95, 482, 6459, 2681, 1435, 95, 81, 67, 2338, 2283, 18, 8837, 12, 5120, 332, 2045, 1769, 9090, 31, 759, 2681, 267, 448, 1065, 270, 546, 896, 2048, 1282, 267, 448, 1065, 270, 16354, 634, 1128, 3830, 88, 2 ]
URL fullURL = (locationData != null && locationData.getSystemID() != null)
URL fullURL = (locationData != null && locationData.getSystemID() != null && NetUtils.urlHasProtocol(locationData.getSystemID()))
public ProcessorOutput createOutput(final String name) { ProcessorOutput output = new ProcessorImpl.ProcessorOutputImpl(getClass(), name) { public void readImpl(PipelineContext pipelineContext, ContentHandler contentHandler) { // Read config input into a URL, cache if possible ConfigURIReferences configURIReferences = URLGenerator.this.localConfigURIReferences != null ? localConfigURIReferences : (ConfigURIReferences) readCacheInputAsObject(pipelineContext, getInputByName(INPUT_CONFIG), new CacheableInputReader() { public Object read(PipelineContext context, ProcessorInput input) { Element configElement = readInputAsDOM4J(context, input).getRootElement(); // Shortcut if the url is direct child of config String url = configElement.getTextTrim(); if (url != null && !url.equals("")) { try { return new ConfigURIReferences(new Config(URLFactory.createURL(url))); } catch (MalformedURLException e) { throw new OXFException(e); } } // We have the /config/url syntax url = XPathUtils.selectStringValueNormalize(configElement, "/config/url"); // Get content-type String contentType = XPathUtils.selectStringValueNormalize(configElement, "/config/content-type"); boolean forceContentType = ProcessorUtils.selectBooleanValue(configElement, "/config/force-content-type", DEFAULT_FORCE_CONTENT_TYPE); if (forceContentType && (contentType == null || contentType.equals(""))) throw new OXFException("The force-content-type element requires a content-type element."); // Get encoding String encoding = XPathUtils.selectStringValueNormalize(configElement, "/config/encoding"); boolean forceEncoding = ProcessorUtils.selectBooleanValue(configElement, "/config/force-encoding", DEFAULT_FORCE_ENCODING); boolean ignoreConnectionEncoding = ProcessorUtils.selectBooleanValue(configElement, "/config/ignore-connection-encoding", DEFAULT_IGNORE_CONNECTION_ENCODING); if (forceEncoding && (encoding == null || encoding.equals(""))) throw new OXFException("The force-encoding element requires an encoding element."); // Get headers Map headers = new HashMap(); for (Iterator i = configElement.selectNodes("/config/header").iterator(); i.hasNext();) { Element headerElement = (Element) i.next(); String name = headerElement.element("name").getStringValue(); String value = headerElement.element("value").getStringValue(); headers.put(name, value); } // Validation setting: local, then properties, then hard-coded default boolean defaultValidating = getPropertySet().getBoolean(VALIDATING_PROPERTY, DEFAULT_VALIDATING).booleanValue(); boolean validating = ProcessorUtils.selectBooleanValue(configElement, "/config/validating", defaultValidating); // Cache control boolean cacheUseLocalCache = ProcessorUtils.selectBooleanValue(configElement, "/config/cache-control/use-local-cache", DEFAULT_CACHE_USE_LOCAL_CACHE); boolean cacheAlwaysRevalidate = ProcessorUtils.selectBooleanValue(configElement, "/config/cache-control/always-revalidate", DEFAULT_CACHE_ALWAYS_REVALIDATE); int cacheExpiration = ProcessorUtils.selectIntValue(configElement, "/config/cache-control/expiration", DEFAULT_CACHE_EXPIRATION); // Get Tidy config (will only apply if content-type is text/html) TidyConfig tidyConfig = new TidyConfig(XPathUtils.selectSingleNode(configElement, "/config/tidy-options")); // Create configuration object try { // Use location data if present so that relative URLs can be supported LocationData locationData = URLGenerator.this.getLocationData(); URL fullURL = (locationData != null && locationData.getSystemID() != null) ? URLFactory.createURL(locationData.getSystemID(), url) : URLFactory.createURL(url); // Create configuration Config config = new Config(fullURL, contentType, forceContentType, encoding, forceEncoding, ignoreConnectionEncoding, validating, headers, cacheUseLocalCache, cacheAlwaysRevalidate, cacheExpiration, tidyConfig); if (logger.isDebugEnabled()) logger.debug("Read configuration: " + config.toString()); return new ConfigURIReferences(config); } catch (MalformedURLException e) { throw new OXFException(e); } } }); try { // Never accept a null URL if (configURIReferences.config.getURL() == null) throw new OXFException("Missing configuration."); // Create unique key and validity for the document CacheKey key = new InternalCacheKey(URLGenerator.this, "urlDocument", configURIReferences.config.toString()); // Resource from cache Object cachedResource = null; // Check if we can directly serve the resource from cache// if (configURIReferences.config.cacheExpiration != CACHE_EXPIRATION_LAST_MODIFIED) {// // We don't use the last-modified header, but instead we use an expiration value set by the user// long cacheExpiration = (configURIReferences.config.cacheExpiration < 0) ? configURIReferences.config.cacheExpiration : configURIReferences.config.cacheExpiration * 1000; // time is in msb// cachedResource = ObjectCache.instance().findValidWithExpiration(context, key, cacheExpiration);// if (cachedResource != null)// ((SAXStore) cachedResource).replay(contentHandler);// } if (cachedResource == null) { // We are unable to just replay from cache without accessing the resource // Decide whether to use read from the special oxf: handler or the generic URL handler ResourceHandler handler = null; try { // We use the same validity as for the output Object validity = getValidityImpl(pipelineContext); cachedResource = ObjectCache.instance().findValid(pipelineContext, key, validity); if (cachedResource != null) { // Just replay the cached resource // NOTE: should we do this only with config.isCacheUseLocalCache() = true? ((SAXStore) cachedResource).replay(contentHandler); } else { // We need to read the resource handler = Handler.PROTOCOL.equals(configURIReferences.config.getURL().getProtocol()) ? (ResourceHandler) new OXFResourceHandler(configURIReferences.config) : (ResourceHandler) new URLResourceHandler(configURIReferences.config); // Find content-type to use. If the config says to force the // content-type, we use the content-type provided by the user. // Otherwise, we give the priority to the content-type provided by // the connection, then the content-type provided by the user, then // we use the default content-type (XML). The user will have to // provide a content-type for example to read HTML documents with // the file: protocol. String contentType; if (configURIReferences.config.isForceContentType()) { contentType = configURIReferences.config.getContentType(); } else { contentType = handler.getResourceContentType(); if (contentType == null) contentType = configURIReferences.config.getContentType(); if (contentType == null) contentType = ProcessorUtils.DEFAULT_CONTENT_TYPE; } // Create store for caching if necessary ContentHandler output = configURIReferences.config.isCacheUseLocalCache() ? new SAXStore(contentHandler) : contentHandler; //System.out.println("XXX " + configURIReferences.config.toString() + " XXX " + handler.getResourceContentType()); // Read resource if (ProcessorUtils.HTML_CONTENT_TYPE.equals(contentType)) { handler.readHTML(output); configURIReferences.uriReferences = null; } else if (ProcessorUtils.isXMLContentType(contentType)) { LocalXIncludeListener localXIncludeListener = new LocalXIncludeListener(); XIncludeHandler.setXIncludeListener(localXIncludeListener); try { handler.readXML(pipelineContext, output); } finally { XIncludeHandler.setXIncludeListener(null); } localXIncludeListener.updateCache(pipelineContext, configURIReferences); } else if (ProcessorUtils.isTextContentType(contentType)) { handler.readText(output, contentType); configURIReferences.uriReferences = null; } else { handler.readBinary(output, contentType); configURIReferences.uriReferences = null; } // Cache the resource if (configURIReferences.config.isCacheUseLocalCache()) ObjectCache.instance().add(pipelineContext, key, validity, output); } } finally { if (handler != null) handler.destroy(); } } } catch (SAXParseException spe) { throw new ValidationException(spe.getMessage(), new LocationData(spe)); } catch (ValidationException e) { final LocationData locationData = e.getLocationData(); // The system id may not be set if (locationData == null || locationData.getSystemID() == null) throw ValidationException.wrapException(e, new LocationData(configURIReferences.config.getURL().toExternalForm(), -1, -1)); else throw e; } catch (OXFException e) { throw e; } catch (Exception e) { throw new ValidationException(e, new LocationData(configURIReferences.config.getURL().toExternalForm(), -1, -1)); } } public OutputCacheKey getKeyImpl(PipelineContext context) { try { ConfigURIReferences configURIReferences = getConfigURIReferences(context); if (configURIReferences == null) return null; List keys = new ArrayList(); // Handle config if read as input if (localConfigURIReferences == null) { KeyValidity configKeyValidity = getInputKeyValidity(context, INPUT_CONFIG); if (configKeyValidity == null) return null; keys.add(configKeyValidity.key); } // Handle main document and config keys.add(new SimpleOutputCacheKey(getProcessorClass(), name, configURIReferences.config.toString())); // Handle dependencies if any if (configURIReferences.uriReferences != null) { for (Iterator i = configURIReferences.uriReferences.references.iterator(); i.hasNext();) { URIReference uriReference = (URIReference) i.next(); keys.add(new InternalCacheKey(URLGenerator.this, "urlReference", URLFactory.createURL(uriReference.context, uriReference.spec).toExternalForm())); } } final CacheKey[] outKys = new CacheKey[keys.size()]; keys.toArray(outKys); return new CompoundOutputCacheKey(getProcessorClass(), name, outKys); } catch (MalformedURLException e) { throw new OXFException(e); } } public Object getValidityImpl(PipelineContext context) { try { ConfigURIReferences configURIReferences = getConfigURIReferences(context); if (configURIReferences == null) return null; List validities = new ArrayList(); // Handle config if read as input if (localConfigURIReferences == null) { KeyValidity configKeyValidity = getInputKeyValidity(context, INPUT_CONFIG); if (configKeyValidity == null) return null; validities.add(configKeyValidity.validity); } // Handle main document and config validities.add(getHandlerValidity(configURIReferences.config.getURL())); // Handle dependencies if any if (configURIReferences.uriReferences != null) { for (Iterator i = configURIReferences.uriReferences.references.iterator(); i.hasNext();) { URIReference uriReference = (URIReference) i.next(); validities.add(getHandlerValidity(URLFactory.createURL(uriReference.context, uriReference.spec))); } } return validities; } catch (IOException e) { throw new OXFException(e); } } private Object getHandlerValidity(URL url) { try { ResourceHandler handler = Handler.PROTOCOL.equals(url.getProtocol()) ? (ResourceHandler) new OXFResourceHandler(new Config(url)) : (ResourceHandler) new URLResourceHandler(new Config(url)); try { // FIXME: this can potentially be very slow with some URLs return handler.getValidity(); } finally { if (handler != null) handler.destroy(); } } catch (Exception e) { // If the file no longer exists, for example, we don't want to throw, just to invalidate // An exception will be thrown if necessary when the document is actually read return null; } } private ConfigURIReferences getConfigURIReferences(PipelineContext context) { // Check if config is external if (localConfigURIReferences != null) return localConfigURIReferences; // Make sure the config input is cacheable KeyValidity keyValidity = getInputKeyValidity(context, INPUT_CONFIG); if (keyValidity == null) return null; // Try to find resource manager key in cache ConfigURIReferences config = (ConfigURIReferences) ObjectCache.instance().findValid(context, keyValidity.key, keyValidity.validity); if (logger.isDebugEnabled()) { if (config != null) logger.debug("Config found: " + config.toString()); else logger.debug("Config not found"); } return config; } }; addOutput(name, output); return output; }
52783 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52783/c92faea3770d68e915964a3102a4873b3279f0cd/URLGenerator.java/clean/src/java/org/orbeon/oxf/processor/generator/URLGenerator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15476, 1447, 752, 1447, 12, 6385, 514, 508, 13, 288, 3639, 15476, 1447, 876, 273, 394, 15476, 2828, 18, 5164, 1447, 2828, 12, 588, 797, 9334, 508, 13, 288, 5411, 1071, 918, 855, 2828, 12, 8798, 1042, 5873, 1042, 16, 3697, 1503, 913, 1503, 13, 288, 7734, 368, 2720, 642, 810, 1368, 279, 1976, 16, 1247, 309, 3323, 7734, 1903, 3098, 8221, 642, 3098, 8221, 273, 1976, 3908, 18, 2211, 18, 3729, 809, 3098, 8221, 480, 446, 692, 1191, 809, 3098, 8221, 294, 13491, 261, 809, 3098, 8221, 13, 855, 1649, 1210, 1463, 921, 12, 14511, 1042, 16, 12353, 5911, 12, 15934, 67, 7203, 3631, 394, 4379, 429, 1210, 2514, 1435, 288, 18701, 1071, 1033, 855, 12, 8798, 1042, 819, 16, 15476, 1210, 810, 13, 288, 27573, 3010, 642, 1046, 273, 855, 1210, 1463, 8168, 24, 46, 12, 2472, 16, 810, 2934, 588, 2375, 1046, 5621, 27573, 368, 7925, 5150, 309, 326, 880, 353, 2657, 1151, 434, 642, 27573, 514, 880, 273, 642, 1046, 18, 588, 1528, 14795, 5621, 27573, 309, 261, 718, 480, 446, 597, 401, 718, 18, 14963, 2932, 6, 3719, 288, 4766, 565, 775, 288, 4766, 3639, 327, 394, 1903, 3098, 8221, 12, 2704, 1903, 12, 1785, 1733, 18, 2640, 1785, 12, 718, 3719, 1769, 4766, 565, 289, 1044, 261, 18695, 20160, 425, 13, 288, 4766, 3639, 604, 394, 531, 60, 42, 503, 12, 73, 1769, 4766, 565, 289, 27573, 289, 27573, 368, 1660, 1240, 326, 342, 1425, 19, 718, 6279, 27573, 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, 15476, 1447, 752, 1447, 12, 6385, 514, 508, 13, 288, 3639, 15476, 1447, 876, 273, 394, 15476, 2828, 18, 5164, 1447, 2828, 12, 588, 797, 9334, 508, 13, 288, 5411, 1071, 918, 855, 2828, 12, 8798, 1042, 5873, 1042, 16, 3697, 1503, 913, 1503, 13, 288, 7734, 368, 2720, 642, 810, 1368, 279, 1976, 16, 1247, 309, 3323, 7734, 1903, 3098, 8221, 642, 3098, 8221, 273, 1976, 3908, 18, 2211, 18, 3729, 809, 3098, 8221, 480, 446, 692, 1191, 809, 3098, 8221, 294, 13491, 261, 809, 3098, 8221, 13, 855, 1649, 1210, 1463, 921, 12, 14511, 1042, 16, 12353, 5911, 12, 15934, 67, 7203, 3631, 394, 4379, 429, 1210, 2514, 1435, 288, 18701, 1071, 1033, 855, 12, 2 ]
AST tmp1425_AST_in = (AST)_t;
AST tmp1424_AST_in = (AST)_t;
public final void runsuperstate(AST _t) throws RecognitionException { AST runsuperstate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t1987 = _t; AST tmp1423_AST_in = (AST)_t; match(_t,RUN); _t = _t.getFirstChild(); AST tmp1424_AST_in = (AST)_t; match(_t,SUPER); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case Parameter_list: { parameterlist(_t); _t = _retTree; break; } case EOF: case PERIOD: case NOERROR_KW: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case NOERROR_KW: { AST tmp1425_AST_in = (AST)_t; match(_t,NOERROR_KW); _t = _t.getNextSibling(); break; } case EOF: case PERIOD: { break; } default: { throw new NoViableAltException(_t); } } } state_end(_t); _t = _retTree; _t = __t1987; _t = _t.getNextSibling(); _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/TreeParser03.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparser03/TreeParser03.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 1086, 9565, 2019, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 1086, 9565, 2019, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 3657, 11035, 273, 389, 88, 31, 202, 202, 9053, 1853, 3461, 4366, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 15238, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 9053, 1853, 3461, 3247, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 13272, 654, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 202, 202, 95, 202, 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, 5498, 67, 1098, 30, 202, 202, 95, 1082, 202, 6775, 1098, 24899, 88, 1769, 1082, 202, 67, 88, 273, 389, 1349, 2471, 31, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 6431, 30, 202, 202, 3593, 10950, 21054, 30, 202, 202, 3593, 3741, 3589, 67, 30134, 30, 202, 202, 95, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 1886, 30, 202, 202, 95, 1082, 202, 12849, 394, 17114, 24899, 88, 1769, 202, 202, 97, 202, 202, 97, 202, 202, 97, 202, 202, 95, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 1086, 9565, 2019, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 1086, 9565, 2019, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 3657, 11035, 273, 389, 88, 31, 202, 202, 9053, 1853, 3461, 4366, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 15238, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 9053, 1853, 3461, 3247, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 13272, 654, 1769, 202, 202, 2 ]
private void change(AtomContainer ac, Atom ax1, Atom ay1, Atom ax2, Atom ay2, Bond b1, Bond b2, Bond b3, Bond b4, double b11, double b12, double b21, double b22)
private AtomContainer change(AtomContainer ac, Atom ax1, Atom ay1, Atom ax2, Atom ay2, Bond b1, Bond b2, Bond b3, Bond b4, double b11, double b12, double b21, double b22)
private void change(AtomContainer ac, Atom ax1, Atom ay1, Atom ax2, Atom ay2, Bond b1, Bond b2, Bond b3, Bond b4, double b11, double b12, double b21, double b22) { if (b11 > 0) { if (b1 == null) { b1 = new Bond(ax1, ay1, b11); ac.addBond(b1); } else { b1.setOrder(b11); } } else if (b1 != null) { ac.removeBond(b1); } if (b12 > 0) { if (b2 == null) { b2 = new Bond(ax1, ay2, b12); ac.addBond(b2); } else { b2.setOrder(b12); } } else if (b2 != null) { ac.removeBond(b2); } if (b21 > 0) { if (b3 == null) { b3 = new Bond(ax2, ay1, b21); ac.addBond(b3); } else { b3.setOrder(b21); } } else if (b3 != null) { ac.removeBond(b3); } if (b22 > 0) { if (b4 == null) { b4 = new Bond(ax2, ay2, b22); ac.addBond(b4); } else { b4.setOrder(b22); } } else if (b4 != null) { ac.removeBond(b4); } }
46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/ca9db41656206b7597dd3a7637c0f7687f2bddba/VicinitySampler.java/buggy/org/openscience/cdk/structgen/VicinitySampler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 2549, 12, 3641, 2170, 1721, 16, 7149, 1740, 21, 16, 7149, 26179, 21, 16, 7149, 1740, 22, 16, 7149, 26179, 22, 16, 605, 1434, 324, 21, 16, 605, 1434, 324, 22, 16, 605, 1434, 324, 23, 16, 605, 1434, 324, 24, 16, 1645, 324, 2499, 16, 1645, 324, 2138, 16, 1645, 324, 5340, 16, 1645, 324, 3787, 13, 202, 95, 202, 202, 430, 261, 70, 2499, 405, 374, 13, 202, 202, 95, 1082, 202, 430, 261, 70, 21, 422, 446, 13, 1082, 202, 95, 9506, 202, 70, 21, 273, 394, 605, 1434, 12, 651, 21, 16, 26179, 21, 16, 324, 2499, 1769, 9506, 202, 1077, 18, 1289, 9807, 12, 70, 21, 1769, 1082, 202, 97, 1082, 202, 12107, 1082, 202, 95, 9506, 202, 70, 21, 18, 542, 2448, 12, 70, 2499, 1769, 1082, 202, 97, 202, 202, 97, 202, 202, 12107, 309, 261, 70, 21, 480, 446, 13, 202, 202, 95, 1082, 202, 1077, 18, 4479, 9807, 12, 70, 21, 1769, 202, 202, 97, 9506, 202, 430, 261, 70, 2138, 405, 374, 13, 3196, 202, 95, 1082, 202, 430, 261, 70, 22, 422, 446, 13, 1082, 202, 95, 9506, 202, 70, 22, 273, 394, 605, 1434, 12, 651, 21, 16, 26179, 22, 16, 324, 2138, 1769, 9506, 202, 1077, 18, 1289, 9807, 12, 70, 22, 1769, 1082, 202, 97, 1082, 202, 12107, 1082, 202, 95, 9506, 202, 70, 22, 18, 542, 2448, 12, 70, 2138, 1769, 1082, 202, 97, 202, 202, 97, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 2549, 12, 3641, 2170, 1721, 16, 7149, 1740, 21, 16, 7149, 26179, 21, 16, 7149, 1740, 22, 16, 7149, 26179, 22, 16, 605, 1434, 324, 21, 16, 605, 1434, 324, 22, 16, 605, 1434, 324, 23, 16, 605, 1434, 324, 24, 16, 1645, 324, 2499, 16, 1645, 324, 2138, 16, 1645, 324, 5340, 16, 1645, 324, 3787, 13, 202, 95, 202, 202, 430, 261, 70, 2499, 405, 374, 13, 202, 202, 95, 1082, 202, 430, 261, 70, 21, 422, 446, 13, 1082, 202, 95, 9506, 202, 70, 21, 273, 394, 605, 1434, 12, 651, 21, 16, 26179, 21, 16, 324, 2499, 1769, 9506, 202, 1077, 18, 1289, 9807, 12, 70, 21, 1769, 1082, 202, 97, 2 ]
setAttribute("title", newValue);
setAttribute("title", newValue);
public void setTitle(String newValue) { setAttribute("title", newValue); }
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/bf94d6634ab3635fdb8210105d9c1c839d13e555/WMLCardElementImpl.java/buggy/src/org/apache/wml/dom/WMLCardElementImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 14109, 12, 780, 6129, 13, 288, 202, 542, 1499, 2932, 2649, 3113, 6129, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 14109, 12, 780, 6129, 13, 288, 202, 542, 1499, 2932, 2649, 3113, 6129, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
new RowStore(), 5 );
new RowStore(), 5, strict );
public void testSerializers() throws IOException, SAXException, TransformerException { try { int ncol = table0.getColumnCount(); VOSerializer tSer = VOSerializer .makeSerializer( DataFormat.TABLEDATA, table0 ); VOSerializer bSer = VOSerializer .makeSerializer( DataFormat.BINARY, table0 ); VOSerializer fSer = VOSerializer .makeSerializer( DataFormat.FITS, table0 ); ByteArrayOutputStream bytestream = new ByteArrayOutputStream(); BufferedWriter writer = new BufferedWriter( new OutputStreamWriter( bytestream ) ); writer.write( "<VOTABLE version='1.0'>" ); writer.newLine(); writer.write( "<RESOURCE>" ); writer.newLine(); writeTableInline( tSer, writer ); writeTableInline( bSer, writer ); writeTableInline( fSer, writer ); File tmpDir = new File( System.getProperty( "java.io.tmpdir" ) ); File bTempFile = File.createTempFile( "stest", ".bin", tmpDir ); File fTempFile = File.createTempFile( "stest", ".fits", tmpDir ); writeTableHref( bSer, writer, bTempFile ); writeTableHref( fSer, writer, fTempFile ); /* Can't write TABLEDATA as a stream. */ try { tSer.writeHrefDataElement( writer, "/dev/null", null ); fail(); } catch ( UnsupportedOperationException e ) { } writer.write( "</RESOURCE>" ); writer.newLine(); writer.write( "</VOTABLE>" ); writer.close(); byte[] xmltext = bytestream.toByteArray(); // new FileOutputStream( "j" ).write( xmltext ); assertValidXML( new InputSource( new ByteArrayInputStream( prependDeclaration( xmltext ) ) ) ); /* Test all constructors, validating and not. There are * significantly different paths through the code for each one, * in particular depending on whether the parse to DOM is * done inside or outside the VOTable package. */ List vodocs = new ArrayList(); Document docnode1 = (Document) new SourceReader() .getDOM( new StreamSource( asStream( xmltext ) ) ); vodocs.add( factory .makeVOElement( new ByteArrayInputStream( xmltext ), null ) ); vodocs.add( factory.makeVOElement( docnode1, null ) ); Source xsrc = new DOMSource( docnode1, null ); vodocs.add( factory.makeVOElement( (Source) xsrc ) ); vodocs.add( factory.makeVOElement( (DOMSource) xsrc ) ); DOMSource dsrc0 = factory. transformToDOM( new StreamSource( asStream( xmltext ) ), false ); DOMSource dsrc1 = factory. transformToDOM( new StreamSource( asStream( prependDeclaration( xmltext ) ) ), true ); vodocs.add( factory.makeVOElement( dsrc0 ) ); vodocs.add( factory.makeVOElement( dsrc1 ) ); for ( Iterator it = vodocs.iterator(); it.hasNext(); ) { exerciseVOTableDocument( (VOElement) it.next() ); } /* Test the streamStarTable method; get each table in turn. */ for ( int itable = 0; itable < 5; itable++ ) { RowStore rstore = new RowStore(); InputSource saxsrc = new InputSource( new ByteArrayInputStream( xmltext ) ); TableStreamer.streamStarTable( saxsrc, rstore, itable ); RowStepper rstep = rstore.getRowStepper(); RowSequence rseq = table0.getRowSequence(); while ( rseq.hasNext() ) { rseq.next(); assertArrayEquals( rseq.getRow(), rstep.nextRow() ); } rseq.close(); assertTrue( ! rseq.hasNext() ); assertNull( rstep.nextRow() ); } try { TableStreamer.streamStarTable( new InputSource( new ByteArrayInputStream( xmltext ) ), new RowStore(), 5 ); fail(); } catch ( SAXException e ) { // ok } } catch ( ConnectException e ) { System.err.println( "Couldn't perform test - failed to make " + "connection (probably to remote VOTable DTD)" ); e.printStackTrace( System.err ); } }
48494 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48494/a608964d71cd473885a5333a4c8fb720a07d44bd/SerializerTest.java/buggy/votable/src/testcases/uk/ac/starlink/votable/SerializerTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 6342, 8426, 1435, 5411, 1216, 1860, 16, 14366, 16, 21684, 288, 3639, 775, 288, 5411, 509, 290, 1293, 273, 1014, 20, 18, 588, 1494, 1380, 5621, 5411, 776, 51, 6306, 268, 827, 273, 776, 51, 6306, 1171, 9079, 263, 6540, 6306, 12, 1910, 1630, 18, 7775, 4883, 16, 1014, 20, 11272, 5411, 776, 51, 6306, 324, 827, 273, 776, 51, 6306, 1171, 9079, 263, 6540, 6306, 12, 1910, 1630, 18, 16813, 16, 1014, 20, 11272, 5411, 776, 51, 6306, 284, 827, 273, 776, 51, 6306, 1171, 9079, 263, 6540, 6306, 12, 1910, 1630, 18, 42, 10158, 16, 1014, 20, 11272, 5411, 11559, 635, 3813, 793, 273, 394, 11559, 5621, 5411, 22490, 2633, 273, 1171, 394, 22490, 12, 394, 24248, 12, 635, 3813, 793, 262, 11272, 5411, 2633, 18, 2626, 12, 3532, 58, 1974, 2782, 1177, 2218, 21, 18, 20, 28533, 11272, 5411, 2633, 18, 2704, 1670, 5621, 5411, 2633, 18, 2626, 12, 3532, 11395, 2984, 11272, 5411, 2633, 18, 2704, 1670, 5621, 5411, 1045, 1388, 10870, 12, 268, 827, 16, 2633, 11272, 5411, 1045, 1388, 10870, 12, 324, 827, 16, 2633, 11272, 5411, 1045, 1388, 10870, 12, 284, 827, 16, 2633, 11272, 5411, 1387, 22521, 273, 394, 1387, 12, 2332, 18, 588, 1396, 12, 315, 6290, 18, 1594, 18, 5645, 1214, 6, 262, 11272, 5411, 1387, 324, 20181, 273, 1387, 18, 2640, 20181, 12, 315, 334, 395, 3113, 3552, 4757, 3113, 22521, 11272, 5411, 1387, 284, 20181, 273, 1387, 18, 2640, 20181, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 6342, 8426, 1435, 5411, 1216, 1860, 16, 14366, 16, 21684, 288, 3639, 775, 288, 5411, 509, 290, 1293, 273, 1014, 20, 18, 588, 1494, 1380, 5621, 5411, 776, 51, 6306, 268, 827, 273, 776, 51, 6306, 1171, 9079, 263, 6540, 6306, 12, 1910, 1630, 18, 7775, 4883, 16, 1014, 20, 11272, 5411, 776, 51, 6306, 324, 827, 273, 776, 51, 6306, 1171, 9079, 263, 6540, 6306, 12, 1910, 1630, 18, 16813, 16, 1014, 20, 11272, 5411, 776, 51, 6306, 284, 827, 273, 776, 51, 6306, 1171, 9079, 263, 6540, 6306, 12, 1910, 1630, 18, 42, 10158, 16, 1014, 20, 11272, 5411, 11559, 635, 3813, 793, 273, 394, 11559, 5621, 5411, 22490, 2633, 273, 1171, 394, 2 ]
String path = pattern.getPath(); StringBuffer sb = new StringBuffer(); for(int i = 0, size = path.length(); i < size; i++) { if (path.charAt(i) == '/' || path.charAt(i) == '\\') { if (sb.length() > 0) { dirs.add(sb.toString()); sb = new StringBuffer(); } if (dirs.size() == 0) { sb.append(path.charAt(i)); } } else { sb.append(path.charAt(i)); }
int i = 0; while (true) { int j = pattern.indexOf(File.separatorChar, i); if (j == -1) { if (i < pattern.length()) { dirs.add(pattern.substring(i)); } break; } if (i < j) { dirs.add(pattern.substring(i, j)); i = j + 1; }
private String[] splitPattern() { ArrayList dirs = new ArrayList(); String path = pattern.getPath(); StringBuffer sb = new StringBuffer(); for(int i = 0, size = path.length(); i < size; i++) { if (path.charAt(i) == '/' || path.charAt(i) == '\\') { if (sb.length() > 0) { dirs.add(sb.toString()); sb = new StringBuffer(); } // to handle /unix/ and \\windows-server\ files if (dirs.size() == 0) { sb.append(path.charAt(i)); } } else { sb.append(path.charAt(i)); } } if (sb.length() > 0) { dirs.add(sb.toString()); } return (String[])dirs.toArray(new String[dirs.size()]); }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/43608826a44e7cd8213325ce6cf8b348d8ca8f8e/Glob.java/clean/src/org/jruby/util/Glob.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 514, 8526, 1416, 3234, 1435, 288, 3639, 2407, 7717, 273, 394, 2407, 5621, 3639, 514, 589, 273, 1936, 18, 588, 743, 5621, 3639, 6674, 2393, 273, 394, 6674, 5621, 7734, 364, 12, 474, 277, 273, 374, 16, 963, 273, 589, 18, 2469, 5621, 277, 411, 963, 31, 277, 27245, 288, 5411, 309, 261, 803, 18, 3001, 861, 12, 77, 13, 422, 2023, 747, 589, 18, 3001, 861, 12, 77, 13, 422, 5282, 13, 288, 7734, 309, 261, 18366, 18, 2469, 1435, 405, 374, 13, 288, 10792, 7717, 18, 1289, 12, 18366, 18, 10492, 10663, 10792, 2393, 273, 394, 6674, 5621, 7734, 289, 7734, 368, 358, 1640, 342, 21136, 19, 471, 1736, 13226, 17, 3567, 64, 1390, 7734, 309, 261, 8291, 18, 1467, 1435, 422, 374, 13, 288, 10792, 2393, 18, 6923, 12, 803, 18, 3001, 861, 12, 77, 10019, 7734, 289, 5411, 289, 469, 288, 7734, 2393, 18, 6923, 12, 803, 18, 3001, 861, 12, 77, 10019, 5411, 289, 3639, 289, 3639, 309, 261, 18366, 18, 2469, 1435, 405, 374, 13, 288, 5411, 7717, 18, 1289, 12, 18366, 18, 10492, 10663, 3639, 289, 3639, 327, 261, 780, 63, 5717, 8291, 18, 31447, 12, 2704, 514, 63, 8291, 18, 1467, 1435, 19226, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 514, 8526, 1416, 3234, 1435, 288, 3639, 2407, 7717, 273, 394, 2407, 5621, 3639, 514, 589, 273, 1936, 18, 588, 743, 5621, 3639, 6674, 2393, 273, 394, 6674, 5621, 7734, 364, 12, 474, 277, 273, 374, 16, 963, 273, 589, 18, 2469, 5621, 277, 411, 963, 31, 277, 27245, 288, 5411, 309, 261, 803, 18, 3001, 861, 12, 77, 13, 422, 2023, 747, 589, 18, 3001, 861, 12, 77, 13, 422, 5282, 13, 288, 7734, 309, 261, 18366, 18, 2469, 1435, 405, 374, 13, 288, 10792, 7717, 18, 1289, 12, 18366, 18, 10492, 10663, 10792, 2393, 273, 394, 6674, 5621, 7734, 289, 7734, 368, 358, 1640, 342, 21136, 19, 471, 1736, 13226, 17, 3567, 64, 1390, 7734, 2 ]
ASTNode tagElement = SourceTreeToPsiMap.psiElementToTree(tag); ASTNode childByRole = XmlChildRole.START_TAG_NAME_FINDER.findChild(tagElement); if(childByRole != null) { HighlightInfo highlightInfo = HighlightInfo.createHighlightInfo(type, childByRole, localizedMessage); addToResults(highlightInfo); for (final IntentionAction quickFixAction : quickFixActions) { if (quickFixAction == null) continue; QuickFixAction.registerQuickFixAction(highlightInfo, quickFixAction, null); } } childByRole = XmlChildRole.CLOSING_TAG_NAME_FINDER.findChild(tagElement); if(childByRole != null) { HighlightInfo highlightInfo = HighlightInfo.createHighlightInfo(type, childByRole, localizedMessage); for (final IntentionAction quickFixAction : quickFixActions) { if (quickFixAction == null) continue; QuickFixAction.registerQuickFixAction(highlightInfo, quickFixAction, null); } addToResults(highlightInfo); }
bindMessageToTag(tag, type, 0, tag.getName().length(), localizedMessage, quickFixActions);
private void addElementsForTagWithManyQuickFixes(XmlTag tag, String localizedMessage, HighlightInfoType type, IntentionAction... quickFixActions) { ASTNode tagElement = SourceTreeToPsiMap.psiElementToTree(tag); ASTNode childByRole = XmlChildRole.START_TAG_NAME_FINDER.findChild(tagElement); if(childByRole != null) { HighlightInfo highlightInfo = HighlightInfo.createHighlightInfo(type, childByRole, localizedMessage); addToResults(highlightInfo); for (final IntentionAction quickFixAction : quickFixActions) { if (quickFixAction == null) continue; QuickFixAction.registerQuickFixAction(highlightInfo, quickFixAction, null); } } childByRole = XmlChildRole.CLOSING_TAG_NAME_FINDER.findChild(tagElement); if(childByRole != null) { HighlightInfo highlightInfo = HighlightInfo.createHighlightInfo(type, childByRole, localizedMessage); for (final IntentionAction quickFixAction : quickFixActions) { if (quickFixAction == null) continue; QuickFixAction.registerQuickFixAction(highlightInfo, quickFixAction, null); } addToResults(highlightInfo); } }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/b3812ea37dd2b5760daf197ee45188d03ac69068/XmlHighlightVisitor.java/clean/codeInsight/impl/com/intellij/codeInsight/daemon/impl/analysis/XmlHighlightVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 527, 3471, 1290, 1805, 1190, 5594, 13663, 8585, 281, 12, 4432, 1805, 1047, 16, 4766, 10402, 514, 13596, 1079, 16, 4766, 10402, 31386, 966, 559, 618, 16, 4766, 10402, 3094, 5054, 1803, 2777, 9549, 8585, 6100, 13, 288, 565, 9183, 907, 1047, 1046, 273, 4998, 2471, 774, 52, 7722, 863, 18, 24275, 1046, 774, 2471, 12, 2692, 1769, 565, 9183, 907, 1151, 858, 2996, 273, 5714, 1763, 2996, 18, 7570, 67, 7927, 67, 1985, 67, 22312, 18, 4720, 1763, 12, 2692, 1046, 1769, 565, 309, 12, 3624, 858, 2996, 480, 446, 13, 288, 1377, 31386, 966, 8839, 966, 273, 31386, 966, 18, 2640, 16205, 966, 12, 723, 16, 1151, 858, 2996, 16, 13596, 1079, 1769, 1377, 9604, 3447, 12, 15978, 966, 1769, 1377, 364, 261, 6385, 3094, 5054, 1803, 9549, 8585, 1803, 294, 9549, 8585, 6100, 13, 288, 3639, 309, 261, 19525, 8585, 1803, 422, 446, 13, 1324, 31, 3639, 19884, 8585, 1803, 18, 4861, 13663, 8585, 1803, 12, 15978, 966, 16, 9549, 8585, 1803, 16, 446, 1769, 1377, 289, 565, 289, 565, 1151, 858, 2996, 273, 5714, 1763, 2996, 18, 22693, 23708, 67, 7927, 67, 1985, 67, 22312, 18, 4720, 1763, 12, 2692, 1046, 1769, 565, 309, 12, 3624, 858, 2996, 480, 446, 13, 288, 1377, 31386, 966, 8839, 966, 273, 31386, 966, 18, 2640, 16205, 966, 12, 723, 16, 1151, 858, 2996, 16, 13596, 1079, 1769, 1377, 364, 261, 6385, 3094, 5054, 1803, 9549, 8585, 1803, 294, 9549, 8585, 6100, 13, 288, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 527, 3471, 1290, 1805, 1190, 5594, 13663, 8585, 281, 12, 4432, 1805, 1047, 16, 4766, 10402, 514, 13596, 1079, 16, 4766, 10402, 31386, 966, 559, 618, 16, 4766, 10402, 3094, 5054, 1803, 2777, 9549, 8585, 6100, 13, 288, 565, 9183, 907, 1047, 1046, 273, 4998, 2471, 774, 52, 7722, 863, 18, 24275, 1046, 774, 2471, 12, 2692, 1769, 565, 9183, 907, 1151, 858, 2996, 273, 5714, 1763, 2996, 18, 7570, 67, 7927, 67, 1985, 67, 22312, 18, 4720, 1763, 12, 2692, 1046, 1769, 565, 309, 12, 3624, 858, 2996, 480, 446, 13, 288, 1377, 31386, 966, 8839, 966, 273, 31386, 966, 18, 2640, 16205, 966, 12, 723, 16, 1151, 858, 2996, 16, 13596, 1079, 1769, 1377, 2 ]
properties = x;
properties = p;
public void setDocumentProperties(Dictionary x) { // FIXME: make me thread-safe properties = x; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/72da40e5e4e3a49848a07aeb7fb7c8735af24ae0/AbstractDocument.java/buggy/core/src/classpath/javax/javax/swing/text/AbstractDocument.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 444, 2519, 2297, 12, 10905, 619, 13, 565, 288, 565, 368, 9852, 30, 1221, 1791, 2650, 17, 4626, 565, 1790, 273, 293, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 444, 2519, 2297, 12, 10905, 619, 13, 565, 288, 565, 368, 9852, 30, 1221, 1791, 2650, 17, 4626, 565, 1790, 273, 293, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
asm.emitMOVZX_Reg_RegIdx_Word(T0, T0, S0, asm.BYTE, NO_SLOT);
asm.emitMOVZX_Reg_RegIdx_Word(T0, T0, S0, VM_Assembler.BYTE, NO_SLOT);
private final boolean genMagic (VM_MethodReference m) { VM_Atom methodName = m.getName(); if (m.getType() == VM_TypeReference.Address) { // Address magic VM_TypeReference[] types = m.getParameterTypes(); // Loads all take the form: // ..., Address, [Offset] -> ..., Value if (methodName == VM_MagicNames.loadAddress || methodName == VM_MagicNames.prepareAddress || methodName == VM_MagicNames.prepareObjectReference || methodName == VM_MagicNames.loadWord || methodName == VM_MagicNames.loadObjectReference || methodName == VM_MagicNames.prepareWord || methodName == VM_MagicNames.loadInt || methodName == VM_MagicNames.prepareInt || methodName == VM_MagicNames.loadFloat) { if (types.length == 0) { // No offset asm.emitPOP_Reg(T0); // address asm.emitPUSH_RegInd(T0); // pushes [T0+0] } else { // Load at offset asm.emitPOP_Reg (S0); // offset asm.emitPOP_Reg (T0); // object ref asm.emitPUSH_RegIdx(T0, S0, asm.BYTE, NO_SLOT); // pushes [T0+S0] } return true; } if (methodName == VM_MagicNames.loadByte) { if (types.length == 0) { // No offset asm.emitPOP_Reg (T0); // base asm.emitMOVZX_Reg_RegInd_Byte(T0, T0) ; asm.emitPUSH_Reg (T0); } else { // Load at offset asm.emitPOP_Reg (S0); // offset asm.emitPOP_Reg (T0); // base asm.emitMOVZX_Reg_RegIdx_Byte(T0, T0, S0, asm.BYTE, NO_SLOT); // load and zero extend byte [T0+S0] asm.emitPUSH_Reg (T0); } return true; } if (methodName == VM_MagicNames.loadShort || methodName == VM_MagicNames.loadChar) { if (types.length == 0) { // No offset asm.emitPOP_Reg (T0); // base asm.emitMOVZX_Reg_RegInd_Word(T0, T0); asm.emitPUSH_Reg (T0); } else { // Load at offset asm.emitPOP_Reg (S0); // offset asm.emitPOP_Reg (T0); // base asm.emitMOVZX_Reg_RegIdx_Word(T0, T0, S0, asm.BYTE, NO_SLOT); // load and zero extend word [T0+S0] asm.emitPUSH_Reg (T0); } return true; } if (methodName == VM_MagicNames.loadLong || methodName == VM_MagicNames.loadDouble) { if (types.length == 0) { // No offset throw new RuntimeException("Magic not implemented"); } else { // Load at offset asm.emitPOP_Reg (S0); // offset asm.emitPOP_Reg (T0); // base asm.emitPUSH_RegIdx(T0, S0, asm.BYTE, ONE_SLOT); // pushes [T0+S0+4] asm.emitPUSH_RegIdx(T0, S0, asm.BYTE, NO_SLOT); // pushes [T0+S0] } return true; } // Stores all take the form: // ..., Address, [Offset], Value -> ... if (methodName == VM_MagicNames.store) { // Always at least one parameter to a store. // First parameter is the type to be stored. VM_TypeReference storeType = types[0]; if (storeType == VM_TypeReference.Int || storeType == VM_TypeReference.Address || storeType == VM_TypeReference.ObjectReference || storeType == VM_TypeReference.Word || storeType == VM_TypeReference.Float) { if (types.length == 1) { // No offset asm.emitPOP_Reg(T0); // value asm.emitPOP_Reg(S0); // address asm.emitMOV_RegInd_Reg(S0,T0); // [S0+0] <- T0 } else { // Store at offset asm.emitPOP_Reg(S0); // offset asm.emitPOP_Reg(T0); // value asm.emitPOP_Reg(T1); // address asm.emitMOV_RegIdx_Reg(T1, S0, asm.BYTE, NO_SLOT, T0); // [T1+S0] <- T0 } return true; } if (storeType == VM_TypeReference.Byte) { if (types.length == 1) { // No offset asm.emitPOP_Reg(T0); // value asm.emitPOP_Reg(T1); // base asm.emitMOV_RegInd_Reg_Byte(T1, T0); } else { // Store at offset asm.emitPOP_Reg(S0); // offset asm.emitPOP_Reg(T0); // value asm.emitPOP_Reg(T1); // base asm.emitMOV_RegIdx_Reg_Byte(T1, S0, asm.BYTE, NO_SLOT, T0); // [T1+S0] <- (byte) T0 } return true; } if (storeType == VM_TypeReference.Short || storeType == VM_TypeReference.Char) { if (types.length == 1) { // No offset asm.emitPOP_Reg(T0); // value asm.emitPOP_Reg(T1); // base asm.emitMOV_RegInd_Reg_Word(T1, T0); } else { // Store at offset asm.emitPOP_Reg(S0); // offset asm.emitPOP_Reg(T0); // value asm.emitPOP_Reg(T1); // base asm.emitMOV_RegIdx_Reg_Word(T1, S0, asm.BYTE, NO_SLOT, T0); // [T1+S0] <- (word) T0 } return true; } if (storeType == VM_TypeReference.Double || storeType == VM_TypeReference.Long) { if (types.length == 1) { // No offset throw new RuntimeException("Magic not implemented"); } else { // Store at offset asm.emitMOV_Reg_RegDisp(T0, SP, ONE_SLOT); // value high asm.emitMOV_Reg_RegInd (S0, SP); // offset asm.emitMOV_Reg_RegDisp(T1, SP, THREE_SLOTS); // base asm.emitMOV_RegIdx_Reg (T1, S0, asm.BYTE, NO_SLOT, T0); // [T1+S0] <- T0 asm.emitMOV_Reg_RegDisp(T0, SP, TWO_SLOTS); // value low asm.emitMOV_RegIdx_Reg (T1, S0, asm.BYTE, ONE_SLOT, T0); // [T1+S0+4] <- T0 asm.emitADD_Reg_Imm (SP, WORDSIZE * 4); // pop stack locations } return true; } } else if (methodName == VM_MagicNames.attempt) { // All attempts are similar 32 bit values. if (types.length == 3) { // Offset passed asm.emitPOP_Reg (S0); // S0 = offset } asm.emitPOP_Reg (T1); // newVal asm.emitPOP_Reg (EAX); // oldVal (EAX is implicit arg to LCMPX if (types.length == 3) { asm.emitADD_Reg_RegInd(S0, SP); // S0 += base } else { // No offset asm.emitMOV_Reg_RegInd(S0, SP); // S0 = base } asm.emitLockNextInstruction(); asm.emitCMPXCHG_RegInd_Reg (S0, T1); // atomic compare-and-exchange asm.emitMOV_RegInd_Imm (SP, 0); // 'push' false (overwriting base) VM_ForwardReference fr = asm.forwardJcc(asm.NE); // skip if compare fails asm.emitMOV_RegInd_Imm (SP, 1); // 'push' true (overwriting base) fr.resolve(asm); return true; } } if (methodName == VM_MagicNames.attemptInt || methodName == VM_MagicNames.attemptObject || methodName == VM_MagicNames.attemptAddress || methodName == VM_MagicNames.attemptWord) { // attempt gets called with four arguments: base, offset, oldVal, newVal // returns ([base+offset] == oldVal) // if ([base+offset] == oldVal) [base+offset] := newVal // (operation on memory is atomic) asm.emitPOP_Reg (T1); // newVal asm.emitPOP_Reg (EAX); // oldVal (EAX is implicit arg to LCMPXCNG asm.emitPOP_Reg (S0); // S0 = offset asm.emitADD_Reg_RegInd(S0, SP); // S0 += base asm.emitLockNextInstruction(); asm.emitCMPXCHG_RegInd_Reg (S0, T1); // atomic compare-and-exchange asm.emitMOV_RegInd_Imm (SP, 0); // 'push' false (overwriting base) VM_ForwardReference fr = asm.forwardJcc(asm.NE); // skip if compare fails asm.emitMOV_RegInd_Imm (SP, 1); // 'push' true (overwriting base) fr.resolve(asm); return true; } if (methodName == VM_MagicNames.invokeMain) { // invokeMain gets "called" with two arguments: // String[] mainArgs // the arguments to the main method // INSTRUCTION[] mainCode // the code for the main method asm.emitPOP_Reg (S0); // genParameterRegisterLoad(1); // pass 1 parameter word asm.emitCALL_Reg(S0); // branches to mainCode with mainArgs on the stack return true; } if (methodName == VM_MagicNames.saveThreadState) { Offset offset = VM_Entrypoints.saveThreadStateInstructionsField.getOffset(); genParameterRegisterLoad(1); // pass 1 parameter word asm.emitCALL_RegDisp(JTOC, offset); return true; } if (methodName == VM_MagicNames.threadSwitch) { Offset offset = VM_Entrypoints.threadSwitchInstructionsField.getOffset(); genParameterRegisterLoad(2); // pass 2 parameter words asm.emitCALL_RegDisp(JTOC, offset); return true; } if (methodName == VM_MagicNames.restoreHardwareExceptionState) { Offset offset = VM_Entrypoints.restoreHardwareExceptionStateInstructionsField.getOffset(); genParameterRegisterLoad(1); // pass 1 parameter word asm.emitCALL_RegDisp(JTOC, offset); return true; } if (methodName == VM_MagicNames.invokeClassInitializer) { asm.emitPOP_Reg (S0); asm.emitCALL_Reg(S0); // call address just popped return true; } if (m.getType() == VM_TypeReference.SysCall) { VM_TypeReference[] args = m.getParameterTypes(); VM_TypeReference rtype = m.getReturnType(); Offset offsetToJavaArg = THREE_SLOTS; // the three regs saved in (2) int paramBytes = 0; // (1) save three RVM nonvolatile/special registers // we don't have to save EBP: the callee will // treat it as a framepointer and save/restore // it for us. asm.emitPUSH_Reg(EBX); asm.emitPUSH_Reg(ESI); asm.emitPUSH_Reg(EDI); // (2) Push args to target function (reversed) for (int i=args.length-1; i>=0; i--) { VM_TypeReference arg = args[i]; if (arg.isLongType() || arg.isDoubleType()) { asm.emitPUSH_RegDisp(SP, offsetToJavaArg.add(4)); asm.emitPUSH_RegDisp(SP, offsetToJavaArg.add(4)); offsetToJavaArg = offsetToJavaArg.add(16); paramBytes += 8; } else { asm.emitPUSH_RegDisp(SP, offsetToJavaArg); offsetToJavaArg = offsetToJavaArg.add(8); paramBytes += 4; } } // (3) invoke target function VM_Field ip = VM_Entrypoints.getSysCallField(m.getName().toString()); asm.emitMOV_Reg_RegDisp(S0, JTOC, VM_Entrypoints.the_boot_recordField.getOffset()); asm.emitCALL_RegDisp(S0, ip.getOffset()); // (4) pop space for arguments asm.emitADD_Reg_Imm(SP, paramBytes); // (5) restore RVM registers asm.emitPOP_Reg(EDI); asm.emitPOP_Reg(ESI); asm.emitPOP_Reg(EBX); // (6) pop expression stack asm.emitADD_Reg_Imm(SP, paramBytes); // (7) push return value if (rtype.isLongType()) { asm.emitPUSH_Reg(T1); asm.emitPUSH_Reg(T0); } else if (rtype.isDoubleType()) { asm.emitSUB_Reg_Imm(SP, 8); asm.emitFSTP_RegInd_Reg_Quad(SP, FP0); } else if (rtype.isFloatType()) { asm.emitSUB_Reg_Imm(SP, 4); asm.emitFSTP_RegInd_Reg(SP, FP0); } else if (!rtype.isVoidType()) { asm.emitPUSH_Reg(T0); } return true; } if (methodName == VM_MagicNames.getFramePointer) { asm.emitLEA_Reg_RegDisp(S0, SP, fp2spOffset(NO_SLOT)); asm.emitPUSH_Reg (S0); return true; } if (methodName == VM_MagicNames.getCallerFramePointer) { asm.emitPOP_Reg(T0); // Callee FP asm.emitPUSH_RegDisp(T0, Offset.fromIntSignExtend(STACKFRAME_FRAME_POINTER_OFFSET)); // Caller FP return true; } if (methodName == VM_MagicNames.setCallerFramePointer) { asm.emitPOP_Reg(T0); // value asm.emitPOP_Reg(S0); // fp asm.emitMOV_RegDisp_Reg(S0, Offset.fromIntSignExtend(STACKFRAME_FRAME_POINTER_OFFSET), T0); // [S0+SFPO] <- T0 return true; } if (methodName == VM_MagicNames.getCompiledMethodID) { asm.emitPOP_Reg(T0); // Callee FP asm.emitPUSH_RegDisp(T0, Offset.fromIntSignExtend(STACKFRAME_METHOD_ID_OFFSET)); // Callee CMID return true; } if (methodName == VM_MagicNames.setCompiledMethodID) { asm.emitPOP_Reg(T0); // value asm.emitPOP_Reg(S0); // fp asm.emitMOV_RegDisp_Reg(S0, Offset.fromIntSignExtend(STACKFRAME_METHOD_ID_OFFSET), T0); // [S0+SMIO] <- T0 return true; } if (methodName == VM_MagicNames.getReturnAddressLocation) { asm.emitPOP_Reg(T0); // Callee FP asm.emitADD_Reg_Imm(T0, STACKFRAME_RETURN_ADDRESS_OFFSET); // location containing callee return address asm.emitPUSH_Reg(T0); // Callee return address return true; } if (methodName == VM_MagicNames.getTocPointer || methodName == VM_MagicNames.getJTOC ) { asm.emitPUSH_Reg(JTOC); return true; } // get the processor register (PR) if (methodName == VM_MagicNames.getProcessorRegister) { asm.emitPUSH_Reg(PR); return true; } // set the processor register (PR) if (methodName == VM_MagicNames.setProcessorRegister) { asm.emitPOP_Reg(PR); return true; } // Get the value in ESI if (methodName == VM_MagicNames.getESIAsProcessor) { asm.emitPUSH_Reg(ESI); return true; } // Set the value in ESI if (methodName == VM_MagicNames.setESIAsProcessor) { asm.emitPOP_Reg(ESI); return true; } if (methodName == VM_MagicNames.getIntAtOffset || methodName == VM_MagicNames.getWordAtOffset || methodName == VM_MagicNames.getObjectAtOffset || methodName == VM_MagicNames.getObjectArrayAtOffset || methodName == VM_MagicNames.prepareInt || methodName == VM_MagicNames.prepareObject || methodName == VM_MagicNames.prepareAddress || methodName == VM_MagicNames.prepareWord) { asm.emitPOP_Reg (T0); // object ref asm.emitPOP_Reg (S0); // offset asm.emitPUSH_RegIdx(T0, S0, asm.BYTE, NO_SLOT); // pushes [T0+S0] return true; } if (methodName == VM_MagicNames.getByteAtOffset) { asm.emitPOP_Reg (T0); // object ref asm.emitPOP_Reg (S0); // offset asm.emitMOVZX_Reg_RegIdx_Byte(T0, T0, S0, asm.BYTE, NO_SLOT); // load and zero extend byte [T0+S0] asm.emitPUSH_Reg (T0); return true; } if (methodName == VM_MagicNames.getCharAtOffset) { asm.emitPOP_Reg (T0); // object ref asm.emitPOP_Reg (S0); // offset asm.emitMOVZX_Reg_RegIdx_Word(T0, T0, S0, asm.BYTE, NO_SLOT); // load and zero extend char [T0+S0] asm.emitPUSH_Reg (T0); return true; } if (methodName == VM_MagicNames.setIntAtOffset || methodName == VM_MagicNames.setWordAtOffset || methodName == VM_MagicNames.setObjectAtOffset ) { if (m.getParameterTypes().length == 4) { // discard locationMetadata parameter asm.emitPOP_Reg(T0); // locationMetadata, not needed by baseline compiler. } asm.emitPOP_Reg(T0); // value asm.emitPOP_Reg(S0); // offset asm.emitPOP_Reg(T1); // obj ref asm.emitMOV_RegIdx_Reg(T1, S0, asm.BYTE, NO_SLOT, T0); // [T1+S0] <- T0 return true; } if (methodName == VM_MagicNames.setByteAtOffset) { asm.emitPOP_Reg(T0); // value asm.emitPOP_Reg(S0); // offset asm.emitPOP_Reg(T1); // obj ref asm.emitMOV_RegIdx_Reg_Byte(T1, S0, asm.BYTE, NO_SLOT, T0); // [T1+S0] <- (byte) T0 return true; } if (methodName == VM_MagicNames.setCharAtOffset) { asm.emitPOP_Reg(T0); // value asm.emitPOP_Reg(S0); // offset asm.emitPOP_Reg(T1); // obj ref asm.emitMOV_RegIdx_Reg_Word(T1, S0, asm.BYTE, NO_SLOT, T0); // [T1+S0] <- (char) T0 return true; } if (methodName == VM_MagicNames.getLongAtOffset || methodName == VM_MagicNames.getDoubleAtOffset) { asm.emitPOP_Reg (T0); // object ref asm.emitPOP_Reg (S0); // offset asm.emitPUSH_RegIdx(T0, S0, asm.BYTE, ONE_SLOT); // pushes [T0+S0+4] asm.emitPUSH_RegIdx(T0, S0, asm.BYTE, NO_SLOT); // pushes [T0+S0] return true; } if (methodName == VM_MagicNames.setLongAtOffset || methodName == VM_MagicNames.setDoubleAtOffset) { asm.emitMOV_Reg_RegInd (T0, SP); // value high asm.emitMOV_Reg_RegDisp(S0, SP, TWO_SLOTS ); // offset asm.emitMOV_Reg_RegDisp(T1, SP, THREE_SLOTS); // obj ref asm.emitMOV_RegIdx_Reg (T1, S0, asm.BYTE, NO_SLOT, T0); // [T1+S0] <- T0 asm.emitMOV_Reg_RegDisp(T0, SP, ONE_SLOT ); // value low asm.emitMOV_RegIdx_Reg (T1, S0, asm.BYTE, ONE_SLOT, T0); // [T1+S0+4] <- T0 asm.emitADD_Reg_Imm (SP, WORDSIZE * 4); // pop stack locations return true; } if (methodName == VM_MagicNames.addressArrayCreate) { // no resolution problem possible. emit_resolved_newarray(m.getType().resolve().asArray()); return true; } if (methodName == VM_MagicNames.addressArrayLength) { emit_arraylength(); // argument order already correct return true; } if (methodName == VM_MagicNames.addressArrayGet) { if (m.getType() == VM_TypeReference.CodeArray) { emit_baload(); } else { if (VM.BuildFor32Addr) { emit_iaload(); } else if (VM.BuildFor64Addr) { emit_laload(); } else { VM._assert(NOT_REACHED); } } return true; } if (methodName == VM_MagicNames.addressArraySet) { if (m.getType() == VM_TypeReference.CodeArray) { emit_bastore(); } else { if (VM.BuildFor32Addr) { emit_iastore(); } else if (VM.BuildFor64Addr) { VM._assert(false); // not implemented } else { VM._assert(NOT_REACHED); } } return true; } if (methodName == VM_MagicNames.getMemoryInt || methodName == VM_MagicNames.getMemoryWord || methodName == VM_MagicNames.getMemoryAddress) { asm.emitPOP_Reg(T0); // address asm.emitPUSH_RegInd(T0); // pushes [T0+0] return true; } if (methodName == VM_MagicNames.setMemoryInt || methodName == VM_MagicNames.setMemoryWord || methodName == VM_MagicNames.setMemoryAddress) { if (m.getParameterTypes().length == 3) { // discard locationMetadata parameter asm.emitPOP_Reg(T0); // locationMetadata, not needed by baseline compiler. } asm.emitPOP_Reg(T0); // value asm.emitPOP_Reg(S0); // address asm.emitMOV_RegInd_Reg(S0,T0); // [S0+0] <- T0 return true; } if (methodName == VM_MagicNames.objectAsAddress || methodName == VM_MagicNames.addressAsByteArray || methodName == VM_MagicNames.addressAsIntArray || methodName == VM_MagicNames.addressAsObject || methodName == VM_MagicNames.addressAsObjectArray || methodName == VM_MagicNames.addressAsType || methodName == VM_MagicNames.objectAsType || methodName == VM_MagicNames.objectAsShortArray || methodName == VM_MagicNames.objectAsByteArray || methodName == VM_MagicNames.objectAsIntArray || methodName == VM_MagicNames.addressAsThread || methodName == VM_MagicNames.objectAsThread || methodName == VM_MagicNames.objectAsProcessor || methodName == VM_MagicNames.threadAsCollectorThread || methodName == VM_MagicNames.addressAsRegisters || methodName == VM_MagicNames.addressAsStack || methodName == VM_MagicNames.floatAsIntBits || methodName == VM_MagicNames.intBitsAsFloat || methodName == VM_MagicNames.doubleAsLongBits || methodName == VM_MagicNames.longBitsAsDouble) { // no-op (a type change, not a representation change) return true; } // code for VM_Type VM_Magic.getObjectType(Object object) if (methodName == VM_MagicNames.getObjectType) { asm.emitPOP_Reg (T0); // object ref VM_ObjectModel.baselineEmitLoadTIB(asm,S0,T0); asm.emitPUSH_RegDisp(S0, Offset.fromIntZeroExtend(TIB_TYPE_INDEX<<LG_WORDSIZE)); // push VM_Type slot of TIB return true; } if (methodName == VM_MagicNames.getArrayLength) { asm.emitPOP_Reg(T0); // object ref asm.emitPUSH_RegDisp(T0, VM_ObjectModel.getArrayLengthOffset()); return true; } if (methodName == VM_MagicNames.sync) { // nothing required on IA32 return true; } if (methodName == VM_MagicNames.isync) { // nothing required on IA32 return true; } // baseline compiled invocation only: all paramaters on the stack // hi mem // Code // GPRs // FPRs // Spills // low-mem if (methodName == VM_MagicNames.invokeMethodReturningVoid) { Offset offset = VM_Entrypoints.reflectiveMethodInvokerInstructionsField.getOffset(); genParameterRegisterLoad(4); // pass 4 parameter words asm.emitCALL_RegDisp(JTOC, offset); return true; } if (methodName == VM_MagicNames.invokeMethodReturningInt) { Offset offset = VM_Entrypoints.reflectiveMethodInvokerInstructionsField.getOffset(); genParameterRegisterLoad(4); // pass 4 parameter words asm.emitCALL_RegDisp(JTOC, offset); asm.emitPUSH_Reg(T0); return true; } if (methodName == VM_MagicNames.invokeMethodReturningLong) { Offset offset = VM_Entrypoints.reflectiveMethodInvokerInstructionsField.getOffset(); genParameterRegisterLoad(4); // pass 4 parameter words asm.emitCALL_RegDisp(JTOC, offset); asm.emitPUSH_Reg(T0); // high half asm.emitPUSH_Reg(T1); // low half return true; } if (methodName == VM_MagicNames.invokeMethodReturningFloat) { Offset offset = VM_Entrypoints.reflectiveMethodInvokerInstructionsField.getOffset(); genParameterRegisterLoad(4); // pass 4 parameter words asm.emitCALL_RegDisp(JTOC, offset); asm.emitSUB_Reg_Imm (SP, 4); asm.emitFSTP_RegInd_Reg(SP, FP0); return true; } if (methodName == VM_MagicNames.invokeMethodReturningDouble) { Offset offset = VM_Entrypoints.reflectiveMethodInvokerInstructionsField.getOffset(); genParameterRegisterLoad(4); // pass 4 parameter words asm.emitCALL_RegDisp(JTOC, offset); asm.emitSUB_Reg_Imm (SP, 8); asm.emitFSTP_RegInd_Reg_Quad(SP, FP0); return true; } if (methodName == VM_MagicNames.invokeMethodReturningObject) { Offset offset = VM_Entrypoints.reflectiveMethodInvokerInstructionsField.getOffset(); genParameterRegisterLoad(4); // pass 4 parameter words asm.emitCALL_RegDisp(JTOC, offset); asm.emitPUSH_Reg(T0); return true; } // baseline invocation // one paramater, on the stack -- actual code if (methodName == VM_MagicNames.dynamicBridgeTo) { if (VM.VerifyAssertions) VM._assert(klass.isDynamicBridge()); // save the branch address for later asm.emitPOP_Reg (S0); // S0<-code address asm.emitADD_Reg_Imm(SP, fp2spOffset(NO_SLOT).toInt() - 4); // just popped 4 bytes above. // restore FPU state asm.emitFRSTOR_RegDisp(SP, FPU_SAVE_OFFSET); // restore GPRs asm.emitMOV_Reg_RegDisp (T0, SP, T0_SAVE_OFFSET); asm.emitMOV_Reg_RegDisp (T1, SP, T1_SAVE_OFFSET); asm.emitMOV_Reg_RegDisp (EBX, SP, EBX_SAVE_OFFSET); asm.emitMOV_Reg_RegDisp (JTOC, SP, JTOC_SAVE_OFFSET); // pop frame asm.emitPOP_RegDisp (PR, VM_Entrypoints.framePointerField.getOffset()); // FP<-previous FP // branch asm.emitJMP_Reg (S0); return true; } if (methodName == VM_MagicNames.returnToNewStack) { // SP gets frame pointer for new stack asm.emitPOP_Reg (SP); // restore nonvolatile registers asm.emitMOV_Reg_RegDisp (JTOC, SP, JTOC_SAVE_OFFSET); asm.emitMOV_Reg_RegDisp (EBX, SP, EBX_SAVE_OFFSET); // discard current stack frame asm.emitPOP_RegDisp (PR, VM_Entrypoints.framePointerField.getOffset()); // return to caller- pop parameters from stack asm.emitRET_Imm(parameterWords << LG_WORDSIZE); return true; } if (methodName == VM_MagicNames.roundToZero) { // Store the FPU Control Word to a JTOC slot asm.emitFNSTCW_RegDisp(JTOC, VM_Entrypoints.FPUControlWordField.getOffset()); // Set the bits in the status word that control round to zero. // Note that we use a 32-bit OR, even though we only care about the // low-order 16 bits asm.emitOR_RegDisp_Imm(JTOC,VM_Entrypoints.FPUControlWordField.getOffset(), 0x00000c00); // Now store the result back into the FPU Control Word asm.emitFLDCW_RegDisp(JTOC,VM_Entrypoints.FPUControlWordField.getOffset()); return true; } if (methodName == VM_MagicNames.clearFloatingPointState) { // Clear the hardware floating-point state asm.emitFNINIT(); return true; } if (methodName == VM_MagicNames.getTimeBase) { asm.emitRDTSC(); // read timestamp counter instruction asm.emitPUSH_Reg(EDX); // upper 32 bits asm.emitPUSH_Reg(EAX); // lower 32 bits return true; } if (methodName == VM_MagicNames.wordFromInt || methodName == VM_MagicNames.wordFromObject || methodName == VM_MagicNames.wordFromIntZeroExtend || methodName == VM_MagicNames.wordFromIntSignExtend || methodName == VM_MagicNames.wordToInt || methodName == VM_MagicNames.wordToAddress || methodName == VM_MagicNames.wordToOffset || methodName == VM_MagicNames.wordToObject || methodName == VM_MagicNames.wordToObjectReference || methodName == VM_MagicNames.wordToExtent || methodName == VM_MagicNames.wordToWord) { if (VM.BuildFor32Addr) return true; // no-op for 32-bit if (VM.VerifyAssertions) VM._assert(false); } if (methodName == VM_MagicNames.wordToLong) { if (VM.BuildFor32Addr) { asm.emitPOP_Reg(T0); asm.emitPUSH_Imm(0); // upper 32 bits asm.emitPUSH_Reg(T0); // lower 32 bits return true; } // else fill unused stackslot if (VM.VerifyAssertions) VM._assert(false); } if (methodName == VM_MagicNames.wordAnd) { asm.emitPOP_Reg(T0); asm.emitAND_RegInd_Reg(SP, T0); return true; } if (methodName == VM_MagicNames.wordOr) { asm.emitPOP_Reg(T0); asm.emitOR_RegInd_Reg(SP, T0); return true; } if (methodName == VM_MagicNames.wordXor) { asm.emitPOP_Reg(T0); asm.emitXOR_RegInd_Reg(SP, T0); return true; } if (methodName == VM_MagicNames.wordNot) { asm.emitNOT_RegInd (SP); return true; } if (methodName == VM_MagicNames.wordAdd) { asm.emitPOP_Reg(T0); asm.emitADD_RegInd_Reg(SP, T0); return true; } if (methodName == VM_MagicNames.wordSub || methodName == VM_MagicNames.wordDiff) { asm.emitPOP_Reg(T0); asm.emitSUB_RegInd_Reg(SP, T0); return true; } if (methodName == VM_MagicNames.wordZero || methodName == VM_MagicNames.wordNull) { asm.emitPUSH_Imm(0); return true; } if (methodName == VM_MagicNames.wordOne) { asm.emitPUSH_Imm(1); return true; } if (methodName == VM_MagicNames.wordMax) { asm.emitPUSH_Imm(-1); return true; } if (methodName == VM_MagicNames.wordLT) { generateAddrComparison(asm.LLT); return true; } if (methodName == VM_MagicNames.wordLE) { generateAddrComparison(asm.LLE); return true; } if (methodName == VM_MagicNames.wordGT) { generateAddrComparison(asm.LGT); return true; } if (methodName == VM_MagicNames.wordGE) { generateAddrComparison(asm.LGE); return true; } if (methodName == VM_MagicNames.wordsLT) { generateAddrComparison(asm.LT); return true; } if (methodName == VM_MagicNames.wordsLE) { generateAddrComparison(asm.LE); return true; } if (methodName == VM_MagicNames.wordsGT) { generateAddrComparison(asm.GT); return true; } if (methodName == VM_MagicNames.wordsGE) { generateAddrComparison(asm.GE); return true; } if (methodName == VM_MagicNames.wordEQ) { generateAddrComparison(asm.EQ); return true; } if (methodName == VM_MagicNames.wordNE) { generateAddrComparison(asm.NE); return true; } if (methodName == VM_MagicNames.wordIsZero) { asm.emitPUSH_Imm(0); generateAddrComparison(asm.EQ); return true; } if (methodName == VM_MagicNames.wordIsNull) { asm.emitPUSH_Imm(0); generateAddrComparison(asm.EQ); return true; } if (methodName == VM_MagicNames.wordIsMax) { asm.emitPUSH_Imm(-1); generateAddrComparison(asm.EQ); return true; } if (methodName == VM_MagicNames.wordLsh) { if (VM.BuildFor32Addr) { asm.emitPOP_Reg(ECX); asm.emitSHL_RegInd_Reg(SP, ECX); } else VM._assert(false); return true; } if (methodName == VM_MagicNames.wordRshl) { if (VM.BuildFor32Addr) { asm.emitPOP_Reg (ECX); asm.emitSHR_RegInd_Reg (SP, ECX); } else VM._assert(false); return true; } if (methodName == VM_MagicNames.wordRsha) { if (VM.BuildFor32Addr) { asm.emitPOP_Reg (ECX); asm.emitSAR_RegInd_Reg (SP, ECX); } else VM._assert(false); return true; } return false; }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/b456534d9b99de463325c8cc3907b41fc605cb4c/VM_Compiler.java/clean/rvm/src/vm/arch/intel/compilers/baseline/VM_Compiler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 727, 1250, 3157, 19289, 261, 7397, 67, 1305, 2404, 312, 13, 288, 565, 8251, 67, 3641, 4918, 273, 312, 18, 17994, 5621, 565, 309, 261, 81, 18, 588, 559, 1435, 422, 8251, 67, 7534, 18, 1887, 13, 288, 1377, 368, 5267, 8146, 1377, 8251, 67, 7534, 8526, 1953, 273, 312, 18, 588, 1662, 2016, 5621, 1377, 368, 4444, 87, 777, 4862, 326, 646, 30, 1377, 368, 1372, 16, 5267, 16, 306, 2335, 65, 317, 1372, 16, 1445, 1377, 309, 261, 2039, 461, 422, 8251, 67, 19289, 1557, 18, 945, 1887, 747, 1850, 4918, 422, 8251, 67, 19289, 1557, 18, 9366, 1887, 747, 1850, 4918, 422, 8251, 67, 19289, 1557, 18, 9366, 22101, 747, 1850, 4918, 422, 8251, 67, 19289, 1557, 18, 945, 3944, 747, 1850, 4918, 422, 8251, 67, 19289, 1557, 18, 945, 22101, 747, 1850, 4918, 422, 8251, 67, 19289, 1557, 18, 9366, 3944, 747, 1850, 4918, 422, 8251, 67, 19289, 1557, 18, 945, 1702, 747, 1850, 4918, 422, 8251, 67, 19289, 1557, 18, 9366, 1702, 747, 1850, 4918, 422, 8251, 67, 19289, 1557, 18, 945, 4723, 13, 288, 3639, 309, 261, 2352, 18, 2469, 422, 374, 13, 288, 1850, 368, 2631, 1384, 1850, 20415, 18, 18356, 30374, 67, 1617, 12, 56, 20, 1769, 8227, 368, 1758, 1850, 20415, 18, 18356, 30348, 67, 1617, 3866, 12, 56, 20, 1769, 5375, 368, 27351, 306, 56, 20, 15, 20, 65, 3639, 289, 469, 288, 1850, 368, 4444, 622, 1384, 1850, 20415, 18, 18356, 30374, 67, 1617, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 727, 1250, 3157, 19289, 261, 7397, 67, 1305, 2404, 312, 13, 288, 565, 8251, 67, 3641, 4918, 273, 312, 18, 17994, 5621, 565, 309, 261, 81, 18, 588, 559, 1435, 422, 8251, 67, 7534, 18, 1887, 13, 288, 1377, 368, 5267, 8146, 1377, 8251, 67, 7534, 8526, 1953, 273, 312, 18, 588, 1662, 2016, 5621, 1377, 368, 4444, 87, 777, 4862, 326, 646, 30, 1377, 368, 1372, 16, 5267, 16, 306, 2335, 65, 317, 1372, 16, 1445, 1377, 309, 261, 2039, 461, 422, 8251, 67, 19289, 1557, 18, 945, 1887, 747, 1850, 4918, 422, 8251, 67, 19289, 1557, 18, 9366, 1887, 747, 1850, 4918, 422, 8251, 67, 19289, 1557, 18, 9366, 22101, 747, 1850, 4918, 422, 8251, 2 ]
public final void set(String obj) { if (obj == null) setNil(); else { synchronized (monitor()) { set_prepare(); set_String(obj); /* strings are special, so set_String does its own commit.*/ } } }
public final void set(boolean v) { synchronized (monitor()) { set_prepare(); set_boolean(v); set_commit(); } }
public final void set(String obj) { if (obj == null) setNil(); else { synchronized (monitor()) { set_prepare(); set_String(obj); /* strings are special, so set_String does its own commit.*/ } } }
3520 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3520/0cdccfa108d301d666c788e6b900a79a6b88147f/XmlObjectBase.java/buggy/src/typeimpl/org/apache/xmlbeans/impl/values/XmlObjectBase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 918, 444, 12, 780, 1081, 13, 3639, 288, 309, 261, 2603, 422, 446, 13, 444, 12616, 5621, 469, 288, 3852, 261, 10259, 10756, 288, 444, 67, 9366, 5621, 444, 67, 780, 12, 2603, 1769, 1748, 2064, 854, 4582, 16, 1427, 444, 67, 780, 1552, 2097, 4953, 3294, 4509, 19, 289, 289, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 918, 444, 12, 780, 1081, 13, 3639, 288, 309, 261, 2603, 422, 446, 13, 444, 12616, 5621, 469, 288, 3852, 261, 10259, 10756, 288, 444, 67, 9366, 5621, 444, 67, 780, 12, 2603, 1769, 1748, 2064, 854, 4582, 16, 1427, 444, 67, 780, 1552, 2097, 4953, 3294, 4509, 19, 289, 289, 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 ]
animatedData = getImageData(runningRoot);
URL errorRoot = new URL(iconsRoot, ERROR_ICON); animatedData = getImageData(runningRoot, runLoader);
public AnimationItem(IWorkbenchWindow workbenchWindow) { this.window = workbenchWindow; //Get the progress manager started if it hasn't already JobProgressManager.getInstance(); URL iconsRoot = Platform.getPlugin(PlatformUI.PLUGIN_ID).find( new Path(PROGRESS_FOLDER)); try { URL runningRoot = new URL(iconsRoot, RUNNING_ICON); URL backRoot = new URL(iconsRoot, BACKGROUND_ICON); animatedData = getImageData(runningRoot); if (animatedData != null) animatedImage = getImage(animatedData[0]); disabledData = getImageData(backRoot); if (disabledData != null) disabledImage = getImage(disabledData[0]); listener = getProgressListener(); JobProgressManager.getInstance().addListener(listener); } catch (MalformedURLException exception) { ProgressUtil.logException(exception); } }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/cc72ec84df4d93cc632406d8e555ffcc65f0b1b1/AnimationItem.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/AnimationItem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 22685, 1180, 12, 45, 2421, 22144, 3829, 1440, 22144, 3829, 13, 288, 202, 202, 2211, 18, 5668, 273, 1440, 22144, 3829, 31, 202, 202, 759, 967, 326, 4007, 3301, 5746, 309, 518, 13342, 1404, 1818, 202, 202, 2278, 5491, 1318, 18, 588, 1442, 5621, 202, 202, 1785, 17455, 2375, 273, 1082, 202, 8201, 18, 588, 3773, 12, 8201, 5370, 18, 19415, 67, 734, 2934, 4720, 12, 9506, 202, 2704, 2666, 12, 24022, 67, 17357, 10019, 202, 202, 698, 288, 1082, 202, 1785, 3549, 2375, 273, 394, 1976, 12, 14516, 2375, 16, 23574, 67, 21745, 1769, 1082, 202, 1785, 1473, 2375, 273, 394, 1976, 12, 14516, 2375, 16, 29226, 67, 21745, 1769, 1082, 202, 304, 17275, 751, 273, 10567, 751, 12, 8704, 2375, 1769, 1082, 202, 430, 261, 304, 17275, 751, 480, 446, 13, 9506, 202, 304, 17275, 2040, 273, 10567, 12, 304, 17275, 751, 63, 20, 19226, 1082, 202, 9278, 751, 273, 10567, 751, 12, 823, 2375, 1769, 1082, 202, 430, 261, 9278, 751, 480, 446, 13, 9506, 202, 9278, 2040, 273, 10567, 12, 9278, 751, 63, 20, 19226, 1082, 202, 12757, 273, 3570, 2329, 2223, 5621, 1082, 202, 2278, 5491, 1318, 18, 588, 1442, 7675, 1289, 2223, 12, 12757, 1769, 202, 202, 97, 1044, 261, 18695, 20160, 1520, 13, 288, 1082, 202, 5491, 1304, 18, 1330, 503, 12, 4064, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 22685, 1180, 12, 45, 2421, 22144, 3829, 1440, 22144, 3829, 13, 288, 202, 202, 2211, 18, 5668, 273, 1440, 22144, 3829, 31, 202, 202, 759, 967, 326, 4007, 3301, 5746, 309, 518, 13342, 1404, 1818, 202, 202, 2278, 5491, 1318, 18, 588, 1442, 5621, 202, 202, 1785, 17455, 2375, 273, 1082, 202, 8201, 18, 588, 3773, 12, 8201, 5370, 18, 19415, 67, 734, 2934, 4720, 12, 9506, 202, 2704, 2666, 12, 24022, 67, 17357, 10019, 202, 202, 698, 288, 1082, 202, 1785, 3549, 2375, 273, 394, 1976, 12, 14516, 2375, 16, 23574, 67, 21745, 1769, 1082, 202, 1785, 1473, 2375, 273, 394, 1976, 12, 14516, 2375, 16, 29226, 67, 21745, 1769, 1082, 202, 304, 17275, 751, 2 ]
for (Iterator<CallSite> i = selfCalls.callSiteIterator(); i.hasNext(); ) {
for (Iterator<CallSite> i = selfCalls.callSiteIterator(); i.hasNext();) {
private Set<CallSite> findObviouslyLockedCallSites(ClassContext classContext, SelfCalls selfCalls) throws CFGBuilderException, DataflowAnalysisException { ConstantPoolGen cpg = classContext.getConstantPoolGen(); // Find all obviously locked call sites HashSet<CallSite> obviouslyLockedSites = new HashSet<CallSite>(); for (Iterator<CallSite> i = selfCalls.callSiteIterator(); i.hasNext(); ) { CallSite callSite = i.next(); Method method = callSite.getMethod(); Location location = callSite.getLocation(); InstructionHandle handle = location.getHandle(); // Only instance method calls qualify as candidates for // "obviously locked" Instruction ins = handle.getInstruction(); if (ins.getOpcode() == Constants.INVOKESTATIC) continue; // Get lock set for site LockDataflow lockDataflow = classContext.getLockDataflow(method); LockSet lockSet = lockDataflow.getFactAtLocation(location); // Get value number frame for site ValueNumberDataflow vnaDataflow = classContext.getValueNumberDataflow(method); ValueNumberFrame frame = vnaDataflow.getFactAtLocation(location); // NOTE: if the CFG on which the value number analysis was performed // was pruned, there may be unreachable instructions. Therefore, // we can't assume the frame is valid. if (!frame.isValid()) continue; // Find the ValueNumber of the receiver object int numConsumed = ins.consumeStack(cpg); if (numConsumed == Constants.UNPREDICTABLE) throw new AnalysisException("Unpredictable stack consumption: " + handle); //if (DEBUG) System.out.println("Getting receiver for frame: " + frame); ValueNumber instance = frame.getStackValue(numConsumed - 1); // Is the instance locked? int lockCount = lockSet.getLockCount(instance.getNumber()); if (lockCount > 0) { // This is a locked call site obviouslyLockedSites.add(callSite); } } return obviouslyLockedSites; }
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/1d541964940eaa91b52b21469dc5b763fef1d8d1/FindInconsistentSync2.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/detect/FindInconsistentSync2.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1000, 32, 1477, 4956, 34, 1104, 10516, 2084, 715, 8966, 1477, 17055, 12, 797, 1042, 667, 1042, 16, 18954, 10125, 365, 10125, 13, 202, 202, 15069, 7577, 1263, 503, 16, 1910, 2426, 9418, 503, 288, 202, 202, 6902, 2864, 7642, 3283, 75, 273, 667, 1042, 18, 588, 6902, 2864, 7642, 5621, 202, 202, 759, 4163, 777, 28067, 715, 8586, 745, 9180, 202, 202, 13482, 32, 1477, 4956, 34, 28067, 715, 8966, 17055, 273, 394, 6847, 32, 1477, 4956, 34, 5621, 202, 202, 1884, 261, 3198, 32, 1477, 4956, 34, 277, 273, 365, 10125, 18, 1991, 4956, 3198, 5621, 277, 18, 5332, 2134, 5621, 262, 288, 1082, 202, 1477, 4956, 745, 4956, 273, 277, 18, 4285, 5621, 1082, 202, 1305, 707, 273, 745, 4956, 18, 588, 1305, 5621, 1082, 202, 2735, 2117, 273, 745, 4956, 18, 588, 2735, 5621, 1082, 202, 11983, 3259, 1640, 273, 2117, 18, 588, 3259, 5621, 1082, 202, 759, 5098, 791, 707, 4097, 4544, 1164, 487, 7965, 364, 1082, 202, 759, 315, 947, 2084, 715, 8586, 6, 1082, 202, 11983, 2763, 273, 1640, 18, 588, 11983, 5621, 1082, 202, 430, 261, 2679, 18, 588, 22808, 1435, 422, 5245, 18, 706, 17691, 11027, 11781, 13, 9506, 202, 17143, 31, 1082, 202, 759, 968, 2176, 444, 364, 2834, 1082, 202, 2531, 751, 2426, 2176, 751, 2426, 273, 667, 1042, 18, 588, 2531, 751, 2426, 12, 2039, 1769, 1082, 202, 2531, 694, 2176, 694, 273, 2176, 751, 2426, 18, 588, 9766, 861, 2735, 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, 225, 202, 1152, 1000, 32, 1477, 4956, 34, 1104, 10516, 2084, 715, 8966, 1477, 17055, 12, 797, 1042, 667, 1042, 16, 18954, 10125, 365, 10125, 13, 202, 202, 15069, 7577, 1263, 503, 16, 1910, 2426, 9418, 503, 288, 202, 202, 6902, 2864, 7642, 3283, 75, 273, 667, 1042, 18, 588, 6902, 2864, 7642, 5621, 202, 202, 759, 4163, 777, 28067, 715, 8586, 745, 9180, 202, 202, 13482, 32, 1477, 4956, 34, 28067, 715, 8966, 17055, 273, 394, 6847, 32, 1477, 4956, 34, 5621, 202, 202, 1884, 261, 3198, 32, 1477, 4956, 34, 277, 273, 365, 10125, 18, 1991, 4956, 3198, 5621, 277, 18, 5332, 2134, 5621, 262, 288, 1082, 202, 1477, 4956, 745, 4956, 273, 277, 18, 4285, 5621, 2 ]
public static KeyStroke getKeyStroke(int keyCode, int modifiers) { return getKeyStroke(keyCode, modifiers, false);
public static KeyStroke getKeyStroke(char keyChar) { KeyStroke key; key = new KeyStroke(); key.keyChar = keyChar; return key;
public static KeyStroke getKeyStroke(int keyCode, int modifiers) { return getKeyStroke(keyCode, modifiers, false); } // getKeyStroke()
25337 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25337/d092ccafae9945813bbf1be1db3d5e5bd006a90b/KeyStroke.java/buggy/libjava/javax/swing/KeyStroke.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 1929, 14602, 3579, 14602, 12, 474, 16369, 16, 509, 10429, 13, 288, 202, 202, 2463, 3579, 14602, 12, 856, 1085, 16, 10429, 16, 629, 1769, 202, 97, 368, 3579, 14602, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 760, 1929, 14602, 3579, 14602, 12, 474, 16369, 16, 509, 10429, 13, 288, 202, 202, 2463, 3579, 14602, 12, 856, 1085, 16, 10429, 16, 629, 1769, 202, 97, 368, 3579, 14602, 1435, 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 ]
if(bestPopularity > 2 || detectedAddr == null) {
if((bestPopularity > 2) || (detectedAddr == null)) {
Peer[] detectPrimaryIPAddress() { Vector addresses = new Vector(); if(overrideIPAddress != null) { // If the IP is overridden, the override has to be the first element. addresses.add(new Peer(overrideIPAddress, portNumber)); } InetAddress detectedAddr = ipDetector.getAddress(); if(detectedAddr != null) { Peer a = new Peer(new FreenetInetAddress(detectedAddr), portNumber); if(!addresses.contains(a)) addresses.add(a); } if(pluginDetectedIPs != null && pluginDetectedIPs.length > 0) { for(int i=0;i<pluginDetectedIPs.length;i++) { InetAddress addr = pluginDetectedIPs[i].publicAddress; if(addr == null) continue; Peer a = new Peer(new FreenetInetAddress(addr), portNumber); if(!addresses.contains(a)) addresses.add(a); } } if(detectedAddr == null && oldIPAddress != null && !oldIPAddress.equals(overrideIPAddress)) addresses.add(new Peer(oldIPAddress, portNumber)); // Try to pick it up from our connections if(peers != null) { PeerNode[] peerList = peers.connectedPeers; HashMap countsByPeer = new HashMap(); // FIXME use a standard mutable int object, we have one somewhere for(int i=0;i<peerList.length;i++) { Peer p = peerList[i].getRemoteDetectedPeer(); if(p == null || p.isNull()) continue; // DNSRequester doesn't deal with our own node InetAddress ip = p.getAddress(true); if(!IPUtil.checkAddress(ip)) continue; if(countsByPeer.containsKey(ip)) { Integer count = (Integer) countsByPeer.get(p); Integer newCount = new Integer(count.intValue()+1); countsByPeer.put(p, newCount); } else { countsByPeer.put(p, new Integer(1)); } } if(countsByPeer.size() == 1) { Iterator it = countsByPeer.keySet().iterator(); Peer p = (Peer) (it.next()); if(!addresses.contains(p)) addresses.add(p); } else if(countsByPeer.size() > 1) { Iterator it = countsByPeer.keySet().iterator(); // Take two most popular addresses. Peer best = null; Peer secondBest = null; int bestPopularity = 0; int secondBestPopularity = 0; while(it.hasNext()) { Peer cur = (Peer) (it.next()); int curPop = ((Integer) (countsByPeer.get(cur))).intValue(); if(curPop > bestPopularity) { bestPopularity = curPop; secondBest = best; best = cur; secondBestPopularity = bestPopularity; } } if(best != null) { if(bestPopularity > 2 || detectedAddr == null) { if(!addresses.contains(best)) addresses.add(best); if(secondBest != null && secondBestPopularity > 2) { if(!addresses.contains(secondBest)) addresses.add(secondBest); } } } } } if (addresses.isEmpty()) { this.alerts.register(primaryIPUndetectedAlert); } else { this.alerts.unregister(primaryIPUndetectedAlert); } lastIPAddress = (Peer[]) addresses.toArray(new Peer[addresses.size()]); return lastIPAddress; }
45341 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45341/ca136843ae9ecb30cadada58a33a5dc2cf8ad064/Node.java/buggy/src/freenet/node/Node.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6813, 8526, 5966, 6793, 22507, 1435, 288, 202, 202, 5018, 6138, 273, 394, 5589, 5621, 202, 202, 430, 12, 10601, 22507, 480, 446, 13, 288, 1082, 202, 759, 971, 326, 2971, 353, 11000, 16, 326, 3849, 711, 358, 506, 326, 1122, 930, 18, 1082, 202, 13277, 18, 1289, 12, 2704, 10669, 12, 10601, 22507, 16, 1756, 1854, 10019, 202, 202, 97, 202, 565, 202, 382, 278, 1887, 8316, 3178, 273, 2359, 12594, 18, 588, 1887, 5621, 202, 565, 202, 430, 12, 8238, 828, 3178, 480, 446, 13, 288, 202, 565, 202, 202, 6813, 279, 273, 394, 10669, 12, 2704, 478, 2842, 278, 382, 278, 1887, 12, 8238, 828, 3178, 3631, 1756, 1854, 1769, 202, 565, 202, 202, 430, 12, 5, 13277, 18, 12298, 12, 69, 3719, 202, 565, 1082, 202, 13277, 18, 1289, 12, 69, 1769, 202, 565, 202, 97, 202, 565, 202, 430, 12, 4094, 22614, 18246, 480, 446, 597, 1909, 22614, 18246, 18, 2469, 405, 374, 13, 288, 202, 565, 202, 202, 1884, 12, 474, 277, 33, 20, 31, 77, 32, 4094, 22614, 18246, 18, 2469, 31, 77, 27245, 288, 202, 565, 1082, 202, 382, 278, 1887, 3091, 273, 1909, 22614, 18246, 63, 77, 8009, 482, 1887, 31, 202, 565, 1082, 202, 430, 12, 4793, 422, 446, 13, 1324, 31, 202, 565, 1082, 202, 6813, 279, 273, 394, 10669, 12, 2704, 478, 2842, 278, 382, 278, 1887, 12, 4793, 3631, 1756, 1854, 1769, 202, 565, 1082, 202, 430, 12, 5, 13277, 18, 12298, 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, 6813, 8526, 5966, 6793, 22507, 1435, 288, 202, 202, 5018, 6138, 273, 394, 5589, 5621, 202, 202, 430, 12, 10601, 22507, 480, 446, 13, 288, 1082, 202, 759, 971, 326, 2971, 353, 11000, 16, 326, 3849, 711, 358, 506, 326, 1122, 930, 18, 1082, 202, 13277, 18, 1289, 12, 2704, 10669, 12, 10601, 22507, 16, 1756, 1854, 10019, 202, 202, 97, 202, 565, 202, 382, 278, 1887, 8316, 3178, 273, 2359, 12594, 18, 588, 1887, 5621, 202, 565, 202, 430, 12, 8238, 828, 3178, 480, 446, 13, 288, 202, 565, 202, 202, 6813, 279, 273, 394, 10669, 12, 2704, 478, 2842, 278, 382, 278, 1887, 12, 8238, 828, 3178, 3631, 1756, 1854, 1769, 202, 565, 202, 202, 2 ]
IStudentCurricularPlan studentCurricularPlan = Cloner .copyInfoStudentCurricularPlan2IStudentCurricularPlan(infoStudentCurricularPlan);
IStudentCurricularPlan studentCurricularPlan = (IStudentCurricularPlan) sp .getIStudentCurricularPlanPersistente().readByOID(StudentCurricularPlan.class, studentCurricularPlanID);
public InfoMasterDegreeProofVersion run(InfoStudentCurricularPlan infoStudentCurricularPlan) throws FenixServiceException { InfoMasterDegreeProofVersion infoMasterDegreeProofVersion = null; try { ISuportePersistente sp = PersistenceSupportFactory.getDefaultPersistenceSupport(); IStudentCurricularPlan studentCurricularPlan = Cloner .copyInfoStudentCurricularPlan2IStudentCurricularPlan(infoStudentCurricularPlan); IDegreeCurricularPlanStrategyFactory degreeCurricularPlanStrategyFactory = DegreeCurricularPlanStrategyFactory .getInstance(); IMasterDegreeCurricularPlanStrategy masterDegreeCurricularPlanStrategy = (IMasterDegreeCurricularPlanStrategy) degreeCurricularPlanStrategyFactory .getDegreeCurricularPlanStrategy(studentCurricularPlan.getDegreeCurricularPlan()); if (!masterDegreeCurricularPlanStrategy.checkEndOfScholarship(studentCurricularPlan)) throw new ScholarshipNotFinishedServiceException( "error.exception.masterDegree.scholarshipNotFinished"); IMasterDegreeProofVersion masterDegreeProofVersion = sp .getIPersistentMasterDegreeProofVersion().readActiveByStudentCurricularPlan( studentCurricularPlan); if (masterDegreeProofVersion == null) throw new NonExistingServiceException( "error.exception.masterDegree.nonExistingMasterDegreeProofVersion"); IBranch branch = masterDegreeProofVersion .getMasterDegreeThesis() .getStudentCurricularPlan() .getBranch(); if (branch != null) { branch.getIdInternal(); } infoMasterDegreeProofVersion = Cloner .copyIMasterDegreeProofVersion2InfoMasterDegreeProofVersion( masterDegreeProofVersion); } catch (ExcepcaoPersistencia ex) { FenixServiceException newEx = new FenixServiceException("Persistence layer error"); newEx.fillInStackTrace(); throw newEx; } return infoMasterDegreeProofVersion; }
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/b41105eeb2baef249a3af90528a8734677cc1990/ReadActiveMasterDegreeProofVersionByStudentCurricularPlan.java/buggy/src/net/sourceforge/fenixedu/applicationTier/Servico/masterDegree/administrativeOffice/thesis/ReadActiveMasterDegreeProofVersionByStudentCurricularPlan.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3807, 7786, 22885, 20439, 1444, 1086, 12, 966, 19943, 319, 2408, 1512, 2490, 5365, 1123, 19943, 319, 2408, 1512, 2490, 5365, 13, 5411, 1216, 478, 275, 697, 15133, 288, 3639, 3807, 7786, 22885, 20439, 1444, 1123, 7786, 22885, 20439, 1444, 273, 446, 31, 3639, 775, 288, 5411, 467, 3088, 499, 73, 11906, 73, 1694, 273, 13381, 6289, 1733, 18, 588, 1868, 13182, 6289, 5621, 5411, 467, 19943, 319, 2408, 1512, 2490, 5365, 18110, 2408, 1512, 2490, 5365, 273, 3905, 31430, 10792, 263, 3530, 966, 19943, 319, 2408, 1512, 2490, 5365, 22, 45, 19943, 319, 2408, 1512, 2490, 5365, 12, 1376, 19943, 319, 2408, 1512, 2490, 5365, 1769, 5411, 467, 22885, 2408, 1512, 2490, 5365, 4525, 1733, 10782, 2408, 1512, 2490, 5365, 4525, 1733, 273, 463, 1332, 992, 2408, 1512, 2490, 5365, 4525, 1733, 10792, 263, 588, 1442, 5621, 5411, 6246, 2440, 22885, 2408, 1512, 2490, 5365, 4525, 4171, 22885, 2408, 1512, 2490, 5365, 4525, 273, 261, 3445, 2440, 22885, 2408, 1512, 2490, 5365, 4525, 13, 10782, 2408, 1512, 2490, 5365, 4525, 1733, 10792, 263, 588, 22885, 2408, 1512, 2490, 5365, 4525, 12, 26240, 2408, 1512, 2490, 5365, 18, 588, 22885, 2408, 1512, 2490, 5365, 10663, 5411, 309, 16051, 7525, 22885, 2408, 1512, 2490, 5365, 4525, 18, 1893, 23358, 55, 343, 355, 976, 625, 12, 26240, 2408, 1512, 2490, 5365, 3719, 7734, 604, 394, 348, 343, 355, 976, 625, 1248, 10577, 15133, 12, 13491, 315, 1636, 18, 4064, 18, 7525, 22885, 18, 28204, 355, 976, 625, 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, 3807, 7786, 22885, 20439, 1444, 1086, 12, 966, 19943, 319, 2408, 1512, 2490, 5365, 1123, 19943, 319, 2408, 1512, 2490, 5365, 13, 5411, 1216, 478, 275, 697, 15133, 288, 3639, 3807, 7786, 22885, 20439, 1444, 1123, 7786, 22885, 20439, 1444, 273, 446, 31, 3639, 775, 288, 5411, 467, 3088, 499, 73, 11906, 73, 1694, 273, 13381, 6289, 1733, 18, 588, 1868, 13182, 6289, 5621, 5411, 467, 19943, 319, 2408, 1512, 2490, 5365, 18110, 2408, 1512, 2490, 5365, 273, 3905, 31430, 10792, 263, 3530, 966, 19943, 319, 2408, 1512, 2490, 5365, 22, 45, 19943, 319, 2408, 1512, 2490, 5365, 12, 1376, 19943, 319, 2408, 1512, 2490, 5365, 1769, 5411, 467, 22885, 2408, 1512, 2490, 5365, 4525, 1733, 10782, 2 ]
sqlAnswer = imcref.getExceptionUnhandlingDatabase().execute2dArrayProcedure( "A_SearchText", new String[] {
sqlAnswer = imcref.getDatabase().execute2dArrayProcedure( "A_SearchText", new String[] {
public void doPost( HttpServletRequest req, HttpServletResponse res ) throws ServletException, IOException { UserDomainObject user = Utility.getLoggedOnUser( req ); if ( !isUserAuthorized( req, res, user ) ) { return; } // Lets add the standard SESSION parameters Properties params = this.getPropertiesOfConferenceSessionParameters( req ); // Lets get serverinformation ImcmsServices imcref = Imcms.getServices(); if(req.getParameter("Quit") !=null){ res.sendRedirect( "BackDoc" ); return; } // ********* UPDATE DISCUSSIONS ******** if ( req.getParameter( "UPDATE" ) != null ) { // log("NU uppdaterar vi discussions") ; // Lets get the forum_id and set our session object before updating Properties reqParams = this.getRequestParameters( req ); String aForumId = reqParams.getProperty( "FORUM_ID" ); String discIndex = params.getProperty( "DISC_INDEX" ); String changeForum = req.getParameter( "CHANGE_FORUM" ); HttpSession session = req.getSession( false ); if ( session != null ) { String latestDiscId = imcref.getExceptionUnhandlingDatabase().executeStringProcedure( "A_GetLastDiscussionId", new String[] { params.getProperty( "META_ID" ), aForumId } ); if ( latestDiscId == null ) { log( "LatestDiscID saknas, det kan saknas diskussioner i forumet:" + aForumId ); latestDiscId = "-1"; } if ( discIndex == null ) { log( "DiscIndex var null:" + discIndex ); discIndex = "0"; } else { //lets set disc index to 0 then changing forum if ( changeForum != null ) { discIndex = "0"; } } session.setAttribute( "Conference.disc_id", latestDiscId ); session.setAttribute( "Conference.forum_id", aForumId ); session.setAttribute( "Conference.disc_index", discIndex ); } res.sendRedirect( "ConfDiscView" ); return; } // ********* ADD DISCUSSIONS ******** if ( req.getParameter( "ADD" ) != null ) { // log("Nu redirectar vi till ConfAdd") ; res.sendRedirect( "ConfAdd?ADDTYPE=Discussion" ); return; } // ********* VIEW NEXT DISCUSSIONS ******** if ( ( req.getParameter( "NEXT" ) != null || req.getParameter( "NEXT.x" ) != null ) ) { //if (req.getParameter("NEXT") != null) { // Lets get the total nbr of discs in the forum // RmiConf rmi = new RmiConf(user) ; String nbrOfDiscsStr = imcref.getExceptionUnhandlingDatabase().executeStringProcedure( "A_GetNbrOfDiscs", new String[] { params.getProperty( "FORUM_ID" ) } ); int nbrOfDiscs; // Lets get the nbr of discussions to show. If it does not contain any // discussions, 20 will be returned by default from db String showDiscsStr = imcref.getExceptionUnhandlingDatabase().executeStringProcedure( "A_GetNbrOfDiscsToShow", new String[] { params.getProperty( "FORUM_ID" ) } ); int showDiscsCounter = Integer.parseInt( showDiscsStr ); try { nbrOfDiscs = Integer.parseInt( nbrOfDiscsStr ); } catch ( NumberFormatException e ) { nbrOfDiscs = 0; log( "GetNbrOfDiscs returned null" ); } int currIndex = this.getDiscIndex( req ); if ( currIndex + showDiscsCounter < nbrOfDiscs ) { this.increaseDiscIndex( req, showDiscsCounter ); } // Lets redirect to the servlet which holds in us. res.sendRedirect( "ConfDiscView" ); return; } // ********* VIEW PREVIOUS DISCUSSIONS ******** if ( ( req.getParameter( "PREVIOUS" ) != null || req.getParameter( "PREVIOUS.x" ) != null ) ) { //if (req.getParameter("PREVIOUS") != null) { //RmiConf rmi = new RmiConf(user) ; // Lets get the nbr of discussions to show. If it does not contain any // discussions, 20 will be returned by default from db String showDiscsStr = imcref.getExceptionUnhandlingDatabase().executeStringProcedure( "A_GetNbrOfDiscsToShow", new String[] { params.getProperty( "FORUM_ID" ) } ); int showDiscsCounter = Integer.parseInt( showDiscsStr ); this.decreaseDiscIndex( req, showDiscsCounter ); // Lets redirect to the servlet which holds in us. res.sendRedirect( "ConfDiscView" ); return; } // ********* SEARCH ******** if ( req.getParameter( "SEARCH" ) != null ) { params = this.getSearchParameters( req, params ); String searchMsg = ""; String[][] sqlAnswer = null; boolean searchParamsOk = true; String currForum; // Lets get the forumname for the current forum String aForumId = params.getProperty( "FORUM_ID" ); currForum = imcref.getExceptionUnhandlingDatabase().executeStringProcedure( "A_GetForumName", new String[] {aForumId} ); //lets get metaId befor buildSearchDateParams destroys that info (happens if error in DATE_FORMAT) String metaId = params.getProperty( "META_ID" ); // Lets validate the searchdates. If not correct then get a message and show user // 42=En skdatumstrng var felaktig! params = this.buildSearchDateParams( params ); if ( params == null ) { log( "An illegal searchdateparameter was sent to server" ); ConfError msgErr = new ConfError(); searchMsg = msgErr.getErrorMessage( req, 42 ); searchParamsOk = false; } // Lets validate the searchwords. If not correct then get a message and show user // 40=En skparameter saknades! Du mste ange minst ett skord! if ( searchParamsOk ) { boolean itsOk = this.checkSearchWords( params ); if ( !itsOk ) { ConfError msgErr = new ConfError(); searchMsg = msgErr.getErrorMessage( req, 40 ); searchParamsOk = false; } } // Lets check if everything is alright if ( searchParamsOk ) { String searchW = params.getProperty( "SEARCH" ); String category = params.getProperty( "CATEGORY" ); String frDate = params.getProperty( "FR_DATE" ); String toDate = params.getProperty( "TO_DATE" ); // IF WE ARE LOOKING FOR USERS ACTIVITY if ( params.getProperty( "CATEGORY" ).equals( "2" ) ) { StringBuffer sqlQ = new StringBuffer( "SELECT DISTINCT '0' as 'newflag', disc.discussion_id, SUBSTRING( CONVERT(char(16), rep.create_date,20), 6, 16) AS 'create_date',\n" + "rep.headline, disc.count_replies, usr.first_name, usr.last_name, SUBSTRING( CONVERT(char(20), disc.last_mod_date,20),1, 20) as 'updated_date'\n" + "FROM A_replies rep, A_discussion disc, A_conf_users usr, A_conference conf, A_conf_forum cf, A_forum, A_conf_users_crossref crossref \n" + "WHERE rep.parent_id = disc.discussion_id \n" + "AND disc.forum_id = A_forum.forum_id \n" + "AND A_forum.forum_id = ? \n" + "AND A_forum.forum_id = cf.forum_id \n" + "AND cf.conf_id = ? \n" // Lets check for the date + "AND rep.create_date > ? AND rep.create_date <= ? \n" + "AND rep.user_id = usr.user_id \n" + "AND usr.user_id = crossref.user_id \n" + "AND crossref.conf_id = " + metaId + "\n" + "AND (\n" ); ArrayList sqlParameters = new ArrayList(); sqlParameters.add( aForumId ); sqlParameters.add( metaId ); sqlParameters.add( frDate ); sqlParameters.add( toDate + " 23:59:59" ); StringTokenizer st = new StringTokenizer( searchW ); while ( st.hasMoreTokens() ) { String tmpItem = st.nextToken(); sqlQ.append( "usr.first_name LIKE ? OR usr.last_name LIKE ? \n" ); sqlParameters.add( tmpItem + '%' ); sqlParameters.add( tmpItem + '%' ); if ( st.hasMoreTokens() ) { sqlQ.append( " OR " ); } } sqlQ.append( ')' ); sqlAnswer = imcref.getExceptionUnhandlingDatabase().execute2dArrayQuery( sqlQ.toString(), (String[])sqlParameters.toArray( new String[sqlParameters.size()] ) ); } else { // Ok, Lets build the search string sqlAnswer = imcref.getExceptionUnhandlingDatabase().execute2dArrayProcedure( "A_SearchText", new String[] { metaId, aForumId, category, searchW, frDate, toDate + " 23:59:59" } ); } // End if } // End if // Lets get the part of an html page, wich will be parsed for every a Href reference File templateLib = super.getExternalTemplateFolder( req ); // templateLib += getTemplateSetDirectoryName(params.getProperty("META_ID")) ; File aHreHtmlFile = new File( templateLib, A_HREF_HTML ); // Lets build our tags vector. Vector tagsV = this.buildTags(); // Lets preparse all records, if any returned get an error mesage String allRecs = ""; // log("SqlAnswer: " + sqlAnswer) ; if ( sqlAnswer != null ) { if ( sqlAnswer.length > 0 ) { allRecs = preParse( req, sqlAnswer, tagsV, aHreHtmlFile, "", user ); if ( allRecs == null ) { ConfError msgErr = new ConfError(); allRecs = msgErr.getErrorMessage( req, 41 ); } } else { } } else { // log("SqlAnswer = null") ; // Ok, we coulnt find anything if ( searchParamsOk ) { ConfError msgErr = new ConfError(); allRecs = msgErr.getErrorMessage( req, 41 ); } } //log("Ok, we passed the sqlquestioning") ; //log("ALLRECS: " + allRecs) ; //log("searchMsg: " + searchMsg) ; // Lets build the Responsepage VariableManager vm = new VariableManager(); if ( allRecs == null || allRecs.equals( "" ) ) { vm.addProperty( "A_HREF_LIST", searchMsg ); } else { vm.addProperty( "A_HREF_LIST", allRecs ); } //lets show newbutton if user has more than readrights String newDiscButton = "&nbsp;"; int intMetaId = Integer.parseInt( metaId ); DocumentMapper documentMapper = imcref.getDocumentMapper(); DocumentDomainObject document = documentMapper.getDocument( intMetaId ); if ( user.canEdit( document ) ) { VariableManager vmButtons = new VariableManager(); vmButtons.addProperty( "#SERVLET_URL#", "" ); vmButtons.addProperty( "#IMAGE_URL#", this.getExternalImageFolder( req ) ); newDiscButton = getTemplate( NEW_DISC_TEMPLATE, user, vmButtons.getTagsAndData() ); } vm.addProperty( "CURRENT_FORUM_NAME", currForum ); vm.addProperty( "PREVIOUS_BUTTON", "&nbsp;" ); vm.addProperty( "NEXT_BUTTON", "&nbsp;" ); vm.addProperty( "NEW_DISC_BUTTON", newDiscButton ); vm.addProperty( "ADMIN_LINK_HTML", ADMIN_LINK_TEMPLATE ); this.sendHtml( req, res, vm, HTML_TEMPLATE ); return; } } // DoPost
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/d057ca863273084a5224bf799ac53247a0f2f321/ConfDisc.java/clean/server/src/com/imcode/imcms/servlet/conference/ConfDisc.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 741, 3349, 12, 9984, 1111, 16, 12446, 400, 262, 1216, 16517, 16, 1860, 288, 3639, 2177, 3748, 921, 729, 273, 13134, 18, 588, 19862, 1398, 1299, 12, 1111, 11272, 3639, 309, 261, 401, 291, 1299, 15341, 12, 1111, 16, 400, 16, 729, 262, 262, 288, 5411, 327, 31, 3639, 289, 3639, 368, 511, 2413, 527, 326, 4529, 10307, 1472, 3639, 6183, 859, 273, 333, 18, 588, 2297, 951, 23870, 2157, 2402, 12, 1111, 11272, 3639, 368, 511, 2413, 336, 1438, 13117, 3639, 2221, 6851, 5676, 709, 71, 1734, 273, 2221, 6851, 18, 588, 5676, 5621, 3639, 309, 12, 3658, 18, 588, 1662, 2932, 25365, 7923, 480, 2011, 15329, 5411, 400, 18, 4661, 5961, 12, 315, 2711, 1759, 6, 11272, 5411, 327, 31, 3639, 289, 3639, 368, 380, 1644, 11028, 3690, 2312, 57, 4475, 55, 380, 27243, 3639, 309, 261, 1111, 18, 588, 1662, 12, 315, 8217, 6, 262, 480, 446, 262, 288, 5411, 368, 613, 2932, 50, 57, 731, 22353, 2045, 297, 13206, 1015, 20120, 7923, 274, 5411, 368, 511, 2413, 336, 326, 11283, 67, 350, 471, 444, 3134, 1339, 733, 1865, 9702, 5411, 6183, 1111, 1370, 273, 333, 18, 588, 691, 2402, 12, 1111, 11272, 5411, 514, 279, 1290, 379, 548, 273, 1111, 1370, 18, 588, 1396, 12, 315, 7473, 2799, 67, 734, 6, 11272, 5411, 514, 19169, 1016, 273, 859, 18, 588, 1396, 12, 315, 2565, 2312, 67, 9199, 6, 11272, 5411, 514, 2549, 1290, 379, 273, 1111, 18, 588, 1662, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 741, 3349, 12, 9984, 1111, 16, 12446, 400, 262, 1216, 16517, 16, 1860, 288, 3639, 2177, 3748, 921, 729, 273, 13134, 18, 588, 19862, 1398, 1299, 12, 1111, 11272, 3639, 309, 261, 401, 291, 1299, 15341, 12, 1111, 16, 400, 16, 729, 262, 262, 288, 5411, 327, 31, 3639, 289, 3639, 368, 511, 2413, 527, 326, 4529, 10307, 1472, 3639, 6183, 859, 273, 333, 18, 588, 2297, 951, 23870, 2157, 2402, 12, 1111, 11272, 3639, 368, 511, 2413, 336, 1438, 13117, 3639, 2221, 6851, 5676, 709, 71, 1734, 273, 2221, 6851, 18, 588, 5676, 5621, 3639, 309, 12, 3658, 18, 588, 1662, 2932, 25365, 7923, 480, 2011, 15329, 5411, 400, 18, 4661, 5961, 12, 315, 2711, 2 ]
fDocument = document; fConfiguration = config; fSymbolTable = (SymbolTable) fConfiguration.getProperty(DOMConfigurationImpl.SYMBOL_TABLE); fNamespaceContext.reset(); fNamespaceContext.declarePrefix(XMLSymbols.EMPTY_STRING, XMLSymbols.EMPTY_STRING); if ((fConfiguration.features & DOMConfigurationImpl.VALIDATE) != 0) {
fDocument = document; fConfiguration = config; String xmlVersion = fDocument.getXmlVersion(); String schemaType = null; fSymbolTable = (SymbolTable) fConfiguration.getProperty(DOMConfigurationImpl.SYMBOL_TABLE); fNamespaceContext.reset(); fNamespaceContext.declarePrefix(XMLSymbols.EMPTY_STRING, XMLSymbols.EMPTY_STRING); if ((fConfiguration.features & DOMConfigurationImpl.VALIDATE) != 0) {
protected void normalizeDocument(CoreDocumentImpl document, DOMConfigurationImpl config) { fDocument = document; fConfiguration = config; // intialize and reset DOMNormalizer component // fSymbolTable = (SymbolTable) fConfiguration.getProperty(DOMConfigurationImpl.SYMBOL_TABLE); // reset namespace context fNamespaceContext.reset(); fNamespaceContext.declarePrefix(XMLSymbols.EMPTY_STRING, XMLSymbols.EMPTY_STRING); if ((fConfiguration.features & DOMConfigurationImpl.VALIDATE) != 0) { String schemaLang = (String)fConfiguration.getProperty(DOMConfigurationImpl.JAXP_SCHEMA_LANGUAGE); if (schemaLang != null && schemaLang.equals(Constants.NS_XMLSCHEMA)) { fValidationHandler = CoreDOMImplementationImpl.singleton.getValidator(XMLGrammarDescription.XML_SCHEMA); fConfiguration.setFeature(DOMConfigurationImpl.SCHEMA, true); fConfiguration.setFeature(DOMConfigurationImpl.SCHEMA_FULL_CHECKING, true); // report fatal error on DOM Level 1 nodes fNamespaceValidation = true; // check if we need to fill in PSVI fPSVI = ((fConfiguration.features & DOMConfigurationImpl.PSVI) !=0)?true:false; } else { fValidationHandler = CoreDOMImplementationImpl.singleton.getValidator(XMLGrammarDescription.XML_DTD); DocumentTypeImpl docType = (DocumentTypeImpl) fDocument.getDoctype(); if (docType != null) { fConfiguration.setProperty(Constants.XERCES_PROPERTY_PREFIX + Constants.XMLGRAMMAR_POOL_PROPERTY, createGrammarPool(docType)); } fPSVI = false; } fConfiguration.setFeature(DOMConfigurationImpl.XERCES_VALIDATION, true); // reset ID table fDocument.clearIdentifiers(); if (fValidationHandler != null) { // reset the validation handler ((XMLComponent) fValidationHandler).reset(fConfiguration); } } fErrorHandler = (DOMErrorHandler) fConfiguration.getParameter(Constants.DOM_ERROR_HANDLER); if (fValidationHandler != null) { fValidationHandler.setDocumentHandler(this); fValidationHandler.startDocument( new SimpleLocator(fDocument.fDocumentURI, fDocument.fDocumentURI, -1, -1 ), fDocument.encoding, fNamespaceContext, null); } try { Node kid, next; for (kid = fDocument.getFirstChild(); kid != null; kid = next) { next = kid.getNextSibling(); kid = normalizeNode(kid); if (kid != null) { // don't advance next = kid; } } // release resources if (fValidationHandler != null) { fValidationHandler.endDocument(null); CoreDOMImplementationImpl.singleton.releaseValidator( XMLGrammarDescription.XML_SCHEMA, fValidationHandler); fValidationHandler = null; } } catch (RuntimeException e) { if( e==abort ) return; // processing aborted by the user throw e; // otherwise re-throw. } }
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/ad9d18090b02142ec7ad77a61ec390f202a63a4b/DOMNormalizer.java/clean/src/org/apache/xerces/dom/DOMNormalizer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 3883, 2519, 12, 4670, 2519, 2828, 1668, 16, 4703, 1750, 2828, 642, 13, 288, 202, 202, 74, 2519, 273, 1668, 31, 202, 202, 74, 1750, 273, 642, 31, 202, 202, 759, 509, 1710, 471, 2715, 4703, 16132, 1794, 202, 202, 759, 3196, 202, 74, 5335, 1388, 273, 261, 5335, 1388, 13, 284, 1750, 18, 588, 1396, 12, 8168, 1750, 2828, 18, 22093, 67, 7775, 1769, 202, 202, 759, 2715, 1981, 819, 202, 202, 74, 3402, 1042, 18, 6208, 5621, 202, 202, 74, 3402, 1042, 18, 29554, 2244, 12, 4201, 14821, 18, 13625, 67, 5804, 16, 3167, 14821, 18, 13625, 67, 5804, 1769, 202, 202, 430, 14015, 74, 1750, 18, 7139, 473, 4703, 1750, 2828, 18, 14687, 13, 480, 374, 13, 288, 5411, 514, 1963, 7275, 273, 261, 780, 13, 74, 1750, 18, 588, 1396, 12, 8168, 1750, 2828, 18, 17368, 52, 67, 14233, 67, 15547, 1769, 13491, 309, 261, 4821, 7275, 480, 446, 597, 1963, 7275, 18, 14963, 12, 2918, 18, 3156, 67, 4201, 14233, 3719, 288, 377, 1082, 202, 74, 4354, 1503, 273, 377, 9506, 202, 4670, 8168, 13621, 2828, 18, 24487, 18, 588, 5126, 12, 4201, 18576, 3291, 18, 4201, 67, 14233, 1769, 7734, 284, 1750, 18, 542, 4595, 12, 8168, 1750, 2828, 18, 14233, 16, 638, 1769, 7734, 284, 1750, 18, 542, 4595, 12, 8168, 1750, 2828, 18, 14233, 67, 18111, 67, 10687, 1360, 16, 638, 1769, 7734, 368, 2605, 10081, 555, 603, 4703, 4557, 404, 2199, 7734, 284, 3402, 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, 3883, 2519, 12, 4670, 2519, 2828, 1668, 16, 4703, 1750, 2828, 642, 13, 288, 202, 202, 74, 2519, 273, 1668, 31, 202, 202, 74, 1750, 273, 642, 31, 202, 202, 759, 509, 1710, 471, 2715, 4703, 16132, 1794, 202, 202, 759, 3196, 202, 74, 5335, 1388, 273, 261, 5335, 1388, 13, 284, 1750, 18, 588, 1396, 12, 8168, 1750, 2828, 18, 22093, 67, 7775, 1769, 202, 202, 759, 2715, 1981, 819, 202, 202, 74, 3402, 1042, 18, 6208, 5621, 202, 202, 74, 3402, 1042, 18, 29554, 2244, 12, 4201, 14821, 18, 13625, 67, 5804, 16, 3167, 14821, 18, 13625, 67, 5804, 1769, 202, 202, 430, 14015, 74, 1750, 18, 7139, 473, 4703, 1750, 2828, 18, 2 ]
assertTrue("hasNext is false", iter2.hasNext() == true); assertTrue("hasNext is false", iter2.hasNext() == true);
assertTrue("hasNext is false", iter2.hasNext()); assertTrue("hasNext is false", iter2.hasNext());
public void test_TCM__ListIterator_listIterator_int2() { List children = foo.getChildren(); ListIterator iter = children.listIterator(1); assertTrue("hasPrevious is false", iter.hasPrevious() == true); assertTrue("hasPrevious is false", iter.hasPrevious() == true); assertTrue("hasNext is false", iter.hasNext() == true); assertTrue("hasNext is false", iter.hasNext() == true); assertEquals("wrong element from get", baz, iter.next()); assertEquals("wrong element from get", baz, iter.previous()); assertEquals("wrong element from get", baz, iter.next()); assertEquals("wrong element from get", baz, iter.previous()); assertTrue("hasPrevious is false", iter.hasPrevious() == true); assertTrue("hasPrevious is false", iter.hasPrevious() == true); assertEquals("wrong element from get", bar, iter.previous()); assertEquals("wrong element from get", bar, iter.next()); assertEquals("wrong element from get", bar, iter.previous()); assertTrue("hasPrevious is true", iter.hasPrevious() == false); assertTrue("hasPrevious is true", iter.hasPrevious() == false); assertTrue("hasNext is false", iter.hasNext() == true); assertTrue("hasNext is false", iter.hasNext() == true); List content = foo.getContent(); ListIterator iter2 = content.listIterator(1); // next assertEquals("wrong element from get", bar, iter2.next()); assertEquals("wrong element from get", text2, iter2.next()); assertTrue("hasNext is false", iter2.hasNext() == true); assertTrue("hasNext is false", iter2.hasNext() == true); assertEquals("wrong element from get", baz, iter2.next()); assertTrue("hasNext is false", iter2.hasNext() == true); assertTrue("hasNext is false", iter2.hasNext() == true); assertEquals("wrong element from get", text3, iter2.next()); assertEquals("wrong element from get", comment, iter2.next()); assertTrue("hasNext is false", iter2.hasNext() == true); assertTrue("hasNext is false", iter2.hasNext() == true); assertEquals("wrong element from get", quux, iter2.next()); assertEquals("wrong element from get", quux, iter2.previous()); assertEquals("wrong element from get", comment, iter2.previous()); assertEquals("wrong element from get", text3, iter2.previous()); assertEquals("wrong element from get", baz, iter2.previous()); assertTrue("hasPrevious is false", iter2.hasPrevious() == true); assertTrue("hasPrevious is false", iter2.hasNext() == true); assertEquals("wrong element from get", text2, iter2.previous()); assertTrue("hasPrevious is false", iter2.hasPrevious() == true); assertTrue("hasPrevious is false", iter2.hasNext() == true); assertEquals("wrong element from get", text2, iter2.next()); assertTrue("hasPrevious is false", iter2.hasPrevious() == true); assertTrue("hasPrevious is false", iter2.hasNext() == true); assertEquals("wrong element from get", text2, iter2.previous()); assertTrue("hasPrevious is false", iter2.hasPrevious() == true); assertTrue("hasPrevious is false", iter2.hasPrevious() == true); assertEquals("wrong element from get", bar, iter2.previous()); assertEquals("wrong element from get", text1, iter2.previous()); assertTrue("hasNext is false", iter2.hasNext() == true); assertTrue("hasNext is false", iter2.hasNext() == true); }
49530 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49530/baf694d0493edd1e1e1d83909e945735fb360b67/TestFilterList.java/buggy/test/src/java/org/jdom/test/cases/TestFilterList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 67, 56, 9611, 972, 682, 3198, 67, 1098, 3198, 67, 474, 22, 1435, 288, 202, 202, 682, 2325, 273, 8431, 18, 588, 4212, 5621, 202, 202, 682, 3198, 1400, 273, 2325, 18, 1098, 3198, 12, 21, 1769, 202, 202, 11231, 5510, 2932, 5332, 8351, 353, 629, 3113, 1400, 18, 5332, 8351, 1435, 422, 638, 1769, 202, 202, 11231, 5510, 2932, 5332, 8351, 353, 629, 3113, 1400, 18, 5332, 8351, 1435, 422, 638, 1769, 202, 202, 11231, 5510, 2932, 5332, 2134, 353, 629, 3113, 1400, 18, 5332, 2134, 1435, 422, 638, 1769, 202, 202, 11231, 5510, 2932, 5332, 2134, 353, 629, 3113, 1400, 18, 5332, 2134, 1435, 422, 638, 1769, 202, 202, 11231, 8867, 2932, 21530, 930, 628, 336, 3113, 29025, 16, 1400, 18, 4285, 10663, 202, 202, 11231, 8867, 2932, 21530, 930, 628, 336, 3113, 29025, 16, 1400, 18, 11515, 10663, 202, 202, 11231, 8867, 2932, 21530, 930, 628, 336, 3113, 29025, 16, 1400, 18, 4285, 10663, 202, 202, 11231, 8867, 2932, 21530, 930, 628, 336, 3113, 29025, 16, 1400, 18, 11515, 10663, 202, 202, 11231, 5510, 2932, 5332, 8351, 353, 629, 3113, 1400, 18, 5332, 8351, 1435, 422, 638, 1769, 202, 202, 11231, 5510, 2932, 5332, 8351, 353, 629, 3113, 1400, 18, 5332, 8351, 1435, 422, 638, 1769, 202, 202, 11231, 8867, 2932, 21530, 930, 628, 336, 3113, 4653, 16, 1400, 18, 11515, 10663, 202, 202, 11231, 8867, 2932, 21530, 930, 628, 336, 3113, 4653, 16, 1400, 18, 4285, 10663, 202, 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, 377, 1071, 918, 1842, 67, 56, 9611, 972, 682, 3198, 67, 1098, 3198, 67, 474, 22, 1435, 288, 202, 202, 682, 2325, 273, 8431, 18, 588, 4212, 5621, 202, 202, 682, 3198, 1400, 273, 2325, 18, 1098, 3198, 12, 21, 1769, 202, 202, 11231, 5510, 2932, 5332, 8351, 353, 629, 3113, 1400, 18, 5332, 8351, 1435, 422, 638, 1769, 202, 202, 11231, 5510, 2932, 5332, 8351, 353, 629, 3113, 1400, 18, 5332, 8351, 1435, 422, 638, 1769, 202, 202, 11231, 5510, 2932, 5332, 2134, 353, 629, 3113, 1400, 18, 5332, 2134, 1435, 422, 638, 1769, 202, 202, 11231, 5510, 2932, 5332, 2134, 353, 629, 3113, 1400, 18, 5332, 2134, 1435, 422, 638, 1769, 202, 202, 11231, 8867, 2932, 21530, 2 ]
return getRuntime().newRubyFileStat(new NormalizedFile(name.getValue()));
return getRuntime().newRubyFileStat(new NormalizedFile(name.toString()));
public IRubyObject lstat(IRubyObject filename) { RubyString name = RubyString.stringValue(filename); return getRuntime().newRubyFileStat(new NormalizedFile(name.getValue())); }
48072 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48072/9f2efc63a858fa0507245b207025eab027840a04/FileMetaClass.java/clean/src/org/jruby/runtime/builtin/meta/FileMetaClass.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 328, 5642, 12, 7937, 10340, 921, 1544, 13, 288, 377, 202, 54, 10340, 780, 508, 273, 19817, 780, 18, 1080, 620, 12, 3459, 1769, 3639, 327, 18814, 7675, 2704, 54, 10340, 812, 5000, 12, 2704, 8769, 1235, 812, 12, 529, 18, 10492, 1435, 10019, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 328, 5642, 12, 7937, 10340, 921, 1544, 13, 288, 377, 202, 54, 10340, 780, 508, 273, 19817, 780, 18, 1080, 620, 12, 3459, 1769, 3639, 327, 18814, 7675, 2704, 54, 10340, 812, 5000, 12, 2704, 8769, 1235, 812, 12, 529, 18, 10492, 1435, 10019, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
result.append(OpenCms.getLinkManager().substituteLink(getCms(), getParamResource())); return result.toString();
if (Boolean.valueOf(exportedResource).booleanValue()) { address = OpenCms.getStaticExportManager().getRfsName(cms, vfsName); } else { address = OpenCms.getStaticExportManager().getVfsPrefix().concat(vfsName); } if (Boolean.valueOf(secureResource).booleanValue()) { address = CmsSiteManager.getCurrentSite(cms).getSecureUrl().concat(address); } else { address = CmsSiteManager.getCurrentSite(cms).getUrl().concat(address); } return address;
public String getResourceUrl() { boolean secure = Boolean.valueOf(readProperty(I_CmsConstants.C_PROPERTY_SECURE)).booleanValue(); StringBuffer result = new StringBuffer(); CmsSite currentSite = CmsSiteManager.getCurrentSite(getCms()); if (currentSite == OpenCms.getSiteManager().getDefaultSite()) { result.append(OpenCms.getSiteManager().getWorkplaceServer()); } else { if (secure) { result.append(currentSite.getSecureUrl()); } else { result.append(currentSite.getUrl()); } } result.append(OpenCms.getLinkManager().substituteLink(getCms(), getParamResource())); return result.toString(); }
51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/8f2082421326d1e4f3d525d69a4d24407abf2e83/CmsSecure.java/clean/src/org/opencms/workplace/commons/CmsSecure.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 5070, 1489, 1435, 288, 3639, 1250, 8177, 273, 3411, 18, 1132, 951, 12, 896, 1396, 12, 45, 67, 4747, 2918, 18, 39, 67, 9900, 67, 11944, 4830, 13, 2934, 6494, 620, 5621, 3639, 6674, 563, 273, 394, 6674, 5621, 3639, 2149, 4956, 783, 4956, 273, 2149, 4956, 1318, 18, 588, 3935, 4956, 12, 588, 4747, 10663, 3639, 309, 261, 2972, 4956, 422, 10319, 18, 588, 4956, 1318, 7675, 588, 1868, 4956, 10756, 288, 5411, 563, 18, 6923, 12, 3678, 4747, 18, 588, 4956, 1318, 7675, 588, 16514, 2081, 10663, 3639, 289, 469, 288, 5411, 309, 261, 8869, 13, 288, 7734, 563, 18, 6923, 12, 2972, 4956, 18, 588, 12834, 1489, 10663, 5411, 289, 469, 288, 7734, 563, 18, 6923, 12, 2972, 4956, 18, 588, 1489, 10663, 5411, 289, 3639, 289, 3639, 563, 18, 6923, 12, 3678, 4747, 18, 588, 2098, 1318, 7675, 1717, 17207, 2098, 12, 588, 4747, 9334, 9027, 1420, 1435, 10019, 3639, 327, 563, 18, 10492, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 5070, 1489, 1435, 288, 3639, 1250, 8177, 273, 3411, 18, 1132, 951, 12, 896, 1396, 12, 45, 67, 4747, 2918, 18, 39, 67, 9900, 67, 11944, 4830, 13, 2934, 6494, 620, 5621, 3639, 6674, 563, 273, 394, 6674, 5621, 3639, 2149, 4956, 783, 4956, 273, 2149, 4956, 1318, 18, 588, 3935, 4956, 12, 588, 4747, 10663, 3639, 309, 261, 2972, 4956, 422, 10319, 18, 588, 4956, 1318, 7675, 588, 1868, 4956, 10756, 288, 5411, 563, 18, 6923, 12, 3678, 4747, 18, 588, 4956, 1318, 7675, 588, 16514, 2081, 10663, 3639, 289, 469, 288, 5411, 309, 261, 8869, 13, 288, 7734, 563, 18, 6923, 12, 2972, 4956, 18, 588, 12834, 1489, 10663, 5411, 289, 469, 288, 7734, 2 ]
drawing = true;
public void clearScreen() { for (int x = 0; x < lenScreen; x++) { screen[x].setCharAndAttr(' ',initAttr,false); screen[x].setUseGUI(ScreenChar.NO_GUI); } dirty.setBounds(tArea.getBounds());// dirty.setBounds(fmWidth * numCols,fmHeight * numRows,0,0); }
4212 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4212/75cfec7a9563ab3252a0c7c2c7713e787713b17f/Screen5250.java/clean/src/org/tn5250j/Screen5250.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 16327, 273, 638, 31, 16327, 273, 638, 31, 16327, 273, 638, 31, 1071, 9446, 310, 273, 638, 31, 918, 9446, 310, 273, 638, 31, 2424, 7956, 1435, 9446, 310, 273, 638, 31, 288, 9446, 310, 273, 638, 31, 16327, 273, 638, 31, 16327, 273, 638, 31, 16327, 273, 638, 31, 16327, 273, 638, 31, 16327, 273, 638, 31, 364, 9446, 310, 273, 638, 31, 261, 474, 9446, 310, 273, 638, 31, 619, 9446, 310, 273, 638, 31, 273, 9446, 310, 273, 638, 31, 374, 31, 9446, 310, 273, 638, 31, 619, 9446, 310, 273, 638, 31, 411, 9446, 310, 273, 638, 31, 562, 7956, 31, 9446, 310, 273, 638, 31, 619, 27245, 9446, 310, 273, 638, 31, 288, 9446, 310, 273, 638, 31, 16327, 273, 638, 31, 16327, 273, 638, 31, 16327, 273, 638, 31, 16327, 273, 638, 31, 16327, 273, 638, 31, 16327, 273, 638, 31, 16327, 273, 638, 31, 16327, 273, 638, 31, 5518, 63, 92, 8009, 542, 2156, 1876, 3843, 2668, 9446, 310, 273, 638, 31, 2265, 2738, 3843, 16, 5743, 1769, 9446, 310, 273, 638, 31, 16327, 273, 638, 31, 16327, 273, 638, 31, 16327, 273, 638, 31, 16327, 273, 638, 31, 16327, 273, 638, 31, 16327, 273, 638, 31, 16327, 273, 638, 31, 16327, 273, 638, 31, 5518, 63, 92, 8009, 542, 3727, 43, 5370, 12, 7956, 2156, 18, 3417, 67, 43, 5370, 1769, 9446, 310, 273, 638, 31, 16327, 273, 638, 31, 16327, 273, 638, 31, 16327, 273, 638, 31, 16327, 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, 16327, 273, 638, 31, 16327, 273, 638, 31, 16327, 273, 638, 31, 1071, 9446, 310, 273, 638, 31, 918, 9446, 310, 273, 638, 31, 2424, 7956, 1435, 9446, 310, 273, 638, 31, 288, 9446, 310, 273, 638, 31, 16327, 273, 638, 31, 16327, 273, 638, 31, 16327, 273, 638, 31, 16327, 273, 638, 31, 16327, 273, 638, 31, 364, 9446, 310, 273, 638, 31, 261, 474, 9446, 310, 273, 638, 31, 619, 9446, 310, 273, 638, 31, 273, 9446, 310, 273, 638, 31, 374, 31, 9446, 310, 273, 638, 31, 619, 9446, 310, 273, 638, 31, 411, 9446, 310, 273, 638, 31, 562, 7956, 31, 9446, 310, 273, 638, 31, 619, 27245, 9446, 310, 273, 638, 31, 288, 9446, 2 ]
IntroPlugin.getDefault().setLaunchBar(null); IWorkbenchWindow window = PlatformUI.getWorkbench() .getActiveWorkbenchWindow(); IIntroPart intro = null; if (restore) { intro = PlatformUI.getWorkbench().getIntroManager().showIntro( window, false); } if (restore) { CustomizableIntroPart cpart = (CustomizableIntroPart) intro; Rectangle startBounds = Geometry.toDisplay( getControl().getParent(), getControl().getBounds()); Rectangle endBounds = Geometry.toDisplay(cpart.getControl() .getParent(), cpart.getControl().getBounds());
IntroPlugin.getDefault().setLaunchBar(null); IWorkbenchWindow window = PlatformUI.getWorkbench() .getActiveWorkbenchWindow(); IIntroPart intro = null; if (restore) { intro = PlatformUI.getWorkbench().getIntroManager().showIntro( window, false); } if (restore) { CustomizableIntroPart cpart = (CustomizableIntroPart) intro; Rectangle startBounds = Geometry.toDisplay( getControl().getParent(), getControl().getBounds()); Rectangle endBounds = Geometry.toDisplay(cpart.getControl() .getParent(), cpart.getControl().getBounds());
private IIntroPart closeLaunchBar(boolean restore) { IntroPlugin.getDefault().setLaunchBar(null); IWorkbenchWindow window = PlatformUI.getWorkbench() .getActiveWorkbenchWindow(); IIntroPart intro = null; if (restore) { intro = PlatformUI.getWorkbench().getIntroManager().showIntro( window, false); } if (restore) { CustomizableIntroPart cpart = (CustomizableIntroPart) intro; Rectangle startBounds = Geometry.toDisplay( getControl().getParent(), getControl().getBounds()); Rectangle endBounds = Geometry.toDisplay(cpart.getControl() .getParent(), cpart.getControl().getBounds()); RectangleAnimation animation = new RectangleAnimation(window .getShell(), startBounds, endBounds); animation.schedule(); } dispose(); window.getShell().layout(); return intro; }
13822 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13822/1b18c4111a9bdd6d059092d4cb5971693a9544b2/IntroLaunchBar.java/clean/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/presentations/IntroLaunchBar.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 467, 1702, 303, 1988, 1746, 9569, 5190, 12, 6494, 5217, 13, 288, 202, 202, 1702, 303, 3773, 18, 588, 1868, 7675, 542, 9569, 5190, 12, 2011, 1769, 202, 202, 45, 2421, 22144, 3829, 2742, 273, 11810, 5370, 18, 588, 2421, 22144, 1435, 9506, 202, 18, 588, 3896, 2421, 22144, 3829, 5621, 202, 202, 45, 1702, 303, 1988, 13079, 273, 446, 31, 202, 202, 430, 261, 13991, 13, 288, 1082, 202, 23342, 273, 11810, 5370, 18, 588, 2421, 22144, 7675, 588, 1702, 303, 1318, 7675, 4500, 1702, 303, 12, 6862, 202, 5668, 16, 629, 1769, 202, 202, 97, 202, 202, 430, 261, 13991, 13, 288, 1082, 202, 3802, 6934, 1702, 303, 1988, 276, 2680, 273, 261, 3802, 6934, 1702, 303, 1988, 13, 13079, 31, 1082, 202, 19463, 787, 5694, 273, 8344, 18, 869, 4236, 12, 6862, 202, 588, 3367, 7675, 588, 3054, 9334, 27174, 7675, 588, 5694, 10663, 1082, 202, 19463, 679, 5694, 273, 8344, 18, 869, 4236, 12, 71, 2680, 18, 588, 3367, 1435, 6862, 202, 18, 588, 3054, 9334, 276, 2680, 18, 588, 3367, 7675, 588, 5694, 10663, 1082, 202, 19463, 10816, 8794, 273, 394, 13264, 10816, 12, 5668, 6862, 202, 18, 588, 13220, 9334, 787, 5694, 16, 679, 5694, 1769, 1082, 202, 30822, 18, 10676, 5621, 202, 202, 97, 202, 202, 2251, 4150, 5621, 202, 202, 5668, 18, 588, 13220, 7675, 6741, 5621, 202, 202, 2463, 13079, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 467, 1702, 303, 1988, 1746, 9569, 5190, 12, 6494, 5217, 13, 288, 202, 202, 1702, 303, 3773, 18, 588, 1868, 7675, 542, 9569, 5190, 12, 2011, 1769, 202, 202, 45, 2421, 22144, 3829, 2742, 273, 11810, 5370, 18, 588, 2421, 22144, 1435, 9506, 202, 18, 588, 3896, 2421, 22144, 3829, 5621, 202, 202, 45, 1702, 303, 1988, 13079, 273, 446, 31, 202, 202, 430, 261, 13991, 13, 288, 1082, 202, 23342, 273, 11810, 5370, 18, 588, 2421, 22144, 7675, 588, 1702, 303, 1318, 7675, 4500, 1702, 303, 12, 6862, 202, 5668, 16, 629, 1769, 202, 202, 97, 202, 202, 430, 261, 13991, 13, 288, 1082, 202, 3802, 6934, 1702, 303, 1988, 276, 2680, 273, 261, 3802, 2 ]
setTarget(cv);
setTarget(cv, this);
public ClassEmitter(ClassVisitor cv) { super(null); setTarget(cv); }
1154 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1154/408cdf51abd6ca84afbd716d9e6b7cbb73437c61/ClassEmitter.java/buggy/src/proxy/net/sf/cglib/core/ClassEmitter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1659, 13476, 12, 797, 7413, 8951, 13, 288, 3639, 2240, 12, 2011, 1769, 3639, 18367, 12, 19774, 16, 333, 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, 1071, 1659, 13476, 12, 797, 7413, 8951, 13, 288, 3639, 2240, 12, 2011, 1769, 3639, 18367, 12, 19774, 16, 333, 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 ]
private void populateColumn(Column col, int columnType, String columnName, int dispSize, int bufLength, boolean nullable, boolean autoIncrement, boolean writable, boolean caseSensitive, String tableName, int precision, int scale) {
private static void populateColumn( final Column col, final int columnType, final String columnName, int dispSize, final int bufLength, final boolean nullable, final boolean autoIncrement, final boolean writable, final boolean caseSensitive, String tableName, int precision, final int scale) {
private void populateColumn(Column col, int columnType, String columnName, int dispSize, int bufLength, boolean nullable, boolean autoIncrement, boolean writable, boolean caseSensitive, String tableName, int precision, int scale) { if (columnName != null) { col.setName(columnName); col.setLabel(columnName); } col.setType(columnType); col.setBufferSize(bufLength); col.setNullable(nullable ? ResultSetMetaData.columnNullable : ResultSetMetaData.columnNoNulls); col.setAutoIncrement(autoIncrement); col.setReadOnly(!writable); col.setCaseSensitive(caseSensitive); // Set table name (and catalog and schema, if available) if (tableName != null) { int pos = tableName.lastIndexOf('.'); col.setTableName(tableName.substring(pos + 1)); pos = pos == -1 ? 0 : pos; tableName = tableName.substring(0, pos); if (pos > 0) { pos = tableName.lastIndexOf('.'); col.setSchema(tableName.substring(pos + 1)); pos = pos == -1 ? 0 : pos; tableName = tableName.substring(0, pos); } if (pos > 0) { col.setCatalog(tableName); } } // Set scale switch (columnType) { case SYBMONEY: case SYBMONEYN: case SYBMONEY4: case SYBSMALLMONEY: col.setScale(4); break; case SYBDATETIME: col.setScale(3); break; case SYBDATETIMN: if (bufLength == 8) col.setScale(3); else col.setScale(0); break; default: col.setScale(scale < 0 ? 0 : scale); } // Set precision and display size switch (columnType) { case SYBBINARY: case SYBIMAGE: case SYBVARBINARY: dispSize = 2 * (precision = bufLength); break; case SYBCHAR: case SYBTEXT: case SYBVARCHAR: dispSize = precision = bufLength; break; case SYBNCHAR: case SYBNTEXT: case SYBNVARCHAR: dispSize = precision = bufLength >> 1; break; case SYBBIT: dispSize = precision = 1; break; case SYBUNIQUEID: dispSize = precision = 36; break; case SYBDATETIME: dispSize = precision = 23; break; case SYBDATETIME4: dispSize = 3 + (precision = 16); break; case SYBDATETIMN: if (bufLength == 8) dispSize = precision = 23; else dispSize = 3 + (precision = 16); break; case SYBDECIMAL: case SYBNUMERIC: dispSize = (bufLength == scale ? 3 : 2) + precision; break; case SYBFLT8: dispSize = 9 + (precision = 15); break; case SYBREAL: dispSize = 7 + (precision = 7); break; case SYBFLTN: if (bufLength == 8) dispSize = 9 + (precision = 15); else dispSize = 7 + (precision = 7); break; case SYBINT4: dispSize = 1 + (precision = 10); break; case SYBINT2: dispSize = 1 + (precision = 5); break; case SYBINT1: dispSize = 1 + (precision = 2); break; case SYBINTN: if (bufLength == 4) dispSize = 1 + (precision = 10); else if (bufLength == 2) dispSize = 1 + (precision = 5); else dispSize = 1 + (precision = 2); break; case SYBMONEY: dispSize = 2 + (precision = 19); break; case SYBMONEY4: case SYBSMALLMONEY: dispSize = 2 + (precision = 10); break; case SYBMONEYN: if (bufLength == 8) dispSize = 2 + (precision = 19); else dispSize = 2 + (precision = 10); break; } col.setDisplaySize(dispSize); col.setPrecision(precision); }
5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/2be0656d7edb1ef1bceb7cc4bdad62540713e416/Tds.java/buggy/src/main/net/sourceforge/jtds/jdbc/Tds.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 6490, 1494, 12, 1494, 645, 16, 509, 27280, 16, 514, 7578, 16, 27573, 509, 16232, 1225, 16, 509, 1681, 1782, 16, 1250, 8413, 16, 1250, 3656, 10798, 16, 27573, 1250, 9691, 16, 1250, 20975, 16, 514, 4775, 16, 27573, 509, 6039, 16, 509, 3159, 13, 288, 3639, 309, 261, 2827, 461, 480, 446, 13, 288, 5411, 645, 18, 542, 461, 12, 2827, 461, 1769, 5411, 645, 18, 542, 2224, 12, 2827, 461, 1769, 3639, 289, 3639, 645, 18, 542, 559, 12, 2827, 559, 1769, 3639, 645, 18, 542, 15384, 12, 4385, 1782, 1769, 3639, 645, 18, 542, 13349, 12, 20247, 13491, 692, 10842, 6998, 18, 2827, 13349, 13491, 294, 10842, 6998, 18, 2827, 2279, 31326, 1769, 3639, 645, 18, 542, 4965, 10798, 12, 6079, 10798, 1769, 3639, 645, 18, 542, 12066, 12, 5, 15699, 1769, 3639, 645, 18, 542, 2449, 14220, 12, 3593, 14220, 1769, 3639, 368, 1000, 1014, 508, 261, 464, 6222, 471, 1963, 16, 309, 2319, 13, 3639, 309, 261, 18033, 480, 446, 13, 288, 5411, 509, 949, 273, 4775, 18, 2722, 31985, 2668, 1093, 1769, 5411, 645, 18, 542, 7147, 12, 18033, 18, 28023, 12, 917, 397, 404, 10019, 5411, 949, 273, 949, 422, 300, 21, 692, 374, 294, 949, 31, 5411, 4775, 273, 4775, 18, 28023, 12, 20, 16, 949, 1769, 5411, 309, 261, 917, 405, 374, 13, 288, 7734, 949, 273, 4775, 18, 2722, 31985, 2668, 1093, 1769, 7734, 645, 18, 542, 3078, 12, 18033, 18, 28023, 12, 917, 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, 6490, 1494, 12, 1494, 645, 16, 509, 27280, 16, 514, 7578, 16, 27573, 509, 16232, 1225, 16, 509, 1681, 1782, 16, 1250, 8413, 16, 1250, 3656, 10798, 16, 27573, 1250, 9691, 16, 1250, 20975, 16, 514, 4775, 16, 27573, 509, 6039, 16, 509, 3159, 13, 288, 3639, 309, 261, 2827, 461, 480, 446, 13, 288, 5411, 645, 18, 542, 461, 12, 2827, 461, 1769, 5411, 645, 18, 542, 2224, 12, 2827, 461, 1769, 3639, 289, 3639, 645, 18, 542, 559, 12, 2827, 559, 1769, 3639, 645, 18, 542, 15384, 12, 4385, 1782, 1769, 3639, 645, 18, 542, 13349, 12, 20247, 13491, 692, 10842, 6998, 18, 2827, 13349, 13491, 294, 10842, 6998, 18, 2827, 2279, 31326, 1769, 2 ]
in.skipBytes(2); in.read(er); short layerId = DataTools.bytesToShort(er, false);
in.readShort(); short layerId = in.readShort();
private void initMetadata() throws FormatException, IOException { in.seek(0); // start by reading the file header byte[] toRead = new byte[4]; in.read(toRead); long order = batoi(toRead); // byte ordering little = toRead[2] != 0xff || toRead[3] != 0xff; metadata.put("Byte Order", new Boolean(little)); in.skipBytes(4); in.read(toRead); long version = DataTools.bytesToLong(toRead, false); metadata.put("Version", new Long(version)); byte[] er = new byte[2]; in.read(er); short count = DataTools.bytesToShort(er, false); metadata.put("Count", new Short(count)); in.skipBytes(2); in.read(toRead); long offset = DataTools.bytesToLong(toRead, false); // skip to first tag in.seek(offset); // read in each tag and its data for (int i=0; i<count; i++) { in.read(er); short tag = DataTools.bytesToShort(er, false); in.skipBytes(2); in.read(toRead); offset = DataTools.bytesToLong(toRead, false); in.read(toRead); long fmt = DataTools.bytesToLong(toRead, false); metadata.put("Format", new Long(fmt)); in.read(toRead); long numBytes = DataTools.bytesToLong(toRead, false); metadata.put("NumBytes", new Long(numBytes)); if (tag == 67 || tag == 68) { byte[] b = new byte[1]; in.read(b); boolean isOpenlab2; if (b[0] == '0') isOpenlab2 = false; else isOpenlab2 = true; metadata.put("isOpenlab2", new Boolean(isOpenlab2)); in.skipBytes(2); in.read(er); short layerId = DataTools.bytesToShort(er, false); metadata.put("LayerID", new Short(layerId)); in.read(er); short layerType = DataTools.bytesToShort(er, false); metadata.put("LayerType", new Short(layerType)); in.read(er); short bitDepth = DataTools.bytesToShort(er, false); metadata.put("BitDepth", new Short(bitDepth)); in.read(er); short opacity = DataTools.bytesToShort(er, false); metadata.put("Opacity", new Short(opacity)); // not sure how many bytes to skip here in.skipBytes(10); in.read(toRead); long type = DataTools.bytesToLong(toRead, false); metadata.put("ImageType", new Long(type)); // not sure how many bytes to skip in.skipBytes(10); in.read(toRead); long timestamp = DataTools.bytesToLong(toRead, false); metadata.put("Timestamp", new Long(timestamp)); in.skipBytes(2); if (isOpenlab2 == true) { byte[] layerName = new byte[127]; in.read(layerName); metadata.put("LayerName", new String(layerName)); in.read(toRead); long timestampMS = DataTools.bytesToLong(toRead, false); metadata.put("Timestamp-MS", new Long(timestampMS)); in.skipBytes(1); byte[] notes = new byte[118]; in.read(notes); metadata.put("Notes", new String(notes)); } else in.skipBytes(123); } else if (tag == 69) { in.read(toRead); long platform = DataTools.bytesToLong(toRead, false); metadata.put("Platform", new Long(platform)); in.read(er); short units = DataTools.bytesToShort(er, false); metadata.put("Units", new Short(units)); in.read(er); short imageId = DataTools.bytesToShort(er, false); metadata.put("ID", new Short(imageId)); in.skipBytes(1); byte[] toRead2 = new byte[8]; double xOrigin = DataTools.readDouble(in, false); metadata.put("XOrigin", new Double(xOrigin)); double yOrigin = DataTools.readDouble(in, false); metadata.put("YOrigin", new Double(yOrigin)); double xScale = DataTools.readDouble(in, false); metadata.put("XScale", new Double(xScale)); double yScale = DataTools.readDouble(in, false); metadata.put("YScale", new Double(yScale)); in.skipBytes(1); byte[] other = new byte[31]; in.read(other); metadata.put("Other", new String(other)); } // Populate metadata store // The metadata store we're working with. MetadataStore store = getMetadataStore(); String type = "int8"; if (metadata.get("BitDepth") != null) { int bitDepth = ((Short) metadata.get("BitDepth")).intValue(); if (bitDepth <= 8) type = "int8"; else if (bitDepth <= 16) type = "int16"; else type = "int32"; } store.setImage(null, metadata.get("Timestamp").toString(), null, null); // FIXME: There is a loss of precision here as we are down-casting from // double to float. store.setStageLabel(null, (Float) metadata.get("XOrigin"), (Float) metadata.get("YOrigin"), null, null); // FIXME: There is a loss of precision here as we are down-casting from // double to float. store.setDimensions((Float) metadata.get("XScale"), (Float) metadata.get("YScale"), null, null, null, null); in.seek(offset); // We need to poke at least one plane so that we can get "sizeX" and // "sizeY" set. to populate the pixels set. try { firstPlane = openImage(currentId, 0); } catch (FormatException e) { e.printStackTrace(); } store.setPixels(sizeX, sizeY, new Integer(numBlocks), new Integer(getSizeC(currentId)), new Integer(1), type, new Boolean(!little), "XYCZT", null); } }
46826 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46826/2df09d33bfdc966378aae0cc09cb503afb983bc2/OpenlabReader.java/buggy/loci/formats/in/OpenlabReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 1208, 2277, 1435, 1216, 4077, 503, 16, 1860, 288, 565, 316, 18, 16508, 12, 20, 1769, 565, 368, 787, 635, 6453, 326, 585, 1446, 565, 1160, 8526, 358, 1994, 273, 394, 1160, 63, 24, 15533, 565, 316, 18, 896, 12, 869, 1994, 1769, 565, 1525, 1353, 273, 27464, 11359, 12, 869, 1994, 1769, 225, 368, 1160, 9543, 565, 12720, 273, 358, 1994, 63, 22, 65, 480, 374, 5297, 747, 358, 1994, 63, 23, 65, 480, 374, 5297, 31, 565, 1982, 18, 458, 2932, 3216, 4347, 3113, 394, 3411, 12, 80, 7188, 10019, 565, 316, 18, 7457, 2160, 12, 24, 1769, 565, 316, 18, 896, 12, 869, 1994, 1769, 565, 1525, 1177, 273, 1910, 10348, 18, 3890, 30220, 12, 869, 1994, 16, 629, 1769, 565, 1982, 18, 458, 2932, 1444, 3113, 394, 3407, 12, 1589, 10019, 565, 1160, 8526, 6445, 273, 394, 1160, 63, 22, 15533, 565, 316, 18, 896, 12, 264, 1769, 565, 3025, 1056, 273, 1910, 10348, 18, 3890, 774, 4897, 12, 264, 16, 629, 1769, 565, 1982, 18, 458, 2932, 1380, 3113, 394, 7925, 12, 1883, 10019, 565, 316, 18, 7457, 2160, 12, 22, 1769, 565, 316, 18, 896, 12, 869, 1994, 1769, 565, 1525, 1384, 273, 1910, 10348, 18, 3890, 30220, 12, 869, 1994, 16, 629, 1769, 565, 368, 2488, 358, 1122, 1047, 565, 316, 18, 16508, 12, 3348, 1769, 565, 368, 855, 316, 1517, 1047, 471, 2097, 501, 565, 364, 261, 474, 277, 33, 20, 31, 277, 32, 1883, 31, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 1208, 2277, 1435, 1216, 4077, 503, 16, 1860, 288, 565, 316, 18, 16508, 12, 20, 1769, 565, 368, 787, 635, 6453, 326, 585, 1446, 565, 1160, 8526, 358, 1994, 273, 394, 1160, 63, 24, 15533, 565, 316, 18, 896, 12, 869, 1994, 1769, 565, 1525, 1353, 273, 27464, 11359, 12, 869, 1994, 1769, 225, 368, 1160, 9543, 565, 12720, 273, 358, 1994, 63, 22, 65, 480, 374, 5297, 747, 358, 1994, 63, 23, 65, 480, 374, 5297, 31, 565, 1982, 18, 458, 2932, 3216, 4347, 3113, 394, 3411, 12, 80, 7188, 10019, 565, 316, 18, 7457, 2160, 12, 24, 1769, 565, 316, 18, 896, 12, 869, 1994, 1769, 565, 1525, 1177, 273, 1910, 10348, 18, 3890, 2 ]
url_ = new URL("http:
url_ = new URL("http:
public StringWebResponse( final String content ) { content_ = content; try { url_ = new URL("http://first"); } catch( final MalformedURLException e ) { // Theoretically impossible throw new IllegalStateException(e.toString()); } }
3508 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3508/bf7bb8fb833837ebfda106beb7990dc8f77a30d0/StringWebResponse.java/clean/htmlunit/src/java/com/gargoylesoftware/htmlunit/StringWebResponse.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 4079, 1064, 12, 727, 514, 913, 262, 288, 3639, 913, 67, 273, 913, 31, 3639, 775, 288, 5411, 880, 67, 273, 394, 1976, 2932, 2505, 2207, 3645, 8863, 3639, 289, 3639, 1044, 12, 727, 20710, 425, 262, 288, 5411, 368, 1021, 479, 88, 6478, 23343, 5411, 604, 394, 5477, 12, 73, 18, 10492, 10663, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 4079, 1064, 12, 727, 514, 913, 262, 288, 3639, 913, 67, 273, 913, 31, 3639, 775, 288, 5411, 880, 67, 273, 394, 1976, 2932, 2505, 2207, 3645, 8863, 3639, 289, 3639, 1044, 12, 727, 20710, 425, 262, 288, 5411, 368, 1021, 479, 88, 6478, 23343, 5411, 604, 394, 5477, 12, 73, 18, 10492, 10663, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (!isArrayLengthComparison(condition, indexVar)) {
if(!isArrayLengthComparison(condition, indexVar)){
private boolean isArrayLoopStatement(PsiForStatement forStatement) { final PsiStatement initialization = forStatement.getInitialization(); if (!(initialization instanceof PsiDeclarationStatement)) { return false; } final PsiDeclarationStatement declaration = (PsiDeclarationStatement) initialization; if (declaration.getDeclaredElements().length != 1) { return false; } final PsiLocalVariable indexVar = (PsiLocalVariable) declaration.getDeclaredElements()[0]; final PsiExpression initialValue = indexVar.getInitializer(); if (initialValue == null) { return false; } final String initializerText = initialValue.getText(); if (!"0".equals(initializerText)) { return false; } final PsiExpression condition = forStatement.getCondition(); if (!isArrayLengthComparison(condition, indexVar)) { return false; } final PsiStatement update = forStatement.getUpdate(); if (!isIncrement(update, indexVar)) { return false; } final PsiReferenceExpression arrayReference = getArrayFromCondition(condition); final PsiStatement body = forStatement.getBody(); if (body == null) { return false; } final String arrayName = arrayReference.getText(); if (!indexVarOnlyUsedAsIndex(arrayName, indexVar, body)) { return false; } return !isArrayAssigned(arrayName, body); }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/dba8b183fc1b08e7ad664812bfc0c64d1e4abd3c/ForCanBeForeachInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/verbose/ForCanBeForeachInspection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 5439, 6452, 3406, 12, 52, 7722, 1290, 3406, 364, 3406, 13, 288, 3639, 727, 453, 7722, 3406, 10313, 273, 364, 3406, 18, 588, 17701, 5621, 3639, 309, 16051, 12, 6769, 1588, 1276, 453, 7722, 6094, 3406, 3719, 288, 5411, 327, 629, 31, 3639, 289, 3639, 727, 453, 7722, 6094, 3406, 8266, 273, 261, 52, 7722, 6094, 3406, 13, 10313, 31, 3639, 309, 261, 22448, 18, 588, 18888, 3471, 7675, 2469, 480, 404, 13, 288, 5411, 327, 629, 31, 3639, 289, 3639, 727, 453, 7722, 2042, 3092, 770, 1537, 273, 261, 52, 7722, 2042, 3092, 13, 8266, 18, 588, 18888, 3471, 1435, 63, 20, 15533, 3639, 727, 453, 7722, 2300, 11837, 273, 770, 1537, 18, 588, 14729, 5621, 3639, 309, 261, 6769, 620, 422, 446, 13, 288, 5411, 327, 629, 31, 3639, 289, 3639, 727, 514, 12562, 1528, 273, 11837, 18, 588, 1528, 5621, 3639, 309, 261, 4442, 20, 9654, 14963, 12, 22181, 1528, 3719, 288, 5411, 327, 629, 31, 3639, 289, 3639, 727, 453, 7722, 2300, 2269, 273, 364, 3406, 18, 588, 3418, 5621, 3639, 309, 12, 5, 291, 1076, 1782, 16059, 12, 4175, 16, 770, 1537, 3719, 95, 5411, 327, 629, 31, 3639, 289, 3639, 727, 453, 7722, 3406, 1089, 273, 364, 3406, 18, 588, 1891, 5621, 3639, 309, 16051, 291, 10798, 12, 2725, 16, 770, 1537, 3719, 288, 5411, 327, 629, 31, 3639, 289, 3639, 727, 453, 7722, 2404, 2300, 526, 2404, 273, 12634, 1265, 3418, 12, 4175, 1769, 3639, 727, 453, 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, 5439, 6452, 3406, 12, 52, 7722, 1290, 3406, 364, 3406, 13, 288, 3639, 727, 453, 7722, 3406, 10313, 273, 364, 3406, 18, 588, 17701, 5621, 3639, 309, 16051, 12, 6769, 1588, 1276, 453, 7722, 6094, 3406, 3719, 288, 5411, 327, 629, 31, 3639, 289, 3639, 727, 453, 7722, 6094, 3406, 8266, 273, 261, 52, 7722, 6094, 3406, 13, 10313, 31, 3639, 309, 261, 22448, 18, 588, 18888, 3471, 7675, 2469, 480, 404, 13, 288, 5411, 327, 629, 31, 3639, 289, 3639, 727, 453, 7722, 2042, 3092, 770, 1537, 273, 261, 52, 7722, 2042, 3092, 13, 8266, 18, 588, 18888, 3471, 1435, 63, 20, 15533, 3639, 727, 453, 7722, 2300, 11837, 273, 770, 1537, 18, 588, 14729, 2 ]
PortalException pe = new PortalException("RDBMCounterStore::createCounter(): An error occured while creating the counter named: " + counterName, sqle); log.error( pe);
PortalException pe = new PortalException("RDBMCounterStore::createCounter(): " + "An error occured while creating the counter named: " + counterName, sqle); log.error("RDBMCounterStore::createCounter(): " + "An error occured while creating the counter named: " + counterName, pe);
public synchronized void createCounter (String counterName) throws Exception { Connection con = RDBMServices.getConnection(); PreparedStatement createCounterPstmt = null; try { RDBMServices.setAutoCommit(con, false); String createCounterInsert = "INSERT INTO UP_SEQUENCE (SEQUENCE_NAME, SEQUENCE_VALUE) " + "VALUES (?, 0)"; createCounterPstmt = con.prepareStatement(createCounterInsert); createCounterPstmt.setString(1, counterName); log.debug("RDBMCounterStore::createCounter(" + counterName + "): " + createCounterInsert); int updateCount = createCounterPstmt.executeUpdate(); if (updateCount <= 0) { PortalException pe = new PortalException("RDBMCounterStore::createCounter(): An error occured while creating the counter named: " + counterName + ".\nNo rows were created."); log.error( pe); throw pe; } RDBMServices.commit(con); } catch (SQLException sqle) { RDBMServices.rollback(con); PortalException pe = new PortalException("RDBMCounterStore::createCounter(): An error occured while creating the counter named: " + counterName, sqle); log.error( pe); throw pe; } finally { try { createCounterPstmt.close(); } catch (Exception e) {}; RDBMServices.releaseConnection(con); } }
24959 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/24959/57e3197a637af7fe87cfab26aa10ff83697d1b52/RDBMCounterStore.java/buggy/source/org/jasig/portal/utils/RDBMCounterStore.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 918, 752, 4789, 261, 780, 3895, 461, 13, 1216, 1185, 288, 3639, 4050, 356, 273, 534, 2290, 49, 5676, 18, 588, 1952, 5621, 3639, 16913, 752, 4789, 52, 10589, 273, 446, 31, 7734, 775, 288, 5411, 534, 2290, 49, 5676, 18, 542, 4965, 5580, 12, 591, 16, 629, 1769, 13491, 514, 752, 4789, 4600, 273, 7734, 315, 11356, 12421, 7376, 67, 25330, 261, 25330, 67, 1985, 16, 27118, 67, 4051, 13, 315, 397, 7734, 315, 16386, 13590, 16, 374, 2225, 31, 13491, 752, 4789, 52, 10589, 273, 356, 18, 9366, 3406, 12, 2640, 4789, 4600, 1769, 5411, 752, 4789, 52, 10589, 18, 542, 780, 12, 21, 16, 3895, 461, 1769, 13491, 613, 18, 4148, 2932, 54, 2290, 49, 4789, 2257, 2866, 2640, 4789, 2932, 397, 3895, 461, 397, 315, 4672, 315, 397, 752, 4789, 4600, 1769, 5411, 509, 1089, 1380, 273, 752, 4789, 52, 10589, 18, 8837, 1891, 5621, 13491, 309, 261, 2725, 1380, 1648, 374, 13, 288, 7734, 25478, 503, 2804, 273, 394, 25478, 503, 2932, 54, 2290, 49, 4789, 2257, 2866, 2640, 4789, 13332, 1922, 555, 16206, 1323, 4979, 326, 3895, 4141, 30, 315, 397, 3895, 461, 397, 3552, 64, 82, 2279, 2595, 4591, 2522, 1199, 1769, 7734, 613, 18, 1636, 12, 2804, 1769, 1171, 604, 2804, 31, 5411, 289, 13491, 534, 2290, 49, 5676, 18, 7371, 12, 591, 1769, 3639, 289, 3639, 1044, 261, 23116, 4744, 298, 13, 288, 5411, 534, 2290, 49, 5676, 18, 20050, 12, 591, 1769, 13491, 25478, 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, 3852, 918, 752, 4789, 261, 780, 3895, 461, 13, 1216, 1185, 288, 3639, 4050, 356, 273, 534, 2290, 49, 5676, 18, 588, 1952, 5621, 3639, 16913, 752, 4789, 52, 10589, 273, 446, 31, 7734, 775, 288, 5411, 534, 2290, 49, 5676, 18, 542, 4965, 5580, 12, 591, 16, 629, 1769, 13491, 514, 752, 4789, 4600, 273, 7734, 315, 11356, 12421, 7376, 67, 25330, 261, 25330, 67, 1985, 16, 27118, 67, 4051, 13, 315, 397, 7734, 315, 16386, 13590, 16, 374, 2225, 31, 13491, 752, 4789, 52, 10589, 273, 356, 18, 9366, 3406, 12, 2640, 4789, 4600, 1769, 5411, 752, 4789, 52, 10589, 18, 542, 780, 12, 21, 16, 3895, 461, 1769, 13491, 613, 18, 4148, 2932, 54, 2 ]
list.add( container.getLocation().toOSString() );
list.add( container.getLocation().toPortableString() );
private void getSourceLookupPath( List list, ISourceContainer[] containers ) { for ( int i = 0; i < containers.length; ++i ) { if ( containers[i] instanceof ProjectSourceContainer ) { IProject project = ((ProjectSourceContainer)containers[i]).getProject(); if ( project != null && project.exists() ) list.add( project.getLocation().toOSString() ); } if ( containers[i] instanceof FolderSourceContainer ) { IContainer container = ((FolderSourceContainer)containers[i]).getContainer(); if ( container != null && container.exists() ) list.add( container.getLocation().toOSString() ); } if ( containers[i] instanceof CDirectorySourceContainer ) { File dir = ((CDirectorySourceContainer)containers[i]).getDirectory(); if ( dir != null && dir.exists() ) list.add( dir.getAbsolutePath() ); } if ( containers[i].isComposite() ) { try { getSourceLookupPath( list, containers[i].getSourceContainers() ); } catch( CoreException e ) { CDebugCorePlugin.log( e.getStatus() ); } } } }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/465bd40eb218897d7373cf79168426cfa711880c/CDebugTarget.java/clean/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CDebugTarget.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 7889, 6609, 743, 12, 987, 666, 16, 467, 1830, 2170, 8526, 8475, 262, 288, 202, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 8475, 18, 2469, 31, 965, 77, 262, 288, 1082, 202, 430, 261, 8475, 63, 77, 65, 1276, 5420, 1830, 2170, 262, 288, 9506, 202, 45, 4109, 1984, 273, 14015, 4109, 1830, 2170, 13, 20596, 63, 77, 65, 2934, 588, 4109, 5621, 9506, 202, 430, 261, 1984, 480, 446, 597, 1984, 18, 1808, 1435, 262, 6862, 202, 1098, 18, 1289, 12, 1984, 18, 588, 2735, 7675, 869, 4618, 780, 1435, 11272, 1082, 202, 97, 1082, 202, 430, 261, 8475, 63, 77, 65, 1276, 12623, 1830, 2170, 262, 288, 9506, 202, 45, 2170, 1478, 273, 14015, 3899, 1830, 2170, 13, 20596, 63, 77, 65, 2934, 588, 2170, 5621, 9506, 202, 430, 261, 1478, 480, 446, 597, 1478, 18, 1808, 1435, 262, 6862, 202, 1098, 18, 1289, 12, 1478, 18, 588, 2735, 7675, 869, 4618, 780, 1435, 11272, 1082, 202, 97, 1082, 202, 430, 261, 8475, 63, 77, 65, 1276, 385, 2853, 1830, 2170, 262, 288, 9506, 202, 812, 1577, 273, 14015, 39, 2853, 1830, 2170, 13, 20596, 63, 77, 65, 2934, 588, 2853, 5621, 9506, 202, 430, 261, 1577, 480, 446, 597, 1577, 18, 1808, 1435, 262, 6862, 202, 1098, 18, 1289, 12, 1577, 18, 588, 10368, 743, 1435, 11272, 1082, 202, 97, 1082, 202, 430, 261, 8475, 63, 77, 8009, 291, 9400, 1435, 262, 288, 9506, 202, 698, 288, 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, 7889, 6609, 743, 12, 987, 666, 16, 467, 1830, 2170, 8526, 8475, 262, 288, 202, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 8475, 18, 2469, 31, 965, 77, 262, 288, 1082, 202, 430, 261, 8475, 63, 77, 65, 1276, 5420, 1830, 2170, 262, 288, 9506, 202, 45, 4109, 1984, 273, 14015, 4109, 1830, 2170, 13, 20596, 63, 77, 65, 2934, 588, 4109, 5621, 9506, 202, 430, 261, 1984, 480, 446, 597, 1984, 18, 1808, 1435, 262, 6862, 202, 1098, 18, 1289, 12, 1984, 18, 588, 2735, 7675, 869, 4618, 780, 1435, 11272, 1082, 202, 97, 1082, 202, 430, 261, 8475, 63, 77, 65, 1276, 12623, 1830, 2170, 262, 288, 9506, 202, 45, 2 ]
public org.quickfix.field.ValidUntilTime getValidUntilTime() throws FieldNotFound { org.quickfix.field.ValidUntilTime value = new org.quickfix.field.ValidUntilTime();
public quickfix.field.ValidUntilTime getValidUntilTime() throws FieldNotFound { quickfix.field.ValidUntilTime value = new quickfix.field.ValidUntilTime();
public org.quickfix.field.ValidUntilTime getValidUntilTime() throws FieldNotFound { org.quickfix.field.ValidUntilTime value = new org.quickfix.field.ValidUntilTime(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/Quote.java/buggy/src/java/src/quickfix/fix44/Quote.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 1556, 9716, 950, 22574, 9716, 950, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 1556, 9716, 950, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 1556, 9716, 950, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 1556, 9716, 950, 22574, 9716, 950, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 1556, 9716, 950, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 1556, 9716, 950, 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 ]
&& file.fetchInfo().isDirectory())
&& file.fetchInfo().isDirectory()) {
public IStatus validate(Object[] selection) { int nSelected = selection.length; String pluginId = IDEWorkbenchPlugin.IDE_WORKBENCH; if (nSelected == 0 || (nSelected > 1 && multiSelect == false)) { return new Status(IStatus.ERROR, pluginId, IStatus.ERROR, IDEResourceInfoUtils.EMPTY_STRING, null); } for (int i = 0; i < selection.length; i++) { Object curr = selection[i]; if (curr instanceof IFileStore) { IFileStore file = (IFileStore) curr; if (acceptFolders == false && file.fetchInfo().isDirectory()) return new Status(IStatus.ERROR, pluginId, IStatus.ERROR, IDEResourceInfoUtils.EMPTY_STRING, null); } } return Status.OK_STATUS; }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/FileFolderSelectionDialog.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/FileFolderSelectionDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 467, 1482, 1954, 12, 921, 8526, 4421, 13, 288, 1082, 202, 474, 290, 7416, 273, 4421, 18, 2469, 31, 1082, 202, 780, 1909, 548, 273, 1599, 41, 2421, 22144, 3773, 18, 10385, 67, 10566, 38, 1157, 1792, 31, 1082, 202, 430, 261, 82, 7416, 422, 374, 747, 261, 82, 7416, 405, 404, 597, 3309, 3391, 422, 629, 3719, 288, 9506, 202, 2463, 394, 2685, 12, 45, 1482, 18, 3589, 16, 1909, 548, 16, 467, 1482, 18, 3589, 16, 25083, 202, 10385, 1420, 966, 1989, 18, 13625, 67, 5804, 16, 446, 1769, 1082, 202, 97, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 4421, 18, 2469, 31, 277, 27245, 288, 9506, 202, 921, 4306, 273, 4421, 63, 77, 15533, 9506, 202, 430, 261, 17016, 1276, 467, 812, 2257, 13, 288, 6862, 202, 45, 812, 2257, 585, 273, 261, 45, 812, 2257, 13, 4306, 31, 6862, 202, 430, 261, 9436, 14885, 422, 629, 6862, 1082, 202, 10, 10, 585, 18, 5754, 966, 7675, 291, 2853, 10756, 25083, 202, 2463, 394, 2685, 12, 45, 1482, 18, 3589, 16, 1909, 548, 16, 6862, 9506, 202, 45, 1482, 18, 3589, 16, 6862, 9506, 202, 10385, 1420, 966, 1989, 18, 13625, 67, 5804, 16, 446, 1769, 9506, 202, 97, 1082, 202, 97, 1082, 202, 2463, 2685, 18, 3141, 67, 8608, 31, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 467, 1482, 1954, 12, 921, 8526, 4421, 13, 288, 1082, 202, 474, 290, 7416, 273, 4421, 18, 2469, 31, 1082, 202, 780, 1909, 548, 273, 1599, 41, 2421, 22144, 3773, 18, 10385, 67, 10566, 38, 1157, 1792, 31, 1082, 202, 430, 261, 82, 7416, 422, 374, 747, 261, 82, 7416, 405, 404, 597, 3309, 3391, 422, 629, 3719, 288, 9506, 202, 2463, 394, 2685, 12, 45, 1482, 18, 3589, 16, 1909, 548, 16, 467, 1482, 18, 3589, 16, 25083, 202, 10385, 1420, 966, 1989, 18, 13625, 67, 5804, 16, 446, 1769, 1082, 202, 97, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 4421, 18, 2469, 31, 277, 27245, 288, 9506, 202, 921, 4306, 2 ]
private void resolvePushAttack(PushAttackAction paa, int lastEntityId) { final Entity ae = game.getEntity(paa.getEntityId()); // PLEASE NOTE: buildings are *never* the target of a "push". final Entity te = game.getEntity(paa.getTargetId()); if (lastEntityId != paa.getEntityId()) { phaseReport.append("\nPhysical attacks for " ).append( ae.getDisplayName() ).append( "\n"); } phaseReport.append(" Pushing " ).append( te.getDisplayName()); // // should we even bother?// if (te.isDestroyed() || te.isDoomed() || te.crew.isDead()) {// phaseReport.append(" but the target is already destroyed!\n");// return;// } // compute to-hit ToHitData toHit = Compute.toHitPush(game, paa); if (toHit.getValue() == ToHitData.IMPOSSIBLE) { phaseReport.append(", but the push is impossible (" ).append( toHit.getDesc() ).append( ")\n"); return; } phaseReport.append("; needs " ).append( toHit.getValue() ).append( ", "); // roll int roll = Compute.d6(2); phaseReport.append("rolls " ).append( roll ).append( " : "); // do we hit? if (roll < toHit.getValue()) { phaseReport.append("misses.\n"); return; } // we hit... int direction = ae.getFacing(); Coords src = te.getPosition(); Coords dest = src.translated(direction); if (Compute.isValidDisplacement(game, te.getId(), te.getPosition(), direction)) { phaseReport.append("succeeds: target is pushed into hex " ).append( dest.getBoardNum() ).append( "\n"); doEntityDisplacement(te, src, dest, new PilotingRollData(te.getId(), getKickPushPSRMod(ae, te, 0), "was pushed")); // if push actually moved the target, attacker follows thru if (!te.getPosition().equals(src)) { ae.setPosition(src); } } else { if (game.getOptions().booleanOption("push_off_board") && !game.board.contains(dest)) { game.removeEntity(te.getId(), Entity.REMOVE_PUSHED); send(createRemoveEntityPacket(te.getId(), Entity.REMOVE_PUSHED)); phaseReport.append("\n*** " ).append( te.getDisplayName() ).append( " has been forced from the field. ***\n"); // TODO: remove passengers and swarmers. ae.setPosition(src); } else { phaseReport.append("succeeds, but target can't be moved.\n"); game.addPSR(new PilotingRollData(te.getId(), getKickPushPSRMod(ae, te, 0), "was pushed")); } } phaseReport.append("\n"); }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/1ecffa782704db8af19ae40d43a2c0659881281b/Server.java/buggy/megamek/src/megamek/server/Server.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2245, 7621, 3075, 484, 12, 7621, 3075, 484, 1803, 6790, 69, 16, 509, 1142, 18029, 13, 288, 3639, 727, 3887, 14221, 273, 7920, 18, 588, 1943, 12, 84, 7598, 18, 588, 18029, 10663, 3639, 368, 453, 22357, 5219, 30, 1361, 899, 854, 380, 4644, 502, 14, 326, 1018, 434, 279, 315, 6206, 9654, 3639, 727, 3887, 6489, 273, 7920, 18, 588, 1943, 12, 84, 7598, 18, 588, 2326, 548, 10663, 7734, 309, 261, 2722, 18029, 480, 6790, 69, 18, 588, 18029, 10756, 288, 5411, 6855, 4820, 18, 6923, 31458, 82, 18136, 28444, 364, 315, 262, 18, 6923, 12, 14221, 18, 588, 20524, 1435, 262, 18, 6923, 12, 1548, 82, 8863, 3639, 289, 7734, 6855, 4820, 18, 6923, 2932, 565, 8547, 310, 315, 262, 18, 6923, 12, 6489, 18, 588, 20524, 10663, 3639, 368, 3639, 368, 1410, 732, 5456, 23440, 35, 759, 3639, 309, 261, 736, 18, 291, 28414, 1435, 747, 6489, 18, 291, 3244, 362, 329, 1435, 747, 6489, 18, 1793, 91, 18, 291, 11852, 10756, 288, 759, 5411, 6855, 4820, 18, 6923, 2932, 1496, 326, 1018, 353, 1818, 17689, 24440, 82, 8863, 759, 5411, 327, 31, 759, 3639, 289, 7734, 368, 3671, 358, 17, 15989, 3639, 2974, 13616, 751, 358, 13616, 273, 8155, 18, 869, 13616, 7621, 12, 13957, 16, 6790, 69, 1769, 3639, 309, 261, 869, 13616, 18, 24805, 1435, 422, 2974, 13616, 751, 18, 3445, 2419, 1260, 13450, 900, 13, 288, 5411, 6855, 4820, 18, 6923, 2932, 16, 1496, 326, 1817, 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, 2245, 7621, 3075, 484, 12, 7621, 3075, 484, 1803, 6790, 69, 16, 509, 1142, 18029, 13, 288, 3639, 727, 3887, 14221, 273, 7920, 18, 588, 1943, 12, 84, 7598, 18, 588, 18029, 10663, 3639, 368, 453, 22357, 5219, 30, 1361, 899, 854, 380, 4644, 502, 14, 326, 1018, 434, 279, 315, 6206, 9654, 3639, 727, 3887, 6489, 273, 7920, 18, 588, 1943, 12, 84, 7598, 18, 588, 2326, 548, 10663, 7734, 309, 261, 2722, 18029, 480, 6790, 69, 18, 588, 18029, 10756, 288, 5411, 6855, 4820, 18, 6923, 31458, 82, 18136, 28444, 364, 315, 262, 18, 6923, 12, 14221, 18, 588, 20524, 1435, 262, 18, 6923, 12, 1548, 82, 8863, 3639, 289, 7734, 6855, 4820, 18, 2 ]
newChart.getTitle( ) .getLabel( ) .getCaption( ) .setValue( CHART_TITLE );
newChart.getTitle( ).getLabel( ).getCaption( ).setValue( CHART_TITLE );
public Chart getModel( String sSubType, Orientation orientation, String sDimension, Chart currentChart ) { ChartWithAxes newChart = null; if ( currentChart != null ) { newChart = (ChartWithAxes) getConvertedChart( currentChart, sSubType, orientation, sDimension ); if ( newChart != null ) { return newChart; } } newChart = ChartWithAxesImpl.create( ); newChart.setType( TYPE_LITERAL ); newChart.setSubType( sSubType ); newChart.setOrientation( orientation ); newChart.setDimension( getDimensionFor( sDimension ) ); newChart.setUnits( "Points" ); //$NON-NLS-1$ newChart.getTitle( ) .getLabel( ) .getCaption( ) .setValue( CHART_TITLE ); //$NON-NLS-1$ ( (Axis) newChart.getAxes( ).get( 0 ) ).setOrientation( Orientation.HORIZONTAL_LITERAL ); ( (Axis) newChart.getAxes( ).get( 0 ) ).setType( AxisType.DATE_TIME_LITERAL ); ( (Axis) newChart.getAxes( ).get( 0 ) ).setCategoryAxis( true ); SeriesDefinition sdX = SeriesDefinitionImpl.create( ); Series categorySeries = SeriesImpl.create( ); sdX.getSeries( ).add( categorySeries ); sdX.getSeriesPalette( ).update( 0 ); ( (Axis) newChart.getAxes( ).get( 0 ) ).getSeriesDefinitions( ) .add( sdX ); ( (Axis) ( (Axis) newChart.getAxes( ).get( 0 ) ).getAssociatedAxes( ) .get( 0 ) ).setOrientation( Orientation.VERTICAL_LITERAL ); ( (Axis) ( (Axis) newChart.getAxes( ).get( 0 ) ).getAssociatedAxes( ) .get( 0 ) ).setType( AxisType.LINEAR_LITERAL ); SeriesDefinition sdY = SeriesDefinitionImpl.create( ); sdY.getSeriesPalette( ).update( 0 ); Series valueSeries = StockSeriesImpl.create( ); valueSeries.getLabel( ).setVisible( true ); sdY.getSeries( ).add( valueSeries ); ( (Axis) ( (Axis) newChart.getAxes( ).get( 0 ) ).getAssociatedAxes( ) .get( 0 ) ).getSeriesDefinitions( ).add( sdY ); addSampleData( newChart ); return newChart; }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/182827fe6ad4e223adc4bf4bcf44d469847b773d/StockChart.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/type/StockChart.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 14804, 7454, 12, 514, 272, 30511, 16, 531, 12556, 9820, 16, 1082, 202, 780, 272, 8611, 16, 14804, 783, 7984, 262, 202, 95, 202, 202, 7984, 1190, 26494, 394, 7984, 273, 446, 31, 202, 202, 430, 261, 783, 7984, 480, 446, 262, 202, 202, 95, 1082, 202, 2704, 7984, 273, 261, 7984, 1190, 26494, 13, 336, 22063, 7984, 12, 783, 7984, 16, 6862, 202, 87, 30511, 16, 6862, 202, 19235, 16, 6862, 202, 87, 8611, 11272, 1082, 202, 430, 261, 394, 7984, 480, 446, 262, 1082, 202, 95, 9506, 202, 2463, 394, 7984, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 2704, 7984, 273, 14804, 1190, 26494, 2828, 18, 2640, 12, 11272, 202, 202, 2704, 7984, 18, 542, 559, 12, 3463, 67, 23225, 11272, 202, 202, 2704, 7984, 18, 542, 30511, 12, 272, 30511, 11272, 202, 202, 2704, 7984, 18, 542, 14097, 12, 9820, 11272, 202, 202, 2704, 7984, 18, 542, 8611, 12, 20283, 1290, 12, 272, 8611, 262, 11272, 202, 202, 2704, 7984, 18, 542, 7537, 12, 315, 5636, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 2704, 7984, 18, 588, 4247, 12, 262, 1082, 202, 18, 588, 2224, 12, 262, 1082, 202, 18, 588, 21158, 12, 262, 1082, 202, 18, 542, 620, 12, 6469, 4928, 67, 14123, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 12, 261, 6558, 13, 394, 7984, 18, 588, 26494, 12, 262, 18, 588, 12, 374, 262, 262, 18, 542, 14097, 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, 225, 202, 482, 14804, 7454, 12, 514, 272, 30511, 16, 531, 12556, 9820, 16, 1082, 202, 780, 272, 8611, 16, 14804, 783, 7984, 262, 202, 95, 202, 202, 7984, 1190, 26494, 394, 7984, 273, 446, 31, 202, 202, 430, 261, 783, 7984, 480, 446, 262, 202, 202, 95, 1082, 202, 2704, 7984, 273, 261, 7984, 1190, 26494, 13, 336, 22063, 7984, 12, 783, 7984, 16, 6862, 202, 87, 30511, 16, 6862, 202, 19235, 16, 6862, 202, 87, 8611, 11272, 1082, 202, 430, 261, 394, 7984, 480, 446, 262, 1082, 202, 95, 9506, 202, 2463, 394, 7984, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 2704, 7984, 273, 14804, 1190, 26494, 2828, 18, 2640, 12, 11272, 202, 202, 2704, 2 ]
log.info( "***** PARSING ***** \n" ); this.mageMLParser = ( MageMLParser ) ctx.getBean( "mageMLParser" ); this.mageMLConverter = ( MageMLConverter ) ctx.getBean( "mageMLConverter" ); this.mageMLPreprocessor = new MageMLPreprocessor( "testPreprocess" );
log.info( "***** PARSING ***** " );
public void testPreprocess() throws IOException, TransformerException { /* PARSING */ log.info( "***** PARSING ***** \n" ); this.mageMLParser = ( MageMLParser ) ctx.getBean( "mageMLParser" ); this.mageMLConverter = ( MageMLConverter ) ctx.getBean( "mageMLConverter" ); // this.mageMLPreprocessor = ( MageMLPreprocessor ) ctx.getBean( "mageMLPreprocessor" ); this.mageMLPreprocessor = new MageMLPreprocessor( "testPreprocess" ); /* invoke mageMLParser */ InputStream istMageExamples = MageMLPreprocessorIntegrationTest.class .getResourceAsStream( "/data/mage/E-AFMX-13/E-AFMX-13.xml" ); mageMLParser.parse( istMageExamples ); /* create the simplified xml file using the mageMLParser */ InputStream ist2MageExamples = MageMLPreprocessorIntegrationTest.class .getResourceAsStream( "/data/mage/E-AFMX-13/E-AFMX-13.xml" ); mageMLParser.createSimplifiedXml( ist2MageExamples ); /* get results from parsing step */ log.info( "Tally:\n" + mageMLParser ); Collection<Object> mageObjects = mageMLParser.getResults(); log.debug( "number of SDOs: " + mageObjects.size() ); /* get xsl transformed xml file */ Document simplifiedXml = mageMLParser.getSimplifiedXml(); log.debug( "simplified xml document: " + simplifiedXml ); /* close input streams */ istMageExamples.close(); ist2MageExamples.close(); /* CONVERTING */ log.info( "***** CONVERTING ***** \n" ); /* create input stream from xsl file. */ if ( simplifiedXml == null ) { log.info( "simplfied xml file is null. Exiting test ..." ); System.exit( 0 ); } /* * on Spring initialization, simplifiedXml is still null because it has not been passed a document. Therefore, * set it. */ mageMLConverter.setSimplifiedXml( simplifiedXml ); Collection<Object> gemmaObjects = mageMLConverter.convert( mageObjects ); log.debug( "number of GDOs: " + gemmaObjects.size() ); for ( Object obj : gemmaObjects ) { log.debug( obj.getClass() + ": " + obj ); } /* get all the gemma bioassays from the converter */ List<BioAssay> bioAssays = mageMLConverter.getConvertedBioAssays(); // // you will have to parse a new file for each bioassay. InputStream[] is = new InputStream[bioAssays.size()]; is[0] = this.getClass().getResourceAsStream( "/data/mage/E-AFMX-13/031128_jm 29 c1 72hrao_031128_JM 29 C1 72hrAO_CEL_externaldata.txt" ); is[1] = this.getClass().getResourceAsStream( "/data/mage/E-AFMX-13/031128_jm 30 g1 72hrgen_031128_JM 30 G1 72hrGEN_CEL_externaldata.txt" ); is[2] = this.getClass().getResourceAsStream( "/data/mage/E-AFMX-13/031128_jm 31 e1 72hre2_031128_JM 31 E1 72hrE2_CEL_externaldata.txt" ); is[3] = this.getClass().getResourceAsStream( "/data/mage/E-AFMX-13/031128_jm 32 d1 72hrdes_031128_JM 32 D1 72hrDES_CEL_externaldata.txt" ); is[4] = this.getClass().getResourceAsStream( "/data/mage/E-AFMX-13/031201_jm 37 c2 72hrao_031201_JM 37 C2 72hrAO_CEL_externaldata.txt" ); is[5] = this.getClass().getResourceAsStream( "/data/mage/E-AFMX-13/031201_jm 38 g2 72hrgen_031201_JM 38 G2 72hrGEN_CEL_externaldata.txt" ); is[6] = this.getClass().getResourceAsStream( "/data/mage/E-AFMX-13/031201_jm 39 e2 72hre2_031201_JM 39 E2 72hrE2_CEL_externaldata.txt" ); is[7] = this.getClass().getResourceAsStream( "/data/mage/E-AFMX-13/031201_jm 40 d2 72hrdes_031201_JM 40 D2 72hrDES_CEL_externaldata.txt" ); is[8] = this.getClass().getResourceAsStream( "/data/mage/E-AFMX-13/031205_jm 45 c3 72hrao_031205_JM 45 C3 72hrAO_CEL_externaldata.txt" ); is[9] = this.getClass().getResourceAsStream( "/data/mage/E-AFMX-13/031205_jm 46 g3 72hrgen_031205_JM 46 G3 72hrGEN_CEL_externaldata.txt" ); is[10] = this.getClass().getResourceAsStream( "/data/mage/E-AFMX-13/031205_jm 47 e3 72hre2_031205_JM 47 E3 72hrE2_CEL_externaldata.txt" ); is[11] = this.getClass().getResourceAsStream( "/data/mage/E-AFMX-13/031205_jm 48 d3 72hrdes_031205_JM 48 D3 72hrDES_CEL_externaldata.txt" ); mageMLPreprocessor.preprocessStreams( Arrays.asList( is ), bioAssays, mageMLConverter.getBioAssayDimensions() ); }
4335 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4335/a75dc5e32b18dc73ff1cee6e252d2f64e7476227/MageMLPreprocessorIntegrationTest.java/clean/test/edu/columbia/gemma/loader/expression/mage/MageMLPreprocessorIntegrationTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1386, 2567, 1435, 1216, 1860, 16, 21684, 288, 3639, 1748, 3939, 23708, 1195, 3639, 613, 18, 1376, 12, 315, 23490, 3939, 23708, 380, 1007, 521, 82, 6, 11272, 3639, 333, 18, 81, 410, 1495, 2678, 273, 261, 16802, 1495, 2678, 262, 1103, 18, 588, 3381, 12, 315, 81, 410, 1495, 2678, 6, 11272, 3639, 333, 18, 81, 410, 1495, 5072, 273, 261, 16802, 1495, 5072, 262, 1103, 18, 588, 3381, 12, 315, 81, 410, 1495, 5072, 6, 11272, 3639, 368, 333, 18, 81, 410, 1495, 1386, 8700, 273, 261, 16802, 1495, 1386, 8700, 262, 1103, 18, 588, 3381, 12, 315, 81, 410, 1495, 1386, 8700, 6, 11272, 3639, 333, 18, 81, 410, 1495, 1386, 8700, 273, 394, 16802, 1495, 1386, 8700, 12, 315, 3813, 1386, 2567, 6, 11272, 3639, 1748, 4356, 312, 410, 1495, 2678, 1195, 3639, 5037, 19165, 49, 410, 23905, 273, 16802, 1495, 1386, 8700, 15372, 4709, 18, 1106, 7734, 263, 588, 1420, 17052, 12, 2206, 892, 19, 81, 410, 19, 41, 17, 6799, 13874, 17, 3437, 19, 41, 17, 6799, 13874, 17, 3437, 18, 2902, 6, 11272, 3639, 312, 410, 1495, 2678, 18, 2670, 12, 19165, 49, 410, 23905, 11272, 3639, 1748, 752, 326, 20482, 2025, 585, 1450, 326, 312, 410, 1495, 2678, 1195, 3639, 5037, 19165, 22, 49, 410, 23905, 273, 16802, 1495, 1386, 8700, 15372, 4709, 18, 1106, 7734, 263, 588, 1420, 17052, 12, 2206, 892, 19, 81, 410, 19, 41, 17, 6799, 13874, 17, 3437, 19, 41, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 1386, 2567, 1435, 1216, 1860, 16, 21684, 288, 3639, 1748, 3939, 23708, 1195, 3639, 613, 18, 1376, 12, 315, 23490, 3939, 23708, 380, 1007, 521, 82, 6, 11272, 3639, 333, 18, 81, 410, 1495, 2678, 273, 261, 16802, 1495, 2678, 262, 1103, 18, 588, 3381, 12, 315, 81, 410, 1495, 2678, 6, 11272, 3639, 333, 18, 81, 410, 1495, 5072, 273, 261, 16802, 1495, 5072, 262, 1103, 18, 588, 3381, 12, 315, 81, 410, 1495, 5072, 6, 11272, 3639, 368, 333, 18, 81, 410, 1495, 1386, 8700, 273, 261, 16802, 1495, 1386, 8700, 262, 1103, 18, 588, 3381, 12, 315, 81, 410, 1495, 1386, 8700, 6, 11272, 3639, 333, 18, 81, 410, 1495, 1386, 8700, 2 ]
vars.addLocal(name);
vars.addLocal(name, createVariableObject(name, false));
protected void addVariables(Node tree, VariableTable vars) { // OPT: a whole pass to collect variables seems expensive. // Could special case to go into statements only. boolean inFunction = tree.getType() == TokenStream.FUNCTION; PreorderNodeIterator iterator = tree.getPreorderIterator(); ObjToIntMap fNames = null; Node node; while ((node = iterator.nextNode()) != null) { int nodeType = node.getType(); if (inFunction && nodeType == TokenStream.FUNCTION && node != tree && ((FunctionNode) node.getProp(Node.FUNCTION_PROP)).getFunctionType() == FunctionNode.FUNCTION_EXPRESSION_STATEMENT) { // In a function with both "var x" and "function x", // disregard the var statement, independent of order. String name = node.getString(); if (name == null) continue; vars.removeLocal(name); if (fNames == null) fNames = new ObjToIntMap(); fNames.put(name, 0); } if (nodeType != TokenStream.VAR) continue; for (Node cursor = node.getFirstChild(); cursor != null; cursor = cursor.getNextSibling()) { String name = cursor.getString(); if (fNames == null || !fNames.has(name)) vars.addLocal(name); } } String name = tree.getString(); if (inFunction && ((FunctionNode) tree).getFunctionType() == FunctionNode.FUNCTION_EXPRESSION && name != null && name.length() > 0 && vars.hasVariable(name)) { // A function expression needs to have its name as a variable // (if it isn't already allocated as a variable). See // ECMA Ch. 13. We add code to the beginning of the function // to initialize a local variable of the function's name // to the function value. vars.addLocal(name); Node block = tree.getLastChild(); Node setFn = new Node(TokenStream.POP, new Node(TokenStream.SETVAR, new Node(TokenStream.STRING, name), new Node(TokenStream.PRIMARY, TokenStream.THISFN))); block.addChildrenToFront(setFn); } }
47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/e3cd9db98a29867a6fa7aee4c11b3ad46fc615db/NodeTransformer.java/buggy/src/org/mozilla/javascript/NodeTransformer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 527, 6158, 12, 907, 2151, 16, 7110, 1388, 4153, 13, 288, 3639, 368, 16456, 30, 279, 7339, 1342, 358, 3274, 3152, 12001, 19326, 18, 3639, 368, 14312, 4582, 648, 358, 1960, 1368, 6317, 1338, 18, 3639, 1250, 316, 2083, 273, 2151, 18, 588, 559, 1435, 422, 3155, 1228, 18, 7788, 31, 3639, 2962, 1019, 907, 3198, 2775, 273, 2151, 18, 588, 1386, 1019, 3198, 5621, 3639, 18760, 17864, 863, 284, 1557, 273, 446, 31, 3639, 2029, 756, 31, 3639, 1323, 14015, 2159, 273, 2775, 18, 4285, 907, 10756, 480, 446, 13, 288, 5411, 509, 9507, 273, 756, 18, 588, 559, 5621, 5411, 309, 261, 267, 2083, 597, 9507, 422, 3155, 1228, 18, 7788, 597, 7734, 756, 480, 2151, 597, 7734, 14015, 2083, 907, 13, 756, 18, 588, 4658, 12, 907, 18, 7788, 67, 15811, 13, 2934, 588, 2083, 559, 1435, 422, 10792, 4284, 907, 18, 7788, 67, 19111, 67, 28411, 13, 5411, 288, 7734, 368, 657, 279, 445, 598, 3937, 315, 1401, 619, 6, 471, 315, 915, 619, 3113, 7734, 368, 1015, 1574, 1060, 326, 569, 3021, 16, 14807, 434, 1353, 18, 7734, 514, 508, 273, 756, 18, 588, 780, 5621, 7734, 309, 261, 529, 422, 446, 13, 10792, 1324, 31, 7734, 4153, 18, 4479, 2042, 12, 529, 1769, 7734, 309, 261, 74, 1557, 422, 446, 13, 10792, 284, 1557, 273, 394, 18760, 17864, 863, 5621, 7734, 284, 1557, 18, 458, 12, 529, 16, 374, 1769, 5411, 289, 5411, 309, 261, 2159, 559, 480, 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, 527, 6158, 12, 907, 2151, 16, 7110, 1388, 4153, 13, 288, 3639, 368, 16456, 30, 279, 7339, 1342, 358, 3274, 3152, 12001, 19326, 18, 3639, 368, 14312, 4582, 648, 358, 1960, 1368, 6317, 1338, 18, 3639, 1250, 316, 2083, 273, 2151, 18, 588, 559, 1435, 422, 3155, 1228, 18, 7788, 31, 3639, 2962, 1019, 907, 3198, 2775, 273, 2151, 18, 588, 1386, 1019, 3198, 5621, 3639, 18760, 17864, 863, 284, 1557, 273, 446, 31, 3639, 2029, 756, 31, 3639, 1323, 14015, 2159, 273, 2775, 18, 4285, 907, 10756, 480, 446, 13, 288, 5411, 509, 9507, 273, 756, 18, 588, 559, 5621, 5411, 309, 261, 267, 2083, 597, 9507, 422, 3155, 1228, 18, 7788, 597, 7734, 756, 2 ]
Assert.assertEquals( ( byte ) 0x96, ( byte ) encoded[0] );
Assert.assertEquals( ( byte ) 0x96, encoded[0] );
public void testEncodeInt2Bytes() { byte[] encoded = Value.getBytes( 128 ); Assert.assertEquals( 0x00, encoded[0] ); Assert.assertEquals( ( byte ) 0x80, encoded[1] ); encoded = Value.getBytes( -27066 ); Assert.assertEquals( ( byte ) 0x96, ( byte ) encoded[0] ); Assert.assertEquals( 0x46, encoded[1] ); }
54578 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54578/8e807747349befa3ad31ab109e2d7b326ab01f56/ValueTest.java/clean/asn1/src/test/java/org/apache/directory/shared/asn1/ber/tlv/ValueTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 5509, 1702, 22, 2160, 1435, 565, 288, 3639, 1160, 8526, 3749, 273, 1445, 18, 588, 2160, 12, 8038, 11272, 3639, 5452, 18, 11231, 8867, 12, 374, 92, 713, 16, 3749, 63, 20, 65, 11272, 3639, 5452, 18, 11231, 8867, 12, 261, 1160, 262, 374, 92, 3672, 16, 3749, 63, 21, 65, 11272, 3639, 3749, 273, 1445, 18, 588, 2160, 12, 300, 5324, 20, 6028, 11272, 3639, 5452, 18, 11231, 8867, 12, 261, 1160, 262, 374, 92, 10525, 16, 3749, 63, 20, 65, 11272, 3639, 5452, 18, 11231, 8867, 12, 374, 92, 8749, 16, 3749, 63, 21, 65, 11272, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 918, 1842, 5509, 1702, 22, 2160, 1435, 565, 288, 3639, 1160, 8526, 3749, 273, 1445, 18, 588, 2160, 12, 8038, 11272, 3639, 5452, 18, 11231, 8867, 12, 374, 92, 713, 16, 3749, 63, 20, 65, 11272, 3639, 5452, 18, 11231, 8867, 12, 261, 1160, 262, 374, 92, 3672, 16, 3749, 63, 21, 65, 11272, 3639, 3749, 273, 1445, 18, 588, 2160, 12, 300, 5324, 20, 6028, 11272, 3639, 5452, 18, 11231, 8867, 12, 261, 1160, 262, 374, 92, 10525, 16, 3749, 63, 20, 65, 11272, 3639, 5452, 18, 11231, 8867, 12, 374, 92, 8749, 16, 3749, 63, 21, 65, 11272, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
"Invalid message! Cannot compute hashcode!! ");
"Invalid message! Cannot compute hashcode! call-id header is missing !");
public int hashCode() { if (this.callIdHeader == null) throw new RuntimeException( "Invalid message! Cannot compute hashcode!! "); else return this.callIdHeader.getCallId().hashCode(); }
3364 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3364/b1de32e495dd3ce4b97a918fc4ee93602b3bc03d/SIPMessage.java/buggy/src/gov/nist/javax/sip/message/SIPMessage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 13374, 1435, 288, 202, 202, 430, 261, 2211, 18, 1991, 548, 1864, 422, 446, 13, 1082, 202, 12849, 394, 3235, 12, 6862, 202, 6, 1941, 883, 5, 14143, 3671, 31539, 8548, 315, 1769, 202, 202, 12107, 1082, 202, 2463, 333, 18, 1991, 548, 1864, 18, 588, 1477, 548, 7675, 2816, 1085, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 13374, 1435, 288, 202, 202, 430, 261, 2211, 18, 1991, 548, 1864, 422, 446, 13, 1082, 202, 12849, 394, 3235, 12, 6862, 202, 6, 1941, 883, 5, 14143, 3671, 31539, 8548, 315, 1769, 202, 202, 12107, 1082, 202, 2463, 333, 18, 1991, 548, 1864, 18, 588, 1477, 548, 7675, 2816, 1085, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return ByteBufferHelper.getChar (this);
return ByteBufferHelper.getChar(this, order());
final public char getChar () { return ByteBufferHelper.getChar (this); }
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/cbc6b01a62d01a3bd4a11282dcdebf781800adb9/ByteBufferImpl.java/clean/libraries/javalib/java/nio/ByteBufferImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 1149, 23577, 1832, 225, 288, 565, 327, 7400, 2276, 18, 588, 2156, 12, 2211, 16, 1353, 10663, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 727, 1071, 1149, 23577, 1832, 225, 288, 565, 327, 7400, 2276, 18, 588, 2156, 12, 2211, 16, 1353, 10663, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
le.setMessage(MSG_PREFIX + i);
le.setMessage(MSG_PREFIX);
public Object build(int i) { LoggingEvent le = new LoggingEvent(); le.setLevel(Level.DEBUG); le.setLoggerRemoteView(logger.getLoggerRemoteView()); //le.setLogger(new LoggerContext().getLogger(LoggerContext.ROOT_NAME)); le.setMessage(MSG_PREFIX + i); le.setThreadName("threadName"); return le; }
47666 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47666/6b8eba96a0bfab3e6b35ec9fefcbff03e2cee0e2/LoggingEventBuilder.java/clean/logback-classic/src/test/java/ch/qos/logback/classic/net/testObjectBuilders/LoggingEventBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1033, 1361, 12, 474, 277, 13, 288, 202, 202, 7735, 1133, 884, 273, 394, 10253, 1133, 5621, 202, 202, 298, 18, 542, 2355, 12, 2355, 18, 9394, 1769, 202, 202, 298, 18, 542, 3328, 5169, 1767, 12, 4901, 18, 588, 3328, 5169, 1767, 10663, 202, 202, 759, 298, 18, 542, 3328, 12, 2704, 4242, 1042, 7675, 588, 3328, 12, 3328, 1042, 18, 9185, 67, 1985, 10019, 202, 202, 298, 18, 542, 1079, 12, 11210, 67, 6307, 397, 277, 1769, 202, 202, 298, 18, 542, 3830, 461, 2932, 5930, 461, 8863, 202, 202, 2463, 884, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1033, 1361, 12, 474, 277, 13, 288, 202, 202, 7735, 1133, 884, 273, 394, 10253, 1133, 5621, 202, 202, 298, 18, 542, 2355, 12, 2355, 18, 9394, 1769, 202, 202, 298, 18, 542, 3328, 5169, 1767, 12, 4901, 18, 588, 3328, 5169, 1767, 10663, 202, 202, 759, 298, 18, 542, 3328, 12, 2704, 4242, 1042, 7675, 588, 3328, 12, 3328, 1042, 18, 9185, 67, 1985, 10019, 202, 202, 298, 18, 542, 1079, 12, 11210, 67, 6307, 397, 277, 1769, 202, 202, 298, 18, 542, 3830, 461, 2932, 5930, 461, 8863, 202, 202, 2463, 884, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
new Problem("", "The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build path then try rebuilding this project.", projectPath));
new Problem("", "The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build path then try building this project.", projectPath));
public void testMissingLibrary2() throws JavaModelException { IPath projectPath = env.addProject("Project"); //$NON-NLS-1$ env.removePackageFragmentRoot(projectPath, ""); //$NON-NLS-1$ IPath root = env.addPackageFragmentRoot(projectPath, "src"); //$NON-NLS-1$ IPath bin = env.setOutputFolder(projectPath, "bin"); //$NON-NLS-1$ IPath classTest1 = env.addClass(root, "p1", "Test1", //$NON-NLS-1$ //$NON-NLS-2$ "package p1;\n"+ //$NON-NLS-1$ "public class Test1 {}" //$NON-NLS-1$ ); IPath classTest2 = env.addClass(root, "p2", "Test2", //$NON-NLS-1$ //$NON-NLS-2$ "package p2;\n"+ //$NON-NLS-1$ "public class Test2 {}" //$NON-NLS-1$ ); IPath classTest3 = env.addClass(root, "p2", "Test3", //$NON-NLS-1$ //$NON-NLS-2$ "package p2;\n"+ //$NON-NLS-1$ "public class Test3 {}" //$NON-NLS-1$ ); fullBuild(); expectingSpecificProblemFor( projectPath, new Problem("", "The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build path then try rebuilding this project.", projectPath)); //$NON-NLS-1$ //$NON-NLS-2$ Problem[] prob1 = env.getProblemsFor(classTest1); Problem[] prob2 = env.getProblemsFor(classTest2); Problem[] prob3 = env.getProblemsFor(classTest3); assertEquals("too many problems", prob1.length + prob2.length + prob3.length,1); //$NON-NLS-1$ if(prob1.length == 1) { expectingSpecificProblemFor(classTest1, new Problem("p1", "The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files.", classTest1)); //$NON-NLS-1$ //$NON-NLS-2$ } else if (prob2.length == 1) { expectingSpecificProblemFor(classTest2, new Problem("p2", "The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files.", classTest2)); //$NON-NLS-1$ //$NON-NLS-2$ } else { expectingSpecificProblemFor(classTest3, new Problem("p2", "The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files.", classTest3)); //$NON-NLS-1$ //$NON-NLS-2$ } //---------------------------- // Step 2 //---------------------------- env.addExternalJars(projectPath, Util.getJavaClassLibs()); incrementalBuild(); expectingNoProblems(); expectingPresenceOf(new IPath[]{ bin.append("p1").append("Test1.class"), //$NON-NLS-1$ //$NON-NLS-2$ bin.append("p2").append("Test2.class"), //$NON-NLS-1$ //$NON-NLS-2$ bin.append("p2").append("Test3.class") //$NON-NLS-1$ //$NON-NLS-2$ }); }
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/b5140bd64fdb2d31bd8b4dc856351454e9b5a715/BuildpathTests.java/buggy/org.eclipse.jdt.core.tests.builder/src/org/eclipse/jdt/core/tests/builder/BuildpathTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 4841, 9313, 22, 1435, 1216, 5110, 1488, 503, 288, 202, 202, 45, 743, 1984, 743, 273, 1550, 18, 1289, 4109, 2932, 4109, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 3074, 18, 4479, 2261, 7456, 2375, 12, 4406, 743, 16, 1408, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 45, 743, 1365, 273, 1550, 18, 1289, 2261, 7456, 2375, 12, 4406, 743, 16, 315, 4816, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 45, 743, 4158, 273, 1550, 18, 542, 1447, 3899, 12, 4406, 743, 16, 315, 4757, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 45, 743, 667, 4709, 21, 273, 1550, 18, 1289, 797, 12, 3085, 16, 315, 84, 21, 3113, 315, 4709, 21, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 22, 8, 1082, 202, 6, 5610, 293, 21, 9747, 82, 6, 15, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 6, 482, 667, 7766, 21, 3728, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 1769, 202, 202, 45, 743, 667, 4709, 22, 273, 1550, 18, 1289, 797, 12, 3085, 16, 315, 84, 22, 3113, 315, 4709, 22, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 22, 8, 1082, 202, 6, 5610, 293, 22, 9747, 82, 6, 15, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 6, 482, 667, 7766, 22, 3728, 4329, 3993, 17, 5106, 17, 21, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 4841, 9313, 22, 1435, 1216, 5110, 1488, 503, 288, 202, 202, 45, 743, 1984, 743, 273, 1550, 18, 1289, 4109, 2932, 4109, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 3074, 18, 4479, 2261, 7456, 2375, 12, 4406, 743, 16, 1408, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 45, 743, 1365, 273, 1550, 18, 1289, 2261, 7456, 2375, 12, 4406, 743, 16, 315, 4816, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 45, 743, 4158, 273, 1550, 18, 542, 1447, 3899, 12, 4406, 743, 16, 315, 4757, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 45, 743, 667, 4709, 21, 273, 1550, 18, 1289, 797, 2 ]
final Block actBlock = ruby.getBlock().getCurrent();
final Block actBlock = ruby.getBlockStack().getCurrent();
public final static Block beginCallArgs(final Ruby ruby) { final Block actBlock = ruby.getBlock().getCurrent(); if (ruby.getCurrentIter().isPre()) { ruby.getBlock().pop(); } ruby.getIterStack().push(Iter.ITER_NOT); return actBlock; }
45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/8db42974495981011f558bcce15e2dfc28681a76/ArgsUtil.java/clean/org/jruby/ast/util/ArgsUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 760, 3914, 2376, 1477, 2615, 12, 6385, 19817, 22155, 13, 288, 3639, 727, 3914, 1328, 1768, 273, 22155, 18, 588, 1768, 2624, 7675, 588, 3935, 5621, 3639, 309, 261, 27768, 18, 588, 3935, 2360, 7675, 291, 1386, 10756, 288, 5411, 22155, 18, 588, 1768, 7675, 5120, 5621, 3639, 289, 3639, 22155, 18, 588, 2360, 2624, 7675, 6206, 12, 2360, 18, 11844, 67, 4400, 1769, 3639, 327, 1328, 1768, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 760, 3914, 2376, 1477, 2615, 12, 6385, 19817, 22155, 13, 288, 3639, 727, 3914, 1328, 1768, 273, 22155, 18, 588, 1768, 2624, 7675, 588, 3935, 5621, 3639, 309, 261, 27768, 18, 588, 3935, 2360, 7675, 291, 1386, 10756, 288, 5411, 22155, 18, 588, 1768, 7675, 5120, 5621, 3639, 289, 3639, 22155, 18, 588, 2360, 2624, 7675, 6206, 12, 2360, 18, 11844, 67, 4400, 1769, 3639, 327, 1328, 1768, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
map.add(new JLabel("GPX import / export"), GBC.eol()); map.add(mergeNodes, GBC.eol().insets(20,0,0,0));
public PreferenceDialog() { super(Main.main, "Preferences"); // look and feel combo box final ListCellRenderer oldRenderer = lafCombo.getRenderer(); lafCombo.setRenderer(new DefaultListCellRenderer(){ @Override public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) { return oldRenderer.getListCellRendererComponent(list, ((LookAndFeelInfo)value).getName(), index, isSelected, cellHasFocus); }}); lafCombo.setSelectedItem(Main.pref.laf); lafCombo.addActionListener(new ActionListener(){ public void actionPerformed(ActionEvent e) { setRequiresRestart(); }}); // projection combo box for (int i = 0; i < projectionCombo.getItemCount(); ++i) { if (projectionCombo.getItemAt(i).getClass().equals(Main.pref.getProjection().getClass())) { projectionCombo.setSelectedIndex(i); break; } } JButton projectionDetail = new JButton("Configure"); projectionDetail.addActionListener(new ActionListener(){ public void actionPerformed(ActionEvent e) { Projection p = (Projection)projectionCombo.getSelectedItem(); JComponent configurationPanel = p.getConfigurationPanel(); if (configurationPanel == null) { JOptionPane.showMessageDialog(PreferenceDialog.this, "This projection does not need any configuration."); return; } JPanel detail = new JPanel(new GridBagLayout()); detail.setLayout(new GridBagLayout()); detail.add(configurationPanel, GBC.eop().fill()); int result = JOptionPane.showConfirmDialog( PreferenceDialog.this, detail, "Configuration of "+p, JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE); if (result != JOptionPane.OK_OPTION) p.getConfigurationPanel(); // rollback } }); // drawRawGpsLines drawRawGpsLines.addActionListener(new ActionListener(){ public void actionPerformed(ActionEvent e) { if (!drawRawGpsLines.isSelected()) forceRawGpsLines.setSelected(false); forceRawGpsLines.setEnabled(drawRawGpsLines.isSelected()); } }); osmDataServer.setToolTipText("The base URL to the OSM server (REST API)"); osmDataUsername.setToolTipText("Login name (email) to the OSM account."); osmDataPassword.setToolTipText("Login password to the OSM account. Leave blank to not store any password."); drawRawGpsLines.setToolTipText("If your gps device draw to few lines, select this to draw lines along your track."); drawRawGpsLines.setSelected(Main.pref.isDrawRawGpsLines()); forceRawGpsLines.setToolTipText("Force drawing of lines if the imported data contain no line information."); forceRawGpsLines.setSelected(Main.pref.isForceRawGpsLines()); forceRawGpsLines.setEnabled(drawRawGpsLines.isSelected()); mergeNodes.setToolTipText("When importing GPX data, all nodes with exact the same lat/lon are merged."); mergeNodes.setSelected(Main.pref.mergeNodes); osmDataServer.setText(Main.pref.osmDataServer); osmDataUsername.setText(Main.pref.osmDataUsername); osmDataPassword.setText(Main.pref.osmDataPassword); // Display tab JPanel display = createPreferenceTab("display", "Display Settings", "Various settings that influence the visual representation of the whole program."); display.add(new JLabel("Look and Feel"), GBC.std()); display.add(GBC.glue(5,0), GBC.std().fill(GBC.HORIZONTAL)); display.add(lafCombo, GBC.eol().fill(GBC.HORIZONTAL)); display.add(drawRawGpsLines, GBC.eol().insets(20,0,0,0)); display.add(forceRawGpsLines, GBC.eol().insets(40,0,0,0)); display.add(Box.createVerticalGlue(), GBC.eol().fill(GBC.VERTICAL)); // Connection tab JPanel con = createPreferenceTab("connection", "Connection Settings", "Connection Settings to the OSM server."); con.add(new JLabel("Base Server URL"), GBC.std()); con.add(osmDataServer, GBC.eol().fill(GBC.HORIZONTAL).insets(5,0,0,5)); con.add(new JLabel("OSM username (email)"), GBC.std()); con.add(osmDataUsername, GBC.eol().fill(GBC.HORIZONTAL).insets(5,0,0,5)); con.add(new JLabel("OSM password"), GBC.std()); con.add(osmDataPassword, GBC.eol().fill(GBC.HORIZONTAL).insets(5,0,0,0)); JLabel warning = new JLabel("<html>" + "WARNING: The password is stored in plain text in the preferences file.<br>" + "The password is transfered in plain text to the server, encoded in the url.<br>" + "<b>Do not use a valuable Password.</b></html>"); warning.setFont(warning.getFont().deriveFont(Font.ITALIC)); con.add(warning, GBC.eop().fill(GBC.HORIZONTAL)); // Map tab JPanel map = createPreferenceTab("map", "Map Settings", "Settings for the map projection and data interpretation."); map.add(new JLabel("Projection method"), GBC.std()); map.add(GBC.glue(5,0), GBC.std().fill(GBC.HORIZONTAL)); map.add(projectionCombo, GBC.eol().fill(GBC.HORIZONTAL).insets(0,0,0,5)); map.add(new JLabel("Projection details:"), GBC.std()); map.add(GBC.glue(5,0), GBC.std().fill(GBC.HORIZONTAL)); map.add(projectionDetail, GBC.eop()); map.add(new JLabel("GPX import / export"), GBC.eol()); map.add(mergeNodes, GBC.eol().insets(20,0,0,0)); map.add(Box.createVerticalGlue(), GBC.eol().fill(GBC.VERTICAL)); tabPane.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT); // OK/Cancel panel at bottom JPanel okPanel = new JPanel(new GridBagLayout()); okPanel.add(Box.createHorizontalGlue(), GBC.std().fill(GBC.HORIZONTAL)); okPanel.add(new JButton(new OkAction()), GBC.std()); okPanel.add(new JButton(new CancelAction()), GBC.std()); okPanel.setBorder(BorderFactory.createEmptyBorder(5,5,5,5)); // merging all in the content pane getContentPane().setLayout(new GridBagLayout()); getContentPane().add(tabPane, GBC.eol().fill()); getContentPane().add(okPanel, GBC.eol().fill(GBC.HORIZONTAL)); setModal(true); pack(); Dimension s = Main.main.getSize(); setLocation(Main.main.getX()+s.width/2-getWidth()/2, Main.main.getY()+s.height/2-getHeight()/2); }
2204 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2204/a2dfe78ce645652f2f0db307e642c49722f3d4c2/PreferenceDialog.java/clean/src/org/openstreetmap/josm/gui/PreferenceDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 29125, 6353, 1435, 288, 202, 202, 9565, 12, 6376, 18, 5254, 16, 315, 12377, 8863, 202, 202, 759, 2324, 471, 1656, 292, 16778, 3919, 202, 202, 6385, 987, 4020, 6747, 1592, 6747, 273, 328, 1727, 16156, 18, 588, 6747, 5621, 202, 202, 80, 1727, 16156, 18, 542, 6747, 12, 2704, 2989, 682, 4020, 6747, 1435, 95, 1082, 202, 36, 6618, 1082, 202, 482, 5435, 10033, 4020, 6747, 1841, 12, 46, 682, 666, 16, 1033, 460, 16, 509, 770, 16, 1250, 20956, 16, 1250, 2484, 5582, 9233, 13, 288, 9506, 202, 2463, 1592, 6747, 18, 588, 682, 4020, 6747, 1841, 12, 1098, 16, 14015, 9794, 1876, 2954, 292, 966, 13, 1132, 2934, 17994, 9334, 770, 16, 20956, 16, 2484, 5582, 9233, 1769, 1082, 202, 9090, 1769, 202, 202, 80, 1727, 16156, 18, 542, 7416, 1180, 12, 6376, 18, 25724, 18, 80, 1727, 1769, 202, 202, 80, 1727, 16156, 18, 1289, 1803, 2223, 12, 2704, 25962, 1435, 95, 1082, 202, 482, 918, 26100, 12, 1803, 1133, 425, 13, 288, 9506, 202, 542, 21671, 15057, 5621, 1082, 202, 9090, 1769, 202, 202, 759, 8106, 16778, 3919, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 8106, 16156, 18, 588, 30687, 5621, 965, 77, 13, 288, 1082, 202, 430, 261, 19183, 16156, 18, 588, 1180, 861, 12, 77, 2934, 588, 797, 7675, 14963, 12, 6376, 18, 25724, 18, 588, 14789, 7675, 588, 797, 1435, 3719, 288, 9506, 202, 19183, 16156, 18, 542, 7416, 1016, 12, 77, 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, 29125, 6353, 1435, 288, 202, 202, 9565, 12, 6376, 18, 5254, 16, 315, 12377, 8863, 202, 202, 759, 2324, 471, 1656, 292, 16778, 3919, 202, 202, 6385, 987, 4020, 6747, 1592, 6747, 273, 328, 1727, 16156, 18, 588, 6747, 5621, 202, 202, 80, 1727, 16156, 18, 542, 6747, 12, 2704, 2989, 682, 4020, 6747, 1435, 95, 1082, 202, 36, 6618, 1082, 202, 482, 5435, 10033, 4020, 6747, 1841, 12, 46, 682, 666, 16, 1033, 460, 16, 509, 770, 16, 1250, 20956, 16, 1250, 2484, 5582, 9233, 13, 288, 9506, 202, 2463, 1592, 6747, 18, 588, 682, 4020, 6747, 1841, 12, 1098, 16, 14015, 9794, 1876, 2954, 292, 966, 13, 1132, 2934, 17994, 9334, 770, 16, 20956, 2 ]
path = new Path(bldLine);
path = bldLine;
public void performApply(IProgressMonitor monitor) throws CoreException { // Missing builder info if (fBuildInfo == null) { return; } if (monitor == null) { monitor = new NullProgressMonitor(); } IWorkspace workspace = MakeUIPlugin.getWorkspace(); // To avoid multi-build IWorkspaceRunnable operation = new IWorkspaceRunnable() { public void run(IProgressMonitor monitor) throws CoreException { monitor.beginTask(MakeUIPlugin.getResourceString("SettingsBlock.monitor.applyingSettings"), 1); //$NON-NLS-1$ IMakeBuilderInfo info = null; if (getContainer().getProject() != null) { try { info = MakeCorePlugin.createBuildInfo(getContainer().getProject(), fBuilderID); } catch (CoreException e) { // disabled builder... just log it MakeCorePlugin.log(e); return; } } else { info = MakeCorePlugin.createBuildInfo(fPrefs, fBuilderID, false); } info.setStopOnError(isStopOnError()); info.setUseDefaultBuildCmd(useDefaultBuildCmd()); if (!useDefaultBuildCmd()) { String bldLine = getBuildLine(); int start = 0; int end = -1; if (!bldLine.startsWith("\"")) { //$NON-NLS-1$ end = bldLine.indexOf(' '); } else { start = 1; end = bldLine.indexOf('"', 1); } IPath path; if (end == -1) { path = new Path(bldLine); } else { path = new Path(bldLine.substring(start, end)); } info.setBuildCommand(path); String args = ""; //$NON-NLS-1$ if (end != -1) { args = bldLine.substring(end + 1); } info.setBuildArguments(args); } info.setAutoBuildEnable(autoButton.getSelection()); info.setAutoBuildTarget(targetAuto.getText().trim()); info.setIncrementalBuildEnable(incrButton.getSelection()); info.setIncrementalBuildTarget(targetIncr.getText().trim()); info.setFullBuildEnable(fullButton.getSelection()); info.setFullBuildTarget(targetFull.getText().trim()); info.setCleanBuildEnable(cleanButton.getSelection()); info.setCleanBuildTarget(targetClean.getText().trim()); if (buildLocation != null) { info.setBuildLocation(new Path(buildLocation.getText().trim())); } } }; if (getContainer().getProject() != null) { workspace.run(operation, monitor); } else { operation.run(monitor); } }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/ddbea8806c78a43cddb9312e08767dfa65e795c4/SettingsBlock.java/buggy/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/ui/dialogs/SettingsBlock.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3073, 7001, 12, 45, 5491, 7187, 6438, 13, 1216, 30015, 288, 202, 202, 759, 10230, 2089, 1123, 202, 202, 430, 261, 74, 3116, 966, 422, 446, 13, 288, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 430, 261, 10259, 422, 446, 13, 288, 1082, 202, 10259, 273, 394, 4112, 5491, 7187, 5621, 202, 202, 97, 202, 202, 45, 8241, 6003, 273, 4344, 5370, 3773, 18, 588, 8241, 5621, 202, 202, 759, 2974, 4543, 3309, 17, 3510, 202, 202, 45, 8241, 20013, 1674, 273, 394, 467, 8241, 20013, 1435, 288, 1082, 202, 482, 918, 1086, 12, 45, 5491, 7187, 6438, 13, 1216, 30015, 288, 9506, 202, 10259, 18, 10086, 2174, 12, 6464, 5370, 3773, 18, 588, 1420, 780, 2932, 2628, 1768, 18, 10259, 18, 9010, 310, 2628, 6, 3631, 404, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 3445, 911, 1263, 966, 1123, 273, 446, 31, 9506, 202, 430, 261, 588, 2170, 7675, 588, 4109, 1435, 480, 446, 13, 288, 6862, 202, 698, 288, 25083, 202, 1376, 273, 4344, 4670, 3773, 18, 2640, 3116, 966, 12, 588, 2170, 7675, 588, 4109, 9334, 284, 1263, 734, 1769, 6862, 202, 97, 1044, 261, 25341, 425, 13, 288, 25083, 202, 759, 5673, 2089, 2777, 2537, 613, 518, 9944, 202, 6464, 4670, 3773, 18, 1330, 12, 73, 1769, 25083, 202, 2463, 31, 6862, 202, 97, 9506, 202, 97, 469, 288, 6862, 202, 1376, 273, 4344, 4670, 3773, 18, 2640, 3116, 966, 12, 74, 1386, 2556, 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, 3073, 7001, 12, 45, 5491, 7187, 6438, 13, 1216, 30015, 288, 202, 202, 759, 10230, 2089, 1123, 202, 202, 430, 261, 74, 3116, 966, 422, 446, 13, 288, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 430, 261, 10259, 422, 446, 13, 288, 1082, 202, 10259, 273, 394, 4112, 5491, 7187, 5621, 202, 202, 97, 202, 202, 45, 8241, 6003, 273, 4344, 5370, 3773, 18, 588, 8241, 5621, 202, 202, 759, 2974, 4543, 3309, 17, 3510, 202, 202, 45, 8241, 20013, 1674, 273, 394, 467, 8241, 20013, 1435, 288, 1082, 202, 482, 918, 1086, 12, 45, 5491, 7187, 6438, 13, 1216, 30015, 288, 9506, 202, 10259, 18, 10086, 2174, 12, 6464, 5370, 3773, 18, 2 ]
public void down(Event evt) { Message msg; //System.out.println("DOWN: " + evt); switch( evt.getType() ) { case Event.VIEW_CHANGE: // this will probably never happen log.error( "NOTE: VIEW_CHANGE Event going down through " + PROTOCOL_NAME ); Vector new_members=((View)evt.getArg()).getMembers(); synchronized(members) { members.removeAllElements(); if(new_members != null && new_members.size() > 0) for(int i=0; i < new_members.size(); i++) members.addElement(new_members.elementAt(i)); } break; case Event.MSG: Object temp_obj = evt.getArg(); if ( temp_obj instanceof Message ) { msg = (Message) temp_obj; // note: a TotalHeader is added to every message (Event.MSG) // that is sent // check if this is a broadcast message if ( msg.getDest() == null ) { // yes, this is a broadcast message // send out a request for a message to be broadcast // (the sequencer will handle this) Address sequencer = getSequencer(); if ( sequencer != null ) { // we only need to send the request to the sequencer (who will broadcast it) msg.setDest( sequencer ); } else { // couldn't find sequencer of the group // for now, just send it to the original destination // (don't need to do anything here) } //msg.putHeader(getName(), TotalHeader.getRequestHeader() ); msg.putHeader(getName(), new TotalHeader(TotalHeader.TOTAL_REQUEST, -1)); } else { // this is a point to point unicast message so just send it to its original destination msg.putHeader(getName(), new TotalHeader( TotalHeader.TOTAL_UNICAST, -1 ) ); // sequence id in header is irrelevant } } else { log.error( "Error: TOTAL_OLD.down() - could not cast argument of Event to a Message (case Event.MSG)" ); } // if ( temp_obj instanceof Message ) break; default: break; } // switch( evt.getType() ) passDown(evt); // Pass on to the layer below us }
47927 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47927/13de68466e3cf7fde6ee0bde0cee09a33e837e89/TOTAL_OLD.java/buggy/src/org/jgroups/protocols/TOTAL_OLD.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2588, 12, 1133, 6324, 13, 288, 3639, 2350, 1234, 31, 3639, 368, 3163, 18, 659, 18, 8222, 2932, 12711, 30, 315, 397, 6324, 1769, 3639, 1620, 12, 6324, 18, 588, 559, 1435, 262, 288, 3639, 648, 2587, 18, 12145, 67, 14473, 30, 202, 565, 368, 333, 903, 8656, 5903, 5865, 202, 565, 613, 18, 1636, 12, 315, 17857, 30, 21794, 67, 14473, 2587, 8554, 2588, 3059, 315, 397, 24245, 67, 1985, 11272, 5411, 5589, 394, 67, 7640, 33, 12443, 1767, 13, 73, 11734, 18, 588, 4117, 1435, 2934, 588, 6918, 5621, 5411, 3852, 12, 7640, 13, 288, 7734, 4833, 18, 4479, 1595, 3471, 5621, 7734, 309, 12, 2704, 67, 7640, 480, 446, 597, 394, 67, 7640, 18, 1467, 1435, 405, 374, 13, 10792, 364, 12, 474, 277, 33, 20, 31, 277, 411, 394, 67, 7640, 18, 1467, 5621, 277, 27245, 13491, 4833, 18, 1289, 1046, 12, 2704, 67, 7640, 18, 2956, 861, 12, 77, 10019, 5411, 289, 5411, 898, 31, 3639, 648, 2587, 18, 11210, 30, 202, 565, 1033, 1906, 67, 2603, 273, 6324, 18, 588, 4117, 5621, 202, 565, 309, 261, 1906, 67, 2603, 1276, 2350, 262, 288, 202, 202, 3576, 273, 261, 1079, 13, 1906, 67, 2603, 31, 202, 202, 759, 4721, 30, 279, 10710, 1864, 353, 3096, 358, 3614, 883, 261, 1133, 18, 11210, 13, 202, 202, 759, 282, 716, 353, 3271, 202, 202, 759, 866, 309, 333, 353, 279, 8959, 883, 202, 202, 430, 261, 1234, 18, 588, 9378, 1435, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2588, 12, 1133, 6324, 13, 288, 3639, 2350, 1234, 31, 3639, 368, 3163, 18, 659, 18, 8222, 2932, 12711, 30, 315, 397, 6324, 1769, 3639, 1620, 12, 6324, 18, 588, 559, 1435, 262, 288, 3639, 648, 2587, 18, 12145, 67, 14473, 30, 202, 565, 368, 333, 903, 8656, 5903, 5865, 202, 565, 613, 18, 1636, 12, 315, 17857, 30, 21794, 67, 14473, 2587, 8554, 2588, 3059, 315, 397, 24245, 67, 1985, 11272, 5411, 5589, 394, 67, 7640, 33, 12443, 1767, 13, 73, 11734, 18, 588, 4117, 1435, 2934, 588, 6918, 5621, 5411, 3852, 12, 7640, 13, 288, 7734, 4833, 18, 4479, 1595, 3471, 5621, 7734, 309, 12, 2704, 67, 7640, 480, 446, 597, 394, 67, 7640, 2 ]
if (this.parentModule == null) { this.parentModule = runtime.getObject();
if (parentCRef == null) { if (runtime.getObject() != null) { parentCRef = runtime.getObject().getCRef(); }
protected RubyModule(IRuby runtime, RubyClass metaClass, RubyClass superClass, RubyModule parentModule, String name) { super(runtime, metaClass); this.superClass = superClass; this.parentModule = parentModule; setBaseName(name); // If no parent is passed in, it is safe to assume Object. if (this.parentModule == null) { this.parentModule = runtime.getObject(); } }
1060 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1060/a1b8fc1d456e3d5c6e01579b88773383068aa85c/RubyModule.java/buggy/src/org/jruby/RubyModule.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 19817, 3120, 12, 7937, 10340, 3099, 16, 19817, 797, 2191, 797, 16, 19817, 797, 18846, 16, 19817, 3120, 982, 3120, 16, 514, 508, 13, 288, 3639, 2240, 12, 9448, 16, 2191, 797, 1769, 7734, 333, 18, 9565, 797, 273, 18846, 31, 3639, 333, 18, 2938, 3120, 273, 982, 3120, 31, 1082, 3639, 26435, 461, 12, 529, 1769, 3639, 368, 971, 1158, 982, 353, 2275, 316, 16, 518, 353, 4183, 358, 6750, 1033, 18, 3639, 309, 261, 2211, 18, 2938, 3120, 422, 446, 13, 288, 5411, 333, 18, 2938, 3120, 273, 3099, 18, 588, 921, 5621, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 19817, 3120, 12, 7937, 10340, 3099, 16, 19817, 797, 2191, 797, 16, 19817, 797, 18846, 16, 19817, 3120, 982, 3120, 16, 514, 508, 13, 288, 3639, 2240, 12, 9448, 16, 2191, 797, 1769, 7734, 333, 18, 9565, 797, 273, 18846, 31, 3639, 333, 18, 2938, 3120, 273, 982, 3120, 31, 1082, 3639, 26435, 461, 12, 529, 1769, 3639, 368, 971, 1158, 982, 353, 2275, 316, 16, 518, 353, 4183, 358, 6750, 1033, 18, 3639, 309, 261, 2211, 18, 2938, 3120, 422, 446, 13, 288, 5411, 333, 18, 2938, 3120, 273, 3099, 18, 588, 921, 5621, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public OutputStream getOutputStream(Object requestor, long newModificationStamp, long newTimeStamp) throws IOException { return null;
public OutputStream getOutputStream(Object requestor, final long newModificationStamp, long newTimeStamp) throws IOException { return new ByteArrayOutputStream() { public void close() throws IOException { myModStamp = newModificationStamp; myContent = toString(); } };
public OutputStream getOutputStream(Object requestor, long newModificationStamp, long newTimeStamp) throws IOException { return null; }
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/b6f949bd73cd0bf50707caab02f05f8c3532dd8b/MockVirtualFile.java/buggy/ExtendedApi/src/com/intellij/testFramework/MockVirtualFile.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 8962, 22553, 12, 921, 590, 280, 16, 1525, 394, 13467, 8860, 16, 1525, 394, 21536, 13, 1216, 1860, 288, 565, 327, 446, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 8962, 22553, 12, 921, 590, 280, 16, 1525, 394, 13467, 8860, 16, 1525, 394, 21536, 13, 1216, 1860, 288, 565, 327, 446, 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 ]
w.write("End\n");
if(endMarker != null) w.write(endMarker+"\n"); else w.write("End\n");
public void writeTo(Writer w) throws IOException { Set s = map.entrySet(); Iterator i = s.iterator(); for(;i.hasNext();) { Map.Entry entry = (Map.Entry) i.next(); String key = (String) entry.getKey(); String value = (String) entry.getValue(); w.write(key+"="+value+"\n"); } w.write("End\n"); }
56348 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56348/87760d0ac57e5e39f75661e91adeb3a9ffcc5dfb/SimpleFieldSet.java/clean/src/freenet/support/SimpleFieldSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 12870, 12, 2289, 341, 13, 1216, 1860, 288, 3639, 1000, 272, 273, 852, 18, 4099, 694, 5621, 3639, 4498, 277, 273, 272, 18, 9838, 5621, 3639, 364, 12, 31, 77, 18, 5332, 2134, 5621, 13, 288, 5411, 1635, 18, 1622, 1241, 273, 261, 863, 18, 1622, 13, 277, 18, 4285, 5621, 5411, 514, 498, 273, 261, 780, 13, 1241, 18, 588, 653, 5621, 5411, 514, 460, 273, 261, 780, 13, 1241, 18, 24805, 5621, 5411, 341, 18, 2626, 12, 856, 9078, 1546, 15, 1132, 9078, 64, 82, 8863, 3639, 289, 3639, 309, 12, 409, 7078, 480, 446, 13, 341, 18, 2626, 12, 409, 7078, 9078, 64, 82, 8863, 469, 341, 18, 2626, 2932, 1638, 64, 82, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 12870, 12, 2289, 341, 13, 1216, 1860, 288, 3639, 1000, 272, 273, 852, 18, 4099, 694, 5621, 3639, 4498, 277, 273, 272, 18, 9838, 5621, 3639, 364, 12, 31, 77, 18, 5332, 2134, 5621, 13, 288, 5411, 1635, 18, 1622, 1241, 273, 261, 863, 18, 1622, 13, 277, 18, 4285, 5621, 5411, 514, 498, 273, 261, 780, 13, 1241, 18, 588, 653, 5621, 5411, 514, 460, 273, 261, 780, 13, 1241, 18, 24805, 5621, 5411, 341, 18, 2626, 12, 856, 9078, 1546, 15, 1132, 9078, 64, 82, 8863, 3639, 289, 3639, 309, 12, 409, 7078, 480, 446, 13, 341, 18, 2626, 12, 409, 7078, 9078, 64, 82, 8863, 469, 341, 18, 2626, 2932, 1638, 64, 82, 2 ]
res[idx++] = GL.GL_TRUE;
res[idx++] = GLX.GLX_DOUBLEBUFFER; if (pbuffer) { res[idx++] = GL.GL_TRUE; }
public static int[] glCapabilities2AttribList(GLCapabilities caps, boolean isMultisampleAvailable, boolean pbuffer, long display, int screen) { int colorDepth = (caps.getRedBits() + caps.getGreenBits() + caps.getBlueBits()); if (colorDepth < 15) { throw new GLException("Bit depths < 15 (i.e., non-true-color) not supported"); } int[] res = new int[MAX_ATTRIBS]; int idx = 0; if (pbuffer) { res[idx++] = GLXExt.GLX_DRAWABLE_TYPE; res[idx++] = GLXExt.GLX_PBUFFER_BIT; res[idx++] = GLXExt.GLX_RENDER_TYPE; res[idx++] = GLXExt.GLX_RGBA_BIT; } else { res[idx++] = GLX.GLX_RGBA; } res[idx++] = GLX.GLX_DOUBLEBUFFER; if (caps.getDoubleBuffered()) { res[idx++] = GL.GL_TRUE; } else { res[idx++] = GL.GL_FALSE; } if (caps.getStereo()) { res[idx++] = GLX.GLX_STEREO; } res[idx++] = GLX.GLX_RED_SIZE; res[idx++] = caps.getRedBits(); res[idx++] = GLX.GLX_GREEN_SIZE; res[idx++] = caps.getGreenBits(); res[idx++] = GLX.GLX_BLUE_SIZE; res[idx++] = caps.getBlueBits(); res[idx++] = GLX.GLX_ALPHA_SIZE; res[idx++] = caps.getAlphaBits(); res[idx++] = GLX.GLX_DEPTH_SIZE; res[idx++] = caps.getDepthBits(); if (caps.getStencilBits() > 0) { res[idx++] = GLX.GLX_STENCIL_SIZE; res[idx++] = caps.getStencilBits(); } if (caps.getAccumRedBits() > 0 || caps.getAccumGreenBits() > 0 || caps.getAccumBlueBits() > 0 || caps.getAccumAlphaBits() > 0) { res[idx++] = GLX.GLX_ACCUM_RED_SIZE; res[idx++] = caps.getAccumRedBits(); res[idx++] = GLX.GLX_ACCUM_GREEN_SIZE; res[idx++] = caps.getAccumGreenBits(); res[idx++] = GLX.GLX_ACCUM_BLUE_SIZE; res[idx++] = caps.getAccumBlueBits(); res[idx++] = GLX.GLX_ACCUM_ALPHA_SIZE; res[idx++] = caps.getAccumAlphaBits(); } if (isMultisampleAvailable && caps.getSampleBuffers()) { res[idx++] = GLXExt.GLX_SAMPLE_BUFFERS_ARB; res[idx++] = GL.GL_TRUE; res[idx++] = GLXExt.GLX_SAMPLES_ARB; res[idx++] = caps.getNumSamples(); } if (pbuffer) { if (caps.getPbufferFloatingPointBuffers()) { String glXExtensions = GLX.glXQueryExtensionsString(display, screen); if (glXExtensions == null || glXExtensions.indexOf("GLX_NV_float_buffer") < 0) { throw new GLException("Floating-point pbuffers on X11 currently require NVidia hardware"); } res[idx++] = GLX.GLX_FLOAT_COMPONENTS_NV; res[idx++] = GL.GL_TRUE; } } res[idx++] = 0; return res; }
47282 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47282/c6bc4b3e6c55749fa4cfd371f76a10f1ebfbe069/X11GLDrawableFactory.java/buggy/src/classes/com/sun/opengl/impl/x11/X11GLDrawableFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 509, 8526, 5118, 14012, 22, 12399, 682, 12, 11261, 14012, 15788, 16, 4766, 7734, 1250, 353, 5049, 291, 1511, 5268, 16, 4766, 7734, 1250, 293, 4106, 16, 4766, 7734, 1525, 2562, 16, 4766, 7734, 509, 5518, 13, 288, 565, 509, 2036, 6148, 273, 261, 22984, 18, 588, 3715, 6495, 1435, 397, 8227, 15788, 18, 588, 21453, 6495, 1435, 397, 8227, 15788, 18, 588, 27986, 6495, 10663, 565, 309, 261, 3266, 6148, 411, 4711, 13, 288, 1377, 604, 394, 10252, 503, 2932, 5775, 26087, 411, 4711, 261, 77, 18, 73, 12990, 1661, 17, 3767, 17, 3266, 13, 486, 3260, 8863, 565, 289, 565, 509, 8526, 400, 273, 394, 509, 63, 6694, 67, 8713, 12692, 15533, 565, 509, 2067, 273, 374, 31, 565, 309, 261, 84, 4106, 13, 288, 1377, 400, 63, 3465, 9904, 65, 273, 10252, 60, 2482, 18, 11261, 60, 67, 40, 10821, 2782, 67, 2399, 31, 1377, 400, 63, 3465, 9904, 65, 273, 10252, 60, 2482, 18, 11261, 60, 67, 52, 11302, 67, 15650, 31, 1377, 400, 63, 3465, 9904, 65, 273, 10252, 60, 2482, 18, 11261, 60, 67, 25230, 67, 2399, 31, 1377, 400, 63, 3465, 9904, 65, 273, 10252, 60, 2482, 18, 11261, 60, 67, 23263, 67, 15650, 31, 565, 289, 469, 288, 1377, 400, 63, 3465, 9904, 65, 273, 10252, 60, 18, 11261, 60, 67, 23263, 31, 565, 289, 565, 400, 63, 3465, 9904, 65, 273, 10252, 60, 18, 11261, 60, 67, 17088, 11302, 31, 565, 309, 261, 22984, 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, 282, 1071, 760, 509, 8526, 5118, 14012, 22, 12399, 682, 12, 11261, 14012, 15788, 16, 4766, 7734, 1250, 353, 5049, 291, 1511, 5268, 16, 4766, 7734, 1250, 293, 4106, 16, 4766, 7734, 1525, 2562, 16, 4766, 7734, 509, 5518, 13, 288, 565, 509, 2036, 6148, 273, 261, 22984, 18, 588, 3715, 6495, 1435, 397, 8227, 15788, 18, 588, 21453, 6495, 1435, 397, 8227, 15788, 18, 588, 27986, 6495, 10663, 565, 309, 261, 3266, 6148, 411, 4711, 13, 288, 1377, 604, 394, 10252, 503, 2932, 5775, 26087, 411, 4711, 261, 77, 18, 73, 12990, 1661, 17, 3767, 17, 3266, 13, 486, 3260, 8863, 565, 289, 565, 509, 8526, 400, 273, 394, 509, 63, 6694, 67, 8713, 12692, 15533, 565, 509, 2 ]
Integer originalDirId = vcs.getEntry(p("dir")).getId(); Integer originalFileId = vcs.getEntry(p("dir/file")).getId();
Integer originalDirId = vcs.getEntry(p("/dir")).getId(); Integer originalFileId = vcs.getEntry(p("/dir/file")).getId();
public void testRevertingDeletionOfDirectoryWithSameId() { vcs.createDirectory(p("dir")); vcs.createFile(p("dir/file"), null); vcs.apply(); Integer originalDirId = vcs.getEntry(p("dir")).getId(); Integer originalFileId = vcs.getEntry(p("dir/file")).getId(); vcs.delete(p("dir")); vcs.apply(); vcs._revert(); Integer restoredDirId = vcs.getEntry(p("dir")).getId(); Integer restoredFileId = vcs.getEntry(p("dir/file")).getId(); assertEquals(originalDirId, restoredDirId); assertEquals(originalFileId, restoredFileId); }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/8a6fdbc15b3cd4aaa232cf2026aa4a60418c162a/LocalVcsBasicsTest.java/clean/LocalVcs/test/com/intellij/localvcs/LocalVcsBasicsTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 426, 1097, 310, 13064, 951, 2853, 1190, 8650, 548, 1435, 288, 565, 20255, 18, 2640, 2853, 12, 84, 2932, 1214, 7923, 1769, 565, 20255, 18, 2640, 812, 12, 84, 2932, 1214, 19, 768, 6, 3631, 446, 1769, 565, 20255, 18, 9010, 5621, 565, 2144, 2282, 1621, 548, 273, 20255, 18, 588, 1622, 12, 84, 2932, 1214, 7923, 2934, 26321, 5621, 565, 2144, 2282, 812, 548, 273, 20255, 18, 588, 1622, 12, 84, 2932, 1214, 19, 768, 7923, 2934, 26321, 5621, 565, 20255, 18, 3733, 12, 84, 2932, 1214, 7923, 1769, 565, 20255, 18, 9010, 5621, 565, 20255, 6315, 266, 1097, 5621, 565, 2144, 18751, 1621, 548, 273, 20255, 18, 588, 1622, 12, 84, 2932, 1214, 7923, 2934, 26321, 5621, 565, 2144, 18751, 812, 548, 273, 20255, 18, 588, 1622, 12, 84, 2932, 1214, 19, 768, 7923, 2934, 26321, 5621, 565, 1815, 8867, 12, 8830, 1621, 548, 16, 18751, 1621, 548, 1769, 565, 1815, 8867, 12, 8830, 812, 548, 16, 18751, 812, 548, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 426, 1097, 310, 13064, 951, 2853, 1190, 8650, 548, 1435, 288, 565, 20255, 18, 2640, 2853, 12, 84, 2932, 1214, 7923, 1769, 565, 20255, 18, 2640, 812, 12, 84, 2932, 1214, 19, 768, 6, 3631, 446, 1769, 565, 20255, 18, 9010, 5621, 565, 2144, 2282, 1621, 548, 273, 20255, 18, 588, 1622, 12, 84, 2932, 1214, 7923, 2934, 26321, 5621, 565, 2144, 2282, 812, 548, 273, 20255, 18, 588, 1622, 12, 84, 2932, 1214, 19, 768, 7923, 2934, 26321, 5621, 565, 20255, 18, 3733, 12, 84, 2932, 1214, 7923, 1769, 565, 20255, 18, 9010, 5621, 565, 20255, 6315, 266, 1097, 5621, 565, 2144, 18751, 1621, 548, 273, 20255, 18, 588, 1622, 12, 84, 2932, 1214, 2 ]
order = props.getProperty(propName + ".order");
order = config.getProperty("order");
protected void parseOptions(Vector cnst, Properties props) { String loading = props.getProperty(propName + ".loadmode"); aggressiveLoading = (loading != null) && "aggressive".equalsIgnoreCase(loading.trim()); String caching = props.getProperty(propName + ".cachemode"); aggressiveCaching = (caching != null) && "aggressive".equalsIgnoreCase(caching.trim()); // get order property order = props.getProperty(propName + ".order"); if ((order != null) && (order.trim().length() == 0)) { order = null; } // get additional filter property filter = props.getProperty(propName + ".filter"); if (filter != null) { if (filter.trim().length() == 0) { filter = null; filterFragments = filterPropertyRefs = null; } else { // parenthesise filter Vector fragments = new Vector(); Vector propertyRefs = new Vector(); parsePropertyString(filter, fragments, propertyRefs); // if no references where found, just use the filter string // otherwise use the filter fragments and proeprty refs instead if (propertyRefs.size() > 0) { filterFragments = fragments; filterPropertyRefs = propertyRefs; } else { filterFragments = filterPropertyRefs = null; } } } // get additional tables additionalTables = props.getProperty(propName + ".filter.additionalTables"); if (additionalTables != null) { if (additionalTables.trim().length() == 0) { additionalTables = null; } else { String ucTables = additionalTables.toUpperCase(); // create dependencies implied by additional tables DbSource dbsource = otherType.getDbSource(); if (dbsource != null) { String[] tables = StringUtils.split(ucTables, ", "); for (int i=0; i<tables.length; i++) { // Skip some join-related keyworks we might encounter here if ("AS".equals(tables[i]) || "ON".equals(tables[i])) { continue; } DbMapping dbmap = dbsource.getDbMapping(tables[i]); if (dbmap != null) { dbmap.addDependency(otherType); } } } // see wether the JOIN syntax is used. look for " join " with whitespaces on both sides // and for "join " at the beginning: additionalTablesJoined = (ucTables.indexOf(" JOIN ") != -1 || ucTables.startsWith("STRAIGHT_JOIN ") || ucTables.startsWith("JOIN ")); } } // get query hints queryHints = props.getProperty(propName + ".hints"); // get max size of collection String max = props.getProperty(propName + ".maxSize"); if (max != null) { try { maxSize = Integer.parseInt(max); } catch (NumberFormatException nfe) { maxSize = 0; } } else { maxSize = 0; } // get group by property groupby = props.getProperty(propName + ".group"); if ((groupby != null) && (groupby.trim().length() == 0)) { groupby = null; } if (groupby != null) { groupbyOrder = props.getProperty(propName + ".group.order"); if ((groupbyOrder != null) && (groupbyOrder.trim().length() == 0)) { groupbyOrder = null; } groupbyPrototype = props.getProperty(propName + ".group.prototype"); if ((groupbyPrototype != null) && (groupbyPrototype.trim().length() == 0)) { groupbyPrototype = null; } // aggressive loading and caching is not supported for groupby-nodes // aggressiveLoading = aggressiveCaching = false; } // check if subnode condition should be applied for property relations accessName = props.getProperty(propName + ".accessname"); // parse contstraints String local = props.getProperty(propName + ".local"); String foreign = props.getProperty(propName + ".foreign"); if ((local != null) && (foreign != null)) { cnst.addElement(new Constraint(local, foreign, false)); columnName = local; } // parse additional contstraints from *.1 to *.9 for (int i=1; i<10; i++) { local = props.getProperty(propName + ".local."+i); foreign = props.getProperty(propName + ".foreign."+i); if ((local != null) && (foreign != null)) { cnst.addElement(new Constraint(local, foreign, false)); } } // parse constraints logic if (cnst.size() > 1) { String logic = props.getProperty(propName + ".logicalOperator"); if ("and".equalsIgnoreCase(logic)) { logicalOperator = AND; } else if ("or".equalsIgnoreCase(logic)) { logicalOperator = OR; } else if ("xor".equalsIgnoreCase(logic)) { logicalOperator = XOR; } else { logicalOperator = AND; } } else { logicalOperator = AND; } }
3798 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3798/8509b4b6c3d70dacadf2db2b4560e9d9ebf32ebc/Relation.java/clean/src/helma/objectmodel/db/Relation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1109, 1320, 12, 5018, 6227, 334, 16, 6183, 3458, 13, 288, 3639, 514, 7153, 273, 3458, 18, 588, 1396, 12, 5986, 461, 397, 3552, 945, 3188, 8863, 3639, 1737, 2329, 688, 10515, 273, 261, 15174, 480, 446, 13, 597, 18701, 315, 346, 2329, 688, 9654, 14963, 5556, 12, 15174, 18, 5290, 10663, 3639, 514, 11393, 273, 3458, 18, 588, 1396, 12, 5986, 461, 397, 3552, 17703, 351, 390, 8863, 3639, 1737, 2329, 688, 17712, 273, 261, 17703, 310, 480, 446, 13, 597, 18701, 315, 346, 2329, 688, 9654, 14963, 5556, 12, 17703, 310, 18, 5290, 10663, 3639, 368, 336, 1353, 1272, 3639, 1353, 273, 642, 18, 588, 1396, 2932, 1019, 8863, 3639, 309, 14015, 1019, 480, 446, 13, 597, 261, 1019, 18, 5290, 7675, 2469, 1435, 422, 374, 3719, 288, 5411, 1353, 273, 446, 31, 3639, 289, 3639, 368, 336, 3312, 1034, 1272, 3639, 1034, 273, 3458, 18, 588, 1396, 12, 5986, 461, 397, 3552, 2188, 8863, 3639, 309, 261, 2188, 480, 446, 13, 288, 5411, 309, 261, 2188, 18, 5290, 7675, 2469, 1435, 422, 374, 13, 288, 7734, 1034, 273, 446, 31, 7734, 1034, 27588, 273, 1034, 1396, 9837, 273, 446, 31, 5411, 289, 469, 288, 7734, 368, 15231, 784, 1034, 7734, 5589, 14656, 273, 394, 5589, 5621, 7734, 5589, 1272, 9837, 273, 394, 5589, 5621, 7734, 1109, 1396, 780, 12, 2188, 16, 14656, 16, 1272, 9837, 1769, 7734, 368, 309, 1158, 5351, 1625, 1392, 16, 2537, 999, 326, 1034, 533, 7734, 368, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1109, 1320, 12, 5018, 6227, 334, 16, 6183, 3458, 13, 288, 3639, 514, 7153, 273, 3458, 18, 588, 1396, 12, 5986, 461, 397, 3552, 945, 3188, 8863, 3639, 1737, 2329, 688, 10515, 273, 261, 15174, 480, 446, 13, 597, 18701, 315, 346, 2329, 688, 9654, 14963, 5556, 12, 15174, 18, 5290, 10663, 3639, 514, 11393, 273, 3458, 18, 588, 1396, 12, 5986, 461, 397, 3552, 17703, 351, 390, 8863, 3639, 1737, 2329, 688, 17712, 273, 261, 17703, 310, 480, 446, 13, 597, 18701, 315, 346, 2329, 688, 9654, 14963, 5556, 12, 17703, 310, 18, 5290, 10663, 3639, 368, 336, 1353, 1272, 3639, 1353, 273, 642, 18, 588, 1396, 2932, 1019, 8863, 3639, 309, 14015, 1019, 480, 2 ]
_t = __t1905;
_t = __t1911;
public final void editorphrase(AST _t) throws RecognitionException { AST editorphrase_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t1901 = _t; AST tmp2296_AST_in = (AST)_t; match(_t,EDITOR); _t = _t.getFirstChild(); { _loop1908: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case INNERCHARS: { AST __t1903 = _t; AST tmp2297_AST_in = (AST)_t; match(_t,INNERCHARS); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1903; _t = _t.getNextSibling(); break; } case INNERLINES: { AST __t1904 = _t; AST tmp2298_AST_in = (AST)_t; match(_t,INNERLINES); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1904; _t = _t.getNextSibling(); break; } case BUFFERCHARS: { AST __t1905 = _t; AST tmp2299_AST_in = (AST)_t; match(_t,BUFFERCHARS); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1905; _t = _t.getNextSibling(); break; } case BUFFERLINES: { AST __t1906 = _t; AST tmp2300_AST_in = (AST)_t; match(_t,BUFFERLINES); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1906; _t = _t.getNextSibling(); break; } case LARGE: { AST tmp2301_AST_in = (AST)_t; match(_t,LARGE); _t = _t.getNextSibling(); break; } case MAXCHARS: { AST __t1907 = _t; AST tmp2302_AST_in = (AST)_t; match(_t,MAXCHARS); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1907; _t = _t.getNextSibling(); break; } case NOBOX: { AST tmp2303_AST_in = (AST)_t; match(_t,NOBOX); _t = _t.getNextSibling(); break; } case NOWORDWRAP: { AST tmp2304_AST_in = (AST)_t; match(_t,NOWORDWRAP); _t = _t.getNextSibling(); break; } case SCROLLBARHORIZONTAL: { AST tmp2305_AST_in = (AST)_t; match(_t,SCROLLBARHORIZONTAL); _t = _t.getNextSibling(); break; } case SCROLLBARVERTICAL: { AST tmp2306_AST_in = (AST)_t; match(_t,SCROLLBARVERTICAL); _t = _t.getNextSibling(); break; } case TOOLTIP: { tooltip_expr(_t); _t = _retTree; break; } case SIZE: case SIZECHARS: case SIZEPIXELS: { sizephrase(_t); _t = _retTree; break; } default: { break _loop1908; } } } while (true); } _t = __t1901; _t = _t.getNextSibling(); _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/TreeParser01.java/buggy/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 4858, 9429, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 4858, 9429, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 3657, 1611, 273, 389, 88, 31, 202, 202, 9053, 1853, 3787, 10525, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 13208, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 67, 6498, 3657, 6840, 30, 202, 202, 2896, 288, 1082, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 1082, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 1082, 202, 3593, 17387, 21666, 30, 1082, 202, 95, 9506, 202, 9053, 1001, 88, 3657, 4630, 273, 389, 88, 31, 9506, 202, 9053, 1853, 3787, 10580, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 9506, 202, 1916, 24899, 88, 16, 25000, 21666, 1769, 9506, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 9506, 202, 8692, 24899, 88, 1769, 9506, 202, 67, 88, 273, 389, 1349, 2471, 31, 9506, 202, 67, 88, 273, 1001, 88, 3657, 4630, 31, 9506, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 9506, 202, 8820, 31, 1082, 202, 97, 1082, 202, 3593, 17387, 5997, 55, 30, 1082, 202, 95, 9506, 202, 9053, 1001, 88, 3657, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 4858, 9429, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 4858, 9429, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 3657, 1611, 273, 389, 88, 31, 202, 202, 9053, 1853, 3787, 10525, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 13208, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 67, 6498, 3657, 6840, 30, 202, 202, 2896, 288, 1082, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 1082, 2 ]
if (segment.measure != measure) { continue; } if (segment.isReady()) { Object o = segment.get(keys); if (o != null) { if (pinSet != null) { CachePool.instance().pin(segment, pinSet); } return o;
} else { if (segment.wouldContain(keys)) { if (pinSet != null) { pinSet.add(segment);
public synchronized Object get( RolapStar.Measure measure, Object[] keys, Collection pinSet) { // if we dont synchronize here, the CachePool.flushIfNecessary may // remove elements from segmentRefs while we are iterating. This // would cause a ConcurrentModificationException. synchronized (CachePool.instance()) { for (Iterator it = segmentRefs.iterator(); it.hasNext();) { SoftCacheableReference ref = (SoftCacheableReference)it.next(); Segment segment = (Segment) ref.getCacheable(); if (segment == null) { it.remove(); continue; // it's being garbage-collected } if (segment.measure != measure) { continue; } if (segment.isReady()) { Object o = segment.get(keys); if (o != null) { if (pinSet != null) { CachePool.instance().pin(segment, pinSet); } return o; } } else { if (segment.wouldContain(keys)) { if (pinSet != null) { CachePool.instance().pin(segment, pinSet); } return null; } } } } return null; }
4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/c4f321234fb770039c1d9b8397c8ac368d1ac5b1/Aggregation.java/buggy/src/main/mondrian/rolap/agg/Aggregation.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 1033, 336, 12, 1082, 202, 4984, 438, 18379, 18, 7197, 6649, 16, 1033, 8526, 1311, 16, 2200, 7092, 694, 13, 288, 9506, 202, 759, 309, 732, 14046, 16978, 2674, 16, 326, 4379, 2864, 18, 11330, 26034, 2026, 202, 202, 759, 1206, 2186, 628, 3267, 9837, 1323, 732, 854, 13099, 18, 1220, 202, 202, 759, 4102, 4620, 279, 15242, 13467, 503, 18, 202, 202, 22043, 261, 1649, 2864, 18, 1336, 10756, 288, 1082, 202, 1884, 261, 3198, 518, 273, 3267, 9837, 18, 9838, 5621, 518, 18, 5332, 2134, 5621, 13, 288, 9506, 202, 12468, 1649, 429, 2404, 1278, 273, 261, 12468, 1649, 429, 2404, 13, 305, 18, 4285, 5621, 9506, 202, 4131, 3267, 273, 261, 4131, 13, 1278, 18, 588, 1649, 429, 5621, 9506, 202, 430, 261, 9273, 422, 446, 13, 288, 6862, 202, 305, 18, 4479, 5621, 6862, 202, 17143, 31, 368, 518, 1807, 3832, 15340, 17, 14676, 329, 9506, 202, 97, 9506, 202, 430, 261, 9273, 18, 10772, 480, 6649, 13, 288, 6862, 202, 17143, 31, 9506, 202, 97, 9506, 202, 430, 261, 9273, 18, 291, 8367, 10756, 288, 6862, 202, 921, 320, 273, 3267, 18, 588, 12, 2452, 1769, 6862, 202, 430, 261, 83, 480, 446, 13, 288, 25083, 202, 430, 261, 13097, 694, 480, 446, 13, 288, 6862, 1082, 202, 1649, 2864, 18, 1336, 7675, 13097, 12, 9273, 16, 7092, 694, 1769, 25083, 202, 97, 25083, 202, 2463, 320, 31, 6862, 202, 97, 9506, 202, 97, 469, 288, 6862, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3852, 1033, 336, 12, 1082, 202, 4984, 438, 18379, 18, 7197, 6649, 16, 1033, 8526, 1311, 16, 2200, 7092, 694, 13, 288, 9506, 202, 759, 309, 732, 14046, 16978, 2674, 16, 326, 4379, 2864, 18, 11330, 26034, 2026, 202, 202, 759, 1206, 2186, 628, 3267, 9837, 1323, 732, 854, 13099, 18, 1220, 202, 202, 759, 4102, 4620, 279, 15242, 13467, 503, 18, 202, 202, 22043, 261, 1649, 2864, 18, 1336, 10756, 288, 1082, 202, 1884, 261, 3198, 518, 273, 3267, 9837, 18, 9838, 5621, 518, 18, 5332, 2134, 5621, 13, 288, 9506, 202, 12468, 1649, 429, 2404, 1278, 273, 261, 12468, 1649, 429, 2404, 13, 305, 18, 4285, 5621, 9506, 202, 4131, 3267, 273, 261, 4131, 2 ]
HtmlTagFilter reader =
HtmlTagFilter reader =
public void testReadWithOffsetAndLength() throws IOException { String content = "This "+startTag1+"is test "+endTag1+"content"; String expectedContent = "is cont"; HtmlTagFilter reader = new HtmlTagFilter(new StringReader(content), tagPair1); char actual[] = new char[expectedContent.length()]; assertEquals(7, reader.read(actual, 2, 7)); assertEquals(expectedContent, new String(actual)); actual = new char[3]; reader.read(actual); assertEquals("ent", new String(actual)); }
8150 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8150/6938da50dd007d67baeee98f7e142cbfc07cb1bb/TestHtmlTagFilter.java/clean/test/src/org/lockss/crawler/TestHtmlTagFilter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 1994, 1190, 2335, 1876, 1782, 1435, 1216, 1860, 288, 565, 514, 913, 273, 315, 2503, 13773, 1937, 1805, 21, 9078, 291, 1842, 13773, 409, 1805, 21, 9078, 1745, 14432, 565, 514, 2665, 1350, 273, 315, 291, 466, 14432, 565, 27153, 1586, 2949, 273, 4202, 394, 27153, 1586, 12, 2704, 26227, 12, 1745, 3631, 1047, 4154, 21, 1769, 3639, 1149, 3214, 8526, 273, 394, 1149, 63, 3825, 1350, 18, 2469, 1435, 15533, 565, 1815, 8867, 12, 27, 16, 2949, 18, 896, 12, 18672, 16, 576, 16, 2371, 10019, 565, 1815, 8867, 12, 3825, 1350, 16, 394, 514, 12, 18672, 10019, 565, 3214, 273, 394, 1149, 63, 23, 15533, 565, 2949, 18, 896, 12, 18672, 1769, 565, 1815, 8867, 2932, 319, 3113, 394, 514, 12, 18672, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 1994, 1190, 2335, 1876, 1782, 1435, 1216, 1860, 288, 565, 514, 913, 273, 315, 2503, 13773, 1937, 1805, 21, 9078, 291, 1842, 13773, 409, 1805, 21, 9078, 1745, 14432, 565, 514, 2665, 1350, 273, 315, 291, 466, 14432, 565, 27153, 1586, 2949, 273, 4202, 394, 27153, 1586, 12, 2704, 26227, 12, 1745, 3631, 1047, 4154, 21, 1769, 3639, 1149, 3214, 8526, 273, 394, 1149, 63, 3825, 1350, 18, 2469, 1435, 15533, 565, 1815, 8867, 12, 27, 16, 2949, 18, 896, 12, 18672, 16, 576, 16, 2371, 10019, 565, 1815, 8867, 12, 3825, 1350, 16, 394, 514, 12, 18672, 10019, 565, 3214, 273, 394, 1149, 63, 23, 15533, 565, 2949, 18, 896, 12, 18672, 1769, 565, 2 ]
{ return TodoParser.encode(_item.getMoreInfoURL()); }
{ return TodoParser.encode(_item.getMoreInfoURL()); }
public String getMoreInfoURL() { return TodoParser.encode(_item.getMoreInfoURL()); }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/ToDoItemXMLHelper.java/buggy/src_new/org/argouml/xml/todo/ToDoItemXMLHelper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 2108, 479, 966, 1785, 1435, 202, 95, 202, 202, 2463, 399, 7370, 2678, 18, 3015, 24899, 1726, 18, 588, 7417, 966, 1785, 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, 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, 225, 202, 482, 514, 2108, 479, 966, 1785, 1435, 202, 95, 202, 202, 2463, 399, 7370, 2678, 18, 3015, 24899, 1726, 18, 588, 7417, 966, 1785, 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, -100, -100, -100, -100, -100, -100 ]
ArrayList list = mojo.getArtifactItems( removeVersion );
ArrayList list = mojo.getProcessedArtifactItems( removeVersion );
public ArtifactItem getSingleArtifactItem( boolean removeVersion ) throws MojoExecutionException { ArrayList list = mojo.getArtifactItems( removeVersion ); return (ArtifactItem) list.get( 0 ); }
51807 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51807/1f209e4fef3efb2350634ef8c679a5acd5c29ec3/TestUnpackMojo.java/buggy/maven-dependency-plugin/src/test/java/org/apache/maven/plugin/dependency/fromConfiguration/TestUnpackMojo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 14022, 1180, 19108, 7581, 1180, 12, 1250, 1206, 1444, 262, 3639, 1216, 18780, 565, 288, 3639, 2407, 666, 273, 312, 10007, 18, 588, 13533, 7581, 3126, 12, 1206, 1444, 11272, 3639, 327, 261, 7581, 1180, 13, 666, 18, 588, 12, 374, 11272, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 14022, 1180, 19108, 7581, 1180, 12, 1250, 1206, 1444, 262, 3639, 1216, 18780, 565, 288, 3639, 2407, 666, 273, 312, 10007, 18, 588, 13533, 7581, 3126, 12, 1206, 1444, 11272, 3639, 327, 261, 7581, 1180, 13, 666, 18, 588, 12, 374, 11272, 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 ]
jj_la1[64] = jj_gen;
jj_la1[66] = jj_gen;
final public BlockBuilder LiteralBlock() throws ParseException { ParserBlockBuilder block = new ParserBlockBuilder(templateName); Token t; if (jj_2_20(2147483647)) { jj_consume_token(LBRACE); label_9: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case STUFF: case END: case BEGIN: case POUNDPOUND: case DOLLAR: case QCHAR: case SLASH: case POUND: ; break; default: jj_la1[63] = jj_gen; break label_9; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case STUFF: case POUNDPOUND: case DOLLAR: case QCHAR: case SLASH: case POUND: LiteralWMContent(block); break; case END: case BEGIN: switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case BEGIN: t = jj_consume_token(BEGIN); break; case END: t = jj_consume_token(END); break; default: jj_la1[64] = jj_gen; jj_consume_token(-1); throw new ParseException(); } block.addElement(t.image); break; default: jj_la1[65] = jj_gen; jj_consume_token(-1); throw new ParseException(); } } jj_consume_token(RBRACE); } else { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case STUFF: case RBRACE: case END: case BEGIN: case LBRACE: case POUNDPOUND: case DOLLAR: case QCHAR: case SLASH: case POUND: switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case BEGIN: jj_consume_token(BEGIN); break; default: jj_la1[66] = jj_gen; ; } label_10: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case STUFF: case RBRACE: case LBRACE: case POUNDPOUND: case DOLLAR: case QCHAR: case SLASH: case POUND: ; break; default: jj_la1[67] = jj_gen; break label_10; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case STUFF: case POUNDPOUND: case DOLLAR: case QCHAR: case SLASH: case POUND: LiteralWMContent(block); break; case RBRACE: case LBRACE: switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LBRACE: t = jj_consume_token(LBRACE); break; case RBRACE: t = jj_consume_token(RBRACE); break; default: jj_la1[68] = jj_gen; jj_consume_token(-1); throw new ParseException(); } block.addElement(t.image); break; default: jj_la1[69] = jj_gen; jj_consume_token(-1); throw new ParseException(); } } jj_consume_token(END); break; default: jj_la1[70] = jj_gen; jj_consume_token(-1); throw new ParseException(); } } {if (true) return block;} throw new Error("Missing return statement in function"); }
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/126c8b01768c9be523a6baffb01538d1aba40e1e/WMParser_impl.java/buggy/webmacro/src/org/webmacro/parser/WMParser_impl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 3914, 1263, 14392, 1768, 1435, 1216, 10616, 288, 225, 6783, 1768, 1263, 1203, 273, 394, 6783, 1768, 1263, 12, 3202, 461, 1769, 225, 3155, 268, 31, 565, 309, 261, 78, 78, 67, 22, 67, 3462, 12, 22, 3461, 30623, 30792, 3719, 288, 1377, 10684, 67, 21224, 67, 2316, 12, 12995, 9254, 1769, 1377, 1433, 67, 29, 30, 1377, 1323, 261, 3767, 13, 288, 3639, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 3639, 648, 2347, 57, 2246, 30, 3639, 648, 7273, 30, 3639, 648, 19270, 30, 3639, 648, 13803, 5240, 2419, 5240, 30, 3639, 648, 463, 30922, 985, 30, 3639, 648, 2238, 7305, 30, 3639, 648, 348, 16504, 30, 3639, 648, 13803, 5240, 30, 1850, 274, 1850, 898, 31, 3639, 805, 30, 1850, 10684, 67, 11821, 21, 63, 4449, 65, 273, 10684, 67, 4507, 31, 1850, 898, 1433, 67, 29, 31, 3639, 289, 3639, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 3639, 648, 2347, 57, 2246, 30, 3639, 648, 13803, 5240, 2419, 5240, 30, 3639, 648, 463, 30922, 985, 30, 3639, 648, 2238, 7305, 30, 3639, 648, 348, 16504, 30, 3639, 648, 13803, 5240, 30, 1850, 14392, 25173, 1350, 12, 2629, 1769, 1850, 898, 31, 3639, 648, 7273, 30, 3639, 648, 19270, 30, 1850, 1620, 14015, 78, 78, 67, 496, 79, 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, 3914, 1263, 14392, 1768, 1435, 1216, 10616, 288, 225, 6783, 1768, 1263, 1203, 273, 394, 6783, 1768, 1263, 12, 3202, 461, 1769, 225, 3155, 268, 31, 565, 309, 261, 78, 78, 67, 22, 67, 3462, 12, 22, 3461, 30623, 30792, 3719, 288, 1377, 10684, 67, 21224, 67, 2316, 12, 12995, 9254, 1769, 1377, 1433, 67, 29, 30, 1377, 1323, 261, 3767, 13, 288, 3639, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 3639, 648, 2347, 57, 2246, 30, 3639, 648, 7273, 30, 3639, 648, 19270, 30, 3639, 648, 13803, 5240, 2419, 5240, 30, 3639, 648, 463, 30922, 985, 30, 3639, 2 ]
checkPermissions(context, resource, I_CmsConstants.C_WRITE_ACCESS, true, CmsResourceFilter.ALL);
checkPermissions(context, resource, CmsPermissionSet.ACCESS_WRITE, true, CmsResourceFilter.ALL);
public void changeLastModifiedProjectId(CmsRequestContext context, CmsResource resource) throws CmsException { // check the access permissions checkPermissions(context, resource, I_CmsConstants.C_WRITE_ACCESS, true, CmsResourceFilter.ALL); // update the project id of a modified resource as "modified inside the current project" m_vfsDriver.writeLastModifiedProjectId(context.currentProject(), context.currentProject().getId(), resource); clearResourceCache(); OpenCms.fireCmsEvent(new CmsEvent(I_CmsEventListener.EVENT_RESOURCE_MODIFIED, Collections.singletonMap("resource", resource))); }
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/f0e3cb28447c785c94d99b78261405c3fa88b2da/CmsDriverManager.java/buggy/src/org/opencms/db/CmsDriverManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2549, 14747, 4109, 548, 12, 4747, 21426, 819, 16, 7630, 1058, 13, 1216, 11228, 288, 7734, 368, 866, 326, 2006, 4371, 3639, 866, 6521, 12, 2472, 16, 1058, 16, 2149, 5041, 694, 18, 13204, 67, 11677, 16, 638, 16, 21082, 18, 4685, 1769, 3639, 368, 1089, 326, 1984, 612, 434, 279, 4358, 1058, 487, 315, 7342, 4832, 326, 783, 1984, 6, 3639, 312, 67, 90, 2556, 4668, 18, 2626, 14747, 4109, 548, 12, 2472, 18, 2972, 4109, 9334, 819, 18, 2972, 4109, 7675, 26321, 9334, 1058, 1769, 3639, 2424, 1420, 1649, 5621, 3639, 10319, 18, 12179, 4747, 1133, 12, 2704, 2149, 1133, 12, 45, 67, 4747, 7375, 18, 10454, 67, 11395, 67, 21143, 16, 5737, 18, 24487, 863, 2932, 3146, 3113, 1058, 3719, 1769, 565, 289, 377, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2549, 14747, 4109, 548, 12, 4747, 21426, 819, 16, 7630, 1058, 13, 1216, 11228, 288, 7734, 368, 866, 326, 2006, 4371, 3639, 866, 6521, 12, 2472, 16, 1058, 16, 2149, 5041, 694, 18, 13204, 67, 11677, 16, 638, 16, 21082, 18, 4685, 1769, 3639, 368, 1089, 326, 1984, 612, 434, 279, 4358, 1058, 487, 315, 7342, 4832, 326, 783, 1984, 6, 3639, 312, 67, 90, 2556, 4668, 18, 2626, 14747, 4109, 548, 12, 2472, 18, 2972, 4109, 9334, 819, 18, 2972, 4109, 7675, 26321, 9334, 1058, 1769, 3639, 2424, 1420, 1649, 5621, 3639, 10319, 18, 12179, 4747, 1133, 12, 2704, 2149, 1133, 12, 45, 67, 4747, 7375, 18, 10454, 67, 11395, 67, 21143, 16, 5737, 18, 2 ]
throw new TypeError( runtime,
throw getRuntime().newTypeError(
public IRubyObject convertType(Class type, String targetType, String convertMethod) { if (type.isAssignableFrom(getClass())) { return this; } IRubyObject result = convertToType(targetType, convertMethod, true); if (!type.isAssignableFrom(result.getClass())) { throw new TypeError( runtime, getMetaClass().getName() + "#" + convertMethod + " should return " + targetType + "."); } return result; }
46258 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46258/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyObject.java/buggy/src/org/jruby/RubyObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 1765, 559, 12, 797, 618, 16, 514, 16065, 16, 514, 1765, 1305, 13, 288, 3639, 309, 261, 723, 18, 291, 7961, 1265, 12, 588, 797, 1435, 3719, 288, 5411, 327, 333, 31, 3639, 289, 3639, 15908, 10340, 921, 563, 273, 8137, 559, 12, 3299, 559, 16, 1765, 1305, 16, 638, 1769, 3639, 309, 16051, 723, 18, 291, 7961, 1265, 12, 2088, 18, 588, 797, 1435, 3719, 288, 5411, 604, 394, 3580, 12, 7734, 3099, 16, 7734, 11312, 797, 7675, 17994, 1435, 397, 13092, 397, 1765, 1305, 397, 315, 1410, 327, 315, 397, 16065, 397, 4585, 1769, 3639, 289, 3639, 327, 563, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 1765, 559, 12, 797, 618, 16, 514, 16065, 16, 514, 1765, 1305, 13, 288, 3639, 309, 261, 723, 18, 291, 7961, 1265, 12, 588, 797, 1435, 3719, 288, 5411, 327, 333, 31, 3639, 289, 3639, 15908, 10340, 921, 563, 273, 8137, 559, 12, 3299, 559, 16, 1765, 1305, 16, 638, 1769, 3639, 309, 16051, 723, 18, 291, 7961, 1265, 12, 2088, 18, 588, 797, 1435, 3719, 288, 5411, 604, 394, 3580, 12, 7734, 3099, 16, 7734, 11312, 797, 7675, 17994, 1435, 397, 13092, 397, 1765, 1305, 397, 315, 1410, 327, 315, 397, 16065, 397, 4585, 1769, 3639, 289, 3639, 327, 563, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
int roll = Compute.d6(2);
private void resolveBrushOffAttack( BrushOffAttackAction baa, int lastEntityId ) { final Entity ae = game.getEntity(baa.getEntityId()); // PLEASE NOTE: buildings are *never* the target of a "brush off". final Entity te = game.getEntity(baa.getTargetId()); final String armName = baa.getArm() == BrushOffAttackAction.LEFT ? "Left Arm" : "Right Arm"; if (lastEntityId != baa.getEntityId()) { phaseReport.append( "\nPhysical attacks for " ) .append( ae.getDisplayName() ) .append( "\n" ); } phaseReport.append(" Brush Off " ) .append( te.getDisplayName() ) .append( " with " ) .append( armName ); // compute to-hit ToHitData toHit = baa.toHit(game); if (toHit.getValue() == ToHitData.IMPOSSIBLE) { phaseReport.append( ", but the brush off is impossible (" ) .append( toHit.getDesc() ) .append( ")\n" ); return; } phaseReport.append("; needs ").append(toHit.getValue()).append(", "); // roll int roll = Compute.d6(2); phaseReport.append("rolls ").append(roll).append(" : "); // ASSUMPTION: buildings can't absorb *this* damage. int damage = BrushOffAttackAction.getBrushOffDamageFor(ae, baa.getArm()); // do we hit? if (roll < toHit.getValue()) { phaseReport.append("misses.\n"); // Missed Brush Off attacks cause punch damage to the attacker. toHit.setHitTable( ToHitData.HIT_PUNCH ); toHit.setSideTable( ToHitData.SIDE_FRONT ); HitData hit = ae.rollHitLocation( toHit.getHitTable(), toHit.getSideTable() ); phaseReport.append( ae.getDisplayName() ) .append( " punches itself in the " ) .append( ae.getLocationAbbr(hit) ) .append( damageEntity(ae, hit, damage) ) .append("\n"); return; } HitData hit = te.rollHitLocation( toHit.getHitTable(), toHit.getSideTable() ); phaseReport.append("hits") .append( toHit.getTableDesc() ) .append( " " ) .append( te.getLocationAbbr(hit) ); phaseReport.append(damageEntity(te, hit, damage)); phaseReport.append("\n"); // Dislodge the swarming infantry. ae.setSwarmAttackerId( Entity.NONE ); te.setSwarmTargetId( Entity.NONE ); phaseReport.append( te.getDisplayName() ) .append( " is dislodged.\n" ); }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/3fd041fb46b8a67b4a7aec1ba3001c7c628defd9/Server.java/buggy/megamek/src/megamek/server/Server.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2245, 19114, 1218, 7210, 3075, 484, 12, 605, 86, 1218, 7210, 3075, 484, 1803, 324, 7598, 16, 4766, 3639, 509, 1142, 18029, 262, 288, 3639, 727, 3887, 14221, 273, 7920, 18, 588, 1943, 12, 70, 7598, 18, 588, 18029, 10663, 3639, 368, 453, 22357, 5219, 30, 1361, 899, 854, 380, 4644, 502, 14, 326, 1018, 434, 279, 315, 2848, 1218, 3397, 9654, 3639, 727, 3887, 6489, 273, 7920, 18, 588, 1943, 12, 70, 7598, 18, 588, 2326, 548, 10663, 3639, 727, 514, 23563, 461, 273, 324, 7598, 18, 588, 25583, 1435, 422, 605, 86, 1218, 7210, 3075, 484, 1803, 18, 10066, 5411, 692, 315, 3910, 1201, 81, 6, 294, 315, 4726, 1201, 81, 14432, 3639, 309, 261, 2722, 18029, 480, 324, 7598, 18, 588, 18029, 10756, 288, 5411, 6855, 4820, 18, 6923, 12, 1548, 82, 18136, 28444, 364, 315, 262, 7734, 263, 6923, 12, 14221, 18, 588, 20524, 1435, 262, 7734, 263, 6923, 12, 1548, 82, 6, 11272, 3639, 289, 3639, 6855, 4820, 18, 6923, 2932, 565, 605, 86, 1218, 15837, 315, 262, 5411, 263, 6923, 12, 6489, 18, 588, 20524, 1435, 262, 5411, 263, 6923, 12, 315, 598, 315, 262, 5411, 263, 6923, 12, 23563, 461, 11272, 3639, 368, 3671, 358, 17, 15989, 3639, 2974, 13616, 751, 358, 13616, 273, 324, 7598, 18, 869, 13616, 12, 13957, 1769, 3639, 309, 261, 869, 13616, 18, 24805, 1435, 422, 2974, 13616, 751, 18, 3445, 2419, 1260, 13450, 900, 13, 288, 5411, 6855, 4820, 18, 6923, 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, 2245, 19114, 1218, 7210, 3075, 484, 12, 605, 86, 1218, 7210, 3075, 484, 1803, 324, 7598, 16, 4766, 3639, 509, 1142, 18029, 262, 288, 3639, 727, 3887, 14221, 273, 7920, 18, 588, 1943, 12, 70, 7598, 18, 588, 18029, 10663, 3639, 368, 453, 22357, 5219, 30, 1361, 899, 854, 380, 4644, 502, 14, 326, 1018, 434, 279, 315, 2848, 1218, 3397, 9654, 3639, 727, 3887, 6489, 273, 7920, 18, 588, 1943, 12, 70, 7598, 18, 588, 2326, 548, 10663, 3639, 727, 514, 23563, 461, 273, 324, 7598, 18, 588, 25583, 1435, 422, 605, 86, 1218, 7210, 3075, 484, 1803, 18, 10066, 5411, 692, 315, 3910, 1201, 81, 6, 294, 315, 4726, 1201, 81, 14432, 3639, 309, 2 ]
public GetExecutor(RuntimeLogger r, Introspector ispect, Class c, String key)
public GetExecutor(Log log, Introspector ispect, Class c, String key)
public GetExecutor(RuntimeLogger r, Introspector ispect, Class c, String key) throws Exception { rlog = r; args[0] = key; method = ispect.getMethod(c, "get", args); }
9291 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9291/f4adefb79ccda5d9df1f60719e0ede8f167e4089/GetExecutor.java/clean/src/java/org/apache/velocity/runtime/parser/node/GetExecutor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 968, 6325, 12, 1343, 613, 16, 3094, 26170, 280, 353, 1181, 16, 1659, 276, 16, 514, 498, 13, 3639, 1216, 1185, 565, 288, 3639, 436, 1330, 273, 436, 31, 3639, 833, 63, 20, 65, 273, 498, 31, 3639, 707, 273, 353, 1181, 18, 588, 1305, 12, 71, 16, 315, 588, 3113, 833, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 968, 6325, 12, 1343, 613, 16, 3094, 26170, 280, 353, 1181, 16, 1659, 276, 16, 514, 498, 13, 3639, 1216, 1185, 565, 288, 3639, 436, 1330, 273, 436, 31, 3639, 833, 63, 20, 65, 273, 498, 31, 3639, 707, 273, 353, 1181, 18, 588, 1305, 12, 71, 16, 315, 588, 3113, 833, 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 ]
remove = new LinkedList();
remove = new LinkedList<PingReply>();
private List addBestPongs(String loc, List pongs, long curTime, int i) { //set the expire time to be used. //if the locale that is passed in is "en" then just use the //normal expire time otherwise use the longer expire time //so we can have some memory of non english locales int exp_time = (ApplicationSettings.DEFAULT_LOCALE.getValue().equals(loc))? EXPIRE_TIME : EXPIRE_TIME_LOC; //check if there are any pongs of the specific locale stored //in PONGS. List remove = null; if(PONGS.containsKey(loc)) { //get all the pongs that are of the specific locale and //make sure that they are not stale BucketQueue bq = (BucketQueue)PONGS.get(loc); Iterator iter = bq.iterator(); for(;iter.hasNext() && i < NUM_HOPS; i++) { PingReply pr = (PingReply)iter.next(); //if the pongs are stale put into the remove list //to be returned. Didn't pass in the remove list //into this function because we may never see stale //pongs so we won't need to new a linkedlist //this may be a premature and unnecessary opt. if(curTime - pr.getCreationTime() > exp_time) { if(remove == null) remove = new LinkedList(); remove.add(pr); } else { pongs.add(pr); } } } return remove; }
5134 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5134/ac7c3a1539ad35dc668f1d225a6c2676877599ab/PongCacher.java/clean/components/gnutella-core/src/main/java/com/limegroup/gnutella/PongCacher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 987, 527, 14173, 52, 7260, 12, 780, 1515, 16, 987, 293, 7260, 16, 1171, 9079, 1525, 662, 950, 16, 509, 277, 13, 288, 3639, 368, 542, 326, 6930, 813, 358, 506, 1399, 18, 3639, 368, 430, 326, 2573, 716, 353, 2275, 316, 353, 315, 275, 6, 1508, 2537, 999, 326, 3639, 368, 6130, 6930, 813, 3541, 999, 326, 7144, 6930, 813, 3639, 368, 2048, 732, 848, 1240, 2690, 3778, 434, 1661, 26858, 6922, 3639, 509, 1329, 67, 957, 273, 2398, 261, 3208, 2628, 18, 5280, 67, 25368, 18, 24805, 7675, 14963, 12, 1829, 24783, 5411, 31076, 862, 67, 4684, 294, 5411, 31076, 862, 67, 4684, 67, 29450, 31, 7734, 368, 1893, 309, 1915, 854, 1281, 293, 7260, 434, 326, 2923, 2573, 4041, 3639, 368, 267, 453, 7390, 55, 18, 3639, 987, 1206, 273, 446, 31, 3639, 309, 12, 52, 7390, 55, 18, 12298, 653, 12, 1829, 3719, 288, 2398, 368, 588, 777, 326, 293, 7260, 716, 854, 434, 326, 2923, 2573, 471, 5411, 368, 6540, 3071, 716, 2898, 854, 486, 14067, 5411, 7408, 3183, 324, 85, 273, 261, 4103, 3183, 13, 52, 7390, 55, 18, 588, 12, 1829, 1769, 5411, 4498, 1400, 273, 324, 85, 18, 9838, 5621, 5411, 364, 12, 31, 2165, 18, 5332, 2134, 1435, 597, 277, 411, 9443, 67, 44, 3665, 55, 31, 277, 27245, 288, 7734, 18214, 7817, 846, 273, 261, 17223, 7817, 13, 2165, 18, 4285, 5621, 27573, 368, 430, 326, 293, 7260, 854, 14067, 1378, 1368, 326, 1206, 666, 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, 527, 14173, 52, 7260, 12, 780, 1515, 16, 987, 293, 7260, 16, 1171, 9079, 1525, 662, 950, 16, 509, 277, 13, 288, 3639, 368, 542, 326, 6930, 813, 358, 506, 1399, 18, 3639, 368, 430, 326, 2573, 716, 353, 2275, 316, 353, 315, 275, 6, 1508, 2537, 999, 326, 3639, 368, 6130, 6930, 813, 3541, 999, 326, 7144, 6930, 813, 3639, 368, 2048, 732, 848, 1240, 2690, 3778, 434, 1661, 26858, 6922, 3639, 509, 1329, 67, 957, 273, 2398, 261, 3208, 2628, 18, 5280, 67, 25368, 18, 24805, 7675, 14963, 12, 1829, 24783, 5411, 31076, 862, 67, 4684, 294, 5411, 31076, 862, 67, 4684, 67, 29450, 31, 7734, 368, 1893, 309, 1915, 854, 1281, 293, 7260, 2 ]
if (createScript) scriptOut.println(createTableStatement + PropertiesHandler.properties.getStatementTerminator());
private static void createTable (String createTableStatement) { System.out.print("..."); //System.out.println(createTableStatement); try { stmt = con.createStatement(); stmt.executeUpdate(createTableStatement); } catch (Exception e) { System.out.println(createTableStatement); e.printStackTrace(); } finally { try { stmt.close(); } catch (Exception e) { } } }
24959 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/24959/33c841d7ea67083534b473cb523951ec500ac981/DbLoader.java/clean/source/org/jasig/portal/tools/DbLoader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 309, 261, 2640, 3651, 13, 2728, 1182, 18, 8222, 12, 2640, 1388, 3406, 397, 6183, 1503, 18, 4738, 18, 588, 3406, 31868, 10663, 225, 309, 261, 2640, 3651, 13, 2728, 1182, 18, 8222, 12, 2640, 1388, 3406, 397, 6183, 1503, 18, 4738, 18, 588, 3406, 31868, 10663, 3238, 309, 261, 2640, 3651, 13, 2728, 1182, 18, 8222, 12, 2640, 1388, 3406, 397, 6183, 1503, 18, 4738, 18, 588, 3406, 31868, 10663, 760, 309, 261, 2640, 3651, 13, 2728, 1182, 18, 8222, 12, 2640, 1388, 3406, 397, 6183, 1503, 18, 4738, 18, 588, 3406, 31868, 10663, 918, 309, 261, 2640, 3651, 13, 2728, 1182, 18, 8222, 12, 2640, 1388, 3406, 397, 6183, 1503, 18, 4738, 18, 588, 3406, 31868, 10663, 19565, 309, 261, 2640, 3651, 13, 2728, 1182, 18, 8222, 12, 2640, 1388, 3406, 397, 6183, 1503, 18, 4738, 18, 588, 3406, 31868, 10663, 261, 780, 309, 261, 2640, 3651, 13, 2728, 1182, 18, 8222, 12, 2640, 1388, 3406, 397, 6183, 1503, 18, 4738, 18, 588, 3406, 31868, 10663, 19565, 3406, 13, 309, 261, 2640, 3651, 13, 2728, 1182, 18, 8222, 12, 2640, 1388, 3406, 397, 6183, 1503, 18, 4738, 18, 588, 3406, 31868, 10663, 225, 309, 261, 2640, 3651, 13, 2728, 1182, 18, 8222, 12, 2640, 1388, 3406, 397, 6183, 1503, 18, 4738, 18, 588, 3406, 31868, 10663, 288, 309, 261, 2640, 3651, 13, 2728, 1182, 18, 8222, 12, 2640, 1388, 3406, 397, 6183, 1503, 18, 4738, 18, 588, 3406, 31868, 10663, 225, 309, 261, 2640, 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, 309, 261, 2640, 3651, 13, 2728, 1182, 18, 8222, 12, 2640, 1388, 3406, 397, 6183, 1503, 18, 4738, 18, 588, 3406, 31868, 10663, 225, 309, 261, 2640, 3651, 13, 2728, 1182, 18, 8222, 12, 2640, 1388, 3406, 397, 6183, 1503, 18, 4738, 18, 588, 3406, 31868, 10663, 3238, 309, 261, 2640, 3651, 13, 2728, 1182, 18, 8222, 12, 2640, 1388, 3406, 397, 6183, 1503, 18, 4738, 18, 588, 3406, 31868, 10663, 760, 309, 261, 2640, 3651, 13, 2728, 1182, 18, 8222, 12, 2640, 1388, 3406, 397, 6183, 1503, 18, 4738, 18, 588, 3406, 31868, 10663, 918, 309, 261, 2640, 3651, 13, 2728, 1182, 18, 8222, 12, 2640, 1388, 3406, 397, 6183, 1503, 18, 4738, 18, 588, 3406, 31868, 2 ]
protected final Symbol cloneSymbolImpl(Symbol owner, int attrs) { assert !isPrimaryConstructor() : Debug.show(this); return new TermSymbol(pos, name, owner, flags, attrs, clasz);
protected Symbol cloneSymbolImpl(Symbol owner, int attrs) { return new TermSymbol(owner, pos, flags, name, attrs);
protected final Symbol cloneSymbolImpl(Symbol owner, int attrs) { assert !isPrimaryConstructor() : Debug.show(this); return new TermSymbol(pos, name, owner, flags, attrs, clasz); }
55146 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55146/8848757a0d9ca8537e72eb29178cb4dbd7142626/Symbol.java/clean/sources/scalac/symtab/Symbol.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 727, 8565, 3236, 5335, 2828, 12, 5335, 3410, 16, 509, 3422, 13, 288, 3639, 1815, 401, 291, 6793, 6293, 1435, 294, 4015, 18, 4500, 12, 2211, 1769, 3639, 327, 394, 6820, 5335, 12, 917, 16, 508, 16, 3410, 16, 2943, 16, 3422, 16, 23268, 94, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 727, 8565, 3236, 5335, 2828, 12, 5335, 3410, 16, 509, 3422, 13, 288, 3639, 1815, 401, 291, 6793, 6293, 1435, 294, 4015, 18, 4500, 12, 2211, 1769, 3639, 327, 394, 6820, 5335, 12, 917, 16, 508, 16, 3410, 16, 2943, 16, 3422, 16, 23268, 94, 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 ]
return null;
throw new PSQLException("postgresql.metadata.unavailable");
public java.sql.ResultSet getTypeInfo() throws SQLException { java.sql.ResultSet rs = connection.ExecSQL("select typname from pg_type"); if(rs!=null) { Field f[] = new Field[18]; ResultSet r; // ResultSet for the SQL query that we need to do Vector v = new Vector(); // The new ResultSet tuple stuff f[0] = new Field(connection, "TYPE_NAME", iVarcharOid, 32); f[1] = new Field(connection, "DATA_TYPE", iInt2Oid, 2); f[2] = new Field(connection, "PRECISION", iInt4Oid, 4); f[3] = new Field(connection, "LITERAL_PREFIX", iVarcharOid, 32); f[4] = new Field(connection, "LITERAL_SUFFIX", iVarcharOid, 32); f[5] = new Field(connection, "CREATE_PARAMS", iVarcharOid, 32); f[6] = new Field(connection, "NULLABLE", iInt2Oid, 2); f[7] = new Field(connection, "CASE_SENSITIVE", iBoolOid, 1); f[8] = new Field(connection, "SEARCHABLE", iInt2Oid, 2); f[9] = new Field(connection, "UNSIGNED_ATTRIBUTE", iBoolOid, 1); f[10] = new Field(connection, "FIXED_PREC_SCALE", iBoolOid, 1); f[11] = new Field(connection, "AUTO_INCREMENT", iBoolOid, 1); f[12] = new Field(connection, "LOCAL_TYPE_NAME", iVarcharOid, 32); f[13] = new Field(connection, "MINIMUM_SCALE", iInt2Oid, 2); f[14] = new Field(connection, "MAXIMUM_SCALE", iInt2Oid, 2); f[15] = new Field(connection, "SQL_DATA_TYPE", iInt4Oid, 4); f[16] = new Field(connection, "SQL_DATETIME_SUB", iInt4Oid, 4); f[17] = new Field(connection, "NUM_PREC_RADIX", iInt4Oid, 4); // cache some results, this will keep memory useage down, and speed // things up a little. byte b9[] = "9".getBytes(); byte b10[] = "10".getBytes(); byte bf[] = "f".getBytes(); byte bnn[] = Integer.toString(typeNoNulls).getBytes(); byte bts[] = Integer.toString(typeSearchable).getBytes(); while(rs.next()) { byte[][] tuple = new byte[18][]; String typname=rs.getString(1); tuple[0] = typname.getBytes(); tuple[1] = Integer.toString(Field.getSQLType(typname)).getBytes(); tuple[2] = b9; // for now tuple[6] = bnn; // for now tuple[7] = bf; // false for now - not case sensitive tuple[8] = bts; tuple[9] = bf; // false for now - it's signed tuple[10] = bf; // false for now - must handle money tuple[11] = bf; // false for now - handle autoincrement // 12 - LOCAL_TYPE_NAME is null // 13 & 14 ? // 15 & 16 are unused so we return null tuple[17] = b10; // everything is base 10 v.addElement(tuple); } rs.close(); return new ResultSet(connection, f, v, "OK", 1); } return null; }
47293 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47293/44ae35cab91f1e5a6452da489d4a0c34e181afb9/DatabaseMetaData.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2252, 18, 4669, 18, 13198, 3130, 966, 1435, 1216, 6483, 225, 288, 565, 2252, 18, 4669, 18, 13198, 3597, 273, 1459, 18, 1905, 3997, 2932, 4025, 3815, 529, 628, 7184, 67, 723, 8863, 565, 309, 12, 5453, 5, 33, 2011, 13, 288, 1377, 2286, 284, 8526, 273, 394, 2286, 63, 2643, 15533, 1377, 10842, 436, 31, 202, 759, 10842, 364, 326, 3063, 843, 716, 732, 1608, 358, 741, 1377, 5589, 331, 273, 394, 5589, 5621, 202, 202, 759, 1021, 394, 10842, 3193, 10769, 1377, 284, 63, 20, 65, 273, 394, 2286, 12, 4071, 16, 315, 2399, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 1377, 284, 63, 21, 65, 273, 394, 2286, 12, 4071, 16, 315, 4883, 67, 2399, 3113, 277, 1702, 22, 19105, 16, 576, 1769, 1377, 284, 63, 22, 65, 273, 394, 2286, 12, 4071, 16, 315, 3670, 26913, 3113, 277, 1702, 24, 19105, 16, 1059, 1769, 1377, 284, 63, 23, 65, 273, 394, 2286, 12, 4071, 16, 315, 23225, 67, 6307, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 1377, 284, 63, 24, 65, 273, 394, 2286, 12, 4071, 16, 315, 23225, 67, 14964, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 1377, 284, 63, 25, 65, 273, 394, 2286, 12, 4071, 16, 315, 9344, 67, 16785, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 1377, 284, 63, 26, 65, 273, 394, 2286, 12, 4071, 16, 315, 8560, 2782, 3113, 277, 1702, 22, 19105, 16, 576, 1769, 1377, 284, 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, 282, 1071, 2252, 18, 4669, 18, 13198, 3130, 966, 1435, 1216, 6483, 225, 288, 565, 2252, 18, 4669, 18, 13198, 3597, 273, 1459, 18, 1905, 3997, 2932, 4025, 3815, 529, 628, 7184, 67, 723, 8863, 565, 309, 12, 5453, 5, 33, 2011, 13, 288, 1377, 2286, 284, 8526, 273, 394, 2286, 63, 2643, 15533, 1377, 10842, 436, 31, 202, 759, 10842, 364, 326, 3063, 843, 716, 732, 1608, 358, 741, 1377, 5589, 331, 273, 394, 5589, 5621, 202, 202, 759, 1021, 394, 10842, 3193, 10769, 1377, 284, 63, 20, 65, 273, 394, 2286, 12, 4071, 16, 315, 2399, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 3847, 1769, 1377, 284, 63, 21, 65, 273, 394, 2286, 12, 4071, 16, 2 ]
ctxRevocation.followRedirects = false;
public NodeUpdater(Node n, boolean isAutoUpdateAllowed, FreenetURI URI, FreenetURI revocationURI) { super(); this.URI = URI; URI.setSuggestedEdition(Version.buildNumber()+1); this.revocationURI = revocationURI; this.revocationAlert = null; this.revocationDNFCounter = 0; this.node = n; node.nodeUpdater = this; this.currentVersion = Version.buildNumber(); this.availableVersion = currentVersion; this.hasBeenBlown = false; this.isRunning = true; this.isAutoUpdateAllowed = isAutoUpdateAllowed; this.cg = null; this.isFetching = false; this.alert= new UpdatedVersionAvailableUserAlert(currentVersion); alert.isValid(false); node.alerts.register(alert); FetcherContext ctx = n.makeClient((short)0).getFetcherContext(); ctx.allowSplitfiles = true; ctx.dontEnterImplicitArchives = false; this.ctx = ctx; ctxRevocation = n.makeClient((short)0).getFetcherContext(); ctxRevocation.allowSplitfiles = false; ctxRevocation.cacheLocalRequests = false; ctxRevocation.followRedirects = false; ctxRevocation.maxArchiveLevels = 1; // big enough ? ctxRevocation.maxOutputLength = 4096; ctxRevocation.maxTempLength = 4096; ctxRevocation.maxSplitfileBlockRetries = -1; // if we find content, try forever to get it. ctxRevocation.maxNonSplitfileRetries = 0; // but return quickly normally try{ USK myUsk=USK.create(URI); ctx.uskManager.subscribe(myUsk, this, true); ctx.uskManager.startTemporaryBackgroundFetcher(myUsk); ClientGetter cg = new ClientGetter(this, node.chkFetchScheduler, node.sskFetchScheduler, revocationURI, ctxRevocation, RequestStarter.UPDATE_PRIORITY_CLASS, this, null); cg.start(); }catch(MalformedURLException e){ Logger.error(this,"The auto-update URI isn't valid and can't be used"); blow("The auto-update URI isn't valid and can't be used"); } catch (FetchException e) { Logger.error(this, "Not able to start the revocation fetcher."); blow("Cannot fetch the auto-update URI"); } }
51738 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51738/cd7564dd94d86425478cc20b8abb29c357946324/NodeUpdater.java/clean/src/freenet/node/updater/NodeUpdater.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2029, 15305, 12, 907, 290, 16, 1250, 27079, 1891, 5042, 16, 478, 2842, 278, 3098, 3699, 16, 478, 2842, 278, 3098, 24158, 3098, 13, 288, 202, 202, 9565, 5621, 202, 202, 2211, 18, 3098, 273, 3699, 31, 202, 202, 3098, 18, 542, 55, 28892, 41, 1460, 12, 1444, 18, 3510, 1854, 1435, 15, 21, 1769, 202, 202, 2211, 18, 9083, 4431, 3098, 273, 24158, 3098, 31, 202, 202, 2211, 18, 9083, 4431, 13298, 273, 446, 31, 202, 202, 2211, 18, 9083, 4431, 8609, 4488, 2096, 273, 374, 31, 202, 202, 2211, 18, 2159, 273, 290, 31, 202, 202, 2159, 18, 2159, 15305, 273, 333, 31, 202, 202, 2211, 18, 2972, 1444, 273, 4049, 18, 3510, 1854, 5621, 202, 202, 2211, 18, 5699, 1444, 273, 23344, 31, 202, 202, 2211, 18, 5332, 25931, 38, 821, 82, 273, 629, 31, 202, 202, 2211, 18, 291, 7051, 273, 638, 31, 202, 202, 2211, 18, 291, 4965, 1891, 5042, 273, 27079, 1891, 5042, 31, 202, 202, 2211, 18, 26275, 273, 446, 31, 202, 202, 2211, 18, 291, 30806, 273, 629, 31, 9506, 202, 2211, 18, 11798, 33, 394, 19301, 1444, 5268, 1299, 13298, 12, 2972, 1444, 1769, 202, 202, 11798, 18, 26810, 12, 5743, 1769, 202, 202, 2159, 18, 11798, 87, 18, 4861, 12, 11798, 1769, 9506, 202, 16855, 1042, 1103, 273, 290, 18, 6540, 1227, 12443, 6620, 13, 20, 2934, 588, 16855, 1042, 5621, 9506, 202, 5900, 18, 5965, 5521, 2354, 273, 638, 31, 202, 202, 5900, 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, 2029, 15305, 12, 907, 290, 16, 1250, 27079, 1891, 5042, 16, 478, 2842, 278, 3098, 3699, 16, 478, 2842, 278, 3098, 24158, 3098, 13, 288, 202, 202, 9565, 5621, 202, 202, 2211, 18, 3098, 273, 3699, 31, 202, 202, 3098, 18, 542, 55, 28892, 41, 1460, 12, 1444, 18, 3510, 1854, 1435, 15, 21, 1769, 202, 202, 2211, 18, 9083, 4431, 3098, 273, 24158, 3098, 31, 202, 202, 2211, 18, 9083, 4431, 13298, 273, 446, 31, 202, 202, 2211, 18, 9083, 4431, 8609, 4488, 2096, 273, 374, 31, 202, 202, 2211, 18, 2159, 273, 290, 31, 202, 202, 2159, 18, 2159, 15305, 273, 333, 31, 202, 202, 2211, 18, 2972, 1444, 273, 4049, 18, 3510, 1854, 2 ]
if (fXML11DatatypeFactory == null) { fXML11DatatypeFactory = DTDDVFactory.getInstance(XML11_DATATYPE_VALIDATOR_FACTORY);
if (fCurrentDVFactory != fXML11DatatypeFactory) { fCurrentDVFactory = fXML11DatatypeFactory; setProperty(DATATYPE_VALIDATOR_FACTORY, fCurrentDVFactory);
protected void configureXML11Pipeline() { // create datatype factory if (fXML11DatatypeFactory == null) { fXML11DatatypeFactory = DTDDVFactory.getInstance(XML11_DATATYPE_VALIDATOR_FACTORY); } setProperty(DATATYPE_VALIDATOR_FACTORY, fXML11DatatypeFactory); // setup XML 1.1 DTD pipeline if (fXML11DTDScanner == null) { fXML11DTDScanner = new XML11DTDScannerImpl(); } if (fXML11DTDProcessor == null) { fXML11DTDProcessor = new XML11DTDProcessor(); } fProperties.put(DTD_SCANNER, fXML11DTDScanner); fProperties.put(DTD_PROCESSOR, fXML11DTDProcessor); fXML11DTDScanner.setDTDHandler(fXML11DTDProcessor); fXML11DTDProcessor.setDTDSource(fXML11DTDScanner); fXML11DTDProcessor.setDTDHandler(fDTDHandler); if (fDTDHandler != null) { fDTDHandler.setDTDSource(fXML11DTDProcessor); } fXML11DTDScanner.setDTDContentModelHandler(fXML11DTDProcessor); fXML11DTDProcessor.setDTDContentModelSource(fXML11DTDScanner); fXML11DTDProcessor.setDTDContentModelHandler(fDTDContentModelHandler); if (fDTDContentModelHandler != null) { fDTDContentModelHandler.setDTDContentModelSource(fXML11DTDProcessor); } // setup XML 1.1 document pipeline if (fFeatures.get(NAMESPACES) == Boolean.TRUE) { // REVISIT: Do we still need the namespace binder in the // configuration? It doesn't appear that any other // component uses it. - mrglavas if (fXML11NamespaceBinder == null) { fXML11NamespaceBinder = new XML11NamespaceBinder(); } fProperties.put(NAMESPACE_BINDER, fXML11NamespaceBinder); if (fXML11NSDocScanner == null) { fXML11NSDocScanner = new XML11NSDocumentScannerImpl(); } fScanner = fXML11NSDocScanner; fProperties.put(DOCUMENT_SCANNER, fXML11NSDocScanner); if (fXML11NSDTDValidator == null) { fXML11NSDTDValidator = new XML11NSDTDValidator(); } fProperties.put(DTD_VALIDATOR, fXML11NSDTDValidator); fXML11NSDocScanner.setDTDValidator(fXML11NSDTDValidator); fXML11NSDocScanner.setDocumentHandler(fXML11NSDTDValidator); fXML11NSDTDValidator.setDocumentSource(fXML11NSDocScanner); fXML11NSDTDValidator.setDocumentHandler(fDocumentHandler); if (fDocumentHandler != null) { fDocumentHandler.setDocumentSource(fXML11NSDTDValidator); } fLastComponent = fXML11NSDTDValidator; // Reset namespace pipeline components. fXML11NSDocScanner.reset(this); fXML11NSDTDValidator.reset(this); fXML11NamespaceBinder.reset(this); } else { if (fXML11DocScanner == null) { fXML11DocScanner = new XML11DocumentScannerImpl(); } fScanner = fXML11DocScanner; fProperties.put(DOCUMENT_SCANNER, fXML11DocScanner); if (fXML11DTDValidator == null) { fXML11DTDValidator = new XML11DTDValidator(); } fProperties.put(DTD_VALIDATOR, fXML11DTDValidator); fXML11DocScanner.setDocumentHandler(fXML11DTDValidator); fXML11DTDValidator.setDocumentSource(fXML11DocScanner); fXML11DTDValidator.setDocumentHandler(fDocumentHandler); if (fDocumentHandler != null) { fDocumentHandler.setDocumentSource(fXML11DTDValidator); } fLastComponent = fXML11DTDValidator; // Reset no namespace pipeline components. fXML11DocScanner.reset(this); fXML11DTDValidator.reset(this); } // Reset DTD pipeline components. fXML11DTDScanner.reset(this); fXML11DTDProcessor.reset(this); // setup document pipeline if (fFeatures.get(XMLSCHEMA_VALIDATION) == Boolean.TRUE) { // If schema validator was not in the pipeline insert it. if (fSchemaValidator == null) { fSchemaValidator = new XMLSchemaValidator(); // add schema component fProperties.put(SCHEMA_VALIDATOR, fSchemaValidator); addComponent(fSchemaValidator); // add schema message formatter if (fErrorReporter.getMessageFormatter(XSMessageFormatter.SCHEMA_DOMAIN) == null) { XSMessageFormatter xmft = new XSMessageFormatter(); fErrorReporter.putMessageFormatter(XSMessageFormatter.SCHEMA_DOMAIN, xmft); } } fLastComponent.setDocumentHandler(fSchemaValidator); fSchemaValidator.setDocumentSource(fLastComponent); fSchemaValidator.setDocumentHandler(fDocumentHandler); if (fDocumentHandler != null) { fDocumentHandler.setDocumentSource(fSchemaValidator); } fLastComponent = fSchemaValidator; } } // configurePipeline()
46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/71f188a87af02b1443da35630abaf703fd737e8b/XML11Configuration.java/clean/src/org/apache/xerces/parsers/XML11Configuration.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 5068, 4201, 2499, 8798, 1435, 288, 3639, 368, 752, 11172, 3272, 3639, 309, 261, 74, 4201, 2499, 20228, 1733, 422, 446, 13, 288, 5411, 284, 4201, 2499, 20228, 1733, 273, 10696, 5698, 58, 1733, 18, 588, 1442, 12, 4201, 2499, 67, 11102, 789, 1738, 67, 5063, 3575, 67, 16193, 1769, 3639, 289, 3639, 7486, 12, 11102, 789, 1738, 67, 5063, 3575, 67, 16193, 16, 284, 4201, 2499, 20228, 1733, 1769, 3639, 368, 3875, 3167, 404, 18, 21, 10696, 40, 5873, 3639, 309, 261, 74, 4201, 2499, 25728, 11338, 422, 446, 13, 288, 5411, 284, 4201, 2499, 25728, 11338, 273, 394, 3167, 2499, 25728, 11338, 2828, 5621, 3639, 289, 3639, 309, 261, 74, 4201, 2499, 25728, 5164, 422, 446, 13, 288, 5411, 284, 4201, 2499, 25728, 5164, 273, 394, 3167, 2499, 25728, 5164, 5621, 3639, 289, 3639, 284, 2297, 18, 458, 12, 25728, 67, 2312, 11489, 654, 16, 284, 4201, 2499, 25728, 11338, 1769, 3639, 284, 2297, 18, 458, 12, 25728, 67, 16560, 916, 16, 284, 4201, 2499, 25728, 5164, 1769, 3639, 284, 4201, 2499, 25728, 11338, 18, 542, 25728, 1503, 12, 74, 4201, 2499, 25728, 5164, 1769, 3639, 284, 4201, 2499, 25728, 5164, 18, 542, 25728, 1830, 12, 74, 4201, 2499, 25728, 11338, 1769, 3639, 284, 4201, 2499, 25728, 5164, 18, 542, 25728, 1503, 12, 74, 25728, 1503, 1769, 3639, 309, 261, 74, 25728, 1503, 480, 446, 13, 288, 5411, 284, 25728, 1503, 18, 542, 25728, 1830, 12, 74, 4201, 2499, 25728, 5164, 1769, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 5068, 4201, 2499, 8798, 1435, 288, 3639, 368, 752, 11172, 3272, 3639, 309, 261, 74, 4201, 2499, 20228, 1733, 422, 446, 13, 288, 5411, 284, 4201, 2499, 20228, 1733, 273, 10696, 5698, 58, 1733, 18, 588, 1442, 12, 4201, 2499, 67, 11102, 789, 1738, 67, 5063, 3575, 67, 16193, 1769, 3639, 289, 3639, 7486, 12, 11102, 789, 1738, 67, 5063, 3575, 67, 16193, 16, 284, 4201, 2499, 20228, 1733, 1769, 3639, 368, 3875, 3167, 404, 18, 21, 10696, 40, 5873, 3639, 309, 261, 74, 4201, 2499, 25728, 11338, 422, 446, 13, 288, 5411, 284, 4201, 2499, 25728, 11338, 273, 394, 3167, 2499, 25728, 11338, 2828, 5621, 3639, 289, 3639, 309, 261, 74, 4201, 2499, 25728, 5164, 2 ]
theLayoutPackage.createPackageContents();
public static ModelPackage init() { if (isInited) return (ModelPackage) EPackage.Registry.INSTANCE.getEPackage(ModelPackage.eNS_URI); // Obtain or create and register package ModelPackageImpl theModelPackage = (ModelPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof ModelPackageImpl ? EPackage.Registry.INSTANCE .getEPackage(eNS_URI) : new ModelPackageImpl()); isInited = true; // Initialize simple dependencies XMLTypePackageImpl.init(); // Obtain or create and register interdependencies TypePackageImpl theTypePackage = (TypePackageImpl) (EPackage.Registry.INSTANCE.getEPackage(TypePackage.eNS_URI) instanceof TypePackageImpl ? EPackage.Registry.INSTANCE .getEPackage(TypePackage.eNS_URI) : TypePackageImpl.eINSTANCE); ComponentPackageImpl theComponentPackage = (ComponentPackageImpl) (EPackage.Registry.INSTANCE .getEPackage(ComponentPackage.eNS_URI) instanceof ComponentPackageImpl ? EPackage.Registry.INSTANCE .getEPackage(ComponentPackage.eNS_URI) : ComponentPackageImpl.eINSTANCE); AttributePackageImpl theAttributePackage = (AttributePackageImpl) (EPackage.Registry.INSTANCE .getEPackage(AttributePackage.eNS_URI) instanceof AttributePackageImpl ? EPackage.Registry.INSTANCE .getEPackage(AttributePackage.eNS_URI) : AttributePackageImpl.eINSTANCE); DataPackageImpl theDataPackage = (DataPackageImpl) (EPackage.Registry.INSTANCE.getEPackage(DataPackage.eNS_URI) instanceof DataPackageImpl ? EPackage.Registry.INSTANCE .getEPackage(DataPackage.eNS_URI) : DataPackageImpl.eINSTANCE); LayoutPackageImpl theLayoutPackage = (LayoutPackageImpl) (EPackage.Registry.INSTANCE .getEPackage(LayoutPackage.eNS_URI) instanceof LayoutPackageImpl ? EPackage.Registry.INSTANCE .getEPackage(LayoutPackage.eNS_URI) : LayoutPackageImpl.eINSTANCE); // Create package meta-data objects theModelPackage.createPackageContents(); theTypePackage.createPackageContents(); theComponentPackage.createPackageContents(); theAttributePackage.createPackageContents(); theDataPackage.createPackageContents(); theLayoutPackage.createPackageContents(); // Initialize created meta-data theModelPackage.initializePackageContents(); theTypePackage.initializePackageContents(); theComponentPackage.initializePackageContents(); theAttributePackage.initializePackageContents(); theDataPackage.initializePackageContents(); theLayoutPackage.initializePackageContents(); // Mark meta-data to indicate it can't be changed theModelPackage.freeze(); return theModelPackage; }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/869b9dc91ef4dd13d07f589c6394484a744642f0/ModelPackageImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/impl/ModelPackageImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 3164, 2261, 1208, 1435, 565, 288, 3639, 309, 261, 291, 2570, 329, 13, 5411, 327, 261, 1488, 2261, 13, 10682, 18, 4243, 18, 13341, 18, 588, 41, 2261, 12, 1488, 2261, 18, 73, 3156, 67, 3098, 1769, 3639, 368, 24850, 578, 752, 471, 1744, 2181, 3639, 3164, 2261, 2828, 326, 1488, 2261, 273, 261, 1488, 2261, 2828, 13, 261, 41, 2261, 18, 4243, 18, 13341, 18, 588, 41, 2261, 12, 73, 3156, 67, 3098, 13, 1276, 3164, 2261, 2828, 692, 10682, 18, 4243, 18, 13341, 5411, 263, 588, 41, 2261, 12, 73, 3156, 67, 3098, 13, 5411, 294, 394, 3164, 2261, 2828, 10663, 3639, 353, 2570, 329, 273, 638, 31, 3639, 368, 9190, 4143, 5030, 3639, 3167, 559, 2261, 2828, 18, 2738, 5621, 3639, 368, 24850, 578, 752, 471, 1744, 1554, 11037, 3639, 1412, 2261, 2828, 326, 559, 2261, 273, 261, 559, 2261, 2828, 13, 261, 41, 2261, 18, 4243, 18, 13341, 18, 588, 41, 2261, 12, 559, 2261, 18, 73, 3156, 67, 3098, 13, 1276, 1412, 2261, 2828, 692, 10682, 18, 4243, 18, 13341, 5411, 263, 588, 41, 2261, 12, 559, 2261, 18, 73, 3156, 67, 3098, 13, 5411, 294, 1412, 2261, 2828, 18, 73, 13341, 1769, 3639, 5435, 2261, 2828, 326, 1841, 2261, 273, 261, 1841, 2261, 2828, 13, 261, 41, 2261, 18, 4243, 18, 13341, 5411, 263, 588, 41, 2261, 12, 1841, 2261, 18, 73, 3156, 67, 3098, 13, 1276, 5435, 2261, 2828, 692, 10682, 18, 4243, 18, 13341, 5411, 263, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 3164, 2261, 1208, 1435, 565, 288, 3639, 309, 261, 291, 2570, 329, 13, 5411, 327, 261, 1488, 2261, 13, 10682, 18, 4243, 18, 13341, 18, 588, 41, 2261, 12, 1488, 2261, 18, 73, 3156, 67, 3098, 1769, 3639, 368, 24850, 578, 752, 471, 1744, 2181, 3639, 3164, 2261, 2828, 326, 1488, 2261, 273, 261, 1488, 2261, 2828, 13, 261, 41, 2261, 18, 4243, 18, 13341, 18, 588, 41, 2261, 12, 73, 3156, 67, 3098, 13, 1276, 3164, 2261, 2828, 692, 10682, 18, 4243, 18, 13341, 5411, 263, 588, 41, 2261, 12, 73, 3156, 67, 3098, 13, 5411, 294, 394, 3164, 2261, 2828, 10663, 3639, 353, 2570, 329, 273, 638, 31, 3639, 368, 9190, 4143, 5030, 3639, 2 ]
public Note removeNote (Note note, int i) { return note;
public boolean removeNote(Note what) { return removeFromList(what, getNoteList(), "noteList");
public Note removeNote (Note note, int i) { return note; }
4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/87ab545376893c7eb3050f92ce9fe83e257321fb/Structure.java/clean/src/gov/nasa/gsfc/adc/xdf/Structure.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 3609, 1206, 8067, 261, 8067, 4721, 16, 509, 277, 13, 288, 565, 327, 4721, 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, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 3609, 1206, 8067, 261, 8067, 4721, 16, 509, 277, 13, 288, 565, 327, 4721, 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, -100, -100, -100 ]
writeClassParsing( modelClass, null, sc, withLoop );
writeClassParsing( modelClass, null, sc, withLoop, rootElement );
private void writeClassParsing( ModelClass modelClass, JSourceCode sc, boolean withLoop ) throws IOException { writeClassParsing( modelClass, null, sc, withLoop ); }
47828 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47828/a7a32276bb19acc09320d40078b77088bc54581e/Xpp3ReaderGenerator.java/clean/modello-xpp3-plugin/src/main/java/org/codehaus/modello/plugin/xpp3/Xpp3ReaderGenerator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1045, 797, 13963, 12, 3164, 797, 13082, 16, 804, 1830, 1085, 888, 16, 1250, 598, 6452, 262, 3639, 1216, 1860, 565, 288, 3639, 1045, 797, 13963, 12, 13082, 16, 446, 16, 888, 16, 598, 6452, 16, 27575, 11272, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1045, 797, 13963, 12, 3164, 797, 13082, 16, 804, 1830, 1085, 888, 16, 1250, 598, 6452, 262, 3639, 1216, 1860, 565, 288, 3639, 1045, 797, 13963, 12, 13082, 16, 446, 16, 888, 16, 598, 6452, 16, 27575, 11272, 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 ]
it = null;
it = ImageIO.getImageWritersByFormatName( s ); if ( !it.hasNext( ) ) { it = null; }
public void after( ) throws ChartException { super.after( ); // SEARCH FOR WRITER USING FORMAT Iterator it = null; String s = getFormat( ); if ( s != null ) { it = ImageIO.getImageWritersByFormatName( s ); if ( !it.hasNext( ) ) { it = null; // GET INTO NEXT CONSTRUCT; SEARCH BY MIME TYPE } } // SEARCH FOR WRITER USING MIME TYPE if ( it == null ) { s = getMimeType( ); if ( s == null ) { throw new ChartException( ChartDeviceExtensionPlugin.ID, ChartException.RENDERING, "exception.no.imagewriter.mimetype.and.format",//$NON-NLS-1$ new Object[]{ getMimeType( ), getFormat( ), getClass( ).getName( ) }, ResourceBundle.getBundle( Messages.DEVICE_EXTENSION, getLocale( ) ) ); } it = ImageIO.getImageWritersByMIMEType( s ); if ( !it.hasNext( ) ) { throw new ChartException( ChartDeviceExtensionPlugin.ID, ChartException.RENDERING, "exception.no.imagewriter.mimetype", //$NON-NLS-1$ new Object[]{ getMimeType( ) }, ResourceBundle.getBundle( Messages.DEVICE_EXTENSION, getLocale( ) ) ); } } final ImageWriter iw = (ImageWriter) it.next( ); logger.log( ILogger.INFORMATION, Messages.getString( "info.using.imagewriter", getLocale( ) ) //$NON-NLS-1$ + getFormat( ) + iw.getClass( ).getName( ) ); // WRITE TO SPECIFIC FILE FORMAT final Object o = ( _oOutputIdentifier instanceof String ) ? new File( (String) _oOutputIdentifier ) : _oOutputIdentifier; try { final ImageOutputStream ios = ImageIO.createImageOutputStream( o ); updateWriterParameters( iw.getDefaultWriteParam( ) ); // SET ANY // OUTPUT // FORMAT // SPECIFIC // PARAMETERS // IF NEEDED iw.setOutput( ios ); iw.write( (BufferedImage) _img ); ios.close( ); } catch ( Exception ex ) { throw new ChartException( ChartDeviceExtensionPlugin.ID, ChartException.RENDERING, ex ); } // FLUSH AND RESTORE STATE OF INTERNALLY CREATED IMAGE if ( !_bImageExternallySpecified ) { _img.flush( ); _img = null; } // ALWAYS DISPOSE THE GRAPHICS CONTEXT THAT WAS CREATED FROM THE IMAGE _g2d.dispose( ); _g2d = null; }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/3d424ffa89c3a70e3b10e39ba4c6f8be94d80c33/JavaxImageIOWriter.java/buggy/chart/org.eclipse.birt.chart.device.extension/src/org/eclipse/birt/chart/device/image/JavaxImageIOWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1839, 12, 262, 1216, 14804, 503, 202, 95, 202, 202, 9565, 18, 5205, 12, 11272, 202, 202, 759, 24053, 12108, 12984, 11844, 11836, 1360, 10449, 202, 202, 3198, 518, 273, 446, 31, 202, 202, 780, 272, 273, 10959, 12, 11272, 202, 202, 430, 261, 272, 480, 446, 262, 202, 202, 95, 1082, 202, 305, 273, 3421, 4294, 18, 588, 2040, 27508, 858, 1630, 461, 12, 272, 11272, 1082, 202, 430, 261, 401, 305, 18, 5332, 2134, 12, 262, 262, 1082, 202, 95, 9506, 202, 305, 273, 3421, 4294, 18, 588, 2040, 27508, 858, 1630, 461, 12, 272, 11272, 309, 261, 401, 305, 18, 5332, 2134, 12, 262, 262, 288, 518, 273, 446, 31, 289, 368, 4978, 12421, 19252, 3492, 13915, 31, 24053, 6953, 13195, 3463, 1082, 202, 97, 202, 202, 97, 202, 202, 759, 24053, 12108, 12984, 11844, 11836, 1360, 13195, 3463, 202, 202, 430, 261, 518, 422, 446, 262, 202, 202, 95, 1082, 202, 87, 273, 21078, 12, 11272, 1082, 202, 430, 261, 272, 422, 446, 262, 1082, 202, 95, 9506, 202, 12849, 394, 14804, 503, 12, 14804, 3654, 3625, 3773, 18, 734, 16, 25083, 202, 7984, 503, 18, 25230, 1360, 16, 25083, 202, 6, 4064, 18, 2135, 18, 15374, 359, 1091, 18, 22571, 18, 464, 18, 2139, 3113, 759, 8, 3993, 17, 5106, 17, 21, 8, 25083, 202, 2704, 1033, 63, 7073, 6862, 9506, 202, 588, 16821, 12, 262, 16, 6862, 9506, 202, 588, 1630, 12, 262, 16, 6862, 9506, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1839, 12, 262, 1216, 14804, 503, 202, 95, 202, 202, 9565, 18, 5205, 12, 11272, 202, 202, 759, 24053, 12108, 12984, 11844, 11836, 1360, 10449, 202, 202, 3198, 518, 273, 446, 31, 202, 202, 780, 272, 273, 10959, 12, 11272, 202, 202, 430, 261, 272, 480, 446, 262, 202, 202, 95, 1082, 202, 305, 273, 3421, 4294, 18, 588, 2040, 27508, 858, 1630, 461, 12, 272, 11272, 1082, 202, 430, 261, 401, 305, 18, 5332, 2134, 12, 262, 262, 1082, 202, 95, 9506, 202, 305, 273, 3421, 4294, 18, 588, 2040, 27508, 858, 1630, 461, 12, 272, 11272, 309, 261, 401, 305, 18, 5332, 2134, 12, 262, 262, 288, 518, 273, 446, 31, 289, 368, 2 ]
assertTrue("Added virtual mapping", virtualUserTable.addAddressMapping(user, domain, address)); assertTrue("Added virtual mapping", virtualUserTable.addAddressMapping(user, domain, address2));
assertTrue("Added virtual mapping", addMapping(user, domain, address, ADDRESS_TYPE)); assertTrue("Added virtual mapping", addMapping(user, domain, address2, ADDRESS_TYPE));
public void testStoreAndRetrieveAddressMapping() throws ErrorMappingException { String user = "test"; String domain = "localhost"; String address = "test@localhost2"; String address2 = "test@james"; String invalidAddress= ".*@localhost2:"; boolean catched = false; try { assertNull("No mapping",virtualUserTable.getMappings(user, domain)); assertTrue("Added virtual mapping", virtualUserTable.addAddressMapping(user, domain, address)); assertTrue("Added virtual mapping", virtualUserTable.addAddressMapping(user, domain, address2)); assertEquals("Two mappings",virtualUserTable.getMappings(user, domain).size(),2); assertEquals("One mappingline",virtualUserTable.getAllMappings().size(),1); assertTrue("remove virtual mapping", virtualUserTable.removeAddressMapping(user, domain, address)); try { assertTrue("Added virtual mapping", virtualUserTable.addAddressMapping(user, domain, invalidAddress)); } catch (InvalidMappingException e) { catched = true; } assertTrue("Invalid Mapping throw exception" , catched); assertTrue("remove virtual mapping", virtualUserTable.removeAddressMapping(user, domain, address2)); assertNull("No mapping",virtualUserTable.getMappings(user, domain)); assertNull("No mappings",virtualUserTable.getAllMappings()); } catch (InvalidMappingException e) { fail("Storing failed"); } }
47102 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47102/c1f4fc1beb398791fc99fd5b296c43dccc749aca/AbstractVirtualUserTableTest.java/clean/src/test/org/apache/james/vut/AbstractVirtualUserTableTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2257, 1876, 5767, 1887, 3233, 1435, 1216, 1068, 3233, 503, 288, 5411, 514, 729, 273, 315, 3813, 14432, 3639, 514, 2461, 273, 315, 13014, 14432, 3639, 514, 1758, 273, 315, 3813, 36, 13014, 22, 14432, 3639, 514, 1758, 22, 273, 315, 3813, 36, 78, 753, 14432, 3639, 514, 2057, 1887, 33, 3552, 14, 36, 13014, 22, 2773, 31, 3639, 1250, 1044, 329, 273, 629, 31, 3639, 775, 288, 10792, 1815, 2041, 2932, 2279, 2874, 3113, 12384, 1299, 1388, 18, 588, 7742, 12, 1355, 16, 2461, 10019, 10792, 1815, 5510, 2932, 8602, 5024, 2874, 3113, 5024, 1299, 1388, 18, 1289, 1887, 3233, 12, 1355, 16, 2461, 16, 1758, 10019, 5411, 1815, 5510, 2932, 8602, 5024, 2874, 3113, 5024, 1299, 1388, 18, 1289, 1887, 3233, 12, 1355, 16, 2461, 16, 1758, 22, 10019, 5411, 1815, 8867, 2932, 11710, 7990, 3113, 12384, 1299, 1388, 18, 588, 7742, 12, 1355, 16, 2461, 2934, 1467, 9334, 22, 1769, 5411, 1815, 8867, 2932, 3335, 2874, 1369, 3113, 12384, 1299, 1388, 18, 588, 1595, 7742, 7675, 1467, 9334, 21, 1769, 10792, 1815, 5510, 2932, 4479, 5024, 2874, 3113, 5024, 1299, 1388, 18, 4479, 1887, 3233, 12, 1355, 16, 2461, 16, 1758, 10019, 10792, 775, 288, 7734, 1815, 5510, 2932, 8602, 5024, 2874, 3113, 5024, 1299, 1388, 18, 1289, 1887, 3233, 12, 1355, 16, 2461, 16, 2057, 1887, 10019, 5411, 289, 1044, 261, 1941, 3233, 503, 425, 13, 288, 7734, 1044, 329, 273, 638, 31, 5411, 289, 5411, 1815, 5510, 2932, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2257, 1876, 5767, 1887, 3233, 1435, 1216, 1068, 3233, 503, 288, 5411, 514, 729, 273, 315, 3813, 14432, 3639, 514, 2461, 273, 315, 13014, 14432, 3639, 514, 1758, 273, 315, 3813, 36, 13014, 22, 14432, 3639, 514, 1758, 22, 273, 315, 3813, 36, 78, 753, 14432, 3639, 514, 2057, 1887, 33, 3552, 14, 36, 13014, 22, 2773, 31, 3639, 1250, 1044, 329, 273, 629, 31, 3639, 775, 288, 10792, 1815, 2041, 2932, 2279, 2874, 3113, 12384, 1299, 1388, 18, 588, 7742, 12, 1355, 16, 2461, 10019, 10792, 1815, 5510, 2932, 8602, 5024, 2874, 3113, 5024, 1299, 1388, 18, 1289, 1887, 3233, 12, 1355, 16, 2461, 16, 1758, 10019, 5411, 1815, 5510, 2932, 8602, 5024, 2874, 2 ]
sb.append(weeks).append("w");
sb.append(weeks).append('w');
public static String formatTime(long timeInterval, int maxTerms, boolean withSecondFractions) { StringBuffer sb = new StringBuffer(64); long l = timeInterval; int termCount = 0; // int weeks = (int)(l / ((long)7*24*60*60*1000)); if (weeks > 0) { sb.append(weeks).append("w"); termCount++; l = l - ((long)weeks * ((long)7*24*60*60*1000)); } // int days = (int)(l / ((long)24*60*60*1000)); if (days > 0) { sb.append(days).append("d"); termCount++; l = l - ((long)days * ((long)24*60*60*1000)); } if(termCount >= maxTerms) { return sb.toString(); } // int hours = (int)(l / ((long)60*60*1000)); if (hours > 0) { sb.append(hours).append("h"); termCount++; l = l - ((long)hours * ((long)60*60*1000)); } if(termCount >= maxTerms) { return sb.toString(); } // int minutes = (int)(l / ((long)60*1000)); if (minutes > 0) { sb.append(minutes).append("m"); termCount++; l = l - ((long)minutes * ((long)60*1000)); } if(termCount >= maxTerms) { return sb.toString(); } if(withSecondFractions && ((maxTerms - termCount) >= 2)) { if (l > 0) { double fractionalSeconds = ((double) l) / ((double) 1000.0); DecimalFormat fix3 = new DecimalFormat("0.000"); sb.append(fix3.format(fractionalSeconds)).append("s"); termCount++; l = l - ((long)fractionalSeconds * (long)1000); } } else { int seconds = (int)(l / (long)1000); if (seconds > 0) { sb.append(seconds).append("s"); termCount++; l = l - ((long)seconds * (long)1000); } } // return sb.toString(); }
51834 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51834/62fd59041864b4ed1f43adc676de6bfb5ea977f3/TimeUtil.java/buggy/src/freenet/support/TimeUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 514, 740, 950, 12, 5748, 813, 4006, 16, 509, 943, 11673, 16, 1250, 598, 8211, 13724, 87, 13, 288, 202, 202, 780, 1892, 2393, 273, 394, 6674, 12, 1105, 1769, 202, 202, 5748, 328, 273, 813, 4006, 31, 202, 202, 474, 2481, 1380, 273, 374, 31, 202, 202, 759, 202, 202, 474, 17314, 273, 261, 474, 21433, 80, 342, 14015, 5748, 13, 27, 14, 3247, 14, 4848, 14, 4848, 14, 18088, 10019, 202, 202, 430, 261, 10741, 87, 405, 374, 13, 288, 5411, 2393, 18, 6923, 12, 10741, 87, 2934, 6923, 2932, 91, 8863, 1082, 225, 2481, 1380, 9904, 31, 1082, 225, 328, 273, 328, 300, 14015, 5748, 13, 10741, 87, 380, 14015, 5748, 13, 27, 14, 3247, 14, 4848, 14, 4848, 14, 18088, 10019, 202, 202, 97, 202, 202, 759, 202, 202, 474, 4681, 273, 261, 474, 21433, 80, 342, 14015, 5748, 13, 3247, 14, 4848, 14, 4848, 14, 18088, 10019, 202, 202, 430, 261, 9810, 405, 374, 13, 288, 5411, 2393, 18, 6923, 12, 9810, 2934, 6923, 2932, 72, 8863, 1082, 225, 2481, 1380, 9904, 31, 1082, 225, 328, 273, 328, 300, 14015, 5748, 13, 9810, 380, 14015, 5748, 13, 3247, 14, 4848, 14, 4848, 14, 18088, 10019, 202, 202, 97, 202, 202, 430, 12, 6408, 1380, 1545, 943, 11673, 13, 288, 1082, 225, 327, 2393, 18, 10492, 5621, 202, 202, 97, 202, 202, 759, 202, 202, 474, 7507, 273, 261, 474, 21433, 80, 342, 14015, 5748, 13, 4848, 14, 4848, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 514, 740, 950, 12, 5748, 813, 4006, 16, 509, 943, 11673, 16, 1250, 598, 8211, 13724, 87, 13, 288, 202, 202, 780, 1892, 2393, 273, 394, 6674, 12, 1105, 1769, 202, 202, 5748, 328, 273, 813, 4006, 31, 202, 202, 474, 2481, 1380, 273, 374, 31, 202, 202, 759, 202, 202, 474, 17314, 273, 261, 474, 21433, 80, 342, 14015, 5748, 13, 27, 14, 3247, 14, 4848, 14, 4848, 14, 18088, 10019, 202, 202, 430, 261, 10741, 87, 405, 374, 13, 288, 5411, 2393, 18, 6923, 12, 10741, 87, 2934, 6923, 2932, 91, 8863, 1082, 225, 2481, 1380, 9904, 31, 1082, 225, 328, 273, 328, 300, 14015, 5748, 13, 10741, 87, 380, 14015, 5748, 13, 2 ]
list.add( elementHandle.getQualifiedName() );
list.add( elementHandle.getQualifiedName( ) );
public static String[] getMasterPages( ) { ArrayList list = new ArrayList( ); list.add( CHOICE_NONE ); ModuleHandle handle = SessionHandleAdapter.getInstance( ) .getReportDesignHandle( ); SlotHandle pages = handle.getMasterPages( ); if ( pages != null ) { Iterator iterator = pages.iterator( ); while ( iterator.hasNext( ) ) { ReportElementHandle elementHandle = (ReportElementHandle) iterator.next( ); list.add( elementHandle.getQualifiedName() ); } } return (String[]) list.toArray( new String[0] ); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/ffcf46debba8195e55922f5b3aab22c4b6aab07b/ChoiceSetFactory.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/views/attributes/providers/ChoiceSetFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 514, 8526, 27607, 5716, 12, 262, 202, 95, 202, 202, 19558, 666, 273, 394, 2407, 12, 11272, 202, 202, 1098, 18, 1289, 12, 6469, 51, 11774, 67, 9826, 11272, 202, 202, 3120, 3259, 1640, 273, 3877, 3259, 4216, 18, 588, 1442, 12, 262, 9506, 202, 18, 588, 4820, 15478, 3259, 12, 11272, 202, 202, 8764, 3259, 4689, 273, 1640, 18, 588, 7786, 5716, 12, 11272, 202, 202, 430, 261, 4689, 480, 446, 262, 202, 202, 95, 1082, 202, 3198, 2775, 273, 4689, 18, 9838, 12, 11272, 1082, 202, 17523, 261, 2775, 18, 5332, 2134, 12, 262, 262, 1082, 202, 95, 9506, 202, 4820, 1046, 3259, 930, 3259, 273, 261, 4820, 1046, 3259, 13, 2775, 18, 4285, 12, 11272, 9506, 202, 1098, 18, 1289, 12, 930, 3259, 18, 588, 12345, 1435, 11272, 1082, 202, 97, 202, 202, 97, 202, 202, 2463, 261, 780, 63, 5717, 666, 18, 31447, 12, 394, 514, 63, 20, 65, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 514, 8526, 27607, 5716, 12, 262, 202, 95, 202, 202, 19558, 666, 273, 394, 2407, 12, 11272, 202, 202, 1098, 18, 1289, 12, 6469, 51, 11774, 67, 9826, 11272, 202, 202, 3120, 3259, 1640, 273, 3877, 3259, 4216, 18, 588, 1442, 12, 262, 9506, 202, 18, 588, 4820, 15478, 3259, 12, 11272, 202, 202, 8764, 3259, 4689, 273, 1640, 18, 588, 7786, 5716, 12, 11272, 202, 202, 430, 261, 4689, 480, 446, 262, 202, 202, 95, 1082, 202, 3198, 2775, 273, 4689, 18, 9838, 12, 11272, 1082, 202, 17523, 261, 2775, 18, 5332, 2134, 12, 262, 262, 1082, 202, 95, 9506, 202, 4820, 1046, 3259, 930, 3259, 273, 261, 4820, 1046, 3259, 13, 2775, 18, 2 ]