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
return new ViewConfig( isPlainView(), splitConfig.toString(), getX(), getY(), getWidth(), getHeight(), GUIUtilities.getExtendedState(this) );
ViewConfig config = new ViewConfig(); config.plainView = isPlainView(); config.splitConfig = splitConfig.toString(); config.x = getX(); config.y = getY(); config.width = getWidth(); config.height = getHeight(); config.extState = GUIUtilities.getExtendedState(this); config.top = dockableWindowManager.getTopDockingArea().getCurrent(); config.left = dockableWindowManager.getLeftDockingArea().getCurrent(); config.bottom = dockableWindowManager.getBottomDockingArea().getCurrent(); config.right = dockableWindowManager.getRightDockingArea().getCurrent(); config.topPos = dockableWindowManager.getTopDockingArea().getDimension(); config.leftPos = dockableWindowManager.getLeftDockingArea().getDimension(); config.bottomPos = dockableWindowManager.getBottomDockingArea().getDimension(); config.rightPos = dockableWindowManager.getRightDockingArea().getDimension(); return config;
public ViewConfig getViewConfig() { StringBuffer splitConfig = new StringBuffer(); if(splitPane != null) getSplitConfig(splitPane,splitConfig); else { splitConfig.append(getBuffer().getIndex()); splitConfig.append(" buffer"); } return new ViewConfig( isPlainView(), splitConfig.toString(), getX(), getY(), getWidth(), getHeight(), GUIUtilities.getExtendedState(this) ); } //}}}
6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/2510b6194362251bb1ab1e1468c834b198fc4e91/View.java/clean/org/gjt/sp/jedit/View.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4441, 809, 8893, 809, 1435, 202, 95, 202, 202, 780, 1892, 1416, 809, 273, 394, 6674, 5621, 202, 202, 430, 12, 4939, 8485, 480, 446, 13, 1082, 202, 588, 5521, 809, 12, 4939, 8485, 16, 4939, 809, 1769, 202, 202, 12107, 202, 202, 95, 1082, 202, 4939, 809, 18, 6923, 12, 588, 1892, 7675, 588, 1016, 10663, 1082, 202, 4939, 809, 18, 6923, 2932, 1613, 8863, 202, 202, 97, 202, 202, 2463, 394, 4441, 809, 12, 1082, 202, 291, 13360, 1767, 9334, 1082, 202, 4939, 809, 18, 10492, 9334, 1082, 202, 588, 60, 9334, 1082, 202, 588, 61, 9334, 1082, 202, 588, 2384, 9334, 1082, 202, 588, 2686, 9334, 1082, 202, 43, 5370, 11864, 18, 588, 11456, 1119, 12, 2211, 13, 202, 202, 1769, 202, 97, 368, 9090, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4441, 809, 8893, 809, 1435, 202, 95, 202, 202, 780, 1892, 1416, 809, 273, 394, 6674, 5621, 202, 202, 430, 12, 4939, 8485, 480, 446, 13, 1082, 202, 588, 5521, 809, 12, 4939, 8485, 16, 4939, 809, 1769, 202, 202, 12107, 202, 202, 95, 1082, 202, 4939, 809, 18, 6923, 12, 588, 1892, 7675, 588, 1016, 10663, 1082, 202, 4939, 809, 18, 6923, 2932, 1613, 8863, 202, 202, 97, 202, 202, 2463, 394, 4441, 809, 12, 1082, 202, 291, 13360, 1767, 9334, 1082, 202, 4939, 809, 18, 10492, 9334, 1082, 202, 588, 60, 9334, 1082, 202, 588, 61, 9334, 1082, 202, 588, 2384, 9334, 1082, 202, 588, 2686, 9334, 1082, 202, 43, 5370, 11864, 18, 588, 2 ]
members = GrouperBackend.listVals(s, g, (String) privMap.get(priv));
Iterator iter = GrouperBackend.listVals( s, g, (String) privMap.get(priv) ).iterator(); while (iter.hasNext()) { GrouperList gl = (GrouperList) iter.next(); GrouperMember m = gl.member(); if (m != null) { members.add(m); } }
public List whoHas(GrouperSession s, GrouperGroup g, String priv) { GrouperAccessImpl._init(); List members = new ArrayList(); if (this.can(priv) == true) { members = GrouperBackend.listVals(s, g, (String) privMap.get(priv)); } // TODO Exception if invalid priv? return members; }
5235 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5235/1f9f018cf76947c9d2c52e0dde7dd16755a0c2fc/GrouperAccessImpl.java/clean/grouper/java/src/edu/internet2/middleware/grouper/GrouperAccessImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 987, 10354, 5582, 12, 1114, 264, 2157, 272, 16, 3756, 264, 1114, 314, 16, 514, 6015, 13, 288, 565, 3756, 264, 1862, 2828, 6315, 2738, 5621, 565, 987, 4833, 273, 394, 2407, 5621, 565, 309, 261, 2211, 18, 4169, 12, 11365, 13, 422, 638, 13, 288, 1377, 4498, 1400, 273, 3756, 264, 7172, 18, 1098, 13169, 12, 272, 16, 314, 16, 261, 780, 13, 6015, 863, 18, 588, 12, 11365, 13, 262, 18, 9838, 5621, 1323, 261, 2165, 18, 5332, 2134, 10756, 288, 3756, 264, 682, 282, 5118, 225, 273, 261, 1114, 264, 682, 13, 1400, 18, 4285, 5621, 3756, 264, 4419, 312, 282, 273, 5118, 18, 5990, 5621, 309, 261, 81, 480, 446, 13, 288, 4833, 18, 1289, 12, 81, 1769, 289, 289, 565, 289, 368, 2660, 1185, 309, 2057, 6015, 35, 565, 327, 4833, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 987, 10354, 5582, 12, 1114, 264, 2157, 272, 16, 3756, 264, 1114, 314, 16, 514, 6015, 13, 288, 565, 3756, 264, 1862, 2828, 6315, 2738, 5621, 565, 987, 4833, 273, 394, 2407, 5621, 565, 309, 261, 2211, 18, 4169, 12, 11365, 13, 422, 638, 13, 288, 1377, 4498, 1400, 273, 3756, 264, 7172, 18, 1098, 13169, 12, 272, 16, 314, 16, 261, 780, 13, 6015, 863, 18, 588, 12, 11365, 13, 262, 18, 9838, 5621, 1323, 261, 2165, 18, 5332, 2134, 10756, 288, 3756, 264, 682, 282, 5118, 225, 273, 261, 1114, 264, 682, 13, 1400, 18, 4285, 5621, 3756, 264, 4419, 312, 282, 273, 5118, 18, 5990, 5621, 309, 261, 81, 480, 446, 13, 288, 4833, 2 ]
g.setColor(bg.brighter());
g.setColor(bg.brighter());
protected void paintText(Graphics g, int tabPlacement, Font font, FontMetrics metrics, int tabIndex, String title, Rectangle textRect, boolean isSelected) { View textView = getTextViewForTab(tabIndex); if (textView != null) { textView.paint(g, textRect); return; } Color fg = tabPane.getForegroundAt(tabIndex); if (fg == null) fg = tabPane.getForeground(); Color bg = tabPane.getBackgroundAt(tabIndex); if (bg == null) bg = tabPane.getBackground(); Color saved_color = g.getColor(); Font f = g.getFont(); g.setFont(font); if (tabPane.isEnabledAt(tabIndex)) { g.setColor(fg); int mnemIndex = tabPane.getDisplayedMnemonicIndexAt(tabIndex); if (mnemIndex != -1) BasicGraphicsUtils.drawStringUnderlineCharAt(g, title, mnemIndex, textRect.x, textRect.y + metrics.getAscent()); else g.drawString(title, textRect.x, textRect.y + metrics.getAscent()); } else { g.setColor(bg.brighter()); int mnemIndex = tabPane.getDisplayedMnemonicIndexAt(tabIndex); if (mnemIndex != -1) BasicGraphicsUtils.drawStringUnderlineCharAt(g, title, mnemIndex, textRect.x, textRect.y); else g.drawString(title, textRect.x, textRect.y); g.setColor(bg.darker()); if (mnemIndex != -1) BasicGraphicsUtils.drawStringUnderlineCharAt(g, title, mnemIndex, textRect.x + 1, textRect.y + 1); else g.drawString(title, textRect.x + 1, textRect.y + 1); } g.setColor(saved_color); g.setFont(f); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTabbedPaneUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTabbedPaneUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 12574, 1528, 12, 17558, 314, 16, 509, 3246, 12420, 16, 10063, 3512, 16, 21821, 10063, 5653, 4309, 16, 509, 3246, 1016, 16, 514, 2077, 16, 21821, 13264, 977, 6120, 16, 1250, 20956, 13, 225, 288, 565, 4441, 977, 1767, 273, 6701, 1767, 1290, 5661, 12, 7032, 1016, 1769, 565, 309, 261, 955, 1767, 480, 446, 13, 1377, 288, 202, 955, 1767, 18, 84, 1598, 12, 75, 16, 977, 6120, 1769, 202, 2463, 31, 1377, 289, 565, 5563, 10186, 273, 3246, 8485, 18, 588, 23206, 861, 12, 7032, 1016, 1769, 565, 309, 261, 2137, 422, 446, 13, 1377, 10186, 273, 3246, 8485, 18, 588, 23206, 5621, 565, 5563, 7611, 273, 3246, 8485, 18, 588, 8199, 861, 12, 7032, 1016, 1769, 565, 309, 261, 12370, 422, 446, 13, 1377, 7611, 273, 3246, 8485, 18, 588, 8199, 5621, 565, 5563, 5198, 67, 3266, 273, 314, 18, 588, 2957, 5621, 565, 10063, 284, 273, 314, 18, 588, 5711, 5621, 565, 314, 18, 542, 5711, 12, 5776, 1769, 565, 309, 261, 7032, 8485, 18, 291, 1526, 861, 12, 7032, 1016, 3719, 1377, 288, 202, 75, 18, 542, 2957, 12, 2137, 1769, 202, 474, 12883, 351, 1016, 273, 3246, 8485, 18, 588, 4236, 329, 29668, 20918, 1016, 861, 12, 7032, 1016, 1769, 202, 430, 261, 13607, 351, 1016, 480, 300, 21, 13, 202, 225, 7651, 17558, 1989, 18, 9446, 780, 14655, 1369, 2156, 861, 12, 75, 16, 2077, 16, 12883, 351, 1016, 16, 202, 4766, 9079, 977, 6120, 18, 92, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 12574, 1528, 12, 17558, 314, 16, 509, 3246, 12420, 16, 10063, 3512, 16, 21821, 10063, 5653, 4309, 16, 509, 3246, 1016, 16, 514, 2077, 16, 21821, 13264, 977, 6120, 16, 1250, 20956, 13, 225, 288, 565, 4441, 977, 1767, 273, 6701, 1767, 1290, 5661, 12, 7032, 1016, 1769, 565, 309, 261, 955, 1767, 480, 446, 13, 1377, 288, 202, 955, 1767, 18, 84, 1598, 12, 75, 16, 977, 6120, 1769, 202, 2463, 31, 1377, 289, 565, 5563, 10186, 273, 3246, 8485, 18, 588, 23206, 861, 12, 7032, 1016, 1769, 565, 309, 261, 2137, 422, 446, 13, 1377, 10186, 273, 3246, 8485, 18, 588, 23206, 5621, 565, 5563, 7611, 273, 3246, 8485, 18, 588, 8199, 861, 12, 2 ]
try { s = (String) listOfFiles.pop(); } catch( NoSuchElementException ex ){ ; }
s = (String) listOfFiles.pop();
public String getlistFiles(){ String s = null; try { s = (String) listOfFiles.pop(); } catch( NoSuchElementException ex ){ ; } return s; }
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/d7a18c22934bb86c46d28192ad80aaf93b84a06f/Arguments.java/clean/samples/util/Arguments.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 336, 1098, 2697, 1435, 95, 3639, 514, 565, 272, 273, 446, 31, 3639, 775, 288, 1850, 272, 273, 261, 780, 13, 24692, 2697, 18, 5120, 5621, 540, 289, 1044, 12, 23104, 431, 262, 95, 5411, 274, 3639, 289, 3639, 327, 272, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 336, 1098, 2697, 1435, 95, 3639, 514, 565, 272, 273, 446, 31, 3639, 775, 288, 1850, 272, 273, 261, 780, 13, 24692, 2697, 18, 5120, 5621, 540, 289, 1044, 12, 23104, 431, 262, 95, 5411, 274, 3639, 289, 3639, 327, 272, 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 ]
public static boolean isFixed(Context c, Box box) { if (getPosition(c, box).equals("fixed")) {
public static boolean isFixed(CalculatedStyle style) { if (getPosition(style).equals("fixed")) {
public static boolean isFixed(Context c, Box box) { if (getPosition(c, box).equals("fixed")) { return true; } return false; }
52947 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52947/bbe26e114cd1f823901a5ca3d63b5fccfdfedf81/LayoutUtil.java/buggy/src/java/org/xhtmlrenderer/layout/LayoutUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1250, 353, 7505, 12, 1042, 276, 16, 8549, 3919, 13, 288, 3639, 309, 261, 588, 2555, 12, 71, 16, 3919, 2934, 14963, 2932, 12429, 6, 3719, 288, 5411, 327, 638, 31, 3639, 289, 3639, 327, 629, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1250, 353, 7505, 12, 1042, 276, 16, 8549, 3919, 13, 288, 3639, 309, 261, 588, 2555, 12, 71, 16, 3919, 2934, 14963, 2932, 12429, 6, 3719, 288, 5411, 327, 638, 31, 3639, 289, 3639, 327, 629, 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 ]
astore(scriptResultLocal);
cfw.addAStore(scriptResultLocal);
private void generateCodeFromNode(Node node, Node parent) { // System.out.println("gen code for " + node.toString()); int type = node.getType(); Node child = node.getFirstChild(); switch (type) { case Token.LOOP: case Token.WITH: case Token.LABEL: visitStatement(node); while (child != null) { generateCodeFromNode(child, node); child = child.getNext(); } break; case Token.CASE: case Token.DEFAULT: // XXX shouldn't these be StatementNodes? case Token.SCRIPT: case Token.BLOCK: case Token.EMPTY: case Token.NOP: // no-ops. visitStatement(node); while (child != null) { generateCodeFromNode(child, node); child = child.getNext(); } break; case Token.FUNCTION: if (inFunction || parent.getType() != Token.SCRIPT) { int fnIndex = node.getExistingIntProp(Node.FUNCTION_PROP); OptFunctionNode fn; fn = (OptFunctionNode)scriptOrFn.getFunctionNode(fnIndex); int t = fn.getFunctionType(); if (t != FunctionNode.FUNCTION_STATEMENT) { visitFunction(fn, t); } } break; case Token.NAME: visitName(node); break; case Token.NEW: case Token.CALL: visitCall(node, type, child); break; case Token.NUMBER: case Token.STRING: visitLiteral(node); break; case Token.THIS: aload(thisObjLocal); break; case Token.THISFN: classFile.add(ByteCode.ALOAD_0); break; case Token.NULL: addByteCode(ByteCode.ACONST_NULL); break; case Token.TRUE: classFile.add(ByteCode.GETSTATIC, "java/lang/Boolean", "TRUE", "Ljava/lang/Boolean;"); break; case Token.FALSE: classFile.add(ByteCode.GETSTATIC, "java/lang/Boolean", "FALSE", "Ljava/lang/Boolean;"); break; case Token.UNDEFINED: pushUndefined(); break; case Token.REGEXP: visitObject(node); break; case Token.TRY: visitTryCatchFinally(node, child); break; case Token.THROW: visitThrow(node, child); break; case Token.RETURN: visitReturn(node, child); break; case Token.SWITCH: visitSwitch(node, child); break; case Token.COMMA: { Node next = child.getNext(); while (next != null) { generateCodeFromNode(child, node); addByteCode(ByteCode.POP); child = next; next = next.getNext(); } generateCodeFromNode(child, node); break; } case Token.NEWSCOPE: addScriptRuntimeInvoke("newScope", "()Lorg/mozilla/javascript/Scriptable;"); break; case Token.ENTERWITH: visitEnterWith(node, child); break; case Token.LEAVEWITH: visitLeaveWith(node, child); break; case Token.ENUMINIT: visitEnumInit(node, child); break; case Token.ENUMNEXT: visitEnumNext(node, child); break; case Token.ENUMDONE: visitEnumDone(node, child); break; case Token.POP: visitStatement(node); if (child.getType() == Token.SETVAR) { /* special case this so as to avoid unnecessary load's & pop's */ visitSetVar(child, child.getFirstChild(), false); } else { while (child != null) { generateCodeFromNode(child, node); child = child.getNext(); } if (node.getIntProp(Node.ISNUMBER_PROP, -1) != -1) addByteCode(ByteCode.POP2); else addByteCode(ByteCode.POP); } break; case Token.POPV: visitStatement(node); while (child != null) { generateCodeFromNode(child, node); child = child.getNext(); } astore(scriptResultLocal); break; case Token.TARGET: visitTarget(node); break; case Token.JSR: case Token.GOTO: case Token.IFEQ: case Token.IFNE: visitGOTO(node, type, child); break; case Token.NOT: { int trueTarget = acquireLabel(); int falseTarget = acquireLabel(); int beyond = acquireLabel(); generateIfJump(child, node, trueTarget, falseTarget); markLabel(trueTarget); classFile.add(ByteCode.GETSTATIC, "java/lang/Boolean", "FALSE", "Ljava/lang/Boolean;"); addByteCode(ByteCode.GOTO, beyond); markLabel(falseTarget); classFile.add(ByteCode.GETSTATIC, "java/lang/Boolean", "TRUE", "Ljava/lang/Boolean;"); markLabel(beyond); classFile.adjustStackTop(-1); break; } case Token.BITNOT: addByteCode(ByteCode.NEW, "java/lang/Double"); addByteCode(ByteCode.DUP); generateCodeFromNode(child, node); addScriptRuntimeInvoke("toInt32", "(Ljava/lang/Object;)I"); push(-1); // implement ~a as (a ^ -1) addByteCode(ByteCode.IXOR); addByteCode(ByteCode.I2D); addDoubleConstructor(); break; case Token.VOID: generateCodeFromNode(child, node); addByteCode(ByteCode.POP); pushUndefined(); break; case Token.TYPEOF: generateCodeFromNode(child, node); addScriptRuntimeInvoke("typeof", "(Ljava/lang/Object;" +")Ljava/lang/String;"); break; case Token.TYPEOFNAME: visitTypeofname(node); break; case Token.INC: visitIncDec(node, true); break; case Token.DEC: visitIncDec(node, false); break; case Token.OR: case Token.AND: { generateCodeFromNode(child, node); addByteCode(ByteCode.DUP); addScriptRuntimeInvoke("toBoolean", "(Ljava/lang/Object;)Z"); int falseTarget = acquireLabel(); if (type == Token.AND) addByteCode(ByteCode.IFEQ, falseTarget); else addByteCode(ByteCode.IFNE, falseTarget); addByteCode(ByteCode.POP); generateCodeFromNode(child.getNext(), node); markLabel(falseTarget); } break; case Token.ADD: { generateCodeFromNode(child, node); generateCodeFromNode(child.getNext(), node); switch (node.getIntProp(Node.ISNUMBER_PROP, -1)) { case Node.BOTH: addByteCode(ByteCode.DADD); break; case Node.LEFT: addOptRuntimeInvoke("add", "(DLjava/lang/Object;)Ljava/lang/Object;"); break; case Node.RIGHT: addOptRuntimeInvoke("add", "(Ljava/lang/Object;D)Ljava/lang/Object;"); break; default: addScriptRuntimeInvoke("add", "(Ljava/lang/Object;" +"Ljava/lang/Object;" +")Ljava/lang/Object;"); } } break; case Token.MUL: visitArithmetic(node, ByteCode.DMUL, child, parent); break; case Token.SUB: visitArithmetic(node, ByteCode.DSUB, child, parent); break; case Token.DIV: case Token.MOD: visitArithmetic(node, type == Token.DIV ? ByteCode.DDIV : ByteCode.DREM, child, parent); break; case Token.BITOR: case Token.BITXOR: case Token.BITAND: case Token.LSH: case Token.RSH: case Token.URSH: visitBitOp(node, type, child); break; case Token.POS: case Token.NEG: addByteCode(ByteCode.NEW, "java/lang/Double"); addByteCode(ByteCode.DUP); generateCodeFromNode(child, node); addScriptRuntimeInvoke("toNumber", "(Ljava/lang/Object;)D"); if (type == Token.NEG) { addByteCode(ByteCode.DNEG); } addDoubleConstructor(); break; case Optimizer.TO_DOUBLE: // cnvt to double (not Double) generateCodeFromNode(child, node); addScriptRuntimeInvoke("toNumber", "(Ljava/lang/Object;)D"); break; case Optimizer.TO_OBJECT: { // convert from double int prop = -1; if (child.getType() == Token.NUMBER) { prop = child.getIntProp(Node.ISNUMBER_PROP, -1); } if (prop != -1) { child.removeProp(Node.ISNUMBER_PROP); generateCodeFromNode(child, node); child.putIntProp(Node.ISNUMBER_PROP, prop); } else { addByteCode(ByteCode.NEW, "java/lang/Double"); addByteCode(ByteCode.DUP); generateCodeFromNode(child, node); addDoubleConstructor(); } break; } case Token.IN: case Token.INSTANCEOF: case Token.LE: case Token.LT: case Token.GE: case Token.GT: // need a result Object visitRelOp(node, child); break; case Token.EQ: case Token.NE: case Token.SHEQ: case Token.SHNE: visitEqOp(node, child); break; case Token.GETPROP: visitGetProp(node, child); break; case Token.GETELEM: while (child != null) { generateCodeFromNode(child, node); child = child.getNext(); } aload(variableObjectLocal); if (node.getIntProp(Node.ISNUMBER_PROP, -1) != -1) { addOptRuntimeInvoke( "getElem", "(Ljava/lang/Object;D" +"Lorg/mozilla/javascript/Scriptable;" +")Ljava/lang/Object;"); } else { addScriptRuntimeInvoke( "getElem", "(Ljava/lang/Object;" +"Ljava/lang/Object;" +"Lorg/mozilla/javascript/Scriptable;" +")Ljava/lang/Object;"); } break; case Token.GETVAR: { OptLocalVariable lVar = (OptLocalVariable)(node.getProp(Node.VARIABLE_PROP)); visitGetVar(lVar, node.getIntProp(Node.ISNUMBER_PROP, -1) != -1, node.getString()); } break; case Token.SETVAR: visitSetVar(node, child, true); break; case Token.SETNAME: visitSetName(node, child); break; case Token.SETPROP: visitSetProp(node, child); break; case Token.SETELEM: while (child != null) { generateCodeFromNode(child, node); child = child.getNext(); } aload(variableObjectLocal); if (node.getIntProp(Node.ISNUMBER_PROP, -1) != -1) { addOptRuntimeInvoke( "setElem", "(Ljava/lang/Object;" +"D" +"Ljava/lang/Object;" +"Lorg/mozilla/javascript/Scriptable;" +")Ljava/lang/Object;"); } else { addScriptRuntimeInvoke( "setElem", "(Ljava/lang/Object;" +"Ljava/lang/Object;" +"Ljava/lang/Object;" +"Lorg/mozilla/javascript/Scriptable;" +")Ljava/lang/Object;"); } break; case Token.DELPROP: aload(contextLocal); aload(variableObjectLocal); while (child != null) { generateCodeFromNode(child, node); child = child.getNext(); } addScriptRuntimeInvoke("delete", "(Lorg/mozilla/javascript/Context;" +"Lorg/mozilla/javascript/Scriptable;" +"Ljava/lang/Object;" +"Ljava/lang/Object;" +")Ljava/lang/Object;"); break; case Token.BINDNAME: case Token.GETBASE: visitBind(node, type, child); break; case Token.GETTHIS: generateCodeFromNode(child, node); addScriptRuntimeInvoke("getThis", "(Lorg/mozilla/javascript/Scriptable;" +")Lorg/mozilla/javascript/Scriptable;"); break; case Token.PARENT: generateCodeFromNode(child, node); addScriptRuntimeInvoke("getParent", "(Ljava/lang/Object;" +")Lorg/mozilla/javascript/Scriptable;"); break; case Token.NEWTEMP: visitNewTemp(node, child); break; case Token.USETEMP: visitUseTemp(node, child); break; case Token.NEWLOCAL: visitNewLocal(node, child); break; case Token.USELOCAL: visitUseLocal(node, child); break; default: throw new RuntimeException("Unexpected node type "+type); } }
12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/f4ef5c00b7c63e8fce3655104f541db47ac22d49/Codegen.java/buggy/js/rhino/src/org/mozilla/javascript/optimizer/Codegen.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2103, 1085, 28570, 12, 907, 756, 16, 2029, 982, 13, 565, 288, 3639, 368, 2332, 18, 659, 18, 8222, 2932, 4507, 981, 364, 315, 397, 756, 18, 10492, 10663, 3639, 509, 618, 273, 756, 18, 588, 559, 5621, 3639, 2029, 1151, 273, 756, 18, 588, 3759, 1763, 5621, 3639, 1620, 261, 723, 13, 288, 2868, 648, 3155, 18, 28677, 30, 2868, 648, 3155, 18, 9147, 30, 2868, 648, 3155, 18, 13545, 30, 7734, 3757, 3406, 12, 2159, 1769, 7734, 1323, 261, 3624, 480, 446, 13, 288, 10792, 2103, 1085, 28570, 12, 3624, 16, 756, 1769, 10792, 1151, 273, 1151, 18, 588, 2134, 5621, 7734, 289, 7734, 898, 31, 2868, 648, 3155, 18, 13415, 30, 2868, 648, 3155, 18, 5280, 30, 7734, 368, 11329, 12044, 1404, 4259, 506, 8056, 3205, 35, 2868, 648, 3155, 18, 10885, 30, 2868, 648, 3155, 18, 11403, 30, 2868, 648, 3155, 18, 13625, 30, 2868, 648, 3155, 18, 3417, 52, 30, 7734, 368, 1158, 17, 4473, 18, 7734, 3757, 3406, 12, 2159, 1769, 7734, 1323, 261, 3624, 480, 446, 13, 288, 10792, 2103, 1085, 28570, 12, 3624, 16, 756, 1769, 10792, 1151, 273, 1151, 18, 588, 2134, 5621, 7734, 289, 7734, 898, 31, 2868, 648, 3155, 18, 7788, 30, 7734, 309, 261, 267, 2083, 747, 982, 18, 588, 559, 1435, 480, 3155, 18, 10885, 13, 288, 10792, 509, 2295, 1016, 273, 756, 18, 588, 9895, 1702, 4658, 12, 907, 18, 7788, 67, 15811, 1769, 10792, 12056, 2083, 907, 2295, 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, 377, 3238, 918, 2103, 1085, 28570, 12, 907, 756, 16, 2029, 982, 13, 565, 288, 3639, 368, 2332, 18, 659, 18, 8222, 2932, 4507, 981, 364, 315, 397, 756, 18, 10492, 10663, 3639, 509, 618, 273, 756, 18, 588, 559, 5621, 3639, 2029, 1151, 273, 756, 18, 588, 3759, 1763, 5621, 3639, 1620, 261, 723, 13, 288, 2868, 648, 3155, 18, 28677, 30, 2868, 648, 3155, 18, 9147, 30, 2868, 648, 3155, 18, 13545, 30, 7734, 3757, 3406, 12, 2159, 1769, 7734, 1323, 261, 3624, 480, 446, 13, 288, 10792, 2103, 1085, 28570, 12, 3624, 16, 756, 1769, 10792, 1151, 273, 1151, 18, 588, 2134, 5621, 7734, 289, 7734, 898, 31, 2868, 648, 3155, 18, 13415, 30, 2868, 648, 2 ]
diff = pc - nextTermFixup; SET_OFFSET(program, nextTermFixup, diff);
resolveForwardJump(program, nextTermFixup, pc);
emitREBytecode(CompilerState state, RECompiled re, int pc, RENode t) { RENode nextAlt; int nextAltFixup, nextTermFixup; int diff; RECharSet charSet; byte[] program = re.program; while (t != null) { program[pc++] = t.op; switch (t.op) { case REOP_EMPTY: --pc; break; case REOP_ALT: nextAlt = t.kid2; nextAltFixup = pc; /* address of next alternate */ pc += OFFSET_LEN; pc = emitREBytecode(state, re, pc, t.kid); program[pc++] = REOP_JUMP; nextTermFixup = pc; /* address of following term */ pc += OFFSET_LEN; diff = pc - nextAltFixup; SET_OFFSET(program, nextAltFixup, diff); pc = emitREBytecode(state, re, pc, nextAlt); program[pc++] = REOP_JUMP; nextAltFixup = pc; pc += OFFSET_LEN; diff = pc - nextTermFixup; SET_OFFSET(program, nextTermFixup, diff); diff = pc - nextAltFixup; SET_OFFSET(program, nextAltFixup, diff); break; case REOP_FLAT: /* * Consecutize FLAT's if possible. */ if (t.flatIndex != -1) { while ((t.next != null) && (t.next.op == REOP_FLAT) && ((t.flatIndex + t.length) == t.next.flatIndex)) { t.length += t.next.length; t.next = t.next.next; } } if ((t.flatIndex != -1) && (t.length > 1)) { if ((state.flags & JSREG_FOLD) != 0) program[pc - 1] = REOP_FLATi; else program[pc - 1] = REOP_FLAT; SET_ARG(program, pc, t.flatIndex); pc += ARG_LEN; SET_ARG(program, pc, t.length); pc += ARG_LEN; } else { if (t.chr < 256) { if ((state.flags & JSREG_FOLD) != 0) program[pc - 1] = REOP_FLAT1i; else program[pc - 1] = REOP_FLAT1; program[pc++] = (byte)(t.chr); } else { if ((state.flags & JSREG_FOLD) != 0) program[pc - 1] = REOP_UCFLAT1i; else program[pc - 1] = REOP_UCFLAT1; SET_ARG(program, pc, t.chr); pc += ARG_LEN; } } break; case REOP_LPAREN: SET_ARG(program, pc, t.parenIndex); pc += ARG_LEN; pc = emitREBytecode(state, re, pc, t.kid); program[pc++] = REOP_RPAREN; SET_ARG(program, pc, t.parenIndex); pc += ARG_LEN; break; case REOP_BACKREF: SET_ARG(program, pc, t.parenIndex); pc += ARG_LEN; break; case REOP_ASSERT: nextTermFixup = pc; pc += OFFSET_LEN; pc = emitREBytecode(state, re, pc, t.kid); program[pc++] = REOP_ASSERTTEST; diff = pc - nextTermFixup; SET_OFFSET(program, nextTermFixup, diff); break; case REOP_ASSERT_NOT: nextTermFixup = pc; pc += OFFSET_LEN; pc = emitREBytecode(state, re, pc, t.kid); program[pc++] = REOP_ASSERTNOTTEST; diff = pc - nextTermFixup; SET_OFFSET(program, nextTermFixup, diff); break; case REOP_QUANT: if ((t.min == 0) && (t.max == -1)) program[pc - 1] = (t.greedy) ? REOP_STAR : REOP_MINIMALSTAR; else if ((t.min == 0) && (t.max == 1)) program[pc - 1] = (t.greedy) ? REOP_OPT : REOP_MINIMALOPT; else if ((t.min == 1) && (t.max == -1)) program[pc - 1] = (t.greedy) ? REOP_PLUS : REOP_MINIMALPLUS; else { if (!t.greedy) program[pc - 1] = REOP_MINIMALQUANT; SET_ARG(program, pc, t.min); pc += ARG_LEN; SET_ARG(program, pc, t.max); pc += ARG_LEN; } SET_ARG(program, pc, t.parenCount); pc += ARG_LEN; SET_ARG(program, pc, t.parenIndex); pc += ARG_LEN; nextTermFixup = pc; pc += OFFSET_LEN; pc = emitREBytecode(state, re, pc, t.kid); program[pc++] = REOP_ENDCHILD; diff = pc - nextTermFixup; SET_OFFSET(program, nextTermFixup, diff); break; case REOP_CLASS: SET_ARG(program, pc, t.index); pc += ARG_LEN; charSet = re.classList[t.index]; charSet.converted = false; charSet.length = t.bmsize; charSet.startIndex = t.startIndex; charSet.strlength = t.kidlen; break; default: break; } t = t.next; } return pc; }
51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/21f0e29bbdfc8503803ff1fb05a60d0d11f579d5/NativeRegExp.java/buggy/js/rhino/src/org/mozilla/javascript/regexp/NativeRegExp.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3626, 862, 858, 16651, 12, 9213, 1119, 919, 16, 2438, 20733, 283, 16, 509, 6125, 16, 2438, 907, 268, 13, 565, 288, 3639, 2438, 907, 1024, 10655, 31, 3639, 509, 1024, 10655, 8585, 416, 16, 1024, 4065, 8585, 416, 31, 3639, 509, 3122, 31, 3639, 2438, 2156, 694, 1149, 694, 31, 3639, 1160, 8526, 5402, 273, 283, 18, 12890, 31, 3639, 1323, 261, 88, 480, 446, 13, 288, 5411, 5402, 63, 2436, 9904, 65, 273, 268, 18, 556, 31, 5411, 1620, 261, 88, 18, 556, 13, 288, 5411, 648, 2438, 3665, 67, 13625, 30, 7734, 1493, 2436, 31, 7734, 898, 31, 5411, 648, 2438, 3665, 67, 18255, 30, 7734, 1024, 10655, 273, 268, 18, 79, 350, 22, 31, 7734, 1024, 10655, 8585, 416, 273, 6125, 31, 565, 1748, 1758, 434, 1024, 12184, 1195, 7734, 6125, 1011, 26019, 67, 13017, 31, 7734, 6125, 273, 3626, 862, 858, 16651, 12, 2019, 16, 283, 16, 6125, 16, 268, 18, 79, 350, 1769, 7734, 5402, 63, 2436, 9904, 65, 273, 2438, 3665, 67, 46, 23942, 31, 7734, 1024, 4065, 8585, 416, 273, 6125, 31, 565, 1748, 1758, 434, 3751, 2481, 1195, 7734, 6125, 1011, 26019, 67, 13017, 31, 7734, 3122, 273, 6125, 300, 1024, 10655, 8585, 416, 31, 7734, 7855, 67, 11271, 12, 12890, 16, 1024, 10655, 8585, 416, 16, 3122, 1769, 7734, 6125, 273, 3626, 862, 858, 16651, 12, 2019, 16, 283, 16, 6125, 16, 1024, 10655, 1769, 7734, 5402, 63, 2436, 9904, 65, 273, 2438, 3665, 67, 46, 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, 3626, 862, 858, 16651, 12, 9213, 1119, 919, 16, 2438, 20733, 283, 16, 509, 6125, 16, 2438, 907, 268, 13, 565, 288, 3639, 2438, 907, 1024, 10655, 31, 3639, 509, 1024, 10655, 8585, 416, 16, 1024, 4065, 8585, 416, 31, 3639, 509, 3122, 31, 3639, 2438, 2156, 694, 1149, 694, 31, 3639, 1160, 8526, 5402, 273, 283, 18, 12890, 31, 3639, 1323, 261, 88, 480, 446, 13, 288, 5411, 5402, 63, 2436, 9904, 65, 273, 268, 18, 556, 31, 5411, 1620, 261, 88, 18, 556, 13, 288, 5411, 648, 2438, 3665, 67, 13625, 30, 7734, 1493, 2436, 31, 7734, 898, 31, 5411, 648, 2438, 3665, 67, 18255, 30, 7734, 1024, 10655, 273, 268, 18, 79, 350, 22, 31, 2 ]
Boolean isMasterPageContent = ( Boolean ) renderOptions
Boolean isMasterPageContent = (Boolean) renderOptions
public ByteArrayOutputStream getPage( String docName, String pageID, InputOptions renderOptions, List activeIds ) throws ReportServiceException { IReportDocument doc = ReportEngineService.getInstance( ) .openReportDocument( getReportDesignName( renderOptions ), docName ); HttpServletRequest request = ( HttpServletRequest ) renderOptions .getOption( InputOptions.OPT_REQUEST ); Locale locale = ( Locale ) renderOptions .getOption( InputOptions.OPT_LOCALE ); Boolean isMasterPageContent = ( Boolean ) renderOptions .getOption( InputOptions.OPT_IS_MASTER_PAGE_CONTENT ); Boolean svgFlag = ( Boolean ) renderOptions .getOption( InputOptions.OPT_IS_MASTER_PAGE_CONTENT ); Long pageNum = Long.valueOf( pageID ); try { ByteArrayOutputStream os = ReportEngineService.getInstance( ) .renderReport( request, doc, pageNum.longValue( ), isMasterPageContent.booleanValue( ), svgFlag.booleanValue( ), activeIds, locale ); doc.close( ); return os; } catch ( RemoteException e ) { throw new ReportServiceException( e.getLocalizedMessage( ) ); } }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/1ff9aa843f70ddf72ba7891c54d9d7216c9063f5/BirtViewerReportService.java/buggy/viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/BirtViewerReportService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 11559, 8957, 12, 514, 997, 461, 16, 514, 1363, 734, 16, 1082, 202, 1210, 1320, 1743, 1320, 16, 987, 2695, 2673, 262, 1082, 202, 15069, 8706, 15133, 202, 95, 202, 202, 45, 4820, 2519, 997, 273, 8706, 4410, 1179, 18, 588, 1442, 12, 262, 9506, 202, 18, 3190, 4820, 2519, 12, 22452, 15478, 461, 12, 1743, 1320, 262, 16, 25083, 202, 2434, 461, 11272, 202, 202, 2940, 18572, 590, 273, 261, 9984, 262, 1743, 1320, 9506, 202, 18, 588, 1895, 12, 2741, 1320, 18, 15620, 67, 5519, 11272, 202, 202, 3916, 2573, 273, 261, 6458, 262, 1743, 1320, 9506, 202, 18, 588, 1895, 12, 2741, 1320, 18, 15620, 67, 25368, 11272, 202, 202, 5507, 353, 7786, 1964, 1350, 273, 261, 3411, 262, 1743, 1320, 9506, 202, 18, 588, 1895, 12, 2741, 1320, 18, 15620, 67, 5127, 67, 28045, 67, 11219, 67, 9689, 11272, 202, 202, 5507, 9804, 4678, 273, 261, 3411, 262, 1743, 1320, 9506, 202, 18, 588, 1895, 12, 2741, 1320, 18, 15620, 67, 5127, 67, 28045, 67, 11219, 67, 9689, 11272, 202, 202, 3708, 13883, 273, 3407, 18, 1132, 951, 12, 1363, 734, 11272, 202, 202, 698, 202, 202, 95, 1082, 202, 8826, 4632, 1140, 273, 8706, 4410, 1179, 18, 588, 1442, 12, 262, 6862, 202, 18, 5902, 4820, 12, 590, 16, 997, 16, 13883, 18, 5748, 620, 12, 262, 16, 6862, 1082, 202, 291, 7786, 1964, 1350, 18, 6494, 620, 12, 262, 16, 6862, 1082, 202, 11451, 4678, 18, 6494, 620, 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, 11559, 8957, 12, 514, 997, 461, 16, 514, 1363, 734, 16, 1082, 202, 1210, 1320, 1743, 1320, 16, 987, 2695, 2673, 262, 1082, 202, 15069, 8706, 15133, 202, 95, 202, 202, 45, 4820, 2519, 997, 273, 8706, 4410, 1179, 18, 588, 1442, 12, 262, 9506, 202, 18, 3190, 4820, 2519, 12, 22452, 15478, 461, 12, 1743, 1320, 262, 16, 25083, 202, 2434, 461, 11272, 202, 202, 2940, 18572, 590, 273, 261, 9984, 262, 1743, 1320, 9506, 202, 18, 588, 1895, 12, 2741, 1320, 18, 15620, 67, 5519, 11272, 202, 202, 3916, 2573, 273, 261, 6458, 262, 1743, 1320, 9506, 202, 18, 588, 1895, 12, 2741, 1320, 18, 15620, 67, 25368, 11272, 202, 202, 5507, 353, 7786, 2 ]
ElemTemplateElement elem = m_currentTemplateElements[i];
ElemTemplateElement elem = (ElemTemplateElement) m_currentTemplateElements.elementAt(i);
public Vector getTemplateCallstack() { Vector elems = new Vector(); int nStackSize = m_currentTemplateElementsTop; for(int i = 0; i < nStackSize; i++) { ElemTemplateElement elem = m_currentTemplateElements[i]; if(null != elem && (elem.getXSLToken() != Constants.ELEMNAME_TEMPLATE)) { elems.addElement(elem); } } return elems; }
46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/d51b08356cc6f8c78bee2a852df4e9888db4d097/TransformerImpl.java/buggy/src/org/apache/xalan/transformer/TransformerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 5589, 10646, 1477, 3772, 1435, 225, 288, 282, 202, 5018, 14733, 273, 394, 5589, 5621, 282, 202, 474, 290, 2624, 1225, 273, 312, 67, 2972, 2283, 3471, 3401, 31, 282, 202, 1884, 12, 474, 277, 273, 374, 31, 277, 411, 290, 2624, 1225, 31, 277, 27245, 282, 202, 95, 21114, 202, 7498, 2283, 1046, 3659, 273, 261, 7498, 2283, 1046, 13, 312, 67, 2972, 2283, 3471, 18, 2956, 861, 12, 77, 1769, 21114, 202, 430, 12, 2011, 480, 3659, 597, 261, 10037, 18, 588, 60, 4559, 1345, 1435, 480, 5245, 18, 41, 26817, 1985, 67, 12205, 3719, 21114, 202, 95, 26924, 202, 292, 7424, 18, 1289, 1046, 12, 10037, 1769, 21114, 202, 97, 282, 202, 97, 282, 202, 2463, 14733, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 282, 1071, 5589, 10646, 1477, 3772, 1435, 225, 288, 282, 202, 5018, 14733, 273, 394, 5589, 5621, 282, 202, 474, 290, 2624, 1225, 273, 312, 67, 2972, 2283, 3471, 3401, 31, 282, 202, 1884, 12, 474, 277, 273, 374, 31, 277, 411, 290, 2624, 1225, 31, 277, 27245, 282, 202, 95, 21114, 202, 7498, 2283, 1046, 3659, 273, 261, 7498, 2283, 1046, 13, 312, 67, 2972, 2283, 3471, 18, 2956, 861, 12, 77, 1769, 21114, 202, 430, 12, 2011, 480, 3659, 597, 261, 10037, 18, 588, 60, 4559, 1345, 1435, 480, 5245, 18, 41, 26817, 1985, 67, 12205, 3719, 21114, 202, 95, 26924, 202, 292, 7424, 18, 1289, 1046, 12, 10037, 1769, 21114, 202, 97, 282, 202, 97, 282, 2 ]
for (int i = 0; i < ITERATIONS; i++) { TableItem[] items = viewer.getTable().getItems(); startMeasuring(); for (int j = 0; j < items.length; j++) { TableItem item = items[j]; Object element = RefreshTestContentProvider.allElements[j]; viewer.testUpdateItem(item, element);
exercise(new TestRunnable() { public void run() { TableItem[] items = viewer.getTable().getItems(); startMeasuring(); for (int j = 0; j < items.length; j++) { TableItem item = items[j]; Object element = RefreshTestContentProvider.allElements[j]; viewer.testUpdateItem(item, element); } processEvents(); stopMeasuring();
public void testUpdate() throws Throwable { openBrowser(); for (int i = 0; i < ITERATIONS; i++) { TableItem[] items = viewer.getTable().getItems(); startMeasuring(); for (int j = 0; j < items.length; j++) { TableItem item = items[j]; Object element = RefreshTestContentProvider.allElements[j]; viewer.testUpdateItem(item, element); } processEvents(); stopMeasuring(); } commitMeasurements(); assertPerformance(); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/2d68822a79e6e20d403c2debfba4b04bdf2e5057/TableViewerRefreshTest.java/buggy/tests/org.eclipse.ui.tests/Eclipse JFace Tests/org/eclipse/jface/tests/performance/TableViewerRefreshTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 1891, 1435, 1216, 4206, 288, 202, 202, 3190, 9132, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 467, 2560, 15297, 31, 277, 27245, 288, 1082, 202, 1388, 1180, 8526, 1516, 273, 14157, 18, 588, 1388, 7675, 588, 3126, 5621, 1082, 202, 1937, 23177, 4017, 5621, 1082, 202, 1884, 261, 474, 525, 273, 374, 31, 525, 411, 1516, 18, 2469, 31, 525, 27245, 288, 9506, 202, 1388, 1180, 761, 273, 1516, 63, 78, 15533, 9506, 202, 921, 930, 273, 14179, 4709, 1350, 2249, 18, 454, 3471, 63, 78, 15533, 6862, 9506, 202, 25256, 18, 3813, 1891, 1180, 12, 1726, 16, 930, 1769, 6862, 1082, 202, 97, 1082, 202, 2567, 3783, 5621, 1082, 202, 5681, 23177, 4017, 5621, 202, 202, 97, 202, 202, 7371, 7197, 1346, 5621, 202, 202, 11231, 25024, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 1891, 1435, 1216, 4206, 288, 202, 202, 3190, 9132, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 467, 2560, 15297, 31, 277, 27245, 288, 1082, 202, 1388, 1180, 8526, 1516, 273, 14157, 18, 588, 1388, 7675, 588, 3126, 5621, 1082, 202, 1937, 23177, 4017, 5621, 1082, 202, 1884, 261, 474, 525, 273, 374, 31, 525, 411, 1516, 18, 2469, 31, 525, 27245, 288, 9506, 202, 1388, 1180, 761, 273, 1516, 63, 78, 15533, 9506, 202, 921, 930, 273, 14179, 4709, 1350, 2249, 18, 454, 3471, 63, 78, 15533, 6862, 9506, 202, 25256, 18, 3813, 1891, 1180, 12, 1726, 16, 930, 1769, 6862, 1082, 202, 97, 1082, 202, 2567, 3783, 5621, 2 ]
public org.quickfix.field.LegPool getLegPool() throws FieldNotFound { org.quickfix.field.LegPool value = new org.quickfix.field.LegPool();
public quickfix.field.LegPool getLegPool() throws FieldNotFound { quickfix.field.LegPool value = new quickfix.field.LegPool();
public org.quickfix.field.LegPool getLegPool() throws FieldNotFound { org.quickfix.field.LegPool value = new org.quickfix.field.LegPool(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/TradeCaptureReportAck.java/buggy/src/java/src/quickfix/fix44/TradeCaptureReportAck.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 2864, 336, 8329, 2864, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 2864, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 2864, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 2864, 336, 8329, 2864, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 2864, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 2864, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
byte[] getNetPacket(int streamId, byte buffer[]) throws IOException { synchronized (socketTable) { VirtualSocket vsock = lookup(streamId); // // Return any cached input // if (vsock.inputPkts > 0) { return dequeueInput(vsock); } // // See if we need to: // 1. Send a request // 2. Read and save another callers request // 3. Flush the end of our previous request and send a new one // if (responseOwner == -1 || responseOwner != streamId || vsock.flushInput) { byte[] tmpBuf; if (responseOwner != -1) { // Complex case there is another socket's data in the network pipe // or we had our own incomplete request to discard first // Read and store other socket's data or flush our own VirtualSocket other = (VirtualSocket)socketTable.get(responseOwner); do { tmpBuf = readPacket(null, other, 0); if (!other.flushInput) { // We need to save this input enqueueInput(other, tmpBuf); } } while (tmpBuf[1] == 0); // Read all data to complete TDS packet other.flushInput = false; } // OK All input either read and stored or read and discarded // now send our cached request packet. tmpBuf = dequeueOutput(vsock); if (tmpBuf == null) { // Oops something has gone wrong. Trying to read but no // complete request packet to send first. throw new IOException("No client request to send"); } while (tmpBuf != null) { getOut().write(tmpBuf, 0, getPktLen(tmpBuf, 2)); tmpBuf = dequeueOutput(vsock); } responseOwner = streamId; } // Simple case we are reading our input directly from the server buffer = readPacket(buffer, vsock, vsock.timeOut); return buffer; } }
5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/2c6b79107e175244186289d6b526b670a6bcb122/SharedSocket.java/clean/src/main/net/sourceforge/jtds/jdbc/SharedSocket.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1160, 8526, 336, 7308, 6667, 12, 474, 21035, 16, 1160, 1613, 63, 5717, 1216, 1860, 288, 3639, 3852, 261, 7814, 1388, 13, 288, 5411, 7269, 4534, 6195, 975, 273, 3689, 12, 3256, 548, 1769, 5411, 368, 5411, 368, 2000, 1281, 3472, 810, 5411, 368, 5411, 309, 261, 6904, 975, 18, 2630, 7789, 3428, 405, 374, 13, 288, 7734, 327, 29964, 1210, 12, 6904, 975, 1769, 5411, 289, 13491, 368, 5411, 368, 2164, 309, 732, 1608, 358, 30, 5411, 368, 225, 404, 18, 2479, 279, 590, 5411, 368, 225, 576, 18, 2720, 471, 1923, 4042, 19932, 590, 5411, 368, 225, 890, 18, 11624, 326, 679, 434, 3134, 2416, 590, 471, 1366, 279, 394, 1245, 5411, 368, 5411, 309, 261, 2740, 5541, 422, 300, 21, 747, 766, 5541, 480, 21035, 747, 6195, 975, 18, 11330, 1210, 13, 288, 7734, 1160, 8526, 1853, 5503, 31, 27573, 309, 261, 2740, 5541, 480, 300, 21, 13, 288, 10792, 368, 16060, 648, 1915, 353, 4042, 2987, 1807, 501, 316, 326, 2483, 6010, 10792, 368, 578, 732, 9323, 3134, 4953, 14715, 590, 358, 10388, 1122, 10792, 368, 2720, 471, 1707, 1308, 2987, 1807, 501, 578, 3663, 3134, 4953, 10792, 7269, 4534, 1308, 273, 261, 6466, 4534, 13, 7814, 1388, 18, 588, 12, 2740, 5541, 1769, 4766, 3639, 741, 288, 13491, 1853, 5503, 273, 855, 6667, 12, 2011, 16, 1308, 16, 374, 1769, 4766, 7734, 309, 16051, 3011, 18, 11330, 1210, 13, 288, 7682, 202, 759, 1660, 1608, 358, 1923, 333, 810, 18701, 12850, 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, 1160, 8526, 336, 7308, 6667, 12, 474, 21035, 16, 1160, 1613, 63, 5717, 1216, 1860, 288, 3639, 3852, 261, 7814, 1388, 13, 288, 5411, 7269, 4534, 6195, 975, 273, 3689, 12, 3256, 548, 1769, 5411, 368, 5411, 368, 2000, 1281, 3472, 810, 5411, 368, 5411, 309, 261, 6904, 975, 18, 2630, 7789, 3428, 405, 374, 13, 288, 7734, 327, 29964, 1210, 12, 6904, 975, 1769, 5411, 289, 13491, 368, 5411, 368, 2164, 309, 732, 1608, 358, 30, 5411, 368, 225, 404, 18, 2479, 279, 590, 5411, 368, 225, 576, 18, 2720, 471, 1923, 4042, 19932, 590, 5411, 368, 225, 890, 18, 11624, 326, 679, 434, 3134, 2416, 590, 471, 1366, 279, 394, 1245, 5411, 368, 5411, 309, 261, 2 ]
public void paintFixed(Context c, BlockBox block) { int xoff = 0; int yoff = 0; xoff = c.canvas.getWidth(); yoff = c.canvas.getHeight(); if (block.right_set) { xoff = xoff - block.width; } if (block.bottom_set) { //joshy: this should really be block.height instead of bnds.y // need to fix the setting of block.height //joshy: need to do horizontal calcs too, inc scrolling //joshy: need to make the body paint the whole canvas. // start at the bottom of the viewport yoff = c.viewport.getHeight(); // account for the width of the box yoff = yoff - block.height; // - bnds.y // account for the current y offset of the box yoff = yoff - c.getExtents().y; //orig.y; // account for the scrolling of the viewport yoff = yoff - c.canvas.getLocation().y; } c.translate(xoff, yoff); paintNormal(c,block); c.translate(-xoff, -yoff); }
53937 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53937/07ab625b03cad242caa27ac48e830592130b24a1/BoxLayout.java/clean/src/java/org/joshy/html/BoxLayout.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 84, 1598, 7505, 12, 1042, 71, 16, 1768, 3514, 2629, 15329, 474, 92, 3674, 33, 20, 31, 474, 93, 3674, 33, 20, 31, 92, 3674, 33, 71, 18, 15424, 18, 588, 2384, 5621, 93, 3674, 33, 71, 18, 15424, 18, 588, 2686, 5621, 430, 12, 2629, 18, 4083, 67, 542, 15329, 92, 3674, 33, 92, 3674, 17, 2629, 18, 2819, 31, 97, 430, 12, 2629, 18, 9176, 67, 542, 15329, 759, 78, 17636, 93, 30, 2211, 13139, 266, 1230, 2196, 2629, 18, 4210, 8591, 684, 792, 13392, 2377, 18, 93, 759, 14891, 88, 792, 697, 7915, 278, 1787, 792, 2629, 18, 4210, 759, 78, 17636, 93, 30, 14891, 9012, 18396, 12448, 334, 5161, 16, 9523, 1017, 15742, 759, 78, 17636, 93, 30, 14891, 3599, 581, 546, 24008, 369, 879, 1598, 451, 359, 27167, 15424, 18, 759, 1937, 270, 5787, 9176, 792, 5787, 28852, 93, 3674, 33, 71, 18, 28852, 18, 588, 2686, 5621, 759, 4631, 1884, 451, 14434, 792, 5787, 1075, 1698, 3674, 33, 93, 3674, 17, 2629, 18, 4210, 31, 759, 17, 13392, 2377, 18, 93, 759, 4631, 1884, 451, 557, 3761, 93, 3348, 792, 5787, 1075, 1698, 3674, 33, 93, 3674, 17, 71, 18, 588, 2482, 4877, 7675, 93, 31, 759, 4949, 18, 93, 31, 759, 4631, 1884, 451, 742, 15742, 792, 5787, 28852, 93, 3674, 33, 93, 3674, 17, 71, 18, 15424, 18, 588, 2735, 7675, 93, 31, 97, 71, 18, 13929, 12, 92, 3674, 16, 93, 3674, 1769, 84, 1598, 5506, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 84, 1598, 7505, 12, 1042, 71, 16, 1768, 3514, 2629, 15329, 474, 92, 3674, 33, 20, 31, 474, 93, 3674, 33, 20, 31, 92, 3674, 33, 71, 18, 15424, 18, 588, 2384, 5621, 93, 3674, 33, 71, 18, 15424, 18, 588, 2686, 5621, 430, 12, 2629, 18, 4083, 67, 542, 15329, 92, 3674, 33, 92, 3674, 17, 2629, 18, 2819, 31, 97, 430, 12, 2629, 18, 9176, 67, 542, 15329, 759, 78, 17636, 93, 30, 2211, 13139, 266, 1230, 2196, 2629, 18, 4210, 8591, 684, 792, 13392, 2377, 18, 93, 759, 14891, 88, 792, 697, 7915, 278, 1787, 792, 2629, 18, 4210, 759, 78, 17636, 93, 30, 14891, 9012, 18396, 12448, 334, 5161, 16, 9523, 1017, 15742, 2 ]
ac.addBond(new Bond(a1, a2, bond.getOrder()));
Bond newBond = new Bond(a1, a2, bond.getOrder()); newBond.setFlag( CDKConstants.ISAROMATIC, bond.getFlag(CDKConstants.ISAROMATIC) ); ac.addBond(newBond);
public static AtomContainer project(List rMapList, AtomContainer g, int id) { AtomContainer ac = new AtomContainer(); Bond[] bondList = g.getBonds(); Hashtable table = new Hashtable(); Atom a1 = null; Atom a2 = null; Atom a = null; Bond bond = null; for (Iterator i = rMapList.iterator(); i.hasNext(); ) { RMap rMap = (RMap) i.next(); if (id == UniversalIsomorphismTester.ID1) { bond = bondList[rMap.getId1()]; } else { bond = bondList[rMap.getId2()]; } a = bond.getAtomAt(0); a1 = (Atom) table.get(a); if (a1 == null) { a1 = (Atom) a.clone(); ac.addAtom(a1); table.put(a, a1); } a = bond.getAtomAt(1); a2 = (Atom) table.get(a); if (a2 == null) { a2 = (Atom) a.clone(); ac.addAtom(a2); table.put(a, a2); } ac.addBond(new Bond(a1, a2, bond.getOrder())); } return ac; }
45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/fda85e2e70b3cd137c9404e72e9414d9bf306284/UniversalIsomorphismTester.java/clean/src/org/openscience/cdk/isomorphism/UniversalIsomorphismTester.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 7149, 2170, 1984, 12, 682, 436, 863, 682, 16, 7149, 2170, 314, 16, 509, 612, 13, 288, 565, 7149, 2170, 1721, 273, 394, 7149, 2170, 5621, 565, 605, 1434, 8526, 8427, 682, 273, 314, 18, 588, 26090, 5621, 565, 18559, 1014, 273, 394, 18559, 5621, 565, 7149, 279, 21, 273, 446, 31, 565, 7149, 279, 22, 273, 446, 31, 565, 7149, 279, 273, 446, 31, 565, 605, 1434, 8427, 273, 446, 31, 565, 364, 261, 3198, 277, 273, 436, 863, 682, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 262, 288, 1377, 534, 863, 436, 863, 273, 261, 54, 863, 13, 277, 18, 4285, 5621, 1377, 309, 261, 350, 422, 27705, 2520, 362, 7657, 6228, 56, 7654, 18, 734, 21, 13, 288, 3639, 8427, 273, 8427, 682, 63, 86, 863, 18, 26321, 21, 1435, 15533, 1377, 289, 469, 288, 3639, 8427, 273, 8427, 682, 63, 86, 863, 18, 26321, 22, 1435, 15533, 1377, 289, 1377, 279, 273, 8427, 18, 588, 3641, 861, 12, 20, 1769, 1377, 279, 21, 273, 261, 3641, 13, 1014, 18, 588, 12, 69, 1769, 1377, 309, 261, 69, 21, 422, 446, 13, 288, 3639, 279, 21, 273, 261, 3641, 13, 279, 18, 14056, 5621, 3639, 1721, 18, 1289, 3641, 12, 69, 21, 1769, 3639, 1014, 18, 458, 12, 69, 16, 279, 21, 1769, 1377, 289, 1377, 279, 273, 8427, 18, 588, 3641, 861, 12, 21, 1769, 1377, 279, 22, 273, 261, 3641, 13, 1014, 18, 588, 12, 69, 1769, 1377, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 7149, 2170, 1984, 12, 682, 436, 863, 682, 16, 7149, 2170, 314, 16, 509, 612, 13, 288, 565, 7149, 2170, 1721, 273, 394, 7149, 2170, 5621, 565, 605, 1434, 8526, 8427, 682, 273, 314, 18, 588, 26090, 5621, 565, 18559, 1014, 273, 394, 18559, 5621, 565, 7149, 279, 21, 273, 446, 31, 565, 7149, 279, 22, 273, 446, 31, 565, 7149, 279, 273, 446, 31, 565, 605, 1434, 8427, 273, 446, 31, 565, 364, 261, 3198, 277, 273, 436, 863, 682, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 262, 288, 1377, 534, 863, 436, 863, 273, 261, 54, 863, 13, 277, 18, 4285, 5621, 1377, 309, 261, 350, 422, 27705, 2520, 362, 7657, 6228, 56, 2 ]
X86RegisterPool pool = eContext.getPool(); if (!it.uses(reg)) { if (!pool.isFree(reg)) { notImplemented(); } pool.request(reg, it); }
X86RegisterPool pool = eContext.getPool(); if (!it.uses(reg)) { if (!pool.isFree(reg)) { notImplemented(); } pool.request(reg, it); }
private void requestRegister(Register reg, Item it) { X86RegisterPool pool = eContext.getPool(); // check item doesn't already use register if (!it.uses(reg)) { if (!pool.isFree(reg)) { notImplemented(); //TODO: spill register; make sure that the stack items // and floating items are handled correctly } pool.request(reg, it); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2dae0b481ae2c6630293d1adeea4e81e12d7547b/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 590, 3996, 12, 3996, 960, 16, 4342, 518, 13, 288, 377, 202, 60, 5292, 3996, 2864, 2845, 273, 425, 1042, 18, 588, 2864, 5621, 377, 202, 377, 202, 759, 866, 761, 3302, 1404, 1818, 999, 1744, 377, 202, 430, 16051, 305, 18, 6117, 12, 1574, 3719, 288, 377, 202, 202, 430, 16051, 6011, 18, 291, 9194, 12, 1574, 3719, 288, 377, 1082, 202, 902, 8644, 5621, 377, 1082, 202, 759, 6241, 30, 1694, 737, 1744, 31, 1221, 3071, 716, 326, 2110, 1516, 1377, 1082, 202, 759, 471, 13861, 1516, 854, 7681, 8783, 377, 202, 202, 97, 377, 202, 202, 6011, 18, 2293, 12, 1574, 16, 518, 1769, 377, 202, 97, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 590, 3996, 12, 3996, 960, 16, 4342, 518, 13, 288, 377, 202, 60, 5292, 3996, 2864, 2845, 273, 425, 1042, 18, 588, 2864, 5621, 377, 202, 377, 202, 759, 866, 761, 3302, 1404, 1818, 999, 1744, 377, 202, 430, 16051, 305, 18, 6117, 12, 1574, 3719, 288, 377, 202, 202, 430, 16051, 6011, 18, 291, 9194, 12, 1574, 3719, 288, 377, 1082, 202, 902, 8644, 5621, 377, 1082, 202, 759, 6241, 30, 1694, 737, 1744, 31, 1221, 3071, 716, 326, 2110, 1516, 1377, 1082, 202, 759, 471, 13861, 1516, 854, 7681, 8783, 377, 202, 202, 97, 377, 202, 202, 6011, 18, 2293, 12, 1574, 16, 518, 1769, 377, 202, 97, 565, 289, 2, -100, -100, -100, -100 ]
result.merge(checkCallsToDeclaringClassConstructors(new SubProgressMonitor(pm, 1)));
result.merge(checkCallsToClassConstructors(getDeclaringType(), new SubProgressMonitor(pm, 1)));
public RefactoringStatus checkFinalConditions(IProgressMonitor pm) throws CoreException { try { pm.beginTask(RefactoringCoreMessages.getString("PushDownRefactoring.creating_preview"), 5); //$NON-NLS-1$ clearCaches(); RefactoringStatus result= new RefactoringStatus(); result.merge(checkMembersInDestinationClasses(new SubProgressMonitor(pm, 1))); result.merge(checkElementsAccessedByModifiedMembers(new SubProgressMonitor(pm, 1))); result.merge(checkReferencesToPushedDownMembers(new SubProgressMonitor(pm, 1))); if (shouldMakeDeclaringClassAbstract()) result.merge(checkCallsToDeclaringClassConstructors(new SubProgressMonitor(pm, 1))); else pm.worked(1); if (result.hasFatalError()) return result; fChangeManager= createChangeManager(new SubProgressMonitor(pm, 1)); result.merge(validateModifiesFiles()); return result; } finally { pm.done(); } }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/4c432e231311c8cf3a59a661132d21bc0ea55380/PushDownRefactoring.java/buggy/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PushDownRefactoring.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 868, 3493, 6053, 1482, 866, 7951, 8545, 12, 45, 5491, 7187, 7430, 13, 1216, 30015, 288, 202, 202, 698, 288, 1082, 202, 7755, 18, 10086, 2174, 12, 426, 3493, 6053, 4670, 5058, 18, 588, 780, 2932, 7621, 4164, 426, 3493, 6053, 18, 23799, 67, 12102, 6, 3631, 1381, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 8507, 18755, 5621, 6862, 6862, 202, 426, 3493, 6053, 1482, 563, 33, 394, 868, 3493, 6053, 1482, 5621, 25083, 202, 2088, 18, 2702, 12, 1893, 6918, 382, 5683, 4818, 12, 2704, 2592, 5491, 7187, 12, 7755, 16, 404, 3719, 1769, 1082, 202, 2088, 18, 2702, 12, 1893, 3471, 27762, 858, 4575, 6918, 12, 2704, 2592, 5491, 7187, 12, 7755, 16, 404, 3719, 1769, 1082, 202, 2088, 18, 2702, 12, 1893, 8221, 774, 7621, 329, 4164, 6918, 12, 2704, 2592, 5491, 7187, 12, 7755, 16, 404, 3719, 1769, 1082, 202, 430, 261, 13139, 6464, 3456, 14682, 7469, 10756, 9506, 202, 2088, 18, 2702, 12, 1893, 10125, 774, 3456, 14682, 29590, 12, 2704, 2592, 5491, 7187, 12, 7755, 16, 404, 3719, 1769, 1082, 202, 12107, 9506, 202, 7755, 18, 1252, 329, 12, 21, 1769, 9506, 202, 430, 261, 2088, 18, 5332, 19593, 668, 10756, 9506, 202, 2463, 563, 31, 1082, 202, 74, 3043, 1318, 33, 752, 3043, 1318, 12, 2704, 2592, 5491, 7187, 12, 7755, 16, 404, 10019, 1082, 202, 2088, 18, 2702, 12, 5662, 1739, 5032, 2697, 10663, 1082, 202, 2463, 563, 31, 202, 202, 97, 3095, 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, 868, 3493, 6053, 1482, 866, 7951, 8545, 12, 45, 5491, 7187, 7430, 13, 1216, 30015, 288, 202, 202, 698, 288, 1082, 202, 7755, 18, 10086, 2174, 12, 426, 3493, 6053, 4670, 5058, 18, 588, 780, 2932, 7621, 4164, 426, 3493, 6053, 18, 23799, 67, 12102, 6, 3631, 1381, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 8507, 18755, 5621, 6862, 6862, 202, 426, 3493, 6053, 1482, 563, 33, 394, 868, 3493, 6053, 1482, 5621, 25083, 202, 2088, 18, 2702, 12, 1893, 6918, 382, 5683, 4818, 12, 2704, 2592, 5491, 7187, 12, 7755, 16, 404, 3719, 1769, 1082, 202, 2088, 18, 2702, 12, 1893, 3471, 27762, 858, 4575, 6918, 12, 2704, 2592, 5491, 7187, 12, 2 ]
if (presentationSite.getState() == IPresentationSite.STATE_MAXIMIZED) {
if (newState == IPresentationSite.STATE_MAXIMIZED) {
private void setState(int newState) { if (newState == presentationSite.getState()) { return; } int oldState = presentationSite.getState(); presentationSite.setPresentationState(newState); if (current != null) { if (presentationSite.getState() == IPresentationSite.STATE_MAXIMIZED) { ((PartPane) current).doZoom(); } else { WorkbenchPage page = ((PartPane) current).getPage(); if (page.isZoomed()) { page.zoomOut(); } updateControlBounds(); if (oldState == IPresentationSite.STATE_MINIMIZED) { forceLayout(); } } } if (presentationSite.getState() == IPresentationSite.STATE_MINIMIZED) { page.refreshActiveView(); } }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/14827ce06d2a1c73b89c11076cc8a1b4cdcb9379/PartTabFolder.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PartTabFolder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 12947, 12, 474, 15907, 13, 288, 202, 202, 430, 261, 2704, 1119, 422, 22525, 4956, 18, 588, 1119, 10756, 288, 1082, 202, 2463, 31, 202, 202, 97, 9506, 202, 474, 26440, 273, 22525, 4956, 18, 588, 1119, 5621, 9506, 202, 10364, 4956, 18, 542, 6351, 367, 1119, 12, 2704, 1119, 1769, 9506, 202, 430, 261, 2972, 480, 446, 13, 288, 1082, 202, 430, 261, 10364, 4956, 18, 588, 1119, 1435, 422, 2971, 1581, 367, 4956, 18, 7998, 67, 6694, 3445, 24131, 13, 288, 9506, 202, 12443, 1988, 8485, 13, 783, 2934, 2896, 11497, 5621, 1082, 202, 97, 469, 288, 9506, 202, 2421, 22144, 1964, 1363, 273, 14015, 1988, 8485, 13, 783, 2934, 588, 1964, 5621, 9506, 202, 430, 261, 2433, 18, 291, 11497, 329, 10756, 288, 6862, 202, 2433, 18, 14932, 1182, 5621, 9506, 202, 97, 6862, 1082, 202, 2725, 3367, 5694, 5621, 6862, 9506, 202, 430, 261, 1673, 1119, 422, 2971, 1581, 367, 4956, 18, 7998, 67, 6236, 3445, 24131, 13, 288, 6862, 202, 5734, 3744, 5621, 9506, 202, 97, 1082, 202, 97, 202, 202, 97, 9506, 202, 430, 261, 10364, 4956, 18, 588, 1119, 1435, 422, 2971, 1581, 367, 4956, 18, 7998, 67, 6236, 3445, 24131, 13, 288, 1082, 202, 2433, 18, 9144, 3896, 1767, 5621, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 12947, 12, 474, 15907, 13, 288, 202, 202, 430, 261, 2704, 1119, 422, 22525, 4956, 18, 588, 1119, 10756, 288, 1082, 202, 2463, 31, 202, 202, 97, 9506, 202, 474, 26440, 273, 22525, 4956, 18, 588, 1119, 5621, 9506, 202, 10364, 4956, 18, 542, 6351, 367, 1119, 12, 2704, 1119, 1769, 9506, 202, 430, 261, 2972, 480, 446, 13, 288, 1082, 202, 430, 261, 10364, 4956, 18, 588, 1119, 1435, 422, 2971, 1581, 367, 4956, 18, 7998, 67, 6694, 3445, 24131, 13, 288, 9506, 202, 12443, 1988, 8485, 13, 783, 2934, 2896, 11497, 5621, 1082, 202, 97, 469, 288, 9506, 202, 2421, 22144, 1964, 1363, 273, 14015, 1988, 8485, 13, 783, 2934, 588, 1964, 5621, 2 ]
if (elementName == null) {
if (elementName==null) {
public void startElement(String uri, String loc, String raw, Attributes a) throws SAXException { level++; switch (level) { case 1: if (loc.equals("pagesheet")) { // This object represents pagesheet return; } break; case 2: if (loc.equals("rules")) { if (this.pageRules == null) { this.pageRules = new ResizableContainer(2); } String key = a.getValue("page"); if (key != null) { try { pg = Integer.parseInt(key); } catch (NumberFormatException e) { throw new SAXException("Syntax error: the attribute 'rules/@page' must contain a number"); } } else { pg = 0; } rules = new PageRules(); return; } else if (loc.equals("items")) { if (this.itemGroupsPerName == null) { this.itemGroupsPerName = new HashMap(2); } if (this.itemGroupsPerElement == null) { this.itemGroupsPerElement = new HashMap(2); } return; } break; case 3: if (loc.equals("count")) { rules.elementName = a.getValue("name"); rules.elementURI = a.getValue("namespace"); if (a.getValue("type").equals("element")) { try { rules.elementCount = Integer.parseInt(a.getValue("num")); } catch (NumberFormatException e) { throw new SAXException("Syntax error: the attribute 'count/@num' must contain a number"); } } else if (a.getValue("type").equals("chars")) { try { rules.charCount = Integer.parseInt(a.getValue("num")); } catch (NumberFormatException e) { throw new SAXException("Syntax error: the attribute 'count/@num' must contain a number."); } } else { throw new SAXException("Syntax error: count type not supported."); } return; } else if (loc.equals("link")) { if (a.getValue("type").equals("unit")) { try { rules.unitLinks = Integer.parseInt(a.getValue("num")); } catch (NumberFormatException e) { throw new SAXException("Syntax error: the attribute 'link/@num' must contain a number."); } } else if (a.getValue("type").equals("range")) { try { rules.rangeLink = Integer.parseInt(a.getValue("value")); } catch (NumberFormatException e) { throw new SAXException("Syntax error: the attribute 'link/@value' must contain a number."); } } else { throw new SAXException("Syntax error: link type not supported."); } return; } else if (loc.equals("group")) { String name = a.getValue("name"); if (name == null) { throw new SAXException("Syntax error: the attribute 'group/@name' must be present."); } String elementName = a.getValue("element"); if (elementName == null) { throw new SAXException("Syntax error: the attribute 'group/@element' must be present."); } String elementURI = a.getValue("namespace"); ItemGroup group = new ItemGroup(name, elementURI, elementName); this.itemGroupsPerName.put(name, group); this.itemGroupsPerElement.put(elementURI + elementName, group); return; } } throw new SAXException("Syntax error: element " + raw + " is not recognized or is misplaced."); }
46428 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46428/88da451e7ed0aeef9bb960d9348189d3ed40d79d/Pagesheet.java/clean/src/scratchpad/src/org/apache/cocoon/transformation/pagination/Pagesheet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 13591, 12, 780, 2003, 16, 514, 1515, 16, 514, 1831, 16, 9055, 279, 13, 1216, 14366, 288, 3639, 1801, 9904, 31, 3639, 1620, 261, 2815, 13, 288, 5411, 648, 404, 30, 7734, 309, 261, 1829, 18, 14963, 2932, 7267, 2963, 6, 3719, 288, 10792, 368, 1220, 733, 8686, 4689, 2963, 10792, 327, 31, 7734, 289, 7734, 898, 31, 5411, 648, 576, 30, 7734, 309, 261, 1829, 18, 14963, 2932, 7482, 6, 3719, 288, 10792, 309, 261, 2211, 18, 2433, 4478, 422, 446, 13, 288, 13491, 333, 18, 2433, 4478, 273, 394, 1124, 6934, 2170, 12, 22, 1769, 10792, 289, 10792, 514, 498, 273, 279, 18, 24805, 2932, 2433, 8863, 10792, 309, 261, 856, 480, 446, 13, 288, 13491, 775, 288, 18701, 7184, 273, 2144, 18, 2670, 1702, 12, 856, 1769, 13491, 289, 1044, 261, 1854, 9291, 425, 13, 288, 18701, 604, 394, 14366, 2932, 8070, 555, 30, 326, 1566, 296, 7482, 19, 36, 2433, 11, 1297, 912, 279, 1300, 8863, 13491, 289, 10792, 289, 469, 288, 13491, 7184, 273, 374, 31, 10792, 289, 10792, 2931, 273, 394, 3460, 4478, 5621, 10792, 327, 31, 7734, 289, 469, 309, 261, 1829, 18, 14963, 2932, 3319, 6, 3719, 288, 10792, 309, 261, 2211, 18, 1726, 3621, 2173, 461, 422, 446, 13, 288, 13491, 333, 18, 1726, 3621, 2173, 461, 273, 394, 4317, 12, 22, 1769, 10792, 289, 10792, 309, 261, 2211, 18, 1726, 3621, 2173, 1046, 422, 446, 13, 288, 13491, 333, 18, 1726, 3621, 2173, 1046, 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, 13591, 12, 780, 2003, 16, 514, 1515, 16, 514, 1831, 16, 9055, 279, 13, 1216, 14366, 288, 3639, 1801, 9904, 31, 3639, 1620, 261, 2815, 13, 288, 5411, 648, 404, 30, 7734, 309, 261, 1829, 18, 14963, 2932, 7267, 2963, 6, 3719, 288, 10792, 368, 1220, 733, 8686, 4689, 2963, 10792, 327, 31, 7734, 289, 7734, 898, 31, 5411, 648, 576, 30, 7734, 309, 261, 1829, 18, 14963, 2932, 7482, 6, 3719, 288, 10792, 309, 261, 2211, 18, 2433, 4478, 422, 446, 13, 288, 13491, 333, 18, 2433, 4478, 273, 394, 1124, 6934, 2170, 12, 22, 1769, 10792, 289, 10792, 514, 498, 273, 279, 18, 24805, 2932, 2433, 8863, 10792, 309, 261, 856, 480, 446, 13, 2 ]
Vector refPos = getPositionsInRange(this.positions, where, this.content.length + nitems - where); Iterator iter = refPos.iterator();
if (marks != null) { Iterator iter = marks.iterator();
public UndoableEdit remove(int where, int nitems) throws BadLocationException { checkLocation(where, nitems + 1); char[] temp = new char[(this.content.length - nitems)]; this.count = this.count - nitems; RemoveUndo rundo = new RemoveUndo(where, new String(this.content, where, nitems)); // Copy array. System.arraycopy(this.content, 0, temp, 0, where); System.arraycopy(this.content, where + nitems, temp, where, this.content.length - where - nitems); this.content = new char[temp.length]; // Then copy the result in the original char array. System.arraycopy(temp, 0, this.content, 0, this.content.length); // Move all the positions. Vector refPos = getPositionsInRange(this.positions, where, this.content.length + nitems - where); Iterator iter = refPos.iterator(); while (iter.hasNext()) { StickyPosition p = (StickyPosition)iter.next(); int result = p.getOffset() - nitems; p.setOffset(result); if (result < 0) this.positions.remove(p); } return rundo; }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/ba862f89183b5347853381927a04e1e399fae5db/StringContent.java/clean/core/src/classpath/javax/javax/swing/text/StringContent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1351, 2896, 429, 4666, 1206, 12, 474, 1625, 16, 509, 290, 3319, 13, 1216, 6107, 2735, 503, 225, 288, 565, 866, 2735, 12, 6051, 16, 290, 3319, 397, 404, 1769, 565, 1149, 8526, 1906, 273, 394, 1149, 63, 12, 2211, 18, 1745, 18, 2469, 300, 290, 3319, 13, 15533, 565, 333, 18, 1883, 273, 333, 18, 1883, 300, 290, 3319, 31, 565, 3581, 31224, 436, 31226, 273, 394, 3581, 31224, 12, 6051, 16, 394, 514, 12, 2211, 18, 1745, 16, 1625, 16, 540, 290, 3319, 10019, 565, 368, 5631, 526, 18, 565, 2332, 18, 1126, 3530, 12, 2211, 18, 1745, 16, 374, 16, 1906, 16, 374, 16, 1625, 1769, 565, 2332, 18, 1126, 3530, 12, 2211, 18, 1745, 16, 1625, 397, 290, 3319, 16, 1906, 16, 1625, 16, 540, 333, 18, 1745, 18, 2469, 300, 1625, 300, 290, 3319, 1769, 565, 333, 18, 1745, 273, 394, 1149, 63, 5814, 18, 2469, 15533, 565, 368, 9697, 1610, 326, 563, 316, 326, 2282, 1149, 526, 18, 565, 2332, 18, 1126, 3530, 12, 5814, 16, 374, 16, 333, 18, 1745, 16, 374, 16, 333, 18, 1745, 18, 2469, 1769, 565, 368, 9933, 777, 326, 6865, 18, 565, 5589, 1278, 1616, 273, 336, 11024, 25277, 12, 2211, 18, 12388, 16, 1625, 16, 540, 333, 18, 1745, 18, 2469, 397, 290, 3319, 300, 1625, 1769, 565, 4498, 1400, 273, 1278, 1616, 18, 9838, 5621, 565, 1323, 261, 2165, 18, 5332, 2134, 10756, 1377, 288, 3639, 934, 13055, 2555, 293, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1351, 2896, 429, 4666, 1206, 12, 474, 1625, 16, 509, 290, 3319, 13, 1216, 6107, 2735, 503, 225, 288, 565, 866, 2735, 12, 6051, 16, 290, 3319, 397, 404, 1769, 565, 1149, 8526, 1906, 273, 394, 1149, 63, 12, 2211, 18, 1745, 18, 2469, 300, 290, 3319, 13, 15533, 565, 333, 18, 1883, 273, 333, 18, 1883, 300, 290, 3319, 31, 565, 3581, 31224, 436, 31226, 273, 394, 3581, 31224, 12, 6051, 16, 394, 514, 12, 2211, 18, 1745, 16, 1625, 16, 540, 290, 3319, 10019, 565, 368, 5631, 526, 18, 565, 2332, 18, 1126, 3530, 12, 2211, 18, 1745, 16, 374, 16, 1906, 16, 374, 16, 1625, 1769, 565, 2332, 18, 1126, 3530, 12, 2211, 18, 2 ]
+ ( (DesignElementHandle) firstSelectedElement ).getDefn( ) .getDisplayName( ) );
+ ( (DesignElementHandle) firstSelectedElement ) .getDefn( ).getDisplayName( ) );
public void buildContextMenu( IMenuManager menuManager ) { GEFActionConstants.addStandardActionGroups( menuManager ); Object firstSelectedElement = getFirstElement( ); Object selectedElements = getSelectedElement( ); Object multiSelection = getMultiSelectedElement( ); // special for dealing with multi selected elements (items). if ( isMutilSelection( multiSelection ) ) { menuManager.appendToGroup( GEFActionConstants.GROUP_UNDO, getAction( ActionFactory.UNDO.getId( ) ) ); menuManager.appendToGroup( GEFActionConstants.GROUP_UNDO, getAction( ActionFactory.REDO.getId( ) ) ); menuManager.appendToGroup( GEFActionConstants.GROUP_COPY, new CutAction( selectedElements ) ); menuManager.appendToGroup( GEFActionConstants.GROUP_COPY, new CopyAction( selectedElements ) ); menuManager.appendToGroup( GEFActionConstants.GROUP_COPY, new PasteAction( selectedElements ) ); menuManager.appendToGroup( GEFActionConstants.GROUP_COPY, new DeleteAction( selectedElements ) ); if ( isRootElementHandleClass( multiSelection ) ) { createInsertElementMenu( menuManager, GEFActionConstants.GROUP_EDIT ); } if ( isListHandleCalss( multiSelection ) ) { IAction action = getAction( CreatePlaceHolderPartAction.ID ); menuManager.appendToGroup( GEFActionConstants.GROUP_EDIT, action ); } createStyleMenu( menuManager, GEFActionConstants.GROUP_REST ); if ( Policy.TRACING_MENU_SHOW ) { System.out.println( "Menu(for Editor) >> Shows for multi-selcetion." ); //$NON-NLS-1$ } } // ----------------------------------------------------------------- else if ( firstSelectedElement instanceof DesignElementHandle ) { menuManager.appendToGroup( GEFActionConstants.GROUP_UNDO, getAction( ActionFactory.UNDO.getId( ) ) ); menuManager.appendToGroup( GEFActionConstants.GROUP_UNDO, getAction( ActionFactory.REDO.getId( ) ) ); menuManager.appendToGroup( GEFActionConstants.GROUP_COPY, new CutAction( selectedElements ) ); menuManager.appendToGroup( GEFActionConstants.GROUP_COPY, new CopyAction( selectedElements ) ); menuManager.appendToGroup( GEFActionConstants.GROUP_COPY, new PasteAction( selectedElements ) ); createStyleMenu( menuManager, GEFActionConstants.GROUP_REST ); if ( ( (IStructuredSelection) getSelection( ) ).size( ) == 1 ) { Object element = ( (IStructuredSelection) getSelection( ) ).getFirstElement( ); if ( element instanceof LabelEditPart || element instanceof ImageEditPart ) { IAction action = getAction( GEFActionConstants.DIRECT_EDIT ); action.setAccelerator( SWT.F2 ); if ( element instanceof DataEditPart ) { action.setText( Messages.getString( "SchematicContextMenuProvider.ActionText.editData" ) ); //$NON-NLS-1$ } else { action.setText( Messages.getString( "SchematicContextMenuProvider.ActionText.editLabel" ) ); //$NON-NLS-1$ } menuManager.appendToGroup( GEFActionConstants.GROUP_EDIT, action ); } if ( firstSelectedElement instanceof ReportItemHandle ) { IAction action = getAction( CreatePlaceHolderPartAction.ID ); menuManager.appendToGroup( GEFActionConstants.GROUP_EDIT, action ); action = getAction( RevertToReportItemPartAction.ID ); menuManager.appendToGroup( GEFActionConstants.GROUP_EDIT, action ); action = getAction( RevertToTemplatePartAction.ID ); menuManager.appendToGroup( GEFActionConstants.GROUP_EDIT, action ); } if ( firstSelectedElement instanceof TemplateReportItemHandle ) { IAction action = getAction( RevertToReportItemPartAction.ID ); menuManager.appendToGroup( GEFActionConstants.GROUP_EDIT, action ); } } if ( firstSelectedElement instanceof RowHandle ) { if ( getRowHandles( ).size( ) != 0 ) { MenuManager insertMenu = new MenuManager( INSERT_MENU_ITEM_TEXT ); MenuManager rowMenu = new MenuManager( INSERT_ROW_MENU_ITEM_TEXT ); rowMenu.add( getAction( InsertRowAboveAction.ID ) ); rowMenu.add( getAction( InsertRowBelowAction.ID ) ); RowHandle row = (RowHandle) getRowHandles( ).get( 0 ); if ( !( row.getContainer( ) instanceof GridHandle ) ) { insertMenu.add( getAction( IncludeHeaderAction.ID ) ); insertMenu.add( getAction( IncludeDetailAction.ID ) ); insertMenu.add( getAction( IncludeFooterAction.ID ) ); } insertMenu.add( rowMenu ); menuManager.appendToGroup( GEFActionConstants.GROUP_EDIT, insertMenu ); } // delete row action. menuManager.appendToGroup( GEFActionConstants.GROUP_COPY, getAction( DeleteRowAction.ID ) ); menuManager.appendToGroup( GEFActionConstants.GROUP_EDIT, getAction( MergeAction.ID ) ); menuManager.appendToGroup( GEFActionConstants.GROUP_EDIT, getAction( SplitAction.ID ) ); } else if ( firstSelectedElement instanceof ColumnHandle ) { menuManager.appendToGroup( GEFActionConstants.GROUP_EDIT, new InsertPasteColumnAction( selectedElements ) ); if ( getColumnHandles( ).size( ) != 0 ) { MenuManager subMenu = new MenuManager( INSERT_MENU_ITEM_TEXT ); subMenu.add( getAction( InsertColumnRightAction.ID ) ); subMenu.add( getAction( InsertColumnLeftAction.ID ) ); menuManager.appendToGroup( GEFActionConstants.GROUP_EDIT, subMenu ); } // delete column action. menuManager.appendToGroup( GEFActionConstants.GROUP_COPY, getAction( DeleteColumnAction.ID ) ); menuManager.appendToGroup( GEFActionConstants.GROUP_EDIT, getAction( MergeAction.ID ) ); menuManager.appendToGroup( GEFActionConstants.GROUP_EDIT, getAction( SplitAction.ID ) ); } else if ( firstSelectedElement instanceof CellHandle ) { createInsertElementMenu( menuManager, GEFActionConstants.GROUP_EDIT ); menuManager.appendToGroup( GEFActionConstants.GROUP_EDIT, getAction( MergeAction.ID ) ); menuManager.appendToGroup( GEFActionConstants.GROUP_EDIT, getAction( SplitAction.ID ) ); // delete action in cell menuManager.appendToGroup( GEFActionConstants.GROUP_COPY, new DeleteAction( selectedElements ) ); } else { // common delete action menuManager.appendToGroup( GEFActionConstants.GROUP_COPY, new DeleteAction( selectedElements ) ); } if ( Policy.TRACING_MENU_SHOW ) { System.out.println( "Menu(for Editor) >> Shows for " //$NON-NLS-1$ + ( (DesignElementHandle) firstSelectedElement ).getDefn( ) .getDisplayName( ) ); } } else if ( firstSelectedElement instanceof SlotHandle ) { menuManager.appendToGroup( GEFActionConstants.GROUP_UNDO, getAction( ActionFactory.UNDO.getId( ) ) ); menuManager.appendToGroup( GEFActionConstants.GROUP_UNDO, getAction( ActionFactory.REDO.getId( ) ) ); menuManager.appendToGroup( GEFActionConstants.GROUP_COPY, new CutAction( selectedElements ) ); menuManager.appendToGroup( GEFActionConstants.GROUP_COPY, new CopyAction( selectedElements ) ); menuManager.appendToGroup( GEFActionConstants.GROUP_COPY, new PasteAction( selectedElements ) ); menuManager.appendToGroup( GEFActionConstants.GROUP_COPY, new DeleteAction( selectedElements ) ); createInsertElementMenu( menuManager, GEFActionConstants.GROUP_EDIT ); if ( Policy.TRACING_MENU_SHOW ) { System.out.println( "Menu(for Editor) >> Shows for the slot " //$NON-NLS-1$ + ( (SlotHandle) firstSelectedElement ).getSlotID( ) + " of " //$NON-NLS-1$ + ( (SlotHandle) firstSelectedElement ).getElementHandle( ) .getDefn( ) .getDisplayName( ) ); } } else { // } if ( !getTableEditParts( ).isEmpty( ) ) { createInsertGroupMenu( menuManager, GEFActionConstants.GROUP_ADD ); menuManager.appendToGroup( GEFActionConstants.GROUP_ADD, getAction( DeleteTableGroupAction.ID ) ); if ( getTableEditParts( ).size( ) == 1 ) { createEditGroupMenu( menuManager, GEFActionConstants.GROUP_ADD ); Separator separator = new Separator( EditBindingAction.ID ); menuManager.add( separator ); menuManager.appendToGroup( EditBindingAction.ID, getAction( EditBindingAction.ID ) ); } } if ( !getListEditParts( ).isEmpty( ) ) { createInsertGroupMenu( menuManager, GEFActionConstants.GROUP_ADD ); menuManager.appendToGroup( GEFActionConstants.GROUP_ADD, getAction( DeleteListGroupAction.ID ) ); if ( getListEditParts( ).size( ) == 1 ) { createEditGroupMenu( menuManager, GEFActionConstants.GROUP_ADD ); } } if ( getElements( ).size( ) == 1 || isMutilSelection( multiSelection ) ) { if ( firstSelectedElement instanceof DesignElementHandle ) { String elementName = ( (DesignElementHandle) firstSelectedElement ).getDefn( ) .getName( ); IMenuBuilder menuBuilder = ExtensionPointManager.getInstance( ) .getMenuBuilder( elementName ); if ( menuBuilder != null ) { menuBuilder.buildMenu( menuManager, getElements( ) ); } } } }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/e2cfefeda592f2030e7f1600e05d1ce18b6d2faf/SchematicContextMenuProvider.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/schematic/providers/SchematicContextMenuProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1361, 27315, 12, 467, 4599, 1318, 3824, 1318, 262, 202, 95, 202, 202, 7113, 42, 1803, 2918, 18, 1289, 8336, 1803, 3621, 12, 3824, 1318, 11272, 202, 202, 921, 1122, 7416, 1046, 273, 7521, 1046, 12, 11272, 202, 202, 921, 3170, 3471, 273, 16625, 1046, 12, 11272, 202, 202, 921, 3309, 6233, 273, 31863, 7416, 1046, 12, 11272, 202, 202, 759, 4582, 364, 21964, 598, 3309, 3170, 2186, 261, 3319, 2934, 202, 202, 430, 261, 15707, 1367, 6233, 12, 3309, 6233, 262, 262, 202, 202, 95, 1082, 202, 5414, 1318, 18, 6923, 774, 1114, 12, 17788, 42, 1803, 2918, 18, 8468, 67, 2124, 3191, 16, 6862, 202, 588, 1803, 12, 4382, 1733, 18, 2124, 3191, 18, 26321, 12, 262, 262, 11272, 1082, 202, 5414, 1318, 18, 6923, 774, 1114, 12, 17788, 42, 1803, 2918, 18, 8468, 67, 2124, 3191, 16, 6862, 202, 588, 1803, 12, 4382, 1733, 18, 862, 3191, 18, 26321, 12, 262, 262, 11272, 1082, 202, 5414, 1318, 18, 6923, 774, 1114, 12, 17788, 42, 1803, 2918, 18, 8468, 67, 24875, 16, 6862, 202, 2704, 385, 322, 1803, 12, 3170, 3471, 262, 11272, 1082, 202, 5414, 1318, 18, 6923, 774, 1114, 12, 17788, 42, 1803, 2918, 18, 8468, 67, 24875, 16, 6862, 202, 2704, 5631, 1803, 12, 3170, 3471, 262, 11272, 1082, 202, 5414, 1318, 18, 6923, 774, 1114, 12, 17788, 42, 1803, 2918, 18, 8468, 67, 24875, 16, 6862, 202, 2704, 453, 14725, 1803, 12, 3170, 3471, 262, 11272, 1082, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1361, 27315, 12, 467, 4599, 1318, 3824, 1318, 262, 202, 95, 202, 202, 7113, 42, 1803, 2918, 18, 1289, 8336, 1803, 3621, 12, 3824, 1318, 11272, 202, 202, 921, 1122, 7416, 1046, 273, 7521, 1046, 12, 11272, 202, 202, 921, 3170, 3471, 273, 16625, 1046, 12, 11272, 202, 202, 921, 3309, 6233, 273, 31863, 7416, 1046, 12, 11272, 202, 202, 759, 4582, 364, 21964, 598, 3309, 3170, 2186, 261, 3319, 2934, 202, 202, 430, 261, 15707, 1367, 6233, 12, 3309, 6233, 262, 262, 202, 202, 95, 1082, 202, 5414, 1318, 18, 6923, 774, 1114, 12, 17788, 42, 1803, 2918, 18, 8468, 67, 2124, 3191, 16, 6862, 202, 588, 1803, 12, 4382, 1733, 18, 2124, 3191, 2 ]
assertEquals("", new ToStringBuilder(null, null).toString());
assertEquals("<null>", new ToStringBuilder(null, null).toString());
public void testConstructorEx2() { assertEquals("", new ToStringBuilder(null, null).toString()); new ToStringBuilder(this.base, null).toString(); }
4554 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4554/8e45d583ee93d357c0949320da79f3d4a4596aa5/ToStringBuilderTest.java/clean/src/test/org/apache/commons/lang/builder/ToStringBuilderTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 6293, 424, 22, 1435, 288, 3639, 1815, 8867, 2932, 32, 2011, 2984, 16, 394, 2974, 21253, 12, 2011, 16, 446, 2934, 10492, 10663, 3639, 394, 2974, 21253, 12, 2211, 18, 1969, 16, 446, 2934, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 6293, 424, 22, 1435, 288, 3639, 1815, 8867, 2932, 32, 2011, 2984, 16, 394, 2974, 21253, 12, 2011, 16, 446, 2934, 10492, 10663, 3639, 394, 2974, 21253, 12, 2211, 18, 1969, 16, 446, 2934, 10492, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (a < 0)
while (a < start)
public boolean containsAngle(double a) { double start = getAngleStart(); double end = start + getAngleExtent(); start %= 360; if (start < 0) start += 360; end %= 360; if (end < 0) end += 360; a %= 360; if (a < 0) a += 360; return a >= start && a <= end; }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/560cf787ab92cba97cf57ce7b258e72947e5efbc/Arc2D.java/clean/core/src/classpath/java/java/awt/geom/Arc2D.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 1914, 8467, 12, 9056, 279, 13, 225, 288, 565, 1645, 787, 273, 336, 8467, 1685, 5621, 565, 1645, 679, 273, 787, 397, 336, 8467, 17639, 5621, 565, 787, 30582, 12360, 31, 565, 309, 261, 1937, 411, 374, 13, 1377, 787, 1011, 12360, 31, 565, 679, 30582, 12360, 31, 565, 309, 261, 409, 411, 374, 13, 1377, 679, 1011, 12360, 31, 565, 279, 30582, 12360, 31, 565, 1323, 261, 69, 411, 787, 13, 1377, 279, 1011, 12360, 31, 565, 327, 279, 1545, 787, 597, 279, 1648, 679, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 1914, 8467, 12, 9056, 279, 13, 225, 288, 565, 1645, 787, 273, 336, 8467, 1685, 5621, 565, 1645, 679, 273, 787, 397, 336, 8467, 17639, 5621, 565, 787, 30582, 12360, 31, 565, 309, 261, 1937, 411, 374, 13, 1377, 787, 1011, 12360, 31, 565, 679, 30582, 12360, 31, 565, 309, 261, 409, 411, 374, 13, 1377, 679, 1011, 12360, 31, 565, 279, 30582, 12360, 31, 565, 1323, 261, 69, 411, 787, 13, 1377, 279, 1011, 12360, 31, 565, 327, 279, 1545, 787, 597, 279, 1648, 679, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
alertNode.addChild("#", NEVER_CONN_START.replace("{NEVER_CONN}", Integer.toString(neverConn)));
alertNode.addChild("#", replace(NEVER_CONN_START, "{NEVER_CONN}", Integer.toString(neverConn)));
public HTMLNode getHTMLText() { HTMLNode alertNode = new HTMLNode("div"); int disconnected = peers - conns; if (peers == 0) { if(n.isTestnetEnabled()) alertNode.addChild("#", NO_PEERS_TESTNET); else alertNode.addChild("#", NO_PEERS_DARKNET); } else if (conns == 0) { alertNode.addChild("#", NO_CONNS); } else if (conns == 1) { alertNode.addChild("#", ONE_CONN); } else if (conns == 2) { alertNode.addChild("#", TWO_CONNS); } else if (neverConn > MAX_NEVER_CONNECTED_PEER_ALERT_THRESHOLD) { alertNode.addChild("#", NEVER_CONN_START.replace("{NEVER_CONN}", Integer.toString(neverConn))); alertNode.addChild(NEVER_CONN_MIDDLE_NODE()); alertNode.addChild("#", NEVER_CONN_END.replace("{NEVER_CONN}", Integer.toString(neverConn))); } else if ((peers - conns) > MAX_DISCONN_PEER_ALERT_THRESHOLD) { alertNode.addChild("#", DISCONNECTED.replace("{DISCONNECTED}", Integer.toString(disconnected))); } else if (conns > MAX_CONN_ALERT_THRESHOLD) { alertNode.addChild("#", TOO_MANY_CONNECTIONS.replace("{CONNS}", Integer.toString(conns))); } else if (peers > MAX_PEER_ALERT_THRESHOLD) { alertNode.addChild("#", TOO_MANY_PEERS.replace("{PEERS}", Integer.toString(peers))); } else if (n.bwlimitDelayAlertRelevant && (bwlimitDelayTime > Node.MAX_BWLIMIT_DELAY_TIME_ALERT_THRESHOLD)) { alertNode.addChild("#", TOO_HIGH_BWLIMITDELAYTIME.replace("{BWLIMIT_DELAY_TIME}", Integer.toString(bwlimitDelayTime))); } else if (n.nodeAveragePingAlertRelevant && (nodeAveragePingTime > Node.MAX_NODE_AVERAGE_PING_TIME_ALERT_THRESHOLD)) { alertNode.addChild("#", TOO_HIGH_PING.replace("{PING_TIME}", Integer.toString(bwlimitDelayTime))); } else if (oldestNeverConnectedPeerAge > MAX_OLDEST_NEVER_CONNECTED_PEER_AGE_ALERT_THRESHOLD) { alertNode.addChild("#", NEVER_CONNECTED_TWO_WEEKS); } else throw new IllegalArgumentException("not valid"); return alertNode; }
50619 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50619/89258c127cb3b0f73aa57374b50b6d35a02ac021/PeerManagerUserAlert.java/clean/src/freenet/node/useralerts/PeerManagerUserAlert.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3982, 907, 336, 4870, 1528, 1435, 288, 202, 202, 4870, 907, 6881, 907, 273, 394, 3982, 907, 2932, 2892, 8863, 202, 202, 474, 17853, 273, 10082, 300, 18976, 31, 202, 202, 430, 261, 30502, 422, 374, 13, 288, 1082, 202, 430, 12, 82, 18, 291, 4709, 2758, 1526, 10756, 9506, 202, 11798, 907, 18, 1289, 1763, 2932, 7, 3113, 3741, 67, 1423, 11367, 67, 16961, 14843, 1769, 1082, 202, 12107, 9506, 202, 11798, 907, 18, 1289, 1763, 2932, 7, 3113, 3741, 67, 1423, 11367, 67, 40, 9584, 14843, 1769, 3196, 202, 97, 469, 309, 261, 591, 2387, 422, 374, 13, 288, 1082, 202, 11798, 907, 18, 1289, 1763, 2932, 7, 3113, 3741, 67, 2248, 3156, 1769, 202, 202, 97, 469, 309, 261, 591, 2387, 422, 404, 13, 288, 1082, 202, 11798, 907, 18, 1289, 1763, 2932, 7, 3113, 15623, 67, 27733, 1769, 202, 202, 97, 469, 309, 261, 591, 2387, 422, 576, 13, 288, 1082, 202, 11798, 907, 18, 1289, 1763, 2932, 7, 3113, 24722, 51, 67, 2248, 3156, 1769, 202, 202, 97, 469, 309, 261, 4644, 502, 3543, 405, 4552, 67, 5407, 2204, 67, 29011, 67, 1423, 654, 67, 1013, 11539, 67, 23840, 13, 288, 1082, 202, 11798, 907, 18, 1289, 1763, 2932, 7, 3113, 12901, 2204, 67, 27733, 67, 7570, 18, 2079, 2932, 95, 5407, 2204, 67, 27733, 1532, 16, 2144, 18, 10492, 12, 4644, 502, 3543, 3719, 1769, 1082, 202, 11798, 907, 18, 1289, 1763, 12, 5407, 2204, 67, 27733, 67, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3982, 907, 336, 4870, 1528, 1435, 288, 202, 202, 4870, 907, 6881, 907, 273, 394, 3982, 907, 2932, 2892, 8863, 202, 202, 474, 17853, 273, 10082, 300, 18976, 31, 202, 202, 430, 261, 30502, 422, 374, 13, 288, 1082, 202, 430, 12, 82, 18, 291, 4709, 2758, 1526, 10756, 9506, 202, 11798, 907, 18, 1289, 1763, 2932, 7, 3113, 3741, 67, 1423, 11367, 67, 16961, 14843, 1769, 1082, 202, 12107, 9506, 202, 11798, 907, 18, 1289, 1763, 2932, 7, 3113, 3741, 67, 1423, 11367, 67, 40, 9584, 14843, 1769, 3196, 202, 97, 469, 309, 261, 591, 2387, 422, 374, 13, 288, 1082, 202, 11798, 907, 18, 1289, 1763, 2932, 7, 3113, 3741, 67, 2248, 3156, 1769, 2 ]
public void init (ChannelConfig chConfig) {}
public void init (ChannelConfig chConfig) {this.chConfig = chConfig;}
public void init (ChannelConfig chConfig) {}
24959 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/24959/01c21dcb2efe47440ca901bbf760f68f438d09e9/CBookmarks.java/clean/source/org/jasig/portal/channels/CBookmarks.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1208, 261, 2909, 809, 462, 809, 13, 288, 2211, 18, 343, 809, 273, 462, 809, 31, 97, 282, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1208, 261, 2909, 809, 462, 809, 13, 288, 2211, 18, 343, 809, 273, 462, 809, 31, 97, 282, 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 ]
synchronized(subscriptionListeners){ Iterator listeners = subscriptionListeners.iterator();
Iterator listeners = null;
void fireContactPropertyChangeEvent( String eventID, ContactIcqImpl sourceContact, Object oldValue, Object newValue) { ContactPropertyChangeEvent evt = new ContactPropertyChangeEvent(sourceContact, eventID , oldValue, newValue); logger.debug("Dispatching a Contact Property Change Event to" +subscriptionListeners.size() + " listeners. Evt="+evt); synchronized(subscriptionListeners){ Iterator listeners = subscriptionListeners.iterator(); while (listeners.hasNext()) { SubscriptionListener listener = (SubscriptionListener) listeners.next(); listener.contactModified(evt); } } }
43455 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/43455/4b7af66795876f56cf66335081d9d374016ece8d/OperationSetPersistentPresenceIcqImpl.java/buggy/src/net/java/sip/communicator/impl/protocol/icq/OperationSetPersistentPresenceIcqImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 4452, 6567, 1396, 20930, 12, 514, 9079, 871, 734, 16, 29159, 13329, 45, 71, 85, 2828, 4202, 1084, 6567, 16, 29159, 1033, 9079, 11144, 16, 29159, 1033, 9079, 6129, 13, 565, 288, 3639, 13329, 1396, 20930, 6324, 273, 5411, 394, 13329, 1396, 20930, 12, 3168, 6567, 16, 871, 734, 21394, 269, 11144, 16, 6129, 1769, 3639, 1194, 18, 4148, 2932, 5325, 310, 279, 13329, 4276, 7576, 2587, 358, 6, 5397, 397, 11185, 5583, 18, 1467, 1435, 397, 315, 4679, 18, 512, 11734, 1546, 15, 73, 11734, 1769, 3639, 3852, 12, 11185, 5583, 15329, 5411, 4498, 4679, 273, 4915, 5583, 18, 9838, 5621, 5411, 1323, 261, 16072, 18, 5332, 2134, 10756, 5411, 288, 7734, 12132, 2223, 2991, 273, 10792, 261, 6663, 2223, 13, 4679, 18, 4285, 5621, 7734, 2991, 18, 8994, 4575, 12, 73, 11734, 1769, 5411, 289, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 4452, 6567, 1396, 20930, 12, 514, 9079, 871, 734, 16, 29159, 13329, 45, 71, 85, 2828, 4202, 1084, 6567, 16, 29159, 1033, 9079, 11144, 16, 29159, 1033, 9079, 6129, 13, 565, 288, 3639, 13329, 1396, 20930, 6324, 273, 5411, 394, 13329, 1396, 20930, 12, 3168, 6567, 16, 871, 734, 21394, 269, 11144, 16, 6129, 1769, 3639, 1194, 18, 4148, 2932, 5325, 310, 279, 13329, 4276, 7576, 2587, 358, 6, 5397, 397, 11185, 5583, 18, 1467, 1435, 397, 315, 4679, 18, 512, 11734, 1546, 15, 73, 11734, 1769, 3639, 3852, 12, 11185, 5583, 15329, 5411, 4498, 4679, 273, 4915, 5583, 18, 9838, 5621, 5411, 1323, 261, 16072, 18, 5332, 2134, 10756, 5411, 288, 7734, 12132, 2223, 2991, 273, 2 ]
AST __t2037 = _t; AST tmp2193_AST_in = (AST)_t;
AST __t2040 = _t; AST tmp2196_AST_in = (AST)_t;
public final void spacephrase(AST _t) throws RecognitionException { AST spacephrase_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t2037 = _t; AST tmp2193_AST_in = (AST)_t; match(_t,SPACE); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LEFTPAREN: { funargs(_t); _t = _retTree; break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t2037; _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, 3476, 9429, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 3476, 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, 3462, 6418, 273, 389, 88, 31, 202, 202, 9053, 1853, 22, 3657, 23, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 6616, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 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, 9686, 15111, 30, 202, 202, 95, 1082, 202, 12125, 1968, 24899, 88, 1769, 1082, 202, 67, 88, 273, 389, 1349, 2471, 31, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 890, 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, 67, 88, 273, 1001, 88, 3462, 6418, 31, 202, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 202, 202, 67, 1349, 2471, 273, 389, 88, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 3476, 9429, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 3476, 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, 3462, 6418, 273, 389, 88, 31, 202, 202, 9053, 1853, 22, 3657, 23, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 6616, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 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, 2 ]
};
}
void createStyledTextStyleGroup () { final Display display = controlGroup.getDisplay (); styledTextStyleGroup = new Group (controlGroup, SWT.NONE); styledTextStyleGroup.setText (ControlExample.getResourceString ("StyledText_Styles")); styledTextStyleGroup.setLayout (new GridLayout(5, false)); GridData data = new GridData (GridData.HORIZONTAL_ALIGN_FILL); data.horizontalSpan = 2; styledTextStyleGroup.setLayoutData (data); /* Get images */ boldImage = createBitmapImage (display, "bold"); italicImage = createBitmapImage (display, "italic"); redImage = createBitmapImage (display, "red"); yellowImage = createBitmapImage (display, "yellow"); /* Create controls to modify the StyledText */ Label label = new Label (styledTextStyleGroup, SWT.NONE); label.setText (ControlExample.getResourceString ("StyledText_Style_Instructions")); data = new GridData(GridData.FILL_HORIZONTAL); data.horizontalSpan = 5; label.setLayoutData(data); new Label (styledTextStyleGroup, SWT.NONE).setText (ControlExample.getResourceString ("Bold")); boldButton = new Button (styledTextStyleGroup, SWT.PUSH); boldButton.setImage (boldImage); boldButton.addSelectionListener(new SelectionAdapter () { public void widgetSelected (SelectionEvent e) { Point sel = styledText.getSelectionRange(); if ((sel == null) || (sel.y == 0)) return; StyleRange style; for (int i = sel.x; i<sel.x+sel.y; i++) { StyleRange range = styledText.getStyleRangeAtOffset(i); if (range == null) {style = new StyleRange(i, 1, null, null, SWT.BOLD);} else {style = new StyleRange(i, 1, range.foreground, range.background, range.fontStyle | SWT.BOLD);}; styledText.setStyleRange(style); } styledText.setSelectionRange(sel.x + sel.y, 0); } }); new Label (styledTextStyleGroup, SWT.NONE).setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); new Label (styledTextStyleGroup, SWT.NONE).setText (ControlExample.getResourceString ("Foreground_Style")); redButton = new Button (styledTextStyleGroup, SWT.PUSH); redButton.setImage (redImage); new Label (styledTextStyleGroup, SWT.NONE).setText (ControlExample.getResourceString ("Italic")); italicButton = new Button (styledTextStyleGroup, SWT.PUSH); italicButton.setImage (italicImage); italicButton.addSelectionListener(new SelectionAdapter () { public void widgetSelected (SelectionEvent e) { Point sel = styledText.getSelectionRange(); if ((sel == null) || (sel.y == 0)) return; StyleRange style; for (int i = sel.x; i<sel.x+sel.y; i++) { StyleRange range = styledText.getStyleRangeAtOffset(i); if (range == null) {style = new StyleRange(i, 1, null, null, SWT.ITALIC);} else {style = new StyleRange(i, 1, range.foreground, range.background, range.fontStyle | SWT.ITALIC);}; styledText.setStyleRange(style); } styledText.setSelectionRange(sel.x + sel.y, 0); } }); new Label (styledTextStyleGroup, SWT.NONE).setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); new Label (styledTextStyleGroup, SWT.NONE).setText (ControlExample.getResourceString ("Background_Style")); yellowButton = new Button (styledTextStyleGroup, SWT.PUSH); yellowButton.setImage (yellowImage); SelectionListener colorListener = new SelectionAdapter () { public void widgetSelected (SelectionEvent e) { Point sel = styledText.getSelectionRange(); if ((sel == null) || (sel.y == 0)) return; Color fg, bg; if (e.widget == redButton) { fg = display.getSystemColor (SWT.COLOR_RED); bg = null; } else if (e.widget == yellowButton) { fg = null; bg = display.getSystemColor (SWT.COLOR_YELLOW); } else { fg = bg = null; } StyleRange style; for (int i = sel.x; i<sel.x+sel.y; i++) { StyleRange range = styledText.getStyleRangeAtOffset(i); if (range == null) { style = new StyleRange(i, 1, fg, bg, SWT.NORMAL); } else { if (range.foreground != null) fg = range.foreground; if (range.background != null) bg = range.background; style = new StyleRange(i, 1, fg, bg, range.fontStyle); }; styledText.setStyleRange(style); } styledText.setSelectionRange(sel.x + sel.y, 0); }; }; redButton.addSelectionListener(colorListener); yellowButton.addSelectionListener(colorListener); yellowButton.addDisposeListener(new DisposeListener () { public void widgetDisposed (DisposeEvent e) { boldImage.dispose(); italicImage.dispose(); redImage.dispose(); yellowImage.dispose(); } }); }
12413 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12413/c2ce437a63d3b60125a283c15cfca323c2e2ec7b/StyledTextTab.java/clean/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/StyledTextTab.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 752, 24273, 1259, 1528, 2885, 1114, 1832, 288, 202, 202, 6385, 9311, 2562, 273, 3325, 1114, 18, 588, 4236, 261, 1769, 202, 202, 334, 93, 1259, 1528, 2885, 1114, 273, 394, 3756, 261, 7098, 1114, 16, 348, 8588, 18, 9826, 1769, 202, 202, 334, 93, 1259, 1528, 2885, 1114, 18, 542, 1528, 261, 3367, 10908, 18, 588, 1420, 780, 7566, 24273, 1259, 1528, 67, 9725, 7923, 1769, 202, 202, 334, 93, 1259, 1528, 2885, 1114, 18, 542, 3744, 261, 2704, 7145, 3744, 12, 25, 16, 629, 10019, 202, 202, 6313, 751, 501, 273, 394, 7145, 751, 261, 6313, 751, 18, 44, 20344, 67, 26439, 67, 29818, 1769, 202, 202, 892, 18, 18396, 6952, 273, 576, 31, 202, 202, 334, 93, 1259, 1528, 2885, 1114, 18, 542, 3744, 751, 261, 892, 1769, 9506, 202, 20308, 968, 4602, 1195, 202, 202, 16390, 2040, 273, 752, 12224, 2040, 261, 5417, 16, 315, 16390, 8863, 202, 202, 7053, 335, 2040, 273, 752, 12224, 2040, 261, 5417, 16, 315, 7053, 335, 8863, 202, 202, 1118, 2040, 273, 752, 12224, 2040, 261, 5417, 16, 315, 1118, 8863, 202, 202, 19227, 2040, 273, 752, 12224, 2040, 261, 5417, 16, 315, 19227, 8863, 9506, 202, 20308, 1788, 11022, 358, 5612, 326, 934, 93, 1259, 1528, 1195, 202, 202, 2224, 1433, 273, 394, 5287, 261, 334, 93, 1259, 1528, 2885, 1114, 16, 348, 8588, 18, 9826, 1769, 202, 202, 1925, 18, 542, 1528, 261, 3367, 10908, 18, 588, 1420, 780, 7566, 24273, 1259, 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, 6459, 752, 24273, 1259, 1528, 2885, 1114, 1832, 288, 202, 202, 6385, 9311, 2562, 273, 3325, 1114, 18, 588, 4236, 261, 1769, 202, 202, 334, 93, 1259, 1528, 2885, 1114, 273, 394, 3756, 261, 7098, 1114, 16, 348, 8588, 18, 9826, 1769, 202, 202, 334, 93, 1259, 1528, 2885, 1114, 18, 542, 1528, 261, 3367, 10908, 18, 588, 1420, 780, 7566, 24273, 1259, 1528, 67, 9725, 7923, 1769, 202, 202, 334, 93, 1259, 1528, 2885, 1114, 18, 542, 3744, 261, 2704, 7145, 3744, 12, 25, 16, 629, 10019, 202, 202, 6313, 751, 501, 273, 394, 7145, 751, 261, 6313, 751, 18, 44, 20344, 67, 26439, 67, 29818, 1769, 202, 202, 892, 18, 18396, 6952, 273, 576, 31, 2 ]
viewConsoleItemActionPerformed(evt);
loadBugsItemActionPerformed(evt);
public void actionPerformed(java.awt.event.ActionEvent evt) { viewConsoleItemActionPerformed(evt); }
7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/9e786b0d1a7e5b23874458bb460631bf7df21105/FindBugsFrame.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/gui/FindBugsFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 918, 26100, 12, 6290, 18, 2219, 88, 18, 2575, 18, 1803, 1133, 6324, 13, 288, 7734, 1262, 31559, 1180, 19449, 12, 73, 11734, 1769, 5411, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2398, 1071, 918, 26100, 12, 6290, 18, 2219, 88, 18, 2575, 18, 1803, 1133, 6324, 13, 288, 7734, 1262, 31559, 1180, 19449, 12, 73, 11734, 1769, 5411, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return (FilterRule) loadClass( (String) filter_el, "FilterRule");
return (FilterRule) loadClass( (String) filter_el, FilterRule.class);
protected FilterRule constructFilterRule(String mimeType) { Object filter_el = definitionMap.getMapElement(mimeType + AU_FILTER_SUFFIX); if (filter_el instanceof String) { return (FilterRule) loadClass( (String) filter_el, "FilterRule"); } else if (filter_el instanceof List) { if ( ( (List) filter_el).size() > 0) { return new DefinableFilterRule( (List) filter_el); } } return super.constructFilterRule(mimeType); }
8150 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8150/50e37e97a4b2e7cad04ad752a91f8e53c18a8468/DefinableArchivalUnit.java/buggy/src/org/lockss/plugin/definable/DefinableArchivalUnit.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 4008, 2175, 4872, 1586, 2175, 12, 780, 10707, 13, 288, 565, 1033, 1034, 67, 292, 273, 2379, 863, 18, 588, 863, 1046, 12, 19176, 3639, 397, 28235, 67, 11126, 67, 14964, 1769, 565, 309, 261, 2188, 67, 292, 1276, 514, 13, 288, 1377, 327, 261, 1586, 2175, 13, 16038, 12, 261, 780, 13, 1034, 67, 292, 16, 4008, 2175, 18, 1106, 1769, 565, 289, 565, 469, 309, 261, 2188, 67, 292, 1276, 987, 13, 288, 1377, 309, 261, 261, 261, 682, 13, 1034, 67, 292, 2934, 1467, 1435, 405, 374, 13, 288, 3639, 327, 394, 18003, 429, 1586, 2175, 12, 261, 682, 13, 1034, 67, 292, 1769, 1377, 289, 565, 289, 565, 327, 2240, 18, 10062, 1586, 2175, 12, 19176, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 282, 4750, 4008, 2175, 4872, 1586, 2175, 12, 780, 10707, 13, 288, 565, 1033, 1034, 67, 292, 273, 2379, 863, 18, 588, 863, 1046, 12, 19176, 3639, 397, 28235, 67, 11126, 67, 14964, 1769, 565, 309, 261, 2188, 67, 292, 1276, 514, 13, 288, 1377, 327, 261, 1586, 2175, 13, 16038, 12, 261, 780, 13, 1034, 67, 292, 16, 4008, 2175, 18, 1106, 1769, 565, 289, 565, 469, 309, 261, 2188, 67, 292, 1276, 987, 13, 288, 1377, 309, 261, 261, 261, 682, 13, 1034, 67, 292, 2934, 1467, 1435, 405, 374, 13, 288, 3639, 327, 394, 18003, 429, 1586, 2175, 12, 261, 682, 13, 1034, 67, 292, 1769, 1377, 289, 565, 289, 565, 327, 2240, 18, 10062, 1586, 2 ]
if (myValue.getClass().isArray() && other.getValue().getClass().isArray()) { return arrayEquals(other.getValue()); } else { return myKey.equals(other.getKey()) && myValue.equals(other.getValue()); } }
if (myValue.getClass().isArray() && other.getValue().getClass().isArray()) { return arrayEquals(other.getValue()); } else { return myKey.equals(other.getKey()) && myValue.equals(other.getValue()); } }
public boolean equals( Object o ) { if (!(o instanceof MapEntry)) { return false; } MapEntry other = (MapEntry)o; if (myValue.getClass().isArray() && other.getValue().getClass().isArray()) { return arrayEquals(other.getValue()); } else { return myKey.equals(other.getKey()) && myValue.equals(other.getValue()); } }
2796 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2796/a917aff361c58c31c5dce12a5e8052df6803dbe1/MapEntry.java/clean/jmock/core/src/org/jmock/expectation/MapEntry.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 1606, 12, 1033, 320, 262, 288, 202, 202, 430, 16051, 12, 83, 1276, 1635, 1622, 3719, 288, 1082, 202, 2463, 629, 31, 202, 202, 97, 202, 202, 863, 1622, 1308, 273, 261, 863, 1622, 13, 83, 31, 202, 202, 430, 261, 4811, 620, 18, 588, 797, 7675, 291, 1076, 1435, 597, 1308, 18, 24805, 7675, 588, 797, 7675, 291, 1076, 10756, 288, 1082, 202, 2463, 526, 8867, 12, 3011, 18, 24805, 10663, 202, 202, 97, 469, 288, 1082, 202, 2463, 3399, 653, 18, 14963, 12, 3011, 18, 588, 653, 10756, 597, 3399, 620, 18, 14963, 12, 3011, 18, 24805, 10663, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 482, 1250, 1606, 12, 1033, 320, 262, 288, 202, 202, 430, 16051, 12, 83, 1276, 1635, 1622, 3719, 288, 1082, 202, 2463, 629, 31, 202, 202, 97, 202, 202, 863, 1622, 1308, 273, 261, 863, 1622, 13, 83, 31, 202, 202, 430, 261, 4811, 620, 18, 588, 797, 7675, 291, 1076, 1435, 597, 1308, 18, 24805, 7675, 588, 797, 7675, 291, 1076, 10756, 288, 1082, 202, 2463, 526, 8867, 12, 3011, 18, 24805, 10663, 202, 202, 97, 469, 288, 1082, 202, 2463, 3399, 653, 18, 14963, 12, 3011, 18, 588, 653, 10756, 597, 3399, 620, 18, 14963, 12, 3011, 18, 24805, 10663, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
System.out.println(changeEvent.getState() + " " + d);
log.info(changeEvent.getState() + " " + d);
public void onSessionChanged(SessionChangeEvent changeEvent) { Session ses = (Session)changeEvent.getSource(); switch (changeEvent.getState()) { case STATE_CONNECTED: final String d = ses.getAllocDeviceName(); if (d != null) { System.out.println(changeEvent.getState() + " " + d); final int index = getIndexOfSession(ses);// System.out.println(" index of session " + index + " num frames " + desktop.getAllFrames().length); if (index == -1) return; Runnable tc = new Runnable () { public void run() { JInternalFrame[] frames = desktop.getAllFrames(); int id = ((MyInternalFrame)frames[index]).getInternalId(); frames[index].setTitle("#" + id + " " + d); } }; SwingUtilities.invokeLater(tc); } break; } }
4212 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4212/41959614f13a424f5e04ebb4ca1b8fee5af0f908/Gui5250MDIFrame.java/buggy/src/org/tn5250j/Gui5250MDIFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 603, 2157, 5033, 12, 2157, 20930, 2549, 1133, 13, 288, 1377, 3877, 24138, 273, 261, 2157, 13, 3427, 1133, 18, 588, 1830, 5621, 1377, 1620, 261, 3427, 1133, 18, 588, 1119, 10756, 288, 540, 648, 7442, 67, 29011, 30, 5411, 727, 514, 302, 273, 24138, 18, 588, 8763, 3654, 461, 5621, 5411, 309, 261, 72, 480, 446, 13, 288, 9079, 613, 18, 1376, 12, 3427, 1133, 18, 588, 1119, 1435, 397, 315, 315, 397, 302, 1769, 9079, 727, 509, 770, 273, 8088, 951, 2157, 12, 2420, 1769, 759, 9079, 2332, 18, 659, 18, 8222, 2932, 770, 434, 1339, 315, 397, 770, 397, 315, 818, 7793, 315, 397, 21304, 18, 588, 1595, 15162, 7675, 2469, 1769, 9079, 309, 261, 1615, 422, 300, 21, 13, 5375, 327, 31, 9079, 10254, 1715, 273, 394, 10254, 1832, 288, 5375, 1071, 918, 1086, 1435, 288, 5397, 804, 3061, 3219, 8526, 7793, 273, 21304, 18, 588, 1595, 15162, 5621, 5397, 509, 612, 273, 14015, 12062, 3061, 3219, 13, 10278, 63, 1615, 65, 2934, 588, 3061, 548, 5621, 5397, 7793, 63, 1615, 8009, 542, 4247, 2932, 17133, 397, 612, 397, 315, 315, 397, 302, 1769, 5375, 289, 9079, 289, 31, 9079, 26145, 11864, 18, 14407, 20607, 12, 5111, 1769, 5411, 289, 5411, 898, 31, 1377, 289, 282, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 918, 603, 2157, 5033, 12, 2157, 20930, 2549, 1133, 13, 288, 1377, 3877, 24138, 273, 261, 2157, 13, 3427, 1133, 18, 588, 1830, 5621, 1377, 1620, 261, 3427, 1133, 18, 588, 1119, 10756, 288, 540, 648, 7442, 67, 29011, 30, 5411, 727, 514, 302, 273, 24138, 18, 588, 8763, 3654, 461, 5621, 5411, 309, 261, 72, 480, 446, 13, 288, 9079, 613, 18, 1376, 12, 3427, 1133, 18, 588, 1119, 1435, 397, 315, 315, 397, 302, 1769, 9079, 727, 509, 770, 273, 8088, 951, 2157, 12, 2420, 1769, 759, 9079, 2332, 18, 659, 18, 8222, 2932, 770, 434, 1339, 315, 397, 770, 397, 315, 818, 7793, 315, 397, 21304, 18, 588, 1595, 15162, 7675, 2469, 1769, 9079, 2 ]
if(uploadFrom == null || uploadFrom.equalsIgnoreCase("direct")) {
if((uploadFrom == null) || uploadFrom.equalsIgnoreCase("direct")) {
public ClientPutMessage(SimpleFieldSet fs) throws MessageInvalidException { identifier = fs.get("Identifier"); if(identifier == null) throw new MessageInvalidException(ProtocolErrorMessage.MISSING_FIELD, "No Identifier", null); try { String u = fs.get("URI"); if(u == null) throw new MessageInvalidException(ProtocolErrorMessage.MISSING_FIELD, "No URI", identifier); uri = new FreenetURI(fs.get("URI")); } catch (MalformedURLException e) { throw new MessageInvalidException(ProtocolErrorMessage.URI_PARSE_ERROR, e.getMessage(), identifier); } global = Fields.stringToBool(fs.get("Global"), false); String verbosityString = fs.get("Verbosity"); if(verbosityString == null) verbosity = 0; else { try { verbosity = Integer.parseInt(verbosityString, 10); } catch (NumberFormatException e) { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing Verbosity field: "+e.getMessage(), identifier); } } contentType = fs.get("Metadata.ContentType"); String maxRetriesString = fs.get("MaxRetries"); if(maxRetriesString == null) // default to 0 maxRetries = 0; else { try { maxRetries = Integer.parseInt(maxRetriesString, 10); } catch (NumberFormatException e) { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing MaxSize field: "+e.getMessage(), identifier); } } getCHKOnly = Fields.stringToBool(fs.get("GetCHKOnly"), false); String priorityString = fs.get("PriorityClass"); if(priorityString == null) { // defaults to the one just below FProxy priorityClass = RequestStarter.IMMEDIATE_SPLITFILE_PRIORITY_CLASS; } else { try { priorityClass = Short.parseShort(priorityString, 10); if(priorityClass < RequestStarter.MAXIMUM_PRIORITY_CLASS || priorityClass > RequestStarter.MINIMUM_PRIORITY_CLASS) throw new MessageInvalidException(ProtocolErrorMessage.INVALID_FIELD, "Valid priorities are from "+RequestStarter.MAXIMUM_PRIORITY_CLASS+" to "+RequestStarter.MINIMUM_PRIORITY_CLASS, identifier); } catch (NumberFormatException e) { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing PriorityClass field: "+e.getMessage(), identifier); } } String uploadFrom = fs.get("UploadFrom"); if(uploadFrom == null || uploadFrom.equalsIgnoreCase("direct")) { uploadFromType = UPLOAD_FROM_DIRECT; String dataLengthString = fs.get("DataLength"); if(dataLengthString == null) throw new MessageInvalidException(ProtocolErrorMessage.MISSING_FIELD, "Need DataLength on a ClientPut", identifier); try { dataLength = Long.parseLong(dataLengthString, 10); } catch (NumberFormatException e) { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing DataLength field: "+e.getMessage(), identifier); } this.origFilename = null; redirectTarget = null; } else if(uploadFrom.equalsIgnoreCase("disk")) { uploadFromType = UPLOAD_FROM_DISK; String filename = fs.get("Filename"); if(filename == null) throw new MessageInvalidException(ProtocolErrorMessage.MISSING_FIELD, "Missing field Filename", identifier); File f = new File(filename); if(!(f.exists() && f.isFile() && f.canRead())) throw new MessageInvalidException(ProtocolErrorMessage.FILE_NOT_FOUND, null, identifier); dataLength = f.length(); FileBucket fileBucket = new FileBucket(f, true, false, false, false); this.bucket = fileBucket; this.origFilename = f; redirectTarget = null; } else if(uploadFrom.equalsIgnoreCase("redirect")) { uploadFromType = UPLOAD_FROM_REDIRECT; String target = fs.get("TargetURI"); if(target == null) throw new MessageInvalidException(ProtocolErrorMessage.MISSING_FIELD, "TargetURI missing but UploadFrom=redirect", identifier); try { redirectTarget = new FreenetURI(target); } catch (MalformedURLException e) { throw new MessageInvalidException(ProtocolErrorMessage.INVALID_FIELD, "Invalid TargetURI: "+e, identifier); } dataLength = 0; origFilename = null; bucket = null; } else throw new MessageInvalidException(ProtocolErrorMessage.INVALID_FIELD, "UploadFrom invalid or unrecognized: "+uploadFrom, identifier); dontCompress = Fields.stringToBool(fs.get("DontCompress"), false); String persistenceString = fs.get("Persistence"); if(persistenceString == null || persistenceString.equalsIgnoreCase("connection")) { // Default: persists until connection loss. persistenceType = ClientRequest.PERSIST_CONNECTION; } else if(persistenceString.equalsIgnoreCase("reboot")) { // Reports to client by name; persists over connection loss. // Not saved to disk, so dies on reboot. persistenceType = ClientRequest.PERSIST_REBOOT; } else if(persistenceString.equalsIgnoreCase("forever")) { // Same as reboot but saved to disk, persists forever. persistenceType = ClientRequest.PERSIST_FOREVER; } else { throw new MessageInvalidException(ProtocolErrorMessage.ERROR_PARSING_NUMBER, "Error parsing Persistence field: "+persistenceString, identifier); } clientToken = fs.get("ClientToken"); }
51738 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51738/ca136843ae9ecb30cadada58a33a5dc2cf8ad064/ClientPutMessage.java/buggy/src/freenet/node/fcp/ClientPutMessage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2445, 6426, 1079, 12, 5784, 974, 694, 2662, 13, 1216, 2350, 1941, 503, 288, 202, 202, 5644, 273, 2662, 18, 588, 2932, 3004, 8863, 202, 202, 430, 12, 5644, 422, 446, 13, 1082, 202, 12849, 394, 2350, 1941, 503, 12, 5752, 14935, 18, 19466, 67, 6776, 16, 315, 2279, 10333, 3113, 446, 1769, 202, 202, 698, 288, 1082, 202, 780, 582, 273, 2662, 18, 588, 2932, 3098, 8863, 1082, 202, 430, 12, 89, 422, 446, 13, 9506, 202, 12849, 394, 2350, 1941, 503, 12, 5752, 14935, 18, 19466, 67, 6776, 16, 315, 2279, 3699, 3113, 2756, 1769, 1082, 202, 1650, 273, 394, 478, 2842, 278, 3098, 12, 2556, 18, 588, 2932, 3098, 7923, 1769, 202, 202, 97, 1044, 261, 18695, 20160, 425, 13, 288, 1082, 202, 12849, 394, 2350, 1941, 503, 12, 5752, 14935, 18, 3098, 67, 21045, 67, 3589, 16, 425, 18, 24906, 9334, 2756, 1769, 202, 202, 97, 202, 202, 6347, 273, 7190, 18, 1080, 774, 7464, 12, 2556, 18, 588, 2932, 5160, 6, 3631, 629, 1769, 202, 202, 780, 11561, 780, 273, 2662, 18, 588, 2932, 30594, 8863, 202, 202, 430, 12, 16629, 8807, 780, 422, 446, 13, 1082, 202, 16629, 8807, 273, 374, 31, 202, 202, 12107, 288, 1082, 202, 698, 288, 9506, 202, 16629, 8807, 273, 2144, 18, 2670, 1702, 12, 16629, 8807, 780, 16, 1728, 1769, 1082, 202, 97, 1044, 261, 1854, 9291, 425, 13, 288, 9506, 202, 12849, 394, 2350, 1941, 503, 12, 5752, 14935, 18, 3589, 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, 2445, 6426, 1079, 12, 5784, 974, 694, 2662, 13, 1216, 2350, 1941, 503, 288, 202, 202, 5644, 273, 2662, 18, 588, 2932, 3004, 8863, 202, 202, 430, 12, 5644, 422, 446, 13, 1082, 202, 12849, 394, 2350, 1941, 503, 12, 5752, 14935, 18, 19466, 67, 6776, 16, 315, 2279, 10333, 3113, 446, 1769, 202, 202, 698, 288, 1082, 202, 780, 582, 273, 2662, 18, 588, 2932, 3098, 8863, 1082, 202, 430, 12, 89, 422, 446, 13, 9506, 202, 12849, 394, 2350, 1941, 503, 12, 5752, 14935, 18, 19466, 67, 6776, 16, 315, 2279, 3699, 3113, 2756, 1769, 1082, 202, 1650, 273, 394, 478, 2842, 278, 3098, 12, 2556, 18, 588, 2932, 3098, 7923, 1769, 202, 202, 2 ]
final float radius = 0.03f;
final float radius = 0.015f;
public static void main(String[] args) { SunflowAPI api = SunflowAPI.create(null); api.shader("ao", new AmbientOcclusionShader()); final float size = 5; final float radius = 0.03f; final int numFrames = 24 * 16; Display display = null; if (args.length == 0) { final int numParticles = 1000000; DLAParticleGrid grid = new DLAParticleGrid(new BoundingBox(size), numParticles, radius); grid.addParticle(0, 0, 0); // add a particle right in the center Timer timer = new Timer(); timer.start(); int delta = 100; double last = 0; for (int i = 1; i < numParticles; i++) { if (i % delta == 0) { timer.end(); double sec = timer.seconds(); if (sec - last < 5) delta *= 10; last = sec; sec = (sec / i) * (numParticles - i); UI.printInfo(Module.USER, "Simulating particle %8d (%s elapsed - %s remaining)...", i, timer, Timer.toString(sec)); } // start with a random seed on the boundary of the surface double rx = Math.random(); double ry = Math.random(); int side = (int) (rx * 6); rx = rx * 6 - side; float ox, oy, oz; switch (side) { case 0: ox = -size; oy = (float) (2 * size * rx - size); oz = (float) (2 * size * ry - size); break; case 1: ox = +size; oy = (float) (2 * size * rx - size); oz = (float) (2 * size * ry - size); break; case 2: oy = -size; oz = (float) (2 * size * rx - size); ox = (float) (2 * size * ry - size); break; case 3: oy = +size; oz = (float) (2 * size * rx - size); ox = (float) (2 * size * ry - size); break; case 4: oz = -size; ox = (float) (2 * size * rx - size); oy = (float) (2 * size * ry - size); break; case 5: default: oz = +size; ox = (float) (2 * size * rx - size); oy = (float) (2 * size * ry - size); break; } boolean stored = false; for (int iter = 0; iter < 1000000; iter++) { double s, a; double dx, dy, dz; do { dx = -1 + 2 * Math.random(); dy = -1 + 2 * Math.random(); s = (dx) * (dx) + (dy) * (dy); } while (s > 1.0); dz = -1 + 2 * s; a = 2 * Math.sqrt(1 - s); dx *= a; dy *= a; // bounce backwards off the bounds if (ox + dx < -size || ox + dx > +size) dx = -dx; if (oy + dy < -size || oy + dy > +size) dy = -dy; if (oz + dz < -size || oz + dz > +size) dz = -dz; if (!grid.isInside((float) (ox + dx), (float) (oy + dy), (float) (oz + dz))) { UI.printWarning(Module.USER, "Particle %d escaped bounds on iteration %d!", i, iter); UI.printWarning(Module.USER, "Particle pos: (%7.3f, %7.3f, %7.3f)", ox, oy, oz); UI.printWarning(Module.USER, "Particle dir: (%7.3f, %7.3f, %7.3f)", dx, dy, dz); UI.printWarning(Module.USER, "Particle dst: (%7.3f, %7.3f, %7.3f)", ox + dx, oy + dy, oz + dz); break; } Ray r = new Ray(ox, oy, oz, (float) dx, (float) dy, (float) dz); r.setMax(1); float t = grid.intersect(r); if (t > 0 && t < 1) { // found a hit! we can store the particle float px = (float) (ox + t * dx); float py = (float) (oy + t * dy); float pz = (float) (oz + t * dz); grid.addParticle(px, py, pz); stored = true; break; } else { ox += dx; oy += dy; oz += dz; } } if (!stored) UI.printWarning(Module.USER, "Particle %d couldn't be stored", i); } timer.end(); UI.printInfo(Module.USER, "Particle tracing took: %s", timer); UI.printInfo(Module.USER, "Writing particles to file ..."); try { FileOutputStream file = new FileOutputStream("/home/ckulla/Desktop/particles.dla"); DataOutputStream stream = new DataOutputStream(file); for (float p : grid.particles.trim()) stream.writeFloat(p); file.close(); } catch (FileNotFoundException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } UI.printInfo(Module.USER, "Writing particles to file done."); api.parameter("particles", "point", "vertex", grid.particles.trim()); api.parameter("num", grid.particles.getSize() / 3); api.parameter("radius", radius); api.geometry("particles.geo", new DLASurface()); display = new FrameDisplay(); } else if (args.length == 2 || args.length == 3) { String filename = args[0]; int frameNumber = Integer.parseInt(args[1]); UI.printInfo(Module.USER, "Loading particle file: %s", filename); int numParticles = (int) (new File(filename).length() / 12); int n = Math.min((numParticles + numFrames - 1) / numFrames * frameNumber, numParticles); try { File file = new File(filename); FileInputStream stream = new FileInputStream(filename); MappedByteBuffer map = stream.getChannel().map(FileChannel.MapMode.READ_ONLY, 0, file.length()); FloatBuffer buffer = map.asFloatBuffer(); float[] data = new float[buffer.capacity()]; for (int i = 0; i < data.length; i++) data[i] = buffer.get(i); stream.close(); api.parameter("particles", "point", "vertex", data); api.parameter("num", n); api.parameter("radius", radius); api.geometry("particles.geo", new DLASurface()); } catch (IOException e) { e.printStackTrace(); System.exit(1); } if (args.length > 2) display = new FileDisplay(args[2]); else display = new FrameDisplay(); } else if (args.length == 1) { String filename = args[0]; UI.printInfo(Module.USER, "Loading particle file: %s", filename); int numParticles = (int) (new File(filename).length() / 12); UI.printInfo(Module.USER, "Found %d particles ...", numParticles); try { File file = new File(filename); FileInputStream stream = new FileInputStream(filename); MappedByteBuffer map = stream.getChannel().map(FileChannel.MapMode.READ_ONLY, 0, file.length()); FloatBuffer buffer = map.asFloatBuffer(); float[] data = new float[buffer.capacity()]; for (int i = 0; i < data.length; i++) data[i] = buffer.get(i); stream.close(); api.parameter("particles", "point", "vertex", data); api.parameter("num", 1); api.parameter("radius", radius); api.geometry("particles.geo", new DLASurface()); } catch (IOException e) { e.printStackTrace(); System.exit(1); } api.shader("quick", new SimpleShader()); api.parameter("shaders", new String[] { "quick" }); api.instance("particles.instance", "particles.geo"); api.parameter("target", new Point3(0, 0, 0)); api.parameter("eye", new Point3(0, 0, -size * 2)); api.parameter("up", new Vector3(0, 1, 0)); api.parameter("fov", 90.0f); api.parameter("aspect", 1.0f); api.camera("cam", new PinholeLens()); api.parameter("aa.min", 0); api.parameter("aa.max", 2); api.filter("mitchell"); api.parameter("resolutionX", 1024); api.parameter("resolutionY", 1024); api.parameter("camera", "cam"); api.options(SunflowAPI.DEFAULT_OPTIONS); for (int frameNumber = 1; frameNumber <= numFrames; frameNumber++) { int n = Math.min((numParticles + numFrames - 1) / numFrames * frameNumber, numParticles); api.parameter("num", n); api.geometry("particles.geo", (PrimitiveList) null); // update api.render(SunflowAPI.DEFAULT_OPTIONS, new FileDisplay(String.format("%s/file.%04d.png", new File(filename).getAbsoluteFile().getParent(), frameNumber))); } } else { System.exit(1); } api.parameter("shaders", new String[] { "ao" }); api.instance("particles.instance", "particles.geo"); api.parameter("target", new Point3(0, 0, 0)); api.parameter("eye", new Point3(0, 0, -size * 2)); api.parameter("up", new Vector3(0, 1, 0)); api.parameter("fov", 90.0f); api.parameter("aspect", 1.0f); api.camera("cam", new PinholeLens()); api.parameter("aa.min", 0); api.parameter("aa.max", 2); api.filter("mitchell"); api.parameter("resolutionX", 1024); api.parameter("resolutionY", 1024); api.parameter("camera", "cam"); api.options(SunflowAPI.DEFAULT_OPTIONS); api.render(SunflowAPI.DEFAULT_OPTIONS, display); }
51147 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51147/340ca3c65fd2efc9927cd494952a25e06ad8badc/DLASimulator.java/clean/src/DLASimulator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 288, 3639, 31608, 2426, 2557, 1536, 273, 31608, 2426, 2557, 18, 2640, 12, 2011, 1769, 3639, 1536, 18, 674, 1143, 2932, 6033, 3113, 394, 432, 1627, 1979, 51, 71, 15335, 19396, 10663, 3639, 727, 1431, 963, 273, 1381, 31, 3639, 727, 1431, 5725, 273, 374, 18, 1611, 25, 74, 31, 3639, 727, 509, 818, 15162, 273, 4248, 380, 2872, 31, 3639, 9311, 2562, 273, 446, 31, 3639, 309, 261, 1968, 18, 2469, 422, 374, 13, 288, 5411, 727, 509, 818, 1988, 8383, 273, 15088, 31, 5411, 463, 2534, 1988, 3711, 6313, 3068, 273, 394, 463, 2534, 1988, 3711, 6313, 12, 2704, 25245, 12, 1467, 3631, 818, 1988, 8383, 16, 5725, 1769, 5411, 3068, 18, 1289, 1988, 3711, 12, 20, 16, 374, 16, 374, 1769, 368, 527, 279, 20036, 2145, 316, 326, 4617, 5411, 12290, 5441, 273, 394, 12290, 5621, 5411, 5441, 18, 1937, 5621, 5411, 509, 3622, 273, 2130, 31, 5411, 1645, 1142, 273, 374, 31, 5411, 364, 261, 474, 277, 273, 404, 31, 277, 411, 818, 1988, 8383, 31, 277, 27245, 288, 7734, 309, 261, 77, 738, 3622, 422, 374, 13, 288, 10792, 5441, 18, 409, 5621, 10792, 1645, 1428, 273, 5441, 18, 7572, 5621, 10792, 309, 261, 3321, 300, 1142, 411, 1381, 13, 13491, 3622, 6413, 1728, 31, 10792, 1142, 273, 1428, 31, 10792, 1428, 273, 261, 3321, 342, 277, 13, 380, 261, 2107, 1988, 8383, 300, 277, 1769, 10792, 6484, 18, 1188, 966, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 12, 780, 8526, 833, 13, 288, 3639, 31608, 2426, 2557, 1536, 273, 31608, 2426, 2557, 18, 2640, 12, 2011, 1769, 3639, 1536, 18, 674, 1143, 2932, 6033, 3113, 394, 432, 1627, 1979, 51, 71, 15335, 19396, 10663, 3639, 727, 1431, 963, 273, 1381, 31, 3639, 727, 1431, 5725, 273, 374, 18, 1611, 25, 74, 31, 3639, 727, 509, 818, 15162, 273, 4248, 380, 2872, 31, 3639, 9311, 2562, 273, 446, 31, 3639, 309, 261, 1968, 18, 2469, 422, 374, 13, 288, 5411, 727, 509, 818, 1988, 8383, 273, 15088, 31, 5411, 463, 2534, 1988, 3711, 6313, 3068, 273, 394, 463, 2534, 1988, 3711, 6313, 12, 2704, 25245, 12, 1467, 3631, 818, 1988, 8383, 16, 2 ]
requestRegister(ECX, cnt);
L1AHelper.requestRegister(eContext, ECX, cnt);
public final void visit_lshr() { final IntItem cnt = vstack.popInt(); final LongItem val = vstack.popLong(); final X86RegisterPool pool = eContext.getPool(); // Get cnt into ECX if (!cnt.uses(ECX)) { val.spillIfUsing(eContext, ECX); requestRegister(ECX, cnt); cnt.loadTo(eContext, ECX); } // Load val val.load(eContext); final Register lsb = val.getLsbRegister(); final Register msb = val.getMsbRegister(); // Calculate os.writeAND(ECX, 63); os.writeCMP_Const(ECX, 32); final Label gt32Label = new Label(curInstrLabel + "gt32"); final Label endLabel = new Label(curInstrLabel + "end"); os.writeJCC(gt32Label, X86Constants.JAE); // JAE /** ECX < 32 */ os.writeSHRD_CL(lsb, msb); os.writeSAR_CL(msb); os.writeJMP(endLabel); /** ECX >= 32 */ os.setObjectRef(gt32Label); os.writeMOV(INTSIZE, lsb, msb); os.writeSAR(msb, 31); os.writeSAR_CL(lsb); os.setObjectRef(endLabel); // Push final LongItem result = LongItem.createReg(lsb, msb); pool.transferOwnerTo(lsb, result); pool.transferOwnerTo(msb, result); vstack.push(result); // Release cnt.release(eContext); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7f3f443c80552e30cb144c1a1ce760d89fa35f2b/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 3757, 67, 80, 674, 86, 1435, 288, 202, 202, 6385, 3094, 1180, 7599, 273, 19510, 18, 5120, 1702, 5621, 202, 202, 6385, 3407, 1180, 1244, 273, 19510, 18, 5120, 3708, 5621, 202, 202, 6385, 1139, 5292, 3996, 2864, 2845, 273, 425, 1042, 18, 588, 2864, 5621, 202, 202, 759, 968, 7599, 1368, 7773, 60, 202, 202, 430, 16051, 13085, 18, 6117, 12, 7228, 60, 3719, 288, 1082, 202, 1125, 18, 1752, 737, 2047, 7736, 12, 73, 1042, 16, 7773, 60, 1769, 1082, 202, 2293, 3996, 12, 7228, 60, 16, 7599, 1769, 1082, 202, 13085, 18, 945, 774, 12, 73, 1042, 16, 7773, 60, 1769, 202, 202, 97, 202, 202, 759, 4444, 1244, 202, 202, 1125, 18, 945, 12, 73, 1042, 1769, 202, 202, 6385, 5433, 7180, 70, 273, 1244, 18, 588, 48, 18366, 3996, 5621, 202, 202, 6385, 5433, 4086, 70, 273, 1244, 18, 588, 6947, 70, 3996, 5621, 202, 202, 759, 9029, 202, 202, 538, 18, 2626, 4307, 12, 7228, 60, 16, 13746, 1769, 202, 202, 538, 18, 2626, 39, 4566, 67, 9661, 12, 7228, 60, 16, 3847, 1769, 202, 202, 6385, 5287, 9879, 1578, 2224, 273, 394, 5287, 12, 1397, 382, 701, 2224, 397, 315, 4521, 1578, 8863, 202, 202, 6385, 5287, 679, 2224, 273, 394, 5287, 12, 1397, 382, 701, 2224, 397, 315, 409, 8863, 202, 202, 538, 18, 2626, 46, 6743, 12, 4521, 1578, 2224, 16, 1139, 5292, 2918, 18, 46, 16985, 1769, 368, 804, 16985, 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, 225, 202, 482, 727, 918, 3757, 67, 80, 674, 86, 1435, 288, 202, 202, 6385, 3094, 1180, 7599, 273, 19510, 18, 5120, 1702, 5621, 202, 202, 6385, 3407, 1180, 1244, 273, 19510, 18, 5120, 3708, 5621, 202, 202, 6385, 1139, 5292, 3996, 2864, 2845, 273, 425, 1042, 18, 588, 2864, 5621, 202, 202, 759, 968, 7599, 1368, 7773, 60, 202, 202, 430, 16051, 13085, 18, 6117, 12, 7228, 60, 3719, 288, 1082, 202, 1125, 18, 1752, 737, 2047, 7736, 12, 73, 1042, 16, 7773, 60, 1769, 1082, 202, 2293, 3996, 12, 7228, 60, 16, 7599, 1769, 1082, 202, 13085, 18, 945, 774, 12, 73, 1042, 16, 7773, 60, 1769, 202, 202, 97, 202, 202, 759, 4444, 1244, 202, 202, 2 ]
String iconPath = "icons/full/"; try { AbstractUIPlugin plugin = (AbstractUIPlugin) Platform .getPlugin(PlatformUI.PLUGIN_ID); URL installURL = plugin.getDescriptor().getInstallURL(); URL url = new URL(installURL, iconPath + relativePath); return ImageDescriptor.createFromURL(url); } catch (MalformedURLException e) { return ImageDescriptor.getMissingImageDescriptor(); }
return WorkbenchImages.getWorkbenchImageDescriptor(relativePath);
protected ImageDescriptor getImageDescriptor(String relativePath) { String iconPath = "icons/full/"; //$NON-NLS-1$ try { AbstractUIPlugin plugin = (AbstractUIPlugin) Platform .getPlugin(PlatformUI.PLUGIN_ID); URL installURL = plugin.getDescriptor().getInstallURL(); URL url = new URL(installURL, iconPath + relativePath); return ImageDescriptor.createFromURL(url); } catch (MalformedURLException e) { // should not happen return ImageDescriptor.getMissingImageDescriptor(); } }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/8fd0f2b4fd47f07d36004083215b102b7c5bcc8b/ResourceNavigatorActionGroup.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/navigator/ResourceNavigatorActionGroup.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 3421, 3187, 10567, 3187, 12, 780, 12820, 13, 288, 3639, 514, 4126, 743, 273, 315, 14516, 19, 2854, 4898, 31, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 775, 288, 5411, 4115, 5370, 3773, 1909, 273, 261, 7469, 5370, 3773, 13, 11810, 10792, 263, 588, 3773, 12, 8201, 5370, 18, 19415, 67, 734, 1769, 5411, 1976, 3799, 1785, 273, 1909, 18, 588, 3187, 7675, 588, 6410, 1785, 5621, 5411, 1976, 880, 273, 394, 1976, 12, 5425, 1785, 16, 4126, 743, 397, 12820, 1769, 5411, 327, 3421, 3187, 18, 2640, 1265, 1785, 12, 718, 1769, 3639, 289, 1044, 261, 18695, 20160, 425, 13, 288, 5411, 368, 1410, 486, 5865, 5411, 327, 3421, 3187, 18, 588, 4841, 2040, 3187, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 3421, 3187, 10567, 3187, 12, 780, 12820, 13, 288, 3639, 514, 4126, 743, 273, 315, 14516, 19, 2854, 4898, 31, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 775, 288, 5411, 4115, 5370, 3773, 1909, 273, 261, 7469, 5370, 3773, 13, 11810, 10792, 263, 588, 3773, 12, 8201, 5370, 18, 19415, 67, 734, 1769, 5411, 1976, 3799, 1785, 273, 1909, 18, 588, 3187, 7675, 588, 6410, 1785, 5621, 5411, 1976, 880, 273, 394, 1976, 12, 5425, 1785, 16, 4126, 743, 397, 12820, 1769, 5411, 327, 3421, 3187, 18, 2640, 1265, 1785, 12, 718, 1769, 3639, 289, 1044, 261, 18695, 20160, 425, 13, 288, 5411, 368, 1410, 486, 5865, 5411, 327, 3421, 3187, 18, 588, 4841, 2040, 3187, 2 ]
if (i.callMethod(cmp, to).isTrue()) {
if (i.callMethod(cmp, test).isTrue()) {
public IRubyObject step(RubyNumeric to, RubyNumeric step) { RubyNumeric i = this; if (step.getLongValue() == 0) { throw getRuntime().newArgumentError("step cannot be 0"); } String cmp = "<"; if (((RubyBoolean) step.callMethod("<", getRuntime().newFixnum(0))).isFalse()) { cmp = ">"; } while (true) { if (i.callMethod(cmp, to).isTrue()) { break; } getRuntime().yield(i); i = (RubyNumeric) i.callMethod("+", step); } return this; }
46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/803c66ee682936beecc8a43fe2cfc90fe5645b22/RubyInteger.java/clean/src/org/jruby/RubyInteger.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 2235, 12, 54, 10340, 9902, 358, 16, 19817, 9902, 2235, 13, 288, 3639, 19817, 9902, 277, 273, 333, 31, 3639, 309, 261, 4119, 18, 588, 3708, 620, 1435, 422, 374, 13, 288, 5411, 604, 18814, 7675, 2704, 1379, 668, 2932, 4119, 2780, 506, 374, 8863, 3639, 289, 3639, 514, 9411, 273, 3532, 14432, 3639, 309, 261, 12443, 54, 10340, 5507, 13, 2235, 18, 1991, 1305, 2932, 32, 3113, 18814, 7675, 2704, 8585, 2107, 12, 20, 3719, 2934, 291, 8381, 10756, 288, 5411, 9411, 273, 14675, 31, 3639, 289, 3639, 1323, 261, 3767, 13, 288, 5411, 309, 261, 77, 18, 1991, 1305, 12, 9625, 16, 1842, 2934, 291, 5510, 10756, 288, 7734, 898, 31, 5411, 289, 5411, 18814, 7675, 23604, 12, 77, 1769, 5411, 277, 273, 261, 54, 10340, 9902, 13, 277, 18, 1991, 1305, 2932, 15, 3113, 2235, 1769, 3639, 289, 3639, 327, 333, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 2235, 12, 54, 10340, 9902, 358, 16, 19817, 9902, 2235, 13, 288, 3639, 19817, 9902, 277, 273, 333, 31, 3639, 309, 261, 4119, 18, 588, 3708, 620, 1435, 422, 374, 13, 288, 5411, 604, 18814, 7675, 2704, 1379, 668, 2932, 4119, 2780, 506, 374, 8863, 3639, 289, 3639, 514, 9411, 273, 3532, 14432, 3639, 309, 261, 12443, 54, 10340, 5507, 13, 2235, 18, 1991, 1305, 2932, 32, 3113, 18814, 7675, 2704, 8585, 2107, 12, 20, 3719, 2934, 291, 8381, 10756, 288, 5411, 9411, 273, 14675, 31, 3639, 289, 3639, 1323, 261, 3767, 13, 288, 5411, 309, 261, 77, 18, 1991, 1305, 12, 9625, 16, 1842, 2934, 291, 5510, 10756, 288, 7734, 898, 31, 5411, 2 ]
networks.addElement(cache);
networkAdd(cache);
public void run() { setProgressOwner(this); CacheNetworkAccess cache; logger.debug("Before networks"); if(configuredNetworks == null || configuredNetworks.length == 0) { NetworkAccess[] nets = netdc.a_finder().retrieve_all(); netDCToNetMap.put(netdc, nets); setProgressMax(this, nets.length+1); int progressVal = 1; setProgressValue(this, progressVal); progressVal++; logger.debug("Got all networks, num="+nets.length); for (int i=0; i<nets.length; i++) { // skip null networks...probably a bug on the server if (nets[i] != null) { // cache = new CacheNetworkAccess(nets[i]); cache = new DNDNetworkAccess(nets[i]); NetworkAttr attr = cache.get_attributes(); netIdToNetMap.put(NetworkIdUtil.toString(cache.get_attributes().get_id()), cache); logger.debug("Got attributes "+attr.get_code()); // preload attributes networks.addElement(cache); } else { logger.warn("a networkaccess returned from NetworkFinder.retrieve_all() is null, skipping."); } // end of else setProgressValue(this, progressVal); progressVal++; } } else { //when the channelChooser is configured with networkCodes.... int totalNetworks = 0; setProgressMax(this, configuredNetworks.length); for(int counter = 0; counter < configuredNetworks.length; counter++) { try { logger.debug("Getting network for "+configuredNetworks[counter]); NetworkAccess[] nets = netdc.a_finder().retrieve_by_code(configuredNetworks[counter]); logger.debug("Got "+nets.length+" networks for "+configuredNetworks[counter]); for(int subCounter = 0; subCounter < nets.length; subCounter++) { if (nets[subCounter] != null) { // cache = new CacheNetworkAccess(nets[subCounter]); cache = new DNDNetworkAccess(nets[subCounter]); NetworkAttr attr = cache.get_attributes(); NetworkAccess[] storedNets = (NetworkAccess[])netDCToNetMap.get(netdc); if ( storedNets == null) { storedNets = new NetworkAccess[1]; storedNets[0] = cache; netDCToNetMap.put(netdc, storedNets); } else { NetworkAccess[] tmp = new NetworkAccess[storedNets.length+1]; System.arraycopy(storedNets, 0, tmp, 0, storedNets.length); tmp[storedNets.length] = cache; netDCToNetMap.put(netdc, tmp); } // end of else netIdToNetMap.put(NetworkIdUtil.toString(cache.get_attributes().get_id()), cache); logger.debug("Got attributes "+attr.get_code()); // preload attributes networks.addElement(cache); totalNetworks++; } else { logger.warn("a networkaccess returned from NetworkFinder.retrieve_by_code is null, skipping."); } // end of else }//end of inner for subCounter = 0; }catch(NetworkNotFound nnfe) { logger.warn("Network "+configuredNetworks[counter]+" not found while getting network access uding NetworkFinder.retrieve_by_code"); } setProgressValue(this, counter+1); }//end of outer for counter = 0; }//end of if else checking for configuredNetworks == null if (doSelect) { // need to do this later to give java Event thread time to set // up network list before setting selection SwingUtilities.invokeLater(new Runnable() { public void run() { networkList.getSelectionModel().setSelectionInterval(0, networkList.getModel().getSize()-1); } }); } // end of if () setProgressValue(this, progressBar.getMaximum()); }
52623 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52623/b183f8e71d17b20aa1e9acf1014a5ad8f36f3dd7/ChannelChooser.java/clean/src/edu/sc/seis/fissuresUtil/chooser/ChannelChooser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1086, 1435, 288, 202, 565, 444, 5491, 5541, 12, 2211, 1769, 202, 565, 4379, 3906, 1862, 1247, 31, 202, 565, 1194, 18, 4148, 2932, 4649, 13884, 8863, 202, 565, 309, 12, 16449, 19999, 422, 446, 747, 4351, 19999, 18, 2469, 422, 374, 13, 288, 202, 202, 3906, 1862, 8526, 21954, 273, 1875, 565, 2901, 7201, 18, 69, 67, 15356, 7675, 17466, 67, 454, 5621, 202, 202, 2758, 5528, 774, 7308, 863, 18, 458, 12, 2758, 7201, 16, 21954, 1769, 202, 202, 542, 5491, 2747, 12, 2211, 16, 21954, 18, 2469, 15, 21, 1769, 202, 202, 474, 4007, 3053, 273, 404, 31, 202, 202, 542, 5491, 620, 12, 2211, 16, 4007, 3053, 1769, 202, 202, 8298, 3053, 9904, 31, 202, 202, 4901, 18, 4148, 2932, 15617, 777, 13884, 16, 818, 1546, 15, 11296, 18, 2469, 1769, 202, 202, 1884, 261, 474, 277, 33, 20, 31, 277, 32, 11296, 18, 2469, 31, 277, 27245, 288, 1082, 565, 368, 2488, 446, 13884, 2777, 7748, 6906, 279, 7934, 603, 326, 1438, 1082, 565, 309, 261, 11296, 63, 77, 65, 480, 446, 13, 288, 1082, 202, 759, 225, 1247, 273, 394, 4379, 3906, 1862, 12, 11296, 63, 77, 19226, 1082, 202, 2493, 273, 394, 463, 2908, 3906, 1862, 12, 11296, 63, 77, 19226, 1082, 202, 3906, 3843, 1604, 273, 1247, 18, 588, 67, 4350, 5621, 1082, 202, 2758, 28803, 7308, 863, 18, 458, 12, 3906, 548, 1304, 18, 10492, 12, 2493, 18, 588, 67, 4350, 7675, 588, 67, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1086, 1435, 288, 202, 565, 444, 5491, 5541, 12, 2211, 1769, 202, 565, 4379, 3906, 1862, 1247, 31, 202, 565, 1194, 18, 4148, 2932, 4649, 13884, 8863, 202, 565, 309, 12, 16449, 19999, 422, 446, 747, 4351, 19999, 18, 2469, 422, 374, 13, 288, 202, 202, 3906, 1862, 8526, 21954, 273, 1875, 565, 2901, 7201, 18, 69, 67, 15356, 7675, 17466, 67, 454, 5621, 202, 202, 2758, 5528, 774, 7308, 863, 18, 458, 12, 2758, 7201, 16, 21954, 1769, 202, 202, 542, 5491, 2747, 12, 2211, 16, 21954, 18, 2469, 15, 21, 1769, 202, 202, 474, 4007, 3053, 273, 404, 31, 202, 202, 542, 5491, 620, 12, 2211, 16, 4007, 3053, 1769, 202, 202, 8298, 2 ]
public IManagedDependencyGenerator getDependencyGeneratorForExtension(String sourceExt) {
public IManagedDependencyGeneratorType getDependencyGeneratorForExtension(String sourceExt) {
public IManagedDependencyGenerator getDependencyGeneratorForExtension(String sourceExt) { return null; }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/c7f73a40517ebbe266d35bf3a3c441c1f33003b8/ToolReference.java/clean/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/ToolReference.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6246, 4184, 7787, 3908, 336, 7787, 3908, 1290, 3625, 12, 780, 1084, 2482, 13, 288, 202, 202, 2463, 446, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6246, 4184, 7787, 3908, 336, 7787, 3908, 1290, 3625, 12, 780, 1084, 2482, 13, 288, 202, 202, 2463, 446, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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(_properties.getProperty(name));
return _properties.getProperty(name);
public String getOutputProperty(String name) throws IllegalArgumentException { if (!validOutputProperty(name)) { ErrorMsg err = new ErrorMsg(ErrorMsg.JAXP_UNKNOWN_PROP_ERR, name); throw new IllegalArgumentException(err.toString()); } return(_properties.getProperty(name)); }
46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/ee5f7629a90e982a1395486f1cb4e74a3269d07f/TransformerImpl.java/buggy/src/org/apache/xalan/xsltc/trax/TransformerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 11062, 1396, 12, 780, 508, 13, 202, 15069, 2754, 288, 202, 430, 16051, 877, 1447, 1396, 12, 529, 3719, 288, 202, 565, 1068, 3332, 393, 273, 394, 1068, 3332, 12, 668, 3332, 18, 17368, 52, 67, 14737, 67, 15811, 67, 9712, 16, 508, 1769, 202, 565, 604, 394, 2754, 12, 370, 18, 10492, 10663, 202, 97, 202, 2463, 389, 4738, 18, 588, 1396, 12, 529, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 11062, 1396, 12, 780, 508, 13, 202, 15069, 2754, 288, 202, 430, 16051, 877, 1447, 1396, 12, 529, 3719, 288, 202, 565, 1068, 3332, 393, 273, 394, 1068, 3332, 12, 668, 3332, 18, 17368, 52, 67, 14737, 67, 15811, 67, 9712, 16, 508, 1769, 202, 565, 604, 394, 2754, 12, 370, 18, 10492, 10663, 202, 97, 202, 2463, 389, 4738, 18, 588, 1396, 12, 529, 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 ]
jj_la1[11] = jj_gen;
jj_la1[13] = jj_gen;
final public void NestedClassDeclaration() throws ParseException { /*@bgen(jjtree) NestedClassDeclaration */ ASTNestedClassDeclaration jjtn000 = new ASTNestedClassDeclaration(this, JJTNESTEDCLASSDECLARATION); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { label_5: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case ABSTRACT: case FINAL: case PRIVATE: case PROTECTED: case PUBLIC: case STATIC: case STRICTFP: ; break; default: jj_la1[10] = jj_gen; break label_5; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case STATIC: jj_consume_token(STATIC); jjtn000.setStatic(); break; case ABSTRACT: jj_consume_token(ABSTRACT); jjtn000.setAbstract(); break; case FINAL: jj_consume_token(FINAL); jjtn000.setFinal(); break; case PUBLIC: jj_consume_token(PUBLIC); jjtn000.setPublic(); break; case PROTECTED: jj_consume_token(PROTECTED); jjtn000.setProtected(); break; case PRIVATE: jj_consume_token(PRIVATE); jjtn000.setPrivate(); break; case STRICTFP: jj_consume_token(STRICTFP); jjtn000.setStrict(); break; default: jj_la1[11] = jj_gen; jj_consume_token(-1); throw new ParseException(); } } UnmodifiedClassDeclaration(); } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte000;} } if (jjte000 instanceof ParseException) { {if (true) throw (ParseException)jjte000;} } {if (true) throw (RuntimeException)jjte000;} } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } }
45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/6b2ea5d38e0b6b4adb468f80aa5e82b2d9884c6d/JavaParser.java/buggy/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 918, 19071, 797, 6094, 1435, 1216, 10616, 288, 1748, 36, 70, 4507, 12, 78, 78, 3413, 13, 19071, 797, 6094, 1195, 225, 9183, 8649, 797, 6094, 10684, 5088, 3784, 273, 394, 9183, 8649, 797, 6094, 12, 2211, 16, 804, 46, 56, 5407, 882, 2056, 5237, 23956, 985, 2689, 1769, 225, 1250, 10684, 5111, 3784, 273, 638, 31, 225, 10684, 3413, 18, 3190, 907, 3876, 12, 78, 78, 5088, 3784, 1769, 565, 775, 288, 1377, 1433, 67, 25, 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, 10336, 21398, 30, 3639, 648, 17563, 1013, 30, 3639, 648, 23685, 30, 3639, 648, 4629, 26729, 30, 3639, 648, 17187, 30, 3639, 648, 19980, 30, 3639, 648, 2347, 2259, 1268, 30246, 30, 1850, 274, 1850, 898, 31, 3639, 805, 30, 1850, 10684, 67, 11821, 21, 63, 2163, 65, 273, 10684, 67, 4507, 31, 1850, 898, 1433, 67, 25, 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, 19980, 30, 1850, 10684, 67, 21224, 67, 2316, 12, 22741, 1769, 10792, 10684, 5088, 3784, 18, 542, 5788, 5621, 1850, 898, 31, 3639, 648, 10336, 21398, 30, 1850, 10684, 67, 21224, 67, 2316, 12, 26756, 1769, 10792, 10684, 5088, 3784, 18, 542, 7469, 5621, 1850, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 918, 19071, 797, 6094, 1435, 1216, 10616, 288, 1748, 36, 70, 4507, 12, 78, 78, 3413, 13, 19071, 797, 6094, 1195, 225, 9183, 8649, 797, 6094, 10684, 5088, 3784, 273, 394, 9183, 8649, 797, 6094, 12, 2211, 16, 804, 46, 56, 5407, 882, 2056, 5237, 23956, 985, 2689, 1769, 225, 1250, 10684, 5111, 3784, 273, 638, 31, 225, 10684, 3413, 18, 3190, 907, 3876, 12, 78, 78, 5088, 3784, 1769, 565, 775, 288, 1377, 1433, 67, 25, 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, 10336, 21398, 30, 3639, 648, 2 ]
int tempVal = AttributeVisualizationPanel.this.getWidth()-4; if (tempVal < 1) { tempVal = 1;
int intervals = as.totalCount>10 ? (int)(as.totalCount*0.1):(int)as.totalCount; if(intervals > AttributeVisualizationPanel.this.getWidth()) { intervals = AttributeVisualizationPanel.this.getWidth()-4; if(intervals<1) intervals = 1;
public void run() { synchronized (m_locker) { if(m_data.attribute(classIndex).isNominal()) { int tempVal = AttributeVisualizationPanel.this.getWidth()-4; if (tempVal < 1) { tempVal = 1; } int histClassCounts[][] = (AttributeVisualizationPanel.this.getWidth()<(int)(as.totalCount*0.1)) ? new int[tempVal][m_data.attribute(classIndex).numValues()+1] : new int[(int)(as.totalCount*0.1)][m_data.attribute(classIndex).numValues()+1]; double barRange = (as.numericStats.max - as.numericStats.min)/(double)histClassCounts.length; double currentBar = as.numericStats.min; // + barRange; maxValue = 0; if(m_colorList.size()==0) m_colorList.addElement(Color.black); for(int i=m_colorList.size(); i<m_data.attribute(classIndex).numValues()+1; i++) { Color pc = m_defaultColors[(i-1) % 10]; int ija = (i-1) / 10; ija *= 2; for (int j=0;j<ija;j++) { pc = pc.darker(); } m_colorList.addElement(pc); } for(int k=0; k<m_data.numInstances(); k++) { int t=0; try { if(!m_data.instance(k).isMissing(attribIndex)) { t = (int) Math.ceil((float)((m_data.instance(k).value(attribIndex)-as.numericStats.min)/barRange)); if(t==0) { if(m_data.instance(k).isMissing(classIndex)) histClassCounts[t][0]++; else histClassCounts[t][(int)m_data.instance(k).value(classIndex)+1]++; //if(histCounts[t]>maxValue) // maxValue = histCounts[t]; } else { if(m_data.instance(k).isMissing(classIndex)) histClassCounts[t-1][0]++; else histClassCounts[t-1][(int)m_data.instance(k).value(classIndex)+1]++; //if(histCounts[t-1]>maxValue) // maxValue = histCounts[t-1]; } } } catch(ArrayIndexOutOfBoundsException ae) { System.out.println("t:"+(t)+ " barRange:"+barRange+ " histLength:"+histClassCounts.length+ " value:"+m_data.instance(k).value(attribIndex)+ " min:"+as.numericStats.min+ " sumResult:"+(m_data.instance(k).value(attribIndex)-as.numericStats.min)+ " divideResult:"+(float)((m_data.instance(k).value(attribIndex)-as.numericStats.min)/barRange)+ " finalResult:"+ Math.ceil((float)((m_data.instance(k).value(attribIndex)-as.numericStats.min)/barRange)) ); } } for(int i=0; i<histClassCounts.length; i++) { int sum=0; for(int j=0; j<histClassCounts[i].length; j++) sum = sum+histClassCounts[i][j]; if(maxValue<sum) maxValue = sum; } histBarClassCounts = histClassCounts; m_barRange = barRange; } else { //else if the class attribute is numeric int tempVal = AttributeVisualizationPanel.this.getWidth()-4; if (tempVal < 1) { tempVal = 1; } int histCounts[] = (AttributeVisualizationPanel.this.getWidth()<(int)(as.totalCount*0.1)) ? new int[tempVal] : new int[(int)(as.totalCount*0.1)]; double barRange = (as.numericStats.max - as.numericStats.min)/(double)histCounts.length; double currentBar = as.numericStats.min; // + barRange; maxValue = 0; for(int k=0; k<m_data.numInstances(); k++) { int t=0; try { t = (int) Math.ceil((float)((m_data.instance(k).value(attribIndex)-as.numericStats.min)/barRange)); if(t==0) { histCounts[t]++; if(histCounts[t]>maxValue) maxValue = histCounts[t]; } else { histCounts[t-1]++; if(histCounts[t-1]>maxValue) maxValue = histCounts[t-1]; } } catch(ArrayIndexOutOfBoundsException ae) { ae.printStackTrace(); System.out.println("t:"+(t)+ " barRange:"+barRange+ " histLength:"+histCounts.length+ " value:"+m_data.instance(k).value(attribIndex)+ " min:"+as.numericStats.min+ " sumResult:"+(m_data.instance(k).value(attribIndex)-as.numericStats.min)+ " divideResult:"+(float)((m_data.instance(k).value(attribIndex)-as.numericStats.min)/barRange)+ " finalResult:"+ Math.ceil((float)((m_data.instance(k).value(attribIndex)-as.numericStats.min)/barRange)) ); } } histBarCounts = histCounts; m_barRange = barRange; } threadRun=false; //Image tmpImg = new BufferedImage(getWidth(), getHeight(), BufferedImage.TYPE_INT_RGB); //drawGraph( tmpImg.getGraphics() ); //img = tmpImg; AttributeVisualizationPanel.this.repaint(); } }
48918 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48918/4e3f217939366bfb75cdbbae5f243491de506bd7/AttributeVisualizationPanel.java/clean/weka/gui/AttributeVisualizationPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 288, 1377, 3852, 261, 81, 67, 739, 264, 13, 288, 202, 430, 12, 81, 67, 892, 18, 4589, 12, 1106, 1016, 2934, 291, 26685, 1490, 10756, 288, 202, 225, 509, 1906, 3053, 273, 3601, 25780, 1588, 5537, 18, 2211, 18, 588, 2384, 1435, 17, 24, 31, 202, 225, 309, 261, 5814, 3053, 411, 404, 13, 288, 202, 565, 1906, 3053, 273, 404, 31, 202, 225, 289, 202, 225, 509, 5356, 797, 9211, 63, 6362, 65, 225, 273, 261, 1499, 25780, 1588, 5537, 18, 2211, 18, 588, 2384, 1435, 32, 12, 474, 21433, 345, 18, 4963, 1380, 14, 20, 18, 21, 3719, 692, 202, 565, 394, 509, 63, 5814, 3053, 6362, 81, 67, 892, 18, 4589, 12, 1106, 1016, 2934, 2107, 1972, 1435, 15, 21, 65, 294, 3196, 565, 394, 509, 63, 12, 474, 21433, 345, 18, 4963, 1380, 14, 20, 18, 21, 13, 6362, 81, 67, 892, 18, 4589, 12, 1106, 1016, 2934, 2107, 1972, 1435, 15, 21, 15533, 202, 225, 1645, 4653, 2655, 282, 273, 261, 345, 18, 5246, 4195, 18, 1896, 300, 487, 18, 5246, 4195, 18, 1154, 13176, 12, 9056, 13, 11488, 797, 9211, 18, 2469, 31, 202, 225, 1645, 783, 5190, 273, 487, 18, 5246, 4195, 18, 1154, 31, 368, 397, 4653, 2655, 31, 202, 225, 18666, 273, 374, 31, 202, 21114, 225, 309, 12, 81, 67, 3266, 682, 18, 1467, 1435, 631, 20, 13, 202, 565, 312, 67, 3266, 682, 18, 1289, 1046, 12, 2957, 18, 11223, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 288, 1377, 3852, 261, 81, 67, 739, 264, 13, 288, 202, 430, 12, 81, 67, 892, 18, 4589, 12, 1106, 1016, 2934, 291, 26685, 1490, 10756, 288, 202, 225, 509, 1906, 3053, 273, 3601, 25780, 1588, 5537, 18, 2211, 18, 588, 2384, 1435, 17, 24, 31, 202, 225, 309, 261, 5814, 3053, 411, 404, 13, 288, 202, 565, 1906, 3053, 273, 404, 31, 202, 225, 289, 202, 225, 509, 5356, 797, 9211, 63, 6362, 65, 225, 273, 261, 1499, 25780, 1588, 5537, 18, 2211, 18, 588, 2384, 1435, 32, 12, 474, 21433, 345, 18, 4963, 1380, 14, 20, 18, 21, 3719, 692, 202, 565, 394, 509, 63, 5814, 3053, 6362, 81, 67, 892, 18, 2 ]
Rule rule = new MockRule("name", "desc");
Rule rule = new MockRule("name", "desc", "msg");
public void testComparatorWithDifferentFilenames() { Rule rule = new MockRule("name", "desc"); RuleViolation.RuleViolationComparator comp = new RuleViolation.RuleViolationComparator(); RuleViolation r1 = new RuleViolation(rule, 10, "description", "filename1"); RuleViolation r2 = new RuleViolation(rule, 20, "description", "filename2"); assertEquals(-1, comp.compare(r1, r2)); assertEquals(1, comp.compare(r2, r1)); }
45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/4d17923c1e55d25a2db5e2fa96f62312bc1e97bb/RuleViolationTest.java/clean/pmd/regress/test/net/sourceforge/pmd/RuleViolationTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 5559, 1190, 26270, 25579, 6809, 1435, 288, 3639, 6781, 1720, 273, 394, 7867, 2175, 2932, 529, 3113, 315, 5569, 3113, 315, 3576, 8863, 3639, 6781, 11683, 18, 2175, 11683, 5559, 1161, 273, 394, 6781, 11683, 18, 2175, 11683, 5559, 5621, 3639, 6781, 11683, 436, 21, 273, 394, 6781, 11683, 12, 5345, 16, 1728, 16, 315, 3384, 3113, 315, 3459, 21, 8863, 3639, 6781, 11683, 436, 22, 273, 394, 6781, 11683, 12, 5345, 16, 4200, 16, 315, 3384, 3113, 315, 3459, 22, 8863, 3639, 1815, 8867, 19236, 21, 16, 1161, 18, 9877, 12, 86, 21, 16, 436, 22, 10019, 3639, 1815, 8867, 12, 21, 16, 1161, 18, 9877, 12, 86, 22, 16, 436, 21, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 5559, 1190, 26270, 25579, 6809, 1435, 288, 3639, 6781, 1720, 273, 394, 7867, 2175, 2932, 529, 3113, 315, 5569, 3113, 315, 3576, 8863, 3639, 6781, 11683, 18, 2175, 11683, 5559, 1161, 273, 394, 6781, 11683, 18, 2175, 11683, 5559, 5621, 3639, 6781, 11683, 436, 21, 273, 394, 6781, 11683, 12, 5345, 16, 1728, 16, 315, 3384, 3113, 315, 3459, 21, 8863, 3639, 6781, 11683, 436, 22, 273, 394, 6781, 11683, 12, 5345, 16, 4200, 16, 315, 3384, 3113, 315, 3459, 22, 8863, 3639, 1815, 8867, 19236, 21, 16, 1161, 18, 9877, 12, 86, 21, 16, 436, 22, 10019, 3639, 1815, 8867, 12, 21, 16, 1161, 18, 9877, 12, 86, 22, 16, 436, 21, 10019, 565, 2 ]
if (getEditorInput() != prePage.getEditorInput()) { setInput(prePage.getEditorInput());
if ( prePage.isDirty( ) ) { prePage.doSave( null );
public boolean onBroughtToTop(IReportEditorPage prePage) { if (this.isMissingParameter()) { if (this.parameterDialog != null) { this.parameterDialog.open(); } return true; } if (getEditorInput() != prePage.getEditorInput()) { setInput(prePage.getEditorInput()); } if (prePage.isDirty()) { prePage.doSave(null); } if (getBrowser() != null) { display(); } return true; }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/e1379dc44d22afdeafb3e66d4b2a9adc8b7f4f7a/ReportPreviewFormPage.java/clean/UI/org.eclipse.birt.report.designer.ui.preview/src/org/eclipse/birt/report/designer/ui/preview/editors/ReportPreviewFormPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 603, 38, 303, 9540, 774, 3401, 12, 45, 4820, 6946, 1964, 675, 1964, 13, 288, 202, 202, 430, 261, 2211, 18, 291, 4841, 1662, 10756, 288, 1082, 202, 430, 261, 2211, 18, 6775, 6353, 480, 446, 13, 288, 9506, 202, 2211, 18, 6775, 6353, 18, 3190, 5621, 1082, 202, 97, 1082, 202, 2463, 638, 31, 202, 202, 97, 202, 202, 430, 261, 588, 6946, 1210, 1435, 480, 675, 1964, 18, 588, 6946, 1210, 10756, 288, 1082, 202, 542, 1210, 12, 1484, 1964, 18, 588, 6946, 1210, 10663, 202, 202, 97, 202, 202, 430, 261, 1484, 1964, 18, 291, 10785, 10756, 288, 1082, 202, 1484, 1964, 18, 2896, 4755, 12, 2011, 1769, 202, 202, 97, 202, 202, 430, 261, 588, 9132, 1435, 480, 446, 13, 288, 1082, 202, 5417, 5621, 202, 202, 97, 202, 202, 2463, 638, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1250, 603, 38, 303, 9540, 774, 3401, 12, 45, 4820, 6946, 1964, 675, 1964, 13, 288, 202, 202, 430, 261, 2211, 18, 291, 4841, 1662, 10756, 288, 1082, 202, 430, 261, 2211, 18, 6775, 6353, 480, 446, 13, 288, 9506, 202, 2211, 18, 6775, 6353, 18, 3190, 5621, 1082, 202, 97, 1082, 202, 2463, 638, 31, 202, 202, 97, 202, 202, 430, 261, 588, 6946, 1210, 1435, 480, 675, 1964, 18, 588, 6946, 1210, 10756, 288, 1082, 202, 542, 1210, 12, 1484, 1964, 18, 588, 6946, 1210, 10663, 202, 202, 97, 202, 202, 430, 261, 1484, 1964, 18, 291, 10785, 10756, 288, 1082, 202, 1484, 1964, 18, 2896, 4755, 12, 2011, 1769, 202, 202, 97, 202, 2 ]
String label= CorrectionMessages.getFormattedString("UnresolvedElementsSubProcessor.createclassusingwizard.description", typeName); proposals.add(new NewCUCompletionUsingWizardProposal(label, cu, node, true, relevance));
proposals.add(new NewCUCompletionUsingWizardProposal(cu, node, true, enclosingPackage, relevance));
private static void addNewTypeProposals(ICompilationUnit cu, Name node, int kind, ArrayList proposals) { String typeName= ASTResolving.getSimpleName(node); while (true) { String addedCUName= typeName + ".java"; //$NON-NLS-1$ if (!JavaConventions.validateCompilationUnitName(addedCUName).matches(IStatus.ERROR)) { int relevance= 0; ICompilationUnit addedCU; if (node.isSimpleName()) { addedCU= ((IPackageFragment) cu.getParent()).getCompilationUnit(addedCUName); } else { IPackageFragmentRoot root= (IPackageFragmentRoot) cu.getAncestor(IJavaElement.PACKAGE_FRAGMENT_ROOT); String packName= ASTResolving.getQualifier(node); addedCU= root.getPackageFragment(packName).getCompilationUnit(addedCUName); typeName= JavaModelUtil.concatenateName(packName, typeName); if (Character.isLowerCase(packName.charAt(0))) { relevance++; } } if (Character.isUpperCase(addedCUName.charAt(0))) { relevance++; } if (!addedCU.exists()) { if ((kind & SimilarElementsRequestor.CLASSES) != 0) { String label= CorrectionMessages.getFormattedString("UnresolvedElementsSubProcessor.createclassusingwizard.description", typeName); //$NON-NLS-1$ proposals.add(new NewCUCompletionUsingWizardProposal(label, cu, node, true, relevance)); } if ((kind & SimilarElementsRequestor.INTERFACES) != 0) { String label= CorrectionMessages.getFormattedString("UnresolvedElementsSubProcessor.createinterfaceusingwizard.description", typeName); //$NON-NLS-1$ proposals.add(new NewCUCompletionUsingWizardProposal(label, cu, node, false, relevance)); } } } if (node.isSimpleName()) { return; } node= ((QualifiedName) node).getQualifier(); typeName= ASTResolving.getSimpleName(node); if (Character.isLowerCase(typeName.charAt(0))) { return; } } }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/988b31305987b37af88f24031d0e867f63ff179c/UnresolvedElementsSubProcessor.java/buggy/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/UnresolvedElementsSubProcessor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 918, 20973, 559, 626, 22536, 12, 45, 19184, 2802, 15985, 16, 1770, 756, 16, 509, 3846, 16, 2407, 450, 22536, 13, 288, 202, 202, 780, 8173, 33, 9183, 2903, 6282, 18, 588, 5784, 461, 12, 2159, 1769, 202, 202, 17523, 261, 3767, 13, 288, 1082, 202, 780, 3096, 16001, 461, 33, 8173, 397, 3552, 6290, 14432, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 430, 16051, 5852, 442, 24862, 18, 5662, 19184, 2802, 461, 12, 9665, 16001, 461, 2934, 8436, 12, 45, 1482, 18, 3589, 3719, 288, 9506, 202, 474, 6707, 5882, 33, 374, 31, 9506, 202, 45, 19184, 2802, 3096, 16001, 31, 9506, 202, 430, 261, 2159, 18, 291, 5784, 461, 10756, 288, 6862, 202, 9665, 16001, 33, 14015, 45, 2261, 7456, 13, 15985, 18, 588, 3054, 1435, 2934, 588, 19184, 2802, 12, 9665, 16001, 461, 1769, 9506, 202, 97, 469, 288, 6862, 202, 45, 2261, 7456, 2375, 1365, 33, 261, 45, 2261, 7456, 2375, 13, 15985, 18, 588, 15637, 12, 45, 5852, 1046, 18, 19077, 67, 9981, 26903, 67, 9185, 1769, 6862, 202, 780, 2298, 461, 33, 9183, 2903, 6282, 18, 588, 16185, 12, 2159, 1769, 6862, 202, 9665, 16001, 33, 1365, 18, 588, 2261, 7456, 12, 2920, 461, 2934, 588, 19184, 2802, 12, 9665, 16001, 461, 1769, 6862, 202, 723, 461, 33, 5110, 1488, 1304, 18, 16426, 275, 340, 461, 12, 2920, 461, 16, 8173, 1769, 6862, 202, 430, 261, 7069, 18, 291, 5630, 12, 2920, 461, 18, 3001, 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, 760, 918, 20973, 559, 626, 22536, 12, 45, 19184, 2802, 15985, 16, 1770, 756, 16, 509, 3846, 16, 2407, 450, 22536, 13, 288, 202, 202, 780, 8173, 33, 9183, 2903, 6282, 18, 588, 5784, 461, 12, 2159, 1769, 202, 202, 17523, 261, 3767, 13, 288, 1082, 202, 780, 3096, 16001, 461, 33, 8173, 397, 3552, 6290, 14432, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 430, 16051, 5852, 442, 24862, 18, 5662, 19184, 2802, 461, 12, 9665, 16001, 461, 2934, 8436, 12, 45, 1482, 18, 3589, 3719, 288, 9506, 202, 474, 6707, 5882, 33, 374, 31, 9506, 202, 45, 19184, 2802, 3096, 16001, 31, 9506, 202, 430, 261, 2159, 18, 291, 5784, 461, 10756, 288, 2 ]
public org.quickfix.field.EncodedUnderlyingIssuerLen getEncodedUnderlyingIssuerLen() throws FieldNotFound { org.quickfix.field.EncodedUnderlyingIssuerLen value = new org.quickfix.field.EncodedUnderlyingIssuerLen();
public quickfix.field.EncodedUnderlyingIssuerLen getEncodedUnderlyingIssuerLen() throws FieldNotFound { quickfix.field.EncodedUnderlyingIssuerLen value = new quickfix.field.EncodedUnderlyingIssuerLen();
public org.quickfix.field.EncodedUnderlyingIssuerLen getEncodedUnderlyingIssuerLen() throws FieldNotFound { org.quickfix.field.EncodedUnderlyingIssuerLen value = new org.quickfix.field.EncodedUnderlyingIssuerLen(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/OrderMassCancelRequest.java/clean/src/java/src/quickfix/fix44/OrderMassCancelRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 14655, 6291, 16667, 2891, 28799, 14655, 6291, 16667, 2891, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 14655, 6291, 16667, 2891, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 14655, 6291, 16667, 2891, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 14655, 6291, 16667, 2891, 28799, 14655, 6291, 16667, 2891, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 14655, 6291, 16667, 2891, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 10397, 14655, 6291, 16667, 2891, 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 ]
JMenu menu = view.getWindowsMenu();
JMenu menu = ImViewerFactory.getWindowsMenu();
private void attachWindowListeners() { JMenu menu = view.getWindowsMenu(); menu.addMenuListener(new MenuListener() { public void menuSelected(MenuEvent e) { createWindowsMenuItems(); } /** * Required by I/F but not actually needed in our case, * no op implementation. * @see MenuListener#menuCanceled(MenuEvent) */ public void menuCanceled(MenuEvent e) {} /** * Required by I/F but not actually needed in our case, * no op implementation. * @see MenuListener#menuDeselected(MenuEvent) */ public void menuDeselected(MenuEvent e) {} }); //Listen to keyboard selection menu.addMenuKeyListener(new MenuKeyListener() { public void menuKeyReleased(MenuKeyEvent e) { createWindowsMenuItems(); } /** * Required by I/F but not actually needed in our case, * no op implementation. * @see MenuKeyListener#menuKeyPressed(MenuKeyEvent) */ public void menuKeyPressed(MenuKeyEvent e) {} /** * Required by I/F but not actually needed in our case, * no op implementation. * @see MenuKeyListener#menuKeyTyped(MenuKeyEvent) */ public void menuKeyTyped(MenuKeyEvent e) {} }); view.setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE); view.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { model.discard(); } public void windowDeiconified(WindowEvent e) { model.iconified(false); } public void windowIconified(WindowEvent e) { model.iconified(true); } }); view.getLoadingWindow().addPropertyChangeListener( LoadingWindow.CLOSED_PROPERTY, this); }
55464 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55464/8b5ed57b1a06841fc56344f3b4489a5dc633e6c0/ImViewerControl.java/clean/SRC/org/openmicroscopy/shoola/agents/imviewer/view/ImViewerControl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 3306, 3829, 5583, 1435, 565, 288, 3639, 804, 4599, 3824, 273, 2221, 18415, 1733, 18, 588, 10399, 4599, 5621, 3639, 3824, 18, 1289, 4599, 2223, 12, 2704, 9809, 2223, 1435, 288, 5411, 1071, 918, 3824, 7416, 12, 4599, 1133, 425, 13, 288, 752, 10399, 4599, 3126, 5621, 289, 13491, 1783, 2868, 380, 10647, 635, 467, 19, 42, 1496, 486, 6013, 3577, 316, 3134, 648, 16, 2868, 380, 1158, 1061, 4471, 18, 2398, 380, 632, 5946, 9809, 2223, 7, 5414, 23163, 12, 4599, 1133, 13, 2398, 1195, 2398, 1071, 918, 3824, 23163, 12, 4599, 1133, 425, 13, 2618, 5411, 1783, 2868, 380, 10647, 635, 467, 19, 42, 1496, 486, 6013, 3577, 316, 3134, 648, 16, 2868, 380, 1158, 1061, 4471, 18, 2398, 380, 632, 5946, 9809, 2223, 7, 5414, 6305, 292, 828, 12, 4599, 1133, 13, 2398, 1195, 2398, 1071, 918, 3824, 6305, 292, 828, 12, 4599, 1133, 425, 13, 2618, 10792, 15549, 7734, 368, 14750, 358, 16263, 4421, 3639, 3824, 18, 1289, 4599, 653, 2223, 12, 2704, 9809, 653, 2223, 1435, 288, 13491, 1071, 918, 3824, 653, 26363, 12, 4599, 653, 1133, 425, 13, 5411, 288, 7734, 752, 10399, 4599, 3126, 5621, 5411, 289, 13491, 1783, 2868, 380, 10647, 635, 467, 19, 42, 1496, 486, 6013, 3577, 316, 3134, 648, 16, 2868, 380, 1158, 1061, 4471, 18, 2398, 380, 632, 5946, 9809, 653, 2223, 7, 5414, 653, 24624, 12, 4599, 653, 1133, 13, 2398, 1195, 5411, 1071, 918, 3824, 653, 24624, 12, 4599, 653, 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, 3306, 3829, 5583, 1435, 565, 288, 3639, 804, 4599, 3824, 273, 2221, 18415, 1733, 18, 588, 10399, 4599, 5621, 3639, 3824, 18, 1289, 4599, 2223, 12, 2704, 9809, 2223, 1435, 288, 5411, 1071, 918, 3824, 7416, 12, 4599, 1133, 425, 13, 288, 752, 10399, 4599, 3126, 5621, 289, 13491, 1783, 2868, 380, 10647, 635, 467, 19, 42, 1496, 486, 6013, 3577, 316, 3134, 648, 16, 2868, 380, 1158, 1061, 4471, 18, 2398, 380, 632, 5946, 9809, 2223, 7, 5414, 23163, 12, 4599, 1133, 13, 2398, 1195, 2398, 1071, 918, 3824, 23163, 12, 4599, 1133, 425, 13, 2618, 5411, 1783, 2868, 380, 10647, 635, 467, 19, 42, 1496, 486, 6013, 3577, 316, 3134, 648, 16, 2868, 380, 2 ]
if (MylarPlugin.getDefault().getStructureBridge(node.getStructureKind()).isDocument(node.getElementHandle())) {
if (MylarPlugin.getDefault().getStructureBridge(node.getContentKind()).isDocument(node.getElementHandle())) {
public Set<IMylarContextNode> getInterestingResources(IMylarContext context) { Set<IMylarContextNode> interestingFiles = new HashSet<IMylarContextNode>(); List<IMylarContextNode> allIntersting = context.getInteresting(); for (IMylarContextNode node : allIntersting) { if (MylarPlugin.getDefault().getStructureBridge(node.getStructureKind()).isDocument(node.getElementHandle())) { interestingFiles.add(node); } } return interestingFiles; }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/ffea9ed89adc29b1ae1184818ee9577e822d6fde/MylarContextManager.java/clean/org.eclipse.mylyn.context.core/src/org/eclipse/mylyn/core/internal/MylarContextManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1000, 32, 3445, 93, 7901, 1042, 907, 34, 336, 2465, 10100, 3805, 12, 3445, 93, 7901, 1042, 819, 13, 288, 3639, 1000, 32, 3445, 93, 7901, 1042, 907, 34, 26122, 2697, 273, 394, 6847, 32, 3445, 93, 7901, 1042, 907, 34, 5621, 3639, 987, 32, 3445, 93, 7901, 1042, 907, 34, 777, 2465, 334, 310, 273, 819, 18, 588, 2465, 10100, 5621, 3639, 364, 261, 3445, 93, 7901, 1042, 907, 756, 294, 777, 2465, 334, 310, 13, 288, 5411, 309, 261, 12062, 7901, 3773, 18, 588, 1868, 7675, 588, 6999, 13691, 12, 2159, 18, 588, 1350, 5677, 1435, 2934, 291, 2519, 12, 2159, 18, 21336, 3259, 1435, 3719, 288, 15604, 26122, 2697, 18, 1289, 12, 2159, 1769, 5411, 289, 3639, 289, 3639, 327, 26122, 2697, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1000, 32, 3445, 93, 7901, 1042, 907, 34, 336, 2465, 10100, 3805, 12, 3445, 93, 7901, 1042, 819, 13, 288, 3639, 1000, 32, 3445, 93, 7901, 1042, 907, 34, 26122, 2697, 273, 394, 6847, 32, 3445, 93, 7901, 1042, 907, 34, 5621, 3639, 987, 32, 3445, 93, 7901, 1042, 907, 34, 777, 2465, 334, 310, 273, 819, 18, 588, 2465, 10100, 5621, 3639, 364, 261, 3445, 93, 7901, 1042, 907, 756, 294, 777, 2465, 334, 310, 13, 288, 5411, 309, 261, 12062, 7901, 3773, 18, 588, 1868, 7675, 588, 6999, 13691, 12, 2159, 18, 588, 1350, 5677, 1435, 2934, 291, 2519, 12, 2159, 18, 21336, 3259, 1435, 3719, 288, 15604, 26122, 2697, 18, 1289, 12, 2159, 1769, 2 ]
yaccValue = ">"; src.unread(c);
src.unread(c); yaccValue = new Token(">", getPosition(null, false));
private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END; } return tok; } currentPos = src.getPosition(); commandState = commandStart; commandStart = false; retry: for(;;) { c = src.read(); switch(c) { case '\004': /* ^D */ case '\032': /* ^Z */ case 0: /* end of script. */ return 0; /* white spaces */ case ' ': case '\t': case '\f': case '\r': case '\13': /* '\v' */ spaceSeen = true; continue retry; case '#': /* it's a comment */ while ((c = src.read()) != '\n') { if (c == EOF) { return 0; } } /* fall through */ case '\n': // Replace a string of newlines with a single one while((c = src.read()) == '\n') { currentPos = src.getPosition(); } src.unread( c ); if (lex_state == LexState.EXPR_BEG || lex_state == LexState.EXPR_FNAME || lex_state == LexState.EXPR_DOT || lex_state == LexState.EXPR_CLASS) { continue retry; } commandStart = true; lex_state = LexState.EXPR_BEG; return '\n'; case '*': if ((c = src.read()) == '*') { if ((c = src.read()) == '=') { yaccValue = "**"; lex_state = LexState.EXPR_BEG; return Tokens.tOP_ASGN; } yaccValue = "**"; src.unread(c); c = Tokens.tPOW; } else { if (c == '=') { yaccValue = "*"; lex_state = LexState.EXPR_BEG; return Tokens.tOP_ASGN; } src.unread(c); if (lex_state.isArgument() && spaceSeen && !Character.isWhitespace(c)) { warnings.warning(src.getPosition(), "`*' interpreted as argument prefix"); c = Tokens.tSTAR; } else if (lex_state == LexState.EXPR_BEG || lex_state == LexState.EXPR_MID) { c = Tokens.tSTAR; } else { c = Tokens.tSTAR2; } } if (lex_state == LexState.EXPR_FNAME || lex_state == LexState.EXPR_DOT) { lex_state = LexState.EXPR_ARG; } else { lex_state = LexState.EXPR_BEG; } yaccValue = "*"; return c; case '!': lex_state = LexState.EXPR_BEG; if ((c = src.read()) == '=') { return Tokens.tNEQ; } if (c == '~') { return Tokens.tNMATCH; } src.unread(c); return Tokens.tBANG; case '=': // Skip documentation nodes if (src.wasBeginOfLine()) { /* skip embedded rd document */ if (isNextNoCase("begin")) { c = src.read(); if (Character.isWhitespace(c)) { // In case last next was the newline. src.unread(c); for (;;) { c = src.read(); // If a line is followed by a blank line put // it back. while (c == '\n') { c = src.read(); } if (c == EOF) { throw new SyntaxException(src.getPosition(), "embedded document meets end of file"); } if (c != '=') continue; if (src.wasBeginOfLine() && isNextNoCase("end")) { //if (src.peek('\n')) { // break; //} //c = src.read(); //if (Character.isWhitespace(c)) { src.readLine(); break; //} //src.unread(c); } } continue retry; } src.unread(c); } } if (lex_state == LexState.EXPR_FNAME || lex_state == LexState.EXPR_DOT) { lex_state = LexState.EXPR_ARG; } else { lex_state = LexState.EXPR_BEG; } c = src.read(); if (c == '=') { c = src.read(); if (c == '=') { yaccValue = "==="; return Tokens.tEQQ; } src.unread(c); yaccValue = "=="; return Tokens.tEQ; } if (c == '~') { yaccValue = "=~"; return Tokens.tMATCH; } else if (c == '>') { return Tokens.tASSOC; } src.unread(c); return '='; case '<': c = src.read(); if (c == '<' && lex_state != LexState.EXPR_END && lex_state != LexState.EXPR_DOT && lex_state != LexState.EXPR_ENDARG && lex_state != LexState.EXPR_CLASS && (!lex_state.isArgument() || spaceSeen)) { int tok = hereDocumentIdentifier(); if (tok != 0) return tok; } if (lex_state == LexState.EXPR_FNAME || lex_state == LexState.EXPR_DOT) { lex_state = LexState.EXPR_ARG; } else { lex_state = LexState.EXPR_BEG; } if (c == '=') { if ((c = src.read()) == '>') { yaccValue = "<=>"; return Tokens.tCMP; } yaccValue = "<="; src.unread(c); return Tokens.tLEQ; } if (c == '<') { yaccValue = "<<"; if ((c = src.read()) == '=') { lex_state = LexState.EXPR_BEG; return Tokens.tOP_ASGN; } src.unread(c); return Tokens.tLSHFT; } yaccValue = "<"; src.unread(c); return Tokens.tLT; case '>': if (lex_state == LexState.EXPR_FNAME || lex_state == LexState.EXPR_DOT) { lex_state = LexState.EXPR_ARG; } else { lex_state = LexState.EXPR_BEG; } if ((c = src.read()) == '=') { yaccValue = ">="; return Tokens.tGEQ; } if (c == '>') { yaccValue = ">>"; if ((c = src.read()) == '=') { lex_state = LexState.EXPR_BEG; return Tokens.tOP_ASGN; } src.unread(c); return Tokens.tRSHFT; } yaccValue = ">"; src.unread(c); return Tokens.tGT; case '"': lex_strterm = new StringTerm(str_dquote, '"', '\0'); return Tokens.tSTRING_BEG; case '`': yaccValue = "`"; if (lex_state == LexState.EXPR_FNAME) { lex_state = LexState.EXPR_END; return Tokens.tBACK_REF2; } if (lex_state == LexState.EXPR_DOT) { if (commandState) { lex_state = LexState.EXPR_CMDARG; } else { lex_state = LexState.EXPR_ARG; } return Tokens.tBACK_REF2; } lex_strterm = new StringTerm(str_xquote, '`', '\0'); return Tokens.tXSTRING_BEG; case '\'': lex_strterm = new StringTerm(str_squote, '\'', '\0'); return Tokens.tSTRING_BEG; case '?': if (lex_state == LexState.EXPR_END || lex_state == LexState.EXPR_ENDARG) { lex_state = LexState.EXPR_BEG; return '?'; } c = src.read(); if (c == EOF) { throw new SyntaxException(src.getPosition(), "incomplete character syntax"); } if (Character.isWhitespace(c)){ if (!lex_state.isArgument()){ int c2 = 0; switch (c) { case ' ': c2 = 's'; break; case '\n': c2 = 'n'; break; case '\t': c2 = 't'; break; /* What is \v in C? case '\v': c2 = 'v'; break; */ case '\r': c2 = 'r'; break; case '\f': c2 = 'f'; break; } if (c2 != 0) { warnings.warn(src.getPosition(), "invalid character syntax; use ?\\" + c2); } } src.unread(c); lex_state = LexState.EXPR_BEG; return '?'; /*} else if (ismbchar(c)) { // ruby - we don't support them either? rb_warn("multibyte character literal not supported yet; use ?\\" + c); support.unread(c); lexState = LexState.EXPR_BEG; return '?';*/ } else if ((Character.isLetterOrDigit(c) || c == '_') && !src.peek('\n') && isNext_identchar()) { src.unread(c); lex_state = LexState.EXPR_BEG; return '?'; } else if (c == '\\') { c = src.readEscape(); } c &= 0xff; lex_state = LexState.EXPR_END; yaccValue = new Long(c); return Tokens.tINTEGER; case '&': if ((c = src.read()) == '&') { lex_state = LexState.EXPR_BEG; if ((c = src.read()) == '=') { yaccValue = "&&"; lex_state = LexState.EXPR_BEG; return Tokens.tOP_ASGN; } src.unread(c); return Tokens.tANDOP; } else if (c == '=') { yaccValue = "&"; lex_state = LexState.EXPR_BEG; return Tokens.tOP_ASGN; } src.unread(c); if (lex_state.isArgument() && spaceSeen && !Character.isWhitespace(c)){ warnings.warning(src.getPosition(), "`&' interpreted as argument prefix"); c = Tokens.tAMPER; } else if (lex_state == LexState.EXPR_BEG || lex_state == LexState.EXPR_MID) { c = Tokens.tAMPER; } else { c = Tokens.tAMPER2; } if (lex_state == LexState.EXPR_FNAME || lex_state == LexState.EXPR_DOT) { lex_state = LexState.EXPR_ARG; } else { lex_state = LexState.EXPR_BEG; } yaccValue = "&"; return c; case '|': if ((c = src.read()) == '|') { lex_state = LexState.EXPR_BEG; if ((c = src.read()) == '=') { yaccValue = "||"; lex_state = LexState.EXPR_BEG; return Tokens.tOP_ASGN; } src.unread(c); return Tokens.tOROP; } if (c == '=') { yaccValue = "|"; lex_state = LexState.EXPR_BEG; return Tokens.tOP_ASGN; } if (lex_state == LexState.EXPR_FNAME || lex_state == LexState.EXPR_DOT) { lex_state = LexState.EXPR_ARG; } else { lex_state = LexState.EXPR_BEG; } yaccValue = "|"; src.unread(c); return Tokens.tPIPE; case '+': c = src.read(); if (lex_state == LexState.EXPR_FNAME || lex_state == LexState.EXPR_DOT) { lex_state = LexState.EXPR_ARG; if (c == '@') { yaccValue = "@+"; return Tokens.tUPLUS; } yaccValue = "+"; src.unread(c); return Tokens.tPLUS; } if (c == '=') { yaccValue = "+"; lex_state = LexState.EXPR_BEG; return Tokens.tOP_ASGN; } if (lex_state == LexState.EXPR_BEG || lex_state == LexState.EXPR_MID || (lex_state.isArgument() && spaceSeen && !Character.isWhitespace(c))) { if (lex_state.isArgument()) arg_ambiguous(); lex_state = LexState.EXPR_BEG; src.unread(c); if (Character.isDigit(c)) { c = '+'; return parseNumber(c); } return Tokens.tUPLUS; } lex_state = LexState.EXPR_BEG; src.unread(c); return Tokens.tPLUS; case '-': c = src.read(); if (lex_state == LexState.EXPR_FNAME || lex_state == LexState.EXPR_DOT) { lex_state = LexState.EXPR_ARG; if (c == '@') { yaccValue = "@-"; return Tokens.tUMINUS; } yaccValue = "-"; src.unread(c); return Tokens.tMINUS; } if (c == '=') { yaccValue = "-"; lex_state = LexState.EXPR_BEG; return Tokens.tOP_ASGN; } if (lex_state == LexState.EXPR_BEG || lex_state == LexState.EXPR_MID || (lex_state.isArgument() && spaceSeen && !Character.isWhitespace(c))) { if (lex_state.isArgument()) arg_ambiguous(); lex_state = LexState.EXPR_BEG; src.unread(c); if (Character.isDigit(c)) { return Tokens.tUMINUS_NUM; } return Tokens.tUMINUS; } lex_state = LexState.EXPR_BEG; src.unread(c); return Tokens.tMINUS; case '.': lex_state = LexState.EXPR_BEG; if ((c = src.read()) == '.') { if ((c = src.read()) == '.') { return Tokens.tDOT3; } src.unread(c); return Tokens.tDOT2; } src.unread(c); if (Character.isDigit(c)) { throw new SyntaxException(src.getPosition(), "no .<digit> floating literal anymore; put 0 before dot"); } lex_state = LexState.EXPR_DOT; return Tokens.tDOT; case '0' : case '1' : case '2' : case '3' : case '4' : case '5' : case '6' : case '7' : case '8' : case '9' : return parseNumber(c); case ']': case '}': case ')': conditionState.restart(); cmdArgumentState.restart(); lex_state = LexState.EXPR_END; return c; case ':': c = src.read(); if (c == ':') { if (lex_state == LexState.EXPR_BEG || lex_state == LexState.EXPR_MID || lex_state == LexState.EXPR_CLASS || (lex_state.isArgument() && spaceSeen)) { lex_state = LexState.EXPR_BEG; return Tokens.tCOLON3; } lex_state = LexState.EXPR_DOT; return Tokens.tCOLON2; } if (lex_state == LexState.EXPR_END || lex_state == LexState.EXPR_ENDARG || Character.isWhitespace(c)) { src.unread(c); lex_state = LexState.EXPR_BEG; return ':'; } switch (c) { case '\'': lex_strterm = new StringTerm(str_ssym, c, '\0'); break; case '"': lex_strterm = new StringTerm(str_dsym, c, '\0'); break; default: src.unread(c); break; } lex_state = LexState.EXPR_FNAME; return Tokens.tSYMBEG; case '/': if (lex_state == LexState.EXPR_BEG || lex_state == LexState.EXPR_MID) { lex_strterm = new StringTerm(str_regexp, '/', '\0'); return Tokens.tREGEXP_BEG; } if ((c = src.read()) == '=') { yaccValue = "/"; lex_state = LexState.EXPR_BEG; return Tokens.tOP_ASGN; } src.unread(c); if (lex_state.isArgument() && spaceSeen) { if (!Character.isWhitespace(c)) { arg_ambiguous(); lex_strterm = new StringTerm(str_regexp, '/', '\0'); return Tokens.tREGEXP_BEG; } } if (lex_state == LexState.EXPR_FNAME || lex_state == LexState.EXPR_DOT) { lex_state = LexState.EXPR_ARG; } else { lex_state = LexState.EXPR_BEG; } yaccValue = "/"; return Tokens.tDIVIDE; case '^': yaccValue = "^"; if ((c = src.read()) == '=') { lex_state = LexState.EXPR_BEG; return Tokens.tOP_ASGN; } if (lex_state == LexState.EXPR_FNAME || lex_state == LexState.EXPR_DOT) { lex_state = LexState.EXPR_ARG; } else { lex_state = LexState.EXPR_BEG; } src.unread(c); return Tokens.tCARET; case ';': commandStart = true; case ',': lex_state = LexState.EXPR_BEG; return c; case '~': if (lex_state == LexState.EXPR_FNAME || lex_state == LexState.EXPR_DOT) { if ((c = src.read()) != '@') { src.unread(c); } } if (lex_state == LexState.EXPR_FNAME || lex_state == LexState.EXPR_DOT) { lex_state = LexState.EXPR_ARG; } else { lex_state = LexState.EXPR_BEG; } yaccValue = "~"; return Tokens.tTILDE; case '(': c = Tokens.tLPAREN2; commandStart = true; if (lex_state == LexState.EXPR_BEG || lex_state == LexState.EXPR_MID) { c = Tokens.tLPAREN; } else if (spaceSeen) { if (lex_state == LexState.EXPR_CMDARG) { c = Tokens.tLPAREN_ARG; } else if (lex_state == LexState.EXPR_ARG) { warnings.warn(src.getPosition(), "don't put space before argument parentheses"); c = Tokens.tLPAREN2; } } conditionState.stop(); cmdArgumentState.stop(); lex_state = LexState.EXPR_BEG; return c; case '[': if (lex_state == LexState.EXPR_FNAME || lex_state == LexState.EXPR_DOT) { lex_state = LexState.EXPR_ARG; if ((c = src.read()) == ']') { if ((c = src.read()) == '=') { yaccValue = "[]="; return Tokens.tASET; } yaccValue = "[]"; src.unread(c); return Tokens.tAREF; } src.unread(c); return '['; } else if (lex_state == LexState.EXPR_BEG || lex_state == LexState.EXPR_MID) { c = Tokens.tLBRACK; } else if (lex_state.isArgument() && spaceSeen) { c = Tokens.tLBRACK; } lex_state = LexState.EXPR_BEG; conditionState.stop(); cmdArgumentState.stop(); return c; case '{': c = Tokens.tLCURLY; if (lex_state.isArgument() || lex_state == LexState.EXPR_END) { c = Tokens.tLCURLY; /* block (primary) */ } else if (lex_state == LexState.EXPR_ENDARG) { c = Tokens.tLBRACE_ARG; /* block (expr) */ } else { c = Tokens.tLBRACE; /* hash */ } conditionState.stop(); cmdArgumentState.stop(); lex_state = LexState.EXPR_BEG; return c; case '\\': c = src.read(); if (c == '\n') { spaceSeen = true; continue retry; /* skip \\n */ } src.unread(c); return '\\'; case '%': if (lex_state == LexState.EXPR_BEG || lex_state == LexState.EXPR_MID) { return parseQuote(src.read()); } if ((c = src.read()) == '=') { yaccValue = "%"; lex_state = LexState.EXPR_BEG; return Tokens.tOP_ASGN; } if (lex_state.isArgument() && spaceSeen && !Character.isWhitespace(c)) { return parseQuote(c); } if (lex_state == LexState.EXPR_FNAME || lex_state == LexState.EXPR_DOT) { lex_state = LexState.EXPR_ARG; } else { lex_state = LexState.EXPR_BEG; } yaccValue = "%"; src.unread(c); return Tokens.tPERCENT; case '$': lex_state = LexState.EXPR_END; tokenBuffer.setLength(0); c = src.read(); switch (c) { case '_': /* $_: last read line string */ c = src.read(); if (isIdentifierChar(c)) { tokenBuffer.append('$'); tokenBuffer.append('_'); break; } src.unread(c); c = '_'; /* fall through */ case '*': /* $*: argv */ case '$': /* $$: pid */ case '?': /* $?: last status */ case '!': /* $!: error string */ case '@': /* $@: error position */ case '/': /* $/: input record separator */ case '\\': /* $\: output record separator */ case ';': /* $;: field separator */ case ',': /* $,: output field separator */ case '.': /* $.: last read line number */ case '=': /* $=: ignorecase */ case ':': /* $:: load path */ case '<': /* $<: reading filename */ case '>': /* $>: default output handle */ case '\"': /* $": already loaded files */ tokenBuffer.append('$'); tokenBuffer.append(c); yaccValue = tokenBuffer.toString(); return Tokens.tGVAR; case '-': tokenBuffer.append('$'); tokenBuffer.append(c); c = src.read(); tokenBuffer.append(c); yaccValue = tokenBuffer.toString(); /* xxx shouldn't check if valid option variable */ return Tokens.tGVAR; case '~': /* $~: match-data */ case '&': /* $&: last match */ case '`': /* $`: string before last match */ case '\'': /* $': string after last match */ case '+': /* $+: string matches last paren. */ yaccValue = new BackRefNode(src.getPosition(), c); return Tokens.tBACK_REF; case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': tokenBuffer.append('$'); do { tokenBuffer.append(c); c = src.read(); } while (Character.isDigit(c)); src.unread(c); yaccValue = new NthRefNode(src.getPosition(), Integer.parseInt(tokenBuffer.substring(1))); return Tokens.tNTH_REF; default: if (!isIdentifierChar(c)) { src.unread(c); return '$'; } case '0': tokenBuffer.append('$'); } break; case '@': c = src.read(); tokenBuffer.setLength(0); tokenBuffer.append('@'); if (c == '@') { tokenBuffer.append('@'); c = src.read(); } if (Character.isDigit(c)) { if (tokenBuffer.length() == 1) { throw new SyntaxException(src.getPosition(), "`@" + c + "' is not allowed as an instance variable name"); } throw new SyntaxException(src.getPosition(), "`@@" + c + "' is not allowed as a class variable name"); } if (!isIdentifierChar(c)) { src.unread(c); return '@'; } break; case '_': if (src.wasBeginOfLine() && src.matchString("_END__\n", false)) { parserSupport.getResult().setEndSeen(true); return 0; } tokenBuffer.setLength(0); break; default: if (!isIdentifierChar(c)) { throw new SyntaxException(src.getPosition(), "Invalid char `\\" + new PrintfFormat("%.3o").sprintf(c) + "' in expression"); } tokenBuffer.setLength(0); break; } do { tokenBuffer.append(c); /* no special multibyte character handling is needed in Java * if (ismbchar(c)) { int i, len = mbclen(c)-1; for (i = 0; i < len; i++) { c = src.read(); tokenBuffer.append(c); } }*/ c = src.read(); } while (isIdentifierChar(c)); char peek = src.read(); if ((c == '!' || c == '?') && isIdentifierChar(tokenBuffer.charAt(0)) && peek != '=') { src.unread(peek); tokenBuffer.append(c); } else { src.unread(peek); src.unread(c); } int result = 0; switch (tokenBuffer.charAt(0)) { case '$': lex_state = LexState.EXPR_END; result = Tokens.tGVAR; break; case '@': lex_state = LexState.EXPR_END; if (tokenBuffer.charAt(1) == '@') { result = Tokens.tCVAR; } else { result = Tokens.tIVAR; } break; default: char last = tokenBuffer.charAt(tokenBuffer.length() - 1); if (last == '!' || last == '?') { result = Tokens.tFID; } else { if (lex_state == LexState.EXPR_FNAME) { /* // Enebo: This should be equivalent to below without // so much read/unread action. if ((c = src.read()) == '=') { char c2 = src.read(); if (c2 != '~' && c2 != '>' && (c2 != '=' || (c2 == '\n' && src.peek('>')))) { result = Token.tIDENTIFIER; tokenBuffer.append(c); } else { src.unread(c2); src.unread(c); } } else { src.unread(c); } */ if ((c = src.read()) == '=' && !src.peek('~') && !src.peek('>') && (!src.peek('=') || (src.peek('\n') && src.getCharAt(1) == '>'))) { result = Tokens.tIDENTIFIER; tokenBuffer.append(c); } else { src.unread(c); } } if (result == 0 && ISUPPER(tokenBuffer.charAt(0))) { result = Tokens.tCONSTANT; } else { result = Tokens.tIDENTIFIER; } } if (lex_state != LexState.EXPR_DOT) { /* See if it is a reserved word. */ Keyword keyword = Keyword.getKeyword(tokenBuffer.toString(), tokenBuffer.length()); if (keyword != null) { // enum lex_state LexState state = lex_state; lex_state = keyword.state; if (state.isExprFName()) { yaccValue = keyword.name; } if (keyword.id0 == Tokens.kDO) { if (conditionState.isInState()) { return Tokens.kDO_COND; } if (cmdArgumentState.isInState() && state != LexState.EXPR_CMDARG) { return Tokens.kDO_BLOCK; } if (state == LexState.EXPR_ENDARG) { return Tokens.kDO_BLOCK; } return Tokens.kDO; } if (state == LexState.EXPR_BEG) { return keyword.id0; } if (keyword.id0 != keyword.id1) { lex_state = LexState.EXPR_BEG; } return keyword.id1; } } if (lex_state == LexState.EXPR_BEG || lex_state == LexState.EXPR_MID || lex_state == LexState.EXPR_DOT || lex_state == LexState.EXPR_ARG || lex_state == LexState.EXPR_CMDARG) { if (commandState) { lex_state = LexState.EXPR_CMDARG; } else { lex_state = LexState.EXPR_ARG; } } else { lex_state = LexState.EXPR_END; } } yaccValue = tokenBuffer.toString(); // Lame: parsing logic made it into lexer in ruby...So we // are emulating if (IdUtil.isLocal((String)yaccValue) && ((((LocalNamesElement) parserSupport.getLocalNames().peek()).isInBlock() && ((BlockNamesElement) parserSupport.getBlockNames().peek()).isDefined((String) yaccValue)) || ((LocalNamesElement) parserSupport.getLocalNames().peek()).isLocalRegistered((String) yaccValue))) { lex_state = LexState.EXPR_END; } return result; } }
50993 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50993/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/buggy/src/org/jruby/lexer/yacc/RubyYaccLexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 677, 1362, 92, 1435, 288, 3639, 1149, 276, 31, 3639, 1250, 3476, 15160, 273, 629, 31, 3639, 1250, 1296, 1119, 31, 7734, 309, 261, 4149, 67, 701, 6408, 480, 446, 13, 288, 1082, 202, 474, 946, 273, 5275, 67, 701, 6408, 18, 2670, 780, 12, 2211, 16, 1705, 1769, 1082, 202, 430, 261, 17692, 422, 13899, 18, 88, 5804, 67, 4415, 747, 946, 422, 13899, 18, 88, 28225, 67, 4415, 13, 288, 9506, 565, 5275, 67, 701, 6408, 273, 446, 31, 9506, 565, 5275, 67, 2019, 273, 15123, 1119, 18, 2294, 8025, 67, 4415, 31, 1082, 202, 97, 1082, 202, 2463, 946, 31, 3639, 289, 3639, 783, 1616, 273, 1705, 18, 588, 2555, 5621, 7734, 1296, 1119, 273, 1296, 1685, 31, 3639, 1296, 1685, 273, 629, 31, 7734, 3300, 30, 364, 12, 25708, 13, 288, 5411, 276, 273, 1705, 18, 896, 5621, 5411, 1620, 12, 71, 13, 288, 5411, 648, 2337, 26565, 4278, 202, 202, 20308, 3602, 40, 1195, 5411, 648, 2337, 20, 1578, 4278, 202, 202, 20308, 3602, 62, 1195, 5411, 648, 374, 30, 1082, 202, 20308, 679, 434, 2728, 18, 1195, 7734, 327, 374, 31, 21821, 1748, 9578, 7292, 1195, 5411, 648, 296, 4290, 648, 2337, 88, 4278, 648, 2337, 74, 4278, 648, 2337, 86, 4278, 5411, 648, 2337, 3437, 4278, 1748, 2337, 90, 11, 1195, 7734, 3476, 15160, 273, 638, 31, 7734, 1324, 3300, 31, 5411, 648, 2946, 4278, 202, 202, 20308, 518, 1807, 279, 2879, 1195, 7734, 1323, 14015, 71, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 677, 1362, 92, 1435, 288, 3639, 1149, 276, 31, 3639, 1250, 3476, 15160, 273, 629, 31, 3639, 1250, 1296, 1119, 31, 7734, 309, 261, 4149, 67, 701, 6408, 480, 446, 13, 288, 1082, 202, 474, 946, 273, 5275, 67, 701, 6408, 18, 2670, 780, 12, 2211, 16, 1705, 1769, 1082, 202, 430, 261, 17692, 422, 13899, 18, 88, 5804, 67, 4415, 747, 946, 422, 13899, 18, 88, 28225, 67, 4415, 13, 288, 9506, 565, 5275, 67, 701, 6408, 273, 446, 31, 9506, 565, 5275, 67, 2019, 273, 15123, 1119, 18, 2294, 8025, 67, 4415, 31, 1082, 202, 97, 1082, 202, 2463, 946, 31, 3639, 289, 3639, 783, 1616, 273, 1705, 18, 588, 2555, 5621, 7734, 1296, 2 ]
Map compilerOptions= null; if (input instanceof IResourceProvider) { IResource resource= ((IResourceProvider) input).getResource(); if (resource != null) { IJavaElement element= JavaCore.create(resource); if (element != null) { IJavaProject javaProject= element.getJavaProject(); if (javaProject != null) compilerOptions= javaProject.getOptions(true); } } } if (compilerOptions == null) compilerOptions= fDefaultCompilerOptions; if (doc != null) { boolean isEditable= false; if (input instanceof IEditableContent) isEditable= ((IEditableContent) input).isEditable(); JavaNode root= new JavaNode(doc, isEditable) { void nodeChanged(JavaNode node) { save(this, input); } }; if (buffer == null) { contents= doc.get(); int n= contents.length(); buffer= new char[n]; contents.getChars(0, n, buffer, 0); } ASTParser parser= ASTParser.newParser(AST.JLS3); if (compilerOptions != null) parser.setCompilerOptions(compilerOptions); parser.setSource(buffer); parser.setFocalPosition(0); CompilationUnit cu= (CompilationUnit) parser.createAST(null); cu.accept(new JavaParseTreeBuilder(root, buffer, true)); return root; } return null;
return createStructureComparator(input, buffer, doc, null);
public IStructureComparator getStructure(final Object input) { String contents= null; char[] buffer= null; IDocument doc= CompareUI.getDocument(input); if (doc == null) { if (input instanceof IStreamContentAccessor) { IStreamContentAccessor sca= (IStreamContentAccessor) input; try { contents= JavaCompareUtilities.readString(sca); } catch (CoreException ex) { // return null indicates the error. return null; } } if (contents != null) { int n= contents.length(); buffer= new char[n]; contents.getChars(0, n, buffer, 0); doc= new Document(contents); //CompareUI.registerDocument(input, doc); JavaCompareUtilities.setupDocument(doc); } } Map compilerOptions= null; if (input instanceof IResourceProvider) { IResource resource= ((IResourceProvider) input).getResource(); if (resource != null) { IJavaElement element= JavaCore.create(resource); if (element != null) { IJavaProject javaProject= element.getJavaProject(); if (javaProject != null) compilerOptions= javaProject.getOptions(true); } } } if (compilerOptions == null) compilerOptions= fDefaultCompilerOptions; if (doc != null) { boolean isEditable= false; if (input instanceof IEditableContent) isEditable= ((IEditableContent) input).isEditable(); // we hook into the root node to intercept all node changes JavaNode root= new JavaNode(doc, isEditable) { void nodeChanged(JavaNode node) { save(this, input); } }; if (buffer == null) { contents= doc.get(); int n= contents.length(); buffer= new char[n]; contents.getChars(0, n, buffer, 0); } ASTParser parser= ASTParser.newParser(AST.JLS3); if (compilerOptions != null) parser.setCompilerOptions(compilerOptions); parser.setSource(buffer); parser.setFocalPosition(0); CompilationUnit cu= (CompilationUnit) parser.createAST(null); cu.accept(new JavaParseTreeBuilder(root, buffer, true)); return root; } return null; }
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/2cc61b3806ec5eee7dc12e2ddd226ef13221c89a/JavaStructureCreator.java/buggy/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaStructureCreator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 6999, 5559, 18730, 12, 6385, 1033, 810, 13, 288, 202, 202, 780, 2939, 33, 446, 31, 202, 202, 3001, 8526, 1613, 33, 446, 31, 202, 202, 734, 504, 650, 997, 33, 11051, 5370, 18, 588, 2519, 12, 2630, 1769, 202, 202, 430, 261, 2434, 422, 446, 13, 288, 1082, 202, 430, 261, 2630, 1276, 467, 1228, 1350, 8235, 13, 288, 9506, 202, 45, 1228, 1350, 8235, 888, 69, 33, 261, 45, 1228, 1350, 8235, 13, 810, 31, 6862, 1082, 202, 698, 288, 6862, 202, 3980, 33, 5110, 8583, 11864, 18, 896, 780, 12, 1017, 69, 1769, 9506, 202, 97, 1044, 261, 25341, 431, 13, 288, 6862, 202, 759, 327, 446, 8527, 326, 555, 18, 6862, 202, 2463, 446, 31, 9506, 202, 97, 25083, 202, 97, 25083, 202, 430, 261, 3980, 480, 446, 13, 288, 9506, 202, 474, 290, 33, 2939, 18, 2469, 5621, 9506, 202, 4106, 33, 394, 1149, 63, 82, 15533, 9506, 202, 3980, 18, 588, 7803, 12, 20, 16, 290, 16, 1613, 16, 374, 1769, 6862, 9506, 202, 2434, 33, 394, 4319, 12, 3980, 1769, 9506, 202, 759, 8583, 5370, 18, 4861, 2519, 12, 2630, 16, 997, 1769, 9506, 202, 5852, 8583, 11864, 18, 8401, 2519, 12, 2434, 1769, 6862, 1082, 202, 97, 202, 202, 97, 9506, 202, 863, 5274, 1320, 33, 446, 31, 202, 202, 430, 261, 2630, 1276, 467, 1420, 2249, 13, 288, 1082, 202, 45, 1420, 1058, 33, 14015, 45, 1420, 2249, 13, 810, 2934, 588, 1420, 5621, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 467, 6999, 5559, 18730, 12, 6385, 1033, 810, 13, 288, 202, 202, 780, 2939, 33, 446, 31, 202, 202, 3001, 8526, 1613, 33, 446, 31, 202, 202, 734, 504, 650, 997, 33, 11051, 5370, 18, 588, 2519, 12, 2630, 1769, 202, 202, 430, 261, 2434, 422, 446, 13, 288, 1082, 202, 430, 261, 2630, 1276, 467, 1228, 1350, 8235, 13, 288, 9506, 202, 45, 1228, 1350, 8235, 888, 69, 33, 261, 45, 1228, 1350, 8235, 13, 810, 31, 6862, 1082, 202, 698, 288, 6862, 202, 3980, 33, 5110, 8583, 11864, 18, 896, 780, 12, 1017, 69, 1769, 9506, 202, 97, 1044, 261, 25341, 431, 13, 288, 6862, 202, 759, 327, 446, 8527, 326, 555, 18, 6862, 2 ]
context = new LimitedScannerContext( this, scannerData.getInitialReader(), resolvedFilename, ScannerContext.ContextKind.TOP, offsetLimit );
context = new LimitedScannerContext( this, scannerData.getInitialReader(), resolvedFilename, ScannerContext.ContextKind.TOP, offsetLimit, 0 );
private void setupInitialContext() { String resolvedFilename = scannerData.getInitialFilename() == null ? TEXT : scannerData.getInitialFilename(); IScannerContext context = null; try { if( offsetLimit == NO_OFFSET_LIMIT ) context = new ScannerContext(scannerData.getInitialReader(), resolvedFilename, ScannerContext.ContextKind.TOP, null ); else context = new LimitedScannerContext( this, scannerData.getInitialReader(), resolvedFilename, ScannerContext.ContextKind.TOP, offsetLimit ); scannerData.getContextStack().push( context, scannerData.getClientRequestor() ); } catch( ContextException ce ) { handleInternalError(); } initialContextInitialized = true; }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/7a2c6de5fb3f720d4ccf6d80c100a157056f2b77/Scanner.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner/Scanner.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 3875, 4435, 1042, 1435, 565, 288, 377, 202, 780, 4640, 5359, 273, 7683, 751, 18, 588, 4435, 5359, 1435, 422, 446, 692, 9204, 294, 7683, 751, 18, 588, 4435, 5359, 5621, 377, 202, 45, 11338, 1042, 819, 273, 446, 31, 377, 202, 698, 377, 202, 95, 377, 202, 202, 430, 12, 1384, 3039, 422, 3741, 67, 11271, 67, 8283, 262, 377, 1082, 202, 2472, 273, 394, 19074, 1042, 12, 26842, 751, 18, 588, 4435, 2514, 9334, 4640, 5359, 16, 19074, 1042, 18, 1042, 5677, 18, 10462, 16, 446, 11272, 377, 202, 202, 12107, 377, 1082, 202, 2472, 273, 394, 7214, 329, 11338, 1042, 12, 333, 16, 7683, 751, 18, 588, 4435, 2514, 9334, 4640, 5359, 16, 19074, 1042, 18, 1042, 5677, 18, 10462, 16, 1384, 3039, 16, 374, 11272, 377, 202, 202, 26842, 751, 18, 29120, 2624, 7675, 6206, 12, 819, 16, 7683, 751, 18, 588, 1227, 691, 280, 1435, 11272, 1377, 202, 97, 1044, 12, 1772, 503, 225, 5898, 262, 377, 202, 95, 377, 202, 202, 4110, 20980, 5621, 377, 202, 97, 377, 202, 6769, 1042, 11459, 273, 638, 31, 565, 202, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 3875, 4435, 1042, 1435, 565, 288, 377, 202, 780, 4640, 5359, 273, 7683, 751, 18, 588, 4435, 5359, 1435, 422, 446, 692, 9204, 294, 7683, 751, 18, 588, 4435, 5359, 5621, 377, 202, 45, 11338, 1042, 819, 273, 446, 31, 377, 202, 698, 377, 202, 95, 377, 202, 202, 430, 12, 1384, 3039, 422, 3741, 67, 11271, 67, 8283, 262, 377, 1082, 202, 2472, 273, 394, 19074, 1042, 12, 26842, 751, 18, 588, 4435, 2514, 9334, 4640, 5359, 16, 19074, 1042, 18, 1042, 5677, 18, 10462, 16, 446, 11272, 377, 202, 202, 12107, 377, 1082, 202, 2472, 273, 394, 7214, 329, 11338, 1042, 12, 333, 16, 7683, 751, 18, 588, 4435, 2514, 9334, 4640, 5359, 2 ]
public void addRightFloat(Box block) { //Uu.p("adding a right float: " + block); right_floats.add(block); offset_map.put(block, getOffset()); }
52947 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52947/9ac58abece8ac0f02983d3b07df9656b6a59c78a/BlockFormattingContext.java/buggy/src/java/org/xhtmlrenderer/layout/BlockFormattingContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 4726, 4723, 12, 3514, 1203, 13, 288, 202, 202, 759, 57, 89, 18, 84, 2932, 3439, 279, 2145, 1431, 30, 315, 397, 1203, 1769, 3639, 2145, 67, 5659, 87, 18, 1289, 12, 2629, 1769, 3639, 1384, 67, 1458, 18, 458, 12, 2629, 16, 13386, 10663, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 4726, 4723, 12, 3514, 1203, 13, 288, 202, 202, 759, 57, 89, 18, 84, 2932, 3439, 279, 2145, 1431, 30, 315, 397, 1203, 1769, 3639, 2145, 67, 5659, 87, 18, 1289, 12, 2629, 1769, 3639, 1384, 67, 1458, 18, 458, 12, 2629, 16, 13386, 10663, 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 ]
il.append(methodGen.loadCurrentNode()); il.append(new INVOKEINTERFACE(pos, 4));
il.append(methodGen.loadContextNode()); il.append(new INVOKEINTERFACE(pos, 3));
public void translate(ClassGenerator classGen, MethodGenerator methodGen) { final InstructionList il = methodGen.getInstructionList(); // If we're a part of an expression's preficate we want to know what // type of node we want to be looking for if (getParent() instanceof Expression) { if (getParent().getParent() instanceof Predicate) { Predicate pred = (Predicate)getParent().getParent(); _type = pred.getPosType(); if ((_type==DOM.ELEMENT) || (_type==DOM.ATTRIBUTE)) _type = -1; } } if (methodGen instanceof CompareGenerator) { il.append(((CompareGenerator)methodGen).loadCurrentNode()); } else if (methodGen instanceof TestGenerator) { il.append(new ILOAD(POSITION_INDEX)); } else if (_type == -1) { final ConstantPoolGen cpg = classGen.getConstantPool(); final int getPosition = cpg.addInterfaceMethodref(NODE_ITERATOR, "getPosition", "()I"); il.append(methodGen.loadIterator()); il.append(new INVOKEINTERFACE(getPosition, 1)); } else { final ConstantPoolGen cpg = classGen.getConstantPool(); // public int getTypedPosition(NodeIterator iterator, int type) { final String params = "("+NODE_ITERATOR_SIG+"II)I"; final int pos = cpg.addInterfaceMethodref(DOM_INTF, "getTypedPosition", params); il.append(methodGen.loadDOM()); il.append(methodGen.loadIterator()); il.append(new PUSH(cpg, _type)); il.append(methodGen.loadCurrentNode()); il.append(new INVOKEINTERFACE(pos, 4)); } }
46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/55c7e7b1d0d253233427e97e19ee63ad1f81ba31/PositionCall.java/buggy/src/org/apache/xalan/xsltc/compiler/PositionCall.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 4204, 12, 797, 3908, 667, 7642, 16, 2985, 3908, 707, 7642, 13, 288, 202, 6385, 24605, 682, 14254, 273, 707, 7642, 18, 588, 11983, 682, 5621, 202, 759, 971, 732, 4565, 279, 1087, 434, 392, 2652, 1807, 11307, 2659, 732, 2545, 358, 5055, 4121, 202, 759, 618, 434, 756, 732, 2545, 358, 506, 7849, 364, 202, 430, 261, 588, 3054, 1435, 1276, 5371, 13, 288, 202, 565, 309, 261, 588, 3054, 7675, 588, 3054, 1435, 1276, 10202, 13, 288, 202, 202, 8634, 3479, 273, 261, 8634, 13, 588, 3054, 7675, 588, 3054, 5621, 202, 202, 67, 723, 273, 3479, 18, 588, 1616, 559, 5621, 202, 202, 430, 14015, 67, 723, 631, 8168, 18, 10976, 13, 747, 261, 67, 723, 631, 8168, 18, 11616, 3719, 389, 723, 273, 300, 21, 31, 202, 565, 289, 202, 97, 202, 430, 261, 2039, 7642, 1276, 11051, 3908, 13, 288, 202, 565, 14254, 18, 6923, 12443, 12, 8583, 3908, 13, 2039, 7642, 2934, 945, 3935, 907, 10663, 202, 97, 202, 12107, 309, 261, 2039, 7642, 1276, 7766, 3908, 13, 288, 202, 565, 14254, 18, 6923, 12, 2704, 467, 7783, 12, 15258, 67, 9199, 10019, 202, 97, 202, 12107, 309, 261, 67, 723, 422, 300, 21, 13, 288, 202, 565, 727, 10551, 2864, 7642, 3283, 75, 273, 667, 7642, 18, 588, 6902, 2864, 5621, 202, 565, 727, 509, 14441, 273, 3283, 75, 18, 1289, 1358, 1305, 1734, 12, 8744, 67, 11844, 3575, 16, 6862, 9506, 1377, 315, 588, 2555, 3113, 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, 4204, 12, 797, 3908, 667, 7642, 16, 2985, 3908, 707, 7642, 13, 288, 202, 6385, 24605, 682, 14254, 273, 707, 7642, 18, 588, 11983, 682, 5621, 202, 759, 971, 732, 4565, 279, 1087, 434, 392, 2652, 1807, 11307, 2659, 732, 2545, 358, 5055, 4121, 202, 759, 618, 434, 756, 732, 2545, 358, 506, 7849, 364, 202, 430, 261, 588, 3054, 1435, 1276, 5371, 13, 288, 202, 565, 309, 261, 588, 3054, 7675, 588, 3054, 1435, 1276, 10202, 13, 288, 202, 202, 8634, 3479, 273, 261, 8634, 13, 588, 3054, 7675, 588, 3054, 5621, 202, 202, 67, 723, 273, 3479, 18, 588, 1616, 559, 5621, 202, 202, 430, 14015, 67, 723, 631, 8168, 18, 10976, 13, 747, 2 ]
sizeDif = -sizeDif;
sizeDif = 0;
public Double identity() { int sizeMul = 1; // assuming DNA; use 3 for protein. long qAliSize = sizeMul * this.getQueryEnd() - this.getQueryStart(); long tAliSize = this.getTargetEnd() - this.getTargetStart(); long aliSize = Math.min( qAliSize, tAliSize ); if ( aliSize <= 0 ) return 0.0; long sizeDif = qAliSize = tAliSize; if ( sizeDif < 0 ) { sizeDif = -sizeDif; // here assuming "isMrna" is false; } int insertFactor = this.getQueryGapCount(); int milliBad = ( 1000 * ( this.getMismatches() * sizeMul + insertFactor + ( int ) Math.round( 3 * Math .log( 1.0 + sizeDif ) ) ) ) / ( sizeMul * ( this.getMatches() + this.getRepMatches() + this.getMismatches() ) ); assert milliBad >= 0 && milliBad <= 1000 : "Millibad was ourside of range 0-1000: " + milliBad; return 100.0 - milliBad * 0.1; }
4335 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4335/f1c5ceaec58726a9823420ae4d836610b8ede4d5/BlatResultImpl.java/buggy/gemma-mda/src/main/java/ubic/gemma/model/genome/sequenceAnalysis/BlatResultImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3698, 4215, 1435, 288, 3639, 509, 963, 27860, 273, 404, 31, 368, 15144, 463, 11277, 31, 999, 890, 364, 14314, 18, 3639, 1525, 1043, 37, 549, 1225, 273, 963, 27860, 380, 333, 18, 588, 1138, 1638, 1435, 300, 333, 18, 588, 1138, 1685, 5621, 3639, 1525, 268, 37, 549, 1225, 273, 333, 18, 588, 2326, 1638, 1435, 300, 333, 18, 588, 2326, 1685, 5621, 3639, 1525, 15033, 1225, 273, 2361, 18, 1154, 12, 1043, 37, 549, 1225, 16, 268, 37, 549, 1225, 11272, 3639, 309, 261, 15033, 1225, 1648, 374, 262, 327, 374, 18, 20, 31, 3639, 1525, 963, 10428, 273, 1043, 37, 549, 1225, 273, 268, 37, 549, 1225, 31, 3639, 309, 261, 963, 10428, 411, 374, 262, 288, 5411, 963, 10428, 273, 374, 31, 225, 368, 2674, 15144, 315, 291, 49, 86, 6582, 6, 353, 629, 31, 3639, 289, 3639, 509, 2243, 6837, 273, 333, 18, 588, 1138, 14001, 1380, 5621, 3639, 509, 312, 16607, 6434, 273, 261, 4336, 380, 261, 333, 18, 588, 11729, 8436, 1435, 380, 963, 27860, 397, 2243, 6837, 397, 261, 509, 262, 2361, 18, 2260, 12, 890, 380, 2361, 7734, 263, 1330, 12, 404, 18, 20, 397, 963, 10428, 262, 262, 262, 262, 7734, 342, 261, 963, 27860, 380, 261, 333, 18, 588, 6869, 1435, 397, 333, 18, 588, 18933, 6869, 1435, 397, 333, 18, 588, 11729, 8436, 1435, 262, 11272, 3639, 1815, 312, 16607, 6434, 1545, 374, 597, 312, 16607, 6434, 1648, 4336, 294, 315, 49, 737, 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, 3698, 4215, 1435, 288, 3639, 509, 963, 27860, 273, 404, 31, 368, 15144, 463, 11277, 31, 999, 890, 364, 14314, 18, 3639, 1525, 1043, 37, 549, 1225, 273, 963, 27860, 380, 333, 18, 588, 1138, 1638, 1435, 300, 333, 18, 588, 1138, 1685, 5621, 3639, 1525, 268, 37, 549, 1225, 273, 333, 18, 588, 2326, 1638, 1435, 300, 333, 18, 588, 2326, 1685, 5621, 3639, 1525, 15033, 1225, 273, 2361, 18, 1154, 12, 1043, 37, 549, 1225, 16, 268, 37, 549, 1225, 11272, 3639, 309, 261, 15033, 1225, 1648, 374, 262, 327, 374, 18, 20, 31, 3639, 1525, 963, 10428, 273, 1043, 37, 549, 1225, 273, 268, 37, 549, 1225, 31, 3639, 309, 261, 963, 10428, 411, 2 ]
WebClient webClient = new WebClient(); WebResponse webResponse = new HttpWebConnection(webClient).getResponse(
final WebClient webClient = new WebClient(); final WebResponse webResponse = new HttpWebConnection(webClient).getResponse(
public static void testHtmlUnitHomePage() throws Exception { URL htmlUnitSite = new URL("http://htmlunit.sourceforge.net"); try { URLConnection connection = htmlUnitSite.openConnection(); connection.connect(); } catch (ConnectException e) { /* sf.net's flaky web servers and not being able to connect * here from the shell server can cause this, doesn't mean something * is broken */ System.out.println("Connection could not be made to " + htmlUnitSite.toExternalForm()); return; } catch (SocketException e) { /* Some systems do not have access to the sf.net's web page. If the connection * timesout, do not fail the test */ System.out.println("Connection could not be made to " + htmlUnitSite.toExternalForm()); return; } WebClient webClient = new WebClient(); WebResponse webResponse = new HttpWebConnection(webClient).getResponse( htmlUnitSite, SubmitMethod.GET, Collections.EMPTY_LIST, Collections.EMPTY_MAP ); HtmlPage page = HTMLParser.parse(webResponse, webClient.getCurrentWindow()); //find the copyright string HtmlUnitXPath xpath = new HtmlUnitXPath("//div[@id='footer']/div[@class='xright']"); String stringVal = xpath.stringValueOf(page).trim(); assertEquals("\u00A9 2002-2005, Gargoyle Software Inc.", stringVal); //see if the Google adds were added via Javascript xpath = new HtmlUnitXPath("//iframe[@name = 'google_ads_frame']"); HtmlInlineFrame inline = (HtmlInlineFrame)xpath.selectSingleNode(page); assertNotNull("find Google ads", inline); HtmlPage innerPage = (HtmlPage)inline.getEnclosedPage(); assertNotNull(innerPage); }
47843 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47843/bfbb9e2a2e54bf7040308f5f0b4fd744c80370c8/HTMLParserTest.java/clean/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/HTMLParserTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 1842, 4353, 2802, 8684, 1964, 1435, 1216, 1185, 288, 3639, 1976, 1729, 2802, 4956, 273, 394, 1976, 2932, 2505, 2207, 2620, 4873, 18, 3168, 1884, 908, 18, 2758, 8863, 3639, 775, 288, 5411, 1976, 1952, 1459, 273, 1729, 2802, 4956, 18, 3190, 1952, 5621, 5411, 1459, 18, 3612, 5621, 3639, 289, 3639, 1044, 261, 5215, 503, 425, 13, 288, 5411, 1748, 9033, 18, 2758, 1807, 1183, 29643, 3311, 7084, 471, 486, 3832, 7752, 358, 3077, 2398, 380, 2674, 628, 326, 5972, 1438, 848, 4620, 333, 16, 3302, 1404, 3722, 5943, 2398, 380, 353, 12933, 2868, 1195, 5411, 2332, 18, 659, 18, 8222, 2932, 1952, 3377, 486, 506, 7165, 358, 315, 397, 1729, 2802, 4956, 18, 869, 6841, 1204, 10663, 5411, 327, 31, 540, 289, 3639, 1044, 261, 4534, 503, 425, 13, 288, 5411, 1748, 10548, 14908, 741, 486, 1240, 2006, 358, 326, 9033, 18, 2758, 1807, 3311, 1363, 18, 225, 971, 326, 1459, 2398, 380, 4124, 659, 16, 741, 486, 2321, 326, 1842, 2398, 1195, 5411, 2332, 18, 659, 18, 8222, 2932, 1952, 3377, 486, 506, 7165, 358, 315, 397, 1729, 2802, 4956, 18, 869, 6841, 1204, 10663, 5411, 327, 31, 3639, 289, 7734, 2999, 1227, 3311, 1227, 273, 394, 2999, 1227, 5621, 3639, 2999, 1064, 3311, 1064, 273, 394, 2541, 4079, 1952, 12, 4875, 1227, 2934, 588, 1064, 12, 7734, 1729, 2802, 4956, 16, 7734, 17320, 1305, 18, 3264, 16, 7734, 5737, 18, 13625, 67, 7085, 16, 7734, 5737, 18, 13625, 67, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 1842, 4353, 2802, 8684, 1964, 1435, 1216, 1185, 288, 3639, 1976, 1729, 2802, 4956, 273, 394, 1976, 2932, 2505, 2207, 2620, 4873, 18, 3168, 1884, 908, 18, 2758, 8863, 3639, 775, 288, 5411, 1976, 1952, 1459, 273, 1729, 2802, 4956, 18, 3190, 1952, 5621, 5411, 1459, 18, 3612, 5621, 3639, 289, 3639, 1044, 261, 5215, 503, 425, 13, 288, 5411, 1748, 9033, 18, 2758, 1807, 1183, 29643, 3311, 7084, 471, 486, 3832, 7752, 358, 3077, 2398, 380, 2674, 628, 326, 5972, 1438, 848, 4620, 333, 16, 3302, 1404, 3722, 5943, 2398, 380, 353, 12933, 2868, 1195, 5411, 2332, 18, 659, 18, 8222, 2932, 1952, 3377, 486, 506, 7165, 358, 315, 397, 1729, 2802, 4956, 18, 2 ]
public Message create( String beginString, String msgType ) { if("0".equals(msgType)) { return new quickfix.fix41.Heartbeat(); } if("A".equals(msgType)) { return new quickfix.fix41.Logon(); } if("1".equals(msgType)) { return new quickfix.fix41.TestRequest(); } if("2".equals(msgType)) { return new quickfix.fix41.ResendRequest(); } if("3".equals(msgType)) { return new quickfix.fix41.Reject(); } if("4".equals(msgType)) { return new quickfix.fix41.SequenceReset(); } if("5".equals(msgType)) { return new quickfix.fix41.Logout(); } if("7".equals(msgType)) { return new quickfix.fix41.Advertisement(); } if("6".equals(msgType)) { return new quickfix.fix41.IndicationofInterest(); } if("B".equals(msgType)) { return new quickfix.fix41.News(); } if("C".equals(msgType)) { return new quickfix.fix41.Email(); } if("R".equals(msgType)) { return new quickfix.fix41.QuoteRequest(); } if("S".equals(msgType)) { return new quickfix.fix41.Quote(); } if("D".equals(msgType)) { return new quickfix.fix41.NewOrderSingle(); } if("8".equals(msgType)) { return new quickfix.fix41.ExecutionReport(); } if("Q".equals(msgType)) { return new quickfix.fix41.DontKnowTrade(); } if("G".equals(msgType)) { return new quickfix.fix41.OrderCancelReplaceRequest(); } if("F".equals(msgType)) { return new quickfix.fix41.OrderCancelRequest(); } if("9".equals(msgType)) { return new quickfix.fix41.OrderCancelReject(); } if("H".equals(msgType)) { return new quickfix.fix41.OrderStatusRequest(); } if("J".equals(msgType)) { return new quickfix.fix41.Allocation(); } if("P".equals(msgType)) { return new quickfix.fix41.AllocationACK(); } if("T".equals(msgType)) { return new quickfix.fix41.SettlementInstructions(); } if("E".equals(msgType)) { return new quickfix.fix41.NewOrderList(); } if("N".equals(msgType)) { return new quickfix.fix41.ListStatus(); } if("L".equals(msgType)) { return new quickfix.fix41.ListExecute(); } if("K".equals(msgType)) { return new quickfix.fix41.ListCancelRequest(); } if("M".equals(msgType)) { return new quickfix.fix41.ListStatusRequest(); } return new quickfix.fix41.Message(); }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/1550773ed3d856616a145b520aada7f5e496c228/MessageFactory.java/buggy/src/java/src/quickfix/fix41/MessageFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2350, 752, 12, 514, 2376, 780, 16, 514, 1234, 559, 262, 288, 282, 309, 2932, 20, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 9549, 904, 18, 904, 9803, 18, 15894, 5621, 282, 289, 282, 309, 2932, 37, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 9549, 904, 18, 904, 9803, 18, 1343, 265, 5621, 282, 289, 282, 309, 2932, 21, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 9549, 904, 18, 904, 9803, 18, 4709, 691, 5621, 282, 289, 282, 309, 2932, 22, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 9549, 904, 18, 904, 9803, 18, 607, 409, 691, 5621, 282, 289, 282, 309, 2932, 23, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 9549, 904, 18, 904, 9803, 18, 21705, 5621, 282, 289, 282, 309, 2932, 24, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 9549, 904, 18, 904, 9803, 18, 4021, 7013, 5621, 282, 289, 282, 309, 2932, 25, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 9549, 904, 18, 904, 9803, 18, 19456, 5621, 282, 289, 282, 309, 2932, 27, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 9549, 904, 18, 904, 9803, 18, 1871, 1097, 291, 820, 5621, 282, 289, 282, 309, 2932, 26, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 9549, 904, 18, 904, 9803, 18, 3866, 829, 792, 29281, 5621, 282, 289, 282, 309, 2932, 38, 9654, 14963, 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, 2350, 752, 12, 514, 2376, 780, 16, 514, 1234, 559, 262, 288, 282, 309, 2932, 20, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 9549, 904, 18, 904, 9803, 18, 15894, 5621, 282, 289, 282, 309, 2932, 37, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 9549, 904, 18, 904, 9803, 18, 1343, 265, 5621, 282, 289, 282, 309, 2932, 21, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 9549, 904, 18, 904, 9803, 18, 4709, 691, 5621, 282, 289, 282, 309, 2932, 22, 9654, 14963, 12, 3576, 559, 3719, 288, 377, 327, 394, 9549, 904, 18, 904, 9803, 18, 607, 409, 691, 5621, 282, 289, 282, 309, 2932, 23, 9654, 2 ]
_context.statManager().addRateData("netDb.lookupsMatched", 1, 0); _context.statManager().addRateData("netDb.lookupsHandled", 1, 0);
getContext().statManager().addRateData("netDb.lookupsMatched", 1, 0); getContext().statManager().addRateData("netDb.lookupsHandled", 1, 0);
private void sendData(Hash key, DataStructure data, Hash toPeer, TunnelId replyTunnel) { if (_log.shouldLog(Log.DEBUG)) _log.debug("Sending data matching key key " + key.toBase64() + " to peer " + toPeer.toBase64() + " tunnel " + replyTunnel); DatabaseStoreMessage msg = new DatabaseStoreMessage(_context); msg.setKey(key); if (data instanceof LeaseSet) { msg.setLeaseSet((LeaseSet)data); msg.setValueType(DatabaseStoreMessage.KEY_TYPE_LEASESET); } else if (data instanceof RouterInfo) { msg.setRouterInfo((RouterInfo)data); msg.setValueType(DatabaseStoreMessage.KEY_TYPE_ROUTERINFO); } _context.statManager().addRateData("netDb.lookupsMatched", 1, 0); _context.statManager().addRateData("netDb.lookupsHandled", 1, 0); sendMessage(msg, toPeer, replyTunnel); }
27493 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27493/e737e5c9507ed0d463dc9e45a8f63657f466b177/HandleDatabaseLookupMessageJob.java/buggy/router/java/src/net/i2p/router/networkdb/HandleDatabaseLookupMessageJob.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1366, 751, 12, 2310, 498, 16, 1910, 6999, 501, 16, 2474, 358, 6813, 16, 399, 8564, 548, 4332, 20329, 13, 288, 3639, 309, 261, 67, 1330, 18, 13139, 1343, 12, 1343, 18, 9394, 3719, 5411, 389, 1330, 18, 4148, 2932, 16322, 501, 3607, 498, 498, 315, 397, 498, 18, 869, 2171, 1105, 1435, 397, 315, 358, 4261, 315, 397, 358, 6813, 18, 869, 2171, 1105, 1435, 13491, 397, 315, 14825, 315, 397, 4332, 20329, 1769, 3639, 5130, 2257, 1079, 1234, 273, 394, 5130, 2257, 1079, 24899, 2472, 1769, 3639, 1234, 18, 542, 653, 12, 856, 1769, 3639, 309, 261, 892, 1276, 23175, 694, 13, 288, 5411, 1234, 18, 542, 17746, 694, 12443, 17746, 694, 13, 892, 1769, 5411, 1234, 18, 542, 17930, 12, 4254, 2257, 1079, 18, 3297, 67, 2399, 67, 22357, 4043, 1769, 3639, 289, 469, 309, 261, 892, 1276, 9703, 966, 13, 288, 5411, 1234, 18, 542, 8259, 966, 12443, 8259, 966, 13, 892, 1769, 5411, 1234, 18, 542, 17930, 12, 4254, 2257, 1079, 18, 3297, 67, 2399, 67, 1457, 1693, 654, 5923, 1769, 3639, 289, 3639, 389, 2472, 18, 5642, 1318, 7675, 1289, 4727, 751, 2932, 2758, 4331, 18, 8664, 87, 15400, 3113, 404, 16, 374, 1769, 3639, 389, 2472, 18, 5642, 1318, 7675, 1289, 4727, 751, 2932, 2758, 4331, 18, 8664, 87, 23186, 3113, 404, 16, 374, 1769, 3639, 15399, 12, 3576, 16, 358, 6813, 16, 4332, 20329, 1769, 565, 289, 2, 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, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1366, 751, 12, 2310, 498, 16, 1910, 6999, 501, 16, 2474, 358, 6813, 16, 399, 8564, 548, 4332, 20329, 13, 288, 3639, 309, 261, 67, 1330, 18, 13139, 1343, 12, 1343, 18, 9394, 3719, 5411, 389, 1330, 18, 4148, 2932, 16322, 501, 3607, 498, 498, 315, 397, 498, 18, 869, 2171, 1105, 1435, 397, 315, 358, 4261, 315, 397, 358, 6813, 18, 869, 2171, 1105, 1435, 13491, 397, 315, 14825, 315, 397, 4332, 20329, 1769, 3639, 5130, 2257, 1079, 1234, 273, 394, 5130, 2257, 1079, 24899, 2472, 1769, 3639, 1234, 18, 542, 653, 12, 856, 1769, 3639, 309, 261, 892, 1276, 23175, 694, 13, 288, 5411, 1234, 18, 542, 17746, 694, 12443, 17746, 694, 13, 892, 2 ]
super(data);
this(defaultMessage);
public ShortMessage(byte[] data) { super(data); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/563d61706c08a9c62b0e997a1e5a45e90d1e8cd7/ShortMessage.java/buggy/core/src/classpath/javax/javax/sound/midi/ShortMessage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 7925, 1079, 12, 7229, 8526, 501, 13, 225, 288, 565, 333, 12, 1886, 1079, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 7925, 1079, 12, 7229, 8526, 501, 13, 225, 288, 565, 333, 12, 1886, 1079, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public org.quickfix.field.RelatdSym getRelatdSym() throws FieldNotFound { org.quickfix.field.RelatdSym value = new org.quickfix.field.RelatdSym();
public quickfix.field.RelatdSym getRelatdSym() throws FieldNotFound { quickfix.field.RelatdSym value = new quickfix.field.RelatdSym();
public org.quickfix.field.RelatdSym getRelatdSym() throws FieldNotFound { org.quickfix.field.RelatdSym value = new org.quickfix.field.RelatdSym(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/News.java/buggy/src/java/src/quickfix/fix41/News.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 1971, 270, 72, 11901, 336, 1971, 270, 72, 11901, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 1971, 270, 72, 11901, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 1971, 270, 72, 11901, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 1971, 270, 72, 11901, 336, 1971, 270, 72, 11901, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 1971, 270, 72, 11901, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 1971, 270, 72, 11901, 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 ]
protected String format(LocoNetMessage l) { boolean showStatus = false; /* show track status in this message? */ int minutes; // temporary time values int hours; switch (l.getOpCode()) { /*************************** * ; 2 Byte MESSAGE OPCODES * * ; FORMAT = <OPC>,<CKSUM> * * ; * ***************************/ /************************************************* * OPC_BUSY 0x81 ;MASTER busy code, NUL * *************************************************/ case LnConstants.OPC_GPBUSY: /* page 8 of Loconet PE */ return "Master is busy\n"; /**************************************************** * OPC_GPOFF 0x82 ;GLOBAL power OFF request * ****************************************************/ case LnConstants.OPC_GPOFF: /* page 8 of Loconet PE */ return "Global Power OFF\n"; /*************************************************** * OPC_GPON 0x83 ;GLOBAL power ON request * ***************************************************/ case LnConstants.OPC_GPON: /* page 8 of Loconet PE */ return "Global Power ON\n"; /********************************************************************** * OPC_IDLE 0x85 ;FORCE IDLE state, Broadcast emergency STOP * **********************************************************************/ case LnConstants.OPC_IDLE: /* page 8 of Loconet PE */ return "Force Idle, Emergency STOP\n"; /***************************************** * ; 4 byte MESSAGE OPCODES * * ; FORMAT = <OPC>,<ARG1>,<ARG2>,<CKSUM> * * : * * CODES 0xA8 to 0xAF have responses * * CODES 0xB8 to 0xBF have responses * *****************************************/ /*************************************************************************** * OPC_LOCO_ADR 0xBF ; REQ loco ADR * * ; Follow on message: <E7>SLOT READ * * ; <0xBF>,<0>,<ADR>,<CHK> REQ loco ADR * * ; DATA return <E7>, is SLOT#, DATA that ADR was * * : found in. * * ; IF ADR not found, MASTER puts ADR in FREE slot * * ; and sends DATA/STATUS return <E7>...... * * ; IF no FREE slot, Fail LACK,0 is returned * * ; [<B4>,<3F>,<0>,<CHK>] * ***************************************************************************/ case LnConstants.OPC_LOCO_ADR: { /* page 8 of Loconet PE */ int adrHi = l.getElement(1); // Hi address listed as zero above int adrLo = l.getElement(2); // ADR above, the low part return "Request slot information for loco address " +convertToMixed(adrLo, adrHi)+"\n"; } /***************************************************************************** * OPC_SW_ACK 0xBD ; REQ SWITCH WITH acknowledge function (not DT200) * * ; Follow on message: LACK * * ; <0xBD>,<SW1>,<SW2>,<CHK> REQ SWITCH function * * ; <SW1> =<0,A6,A5,A4- A3,A2,A1,A0> * * ; 7 ls adr bits. * * ; A1,A0 select 1 of 4 input pairs * * ; in a DS54 * * ; <SW2> =<0,0,DIR,ON- A10,A9,A8,A7> * * ; Control bits and 4 MS adr bits. * * ; DIR=1 for Closed/GREEN * * ; =0 for Thrown/RED * * ; ON=1 for Output ON * * ; =0 FOR output OFF * * ; response is: * * ; <0xB4><3D><00> if DCS100 FIFO is full, rejected. * * ; <0xB4><3D><7F> if DCS100 accepted * *****************************************************************************/ case LnConstants.OPC_SW_ACK: { /* page 8 of Loconet PE */ int sw1 = l.getElement(1); int sw2 = l.getElement(2); return "Request switch "+ String.valueOf(SENSOR_ADR(sw1, sw2))+ ((sw2 & LnConstants.OPC_SW_ACK_CLOSED)!=0 ? " Closed/Green" : " Thrown/Red")+ ((sw2 & LnConstants.OPC_SW_ACK_OUTPUT)!=0 ? " (Output On)" : " (Output Off)")+ " with Acknowledge\n"; } /************************************************************************* * OPC_SW_STATE 0xBC ; REQ state of SWITCH * * ; Follow on message: LACK * * ; <0xBC>,<SW1>,<SW2>,<CHK> REQ state of SWITCH * *************************************************************************/ case LnConstants.OPC_SW_STATE: { /* page 8 of Loconet PE */ int sw1 = l.getElement(1); int sw2 = l.getElement(2); return "Request state of switch "+ String.valueOf(SENSOR_ADR(sw1, sw2))+"\n"; } /************************************************************************************ * OPC_RQ_SL_DATA 0xBB ; Request SLOT DATA/status block * * ; Follow on message: <E7>SLOT READ * * ; <0xBB>,<SLOT>,<0>,<CHK> Request SLOT DATA/status block. * ************************************************************************************/ case LnConstants.OPC_RQ_SL_DATA: { /* page 8 of Loconet PE */ int slot = l.getElement(1); return "Request data/status for slot "+slot+"\n"; } /******************************************************************************* * OPC_MOVE_SLOTS 0xBA ; MOVE slot SRC to DEST * * ; Follow on message: <E7>SLOT READ * * ; <0xBA>,<SRC>,<DEST>,<CHK> Move SRC to DEST if * * ; SRC or LACK etc is NOT IN_USE, clr SRC * * ; SPECIAL CASES: * * ; If SRC=0 ( DISPATCH GET) , DEST=dont care, * * ; Return SLOT READ DATA of DISPATCH Slot * * ; IF SRC=DEST (NULL move) then SRC=DEST is set to * * ; IN_USE , if legal move. * * ; If DEST=0, is DISPATCH Put, mark SLOT as DISPATCH * * ; RETURN slot status <0xE7> of DESTINATION slot * * ; DEST if move legal * * ; RETURN Fail LACK code if illegal move * * ; <B4>,<3A>,<0>,<chk>, illegal to move to/from * * ; slots 120/127 * *******************************************************************************/ case LnConstants.OPC_MOVE_SLOTS: { /* page 8 of Loconet PE */ int src = l.getElement(1); int dest = l.getElement(2); /* check special cases */ if (src == 0) { /* DISPATCH GET */ return "Get most recently dispatched slot\n"; } else if (src == dest) { /* IN USE */ return "Set status of slot "+src+" to IN_USE\n"; } else if (dest == 0) { /* DISPATCH PUT */ return "Mark slot "+dest+" as DISPATCHED\n"; } else { /* general move */ return "Move data in slot "+src+" to slot "+dest+"\n"; } } /******************************************************************************** * OPC_LINK_SLOTS 0xB9 ; LINK slot ARG1 to slot ARG2 * * ; Follow on message: <E7>SLOT READ * * ; <0xB9>,<SL1>,<SL2>,<CHK> SLAVE slot SL1 to slot SL2 * * ; Master LINKER sets the SL_CONUP/DN flags * * ; appropriately. Reply is return of SLOT Status * * ; <0xE7>. Inspect to see result of Link, invalid * * ; Link will return Long Ack Fail <B4>,<39>,<0>,<CHK> * ********************************************************************************/ case LnConstants.OPC_LINK_SLOTS: { /* page 9 of Loconet PE */ int src = l.getElement(1); int dest = l.getElement(2); return "Consist loco in slot "+src+" to loco in slot "+dest+"\n"; } /******************************************************************************************* * OPC_UNLINK_SLOTS 0xB8 ;UNLINK slot ARG1 from slot ARG2 * * ; Follow on message: <E7>SLOT READ * * ; <0xB8>,<SL1>,<SL2>,<CHK> UNLINK slot SL1 from SL2 * * ; UNLINKER executes unlink STRATEGY and returns new SLOT# * * ; DATA/STATUS of unlinked LOCO . Inspect data to evaluate UNLINK * *******************************************************************************************/ case LnConstants.OPC_UNLINK_SLOTS: { /* page 9 of Loconet PE */ int src = l.getElement(1); int dest = l.getElement(2); return "Remove loco in slot "+src+" from consist with loco in slot "+dest+"\n"; } /************************************************************************************* * OPC_CONSIST_FUNC 0xB6 ; SET FUNC bits in a CONSIST uplink element * * ; <0xB6>,<SLOT>,<DIRF>,<CHK> UP consist FUNC bits * * ; NOTE this SLOT adr is considered in UPLINKED slot space. * *************************************************************************************/ case LnConstants.OPC_CONSIST_FUNC: { /* page 9 of Loconet PE */ int slot = l.getElement(1); int dirf = l.getElement(2); return "Set consist in slot "+slot +" direction to "+((dirf & LnConstants.DIRF_DIR)!=0 ? "REV" : "FWD") +"F0="+((dirf & LnConstants.DIRF_F0)!=0 ? "On, " : "Off,") +"F1="+((dirf & LnConstants.DIRF_F1)!=0 ? "On, " : "Off,") +"F2="+((dirf & LnConstants.DIRF_F2)!=0 ? "On, " : "Off,") +"F3="+((dirf & LnConstants.DIRF_F3)!=0 ? "On, " : "Off,") +"F4="+((dirf & LnConstants.DIRF_F4)!=0 ? "On" : "Off")+"\n"; } /******************************************************************** * OPC_SLOT_STAT1 0xB5 ; WRITE slot stat1 * * ; <0xB5>,<SLOT>,<STAT1>,<CHK> WRITE stat1 * ********************************************************************/ case LnConstants.OPC_SLOT_STAT1: { /* page 9 of Loconet PE */ int slot = l.getElement(1); int stat = l.getElement(2); return "Write slot "+slot +" with status value "+stat +" (0x"+Integer.toHexString(stat) +") - Loco is "+LnConstants.CONSIST_STAT(stat)+", "+LnConstants.LOCO_STAT(stat) +"\n\tand operating in "+LnConstants.DEC_MODE(stat) +" speed step mode\n"; } /******************************************************************************* * OPC_LONG_ACK 0xB4 ; Long acknowledge * * ; <0xB4>,<LOPC>,<ACK1>,<CHK> Long acknowledge * * ; <LOPC> is COPY of OPCODE responding to (msb=0). * * ; LOPC=0 (unused OPC) is also VALID fail code * * ; <ACK1> is appropriate response code for the OPCode * *******************************************************************************/ case LnConstants.OPC_LONG_ACK: /* page 9 of Loconet PE */ int opcode = l.getElement(1); int ack1 = l.getElement(2); switch (opcode | 0x80) { case (LnConstants.OPC_LOCO_ADR): /* response for OPC_LOCO_ADR */ return "LONG_ACK: No free slot\n"; case (LnConstants.OPC_LINK_SLOTS): /* response for OPC_LINK_SLOTS */ return "LONG_ACK: Invalid consist\n"; case (LnConstants.OPC_SW_ACK): /* response for OPC_SW_ACK */ if (ack1 == 0) { return "LONG_ACK: The DCS-100 FIFO is full, the switch command was rejected\n"; } else if (ack1 == 0x7f) { return "LONG_ACK: The DCS-100 accepted the switch command\n"; } else { forceHex = true; return "LONG_ACK: Unknown response to 'Request Switch with ACK' command, 0x"+Integer.toHexString(ack1)+"\n"; } case (LnConstants.OPC_SW_REQ): /* response for OPC_SW_REQ */ return "LONG_ACK: Switch request Failed!\n"; case (LnConstants.OPC_WR_SL_DATA): if (ack1 == 0) { return "LONG_ACK: The Slot Write command was rejected\n"; } else if (ack1 == 0x01) { return "LONG_ACK: The Slot Write command was accepted\n"; } else if (ack1 == 0x40) { return "LONG_ACK: The Slot Write command was accepted blind (no response will be sent)\n"; } else if (ack1 == 0x7f) { return "LONG_ACK: Function not implemented, no reply will follow\n"; } else { forceHex = true; return "LONG_ACK: Unknown response to Write Slot Data message 0x"+Integer.toHexString(ack1)+"\n"; } case (LnConstants.OPC_SW_STATE): return "LONG_ACK: Response to switch state message 0x"+Integer.toHexString(ack1)+"\n"; case (LnConstants.OPC_MOVE_SLOTS): if (ack1 == 0) { return "LONG_ACK: The Move Slots command was rejected\n"; } else if (ack1 == 0x7f) { return "LONG_ACK: The Move Slots command was accepted\n"; } else { forceHex = true; return "LONG_ACK: unknown reponse to Move Slots message 0x"+Integer.toHexString(ack1)+"\n"; } case LnConstants.OPC_IMM_PACKET: /* special response to OPC_IMM_PACKET */ if (ack1 == 0) { return "LONG_ACK: the Send IMM Packet command was rejected, the buffer is full/busy\n"; } else if (ack1 == 0x7f) { return "LONG_ACK: the Send IMM Packet command was accepted\n"; } else { forceHex = true; return "Unknown reponse to Send IMM Packet message 0x"+Integer.toHexString(ack1)+"\n"; } case LnConstants.OPC_IMM_PACKET_2: /* special response to OPC_IMM_PACKET */ return "LONG_ACK: the Lim Master responded to the Send IMM Packet command with "+ack1+" (0x"+Integer.toHexString(ack1)+")\n"; default: // forceHex = TRUE; return "LONG_ACK: Response "+ack1+" (0x"+Integer.toHexString(ack1) +") to opcode 0x"+Integer.toHexString(opcode)+" not available in plain english\n"; } /******************************************************************************************** * OPC_INPUT_REP 0xB2 ; General SENSOR Input codes * * ; <0xB2>, <IN1>, <IN2>, <CHK> * * ; <IN1> =<0,A6,A5,A4- A3,A2,A1,A0>, * * ; 7 ls adr bits. * * ; A1,A0 select 1 of 4 inputs pairs in a DS54. * * ; <IN2> =<0,X,I,L- A10,A9,A8,A7>, * * ; Report/status bits and 4 MS adr bits. * * ; "I"=0 for DS54 "aux" inputs * * ; =1 for "switch" inputs mapped to 4K SENSOR space. * * ; * * ; (This is effectively a least significant adr bit when * * ; using DS54 input configuration) * * ; * * ; "L"=0 for input SENSOR now 0V (LO), * * ; =1 for Input sensor >=+6V (HI) * * ; "X"=1, control bit, * * ; =0 is RESERVED for future! * ********************************************************************************************/ case LnConstants.OPC_INPUT_REP: /* page 9 of Loconet PE */ int in1 = l.getElement(1); int in2 = l.getElement(2); String bdl = " (BDL16 "+in1/8+" "; if ( ((in1/2) & 3) == 0 ) bdl = bdl+"A"; else if ( ((in1/2) & 3) == 1 ) bdl = bdl+"B"; else if ( ((in1/2) & 3) == 2 ) bdl = bdl+"C"; else bdl = bdl+"D"; if ( ((in1 & 1) !=0) && ((in2 & LnConstants.OPC_INPUT_REP_SW)!=0) ) bdl=bdl+"4)"; else if ( ((in1 & 1) !=0) && ((in2 & LnConstants.OPC_INPUT_REP_SW)==0) ) bdl=bdl+"3)"; else if ( ((in1 & 1) ==0) && ((in2 & LnConstants.OPC_INPUT_REP_SW)!=0) ) bdl=bdl+"2)"; else bdl=bdl+"1)"; String ds = " (DS54 "+(SENSOR_ADR(in1,in2)/4)+" ch"+((SENSOR_ADR(in1, in2)&3)+1) +((in2 & LnConstants.OPC_INPUT_REP_SW)!=0 ? " Sw input)" : " Aux input)"); return "General sensor input report: contact "+ (SENSOR_ADR(in1, in2)*2+((in2 & LnConstants.OPC_INPUT_REP_SW)!=0?1:0)) +ds+ bdl+ " is "+ ((in2 & LnConstants.OPC_INPUT_REP_HI)!=0 ? "Hi" : "Lo")+" "+ ((in2 & LnConstants.OPC_INPUT_REP_CB)==0 ? "\n\t(Unexpected 0 value of reserved control bit)" : "")+ "\n"; /*************************************************************************************** * OPC_SW_REP 0xB1 ; Turnout SENSOR state REPORT * * ; <0xB1>,<SN1>,<SN2>,<CHK> SENSOR state REPORT * * ; <SN1> =<0,A6,A5,A4- A3,A2,A1,A0>, * * ; 7 ls adr bits. * * ; A1,A0 select 1 of 4 input pairs in a DS54 * * ; <SN2> =<0,1,I,L- A10,A9,A8,A7> * * ; Report/status bits and 4 MS adr bits. * * ; this <B1> opcode encodes input levels * * ; for turnout feedback * * ; "I" =0 for "aux" inputs (normally not feedback), * * ; =1 for "switch" input used for * * ; turnout feedback for DS54 * * ; ouput/turnout # encoded by A0-A10 * * ; "L" =0 for this input 0V (LO), * * ; =1 this input > +6V (HI) * * ; * * ; alternately; * * ; * * ; <SN2> =<0,0,C,T- A10,A9,A8,A7> * * ; Report/status bits and 4 MS adr bits. * * ; this <B1> opcode encodes current OUTPUT levels * * ; "C" =0 if "Closed" ouput line is OFF, * * ; =1 "closed" output line is ON * * ; (sink current) * * ; "T" =0 if "Thrown" output line is OFF, * * ; =1 "thrown" output line is ON * * ; (sink I) * ***************************************************************************************/ case LnConstants.OPC_SW_REP: /* page 9 of Loconet PE */ int sn1 = l.getElement(1); int sn2 = l.getElement(2); if ((sn2 & LnConstants.OPC_SW_REP_INPUTS)!=0) { return "Turnout sensor input state for address "+ SENSOR_ADR(sn1, sn2)+ ":\n\t"+ ((sn2 & LnConstants.OPC_SW_REP_SW) !=0 ? "Switch" : "Aux input")+ " is "+ (((sn2 & LnConstants.OPC_SW_REP_HI)!=0) ? "Hi" : "Lo")+"\n"; } else { // OPC_SW_REP_INPUTS is 0 return "Turnout sensor output state for address "+ SENSOR_ADR(sn1, sn2)+ ":\n\tClosed output is "+ ((sn2 & LnConstants.OPC_SW_REP_CLOSED)!=0 ? "ON (sink)" : "OFF (open)")+ ", Thrown output is "+ ((sn2 & LnConstants.OPC_SW_REP_THROWN)!=0 ? "ON (sink)" : "OFF (open)")+"\n"; } /******************************************************************************************* * OPC_SW_REQ 0xB0 ; REQ SWITCH function * * ; <0xB0>,<SW1>,<SW2>,<CHK> REQ SWITCH function * * ; <SW1> =<0,A6,A5,A4- A3,A2,A1,A0>, * * ; 7 ls adr bits. * * ; A1,A0 select 1 of 4 input pairs in a DS54 * * ; <SW2> =<0,0,DIR,ON- A10,A9,A8,A7> * * ; Control bits and 4 MS adr bits. * * ; DIR =1 for Closed,/GREEN, * * ; =0 for Thrown/RED * * ; ON =1 for Output ON, * * ; =0 FOR output OFF * * ; * * ; Note-Immediate response of <0xB4><30><00> if command failed, * * ; otherwise no response "A" CLASS codes * * ; * * ; Special form: broadcast (PE page 12) * * ; * * ; * * ; Special form: LocoNet interrogate (PE page 13) * * ; * * ; * * ; * * ; * * ; * * ; * * ; * * ; * *******************************************************************************************/ case LnConstants.OPC_SW_REQ: /* page 9 of Loconet PE */ int sw1 = l.getElement(1); int sw2 = l.getElement(2); String retVal; // check for special forms first if ( ((sw2 & 0xCF) == 0x0F) && ((sw1 & 0xFC) == 0x78) ) { // broadcast address LPU V1.0 page 12 retVal = "Request Switch to broadcast address with bits "+ "a="+ ((sw2&0x20)>>5)+((sw2 & LnConstants.OPC_SW_REQ_DIR)!=0 ? " (Closed)" : " (Thrown)")+ " c="+ ((sw1 & 0x02)>>1) + " b="+ ((sw1 & 0x01)) + "\n\tOutput "+ ((sw2 & LnConstants.OPC_SW_REQ_OUT)!=0 ? "On" : "Off")+"\n"; } else if ( ((sw2 & 0xCF) == 0x07) && ((sw1 & 0xFC) == 0x78) ) { // broadcast address LPU V1.0 page 13 retVal = "Request switch command is Interrogate LocoNet with bits "+ "a="+ ((sw2 & 0x20)>>5) + " c="+ ((sw1&0x02)>>1) + " b="+ ((sw1&0x01)) + "\n\tOutput "+ ((sw2 & LnConstants.OPC_SW_REQ_OUT)!=0 ? "On" : "Off")+"\n"+ ( ( (sw2&0x10) == 0 ) ? "" : "\tNote 0x10 bit in sw2 is unexpectedly 0\n"); } else { // normal command retVal = "Requesting Switch at "+ SENSOR_ADR(sw1, sw2)+ " to "+ ((sw2 & LnConstants.OPC_SW_REQ_DIR)!=0 ? "Closed" : "Thrown")+ " (output "+ ((sw2 & LnConstants.OPC_SW_REQ_OUT)!=0 ? "On" : "Off")+")\n"; } return retVal; /**************************************************** * OPC_LOCO_SND 0xA2 ;SET SLOT sound functions * ****************************************************/ case LnConstants.OPC_LOCO_SND: { /* page 10 of Loconet PE */ int slot = l.getElement(1); int snd = l.getElement(2); return "Set loco in slot " +slot +" Sound1/F5=" +((snd & LnConstants.SND_F5) != 0 ? "On" : "Off") +", Sound2/F6=" +((snd & LnConstants.SND_F6) != 0 ? "On" : "Off") +", Sound3/F7=" +((snd & LnConstants.SND_F7) != 0 ? "On" : "Off") +", Sound4/F8=" +((snd & LnConstants.SND_F8) != 0 ? "On" : "Off") +"\n"; } /**************************************************** * OPC_LOCO_DIRF 0xA1 ;SET SLOT dir, F0-4 state * ****************************************************/ case LnConstants.OPC_LOCO_DIRF: /* page 10 of Loconet PE */ { int slot = l.getElement(1); int dirf = l.getElement(2); return "Set loco in slot " +slot +" direction to " +((dirf & LnConstants.DIRF_DIR) != 0 ? "REV" : "FWD") +", F0=" +((dirf & LnConstants.DIRF_F0) != 0 ? "On, " : "Off,") +" F1=" +((dirf & LnConstants.DIRF_F1) != 0 ? "On, " : "Off,") +" F2=" +((dirf & LnConstants.DIRF_F2) != 0 ? "On, " : "Off,") +" F3=" +((dirf & LnConstants.DIRF_F3) != 0 ? "On, " : "Off,") +" F4=" +((dirf & LnConstants.DIRF_F4) != 0 ? "On" : "Off") +"\n"; } /*********************************************************************** * OPC_LOCO_SPD 0xA0 ;SET SLOT speed e.g. <0xA0><SLOT#><SPD><CHK> * ***********************************************************************/ case LnConstants.OPC_LOCO_SPD: { /* page 10 of Loconet PE */ int slot = l.getElement(1); int spd = l.getElement(2); if (spd == LnConstants.OPC_LOCO_SPD_ESTOP) { /* emergency stop */ return "Set speed of loco in slot "+slot+" to EMERGENCY STOP!\n"; } else { return "Set speed of loco in slot "+slot+" to "+spd+"\n"; } } /******************************************************* * ; 6 byte MESSAGE OPCODES * * ; FORMAT = <OPC>,<ARG1>,<ARG2>,<ARG3>,<ARG4>,<CKSUM> * * : * * CODES 0xC8 to 0xCF have responses * * CODES 0xD8 to 0xDF have responses * ********************************************************/ /************************************************************************ * OPC_MULTI_SENSE 0xD0 messages about power management * * and transponding * * * * If byte 1 high nibble is 0x20 or 0x00 this is a transponding message * *************************************************************************/ case LnConstants.OPC_MULTI_SENSE: { // definition courtesy Al Silverstein int type = l.getElement(1)&LnConstants.OPC_MULTI_SENSE_MSG; forceHex = true; String m; String zone; if ((l.getElement(2)&0x0F) == 0x00) zone = "A"; else if ((l.getElement(2)&0x0F) == 0x02) zone = "B"; else if ((l.getElement(2)&0x0F) == 0x04) zone = "C"; else if ((l.getElement(2)&0x0F) == 0x06) zone = "D"; else zone="<unknown "+(l.getElement(2)&0x0F)+">"; switch (type) { case LnConstants.OPC_MULTI_SENSE_POWER: return "OPC_MULTI_SENSE power message PM4 " +l.getElement(2)+" "; case LnConstants.OPC_MULTI_SENSE_PRESENT: // from transponding app note m = "OPC_MULTI_SENSE transponder present zone " +zone+" decoder address "; if (l.getElement(3)==0x7D) m+=l.getElement(4)+" (short) "; else m+=l.getElement(3)*128+l.getElement(4)+" (long) "; return m; case LnConstants.OPC_MULTI_SENSE_ABSENT: m = "OPC_MULTI_SENSE transponder absent zone " +zone+" decoder address "; if (l.getElement(3)==0x7D) m+=l.getElement(4)+" (short) "; else m+=l.getElement(3)*128+l.getElement(4)+" (long) "; return m; default: return "OPC_MULTI_SENSE unknown format "; } } /******************************************************************** * ; VARIABLE Byte MESSAGE OPCODES * * ; FORMAT = <OPC>,<COUNT>,<ARG2>,<ARG3>,...,<ARG(COUNT-3)>,<CKSUM> * ********************************************************************/ /********************************************************************************************** * OPC_WR_SL_DATA 0xEF ; WRITE SLOT DATA, 10 bytes * * ; Follow on message: LACK * * ; <0xEF>,<0E>,<SLOT#>,<STAT>,<ADR>,<SPD>,<DIRF>, * * ; <TRK>,<SS2>,<ADR2>,<SND>,<ID1>,<ID2>,<CHK> * * ; SLOT DATA WRITE, 10 bytes data /14 byte MSG * *********************************************************************************************** * OPC_SL_RD_DATA 0xE7 ; SLOT DATA return, 10 bytes * * ; <0xE7>,<0E>,<SLOT#>,<STAT>,<ADR>,<SPD>,<DIRF>, * * ; <TRK>,<SS2>,<ADR2>,<SND>,<ID1>,<ID2>,<CHK> * * ; SLOT DATA READ, 10 bytes data /14 byte MSG * * ; * * ; NOTE; If STAT2.2=0 EX1/EX2 encodes an ID#, * * ; [if STAT2.2=1 the STAT.3=0 means EX1/EX2 * * ; are ALIAS] * * ; * * ; ID1/ID2 are two 7 bit values encoding a 14 bit * * ; unique DEVICE usage ID. * * ; * * ; 00/00 - means NO ID being used * * ; * * ; 01/00 - ID shows PC usage. * * ; to Lo nibble is TYP PC# * * ; 7F/01 (PC can use hi values) * * ; * * ; 00/02 -SYSTEM reserved * * ; to * * ; 7F/03 * * ; * * ; 00/04 -NORMAL throttle RANGE * * ; to * * ; 7F/7E * *********************************************************************************************** * Notes: * * The SLOT DATA bytes are, in order of TRANSMISSION for <E7> READ or <EF> WRITE. * * NOTE SLOT 0 <E7> read will return MASTER config information bytes. * * * * 0) SLOT NUMBER: * * * * ; 0-7FH, 0 is special SLOT, * * ; 070H-07FH DIGITRAX reserved: * * * * 1) SLOT STATUS1: * * * * D7-SL_SPURGE ; 1=SLOT purge en, * * ; ALSO adrSEL (INTERNAL use only) (not seen on NET!) * * * * D6-SL_CONUP ; CONDN/CONUP: bit encoding-Control double linked Consist List * * ; 11=LOGICAL MID CONSIST , Linked up AND down * * ; 10=LOGICAL CONSIST TOP, Only linked downwards * * ; 01=LOGICAL CONSIST SUB-MEMBER, Only linked upwards * * ; 00=FREE locomotive, no CONSIST indirection/linking * * ; ALLOWS "CONSISTS of CONSISTS". Uplinked means that * * ; Slot SPD number is now SLOT adr of SPD/DIR and STATUS * * ; of consist. i.e. is ;an Indirect pointer. This Slot * * ; has same BUSY/ACTIVE bits as TOP of Consist. TOP is * * ; loco with SPD/DIR for whole consist. (top of list). * * ; BUSY/ACTIVE: bit encoding for SLOT activity * * * * D5-SL_BUSY ; 11=IN_USE loco adr in SLOT -REFRESHED * * * * D4-SL_ACTIVE ; 10=IDLE loco adr in SLOT -NOT refreshed * * ; 01=COMMON loco adr IN SLOT -refreshed * * ; 00=FREE SLOT, no valid DATA -not refreshed * * * * D3-SL_CONDN ; shows other SLOT Consist linked INTO this slot, see SL_CONUP * * * * D2-SL_SPDEX ; 3 BITS for Decoder TYPE encoding for this SLOT * * * * D1-SL_SPD14 ; 011=send 128 speed mode packets * * * * D0-SL_SPD28 ; 010=14 step MODE * * ; 001=28 step. Generate Trinary packets for this * * ; Mobile ADR * * ; 000=28 step. 3 BYTE PKT regular mode * * ; 111=128 Step decoder, Allow Advanced DCC consisting * * ; 100=28 Step decoder ,Allow Advanced DCC consisting * * * * 2) SLOT LOCO ADR: * * * * LOCO adr Low 7 bits (byte sent as ARG2 in ADR req opcode <0xBF>) * * * * 3) SLOT SPEED: * * 0x00=SPEED 0 ,STOP inertially * * 0x01=SPEED 0 EMERGENCY stop * * 0x02->0x7F increasing SPEED,0x7F=MAX speed * * (byte also sent as ARG2 in SPD opcode <0xA0> ) * * * * 4) SLOT DIRF byte: (byte also sent as ARG2 in DIRF opcode <0xA1>) * * * * D7-0 ; always 0 * * D6-SL_XCNT ; reserved , set 0 * * D5-SL_DIR ; 1=loco direction FORWARD * * D4-SL_F0 ; 1=Directional lighting ON * * D3-SL_F4 ; 1=F4 ON * * D2-SL_F3 ; 1=F3 ON * * D1-SL_F2 ; 1=F2 ON * * D0-SL_F1 ; 1=F1 ON * * * * * * * * * * 5) TRK byte: (GLOBAL system /track status) * * * * D7-D4 Reserved * * D3 GTRK_PROG_BUSY 1=Programming TRACK in this Master is BUSY. * * D2 GTRK_MLOK1 1=This Master IMPLEMENTS LocoNet 1.1 capability, * * 0=Master is DT200 * * D1 GTRK_IDLE 0=TRACK is PAUSED, B'cast EMERG STOP. * * D0 GTRK_POWER 1=DCC packets are ON in MASTER, Global POWER up * * * * 6) SLOT STATUS: * * * * D3 1=expansion IN ID1/2, 0=ENCODED alias * * D2 1=Expansion ID1/2 is NOT ID usage * * D0 1=this slot has SUPPRESSED ADV consist-7) * * * * 7) SLOT LOCO ADR HIGH: * * * * Locomotive address high 7 bits. If this is 0 then Low address is normal 7 bit NMRA SHORT * * address. If this is not zero then the most significant 6 bits of this address are used in * * the first LONG address byte ( matching CV17). The second DCC LONG address byte matches CV18 * * and includes the Adr Low 7 bit value with the LS bit of ADR high in the MS postion of this * * track adr byte. * * * * Note a DT200 MASTER will always interpret this as 0. * * * * 8) SLOT SOUND: * * * * Slot sound/ Accesory Function mode II packets. F5-F8 * * (byte also sent as ARG2 in SND opcode) * * * * D7-D4 reserved * * D3-SL_SND4/F8 * * D2-SL_SND3/F7 * * D1-SL_SND2/F6 * * D0-SL_SND1/F5 1= SLOT Sound 1 function 1active (accessory 2) * * * * 9) EXPANSION RESERVED ID1: * * * * 7 bit ls ID code written by THROTTLE/PC when STAT2.4=1 * * * * 10) EXPANSION RESERVED ID2: * * * * 7 bit ms ID code written by THROTTLE/PC when STAT2.4=1 * **********************************************************************************************/ case LnConstants.OPC_WR_SL_DATA: /* page 10 of Loconet PE */ case LnConstants.OPC_SL_RD_DATA: /* page 10 of Loconet PE */ { String mode; String locoAdrStr; String mixedAdrStr; String logString; // rwSlotData = (rwSlotDataMsg *) msgBuf; int command = l.getElement(0); int mesg_size = l.getElement(1); // ummmmm, size of the message in bytes? int slot = l.getElement(2); // slot number for this request int stat = l.getElement(3); // slot status int adr = l.getElement(4); // loco address int spd = l.getElement(5); // command speed int dirf = l.getElement(6); // direction and F0-F4 bits int trk = l.getElement(7); // track status int ss2 = l.getElement(8); // slot status 2 (tells how to use ID1/ID2 & ADV Consist) int adr2 = l.getElement(9); // loco address high int snd = l.getElement(10); // Sound 1-4 / F5-F8 int id1 = l.getElement(11); // ls 7 bits of ID code int id2 = l.getElement(12); // ms 7 bits of ID code /* build loco address string */ mixedAdrStr = convertToMixed(adr, adr2); /* figure out the alias condition, and create the loco address string */ if (adr2 == 0x7f) { if ((ss2 & LnConstants.STAT2_ALIAS_MASK) == LnConstants.STAT2_ID_IS_ALIAS) { /* this is an aliased address and we have the alias*/ locoAdrStr = "" +LOCO_ADR(id2, id1) +" (Alias for loco " +mixedAdrStr +")"; } else { /* this is an aliased address and we don't have the alias */ locoAdrStr = mixedAdrStr +" (via Alias)"; } } else { /* regular 4 digit address, 128 to 9983 */ locoAdrStr = mixedAdrStr; } /* * These share a common data format with the only * difference being whether we are reading or writing * the slot data. */ if (command == LnConstants.OPC_WR_SL_DATA) { mode = "Write"; } else { mode = "Read"; } if (slot == LnConstants.FC_SLOT) { /********************************************************************************************** * FAST Clock: * * =========== * * The system FAST clock and parameters are implemented in Slot#123 <7B>. * * * * Use <EF> to write new clock information, Slot read of 0x7B,<BB><7B>.., will return current * * System clock information, and other throttles will update to this SYNC. Note that all * * attached display devices keep a current clock calculation based on this SYNC read value, * * i.e. devices MUST not continuously poll the clock SLOT to generate time, but use this * * merely to restore SYNC and follow current RATE etc. This clock slot is typically "pinged" * * or read SYNC'd every 70 to 100 seconds , by a single user, so all attached devices can * * synchronise any phase drifts. Upon seeing a SYNC read, all devices should reset their local * * sub-minute phase counter and invalidate the SYNC update ping generator. * * * * Clock Slot Format: * * * * <0xEF>,<0E>,<7B>,<CLK_RATE>,<FRAC_MINSL>,<FRAC_MINSH>,<256-MINS_60>, * * <TRK><256-HRS_24>,<DAYS>,<CLK_CNTRL>,<ID1>,<1D2>,<CHK> * * * * <CLK_RATE> 0=Freeze clock, * * 1=normal 1:1 rate, * * 10=10:1 etc, max VALUE is 7F/128 to 1 * * <FRAC_MINSL> FRAC mins hi/lo are a sub-minute counter , depending * * on the CLOCK generator * * <FRAC_MINSH> Not for ext. usage. This counter is reset when valid * * <E6><7B> SYNC msg seen * * <256-MINS_60> This is FAST clock MINUTES subtracted from 256. Modulo 0-59 * * <256-HRS_24> This is FAST clock HOURS subtracted from 256. Modulo 0-23 * * <DAYS> number of 24 Hr clock rolls, positive count * * <CLK_CNTRL> Clock Control Byte * * D6- 1=This is valid Clock information, * * 0=ignore this <E6><7B>, SYNC reply * * <ID1>,<1D2> This is device ID last setting the clock. * * <00><00> shows no set has happened * * <7F><7x> are reserved for PC access * **********************************************************************************************/ /* make message easier to deal with internally */ // fastClock = (fastClockMsg *)msgBuf; int clk_rate = l.getElement(3); // 0 = Freeze clock, 1 = normal, 10 = 10:1 etc. Max is 0x7f int frac_minsl = l.getElement(4); // fractional minutes. not for external use. int frac_minsh = l.getElement(5); int mins_60 = l.getElement(6); // 256 - minutes int track_stat = l.getElement(7); // track status int hours_24 = l.getElement(8); // 256 - hours int days = l.getElement(9); // clock rollovers int clk_cntrl = l.getElement(10); // bit 6 = 1; data is valid clock info // " " 0; ignore this reply // id1/id2 is device id of last device to set the clock // " " = zero shows not set has happened /* recover hours and minutes values */ minutes = ((256 - mins_60) & 0x7f) % 60; hours = ((256 - hours_24)& 0x7f) % 24; hours = (24 - hours) % 24; minutes = (60 - minutes) % 60; /* check track status value and display */ if ((trackStatus != track_stat) || showTrackStatus) { trackStatus = track_stat; showStatus = true; } if (showStatus) { logString = mode +" Fast Clock: (Data is " +((clk_cntrl & 0x20) != 0 ? "Valid" : "Invalid - ignore") +")\n\t" +(clk_rate != 0 ? "Running" : "Frozen") +", rate is "+clk_rate +":1. Day "+days+", "+hours+":"+minutes +". Last set by ID 0x"+Integer.toHexString(id2)+Integer.toHexString(id1) +"\n\tMaster controller " +((track_stat & LnConstants.GTRK_MLOK1)!=0 ? "implements LocoNet 1.1" : "is a DT-200") +",\n\tTrack Status is " +((track_stat & LnConstants.GTRK_IDLE)!=0 ? "On" : "Off") +",\n\tProgramming Track is " +((track_stat & LnConstants.GTRK_PROG_BUSY)!=0 ? "Busy" : "Available") +"\n"; } else { logString = mode +" Fast Clock: (Data is " +((clk_cntrl & 0x20) != 0 ? "Valid" : "Invalid - ignore") +")\n\t" +(clk_rate != 0 ? "Frozen" : "Running") +", rate is "+clk_rate +":1. Day "+days+", "+hours+":"+minutes +". Last set by ID 0x"+Integer.toHexString(id2)+Integer.toHexString(id1)+"\n"; } // end fast clock block } else if (slot == LnConstants.PRG_SLOT) { /********************************************************************************************** * Programmer track: * * ================= * * The programmer track is accessed as Special slot #124 ( $7C, 0x7C). It is a full * * asynchronous shared system resource. * * * * To start Programmer task, write to slot 124. There will be an immediate LACK acknowledge * * that indicates what programming will be allowed. If a valid programming task is started, * * then at the final (asynchronous) programming completion, a Slot read <E7> from slot 124 * * will be sent. This is the final task status reply. * * * * Programmer Task Start: * * ---------------------- * * <0xEF>,<0E>,<7C>,<PCMD>,<0>,<HOPSA>,<LOPSA>,<TRK>;<CVH>,<CVL>, * * <DATA7>,<0>,<0>,<CHK> * * * * This OPC leads to immediate LACK codes: * * <B4>,<7F>,<7F>,<chk> Function NOT implemented, no reply. * * <B4>,<7F>,<0>,<chk> Programmer BUSY , task aborted, no reply. * * <B4>,<7F>,<1>,<chk> Task accepted , <E7> reply at completion. * * <B4>,<7F>,<0x40>,<chk> Task accepted blind NO <E7> reply at completion. * * * * Note that the <7F> code will occur in Operations Mode Read requests if the System is not * * configured for and has no Advanced Acknowlegement detection installed.. Operations Mode * * requests can be made and executed whilst a current Service Mode programming task is keeping * * the Programming track BUSY. If a Programming request is rejected, delay and resend the * * complete request later. Some readback operations can keep the Programming track busy for up * * to a minute. Multiple devices, throttles/PC's etc, can share and sequentially use the * * Programming track as long as they correctly interpret the response messages. Any Slot RD * * from the master will also contain the Programmer Busy status in bit 3 of the <TRK> byte. * * * * A <PCMD> value of <00> will abort current SERVICE mode programming task and will echo with * * an <E6> RD the command string that was aborted. * * * * <PCMD> Programmer Command: * * -------------------------- * * Defined as * * D7 -0 * * D6 -Write/Read 1= Write, * * 0=Read * * D5 -Byte Mode 1= Byte operation, * * 0=Bit operation (if possible) * * D4 -TY1 Programming Type select bit * * D3 -TY0 Prog type select bit * * D2 -Ops Mode 1=Ops Mode on Mainlines, * * 0=Service Mode on Programming Track * * D1 -0 reserved * * D0 -0-reserved * * * * Type codes: * * ----------- * * Byte Mode Ops Mode TY1 TY0 Meaning * * 1 0 0 0 Paged mode byte Read/Write on Service Track * * 1 0 0 0 Paged mode byte Read/Write on Service Track * * 1 0 0 1 Direct mode byteRead/Write on Service Track * * 0 0 0 1 Direct mode bit Read/Write on Service Track * * x 0 1 0 Physical Register byte Read/Write on Service Track * * x 0 1 1 Service Track- reserved function * * 1 1 0 0 Ops mode Byte program, no feedback * * 1 1 0 1 Ops mode Byte program, feedback * * 0 1 0 0 Ops mode Bit program, no feedback * * 0 1 0 1 Ops mode Bit program, feedback * * * * <HOPSA>Operations Mode Programming * * 7 High address bits of Loco to program, 0 if Service Mode * * <LOPSA>Operations Mode Programming * * 7 Low address bits of Loco to program, 0 if Service Mode * * <TRK> Normal Global Track status for this Master, * * Bit 3 also is 1 WHEN Service Mode track is BUSY * * <CVH> High 3 BITS of CV#, and ms bit of DATA.7 * * <0,0,CV9,CV8 - 0,0, D7,CV7> * * <CVL> Low 7 bits of 10 bit CV address. * * <0,CV6,CV5,CV4-CV3,CV2,CV1,CV0> * * <DATA7>Low 7 BITS OF data to WR or RD COMPARE * * <0,D6,D5,D4 - D3,D2,D1,D0> * * ms bit is at CVH bit 1 position. * * * * Programmer Task Final Reply: * * ---------------------------- * * (if saw LACK <B4>,<7F>,<1>,<chk> code reply at task start) * * * * <0xE7>,<0E>,<7C>,<PCMD>,<PSTAT>,<HOPSA>,<LOPSA>,<TRK>;<CVH>,<CVL>, * * <DATA7>,<0>,<0>,<CHK> * * * * <PSTAT> Programmer Status error flags. Reply codes resulting from * * completed task in PCMD * * D7-D4 -reserved * * D3 -1= User Aborted this command * * D2 -1= Failed to detect READ Compare acknowledge response * * from decoder * * D1 -1= No Write acknowledge response from decoder * * D0 -1= Service Mode programming track empty- No decoder detected * * * * This <E7> response is issued whenever a Programming task is completed. It echos most of the * * request information and returns the PSTAT status code to indicate how the task completed. * * If a READ was requested <DATA7> and <CVH> contain the returned data, if the PSTAT indicates * * a successful readback (typically =0). Note that if a Paged Read fails to detect a * * successful Page write acknowledge when first setting the Page register, the read will be * * aborted, showing no Write acknowledge flag D1=1. * **********************************************************************************************/ String operation; String progMode; int cvData; boolean opsMode = false; int cvNumber; // progTask = (progTaskMsg *) msgBuf; // slot - slot number for this request - slot 124 is programmer int pcmd = l.getElement(3); // programmer command int pstat = l.getElement(4); // programmer status error flags in reply message int hopsa = l.getElement(5); // Ops mode - 7 high address bits of loco to program int lopsa = l.getElement(6); // Ops mode - 7 low address bits of loco to program /* trk - track status. Note: bit 3 shows if prog track is busy */ int cvh = l.getElement(8); // hi 3 bits of CV# and msb of data7 int cvl = l.getElement(9); // lo 7 bits of CV# int data7 = l.getElement(10); // 7 bits of data to program, msb is in cvh above cvData = (((cvh & LnConstants.CVH_D7) << 6) | (data7 & 0x7f)); // was PROG_DATA cvNumber = (((((cvh & LnConstants.CVH_CV8_CV9) >> 3) | (cvh & LnConstants.CVH_CV7)) * 128) + (cvl & 0x7f))+1; // was PROG_CV_NUM(progTask) /* generate loco address, mixed mode or true 4 digit */ mixedAdrStr = convertToMixed(lopsa, hopsa); /* determine programming mode for printing */ if ((pcmd & LnConstants.PCMD_MODE_MASK) == LnConstants.PAGED_ON_SRVC_TRK) { progMode = "Byte in Paged Mode on Service Track"; } else if ((pcmd & LnConstants.PCMD_MODE_MASK) == LnConstants.DIR_BYTE_ON_SRVC_TRK) { progMode = "Byte in Direct Mode on Service Track"; } else if ((pcmd & LnConstants.PCMD_MODE_MASK) == LnConstants.DIR_BIT_ON_SRVC_TRK) { progMode = "Bits in Direct Mode on Service Track"; } else if (((pcmd & ~LnConstants.PCMD_BYTE_MODE) & LnConstants.PCMD_MODE_MASK) == LnConstants.REG_BYTE_RW_ON_SRVC_TRK) { progMode = "Byte in Physical Register R/W Mode on Service Track"; } else if ((pcmd & LnConstants.PCMD_MODE_MASK) == LnConstants.OPS_BYTE_NO_FEEDBACK) { progMode = "Byte in OP's Mode (NO feedback)"; opsMode = true; } else if ((pcmd & LnConstants.PCMD_MODE_MASK) == LnConstants.OPS_BYTE_FEEDBACK) { progMode = "Byte in OP's Mode"; opsMode = true; } else if ((pcmd & LnConstants.PCMD_MODE_MASK) == LnConstants.OPS_BIT_NO_FEEDBACK) { progMode = "Bits in OP's Mode (NO feedback)"; opsMode = true; } else if ((pcmd & LnConstants.PCMD_MODE_MASK) == LnConstants.OPS_BIT_FEEDBACK) { progMode = "Bits in OP's Mode"; opsMode = true; } else if (((pcmd & ~LnConstants.PCMD_BYTE_MODE) & LnConstants.PCMD_MODE_MASK) == LnConstants.SRVC_TRK_RESERVED) { progMode = "SERVICE TRACK RESERVED MODE DETECTED!"; } else { progMode = "Unknown mode "+pcmd+" (0x"+Integer.toHexString(pcmd)+")"; forceHex = true; } /* are we sending or receiving? */ if ((pcmd & LnConstants.PCMD_RW) != 0) { /* sending a command */ operation = "Programming Track: Write"; /* printout based on whether we're doing Ops mode or not */ if (opsMode) { logString = mode+" " +operation+" " +progMode+"\n" +"\tSetting CV"+cvNumber +" of Loco "+mixedAdrStr+" to "+cvData +" (0x"+Integer.toHexString(cvData)+")\n"; } else { logString = mode+" " +operation+" " +progMode+"\n" +"\tSetting CV"+cvNumber +" to "+cvData +" (0x"+Integer.toHexString(cvData)+")\n"; } } else { /* receiving a reply */ operation = "Programming Track: Read"; /* printout based on whether we're doing Ops mode or not */ if (opsMode) { logString = mode+" " +operation+" " +progMode+"\n" +"\tSetting CV"+cvNumber +" of Loco "+mixedAdrStr+" to "+cvData +" (0x"+Integer.toHexString(cvData)+")\n"; } else { logString = mode+" " +operation+" " +progMode+"\n" +"\tSetting CV"+cvNumber +" to "+cvData +" (0x"+Integer.toHexString(cvData)+")\n"; } /* if we're reading the slot back, check the status */ /* this is supposed to be the Programming task final reply */ /* and will have the resulting status byte */ if (command == LnConstants.OPC_SL_RD_DATA) { if (pstat != 0) { if ((pstat & LnConstants.PSTAT_USER_ABORTED) != 0) { logString += "\tStatus = Failed, User Aborted\n"; } if ((pstat & LnConstants.PSTAT_READ_FAIL) != 0) { logString += "\tStatus = Failed, Read Compare Acknowledge not detected\n"; } if ((pstat & LnConstants.PSTAT_WRITE_FAIL) != 0 ) { logString += "\tStatus = Failed, No Write Acknowledge from decoder\n"; } if ((pstat & LnConstants.PSTAT_NO_DECODER) != 0 ) { logString += "\tStatus = Failed, Service Mode programming track empty\n"; } if ((pstat & 0xF0) != 0) { logString += "Warning: reserved bit set. Message may be invalid. PSTAT = 0x" +Integer.toHexString(pstat); } } else { logString += "\tStatus = Success\n"; } } } // end programming track block } else { /************************************************** * normal slot read/write message - see info above * **************************************************/ if ((trackStatus != trk) || showTrackStatus) { trackStatus = trk; showStatus = true; } if (showStatus) { logString = mode +" slot "+slot +":\n\tLoco "+locoAdrStr +" is "+LnConstants.CONSIST_STAT(stat) +", "+LnConstants.LOCO_STAT(stat) +", operating in "+LnConstants.DEC_MODE(stat)+" SS mode, and is going " +((dirf & LnConstants.DIRF_DIR)!=0 ? "in Reverse" : "Foward") +" at speed "+spd+",\n" +"\tF0="+((dirf & LnConstants.DIRF_F0) != 0 ? "On, " : "Off,") +" F1="+((dirf & LnConstants.DIRF_F1) != 0 ? "On, " : "Off,") +" F2="+((dirf & LnConstants.DIRF_F2) != 0 ? "On, " : "Off,") +" F3="+((dirf & LnConstants.DIRF_F3) != 0 ? "On, " : "Off,") +" F4="+((dirf & LnConstants.DIRF_F4) != 0 ? "On, " : "Off,") +" Sound1/F5="+((snd & LnConstants.SND_F5) != 0 ? "On, " : "Off,") +" Sound2/F6="+((snd & LnConstants.SND_F6) != 0 ? "On, " : "Off,") +" Sound3/F7="+((snd & LnConstants.SND_F7) != 0 ? "On, " : "Off,") +" Sound4/F8="+((snd & LnConstants.SND_F8) != 0 ? "On" : "Off") +"\n\tMaster controller "+((trk & LnConstants.GTRK_MLOK1) !=0 ? "implements LocoNet 1.1" : "is a DT-200") +",\n\tTrack Status is "+((trk & LnConstants.GTRK_IDLE) != 0 ? "On" : "Off") +",\n\tProgramming Track is "+((trk & LnConstants.GTRK_PROG_BUSY) != 0 ? "Busy" : "Available") +"\n\tSS2=0x"+Integer.toHexString(ss2) +", ID =0x"+Integer.toHexString(id2)+Integer.toHexString(id1)+"\n"; } else { logString = mode +" slot "+slot +":\n\tLoco "+locoAdrStr +" is "+LnConstants.CONSIST_STAT(stat) +", "+LnConstants.LOCO_STAT(stat) +", operating in "+LnConstants.DEC_MODE(stat)+" SS mode, and is going " +((dirf & LnConstants.DIRF_DIR)!=0 ? "in Reverse" : "Foward") +" at speed "+spd+",\n" +"\tF0="+((dirf & LnConstants.DIRF_F0) != 0 ? "On, " : "Off,") +" F1="+((dirf & LnConstants.DIRF_F1) != 0 ? "On, " : "Off,") +" F2="+((dirf & LnConstants.DIRF_F2) != 0 ? "On, " : "Off,") +" F3="+((dirf & LnConstants.DIRF_F3) != 0 ? "On, " : "Off,") +" F4="+((dirf & LnConstants.DIRF_F4) != 0 ? "On, " : "Off,") +" Sound1/F5="+((snd & LnConstants.SND_F5) != 0 ? "On, " : "Off,") +" Sound2/F6="+((snd & LnConstants.SND_F6) != 0 ? "On, " : "Off,") +" Sound3/F7="+((snd & LnConstants.SND_F7) != 0 ? "On, " : "Off,") +" Sound4/F8="+((snd & LnConstants.SND_F8) != 0 ? "On" : "Off") +"\n\tSS2=0x"+Integer.toHexString(ss2) +", ID =0x"+Integer.toHexString(id2)+Integer.toHexString(id1)+"\n"; } // end normal slot read/write case } // end of OPC_WR_SL_DATA, OPC_SL_RD_DATA case return logString; } /*********************************************************************************** * OPC_PEER_XFER 0xE5 ; move 8 bytes PEER to PEER, SRC->DST * * ; Message has response * * ; <0xE5>,<10>,<SRC>,<DSTL><DSTH>,<PXCT1>,<D1>, * * ; <D2>,<D3>,<D4>,<PXCT2>,<D5>,<D6>,<D7>, * * ; <D8>,<CHK> * * ; SRC/DST are 7 bit args. DSTL/H=0 is BROADCAST msg * * ; SRC=0 is MASTER * * ; SRC=0x70-0x7E are reserved * * ; SRC=7F is THROTTLE msg xfer, * * ; <DSTL><DSTH> encode ID#, * * ; <0><0> is THROT B'CAST * * ; <PXCT1>=<0,XC2,XC1,XC0 - D4.7,D3.7,D2.7,D1.7> * * ; XC0-XC2=ADR type CODE-0=7 bit Peer TO Peer adrs * * ; 1=<D1>is SRC HI,<D2>is DST HI * * ; <PXCT2>=<0,XC5,XC4,XC3 - D8.7,D7.7,D6.7,D5.7> * * ; XC3-XC5=data type CODE- 0=ANSI TEXT string, * * ; balance RESERVED * ***********************************************************************************/ case LnConstants.OPC_PEER_XFER: /* page 10 of Loconet PE */ int src = l.getElement(2); // source of transfer int dst_l = l.getElement(3); // ls 7 bits of destination int dst_h = l.getElement(4); // ms 7 bits of destination int pxct1 = l.getElement(5); int pxct2 = l.getElement(10); int d[] = l.getPeerXfrData(); return "Peer to Peer transfer: SRC=0x"+Integer.toHexString(src) +", DSTL=0x"+Integer.toHexString(dst_l) +", DSTH=0x"+Integer.toHexString(dst_h) +", PXCT1=0x"+Integer.toHexString(pxct1) +", PXCT2=0x"+Integer.toHexString(pxct2)+"\n" +"\tD1=0x"+Integer.toHexString(d[0]) +", D2=0x"+Integer.toHexString(d[1]) +", D3=0x"+Integer.toHexString(d[2]) +", D4=0x"+Integer.toHexString(d[3]) +", D5=0x"+Integer.toHexString(d[4]) +", D6=0x"+Integer.toHexString(d[5]) +", D7=0x"+Integer.toHexString(d[6]) +", D8=0x"+Integer.toHexString(d[7]) +"\n"; /*********************************************************************************** * 0xE4 ; * * ; * * ; <0xE4>,<0x09>,... * ***********************************************************************************/ case 0XE4: if (l.getElement(1)!=0x09) { forceHex = true; return "Unrecognized command varient\n"; } // OK, format int element = l.getElement(2)*128+l.getElement(3); int stat = l.getElement(5); String status; if ( (stat&0x10) !=0 ) if ( (stat&0x20) !=0 ) status = " AX, XA reserved; "; else status = " AX reserved; "; else if ( (stat&0x20) !=0 ) status = " XA reserved; "; else status = " no reservation; "; if ( (stat&0x01) !=0 ) status+="Turnout normal; "; else status+="Turnout reversed; "; if ( (stat&0x04) !=0 ) status+="Occupied"; else status+="Not occupied"; return "SE"+element+" reports AX:"+l.getElement(6)*4 +" XA:"+l.getElement(7)*4 +status+"\n"; /************************************************************************** * OPC_IMM_PACKET 0xED ;SEND n-byte packet immediate LACK * * ; Follow on message: LACK * * ; <0xED>,<0B>,<7F>,<REPS>,<DHI>,<IM1>,<IM2>, * * ; <IM3>,<IM4>,<IM5>,<CHK> * * ; <DHI>=<0,0,1,IM5.7-IM4.7,IM3.7,IM2.7,IM1.7> * * ; <REPS> D4,5,6=#IM bytes, * * ; D3=0(reserved); * * ; D2,1,0=repeat CNT * * ; IF Not limited MASTER then * * ; LACK=<B4>,<7D>,<7F>,<chk> if CMD ok * * ; IF limited MASTER then Lim Masters respond * * ; with <B4>,<7E>,<lim adr>,<chk> * * ; IF internal buffer BUSY/full respond * * ; with <B4>,<7D>,<0>,<chk> * * ; (NOT IMPLEMENTED IN DT200) * **************************************************************************/ case LnConstants.OPC_IMM_PACKET: /* page 11 of Loconet PE */ //sendPkt = (sendPktMsg *) msgBuf; int val7f = l.getElement(3); /* fixed value of 0x7f */ int reps = l.getElement(4); /* repeat count */ int dhi = l.getElement(5); /* high bits of data bytes */ int im1 = l.getElement(6); int im2 = l.getElement(7); int im3 = l.getElement(8); int im4 = l.getElement(9); int im5 = l.getElement(10); /* see if it really is a 'Send Packet' as defined in Loconet PE */ if (val7f == 0x7f) { /* it is */ return "Send packet immediate: "+((reps & 0x70) >> 4) +" bytes, repeat count "+(reps & 0x07) +", DHI=0x"+Integer.toHexString(dhi) +",\n\tIM1=0x"+Integer.toHexString(im1) +", IM2=0x"+Integer.toHexString(im2) +", IM3=0x"+Integer.toHexString(im3) +", IM4=0x"+Integer.toHexString(im4) +", IM5=0x"+Integer.toHexString(im5) +"\n"; } else { /* Hmmmm... */ forceHex = true; return "Weird Send Packet Immediate, 3rd byte id 0x"+Integer.toHexString(val7f) +" not 0x7f\n"; } default: forceHex = true; return "Command is not defined in Loconet Personal Use Edition 1.0\n"; } // end switch over opcode type - default handles unrecognized cases, so can't reach here } // end of format() member function
213 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/213/4a837d20a59978313a3b2ca9554db41b11210910/Llnmon.java/buggy/jmri/jmrix/loconet/locomon/Llnmon.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 514, 740, 12, 1333, 83, 7308, 1079, 328, 13, 288, 7734, 1250, 2405, 1482, 273, 629, 31, 282, 1748, 2405, 3298, 1267, 316, 333, 883, 35, 1195, 540, 202, 474, 6824, 31, 225, 368, 6269, 813, 924, 202, 474, 7507, 31, 13491, 1620, 261, 80, 18, 588, 3817, 1085, 10756, 288, 5411, 342, 19482, 14465, 2398, 380, 274, 576, 3506, 9841, 531, 3513, 2712, 55, 380, 2398, 380, 274, 10449, 273, 411, 51, 3513, 20401, 32, 3507, 14020, 34, 380, 2398, 380, 274, 13491, 380, 2398, 380, 19482, 636, 19, 13491, 342, 5021, 2751, 14, 2398, 380, 531, 3513, 67, 3000, 7474, 540, 374, 92, 11861, 282, 274, 28045, 21697, 981, 16, 423, 1506, 380, 2398, 20210, 2751, 19, 3639, 648, 511, 82, 2918, 18, 51, 3513, 67, 9681, 3000, 7474, 30, 7734, 1748, 1363, 1725, 434, 2851, 265, 278, 16628, 1195, 5411, 327, 315, 7786, 353, 21697, 64, 82, 14432, 13491, 342, 5021, 2751, 1007, 2398, 380, 531, 3513, 67, 43, 2419, 2246, 3639, 374, 92, 11149, 282, 274, 20402, 7212, 17511, 590, 380, 2398, 20210, 2751, 636, 5549, 3639, 648, 511, 82, 2918, 18, 51, 3513, 67, 43, 2419, 2246, 30, 1171, 1748, 1363, 1725, 434, 2851, 265, 278, 16628, 1195, 5411, 327, 315, 5160, 23783, 17511, 64, 82, 14432, 13491, 342, 5021, 2751, 14465, 2398, 380, 531, 3513, 67, 9681, 673, 540, 374, 92, 10261, 282, 274, 20402, 7212, 6229, 590, 380, 2398, 20210, 2751, 636, 19, 3639, 648, 511, 82, 2918, 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, 514, 740, 12, 1333, 83, 7308, 1079, 328, 13, 288, 7734, 1250, 2405, 1482, 273, 629, 31, 282, 1748, 2405, 3298, 1267, 316, 333, 883, 35, 1195, 540, 202, 474, 6824, 31, 225, 368, 6269, 813, 924, 202, 474, 7507, 31, 13491, 1620, 261, 80, 18, 588, 3817, 1085, 10756, 288, 5411, 342, 19482, 14465, 2398, 380, 274, 576, 3506, 9841, 531, 3513, 2712, 55, 380, 2398, 380, 274, 10449, 273, 411, 51, 3513, 20401, 32, 3507, 14020, 34, 380, 2398, 380, 274, 13491, 380, 2398, 380, 19482, 636, 19, 13491, 342, 5021, 2751, 14, 2398, 380, 531, 3513, 67, 3000, 7474, 540, 374, 92, 11861, 282, 274, 28045, 21697, 981, 16, 423, 1506, 380, 2398, 20210, 2 ]
gopher.l = l; CrossProductResidue r = (CrossProductResidue) ourResidues.get(gopher);
CrossProductResidue r; synchronized(gopher) { gopher.l = l; r = (CrossProductResidue) ourResidues.get(gopher); }
public CrossProductResidue getResidue(List l) throws IllegalAlphabetException { gopher.l = l; CrossProductResidue r = (CrossProductResidue) ourResidues.get(gopher); if (r == null) { throw new IllegalAlphabetException( "Unable to find CrossProduct residue for " + l + " in alphabet " + getName() ); } return r; }
50115 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50115/dc7b3edc7f85e7b94903a263787fdbfcd26d71e3/SimpleCrossProductAlphabet.java/buggy/src/org/biojava/bio/seq/tools/SimpleCrossProductAlphabet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 19742, 4133, 607, 23965, 31792, 23965, 12, 682, 328, 13, 1216, 2141, 27316, 503, 288, 565, 22096, 1614, 18, 80, 273, 328, 31, 565, 19742, 4133, 607, 23965, 436, 273, 261, 13941, 4133, 607, 23965, 13, 3134, 607, 350, 3610, 18, 588, 12, 75, 556, 1614, 1769, 565, 309, 261, 86, 422, 446, 13, 288, 1377, 604, 394, 2141, 27316, 503, 12, 3639, 315, 3370, 358, 1104, 19742, 4133, 14765, 364, 315, 397, 3639, 328, 397, 315, 316, 10877, 315, 397, 1723, 1435, 1377, 11272, 565, 289, 565, 327, 436, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 19742, 4133, 607, 23965, 31792, 23965, 12, 682, 328, 13, 1216, 2141, 27316, 503, 288, 565, 22096, 1614, 18, 80, 273, 328, 31, 565, 19742, 4133, 607, 23965, 436, 273, 261, 13941, 4133, 607, 23965, 13, 3134, 607, 350, 3610, 18, 588, 12, 75, 556, 1614, 1769, 565, 309, 261, 86, 422, 446, 13, 288, 1377, 604, 394, 2141, 27316, 503, 12, 3639, 315, 3370, 358, 1104, 19742, 4133, 14765, 364, 315, 397, 3639, 328, 397, 315, 316, 10877, 315, 397, 1723, 1435, 1377, 11272, 565, 289, 565, 327, 436, 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 ]
"ms, missing ACKs from " + ack_collector.getMissing() + " (received=" + ack_collector.getReceived() +
"ms, missing ACKs from " + ack_collector.printMissing() + " (received=" + ack_collector.printReceived() +
public void castViewChangeWithDest(View new_view, Digest digest, java.util.List members) { Message view_change_msg; GmsHeader hdr; long start, stop; ViewId vid=new_view.getVid(); int size=-1; if(members == null || members.size() == 0) members=new_view.getMembers(); if(log.isTraceEnabled()) log.trace("mcasting view {" + new_view + "} (" + new_view.size() + " mbrs)\n"); start=System.currentTimeMillis(); view_change_msg=new Message(); // bcast to all members hdr=new GmsHeader(GmsHeader.VIEW, new_view); hdr.my_digest=digest; view_change_msg.putHeader(name, hdr); ack_collector.reset(vid, members); size=ack_collector.size(); passDown(new Event(Event.MSG, view_change_msg)); try { ack_collector.waitForAllAcks(view_ack_collection_timeout); stop=System.currentTimeMillis(); if(trace) log.trace("received all ACKs (" + size + ") for " + vid + " in " + (stop-start) + "ms"); } catch(TimeoutException e) { log.warn("failed to collect all ACKs (" + size + ") for view " + new_view + " after " + view_ack_collection_timeout + "ms, missing ACKs from " + ack_collector.getMissing() + " (received=" + ack_collector.getReceived() + "), local_addr=" + local_addr); } }
48949 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48949/5f54b164eba4b5bcde2aa03985f78bbe2cc05deb/GMS.java/buggy/src/org/jgroups/protocols/pbcast/GMS.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 4812, 1767, 3043, 1190, 9378, 12, 1767, 394, 67, 1945, 16, 15864, 5403, 16, 2252, 18, 1367, 18, 682, 4833, 13, 288, 3639, 2350, 282, 1476, 67, 3427, 67, 3576, 31, 3639, 611, 959, 1864, 7723, 31, 3639, 1525, 1377, 787, 16, 2132, 31, 3639, 4441, 548, 565, 18339, 33, 2704, 67, 1945, 18, 588, 58, 350, 5621, 3639, 509, 4202, 963, 29711, 21, 31, 3639, 309, 12, 7640, 422, 446, 747, 4833, 18, 1467, 1435, 422, 374, 13, 5411, 4833, 33, 2704, 67, 1945, 18, 588, 6918, 5621, 3639, 309, 12, 1330, 18, 291, 3448, 1526, 10756, 5411, 613, 18, 5129, 2932, 81, 4155, 310, 1476, 12528, 397, 394, 67, 1945, 397, 27342, 7566, 397, 394, 67, 1945, 18, 1467, 1435, 397, 315, 312, 2848, 87, 5153, 82, 8863, 3639, 787, 33, 3163, 18, 2972, 28512, 5621, 3639, 1476, 67, 3427, 67, 3576, 33, 2704, 2350, 5621, 368, 324, 4155, 358, 777, 4833, 3639, 7723, 33, 2704, 611, 959, 1864, 12, 43, 959, 1864, 18, 12145, 16, 394, 67, 1945, 1769, 3639, 7723, 18, 4811, 67, 10171, 33, 10171, 31, 3639, 1476, 67, 3427, 67, 3576, 18, 458, 1864, 12, 529, 16, 7723, 1769, 3639, 8479, 67, 21356, 18, 6208, 12, 1246, 16, 4833, 1769, 3639, 963, 33, 484, 67, 21356, 18, 1467, 5621, 3639, 1342, 4164, 12, 2704, 2587, 12, 1133, 18, 11210, 16, 1476, 67, 3427, 67, 3576, 10019, 3639, 775, 288, 5411, 8479, 67, 21356, 18, 7048, 1290, 1595, 11931, 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, 4812, 1767, 3043, 1190, 9378, 12, 1767, 394, 67, 1945, 16, 15864, 5403, 16, 2252, 18, 1367, 18, 682, 4833, 13, 288, 3639, 2350, 282, 1476, 67, 3427, 67, 3576, 31, 3639, 611, 959, 1864, 7723, 31, 3639, 1525, 1377, 787, 16, 2132, 31, 3639, 4441, 548, 565, 18339, 33, 2704, 67, 1945, 18, 588, 58, 350, 5621, 3639, 509, 4202, 963, 29711, 21, 31, 3639, 309, 12, 7640, 422, 446, 747, 4833, 18, 1467, 1435, 422, 374, 13, 5411, 4833, 33, 2704, 67, 1945, 18, 588, 6918, 5621, 3639, 309, 12, 1330, 18, 291, 3448, 1526, 10756, 5411, 613, 18, 5129, 2932, 81, 4155, 310, 1476, 12528, 397, 394, 67, 1945, 397, 27342, 7566, 397, 2 ]
if (linkTargetFile.exists() == false) {
if (linkTargetFile.exists()) { IStatus fileTypeStatus = validateFileType(linkTargetFile); if (fileTypeStatus.isOK() == false) return fileTypeStatus; } else if (locationStatus.getSeverity() == IStatus.OK) {
public IStatus validateLinkLocation(IResource linkHandle) { if (linkTargetField == null || linkTargetField.isDisposed()) return createStatus(IStatus.OK, ""); //$NON-NLS-1$ IWorkspace workspace = WorkbenchPlugin.getPluginWorkspace(); String linkTargetName = linkTargetField.getText(); IPath path = new Path(linkTargetName); if (createLink == false) return createStatus(IStatus.OK, ""); //$NON-NLS-1$ IStatus locationStatus = workspace.validateLinkLocation(linkHandle, path); if (locationStatus.getSeverity() != IStatus.OK) { return locationStatus; } // use the resolved link target name linkTargetName = resolvedPathLabelData.getText(); path = new Path(linkTargetName); File linkTargetFile = new Path(linkTargetName).toFile(); if (linkTargetFile.exists() == false) { return createStatus( IStatus.WARNING, WorkbenchMessages.getString("CreateLinkedResourceGroup.linkTargetNonExistent")); //$NON-NLS-1$ } IStatus fileTypeStatus = validateFileType(linkTargetFile); if (fileTypeStatus.isOK() == false) { return fileTypeStatus; } return locationStatus;}
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/1249a6d5d0d0b1943d05cb5937bcd35b679a88d7/CreateLinkedResourceGroup.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/CreateLinkedResourceGroup.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 467, 1482, 1954, 2098, 2735, 12, 45, 1420, 1692, 3259, 13, 288, 202, 430, 261, 1232, 2326, 974, 422, 446, 747, 1692, 2326, 974, 18, 291, 1669, 7423, 10756, 202, 202, 2463, 752, 1482, 12, 45, 1482, 18, 3141, 16, 1408, 1769, 202, 759, 8, 3993, 17, 5106, 17, 21, 8, 202, 202, 45, 8241, 6003, 273, 4147, 22144, 3773, 18, 588, 3773, 8241, 5621, 202, 780, 1692, 2326, 461, 273, 1692, 2326, 974, 18, 588, 1528, 5621, 202, 45, 743, 589, 273, 394, 2666, 12, 1232, 2326, 461, 1769, 202, 202, 430, 261, 2640, 2098, 422, 629, 13, 202, 202, 2463, 752, 1482, 12, 45, 1482, 18, 3141, 16, 1408, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 45, 1482, 2117, 1482, 273, 6003, 18, 5662, 2098, 2735, 12, 1232, 3259, 16, 202, 803, 1769, 202, 430, 261, 3562, 1482, 18, 588, 21630, 1435, 480, 467, 1482, 18, 3141, 13, 288, 202, 202, 2463, 2117, 1482, 31, 202, 97, 202, 759, 999, 326, 4640, 1692, 1018, 508, 202, 1232, 2326, 461, 273, 4640, 743, 2224, 751, 18, 588, 1528, 5621, 202, 803, 273, 394, 2666, 12, 1232, 2326, 461, 1769, 202, 812, 1692, 2326, 812, 273, 394, 2666, 12, 1232, 2326, 461, 2934, 869, 812, 5621, 202, 430, 261, 1232, 2326, 812, 18, 1808, 1435, 422, 629, 13, 288, 202, 202, 2463, 752, 1482, 12, 1082, 202, 45, 1482, 18, 9511, 16, 1082, 202, 2421, 22144, 5058, 18, 588, 780, 2932, 1684, 13174, 18860, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 467, 1482, 1954, 2098, 2735, 12, 45, 1420, 1692, 3259, 13, 288, 202, 430, 261, 1232, 2326, 974, 422, 446, 747, 1692, 2326, 974, 18, 291, 1669, 7423, 10756, 202, 202, 2463, 752, 1482, 12, 45, 1482, 18, 3141, 16, 1408, 1769, 202, 759, 8, 3993, 17, 5106, 17, 21, 8, 202, 202, 45, 8241, 6003, 273, 4147, 22144, 3773, 18, 588, 3773, 8241, 5621, 202, 780, 1692, 2326, 461, 273, 1692, 2326, 974, 18, 588, 1528, 5621, 202, 45, 743, 589, 273, 394, 2666, 12, 1232, 2326, 461, 1769, 202, 202, 430, 261, 2640, 2098, 422, 629, 13, 202, 202, 2463, 752, 1482, 12, 45, 1482, 18, 3141, 16, 1408, 1769, 4329, 3993, 17, 5106, 17, 21, 2 ]
public Iterator findIterator (Object instance) throws PropertyException { if (iteratorMethod != null) { Object ret = invoke(iteratorMethod, instance, null); if (ret instanceof Iterator) { return (Iterator) ret; } else if (ret instanceof Enumeration) { return new EnumIterator((Enumeration) ret); } else if (ret instanceof Object[]) { return new ArrayIterator((Object[]) ret); } } throw new PropertyException((instance == null ? "null" : instance.getClass().getName()) + " is not a list"); }
public Iterator findIterator(Object instance) throws PropertyException { if (iteratorMethod != null) { Object ret = invoke(iteratorMethod, instance, null); if (ret instanceof Iterator) { return (Iterator) ret; } else if (ret instanceof Enumeration) { return new EnumIterator((Enumeration) ret); } else if (ret instanceof Object[]) { return new ArrayIterator((Object[]) ret); } } throw new PropertyException((instance == null ? "null" : instance.getClass().getName()) + " is not a list"); }
public Iterator findIterator (Object instance) throws PropertyException { if (iteratorMethod != null) { Object ret = invoke(iteratorMethod, instance, null); if (ret instanceof Iterator) { return (Iterator) ret; } else if (ret instanceof Enumeration) { return new EnumIterator((Enumeration) ret); } else if (ret instanceof Object[]) { return new ArrayIterator((Object[]) ret); } } throw new PropertyException((instance == null ? "null" : instance.getClass().getName()) + " is not a list"); }
52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/67ca4e7044b0f2675e520acfb786c52497facbe2/PropertyOperatorCache.java/buggy/webmacro/src/org/webmacro/engine/PropertyOperatorCache.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4498, 1104, 3198, 261, 921, 791, 13, 5411, 1216, 4276, 503, 565, 288, 3639, 309, 261, 9838, 1305, 480, 446, 13, 3639, 288, 5411, 1033, 325, 273, 4356, 12, 9838, 1305, 16, 791, 16, 446, 1769, 5411, 309, 261, 1349, 1276, 4498, 13, 5411, 288, 7734, 327, 261, 3198, 13, 325, 31, 5411, 289, 5411, 469, 309, 261, 1349, 1276, 13864, 13, 5411, 288, 7734, 327, 394, 6057, 3198, 12443, 21847, 13, 325, 1769, 5411, 289, 5411, 469, 309, 261, 1349, 1276, 1033, 63, 5717, 5411, 288, 7734, 327, 394, 29622, 12443, 921, 63, 5717, 325, 1769, 5411, 289, 3639, 289, 3639, 604, 394, 4276, 503, 12443, 1336, 422, 446, 692, 315, 2011, 6, 294, 791, 18, 588, 797, 7675, 17994, 10756, 397, 315, 353, 486, 279, 666, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4498, 1104, 3198, 261, 921, 791, 13, 5411, 1216, 4276, 503, 565, 288, 3639, 309, 261, 9838, 1305, 480, 446, 13, 3639, 288, 5411, 1033, 325, 273, 4356, 12, 9838, 1305, 16, 791, 16, 446, 1769, 5411, 309, 261, 1349, 1276, 4498, 13, 5411, 288, 7734, 327, 261, 3198, 13, 325, 31, 5411, 289, 5411, 469, 309, 261, 1349, 1276, 13864, 13, 5411, 288, 7734, 327, 394, 6057, 3198, 12443, 21847, 13, 325, 1769, 5411, 289, 5411, 469, 309, 261, 1349, 1276, 1033, 63, 5717, 5411, 288, 7734, 327, 394, 29622, 12443, 921, 63, 5717, 325, 1769, 5411, 289, 3639, 289, 3639, 604, 394, 4276, 503, 12443, 1336, 422, 446, 692, 315, 2011, 6, 294, 791, 18, 2 ]
m_tcpPort = port;
m_tcpPort = TCP_PORT;
TcpServer(Fiber parent, List handlers, int port ) throws IOException { m_parent = parent; m_tcpPort = port; m_tcpSock = new ServerSocket(m_tcpPort); m_receivers = new LinkedList(); m_stop = false; m_context = null; m_handlers= handlers; m_logPrefix = org.opennms.netmgt.eventd.Eventd.LOG4J_CATEGORY; m_recsPerConn = TcpEventReceiver.UNLIMITED_EVENTS; }
25465 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25465/b3612967cb053036bdb295ee74cb2e369c6ca18d/TcpServer.java/buggy/src/services/org/opennms/netmgt/eventd/adaptors/tcp/TcpServer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 27591, 2081, 12, 22041, 982, 16, 987, 4919, 16, 509, 1756, 262, 202, 202, 15069, 1860, 202, 95, 202, 202, 81, 67, 2938, 225, 273, 982, 31, 202, 202, 81, 67, 14832, 2617, 273, 1756, 31, 202, 202, 81, 67, 14832, 55, 975, 273, 394, 3224, 4534, 12, 81, 67, 14832, 2617, 1769, 202, 202, 81, 67, 8606, 6760, 273, 394, 10688, 5621, 202, 202, 81, 67, 5681, 565, 273, 629, 31, 202, 202, 81, 67, 2472, 273, 446, 31, 202, 202, 81, 67, 11046, 33, 4919, 31, 202, 202, 81, 67, 1330, 2244, 273, 2358, 18, 3190, 82, 959, 18, 2758, 81, 4521, 18, 2575, 72, 18, 1133, 72, 18, 4842, 24, 46, 67, 24847, 31, 202, 202, 81, 67, 266, 2143, 2173, 3543, 273, 31655, 1133, 12952, 18, 2124, 8283, 2056, 67, 29221, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 27591, 2081, 12, 22041, 982, 16, 987, 4919, 16, 509, 1756, 262, 202, 202, 15069, 1860, 202, 95, 202, 202, 81, 67, 2938, 225, 273, 982, 31, 202, 202, 81, 67, 14832, 2617, 273, 1756, 31, 202, 202, 81, 67, 14832, 55, 975, 273, 394, 3224, 4534, 12, 81, 67, 14832, 2617, 1769, 202, 202, 81, 67, 8606, 6760, 273, 394, 10688, 5621, 202, 202, 81, 67, 5681, 565, 273, 629, 31, 202, 202, 81, 67, 2472, 273, 446, 31, 202, 202, 81, 67, 11046, 33, 4919, 31, 202, 202, 81, 67, 1330, 2244, 273, 2358, 18, 3190, 82, 959, 18, 2758, 81, 4521, 18, 2575, 72, 18, 1133, 72, 18, 4842, 24, 46, 67, 24847, 31, 2 ]
org.exist.xquery.parser.XQueryAST tmp189_AST = null; tmp189_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp189_AST);
org.exist.xquery.parser.XQueryAST tmp190_AST = null; tmp190_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp190_AST);
public final void multiplicativeExpr() throws RecognitionException, TokenStreamException, XPathException { returnAST = null; ASTPair currentAST = new ASTPair(); org.exist.xquery.parser.XQueryAST multiplicativeExpr_AST = null; unaryExpr(); astFactory.addASTChild(currentAST, returnAST); { _loop169: do { if ((_tokenSet_5.member(LA(1)))) { { switch ( LA(1)) { case STAR: { org.exist.xquery.parser.XQueryAST tmp189_AST = null; tmp189_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp189_AST); match(STAR); break; } case LITERAL_div: { org.exist.xquery.parser.XQueryAST tmp190_AST = null; tmp190_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp190_AST); match(LITERAL_div); break; } case LITERAL_idiv: { org.exist.xquery.parser.XQueryAST tmp191_AST = null; tmp191_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp191_AST); match(LITERAL_idiv); break; } case LITERAL_mod: { org.exist.xquery.parser.XQueryAST tmp192_AST = null; tmp192_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp192_AST); match(LITERAL_mod); break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } } unaryExpr(); astFactory.addASTChild(currentAST, returnAST); } else { break _loop169; } } while (true); } multiplicativeExpr_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; returnAST = multiplicativeExpr_AST; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/10544e5ec103a411822c6180ed81ef38eab15de8/XQueryParser.java/buggy/src/org/exist/xquery/parser/XQueryParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 3309, 28884, 4742, 1435, 1216, 9539, 16, 3155, 1228, 503, 16, 10172, 503, 288, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 3309, 28884, 4742, 67, 9053, 273, 446, 31, 9506, 202, 318, 814, 4742, 5621, 202, 202, 689, 1733, 18, 1289, 9053, 1763, 12, 2972, 9053, 16, 327, 9053, 1769, 202, 202, 95, 202, 202, 67, 6498, 26035, 30, 202, 202, 2896, 288, 1082, 202, 430, 14015, 67, 2316, 694, 67, 25, 18, 5990, 12, 2534, 12, 21, 3719, 3719, 288, 9506, 202, 95, 9506, 202, 9610, 261, 2928, 12, 21, 3719, 288, 9506, 202, 3593, 21807, 30, 9506, 202, 95, 6862, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 1853, 29426, 67, 9053, 273, 446, 31, 6862, 202, 5645, 29426, 67, 9053, 273, 261, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 13, 689, 1733, 18, 2640, 12, 12050, 12, 21, 10019, 6862, 202, 689, 1733, 18, 6540, 9053, 2375, 12, 2972, 9053, 16, 1853, 29426, 67, 9053, 1769, 6862, 202, 1916, 12, 20943, 1769, 6862, 202, 8820, 31, 9506, 202, 97, 9506, 202, 3593, 511, 18454, 67, 2892, 30, 9506, 202, 95, 6862, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 1853, 30454, 67, 9053, 273, 446, 31, 6862, 202, 5645, 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, 3309, 28884, 4742, 1435, 1216, 9539, 16, 3155, 1228, 503, 16, 10172, 503, 288, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 3341, 18, 7398, 18, 92, 2271, 18, 4288, 18, 60, 1138, 9053, 3309, 28884, 4742, 67, 9053, 273, 446, 31, 9506, 202, 318, 814, 4742, 5621, 202, 202, 689, 1733, 18, 1289, 9053, 1763, 12, 2972, 9053, 16, 327, 9053, 1769, 202, 202, 95, 202, 202, 67, 6498, 26035, 30, 202, 202, 2896, 288, 1082, 202, 430, 14015, 67, 2316, 694, 67, 25, 18, 5990, 12, 2534, 12, 21, 3719, 3719, 288, 9506, 202, 95, 9506, 202, 9610, 261, 2928, 2 ]
if (this.resultId != 0) { int currentRow = getResultCount(); setResultRows(currentRow); if (isError()) { Exception ex = getException(); setError(null); setException(null);
int currentRow = 0; if (this.resultId != 0) { try { currentRow = database.getNumRows(resultId); setResultRows(currentRow); } catch (Exception ex){ logger.error("Get number of results failed. Exception caught in UserManager. Details: "+ex.getMessage());
public void processResult(int from, int count) throws Exception { if (this.resultId != 0) { int currentRow = getResultCount(); setResultRows(currentRow); if (isError()) { Exception ex = getException(); setError(null); setException(null); throw ex; } logger.debug("Rows in the result: "+currentRow); logger.debug("Max available rows: "+(from+count-1)); // Find out how many rows we can retrieve - it cannot be more than number of rows in the result int to = Math.min(currentRow, from+count-1); if (to <= 0) { userList = new ArrayList<User>(); setDisplayRows(0); setCurrentDisplayRows("0-0"); } else { logger.debug("Retrieving query results: 1 -" + to); setCurrentDisplayRows(from+ "-" + to); // Retrieve selected row interval Object[] objectUser; try { objectUser = database.more(this.resultId, 0, to-1); } catch(Exception e) { logger.error("Processing search results failed: " + e.getMessage()); throw e; } if (objectUser == null) { logger.error("tUser doesn`t contain required data"); throw new DBLayerException(ERROR_PROCESS + "tUser doesn`t contain required data"); } int countResult = objectUser.length; logger.debug("Results retrieved. Count: "+ countResult); this.userList = new ArrayList<User>(); // Cast the results to the User objects for (int i=0; i<countResult; i++ ) { Object[] objHis = (Object[])objectUser[i]; this.userList.add((User)objHis[0]); } // Update current first displayed row logger.info("Results successfuly retrieved"); setCurrentFirstRow(from); } } }
57211 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57211/4ce496b391a312d560b94be94ee4ceb687bfc0a5/UserManager.java/clean/trunk/src/net/sf/plantlore/client/user/UserManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1207, 1253, 12, 474, 628, 16, 509, 1056, 13, 1216, 1185, 288, 7734, 309, 261, 2211, 18, 2088, 548, 480, 374, 13, 288, 5411, 509, 31185, 273, 8601, 1380, 5621, 5411, 21582, 4300, 12, 2972, 1999, 1769, 5411, 309, 261, 291, 668, 10756, 288, 7734, 1185, 431, 273, 17669, 5621, 7734, 9967, 12, 2011, 1769, 7734, 29680, 12, 2011, 1769, 7734, 604, 431, 31, 5411, 289, 5411, 1194, 18, 4148, 2932, 4300, 316, 326, 563, 30, 13773, 2972, 1999, 1769, 5411, 1194, 18, 4148, 2932, 2747, 2319, 2595, 30, 13773, 12, 2080, 15, 1883, 17, 21, 10019, 15604, 368, 4163, 596, 3661, 4906, 2595, 732, 848, 4614, 300, 518, 2780, 506, 1898, 2353, 1300, 434, 2595, 316, 326, 563, 5411, 509, 358, 273, 2361, 18, 1154, 12, 2972, 1999, 16, 628, 15, 1883, 17, 21, 1769, 7682, 309, 261, 869, 1648, 374, 13, 288, 2398, 202, 1355, 682, 273, 394, 2407, 32, 1299, 34, 5621, 2868, 202, 542, 4236, 4300, 12, 20, 1769, 2398, 202, 542, 3935, 4236, 4300, 2932, 20, 17, 20, 8863, 10402, 289, 469, 288, 7734, 1194, 18, 4148, 2932, 3848, 6282, 843, 1686, 30, 404, 300, 6, 397, 358, 1769, 7734, 12589, 4236, 4300, 12, 2080, 15, 7514, 397, 358, 1769, 1171, 9079, 202, 1171, 368, 10708, 3170, 1027, 3673, 1171, 1033, 8526, 733, 1299, 31, 2868, 202, 698, 288, 2868, 202, 202, 1612, 1299, 273, 2063, 18, 10161, 12, 2211, 18, 2088, 548, 16, 374, 16, 358, 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, 377, 1071, 918, 1207, 1253, 12, 474, 628, 16, 509, 1056, 13, 1216, 1185, 288, 7734, 309, 261, 2211, 18, 2088, 548, 480, 374, 13, 288, 5411, 509, 31185, 273, 8601, 1380, 5621, 5411, 21582, 4300, 12, 2972, 1999, 1769, 5411, 309, 261, 291, 668, 10756, 288, 7734, 1185, 431, 273, 17669, 5621, 7734, 9967, 12, 2011, 1769, 7734, 29680, 12, 2011, 1769, 7734, 604, 431, 31, 5411, 289, 5411, 1194, 18, 4148, 2932, 4300, 316, 326, 563, 30, 13773, 2972, 1999, 1769, 5411, 1194, 18, 4148, 2932, 2747, 2319, 2595, 30, 13773, 12, 2080, 15, 1883, 17, 21, 10019, 15604, 368, 4163, 596, 3661, 4906, 2595, 732, 848, 4614, 300, 518, 2780, 506, 1898, 2353, 1300, 434, 2595, 2 ]
Account account = prov.get(AccountBy.NAME, username);
Account account = prov.get(AccountBy.name, username);
boolean doLOGIN(String tag, String username, String password) throws IOException { if (!checkState(tag, ImapSession.STATE_NOT_AUTHENTICATED)) return CONTINUE_PROCESSING; else if (!mStartedTLS && !allowCleartextLogin()) { sendNO(tag, "cleartext logins disabled"); return CONTINUE_PROCESSING; } // the Windows Mobile 5 hacks are enabled by appending "/wm" to the username EnabledHack hack = EnabledHack.NONE; if (username.endsWith("/wm")) { username = username.substring(0, username.length() - 3); hack = EnabledHack.WM5; } Mailbox mailbox = null; ImapSession session = null; try { Provisioning prov = Provisioning.getInstance(); Account account = prov.get(AccountBy.NAME, username); if (account == null) { sendNO(tag, "LOGIN failed"); return CONTINUE_PROCESSING; } prov.authAccount(account, password); if (!account.getBooleanAttr(Provisioning.A_zimbraImapEnabled, false)) { sendNO(tag, "account does not have IMAP access enabled"); return CONTINUE_PROCESSING; } else if (!Provisioning.onLocalServer(account)) { String correctHost = account.getAttr(Provisioning.A_zimbraMailHost); ZimbraLog.imap.info("LOGIN failed; should be on host " + correctHost); if (correctHost == null || correctHost.trim().equals("")) sendNO(tag, "LOGIN failed [wrong host]"); else sendNO(tag, "[REFERRAL imap://" + URLEncoder.encode(account.getName(), "utf-8") + '@' + correctHost + "/] LOGIN failed"); return CONTINUE_PROCESSING; } session = (ImapSession) SessionCache.getNewSession(account.getId(), SessionCache.SESSION_IMAP); if (session == null) { sendNO(tag, "LOGIN failed"); return CONTINUE_PROCESSING; } session.enableHack(hack); mailbox = session.getMailbox(); synchronized (mailbox) { session.setUsername(account.getName()); session.cacheFlags(mailbox); for (Tag ltag : mailbox.getTagList(session.getContext())) session.cacheTag(ltag); } // Session timeout will take care of closing an IMAP connection with // no activity. if (ZimbraLog.imap.isDebugEnabled()) ZimbraLog.imap.debug("disabling unauth connection alarm"); mConnection.cancelAlarm(); } catch (ServiceException e) { if (mSession != null) mSession.clearTagCache(); ZimbraLog.imap.warn("LOGIN failed", e); if (e.getCode() == AccountServiceException.CHANGE_PASSWORD) sendNO(tag, "[ALERT] password must be changed before IMAP login permitted"); else if (e.getCode() == AccountServiceException.MAINTENANCE_MODE) sendNO(tag, "[ALERT] account undergoing maintenance; please try again later"); else sendNO(tag, "LOGIN failed"); return canContinue(e); } // XXX: could use mSession.getMailbox() instead of saving a copy... mMailbox = mailbox; mSession = session; mSession.setHandler(this); sendCapability(); sendOK(tag, "LOGIN completed"); return CONTINUE_PROCESSING; }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/fd0f862d7df8ece6c184e0d4602c7c3b874e5623/OzImapConnectionHandler.java/clean/ZimbraServer/src/java/com/zimbra/cs/imap/OzImapConnectionHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1250, 741, 19022, 12, 780, 1047, 16, 514, 2718, 16, 514, 2201, 13, 1216, 1860, 288, 3639, 309, 16051, 1893, 1119, 12, 2692, 16, 467, 1458, 2157, 18, 7998, 67, 4400, 67, 25114, 6344, 3719, 5411, 327, 8020, 26725, 67, 16560, 1360, 31, 3639, 469, 309, 16051, 81, 9217, 9905, 597, 401, 5965, 4756, 485, 408, 5358, 10756, 288, 5411, 1366, 3417, 12, 2692, 16, 315, 2131, 485, 408, 613, 2679, 5673, 8863, 5411, 327, 8020, 26725, 67, 16560, 1360, 31, 3639, 289, 3639, 368, 326, 8202, 20428, 1381, 11769, 87, 854, 3696, 635, 19997, 2206, 91, 81, 6, 358, 326, 2718, 3639, 14666, 44, 484, 11769, 273, 14666, 44, 484, 18, 9826, 31, 3639, 309, 261, 5053, 18, 5839, 1190, 2932, 19, 91, 81, 6, 3719, 288, 5411, 2718, 273, 2718, 18, 28023, 12, 20, 16, 2718, 18, 2469, 1435, 300, 890, 1769, 5411, 11769, 273, 14666, 44, 484, 18, 25173, 25, 31, 3639, 289, 3639, 11542, 2147, 14187, 273, 446, 31, 3639, 467, 1458, 2157, 1339, 273, 446, 31, 3639, 775, 288, 5411, 26423, 17197, 273, 26423, 18, 588, 1442, 5621, 5411, 6590, 2236, 273, 17197, 18, 588, 12, 3032, 858, 18, 529, 16, 2718, 1769, 5411, 309, 261, 4631, 422, 446, 13, 288, 7734, 1366, 3417, 12, 2692, 16, 315, 19022, 2535, 8863, 7734, 327, 8020, 26725, 67, 16560, 1360, 31, 5411, 289, 5411, 17197, 18, 1944, 3032, 12, 4631, 16, 2201, 1769, 5411, 309, 16051, 4631, 18, 588, 5507, 3843, 12, 17485, 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, 1250, 741, 19022, 12, 780, 1047, 16, 514, 2718, 16, 514, 2201, 13, 1216, 1860, 288, 3639, 309, 16051, 1893, 1119, 12, 2692, 16, 467, 1458, 2157, 18, 7998, 67, 4400, 67, 25114, 6344, 3719, 5411, 327, 8020, 26725, 67, 16560, 1360, 31, 3639, 469, 309, 16051, 81, 9217, 9905, 597, 401, 5965, 4756, 485, 408, 5358, 10756, 288, 5411, 1366, 3417, 12, 2692, 16, 315, 2131, 485, 408, 613, 2679, 5673, 8863, 5411, 327, 8020, 26725, 67, 16560, 1360, 31, 3639, 289, 3639, 368, 326, 8202, 20428, 1381, 11769, 87, 854, 3696, 635, 19997, 2206, 91, 81, 6, 358, 326, 2718, 3639, 14666, 44, 484, 11769, 273, 14666, 44, 484, 18, 9826, 31, 3639, 309, 261, 5053, 2 ]
final ArrayList<FocusTrackback> stack = getStackForRoot(myRoot);
final List<FocusTrackback> stack = getStackForRoot(myRoot);
public FocusTrackback(Object requestor, Window parent) { myRequestor = requestor; myParentWindow = parent; if (ApplicationManager.getApplication().isUnitTestMode() || SystemInfo.isWindows) return; register(parent); final ArrayList<FocusTrackback> stack = getStackForRoot(myRoot); if (stack.indexOf(this) == 0) { final KeyboardFocusManager manager = KeyboardFocusManager.getCurrentKeyboardFocusManager(); myFocusOwner = manager.getPermanentFocusOwner(); if (myFocusOwner == null) { final Window window = manager.getActiveWindow(); if (window instanceof Provider) { myFocusOwner = ((Provider)window).getFocusTrackback().getFocusOwner(); } } } else { myFocusOwner = stack.get(0).getFocusOwner(); } }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/81fc6eec603453d2027dd6381b24767971ee6c45/FocusTrackback.java/buggy/source/com/intellij/ui/FocusTrackback.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 478, 4560, 4402, 823, 12, 921, 590, 280, 16, 6076, 982, 13, 288, 565, 3399, 691, 280, 273, 590, 280, 31, 565, 3399, 3054, 3829, 273, 982, 31, 565, 309, 261, 3208, 1318, 18, 588, 3208, 7675, 291, 2802, 4709, 2309, 1435, 747, 2332, 966, 18, 291, 10399, 13, 327, 31, 565, 1744, 12, 2938, 1769, 565, 727, 987, 32, 9233, 4402, 823, 34, 2110, 273, 18457, 1290, 2375, 12, 4811, 2375, 1769, 565, 309, 261, 3772, 18, 31806, 12, 2211, 13, 422, 374, 13, 288, 1377, 727, 16535, 9233, 1318, 3301, 273, 16535, 9233, 1318, 18, 588, 3935, 17872, 9233, 1318, 5621, 1377, 3399, 9233, 5541, 273, 3301, 18, 588, 24159, 9233, 5541, 5621, 1377, 309, 261, 4811, 9233, 5541, 422, 446, 13, 288, 3639, 727, 6076, 2742, 273, 3301, 18, 588, 3896, 3829, 5621, 3639, 309, 261, 5668, 1276, 7561, 13, 288, 1850, 3399, 9233, 5541, 273, 14015, 2249, 13, 5668, 2934, 588, 9233, 4402, 823, 7675, 588, 9233, 5541, 5621, 3639, 289, 1377, 289, 565, 289, 469, 288, 1377, 3399, 9233, 5541, 273, 2110, 18, 588, 12, 20, 2934, 588, 9233, 5541, 5621, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 478, 4560, 4402, 823, 12, 921, 590, 280, 16, 6076, 982, 13, 288, 565, 3399, 691, 280, 273, 590, 280, 31, 565, 3399, 3054, 3829, 273, 982, 31, 565, 309, 261, 3208, 1318, 18, 588, 3208, 7675, 291, 2802, 4709, 2309, 1435, 747, 2332, 966, 18, 291, 10399, 13, 327, 31, 565, 1744, 12, 2938, 1769, 565, 727, 987, 32, 9233, 4402, 823, 34, 2110, 273, 18457, 1290, 2375, 12, 4811, 2375, 1769, 565, 309, 261, 3772, 18, 31806, 12, 2211, 13, 422, 374, 13, 288, 1377, 727, 16535, 9233, 1318, 3301, 273, 16535, 9233, 1318, 18, 588, 3935, 17872, 9233, 1318, 5621, 1377, 3399, 9233, 5541, 273, 3301, 18, 588, 24159, 9233, 5541, 5621, 1377, 309, 2 ]
CreateEMWindow();
CreateEMWindow(url, NewWindowListener.CHROME_ALL);
public EmbeddedMozillaImpl() { CreateEMWindow();}
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/c51f266635955ea9a40fa057209a78cf7b0fb900/EmbeddedMozillaImpl.java/buggy/java/webclient/classes_spec/org/mozilla/webclient/test/EmbeddedMozillaImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 21829, 49, 11142, 10745, 2828, 1435, 288, 225, 1788, 3375, 3829, 5621, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1071, 21829, 49, 11142, 10745, 2828, 1435, 288, 225, 1788, 3375, 3829, 5621, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
throws XOMException { ElementDef def = null; try { Object[] args = new Object[1]; args[0] = elt; def = (ElementDef)(rootConstructor.newInstance(args)); } catch (InstantiationException ex) { throw new XOMException("Unable to instantiate holder class " + rootDef.getName() + ": " + ex.getMessage()); } catch (IllegalAccessException ex) { throw new XOMException("Unable to instantiate holder class " + rootDef.getName() + ": " + ex.getMessage()); } catch (InvocationTargetException ex) { Throwable sub = ex.getTargetException(); if(sub instanceof RuntimeException) throw (RuntimeException)sub; else if(sub instanceof XOMException) throw (XOMException)sub; else throw new XOMException("Exeception occurred while " + "instantiating holder class " + rootDef.getName() + ": " + sub.toString()); } return def; }
throws XOMException { ElementDef def = null; try { Object[] args = new Object[1]; args[0] = elt; def = (ElementDef)(rootConstructor.newInstance(args)); } catch (InstantiationException ex) { throw new XOMException("Unable to instantiate holder class " + rootDef.getName() + ": " + ex.getMessage()); } catch (IllegalAccessException ex) { throw new XOMException("Unable to instantiate holder class " + rootDef.getName() + ": " + ex.getMessage()); } catch (InvocationTargetException ex) { Throwable sub = ex.getTargetException(); if(sub instanceof RuntimeException) throw (RuntimeException)sub; else if(sub instanceof XOMException) throw (XOMException)sub; else throw new XOMException("Exeception occurred while " + "instantiating holder class " + rootDef.getName() + ": " + sub.toString()); } return def; }
private ElementDef instantiate(DOMWrapper elt) throws XOMException { ElementDef def = null; try { Object[] args = new Object[1]; args[0] = elt; def = (ElementDef)(rootConstructor.newInstance(args)); } catch (InstantiationException ex) { throw new XOMException("Unable to instantiate holder class " + rootDef.getName() + ": " + ex.getMessage()); } catch (IllegalAccessException ex) { throw new XOMException("Unable to instantiate holder class " + rootDef.getName() + ": " + ex.getMessage()); } catch (InvocationTargetException ex) { Throwable sub = ex.getTargetException(); if(sub instanceof RuntimeException) throw (RuntimeException)sub; else if(sub instanceof XOMException) throw (XOMException)sub; else throw new XOMException("Exeception occurred while " + "instantiating holder class " + rootDef.getName() + ": " + sub.toString()); } return def; }
4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/b5b5168edc3af09cb74945a80b0c36e6630ed502/MetaTester.java/buggy/src/main/mondrian/xom/MetaTester.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 3010, 3262, 10275, 12, 8168, 3611, 11572, 13, 202, 202, 15069, 1139, 1872, 503, 202, 95, 202, 202, 1046, 3262, 1652, 273, 446, 31, 202, 202, 698, 288, 1082, 202, 921, 8526, 833, 273, 394, 1033, 63, 21, 15533, 1082, 202, 1968, 63, 20, 65, 273, 11572, 31, 1082, 202, 536, 273, 261, 1046, 3262, 21433, 3085, 6293, 18, 2704, 1442, 12, 1968, 10019, 202, 202, 97, 1044, 261, 10675, 7072, 503, 431, 13, 288, 1082, 202, 12849, 394, 1139, 1872, 503, 2932, 3370, 358, 10275, 10438, 667, 315, 6862, 25083, 225, 397, 1365, 3262, 18, 17994, 1435, 397, 6398, 315, 6862, 25083, 225, 397, 431, 18, 24906, 10663, 202, 202, 97, 1044, 261, 12195, 9773, 431, 13, 288, 1082, 202, 12849, 394, 1139, 1872, 503, 2932, 3370, 358, 10275, 10438, 667, 315, 6862, 25083, 225, 397, 1365, 3262, 18, 17994, 1435, 397, 6398, 315, 6862, 25083, 225, 397, 431, 18, 24906, 10663, 202, 202, 97, 1044, 261, 9267, 14950, 431, 13, 288, 1082, 202, 15155, 720, 273, 431, 18, 588, 14950, 5621, 1082, 202, 430, 12, 1717, 1276, 3235, 13, 9506, 202, 12849, 261, 11949, 13, 1717, 31, 1082, 202, 12107, 309, 12, 1717, 1276, 1139, 1872, 503, 13, 9506, 202, 12849, 261, 60, 1872, 503, 13, 1717, 31, 1082, 202, 12107, 9506, 202, 12849, 394, 1139, 1872, 503, 2932, 424, 73, 472, 7841, 1323, 315, 6862, 6862, 1082, 225, 397, 315, 24628, 22906, 10438, 667, 315, 6862, 6862, 1082, 225, 397, 1365, 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, 3010, 3262, 10275, 12, 8168, 3611, 11572, 13, 202, 202, 15069, 1139, 1872, 503, 202, 95, 202, 202, 1046, 3262, 1652, 273, 446, 31, 202, 202, 698, 288, 1082, 202, 921, 8526, 833, 273, 394, 1033, 63, 21, 15533, 1082, 202, 1968, 63, 20, 65, 273, 11572, 31, 1082, 202, 536, 273, 261, 1046, 3262, 21433, 3085, 6293, 18, 2704, 1442, 12, 1968, 10019, 202, 202, 97, 1044, 261, 10675, 7072, 503, 431, 13, 288, 1082, 202, 12849, 394, 1139, 1872, 503, 2932, 3370, 358, 10275, 10438, 667, 315, 6862, 25083, 225, 397, 1365, 3262, 18, 17994, 1435, 397, 6398, 315, 6862, 25083, 225, 397, 431, 18, 24906, 10663, 202, 202, 97, 1044, 261, 12195, 9773, 2 ]
private void setSource(VehicleCollection source) { VehicleIterator iter = source.iterator(); while(iter.hasNext()) addUnit(iter.next()); // source.addMspCollectionEventListener(this); }
49678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49678/5fda2950c143ad8d1b0e934bde42458164834421/VehicleTableModel.java/buggy/org/mars_sim/msp/ui/standard/tool/monitor/VehicleTableModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 18913, 12, 58, 73, 18870, 2532, 1084, 13, 288, 202, 202, 58, 73, 18870, 3198, 1400, 273, 1084, 18, 9838, 5621, 202, 202, 17523, 12, 2165, 18, 5332, 2134, 10756, 527, 2802, 12, 2165, 18, 4285, 10663, 202, 202, 759, 1084, 18, 1289, 49, 1752, 2532, 7375, 12, 2211, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 18913, 12, 58, 73, 18870, 2532, 1084, 13, 288, 202, 202, 58, 73, 18870, 3198, 1400, 273, 1084, 18, 9838, 5621, 202, 202, 17523, 12, 2165, 18, 5332, 2134, 10756, 527, 2802, 12, 2165, 18, 4285, 10663, 202, 202, 759, 1084, 18, 1289, 49, 1752, 2532, 7375, 12, 2211, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
assertTrue("d) Failed on tertiary difference", c.compare(o, o2) == 0);
assertEquals("d) Failed on tertiary difference", 0, c.compare(o, o2));
public void test_compareLjava_lang_ObjectLjava_lang_Object() { Collator c = Collator.getInstance(Locale.FRENCH); Object o, o2; c.setStrength(Collator.IDENTICAL); o = "E"; o2 = "F"; assertTrue("a) Failed on primary difference", c.compare(o, o2) < 0); o = "e"; o2 = "\u00e9"; assertTrue("a) Failed on secondary difference", c.compare(o, o2) < 0); o = "e"; o2 = "E"; assertTrue("a) Failed on tertiary difference", c.compare(o, o2) < 0); o = "\u0001"; o2 = "\u0002"; assertTrue("a) Failed on identical", c.compare(o, o2) < 0); o = "e"; o2 = "e"; assertTrue("a) Failed on equivalence", c.compare(o, o2) == 0); assertTrue("a) Failed on primary expansion", c.compare("\u01db", "v") < 0); c.setStrength(Collator.TERTIARY); o = "E"; o2 = "F"; assertTrue("b) Failed on primary difference", c.compare(o, o2) < 0); o = "e"; o2 = "\u00e9"; assertTrue("b) Failed on secondary difference", c.compare(o, o2) < 0); o = "e"; o2 = "E"; assertTrue("b) Failed on tertiary difference", c.compare(o, o2) < 0); o = "\u0001"; o2 = "\u0002"; assertTrue("b) Failed on identical", c.compare(o, o2) == 0); o = "e"; o2 = "e"; assertTrue("b) Failed on equivalence", c.compare(o, o2) == 0); c.setStrength(Collator.SECONDARY); o = "E"; o2 = "F"; assertTrue("c) Failed on primary difference", c.compare(o, o2) < 0); o = "e"; o2 = "\u00e9"; assertTrue("c) Failed on secondary difference", c.compare(o, o2) < 0); o = "e"; o2 = "E"; assertTrue("c) Failed on tertiary difference", c.compare(o, o2) == 0); o = "\u0001"; o2 = "\u0002"; assertTrue("c) Failed on identical", c.compare(o, o2) == 0); o = "e"; o2 = "e"; assertTrue("c) Failed on equivalence", c.compare(o, o2) == 0); c.setStrength(Collator.PRIMARY); o = "E"; o2 = "F"; assertTrue("d) Failed on primary difference", c.compare(o, o2) < 0); o = "e"; o2 = "\u00e9"; assertTrue("d) Failed on secondary difference", c.compare(o, o2) == 0); o = "e"; o2 = "E"; assertTrue("d) Failed on tertiary difference", c.compare(o, o2) == 0); o = "\u0001"; o2 = "\u0002"; assertTrue("d) Failed on identical", c.compare(o, o2) == 0); o = "e"; o2 = "e"; assertTrue("d) Failed on equivalence", c.compare(o, o2) == 0); try { c.compare("e", new StringBuffer("Blah")); } catch (ClassCastException e) { // correct return; } fail("Failed to throw ClassCastException"); }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/aa7f5ac38085143bcf2542c95a675411434e9ae6/CollatorTest.java/clean/modules/text/src/test/java/org/apache/harmony/text/tests/java/text/CollatorTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 67, 9877, 21159, 67, 4936, 67, 921, 21159, 67, 4936, 67, 921, 1435, 288, 202, 202, 13535, 639, 276, 273, 17596, 639, 18, 588, 1442, 12, 3916, 18, 42, 24296, 1792, 1769, 202, 202, 921, 320, 16, 320, 22, 31, 202, 202, 71, 18, 542, 27624, 12, 13535, 639, 18, 13355, 10109, 1769, 202, 202, 83, 273, 315, 41, 14432, 202, 202, 83, 22, 273, 315, 42, 14432, 202, 202, 11231, 5510, 2932, 69, 13, 11175, 603, 3354, 7114, 3113, 276, 18, 9877, 12, 83, 16, 320, 22, 13, 411, 374, 1769, 202, 202, 83, 273, 315, 73, 14432, 202, 202, 83, 22, 273, 1548, 89, 713, 73, 29, 14432, 202, 202, 11231, 5510, 2932, 69, 13, 11175, 603, 9946, 7114, 3113, 276, 18, 9877, 12, 83, 16, 320, 22, 13, 411, 374, 1769, 202, 202, 83, 273, 315, 73, 14432, 202, 202, 83, 22, 273, 315, 41, 14432, 202, 202, 11231, 5510, 2932, 69, 13, 11175, 603, 268, 1051, 77, 814, 7114, 3113, 276, 18, 9877, 12, 83, 16, 320, 22, 13, 411, 374, 1769, 202, 202, 83, 273, 1548, 89, 13304, 14432, 202, 202, 83, 22, 273, 1548, 89, 17954, 14432, 202, 202, 11231, 5510, 2932, 69, 13, 11175, 603, 12529, 3113, 276, 18, 9877, 12, 83, 16, 320, 22, 13, 411, 374, 1769, 202, 202, 83, 273, 315, 73, 14432, 202, 202, 83, 22, 273, 315, 73, 14432, 202, 202, 11231, 5510, 2932, 69, 13, 11175, 603, 28369, 3113, 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, 67, 9877, 21159, 67, 4936, 67, 921, 21159, 67, 4936, 67, 921, 1435, 288, 202, 202, 13535, 639, 276, 273, 17596, 639, 18, 588, 1442, 12, 3916, 18, 42, 24296, 1792, 1769, 202, 202, 921, 320, 16, 320, 22, 31, 202, 202, 71, 18, 542, 27624, 12, 13535, 639, 18, 13355, 10109, 1769, 202, 202, 83, 273, 315, 41, 14432, 202, 202, 83, 22, 273, 315, 42, 14432, 202, 202, 11231, 5510, 2932, 69, 13, 11175, 603, 3354, 7114, 3113, 276, 18, 9877, 12, 83, 16, 320, 22, 13, 411, 374, 1769, 202, 202, 83, 273, 315, 73, 14432, 202, 202, 83, 22, 273, 1548, 89, 713, 73, 29, 14432, 202, 202, 11231, 5510, 2 ]
while (! additionalPath.segments.isEmpty()) { additionalHead = (IntLine) additionalPath.segments.removeFirst();
while (i.hasNext()) { additionalHead = (IntLine) i.next();
public Point moveTailTo(TrainPath additionalPath) { IntLine additionalHead = (IntLine) additionalPath.segments.removeFirst(); IntLine tail = getLastSegment(); Point oldHeadPoint = new Point (additionalHead.x1, additionalHead.y1); if (tail.getDirection() == additionalHead.getDirection()) { tail.append(additionalHead); } else { segments.add(additionalHead); } actualLength.add(additionalHead.getLength()); /* add the rest of the path */ while (! additionalPath.segments.isEmpty()) { additionalHead = (IntLine) additionalPath.segments.removeFirst(); segments.add(additionalHead); actualLength.add(additionalHead.getLength()); } IntLine head = null; while (actualLength.getLength() > length) { head = (IntLine) segments.removeFirst(); actualLength.subtract(head.getLength()); }; if (actualLength.getLength() < length) { PathLength headLength = new PathLength(head.getLength()); headLength.setLength(length - actualLength.getLength()); head.setLengthFromTail(headLength); segments.addFirst(head); } return oldHeadPoint; }
9170 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9170/bfd6774f5be1d037bbcc2f2732e4b72ea8102291/TrainPath.java/buggy/railz/src/jfreerails/world/train/TrainPath.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4686, 3635, 12363, 774, 12, 23419, 743, 3312, 743, 13, 288, 202, 1702, 1670, 3312, 1414, 273, 261, 1702, 1670, 13, 202, 565, 3312, 743, 18, 12838, 18, 4479, 3759, 5621, 202, 1702, 1670, 5798, 273, 7595, 4131, 5621, 202, 2148, 1592, 1414, 2148, 273, 394, 4686, 261, 13996, 1414, 18, 92, 21, 16, 3312, 1414, 18, 93, 21, 1769, 202, 430, 261, 13101, 18, 588, 8212, 1435, 422, 3312, 1414, 18, 588, 8212, 10756, 288, 202, 565, 5798, 18, 6923, 12, 13996, 1414, 1769, 202, 97, 469, 288, 202, 565, 5155, 18, 1289, 12, 13996, 1414, 1769, 202, 97, 202, 18672, 1782, 18, 1289, 12, 13996, 1414, 18, 588, 1782, 10663, 202, 20308, 527, 326, 3127, 434, 326, 589, 1195, 202, 17523, 16051, 3312, 743, 18, 12838, 18, 291, 1921, 10756, 288, 202, 565, 3312, 1414, 273, 261, 1702, 1670, 13, 3312, 743, 18, 12838, 18, 4479, 3759, 5621, 202, 565, 5155, 18, 1289, 12, 13996, 1414, 1769, 202, 565, 3214, 1782, 18, 1289, 12, 13996, 1414, 18, 588, 1782, 10663, 202, 97, 202, 1702, 1670, 910, 273, 446, 31, 202, 17523, 261, 18672, 1782, 18, 588, 1782, 1435, 405, 769, 13, 288, 202, 565, 910, 273, 261, 1702, 1670, 13, 5155, 18, 4479, 3759, 5621, 202, 565, 3214, 1782, 18, 1717, 1575, 12, 1978, 18, 588, 1782, 10663, 202, 20451, 202, 430, 261, 18672, 1782, 18, 588, 1782, 1435, 411, 769, 13, 288, 202, 565, 2666, 1782, 910, 1782, 273, 394, 2666, 1782, 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, 4686, 3635, 12363, 774, 12, 23419, 743, 3312, 743, 13, 288, 202, 1702, 1670, 3312, 1414, 273, 261, 1702, 1670, 13, 202, 565, 3312, 743, 18, 12838, 18, 4479, 3759, 5621, 202, 1702, 1670, 5798, 273, 7595, 4131, 5621, 202, 2148, 1592, 1414, 2148, 273, 394, 4686, 261, 13996, 1414, 18, 92, 21, 16, 3312, 1414, 18, 93, 21, 1769, 202, 430, 261, 13101, 18, 588, 8212, 1435, 422, 3312, 1414, 18, 588, 8212, 10756, 288, 202, 565, 5798, 18, 6923, 12, 13996, 1414, 1769, 202, 97, 469, 288, 202, 565, 5155, 18, 1289, 12, 13996, 1414, 1769, 202, 97, 202, 18672, 1782, 18, 1289, 12, 13996, 1414, 18, 588, 1782, 10663, 202, 20308, 527, 326, 3127, 2 ]
return new Object[]{"UTF-8", null};
return new Object[]{"UTF-8", null, Boolean.FALSE};
private Object[] getEncodingName(byte[] b4, int count) { if (count < 2) { return new Object[]{"UTF-8", null}; } // UTF-16, with BOM int b0 = b4[0] & 0xFF; int b1 = b4[1] & 0xFF; if (b0 == 0xFE && b1 == 0xFF) { // UTF-16, big-endian return new Object [] {"UTF-16BE", new Boolean(true)}; } if (b0 == 0xFF && b1 == 0xFE) { // UTF-16, little-endian return new Object [] {"UTF-16LE", new Boolean(false)}; } // default to UTF-8 if we don't have enough bytes to make a // good determination of the encoding if (count < 3) { return new Object [] {"UTF-8", null}; } // UTF-8 with a BOM int b2 = b4[2] & 0xFF; if (b0 == 0xEF && b1 == 0xBB && b2 == 0xBF) { return new Object [] {"UTF-8", null}; } // default to UTF-8 if we don't have enough bytes to make a // good determination of the encoding if (count < 4) { return new Object [] {"UTF-8", null}; } // other encodings int b3 = b4[3] & 0xFF; if (b0 == 0x00 && b1 == 0x00 && b2 == 0x00 && b3 == 0x3C) { // UCS-4, big endian (1234) return new Object [] {"ISO-10646-UCS-4", new Boolean(true)}; } if (b0 == 0x3C && b1 == 0x00 && b2 == 0x00 && b3 == 0x00) { // UCS-4, little endian (4321) return new Object [] {"ISO-10646-UCS-4", new Boolean(false)}; } if (b0 == 0x00 && b1 == 0x00 && b2 == 0x3C && b3 == 0x00) { // UCS-4, unusual octet order (2143) // REVISIT: What should this be? return new Object [] {"ISO-10646-UCS-4", null}; } if (b0 == 0x00 && b1 == 0x3C && b2 == 0x00 && b3 == 0x00) { // UCS-4, unusual octect order (3412) // REVISIT: What should this be? return new Object [] {"ISO-10646-UCS-4", null}; } if (b0 == 0x00 && b1 == 0x3C && b2 == 0x00 && b3 == 0x3F) { // UTF-16, big-endian, no BOM // (or could turn out to be UCS-2... // REVISIT: What should this be? return new Object [] {"UTF-16BE", new Boolean(true)}; } if (b0 == 0x3C && b1 == 0x00 && b2 == 0x3F && b3 == 0x00) { // UTF-16, little-endian, no BOM // (or could turn out to be UCS-2... return new Object [] {"UTF-16LE", new Boolean(false)}; } if (b0 == 0x4C && b1 == 0x6F && b2 == 0xA7 && b3 == 0x94) { // EBCDIC // a la xerces1, return CP037 instead of EBCDIC here return new Object [] {"CP037", null}; } // default encoding return new Object [] {"UTF-8", null}; }
26330 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/26330/7e55d59e7a32637ca63b2cec65835a56dd760a98/XMLEncodingDetector.java/buggy/java/org/apache/jasper/xmlparser/XMLEncodingDetector.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 8526, 29505, 461, 12, 7229, 8526, 324, 24, 16, 509, 1056, 13, 288, 3639, 309, 261, 1883, 411, 576, 13, 288, 5411, 327, 394, 1033, 63, 7073, 6, 5159, 17, 28, 3113, 446, 16, 3411, 18, 21053, 20451, 3639, 289, 3639, 368, 6380, 17, 2313, 16, 598, 25408, 3639, 509, 324, 20, 273, 324, 24, 63, 20, 65, 473, 374, 6356, 31, 3639, 509, 324, 21, 273, 324, 24, 63, 21, 65, 473, 374, 6356, 31, 3639, 309, 261, 70, 20, 422, 374, 92, 8090, 597, 324, 21, 422, 374, 6356, 13, 288, 5411, 368, 6380, 17, 2313, 16, 5446, 17, 22910, 5411, 327, 394, 1033, 5378, 12528, 5159, 17, 2313, 5948, 3113, 394, 3411, 12, 3767, 16869, 31, 3639, 289, 3639, 309, 261, 70, 20, 422, 374, 6356, 597, 324, 21, 422, 374, 92, 8090, 13, 288, 5411, 368, 6380, 17, 2313, 16, 12720, 17, 22910, 5411, 327, 394, 1033, 5378, 12528, 5159, 17, 2313, 900, 3113, 394, 3411, 12, 5743, 16869, 31, 3639, 289, 3639, 368, 805, 358, 6380, 17, 28, 309, 732, 2727, 1404, 1240, 7304, 1731, 358, 1221, 279, 3639, 368, 7494, 6328, 367, 434, 326, 2688, 3639, 309, 261, 1883, 411, 890, 13, 288, 5411, 327, 394, 1033, 5378, 12528, 5159, 17, 28, 3113, 446, 20451, 3639, 289, 3639, 368, 6380, 17, 28, 598, 279, 25408, 3639, 509, 324, 22, 273, 324, 24, 63, 22, 65, 473, 374, 6356, 31, 3639, 309, 261, 70, 20, 422, 374, 17432, 42, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 8526, 29505, 461, 12, 7229, 8526, 324, 24, 16, 509, 1056, 13, 288, 3639, 309, 261, 1883, 411, 576, 13, 288, 5411, 327, 394, 1033, 63, 7073, 6, 5159, 17, 28, 3113, 446, 16, 3411, 18, 21053, 20451, 3639, 289, 3639, 368, 6380, 17, 2313, 16, 598, 25408, 3639, 509, 324, 20, 273, 324, 24, 63, 20, 65, 473, 374, 6356, 31, 3639, 509, 324, 21, 273, 324, 24, 63, 21, 65, 473, 374, 6356, 31, 3639, 309, 261, 70, 20, 422, 374, 92, 8090, 597, 324, 21, 422, 374, 6356, 13, 288, 5411, 368, 6380, 17, 2313, 16, 5446, 17, 22910, 5411, 327, 394, 1033, 5378, 12528, 5159, 17, 2313, 5948, 3113, 394, 3411, 12, 2 ]
else
else
public final SelectionKey register (Selector selin, int ops, Object att) throws ClosedChannelException { if (!isOpen ()) throw new ClosedChannelException(); SelectionKey k = null; AbstractSelector selector = (AbstractSelector) selin; synchronized (LOCK) { k = locate (selector); if (k != null) { k.attach (att); } else { k = selector.register (this, ops, att); if (k != null) add (k); } } return k; }
27835 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27835/f851ffbfdbf05aefe9acc61f2645a3318e3c201c/AbstractSelectableChannel.java/clean/libjava/java/nio/channels/spi/AbstractSelectableChannel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 12977, 653, 1744, 261, 4320, 357, 267, 16, 509, 6727, 16, 1033, 2403, 13, 565, 1216, 25582, 2909, 503, 225, 288, 565, 309, 16051, 291, 3678, 1832, 13, 1377, 604, 394, 25582, 2909, 503, 5621, 565, 12977, 653, 417, 273, 446, 31, 565, 4115, 4320, 3451, 273, 261, 7469, 4320, 13, 357, 267, 31, 565, 3852, 261, 6589, 13, 1377, 288, 377, 202, 79, 273, 10627, 261, 9663, 1769, 377, 202, 430, 261, 79, 480, 446, 13, 1850, 288, 5411, 417, 18, 7331, 261, 4558, 1769, 1850, 289, 377, 202, 12107, 1850, 288, 5411, 417, 273, 3451, 18, 4861, 261, 2211, 16, 6727, 16, 2403, 1769, 377, 1082, 5411, 309, 261, 79, 480, 446, 13, 2868, 527, 261, 79, 1769, 377, 202, 225, 289, 1377, 289, 565, 327, 417, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 12977, 653, 1744, 261, 4320, 357, 267, 16, 509, 6727, 16, 1033, 2403, 13, 565, 1216, 25582, 2909, 503, 225, 288, 565, 309, 16051, 291, 3678, 1832, 13, 1377, 604, 394, 25582, 2909, 503, 5621, 565, 12977, 653, 417, 273, 446, 31, 565, 4115, 4320, 3451, 273, 261, 7469, 4320, 13, 357, 267, 31, 565, 3852, 261, 6589, 13, 1377, 288, 377, 202, 79, 273, 10627, 261, 9663, 1769, 377, 202, 430, 261, 79, 480, 446, 13, 1850, 288, 5411, 417, 18, 7331, 261, 4558, 1769, 1850, 289, 377, 202, 12107, 1850, 288, 5411, 417, 273, 3451, 18, 4861, 261, 2211, 16, 6727, 16, 2403, 1769, 377, 1082, 5411, 309, 261, 79, 480, 446, 13, 2868, 2 ]
int bufferSize) throws IOException { super(new Buffer(new PositionCache(new Summer(fs, file, overwrite, conf)), bufferSize));
int bufferSize, short replication ) throws IOException { super(new Buffer( new PositionCache( new Summer(fs, file, overwrite, replication, conf)), bufferSize));
public FSDataOutputStream(FileSystem fs, File file, boolean overwrite, Configuration conf, int bufferSize) throws IOException { super(new Buffer(new PositionCache(new Summer(fs, file, overwrite, conf)), bufferSize)); }
49935 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49935/ba0ca973d8fbf49c1b7c2d29e7763226576364e8/FSDataOutputStream.java/clean/src/java/org/apache/hadoop/fs/FSDataOutputStream.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 9247, 751, 4632, 12, 11785, 2662, 16, 1387, 585, 16, 18701, 1250, 6156, 16, 4659, 2195, 16, 18701, 509, 16939, 13, 565, 1216, 1860, 288, 565, 2240, 12, 2704, 3525, 12, 2704, 11010, 1649, 12, 2704, 9352, 6592, 12, 2556, 16, 585, 16, 6156, 16, 2195, 13, 3631, 5397, 16939, 10019, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 9247, 751, 4632, 12, 11785, 2662, 16, 1387, 585, 16, 18701, 1250, 6156, 16, 4659, 2195, 16, 18701, 509, 16939, 13, 565, 1216, 1860, 288, 565, 2240, 12, 2704, 3525, 12, 2704, 11010, 1649, 12, 2704, 9352, 6592, 12, 2556, 16, 585, 16, 6156, 16, 2195, 13, 3631, 5397, 16939, 10019, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (this.rights.getEditGroup() != null) {
if (this.plantloreUser.getRight().getEditAll() == 1) { equal = true; } if (this.rights.getEditGroup() != null) {
private void checkRights(Object data, int type) throws DBLayerException { DBLayerException ex; Session sess; // Check rights for table TAUTHORS if (data instanceof Author) { if ((type == DELETE) || (type == UPDATE)) { // Only data of the user and those listed in CEDITGROUP sess = this.sessionFactory.openSession(); ScrollableResults sc = sess.createCriteria(Author.class) .add(Restrictions.eq(Author.ID, ((Author)data).getId())) .scroll(); // If we haven't found the author in the database, raise exception if (!sc.next()) { logger.error("To-be-updated/deleted author not found in the database. Author ID:"+((Author)data).getId()); ex = new DBLayerException("To-be-updated/deleted author not found in the database. Author ID:"+((Author)data).getId()); ex.setError(ex.ERROR_OTHER, null); sess.close(); throw ex; } Object[] res = sc.get(); Author aut = (Author)res[0]; boolean equal = false; // Close the session sess.close(); // Check for administrator rights if (this.plantloreUser.getRight().getAdministrator() == 1) { equal = true; } // Check for direct ownership first. We have to compare IDs since equals doesn't work // for User object if (aut.getCreatedWho().getId().equals(this.plantloreUser.getId())) { equal = true; } // Then check for indirect (group) ownership if (this.rights.getEditGroup() != null) { String[] group = this.rights.getEditGroup().split(","); String strId = aut.getCreatedWho().getId().toString(); for (int i=0;i<group.length;i++) { if (strId.equals(group[i])) { equal = true; break; } } } if (equal == false) { logger.warn("User doesn't have sufficient rights for this operation. Entity: "+PlantloreConstants.ENTITY_AUTHOR); ex = new DBLayerException("User doesn't have sufficient rights for this operation. Entity: "+PlantloreConstants.ENTITY_AUTHOR); ex.setError(ex.ERROR_RIGHTS, PlantloreConstants.ENTITY_AUTHOR); throw ex; } } if (type == INSERT) { // Insert only if CADD = 1 if (this.rights.getAdd() == 0) { logger.warn("User doesn't have sufficient rights for this operation. Entity: "+PlantloreConstants.ENTITY_AUTHOR); ex = new DBLayerException("User doesn't have sufficient rights for this operation. Entity: "+PlantloreConstants.ENTITY_AUTHOR); ex.setError(ex.ERROR_RIGHTS, PlantloreConstants.ENTITY_AUTHOR); throw ex; } } } // Check rights for table TUSER if (data instanceof User) { // Only admin can insert/update/delete from this table if (this.rights.getAdministrator() != 1) { logger.warn("User doesn't have sufficient rights for this operation. Entity: "+PlantloreConstants.ENTITY_USER); ex = new DBLayerException("User doesn't have sufficient rights for this operation. Entity: "+PlantloreConstants.ENTITY_USER); ex.setError(ex.ERROR_RIGHTS, PlantloreConstants.ENTITY_USER); throw ex; } // User can edit his own data except for login name } // Check rights for table TRIGHT, TPHYTOCHORIA, TVILLAGES, TTERRITORIES, TPLANTS, TMETADATA if ((data instanceof Right) || (data instanceof Phytochorion) || (data instanceof Village) || (data instanceof Territory) || (data instanceof Plant) || (data instanceof Metadata)) { String entity = ""; if (data instanceof Right) { entity = PlantloreConstants.ENTITY_RIGHT; } if (data instanceof Phytochorion) { entity = PlantloreConstants.ENTITY_PHYTOCHORION; } if (data instanceof Village) { entity = PlantloreConstants.ENTITY_VILLAGE; } if (data instanceof Territory) { entity = PlantloreConstants.ENTITY_TERRITORY; } if (data instanceof Plant) { entity = PlantloreConstants.ENTITY_PLANT; } if (data instanceof Metadata) { entity = PlantloreConstants.ENTITY_METADATA; } // Only admin can insert/update/delete from this table if (this.rights.getAdministrator() != 1) { logger.warn("User doesn't have sufficient rights for this operation. Entity: "+entity); ex = new DBLayerException("User doesn't have sufficient rights for this operation. Entity: "+entity); ex.setError(ex.ERROR_RIGHTS, entity); throw ex; } } // Check rights for table THISTORYCOLUMN if (data instanceof HistoryColumn) { logger.warn("User doesn't have sufficient rights for this operation. Entity: "+PlantloreConstants.ENTITY_HISTORYCOLUMN); ex = new DBLayerException("User doesn't have sufficient rights for this operation. Entity: "+PlantloreConstants.ENTITY_HISTORYCOLUMN); ex.setError(ex.ERROR_RIGHTS, PlantloreConstants.ENTITY_HISTORYCOLUMN); throw ex; } // Check rights for table THISTORY and THISTORYCHANGE if ((data instanceof HistoryChange) || (data instanceof HistoryRecord)) { if ((type == INSERT) || (type == UPDATE)) { String entity = ""; if (data instanceof HistoryChange) { entity = PlantloreConstants.ENTITY_HISTORYCHANGE; } if (data instanceof HistoryRecord) { entity = PlantloreConstants.ENTITY_HISTORYRECORD; } logger.warn("User doesn't have sufficient rights for this operation. Entity: "+entity); ex = new DBLayerException("User doesn't have sufficient rights for this operation. Entity: "+entity); ex.setError(ex.ERROR_RIGHTS, entity); throw ex; } else if (type == DELETE) { // Tu to bude zlozitejsie... // TODO } } // Check rights for table TPUBLICATIONS if (data instanceof Publication) { if ((type == DELETE) || (type == UPDATE)) { // Only data of the user and those listed in CEDITGROUP sess = this.sessionFactory.openSession(); ScrollableResults sc = sess.createCriteria(Publication.class) .add(Restrictions.eq(Publication.ID, ((Publication)data).getId())) .scroll(); // If we haven't found the publication in the database, raise exception if (!sc.next()) { logger.error("To-be-updated/deleted publication not found in the database. Publication ID:"+((Publication)data).getId()); ex = new DBLayerException("To-be-updated/deleted publication not found in the database. Publication ID:"+((Publication)data).getId()); ex.setError(ex.ERROR_OTHER, null); sess.close(); throw ex; } Object[] res = sc.get(); Publication pub = (Publication)res[0]; boolean equal = false; sess.close(); // Check for direct ownership first if (pub.getCreatedWho().getId().equals(this.plantloreUser.getId())) { equal = true; } // Check for administrator rights if (this.plantloreUser.getRight().getAdministrator() == 1) { equal = true; } // Then check for indirect (group) ownership if (this.rights.getEditGroup() != null) { String[] group = this.rights.getEditGroup().split(","); String strId = pub.getCreatedWho().getId().toString(); for (int i=0;i<group.length;i++) { if (strId.equals(group[i])) { equal = true; break; } } } if (equal == false) { logger.warn("User doesn't have sufficient rights for this operation. Entity: "+PlantloreConstants.ENTITY_PUBLICATION); ex = new DBLayerException("User doesn't have sufficient rights for this operation. Entity: "+PlantloreConstants.ENTITY_PUBLICATION); ex.setError(ex.ERROR_RIGHTS, PlantloreConstants.ENTITY_PUBLICATION); throw ex; } } if (type == INSERT) { // Only if CADD = 1 if (this.rights.getAdd() == 0) { logger.warn("User doesn't have sufficient rights for this operation. Entity: "+PlantloreConstants.ENTITY_PUBLICATION); ex = new DBLayerException("User doesn't have sufficient rights for this operation. Entity: "+PlantloreConstants.ENTITY_PUBLICATION); ex.setError(ex.ERROR_RIGHTS, PlantloreConstants.ENTITY_PUBLICATION); throw ex; } } } // Check rights for table TOCCURRENCES if (data instanceof Occurrence) { if ((type == DELETE) || (type == UPDATE)) { // Only data of the user and those listed in CEDITGROUP sess = this.sessionFactory.openSession(); ScrollableResults sc = sess.createCriteria(Occurrence.class) .add(Restrictions.eq(Occurrence.ID, ((Occurrence)data).getId())) .scroll(); // If we haven't found the occurrence in the database, raise exception if (!sc.next()) { logger.error("To-be-updated/deleted occurrence not found in the database. Occurrence ID:"+((Publication)data).getId()); ex = new DBLayerException("To-be-updated/deleted occurrence not found in the database. Occurrence ID:"+((Publication)data).getId()); ex.setError(ex.ERROR_OTHER, null); sess.close(); throw ex; } Object[] res = sc.get(); Occurrence occ = (Occurrence)res[0]; boolean equal = false; sess.close(); // Check for direct ownership first if (occ.getCreatedWho().getId().equals(this.plantloreUser.getId())) { equal = true; } // Check for administrator rights if (this.plantloreUser.getRight().getAdministrator() == 1) { equal = true; } // Then check for indirect (group) ownership if (this.rights.getEditGroup() != null) { String[] group = this.rights.getEditGroup().split(","); String strId = occ.getCreatedWho().getId().toString(); for (int i=0;i<group.length;i++) { if (strId.equals(group[i])) { equal = true; break; } } } if (equal == false) { logger.warn("User doesn't have sufficient rights for this operation. Entity: "+PlantloreConstants.ENTITY_OCCURRENCE); ex = new DBLayerException("User doesn't have sufficient rights for this operation. Entity: "+PlantloreConstants.ENTITY_OCCURRENCE); ex.setError(ex.ERROR_RIGHTS, PlantloreConstants.ENTITY_OCCURRENCE); throw ex; } } if (type == INSERT) { // Insert only if CADD = 1 if (this.rights.getAdd() == 0) { logger.warn("User doesn't have sufficient rights for this operation. Entity: "+PlantloreConstants.ENTITY_OCCURRENCE); ex = new DBLayerException("User doesn't have sufficient rights for this operation. Entity: "+PlantloreConstants.ENTITY_OCCURRENCE); ex.setError(ex.ERROR_RIGHTS, PlantloreConstants.ENTITY_OCCURRENCE); throw ex; } } } // Check rights for table THABITATS if (data instanceof Habitat) { if ((type == DELETE) || (type == UPDATE)) { // Only data of the user and those listed in CEDITGROUP sess = this.sessionFactory.openSession(); ScrollableResults sc = sess.createCriteria(Habitat.class) .add(Restrictions.eq(Habitat.ID, ((Habitat)data).getId())) .scroll(); // If we haven't found the habitat in the database, raise exception if (!sc.next()) { logger.error("To-be-updated/deleted habitat not found in the database. Occurrence ID:"+((Habitat)data).getId()); ex = new DBLayerException("To-be-updated/deleted habitat not found in the database. Occurrence ID:"+((Habitat)data).getId()); ex.setError(ex.ERROR_OTHER, null); sess.close(); throw ex; } Object[] res = sc.get(); Habitat hab = (Habitat)res[0]; sess.close(); sess = this.sessionFactory.openSession(); boolean equal = false; // Check for direct ownership first. Find owner of associated occurrence sc = sess.createCriteria(Occurrence.class) .add(Restrictions.eq(Occurrence.HABITAT, hab)) .scroll(); // If no occurrence was found if (!sc.next()) { logger.error("No occurrence references selected habitat. Habitat ID:"+hab.getId()); ex = new DBLayerException("No occurrence references selected habitat. Habitat ID:"+hab.getId()); ex.setError(ex.ERROR_DB, null); sess.close(); throw ex; } res = sc.get(); Occurrence occ = (Occurrence)res[0]; sess.close(); if (occ.getCreatedWho().getId().equals(this.plantloreUser.getId())) { equal = true; } // Check for administrator rights // TODO: This should be done at the beginning to save one query if the user is admin if (this.plantloreUser.getRight().getAdministrator() == 1) { equal = true; } // Then check for indirect (group) ownership if (this.rights.getEditGroup() != null) { String[] group = this.rights.getEditGroup().split(","); String strId = occ.getCreatedWho().getId().toString(); for (int i=0;i<group.length;i++) { if (strId.equals(group[i])) { equal = true; break; } } } if (equal == false) { logger.warn("User doesn't have sufficient rights for this operation. Entity: "+PlantloreConstants.ENTITY_HABITAT); ex = new DBLayerException("User doesn't have sufficient rights for this operation. Entity: "+PlantloreConstants.ENTITY_HABITAT); ex.setError(ex.ERROR_RIGHTS, PlantloreConstants.ENTITY_HABITAT); throw ex; } } if (type == INSERT) { // Insert only if CADD = 1 if (this.rights.getAdd() == 0) { logger.warn("User doesn't have sufficient rights for this operation. Entity: "+PlantloreConstants.ENTITY_HABITAT); ex = new DBLayerException("User doesn't have sufficient rights for this operation. Entity: "+PlantloreConstants.ENTITY_HABITAT); ex.setError(ex.ERROR_RIGHTS, PlantloreConstants.ENTITY_HABITAT); throw ex; } } } // Check rights for table TAUTHORSOCCURRENCES if (data instanceof AuthorOccurrence) { if ((type == DELETE) || (type == UPDATE)) { // Only data of the user and those listed in CEDITGROUP sess = this.sessionFactory.openSession(); ScrollableResults sc = sess.createCriteria(AuthorOccurrence.class) .add(Restrictions.eq(AuthorOccurrence.ID, ((AuthorOccurrence)data).getId())) .scroll(); // If we haven't found the occurrence in the database, raise exception if (!sc.next()) { logger.error("To-be-updated/deleted authoroccurrence not found in the database. Occurrence ID:"+((AuthorOccurrence)data).getId()); ex = new DBLayerException("To-be-updated/deleted authoroccurrence not found in the database. Occurrence ID:"+((AuthorOccurrence)data).getId()); ex.setError(ex.ERROR_OTHER, null); sess.close(); throw ex; } Object[] res = sc.get(); AuthorOccurrence ao = (AuthorOccurrence)res[0]; boolean equal = false; sess.close(); // Check for direct ownership first if (ao.getOccurrence().getCreatedWho().getId().equals(this.plantloreUser.getId())) { equal = true; } // Check for administrator rights // TODO: This should be done at the beginning to save one query if (this.plantloreUser.getRight().getAdministrator() == 1) { equal = true; } // Then check for indirect (group) ownership if (this.rights.getEditGroup() != null) { String[] group = this.rights.getEditGroup().split(","); String strId = ao.getOccurrence().getCreatedWho().getId().toString(); for (int i=0;i<group.length;i++) { if (strId.equals(group[i])) { equal = true; break; } } } if (equal == false) { logger.warn("User doesn't have sufficient rights for this operation. Entity: "+PlantloreConstants.ENTITY_AUTHOROCCURRENCE); ex = new DBLayerException("User doesn't have sufficient rights for this operation. Entity: "+PlantloreConstants.ENTITY_AUTHOROCCURRENCE); ex.setError(ex.ERROR_RIGHTS, PlantloreConstants.ENTITY_AUTHOROCCURRENCE); throw ex; } } if (type == INSERT) { // Insert only if CADD = 1 if (this.rights.getAdd() == 0) { logger.warn("User doesn't have sufficient rights for this operation. Entity: "+PlantloreConstants.ENTITY_AUTHOROCCURRENCE); ex = new DBLayerException("User doesn't have sufficient rights for this operation. Entity: "+PlantloreConstants.ENTITY_AUTHOROCCURRENCE); ex.setError(ex.ERROR_RIGHTS, PlantloreConstants.ENTITY_AUTHOROCCURRENCE); throw ex; } } } }
57211 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57211/768f7952f9f656f5d41a6d51bcc974d36a0559b2/HibernateDBLayer.java/buggy/trunk/src/net/sf/plantlore/server/HibernateDBLayer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 866, 18464, 12, 921, 501, 16, 509, 618, 13, 1216, 2383, 4576, 503, 288, 3639, 2383, 4576, 503, 431, 31, 3639, 3877, 8451, 31, 7734, 368, 2073, 14989, 364, 1014, 399, 7131, 14006, 3639, 309, 261, 892, 1276, 6712, 13, 288, 5411, 309, 14015, 723, 422, 8568, 13, 747, 261, 723, 422, 11028, 3719, 288, 7734, 368, 5098, 501, 434, 326, 729, 471, 5348, 12889, 316, 385, 10776, 8468, 7734, 8451, 273, 333, 18, 3184, 1733, 18, 3190, 2157, 5621, 7734, 23134, 429, 3447, 888, 273, 8451, 18, 2640, 7231, 12, 3594, 18, 1106, 13, 10792, 263, 1289, 12, 26175, 18, 11253, 12, 3594, 18, 734, 16, 14015, 3594, 13, 892, 2934, 26321, 1435, 3719, 10792, 263, 12033, 5621, 7734, 368, 971, 732, 15032, 1404, 1392, 326, 2869, 316, 326, 2063, 16, 1002, 1520, 7734, 309, 16051, 1017, 18, 4285, 10756, 288, 10792, 1194, 18, 1636, 2932, 774, 17, 2196, 17, 7007, 19, 8600, 2869, 486, 1392, 316, 326, 2063, 18, 6712, 1599, 2773, 15, 12443, 3594, 13, 892, 2934, 26321, 10663, 10792, 431, 273, 394, 2383, 4576, 503, 2932, 774, 17, 2196, 17, 7007, 19, 8600, 2869, 486, 1392, 316, 326, 2063, 18, 6712, 1599, 2773, 15, 12443, 3594, 13, 892, 2934, 26321, 10663, 10792, 431, 18, 542, 668, 12, 338, 18, 3589, 67, 23940, 16, 446, 1769, 10792, 8451, 18, 4412, 5621, 10792, 604, 431, 31, 4766, 13491, 289, 7734, 1033, 8526, 400, 273, 888, 18, 588, 5621, 7734, 6712, 2059, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 866, 18464, 12, 921, 501, 16, 509, 618, 13, 1216, 2383, 4576, 503, 288, 3639, 2383, 4576, 503, 431, 31, 3639, 3877, 8451, 31, 7734, 368, 2073, 14989, 364, 1014, 399, 7131, 14006, 3639, 309, 261, 892, 1276, 6712, 13, 288, 5411, 309, 14015, 723, 422, 8568, 13, 747, 261, 723, 422, 11028, 3719, 288, 7734, 368, 5098, 501, 434, 326, 729, 471, 5348, 12889, 316, 385, 10776, 8468, 7734, 8451, 273, 333, 18, 3184, 1733, 18, 3190, 2157, 5621, 7734, 23134, 429, 3447, 888, 273, 8451, 18, 2640, 7231, 12, 3594, 18, 1106, 13, 10792, 263, 1289, 12, 26175, 18, 11253, 12, 3594, 18, 734, 16, 14015, 3594, 13, 892, 2934, 26321, 1435, 3719, 10792, 2 ]
i < parser.getNamespaceCount (parser.getDepth ())-1; i++) {
i <= parser.getNamespaceCount (parser.getDepth ())-1; i++) {
public void writeStartTag () throws XmlPullParserException, IOException { //check forcase when feature xml roundtrip is supported //if (parser.getFeature (FEATURE_XML_ROUNDTRIP)) { //TODO: how to do pass through string with actual start tag in getText() //return; //} if (!parser.getFeature (XmlPullParser.FEATURE_REPORT_NAMESPACE_ATTRIBUTES)) { for (int i = parser.getNamespaceCount (parser.getDepth ()-1); i < parser.getNamespaceCount (parser.getDepth ())-1; i++) { serializer.setPrefix (parser.getNamespacePrefix (i), parser.getNamespaceUri (i)); } } serializer.startTag(parser.getNamespace (), parser.getName ()); for (int i = 0; i < parser.getAttributeCount (); i++) { serializer.attribute (parser.getAttributeNamespace (i), parser.getAttributeName (i), parser.getAttributeValue (i)); } //serializer.closeStartTag(); }
3949 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3949/01ca7d4eb52ddd064614b58fc473f9ea1346001b/Roundtrip.java/buggy/src/java/samples/Roundtrip.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 24961, 1805, 1832, 1216, 5714, 9629, 25746, 16, 1860, 288, 3639, 368, 1893, 364, 3593, 1347, 2572, 2025, 3643, 25125, 353, 3260, 3639, 368, 430, 261, 4288, 18, 588, 4595, 261, 18257, 67, 4201, 67, 15092, 6566, 52, 3719, 288, 3639, 368, 6241, 30, 3661, 358, 741, 1342, 3059, 533, 598, 3214, 787, 1047, 316, 6701, 1435, 3639, 368, 2463, 31, 3639, 19363, 3639, 309, 16051, 4288, 18, 588, 4595, 261, 4432, 9629, 2678, 18, 18257, 67, 22710, 67, 11368, 67, 22308, 3719, 288, 5411, 364, 261, 474, 277, 273, 2082, 18, 588, 3402, 1380, 261, 4288, 18, 588, 6148, 1832, 17, 21, 1769, 1171, 277, 1648, 2082, 18, 588, 3402, 1380, 261, 4288, 18, 588, 6148, 1832, 24950, 21, 31, 277, 27245, 288, 7734, 6340, 18, 542, 2244, 10792, 261, 4288, 18, 588, 3402, 2244, 261, 77, 3631, 5397, 2082, 18, 588, 3402, 3006, 261, 77, 10019, 5411, 289, 3639, 289, 3639, 6340, 18, 1937, 1805, 12, 4288, 18, 588, 3402, 1832, 16, 2082, 18, 17994, 1832, 1769, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2082, 18, 588, 1499, 1380, 261, 1769, 277, 27245, 288, 5411, 6340, 18, 4589, 7734, 261, 4288, 18, 588, 1499, 3402, 261, 77, 3631, 1171, 2082, 18, 588, 19240, 261, 77, 3631, 1171, 2082, 18, 588, 14942, 261, 77, 10019, 3639, 289, 3639, 368, 15663, 18, 4412, 30512, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24961, 1805, 1832, 1216, 5714, 9629, 25746, 16, 1860, 288, 3639, 368, 1893, 364, 3593, 1347, 2572, 2025, 3643, 25125, 353, 3260, 3639, 368, 430, 261, 4288, 18, 588, 4595, 261, 18257, 67, 4201, 67, 15092, 6566, 52, 3719, 288, 3639, 368, 6241, 30, 3661, 358, 741, 1342, 3059, 533, 598, 3214, 787, 1047, 316, 6701, 1435, 3639, 368, 2463, 31, 3639, 19363, 3639, 309, 16051, 4288, 18, 588, 4595, 261, 4432, 9629, 2678, 18, 18257, 67, 22710, 67, 11368, 67, 22308, 3719, 288, 5411, 364, 261, 474, 277, 273, 2082, 18, 588, 3402, 1380, 261, 4288, 18, 588, 6148, 1832, 17, 21, 1769, 1171, 277, 1648, 2082, 18, 588, 3402, 1380, 261, 4288, 18, 588, 2 ]
if (children.length == 0) {
if(children.length == 0){
private void replaceIteratorNext(PsiElement element, String contentVariableName, String iteratorName, PsiElement childToSkip, StringBuffer out) { if (isIteratorNext(element, iteratorName)) { out.append(contentVariableName); } else { final PsiElement[] children = element.getChildren(); if (children.length == 0) { out.append(element.getText()); } else { boolean skippingWhiteSpace = false; for (int i = 0; i < children.length; i++) { final PsiElement child = children[i]; if (child.equals(childToSkip)) { skippingWhiteSpace = true; } else if (child instanceof PsiWhiteSpace && skippingWhiteSpace) { //don't do anything } else { skippingWhiteSpace = false; replaceIteratorNext(child, contentVariableName, iteratorName, childToSkip, out); } } } } }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/dba8b183fc1b08e7ad664812bfc0c64d1e4abd3c/ForCanBeForeachInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/verbose/ForCanBeForeachInspection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 918, 1453, 3198, 2134, 12, 52, 7722, 1046, 930, 16, 514, 913, 21519, 16, 514, 2775, 461, 16, 29159, 453, 7722, 1046, 1151, 774, 6368, 16, 6674, 596, 13, 288, 5411, 309, 261, 291, 3198, 2134, 12, 2956, 16, 2775, 461, 3719, 288, 7734, 596, 18, 6923, 12, 1745, 21519, 1769, 5411, 289, 469, 288, 7734, 727, 453, 7722, 1046, 8526, 2325, 273, 930, 18, 588, 4212, 5621, 7734, 309, 12, 5906, 18, 2469, 422, 374, 15329, 10792, 596, 18, 6923, 12, 2956, 18, 588, 1528, 10663, 7734, 289, 469, 288, 10792, 1250, 14195, 23108, 273, 629, 31, 10792, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2325, 18, 2469, 31, 277, 27245, 288, 13491, 727, 453, 7722, 1046, 1151, 273, 2325, 63, 77, 15533, 13491, 309, 261, 3624, 18, 14963, 12, 3624, 774, 6368, 3719, 288, 18701, 14195, 23108, 273, 638, 31, 13491, 289, 469, 309, 261, 3624, 1276, 453, 7722, 23108, 597, 27573, 14195, 23108, 13, 288, 18701, 368, 19752, 1404, 741, 6967, 13491, 289, 469, 288, 18701, 14195, 23108, 273, 629, 31, 18701, 1453, 3198, 2134, 12, 3624, 16, 913, 21519, 16, 4766, 565, 2775, 461, 16, 4766, 565, 1151, 774, 6368, 16, 596, 1769, 13491, 289, 10792, 289, 7734, 289, 5411, 289, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 918, 1453, 3198, 2134, 12, 52, 7722, 1046, 930, 16, 514, 913, 21519, 16, 514, 2775, 461, 16, 29159, 453, 7722, 1046, 1151, 774, 6368, 16, 6674, 596, 13, 288, 5411, 309, 261, 291, 3198, 2134, 12, 2956, 16, 2775, 461, 3719, 288, 7734, 596, 18, 6923, 12, 1745, 21519, 1769, 5411, 289, 469, 288, 7734, 727, 453, 7722, 1046, 8526, 2325, 273, 930, 18, 588, 4212, 5621, 7734, 309, 12, 5906, 18, 2469, 422, 374, 15329, 10792, 596, 18, 6923, 12, 2956, 18, 588, 1528, 10663, 7734, 289, 469, 288, 10792, 1250, 14195, 23108, 273, 629, 31, 10792, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2325, 18, 2469, 31, 277, 27245, 288, 13491, 727, 2 ]
public void setActionCommand(String s) { com = s; }
public void setActionCommand(String s) { if (actionCommand != s) { actionCommand = s; fireStateChanged(changeEvent); } }
public void setActionCommand(String s) { com = s; }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/2703ae3b51c371a2a79d28271cd57b4046c647d0/DefaultButtonModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultButtonModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 22517, 2189, 12, 780, 272, 13, 288, 202, 202, 832, 273, 272, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 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, 225, 202, 482, 918, 22517, 2189, 12, 780, 272, 13, 288, 202, 202, 832, 273, 272, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
closeULTag(buffer);
closeULTag(buffer);
private void getUnitsList(Unit parentUnit, StringBuilder buffer) { openLITag(buffer); if (parentUnit.hasAnySubUnits()) { putImage(parentUnit, buffer); } buffer.append("<a href=\"").append(getContextPath()).append( "/departmentAdmOffice/functionsManagement/chooseFunction.faces?personID=").append( personID).append("&unitID=").append(parentUnit.getIdInternal()).append("\">").append( parentUnit.getName()).append("</a>").append("</li>"); if (parentUnit.hasAnySubUnits()) { openULTag(parentUnit, buffer); } for (Unit subUnit : parentUnit.getSubUnits()) { if (subUnit.isActive(Calendar.getInstance().getTime())) { getUnitsList(subUnit, buffer); } } if (parentUnit.hasAnySubUnits()) { closeULTag(buffer); } }
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/e17bdd6146311612f2d913a22731a9cc3ffc4548/FunctionsManagementBackingBean.java/clean/src/net/sourceforge/fenixedu/presentationTier/backBeans/departmentAdmOffice/FunctionsManagementBackingBean.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 336, 7537, 682, 12, 2802, 982, 2802, 16, 3225, 1613, 13, 288, 3639, 1696, 15716, 346, 12, 4106, 1769, 3639, 309, 261, 2938, 2802, 18, 5332, 2961, 1676, 7537, 10756, 288, 5411, 1378, 2040, 12, 2938, 2802, 16, 1613, 1769, 3639, 289, 3639, 1613, 18, 6923, 2932, 32, 69, 3897, 13186, 2934, 6923, 12, 29120, 743, 1435, 2934, 6923, 12, 7734, 2206, 323, 15750, 1871, 81, 30126, 19, 10722, 10998, 19, 25777, 2083, 18, 4601, 35, 12479, 734, 1546, 2934, 6923, 12, 7734, 6175, 734, 2934, 6923, 2932, 10, 4873, 734, 1546, 2934, 6923, 12, 2938, 2802, 18, 26321, 3061, 1435, 2934, 6923, 2932, 21121, 2934, 6923, 12, 7734, 982, 2802, 18, 17994, 1435, 2934, 6923, 2932, 1757, 69, 2984, 2934, 6923, 2932, 1757, 549, 2984, 1769, 3639, 309, 261, 2938, 2802, 18, 5332, 2961, 1676, 7537, 10756, 288, 5411, 1696, 1506, 1805, 12, 2938, 2802, 16, 1613, 1769, 3639, 289, 3639, 364, 261, 2802, 720, 2802, 294, 982, 2802, 18, 588, 1676, 7537, 10756, 288, 5411, 309, 261, 1717, 2802, 18, 291, 3896, 12, 7335, 18, 588, 1442, 7675, 588, 950, 1435, 3719, 288, 7734, 336, 7537, 682, 12, 1717, 2802, 16, 1613, 1769, 5411, 289, 3639, 289, 3639, 309, 261, 2938, 2802, 18, 5332, 2961, 1676, 7537, 10756, 288, 6647, 1746, 1506, 1805, 12, 4106, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 336, 7537, 682, 12, 2802, 982, 2802, 16, 3225, 1613, 13, 288, 3639, 1696, 15716, 346, 12, 4106, 1769, 3639, 309, 261, 2938, 2802, 18, 5332, 2961, 1676, 7537, 10756, 288, 5411, 1378, 2040, 12, 2938, 2802, 16, 1613, 1769, 3639, 289, 3639, 1613, 18, 6923, 2932, 32, 69, 3897, 13186, 2934, 6923, 12, 29120, 743, 1435, 2934, 6923, 12, 7734, 2206, 323, 15750, 1871, 81, 30126, 19, 10722, 10998, 19, 25777, 2083, 18, 4601, 35, 12479, 734, 1546, 2934, 6923, 12, 7734, 6175, 734, 2934, 6923, 2932, 10, 4873, 734, 1546, 2934, 6923, 12, 2938, 2802, 18, 26321, 3061, 1435, 2934, 6923, 2932, 21121, 2934, 6923, 12, 7734, 982, 2802, 18, 17994, 1435, 2934, 6923, 2 ]
public org.quickfix.field.CouponRate getCouponRate() throws FieldNotFound { org.quickfix.field.CouponRate value = new org.quickfix.field.CouponRate();
public quickfix.field.CouponRate getCouponRate() throws FieldNotFound { quickfix.field.CouponRate value = new quickfix.field.CouponRate();
public org.quickfix.field.CouponRate getCouponRate() throws FieldNotFound { org.quickfix.field.CouponRate value = new org.quickfix.field.CouponRate(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/SecurityStatus.java/buggy/src/java/src/quickfix/fix43/SecurityStatus.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 22744, 4727, 19850, 9899, 4727, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 22744, 4727, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 22744, 4727, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 22744, 4727, 19850, 9899, 4727, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 22744, 4727, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 22744, 4727, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
returnSet.addAll(getUserRecipients(allCourseMembers));
returnSet.add(matchingItem.getUser());
private Set getRecipients() { Set allCourseMembers = getAllCourseMembers(); List selectedList = getSelectedComposeToList(); Set returnSet = new HashSet(); for (Iterator i = selectedList.iterator(); i.hasNext();){ String selectedItem = (String) i.next(); if (selectedItem.equals(RECIPIANTS_ENTIRE_CLASS)){ returnSet.addAll(getUserRecipients(allCourseMembers)); break; } else{ /** search totalComposeToList for matching name */ RecipientItem matchingItem = null; for (Iterator j = totalComposeToListRecipients.iterator(); j.hasNext();){ RecipientItem item = (RecipientItem) j.next(); if (item.getName().equalsIgnoreCase(selectedItem)){ matchingItem = item; break; } } if (matchingItem != null){ if (matchingItem.getUser() == null){ /** role **/ returnSet.addAll(getUserRecipientsForRole(matchingItem.getRole().getId(), allCourseMembers)); } else{ /** user **/ returnSet.addAll(getUserRecipients(allCourseMembers)); } } } } return returnSet; }
52248 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52248/d0393d6eee68ff0564560b86de020e85fb85a327/PrivateMessagesTool.java/clean/messageforums-app/src/java/org/sakaiproject/tool/messageforums/PrivateMessagesTool.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 1000, 5561, 15079, 1435, 225, 288, 3639, 1000, 777, 39, 3117, 6918, 273, 5514, 39, 3117, 6918, 5621, 565, 987, 3170, 682, 273, 16625, 22375, 25772, 5621, 3639, 1000, 327, 694, 273, 394, 6847, 5621, 5411, 364, 261, 3198, 277, 273, 3170, 682, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 15329, 1377, 514, 3170, 1180, 273, 261, 780, 13, 277, 18, 4285, 5621, 1377, 309, 261, 8109, 1180, 18, 14963, 12, 862, 7266, 1102, 6856, 55, 67, 2222, 45, 862, 67, 5237, 3719, 95, 3639, 327, 694, 18, 1289, 12, 16271, 1180, 18, 588, 1299, 10663, 3639, 898, 31, 1377, 289, 1377, 469, 95, 3639, 1783, 1623, 2078, 22375, 25772, 364, 3607, 508, 1195, 3639, 23550, 1180, 3607, 1180, 273, 446, 31, 7734, 364, 261, 3198, 525, 273, 2078, 22375, 25772, 22740, 18, 9838, 5621, 525, 18, 5332, 2134, 5621, 15329, 1850, 23550, 1180, 761, 273, 261, 18241, 1180, 13, 525, 18, 4285, 5621, 17311, 309, 261, 1726, 18, 17994, 7675, 14963, 5556, 12, 8109, 1180, 3719, 95, 5411, 3607, 1180, 273, 761, 31, 5411, 898, 31, 1850, 289, 3639, 289, 7734, 309, 261, 16271, 1180, 480, 446, 15329, 1850, 309, 261, 16271, 1180, 18, 588, 1299, 1435, 422, 446, 15329, 1783, 2478, 26013, 5411, 327, 694, 18, 1289, 1595, 12, 588, 1299, 22740, 1290, 2996, 12, 16271, 1180, 18, 588, 2996, 7675, 26321, 9334, 777, 39, 3117, 6918, 10019, 1850, 289, 1850, 469, 95, 1783, 729, 26013, 5411, 327, 694, 18, 1289, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 1000, 5561, 15079, 1435, 225, 288, 3639, 1000, 777, 39, 3117, 6918, 273, 5514, 39, 3117, 6918, 5621, 565, 987, 3170, 682, 273, 16625, 22375, 25772, 5621, 3639, 1000, 327, 694, 273, 394, 6847, 5621, 5411, 364, 261, 3198, 277, 273, 3170, 682, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 15329, 1377, 514, 3170, 1180, 273, 261, 780, 13, 277, 18, 4285, 5621, 1377, 309, 261, 8109, 1180, 18, 14963, 12, 862, 7266, 1102, 6856, 55, 67, 2222, 45, 862, 67, 5237, 3719, 95, 3639, 327, 694, 18, 1289, 12, 16271, 1180, 18, 588, 1299, 10663, 3639, 898, 31, 1377, 289, 1377, 469, 95, 3639, 1783, 1623, 2078, 22375, 25772, 364, 3607, 508, 1195, 3639, 23550, 2 ]
switch (args.length) { case 0 : return this; case 1 : return (RubyException) m_new(getRuby(), this, args); default : throw new RubyArgumentException(getRuby(), "Wrong argument count"); }
switch (args.length) { case 0 : return this; case 1 : return (RubyException) m_new(getRuby(), this, args); default : throw new RubyArgumentException(getRuby(), "Wrong argument count"); }
public RubyException m_exception(RubyObject[] args) { switch (args.length) { case 0 : return this; case 1 : return (RubyException) m_new(getRuby(), this, args); default : throw new RubyArgumentException(getRuby(), "Wrong argument count"); } }
47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/0a7181933af700ea8025a4197f3a5ebcc08333c3/RubyException.java/buggy/org/jruby/RubyException.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 19817, 503, 312, 67, 4064, 12, 54, 10340, 921, 8526, 833, 13, 288, 202, 202, 9610, 261, 1968, 18, 2469, 13, 288, 1082, 202, 3593, 374, 294, 9506, 202, 2463, 333, 31, 1082, 202, 3593, 404, 294, 9506, 202, 2463, 261, 54, 10340, 503, 13, 312, 67, 2704, 12, 588, 54, 10340, 9334, 333, 16, 833, 1769, 1082, 202, 1886, 294, 9506, 202, 12849, 394, 19817, 1878, 12, 588, 54, 10340, 9334, 315, 13634, 1237, 1056, 8863, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 19817, 503, 312, 67, 4064, 12, 54, 10340, 921, 8526, 833, 13, 288, 202, 202, 9610, 261, 1968, 18, 2469, 13, 288, 1082, 202, 3593, 374, 294, 9506, 202, 2463, 333, 31, 1082, 202, 3593, 404, 294, 9506, 202, 2463, 261, 54, 10340, 503, 13, 312, 67, 2704, 12, 588, 54, 10340, 9334, 333, 16, 833, 1769, 1082, 202, 1886, 294, 9506, 202, 12849, 394, 19817, 1878, 12, 588, 54, 10340, 9334, 315, 13634, 1237, 1056, 8863, 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 ]
return org.apache.derby.client.am.DateTime.timestampBytesToDate(dataBuffer_, columnDataPosition_[column - 1], recyclableDate_);
try { return org.apache.derby.client.am.DateTime.timestampBytesToDate(dataBuffer_, columnDataPosition_[column - 1], recyclableDate_, charsetName_[column -1]); } catch (UnsupportedEncodingException e) { throw new SqlException(agent_.logWriter_, e, "Encoding is unsupported for conversion to DATE"); }
private final java.sql.Date getDateFromTIMESTAMP(int column) throws SqlException { return org.apache.derby.client.am.DateTime.timestampBytesToDate(dataBuffer_, columnDataPosition_[column - 1], recyclableDate_); }
56322 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56322/491c5b6e92688d7480de337b81cbc1d45e56451e/Cursor.java/clean/java/client/org/apache/derby/client/am/Cursor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 727, 2252, 18, 4669, 18, 1626, 10713, 1265, 17201, 12, 474, 1057, 13, 1216, 8855, 503, 288, 3639, 327, 2358, 18, 19211, 18, 765, 1637, 18, 2625, 18, 301, 18, 5096, 18, 5508, 2160, 31264, 12, 892, 1892, 67, 16, 7734, 1057, 751, 2555, 67, 63, 2827, 300, 404, 6487, 7734, 25745, 830, 429, 1626, 67, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3238, 727, 2252, 18, 4669, 18, 1626, 10713, 1265, 17201, 12, 474, 1057, 13, 1216, 8855, 503, 288, 3639, 327, 2358, 18, 19211, 18, 765, 1637, 18, 2625, 18, 301, 18, 5096, 18, 5508, 2160, 31264, 12, 892, 1892, 67, 16, 7734, 1057, 751, 2555, 67, 63, 2827, 300, 404, 6487, 7734, 25745, 830, 429, 1626, 67, 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 ]
metaClass.setProperty(target,DomainClassMethods.ERRORS_PROPERTY,errors.getAllErrors());
metaClass.setProperty(target,DomainClassMethods.ERRORS_PROPERTY,errors);
protected Object doInvokeInternal(Object target, Object[] arguments) { Errors errors = new BindException(target, target.getClass().getName()); GrailsDomainClass domainClass = application.getGrailsDomainClass( target.getClass().getName() ); Validator validator = null; if(domainClass != null) validator = application.getGrailsDomainClass( target.getClass().getName() ).getValidator(); Boolean valid = new Boolean(true); if(validator != null) { validator.validate(target,errors); if(errors.hasErrors()) { valid = new Boolean(!errors.hasErrors()); DelegatingMetaClass metaClass = (DelegatingMetaClass)InvokerHelper.getInstance().getMetaRegistry().getMetaClass(target.getClass()); metaClass.setProperty(target,DomainClassMethods.HAS_ERRORS_PROPERTY,valid); metaClass.setProperty(target,DomainClassMethods.ERRORS_PROPERTY,errors.getAllErrors()); } } return valid; }
26970 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/26970/9319b2487e82433202c4b7e86c557193a7ad2ae3/ValidatePersistentMethod.java/buggy/src/persistence/org/codehaus/groovy/grails/orm/hibernate/metaclass/ValidatePersistentMethod.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 1033, 741, 10969, 3061, 12, 921, 1018, 16, 1033, 8526, 1775, 13, 288, 202, 202, 4229, 1334, 273, 394, 6936, 503, 12, 3299, 16, 1018, 18, 588, 797, 7675, 17994, 10663, 202, 202, 14571, 14573, 3748, 797, 2461, 797, 273, 2521, 18, 588, 14571, 14573, 3748, 797, 12, 1018, 18, 588, 797, 7675, 17994, 1435, 11272, 202, 202, 5126, 4213, 273, 446, 31, 9506, 202, 430, 12, 4308, 797, 480, 446, 13, 1082, 202, 7357, 273, 2521, 18, 588, 14571, 14573, 3748, 797, 12, 1018, 18, 588, 797, 7675, 17994, 1435, 262, 18, 588, 5126, 5621, 9506, 202, 5507, 923, 273, 394, 3411, 12, 3767, 1769, 202, 202, 430, 12, 7357, 480, 446, 13, 288, 1082, 202, 7357, 18, 5662, 12, 3299, 16, 4324, 1769, 25083, 202, 430, 12, 4324, 18, 5332, 4229, 10756, 288, 9506, 202, 877, 273, 394, 3411, 12, 5, 4324, 18, 5332, 4229, 10663, 6862, 202, 15608, 1776, 2781, 797, 2191, 797, 273, 261, 15608, 1776, 2781, 797, 13, 24455, 2276, 18, 588, 1442, 7675, 588, 2781, 4243, 7675, 588, 2781, 797, 12, 3299, 18, 588, 797, 10663, 9506, 202, 3901, 797, 18, 542, 1396, 12, 3299, 16, 3748, 797, 4712, 18, 27765, 67, 29127, 67, 9900, 16, 877, 1769, 9506, 202, 3901, 797, 18, 542, 1396, 12, 3299, 16, 3748, 797, 4712, 18, 29127, 67, 9900, 16, 4324, 18, 588, 1595, 4229, 10663, 6862, 6862, 25083, 202, 97, 202, 202, 97, 202, 202, 2463, 923, 31, 202, 97, 2, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 1033, 741, 10969, 3061, 12, 921, 1018, 16, 1033, 8526, 1775, 13, 288, 202, 202, 4229, 1334, 273, 394, 6936, 503, 12, 3299, 16, 1018, 18, 588, 797, 7675, 17994, 10663, 202, 202, 14571, 14573, 3748, 797, 2461, 797, 273, 2521, 18, 588, 14571, 14573, 3748, 797, 12, 1018, 18, 588, 797, 7675, 17994, 1435, 11272, 202, 202, 5126, 4213, 273, 446, 31, 9506, 202, 430, 12, 4308, 797, 480, 446, 13, 1082, 202, 7357, 273, 2521, 18, 588, 14571, 14573, 3748, 797, 12, 1018, 18, 588, 797, 7675, 17994, 1435, 262, 18, 588, 5126, 5621, 9506, 202, 5507, 923, 273, 394, 3411, 12, 3767, 1769, 202, 202, 430, 12, 7357, 480, 446, 13, 288, 1082, 2 ]
resolver );
resolver );
public RuleBaseImpl() { ObjectTypeResolver resolver = new ClassObjectTypeResolver(); this.rete = new Rete( resolver ); this.reteBuilder = new ReteBuilder( this, resolver ); this.factHandleFactory = new DefaultFactHandleFactory(); this.pkgs = new HashSet(); this.globalDeclarations = new HashMap(); this.workingMemories = new WeakHashMap(); }
5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/a87b2c8a9b5103c50661f46e554225ed51da192b/RuleBaseImpl.java/buggy/drools-core/src/main/java/org/drools/reteoo/RuleBaseImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 6781, 2171, 2828, 1435, 288, 7734, 21338, 4301, 5039, 273, 394, 1659, 17610, 4301, 5621, 3639, 333, 18, 266, 736, 273, 394, 534, 12865, 12, 5039, 11272, 3639, 333, 18, 266, 736, 1263, 273, 394, 534, 12865, 1263, 12, 333, 16, 4766, 565, 5039, 11272, 3639, 333, 18, 3493, 3259, 1733, 273, 394, 2989, 9766, 3259, 1733, 5621, 3639, 333, 18, 25376, 273, 394, 6847, 5621, 3639, 333, 18, 6347, 21408, 273, 394, 4317, 5621, 3639, 333, 18, 20478, 3545, 2401, 273, 394, 23632, 8658, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 6781, 2171, 2828, 1435, 288, 7734, 21338, 4301, 5039, 273, 394, 1659, 17610, 4301, 5621, 3639, 333, 18, 266, 736, 273, 394, 534, 12865, 12, 5039, 11272, 3639, 333, 18, 266, 736, 1263, 273, 394, 534, 12865, 1263, 12, 333, 16, 4766, 565, 5039, 11272, 3639, 333, 18, 3493, 3259, 1733, 273, 394, 2989, 9766, 3259, 1733, 5621, 3639, 333, 18, 25376, 273, 394, 6847, 5621, 3639, 333, 18, 6347, 21408, 273, 394, 4317, 5621, 3639, 333, 18, 20478, 3545, 2401, 273, 394, 23632, 8658, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (!delegate.isFullyStarted())
if (!isFullyStarted())
private void updateFromStarted() { if (!delegate.isFullyStarted()) delegate.setServerStopped(); }
10123 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10123/c285a1d49e5bd5f7fb10e1609df1d46d094856f2/UpdateServerStateTask.java/clean/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/UpdateServerStateTask.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 1089, 1265, 9217, 1435, 288, 202, 202, 430, 16051, 22216, 18, 291, 16999, 9217, 10756, 1082, 202, 22216, 18, 542, 2081, 15294, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1152, 918, 1089, 1265, 9217, 1435, 288, 202, 202, 430, 16051, 22216, 18, 291, 16999, 9217, 10756, 1082, 202, 22216, 18, 542, 2081, 15294, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
HashMap attributes = dm.authenticate(goodCredentials, new String[] {});
HashMap attributes = dm.authenticate(null, goodCredentials, new String[] {});
public void testGoodAuthenticationWithoutAttributes() { // Set configuration properties. Properties config = new Properties(); config.setProperty(DirectoryManagerConfiguration.CONFIGURATION_PROPERTY, goodConfiguration); try { // Test successful authentication with empty array request. dm.setConfig(config); HashMap attributes = dm.authenticate(goodCredentials, new String[] {}); // Verify attributes. Assert.assertEquals("Attributes were returned", attributes.size(), 0); // Test successful authentication with null request. attributes = dm.authenticate(goodCredentials, null); // Verify attributes. Assert.assertEquals("Attributes were returned", attributes.size(), 0); } catch (AuthenticationFailedException e) { e.printStackTrace(); Assert.fail("Unexpected AuthenticationFailedException"); } catch (BackendException e) { e.printStackTrace(); Assert.fail("Unexpected BackendException"); } }
1637 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1637/e87879c325461797bb66534e0461f7ade58100a6/DummyDirectoryManagerTest.java/buggy/moria2/modules/moria-dm/src/test/java/no/feide/moria/directory/DummyDirectoryManagerTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 18195, 6492, 8073, 2498, 1435, 288, 3639, 368, 1000, 1664, 1790, 18, 3639, 6183, 642, 273, 394, 6183, 5621, 3639, 642, 18, 542, 1396, 12, 2853, 1318, 1750, 18, 21200, 67, 9900, 16, 7494, 1750, 1769, 3639, 775, 288, 5411, 368, 7766, 6873, 5107, 598, 1008, 526, 590, 18, 5411, 9113, 18, 542, 809, 12, 1425, 1769, 5411, 4317, 1677, 273, 9113, 18, 22035, 12, 2011, 16, 7494, 6163, 16, 394, 514, 8526, 2618, 1769, 5411, 368, 8553, 1677, 18, 5411, 5452, 18, 11231, 8867, 2932, 2498, 4591, 2106, 3113, 1677, 18, 1467, 9334, 374, 1769, 5411, 368, 7766, 6873, 5107, 598, 446, 590, 18, 5411, 1677, 273, 9113, 18, 22035, 12, 19747, 6163, 16, 446, 1769, 5411, 368, 8553, 1677, 18, 5411, 5452, 18, 11231, 8867, 2932, 2498, 4591, 2106, 3113, 1677, 18, 1467, 9334, 374, 1769, 3639, 289, 1044, 261, 6492, 12417, 425, 13, 288, 5411, 425, 18, 1188, 6332, 5621, 5411, 5452, 18, 6870, 2932, 7762, 8665, 12417, 8863, 3639, 289, 1044, 261, 7172, 503, 425, 13, 288, 5411, 425, 18, 1188, 6332, 5621, 5411, 5452, 18, 6870, 2932, 7762, 11736, 503, 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, 1071, 918, 1842, 18195, 6492, 8073, 2498, 1435, 288, 3639, 368, 1000, 1664, 1790, 18, 3639, 6183, 642, 273, 394, 6183, 5621, 3639, 642, 18, 542, 1396, 12, 2853, 1318, 1750, 18, 21200, 67, 9900, 16, 7494, 1750, 1769, 3639, 775, 288, 5411, 368, 7766, 6873, 5107, 598, 1008, 526, 590, 18, 5411, 9113, 18, 542, 809, 12, 1425, 1769, 5411, 4317, 1677, 273, 9113, 18, 22035, 12, 2011, 16, 7494, 6163, 16, 394, 514, 8526, 2618, 1769, 5411, 368, 8553, 1677, 18, 5411, 5452, 18, 11231, 8867, 2932, 2498, 4591, 2106, 3113, 1677, 18, 1467, 9334, 374, 1769, 5411, 368, 7766, 6873, 5107, 598, 446, 590, 18, 5411, 1677, 273, 9113, 18, 22035, 12, 19747, 6163, 16, 2 ]
public void actionPerformed( ActionEvent evt ) { getFrame( DOMInspector.this ).hide(); }
public void actionPerformed(ActionEvent evt) { getFrame(DOMInspector.this).hide(); }
public void actionPerformed( ActionEvent evt ) { getFrame( DOMInspector.this ).hide(); }
53937 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53937/93d814d7886e593bc9bd7f476b2a18571a009aa6/DOMInspector.java/buggy/src/java/org/xhtmlrenderer/swing/DOMInspector.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 7682, 1071, 918, 26100, 12, 19641, 6324, 262, 288, 18701, 25396, 12, 4703, 19443, 18, 2211, 262, 18, 11248, 5621, 13491, 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, 7682, 1071, 918, 26100, 12, 19641, 6324, 262, 288, 18701, 25396, 12, 4703, 19443, 18, 2211, 262, 18, 11248, 5621, 13491, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public AbstractContent( IContent content )
public AbstractContent( )
public AbstractContent( IContent content ) { this( content.getReport( ) ); this.name = content.getName( ); this.bounds = content.getBounds( ); this.x = content.getX( ); this.y = content.getY( ); this.width = content.getWidth( ); this.height = content.getHeight( ); this.hyperlink = content.getHyperlinkAction( ); this.bookmark = content.getBookmark( ); this.helpText = content.getHelpText( ); this.inlineStyle = content.getInlineStyle( ); this.generateBy = content.getGenerateBy( ); this.styleClass = content.getStyleClass( ); this.instanceId = content.getInstanceID( ); this.toc = content.getTOC( ); }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/d6a1d0c77febe86e6fbda983160d688704b57e87/AbstractContent.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/content/impl/AbstractContent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4115, 1350, 12, 467, 1350, 913, 262, 202, 95, 202, 202, 2211, 12, 913, 18, 588, 4820, 12, 262, 11272, 202, 202, 2211, 18, 529, 273, 913, 18, 17994, 12, 11272, 202, 202, 2211, 18, 10576, 273, 913, 18, 588, 5694, 12, 11272, 202, 202, 2211, 18, 92, 273, 913, 18, 588, 60, 12, 11272, 202, 202, 2211, 18, 93, 273, 913, 18, 588, 61, 12, 11272, 202, 202, 2211, 18, 2819, 273, 913, 18, 588, 2384, 12, 11272, 202, 202, 2211, 18, 4210, 273, 913, 18, 588, 2686, 12, 11272, 202, 202, 2211, 18, 17203, 1232, 273, 913, 18, 588, 15996, 1232, 1803, 12, 11272, 202, 202, 2211, 18, 3618, 3355, 273, 913, 18, 588, 22966, 12, 11272, 202, 202, 2211, 18, 5201, 1528, 273, 913, 18, 588, 6696, 1528, 12, 11272, 202, 202, 2211, 18, 10047, 2885, 273, 913, 18, 588, 10870, 2885, 12, 11272, 202, 202, 2211, 18, 7163, 858, 273, 913, 18, 588, 4625, 858, 12, 11272, 202, 202, 2211, 18, 4060, 797, 273, 913, 18, 588, 2885, 797, 12, 11272, 202, 202, 2211, 18, 1336, 548, 273, 913, 18, 588, 1442, 734, 12, 11272, 202, 202, 2211, 18, 1391, 273, 913, 18, 588, 4296, 39, 12, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4115, 1350, 12, 467, 1350, 913, 262, 202, 95, 202, 202, 2211, 12, 913, 18, 588, 4820, 12, 262, 11272, 202, 202, 2211, 18, 529, 273, 913, 18, 17994, 12, 11272, 202, 202, 2211, 18, 10576, 273, 913, 18, 588, 5694, 12, 11272, 202, 202, 2211, 18, 92, 273, 913, 18, 588, 60, 12, 11272, 202, 202, 2211, 18, 93, 273, 913, 18, 588, 61, 12, 11272, 202, 202, 2211, 18, 2819, 273, 913, 18, 588, 2384, 12, 11272, 202, 202, 2211, 18, 4210, 273, 913, 18, 588, 2686, 12, 11272, 202, 202, 2211, 18, 17203, 1232, 273, 913, 18, 588, 15996, 1232, 1803, 12, 11272, 202, 202, 2211, 18, 3618, 3355, 273, 913, 18, 588, 2 ]
String [] fieldRefResultModel = {"EntryResult: word=fieldRef/y/C/B/A, refs={ 1 }"};
String [] fieldRefResultModel = {"EntryResult: word=fieldRef/y/C/B/A, refs={ 1 }, offsets={ [ 2161] }"};
public void testRefs() throws Exception{ //Add a new file to the project importFile("reftest.cpp","resources/indexer/reftest.cpp"); //$NON-NLS-1$ //$NON-NLS-2$ //Make sure project got added to index IPath testProjectPath = testProject.getFullPath(); IIndex ind = sourceIndexer.getIndex(testProjectPath,true,true); assertTrue("Index exists for project",ind != null); //$NON-NLS-1$ String [] typeRefEntryResultModel ={"EntryResult: word=typeRef/C/C/B/A, refs={ 1 }", "EntryResult: word=typeRef/E/e1/B/A, refs={ 1 }", //$NON-NLS-1$ //$NON-NLS-2$ "EntryResult: word=typeRef/G/ForwardA/A, refs={ 1 }", "EntryResult: word=typeRef/V/x/B/A, refs={ 1 }"}; //$NON-NLS-1$ //$NON-NLS-2$ IEntryResult[] typerefresults = ind.queryEntries(IIndexConstants.TYPE_REF); assertTrue("Entry exists",typerefresults != null); //$NON-NLS-1$ if (typerefresults.length != typeRefEntryResultModel.length) fail("Entry Result length different from model for typeRef"); //$NON-NLS-1$ for (int i=0;i<typerefresults.length; i++) { assertEquals(typeRefEntryResultModel[i],typerefresults[i].toString()); } String [] funRefEntryResultModel ={"EntryResult: word=functionRef/something/A, refs={ 1 }"};//$NON-NLS-1$ IEntryResult[] funRefresults = ind.queryEntries(IIndexConstants.FUNCTION_REF); assertTrue("Entry exists",funRefresults != null); //$NON-NLS-1$ if (funRefresults.length != funRefEntryResultModel.length) fail("Entry Result length different from model for funcRef"); //$NON-NLS-1$ for (int i=0;i<funRefresults.length; i++) { assertEquals(funRefEntryResultModel[i],funRefresults[i].toString()); } String [] namespaceRefResultModel = {"EntryResult: word=namespaceRef/A, refs={ 1 }", "EntryResult: word=namespaceRef/B/A, refs={ 1 }"}; //$NON-NLS-1$ //$NON-NLS-2$ IEntryResult[] namespacerefresults = ind.queryEntries(IIndexConstants.NAMESPACE_REF); assertTrue("Entry exists",namespacerefresults!=null); //$NON-NLS-1$ if (namespacerefresults.length != namespaceRefResultModel.length) fail("Entry Result length different from model for namespaceRef"); //$NON-NLS-1$ for (int i=0;i<namespacerefresults.length; i++) { assertEquals(namespaceRefResultModel[i],namespacerefresults[i].toString()); } String [] fieldRefResultModel = {"EntryResult: word=fieldRef/y/C/B/A, refs={ 1 }"}; //$NON-NLS-1$ IEntryResult[] fieldrefresults = ind.queryEntries(IIndexConstants.FIELD_REF); assertTrue("Entry exists",fieldrefresults!=null); //$NON-NLS-1$ if (fieldrefresults.length != fieldRefResultModel.length) fail("Entry Result length different from model for fieldRef"); //$NON-NLS-1$ for (int i=0;i<fieldrefresults.length; i++) { assertEquals(fieldRefResultModel[i],fieldrefresults[i].toString()); } String [] methodRefResultModel = {"EntryResult: word=methodRef/bar/C/B/A, refs={ 1 }"}; //$NON-NLS-1$ IEntryResult[] methodrefresults = ind.queryEntries(IIndexConstants.METHOD_REF); assertTrue("Entry exists", methodrefresults != null); //$NON-NLS-1$ if (methodrefresults.length != methodRefResultModel.length) fail("Entry Result length different from model for methodRef");//$NON-NLS-1$ for (int i=0;i<methodrefresults.length; i++) { assertEquals(methodRefResultModel[i],methodrefresults[i].toString()); } }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/985b120edf25579fa8305435a8ee93f694d389ab/SourceIndexerTests.java/buggy/core/org.eclipse.cdt.core.tests/indexer/org/eclipse/cdt/core/indexer/tests/SourceIndexerTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 9837, 1435, 1216, 1185, 95, 1082, 225, 368, 986, 279, 394, 585, 358, 326, 1984, 1082, 225, 1930, 812, 2932, 266, 1222, 395, 18, 4057, 84, 15937, 4683, 19, 24541, 19, 266, 1222, 395, 18, 4057, 84, 8863, 225, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 22, 8, 1875, 26924, 225, 368, 6464, 3071, 1984, 2363, 3096, 358, 770, 1082, 225, 467, 743, 1842, 4109, 743, 273, 1842, 4109, 18, 588, 24173, 5621, 1082, 225, 467, 1016, 1547, 273, 1084, 20877, 18, 588, 1016, 12, 3813, 4109, 743, 16, 3767, 16, 3767, 1769, 1082, 225, 1815, 5510, 2932, 1016, 1704, 364, 1984, 3113, 728, 480, 446, 1769, 225, 4329, 3993, 17, 5106, 17, 21, 8, 1875, 26924, 225, 514, 5378, 618, 1957, 1622, 1253, 1488, 273, 16711, 1622, 1253, 30, 2076, 33, 723, 1957, 19, 39, 19, 39, 19, 38, 19, 37, 16, 9047, 5899, 404, 289, 3113, 315, 1622, 1253, 30, 2076, 33, 723, 1957, 19, 41, 19, 73, 21, 19, 38, 19, 37, 16, 9047, 5899, 404, 289, 3113, 225, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 22, 8, 1875, 21114, 202, 6, 1622, 1253, 30, 2076, 33, 723, 1957, 19, 43, 19, 8514, 37, 19, 37, 16, 9047, 5899, 404, 289, 3113, 315, 1622, 1253, 30, 2076, 33, 723, 1957, 19, 58, 19, 92, 19, 38, 19, 37, 16, 9047, 5899, 404, 22837, 20451, 225, 4329, 3993, 17, 5106, 17, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 9837, 1435, 1216, 1185, 95, 1082, 225, 368, 986, 279, 394, 585, 358, 326, 1984, 1082, 225, 1930, 812, 2932, 266, 1222, 395, 18, 4057, 84, 15937, 4683, 19, 24541, 19, 266, 1222, 395, 18, 4057, 84, 8863, 225, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 22, 8, 1875, 26924, 225, 368, 6464, 3071, 1984, 2363, 3096, 358, 770, 1082, 225, 467, 743, 1842, 4109, 743, 273, 1842, 4109, 18, 588, 24173, 5621, 1082, 225, 467, 1016, 1547, 273, 1084, 20877, 18, 588, 1016, 12, 3813, 4109, 743, 16, 3767, 16, 3767, 1769, 1082, 225, 1815, 5510, 2932, 1016, 1704, 364, 1984, 3113, 728, 480, 446, 1769, 225, 4329, 3993, 2 ]
suite.addTestSuite(test.ClassPatternTest.class); suite.addTestSuite(test.MethodPatternTest.class); suite.addTestSuite(test.ConstructorPatternTest.class); suite.addTestSuite(test.FieldPatternTest.class); suite.addTestSuite(test.ExceptionTest.class); suite.addTestSuite(test.MethodComparatorTest.class); suite.addTestSuite(test.StringsTest.class); suite.addTestSuite(test.ExpressionTest.class); suite.addTestSuite(test.ExpressionGrammarTest.class);
public static Test suite() { TestSuite suite = new TestSuite("All tests"); // definition tests suite.addTestSuite(test.ClassPatternTest.class); suite.addTestSuite(test.MethodPatternTest.class); suite.addTestSuite(test.ConstructorPatternTest.class); suite.addTestSuite(test.FieldPatternTest.class); suite.addTestSuite(test.ExceptionTest.class); suite.addTestSuite(test.MethodComparatorTest.class); suite.addTestSuite(test.StringsTest.class); suite.addTestSuite(test.ExpressionTest.class); suite.addTestSuite(test.ExpressionGrammarTest.class); // transformer and engine tests suite.addTestSuite(test.MemberMethodAdviceTest.class); suite.addTestSuite(test.StaticMethodAdviceTest.class); suite.addTestSuite(test.FieldAdviceTest.class); suite.addTestSuite(test.CallerSideAdviceTest.class); suite.addTestSuite(test.CFlowTest.class); suite.addTestSuite(test.IntroductionTest.class); suite.addTestSuite(test.constructor.ConstructorAdviceTest.class); suite.addTestSuite(test.handler.HandlerTest.class); suite.addTestSuite(test.orthogonal.OrthogonalTest.class); // bug tests suite.addTestSuite(test.abstractclass.AbstractClassTest.class); suite.addTestSuite(test.hierarchicalpattern.HierachicalPatternTest.class); suite.addTestSuite(test.pointcutexpression.PointcutExpressionTest.class); suite.addTestSuite(test.reflection.ReflectionTest.class); suite.addTestSuite(test.staticfield.StaticFieldAdviceTest.class); suite.addTestSuite(test.superclassconstructor.SuperClassConstructorTest.class); suite.addTestSuite(test.mixindeployment.IntroductionDeploymentTest.class); suite.addTestSuite(test.bindingsyntax.AdviceBindingTest.class); // performance tests , suite.addTestSuite(test.performance.PerformanceTest.class); // TODO: deprecated until a better hot deployment model has been implemented// suite.addTestSuite(test.DynamicDeploymentTest.class); return suite; }
7954 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7954/c348135b38cae1482bbb489d82e473326972ab61/AllTests.java/clean/aspectwerkz2/src/test/test/AllTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 7766, 11371, 1435, 288, 3639, 7766, 13587, 11371, 273, 394, 7766, 13587, 2932, 1595, 7434, 8863, 3639, 368, 2379, 7434, 3639, 11371, 18, 1289, 4709, 13587, 12, 3813, 18, 797, 3234, 4709, 18, 1106, 1769, 3639, 11371, 18, 1289, 4709, 13587, 12, 3813, 18, 1305, 3234, 4709, 18, 1106, 1769, 3639, 11371, 18, 1289, 4709, 13587, 12, 3813, 18, 6293, 3234, 4709, 18, 1106, 1769, 3639, 11371, 18, 1289, 4709, 13587, 12, 3813, 18, 974, 3234, 4709, 18, 1106, 1769, 3639, 11371, 18, 1289, 4709, 13587, 12, 3813, 18, 503, 4709, 18, 1106, 1769, 3639, 11371, 18, 1289, 4709, 13587, 12, 3813, 18, 1305, 5559, 4709, 18, 1106, 1769, 3639, 11371, 18, 1289, 4709, 13587, 12, 3813, 18, 7957, 4709, 18, 1106, 1769, 3639, 11371, 18, 1289, 4709, 13587, 12, 3813, 18, 2300, 4709, 18, 1106, 1769, 3639, 11371, 18, 1289, 4709, 13587, 12, 3813, 18, 2300, 18576, 4709, 18, 1106, 1769, 3639, 368, 8360, 471, 4073, 7434, 3639, 11371, 18, 1289, 4709, 13587, 12, 3813, 18, 4419, 1305, 1871, 633, 4709, 18, 1106, 1769, 3639, 11371, 18, 1289, 4709, 13587, 12, 3813, 18, 5788, 1305, 1871, 633, 4709, 18, 1106, 1769, 3639, 11371, 18, 1289, 4709, 13587, 12, 3813, 18, 974, 1871, 633, 4709, 18, 1106, 1769, 3639, 11371, 18, 1289, 4709, 13587, 12, 3813, 18, 11095, 8895, 1871, 633, 4709, 18, 1106, 1769, 3639, 11371, 18, 1289, 4709, 13587, 12, 3813, 18, 39, 5249, 4709, 18, 1106, 1769, 3639, 11371, 18, 1289, 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, 7766, 11371, 1435, 288, 3639, 7766, 13587, 11371, 273, 394, 7766, 13587, 2932, 1595, 7434, 8863, 3639, 368, 2379, 7434, 3639, 11371, 18, 1289, 4709, 13587, 12, 3813, 18, 797, 3234, 4709, 18, 1106, 1769, 3639, 11371, 18, 1289, 4709, 13587, 12, 3813, 18, 1305, 3234, 4709, 18, 1106, 1769, 3639, 11371, 18, 1289, 4709, 13587, 12, 3813, 18, 6293, 3234, 4709, 18, 1106, 1769, 3639, 11371, 18, 1289, 4709, 13587, 12, 3813, 18, 974, 3234, 4709, 18, 1106, 1769, 3639, 11371, 18, 1289, 4709, 13587, 12, 3813, 18, 503, 4709, 18, 1106, 1769, 3639, 11371, 18, 1289, 4709, 13587, 12, 3813, 18, 1305, 5559, 4709, 18, 1106, 1769, 3639, 11371, 18, 1289, 4709, 13587, 12, 2 ]
MarkerList getCurrentMarkers(){ return lastMarkers; }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/9c327194f7a9a7699e6d64522542c2dd844398bd/MarkerAdapter.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerAdapter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 7078, 682, 5175, 21644, 1435, 95, 202, 202, 2463, 1142, 21644, 31, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 7078, 682, 5175, 21644, 1435, 95, 202, 202, 2463, 1142, 21644, 31, 1082, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
private static void duplicateExtensionIdentifier( DesignElementHandle source, DesignElementHandle destination )
static void duplicateExtensionIdentifier( DesignElement source, DesignElement destination, Module sourceModule )
private static void duplicateExtensionIdentifier( DesignElementHandle source, DesignElementHandle destination ) { // for the special oda cases, the extension id must be set before // copy properties. Otherwise, destination cannot find its ODA // properties. if ( source.getElement( ) instanceof IOdaExtendableElementModel ) { String extensionId = (String) source .getProperty( IOdaExtendableElementModel.EXTENSION_ID_PROP ); destination.getElement( ).setProperty( IOdaExtendableElementModel.EXTENSION_ID_PROP, extensionId ); } else if ( source.getElement( ) instanceof IExtendedItemModel ) { String extensionId = (String) source .getProperty( IExtendedItemModel.EXTENSION_NAME_PROP ); destination.getElement( ).setProperty( IExtendedItemModel.EXTENSION_NAME_PROP, extensionId ); } else { assert false; } }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/109f373d0c281370aac71b18e0a0c73a11c18729/ModelUtil.java/buggy/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/util/ModelUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 918, 6751, 3625, 3004, 12, 1082, 202, 15478, 1046, 3259, 1084, 16, 29703, 1046, 3259, 2929, 262, 202, 95, 202, 202, 759, 364, 326, 4582, 320, 2414, 6088, 16, 326, 2710, 612, 1297, 506, 444, 1865, 202, 202, 759, 1610, 1790, 18, 5272, 16, 2929, 2780, 1104, 2097, 531, 9793, 202, 202, 759, 1790, 18, 202, 202, 430, 261, 1084, 18, 21336, 12, 262, 1276, 1665, 2414, 16675, 429, 1046, 1488, 262, 202, 202, 95, 1082, 202, 780, 2710, 548, 273, 261, 780, 13, 1084, 6862, 202, 18, 588, 1396, 12, 1665, 2414, 16675, 429, 1046, 1488, 18, 12796, 67, 734, 67, 15811, 11272, 1082, 202, 10590, 18, 21336, 12, 262, 18, 542, 1396, 12, 6862, 202, 4294, 2414, 16675, 429, 1046, 1488, 18, 12796, 67, 734, 67, 15811, 16, 2710, 548, 11272, 202, 202, 97, 202, 202, 12107, 202, 202, 430, 261, 1084, 18, 21336, 12, 262, 1276, 467, 11456, 1180, 1488, 262, 202, 202, 95, 1082, 202, 780, 2710, 548, 273, 261, 780, 13, 1084, 6862, 202, 18, 588, 1396, 12, 467, 11456, 1180, 1488, 18, 12796, 67, 1985, 67, 15811, 11272, 1082, 202, 10590, 18, 21336, 12, 262, 18, 542, 1396, 12, 6862, 202, 45, 11456, 1180, 1488, 18, 12796, 67, 1985, 67, 15811, 16, 2710, 548, 11272, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 11231, 629, 31, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 918, 6751, 3625, 3004, 12, 1082, 202, 15478, 1046, 3259, 1084, 16, 29703, 1046, 3259, 2929, 262, 202, 95, 202, 202, 759, 364, 326, 4582, 320, 2414, 6088, 16, 326, 2710, 612, 1297, 506, 444, 1865, 202, 202, 759, 1610, 1790, 18, 5272, 16, 2929, 2780, 1104, 2097, 531, 9793, 202, 202, 759, 1790, 18, 202, 202, 430, 261, 1084, 18, 21336, 12, 262, 1276, 1665, 2414, 16675, 429, 1046, 1488, 262, 202, 202, 95, 1082, 202, 780, 2710, 548, 273, 261, 780, 13, 1084, 6862, 202, 18, 588, 1396, 12, 1665, 2414, 16675, 429, 1046, 1488, 18, 12796, 67, 734, 67, 15811, 11272, 1082, 202, 10590, 18, 21336, 12, 262, 18, 542, 1396, 12, 2 ]
setIcon(getOpenIcon());
setOpenIcon(getOpenIcon());
public Component getTreeCellRendererComponent(JTree tree, Object val, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) { this.selected = selected; this.hasFocus = hasFocus; if (leaf) setIcon(getLeafIcon()); else if (expanded) setIcon(getOpenIcon()); else setIcon(getClosedIcon()); setText(val.toString()); setHorizontalAlignment(LEFT); setVerticalAlignment(TOP); return this; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/65fc7899e6a31f0880fa2d7c7f5bd6905d251de4/DefaultTreeCellRenderer.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultTreeCellRenderer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 5435, 15867, 4020, 6747, 1841, 12, 46, 2471, 2151, 16, 4766, 15604, 1033, 1244, 16, 4766, 15604, 1250, 3170, 16, 4766, 15604, 1250, 8406, 16, 4766, 15604, 1250, 7839, 16, 4766, 15604, 509, 1027, 16, 4766, 15604, 1250, 711, 9233, 13, 288, 1850, 333, 18, 8109, 273, 3170, 31, 1850, 333, 18, 5332, 9233, 273, 711, 9233, 31, 1850, 309, 261, 12070, 13, 5411, 21481, 12, 588, 9858, 5554, 10663, 1850, 469, 309, 261, 17336, 13, 5411, 444, 3678, 5554, 12, 588, 3678, 5554, 10663, 1850, 469, 5411, 21481, 12, 588, 7395, 5554, 10663, 1850, 7883, 12, 1125, 18, 10492, 10663, 1850, 444, 14457, 11535, 12, 10066, 1769, 1850, 444, 15704, 11535, 12, 10462, 1769, 1850, 327, 333, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 5435, 15867, 4020, 6747, 1841, 12, 46, 2471, 2151, 16, 4766, 15604, 1033, 1244, 16, 4766, 15604, 1250, 3170, 16, 4766, 15604, 1250, 8406, 16, 4766, 15604, 1250, 7839, 16, 4766, 15604, 509, 1027, 16, 4766, 15604, 1250, 711, 9233, 13, 288, 1850, 333, 18, 8109, 273, 3170, 31, 1850, 333, 18, 5332, 9233, 273, 711, 9233, 31, 1850, 309, 261, 12070, 13, 5411, 21481, 12, 588, 9858, 5554, 10663, 1850, 469, 309, 261, 17336, 13, 5411, 444, 3678, 5554, 12, 588, 3678, 5554, 10663, 1850, 469, 5411, 21481, 12, 588, 7395, 5554, 10663, 1850, 7883, 12, 1125, 18, 10492, 10663, 1850, 444, 14457, 11535, 12, 10066, 1769, 1850, 444, 15704, 11535, 12, 10462, 1769, 1850, 2 ]
String defaultPrefix = MylarPlugin.getDefault().getPreferenceStore().getString(MylarTasklistPlugin.DEFAULT_URL_PREFIX);
String defaultPrefix = MylarPlugin.getDefault().getPreferenceStore().getString(MylarTaskListPlugin.DEFAULT_URL_PREFIX);
protected void setButtonStatus(){ String url = issueURLTextWidget.getText(); if (url.length() > 10 && (url.startsWith("http://") || url.startsWith("https://"))){ String defaultPrefix = MylarPlugin.getDefault().getPreferenceStore().getString(MylarTasklistPlugin.DEFAULT_URL_PREFIX); if (url.equals(defaultPrefix)){ getDescButton.setEnabled(false); } else{ getDescButton.setEnabled(true); } } else{ getDescButton.setEnabled(false); } }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/7434c54adb9b67993df3b0ee032cca0eaf5003f3/TaskInputDialog.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/views/TaskInputDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 444, 3616, 1482, 1435, 95, 202, 202, 780, 880, 273, 5672, 1785, 1528, 4609, 18, 588, 1528, 5621, 9506, 202, 430, 261, 718, 18, 2469, 1435, 405, 1728, 597, 261, 718, 18, 17514, 1190, 2932, 2505, 2207, 7923, 747, 880, 18, 17514, 1190, 2932, 4528, 14334, 3719, 15329, 1082, 202, 780, 805, 2244, 273, 8005, 7901, 3773, 18, 588, 1868, 7675, 588, 9624, 2257, 7675, 588, 780, 12, 12062, 7901, 2174, 1098, 3773, 18, 5280, 67, 1785, 67, 6307, 1769, 1082, 202, 430, 261, 718, 18, 14963, 12, 1886, 2244, 3719, 95, 9506, 202, 588, 4217, 3616, 18, 542, 1526, 12, 5743, 1769, 1082, 202, 97, 1082, 202, 12107, 95, 9506, 202, 588, 4217, 3616, 18, 542, 1526, 12, 3767, 1769, 1082, 202, 97, 202, 202, 97, 202, 202, 12107, 95, 1082, 202, 588, 4217, 3616, 18, 542, 1526, 12, 5743, 1769, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 444, 3616, 1482, 1435, 95, 202, 202, 780, 880, 273, 5672, 1785, 1528, 4609, 18, 588, 1528, 5621, 9506, 202, 430, 261, 718, 18, 2469, 1435, 405, 1728, 597, 261, 718, 18, 17514, 1190, 2932, 2505, 2207, 7923, 747, 880, 18, 17514, 1190, 2932, 4528, 14334, 3719, 15329, 1082, 202, 780, 805, 2244, 273, 8005, 7901, 3773, 18, 588, 1868, 7675, 588, 9624, 2257, 7675, 588, 780, 12, 12062, 7901, 2174, 1098, 3773, 18, 5280, 67, 1785, 67, 6307, 1769, 1082, 202, 430, 261, 718, 18, 14963, 12, 1886, 2244, 3719, 95, 9506, 202, 588, 4217, 3616, 18, 542, 1526, 12, 5743, 1769, 1082, 202, 97, 1082, 202, 12107, 95, 9506, 202, 588, 4217, 3616, 2 ]
case Id_italics: return realThis(thisObj, f). jsFunction_italics();
case Id_fixed: return realThis(thisObj, f).jsFunction_fixed();
public Object execMethod (int methodId, IdFunction f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) throws JavaScriptException { switch (methodId) { case ConstructorId_fromCharCode: return jsStaticFunction_fromCharCode(args); case Id_constructor: return jsConstructor(args, thisObj == null); case Id_toString: return realThis(thisObj, f). jsFunction_toString(); case Id_valueOf: return realThis(thisObj, f). jsFunction_valueOf(); case Id_charAt: return jsFunction_charAt(ScriptRuntime.toString(thisObj), args); case Id_charCodeAt: return wrap_double( jsFunction_charCodeAt(ScriptRuntime.toString(thisObj), args)); case Id_indexOf: return wrap_int( jsFunction_indexOf(ScriptRuntime.toString(thisObj), args)); case Id_lastIndexOf: return wrap_int( jsFunction_lastIndexOf(ScriptRuntime.toString(thisObj), args)); case Id_split: return jsFunction_split(cx, ScriptRuntime.toString(thisObj), args, f); case Id_substring: return jsFunction_substring(cx, ScriptRuntime.toString(thisObj), args); case Id_toLowerCase: return jsFunction_toLowerCase(ScriptRuntime.toString(thisObj)); case Id_toUpperCase: return jsFunction_toUpperCase(ScriptRuntime.toString(thisObj)); case Id_substr: return jsFunction_substr(ScriptRuntime.toString(thisObj), args); case Id_concat: return jsFunction_concat(ScriptRuntime.toString(thisObj), args); case Id_slice: return jsFunction_slice(ScriptRuntime.toString(thisObj), args); case Id_bold: return realThis(thisObj, f). jsFunction_bold(); case Id_italics: return realThis(thisObj, f). jsFunction_italics(); case Id_fixed: return realThis(thisObj, f). jsFunction_fixed(); case Id_strike: return realThis(thisObj, f). jsFunction_strike(); case Id_small: return realThis(thisObj, f). jsFunction_small(); case Id_big: return realThis(thisObj, f). jsFunction_big(); case Id_blink: return realThis(thisObj, f). jsFunction_blink(); case Id_sup: return realThis(thisObj, f). jsFunction_sup(); case Id_sub: return realThis(thisObj, f). jsFunction_sub(); case Id_fontsize: return realThis(thisObj, f). jsFunction_fontsize(ScriptRuntime.toString(args, 0)); case Id_fontcolor: return realThis(thisObj, f). jsFunction_fontcolor(ScriptRuntime.toString(args, 0)); case Id_link: return realThis(thisObj, f). jsFunction_link(ScriptRuntime.toString(args, 0)); case Id_anchor: return realThis(thisObj, f). jsFunction_anchor(ScriptRuntime.toString(args, 0)); case Id_equals: return wrap_boolean( jsFunction_equals(ScriptRuntime.toString(thisObj), ScriptRuntime.toString(args, 0))); case Id_equalsIgnoreCase: return wrap_boolean( jsFunction_equalsIgnoreCase(ScriptRuntime.toString(thisObj), ScriptRuntime.toString(args, 0))); case Id_match: return jsFunction_match(cx, thisObj, args, f); case Id_search: return jsFunction_search(cx, thisObj, args, f); case Id_replace: return jsFunction_replace(cx, thisObj, args, f); } return super.execMethod(methodId, f, cx, scope, thisObj, args); }
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/35caf7c2bb93872680ae16e34746d94fe1e533e3/NativeString.java/buggy/js/rhino/src/org/mozilla/javascript/NativeString.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 1196, 1305, 3639, 261, 474, 707, 548, 16, 3124, 2083, 284, 16, 540, 1772, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 1033, 8526, 833, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 1620, 261, 2039, 548, 13, 288, 3639, 648, 11417, 548, 67, 2080, 20535, 30, 327, 5411, 3828, 5788, 2083, 67, 2080, 20535, 12, 1968, 1769, 3639, 648, 3124, 67, 12316, 30, 327, 5411, 3828, 6293, 12, 1968, 16, 15261, 422, 446, 1769, 3639, 648, 3124, 67, 10492, 30, 327, 2863, 2503, 12, 2211, 2675, 16, 284, 2934, 5411, 3828, 2083, 67, 10492, 5621, 3639, 648, 3124, 67, 1132, 951, 30, 327, 2863, 2503, 12, 2211, 2675, 16, 284, 2934, 5411, 3828, 2083, 67, 1132, 951, 5621, 3639, 648, 3124, 67, 3001, 861, 30, 327, 5411, 3828, 2083, 67, 3001, 861, 12, 3651, 5576, 18, 10492, 12, 2211, 2675, 3631, 833, 1769, 3639, 648, 3124, 67, 3001, 1085, 861, 30, 327, 2193, 67, 9056, 12, 5411, 3828, 2083, 67, 3001, 1085, 861, 12, 3651, 5576, 18, 10492, 12, 2211, 2675, 3631, 833, 10019, 3639, 648, 3124, 67, 31806, 30, 327, 2193, 67, 474, 12, 5411, 3828, 2083, 67, 31806, 12, 3651, 5576, 18, 10492, 12, 2211, 2675, 3631, 833, 10019, 3639, 648, 3124, 67, 2722, 31985, 30, 327, 2193, 67, 474, 12, 5411, 3828, 2083, 67, 2722, 31985, 12, 3651, 5576, 18, 10492, 12, 2211, 2675, 3631, 833, 10019, 3639, 648, 3124, 67, 4939, 30, 327, 5411, 3828, 2083, 67, 4939, 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, 1033, 1196, 1305, 3639, 261, 474, 707, 548, 16, 3124, 2083, 284, 16, 540, 1772, 9494, 16, 22780, 2146, 16, 22780, 15261, 16, 1033, 8526, 833, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 1620, 261, 2039, 548, 13, 288, 3639, 648, 11417, 548, 67, 2080, 20535, 30, 327, 5411, 3828, 5788, 2083, 67, 2080, 20535, 12, 1968, 1769, 3639, 648, 3124, 67, 12316, 30, 327, 5411, 3828, 6293, 12, 1968, 16, 15261, 422, 446, 1769, 3639, 648, 3124, 67, 10492, 30, 327, 2863, 2503, 12, 2211, 2675, 16, 284, 2934, 5411, 3828, 2083, 67, 10492, 5621, 3639, 648, 3124, 67, 1132, 951, 30, 327, 2863, 2503, 12, 2211, 2675, 16, 284, 2934, 5411, 3828, 2083, 67, 2 ]
(pixels[y*width + x] & 0x00ffffff) : pixels[y*width + x];
(pixels[y*width + x] | 0xff000000) : pixels[y*width + x];
public int get(int x, int y) { if ((x < 0) || (y < 0) || (x >= width) || (y >= height)) return 0; return (format == RGB) ? (pixels[y*width + x] & 0x00ffffff) : pixels[y*width + x]; //(pixels[y*width + x] & 0xff000000) : pixels[y*width + x]; }
8833 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8833/331bf24f949323923485cf63f610d7922d31946f/PImage.java/clean/core/PImage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 336, 12, 474, 619, 16, 509, 677, 13, 288, 565, 309, 14015, 92, 411, 374, 13, 747, 261, 93, 411, 374, 13, 747, 261, 92, 1545, 1835, 13, 747, 261, 93, 1545, 2072, 3719, 327, 374, 31, 565, 327, 261, 2139, 422, 11510, 13, 692, 4202, 261, 21084, 63, 93, 14, 2819, 397, 619, 65, 571, 374, 5297, 9449, 13, 294, 8948, 63, 93, 14, 2819, 397, 619, 15533, 377, 368, 12, 21084, 63, 93, 14, 2819, 397, 619, 65, 473, 374, 5297, 9449, 13, 294, 8948, 63, 93, 14, 2819, 397, 619, 15533, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 336, 12, 474, 619, 16, 509, 677, 13, 288, 565, 309, 14015, 92, 411, 374, 13, 747, 261, 93, 411, 374, 13, 747, 261, 92, 1545, 1835, 13, 747, 261, 93, 1545, 2072, 3719, 327, 374, 31, 565, 327, 261, 2139, 422, 11510, 13, 692, 4202, 261, 21084, 63, 93, 14, 2819, 397, 619, 65, 571, 374, 5297, 9449, 13, 294, 8948, 63, 93, 14, 2819, 397, 619, 15533, 377, 368, 12, 21084, 63, 93, 14, 2819, 397, 619, 65, 473, 374, 5297, 9449, 13, 294, 8948, 63, 93, 14, 2819, 397, 619, 15533, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public CredentialsNotSetException(UMOMessage umoMessage, UMOSecurityContext context, UMOImmutableEndpoint endpoint, UMOEndpointSecurityFilter filter)
public CredentialsNotSetException(Message message, UMOMessage umoMessage)
public CredentialsNotSetException(UMOMessage umoMessage, UMOSecurityContext context, UMOImmutableEndpoint endpoint, UMOEndpointSecurityFilter filter) { super(umoMessage, context, endpoint, filter); }
28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/5f11d3c7c4a6860001997529ec9cb38955dcdcf5/CredentialsNotSetException.java/buggy/mule/src/main/java/org/mule/umo/security/CredentialsNotSetException.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 14582, 1248, 24582, 12, 2799, 51, 1079, 9570, 83, 1079, 16, 4766, 1377, 587, 5980, 28646, 819, 16, 4766, 1377, 587, 5980, 16014, 3293, 2494, 16, 4766, 1377, 587, 5980, 3293, 4368, 1586, 1034, 13, 565, 288, 3639, 2240, 12, 379, 83, 1079, 16, 819, 16, 2494, 16, 1034, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 14582, 1248, 24582, 12, 2799, 51, 1079, 9570, 83, 1079, 16, 4766, 1377, 587, 5980, 28646, 819, 16, 4766, 1377, 587, 5980, 16014, 3293, 2494, 16, 4766, 1377, 587, 5980, 3293, 4368, 1586, 1034, 13, 565, 288, 3639, 2240, 12, 379, 83, 1079, 16, 819, 16, 2494, 16, 1034, 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 ]