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
protected boolean hasDependentDescriptors() {
protected boolean hasDependentDescriptors() {
protected boolean hasDependentDescriptors() { return dependentDescriptors != null && !dependentDescriptors.isEmpty(); }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/c93d807ed962723d90daba76fc2003e2c1801cbc/CommonActionProviderDescriptor.java/buggy/bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/internal/navigator/actions/CommonActionProviderDescriptor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 1250, 711, 18571, 12705, 1435, 288, 3196, 202, 2463, 10460, 12705, 480, 446, 597, 401, 10891, 12705, 18, 291, 1921, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1250, 711, 18571, 12705, 1435, 288, 3196, 202, 2463, 10460, 12705, 480, 446, 597, 401, 10891, 12705, 18, 291, 1921, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
is.setDate(Timestamp.valueOf(img.getCreated()));
is.setDate(PrimitiveTypesMapper.getTimestamp(img.getCreated()));
static ImageSummary buildImageSummary(Image img, ImageSummary is) { Pixels px; px = img.getDefaultPixels(); is.setID(img.getID()); is.setName(img.getName()); is.setPixelsIDs(fillListPixelsID(px)); is.setDate(Timestamp.valueOf(img.getCreated())); //is.setImageServerPixelsID(fillListPixelsID(px)); return is; }
54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/5dbbc3e7786c9d237cda00632eddf9d6b5a29870/ImageMapper.java/buggy/SRC/org/openmicroscopy/shoola/env/data/map/ImageMapper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 3421, 4733, 1361, 2040, 4733, 12, 2040, 3774, 16, 3421, 4733, 353, 13, 565, 288, 3639, 26070, 87, 10318, 31, 3639, 10318, 273, 3774, 18, 588, 1868, 18079, 5621, 3639, 353, 18, 542, 734, 12, 6081, 18, 588, 734, 10663, 3639, 353, 18, 542, 461, 12, 6081, 18, 17994, 10663, 3639, 353, 18, 542, 18079, 5103, 12, 5935, 682, 18079, 734, 12, 4430, 10019, 3639, 353, 18, 542, 1626, 12, 9840, 2016, 4597, 18, 588, 4921, 12, 6081, 18, 588, 6119, 1435, 10019, 3639, 368, 291, 18, 542, 2040, 2081, 18079, 734, 12, 5935, 682, 18079, 734, 12, 4430, 10019, 3639, 327, 353, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 3421, 4733, 1361, 2040, 4733, 12, 2040, 3774, 16, 3421, 4733, 353, 13, 565, 288, 3639, 26070, 87, 10318, 31, 3639, 10318, 273, 3774, 18, 588, 1868, 18079, 5621, 3639, 353, 18, 542, 734, 12, 6081, 18, 588, 734, 10663, 3639, 353, 18, 542, 461, 12, 6081, 18, 17994, 10663, 3639, 353, 18, 542, 18079, 5103, 12, 5935, 682, 18079, 734, 12, 4430, 10019, 3639, 353, 18, 542, 1626, 12, 9840, 2016, 4597, 18, 588, 4921, 12, 6081, 18, 588, 6119, 1435, 10019, 3639, 368, 291, 18, 542, 2040, 2081, 18079, 734, 12, 5935, 682, 18079, 734, 12, 4430, 10019, 3639, 327, 353, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
String sameName = (String)m_sameName.get(i); if (sameName.length() < n || sameName.charAt(n) != c)
boolean samePrefix = true; if (file.toString().length() <= n) break; char c = file.toString().charAt(n); for (int i = 0; i < m_sameName.size(); ++i)
public void add(File file) { String name = file.getName(); m_menu.add(name, file.toString()); m_sameName.clear(); for (int i = 0; i < getCount(); ++i) if (getName(i).equals(name)) m_sameName.add(getValue(i)); int n = 0; while (true) { boolean samePrefix = true; char c = file.toString().charAt(n); for (int i = 0; i < m_sameName.size(); ++i) { String sameName = (String)m_sameName.get(i); if (sameName.length() < n || sameName.charAt(n) != c) { samePrefix = false; break; } } if (! samePrefix) break; ++n; } for (int i = 0; i < getCount(); ++i) if (getName(i).equals(name)) m_menu.setLabel(i, getValue(i).substring(n)); }
2255 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2255/309601e5499ebba724af4e4349179a237f80ae59/RecentFileMenu.java/buggy/src/net/sf/gogui/gui/RecentFileMenu.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 12, 812, 585, 13, 565, 288, 3639, 514, 508, 273, 585, 18, 17994, 5621, 3639, 312, 67, 5414, 18, 1289, 12, 529, 16, 585, 18, 10492, 10663, 3639, 312, 67, 14307, 461, 18, 8507, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 14155, 5621, 965, 77, 13, 5411, 309, 261, 17994, 12, 77, 2934, 14963, 12, 529, 3719, 7734, 312, 67, 14307, 461, 18, 1289, 12, 24805, 12, 77, 10019, 3639, 509, 290, 273, 374, 31, 3639, 1323, 261, 3767, 13, 3639, 288, 5411, 1250, 1967, 2244, 273, 638, 31, 5411, 1149, 276, 273, 585, 18, 10492, 7675, 3001, 861, 12, 82, 1769, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 312, 67, 14307, 461, 18, 1467, 5621, 965, 77, 13, 5411, 288, 7734, 514, 1967, 461, 273, 261, 780, 13, 81, 67, 14307, 461, 18, 588, 12, 77, 1769, 7734, 309, 261, 14307, 461, 18, 2469, 1435, 411, 290, 747, 1967, 461, 18, 3001, 861, 12, 82, 13, 480, 276, 13, 7734, 288, 10792, 1967, 2244, 273, 629, 31, 10792, 898, 31, 7734, 289, 5411, 289, 5411, 309, 16051, 1967, 2244, 13, 7734, 898, 31, 5411, 965, 82, 31, 3639, 289, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 14155, 5621, 965, 77, 13, 5411, 309, 261, 17994, 12, 77, 2934, 14963, 12, 529, 3719, 7734, 312, 67, 5414, 18, 542, 2224, 12, 77, 16, 2366, 12, 77, 2934, 28023, 12, 82, 10019, 565, 289, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 12, 812, 585, 13, 565, 288, 3639, 514, 508, 273, 585, 18, 17994, 5621, 3639, 312, 67, 5414, 18, 1289, 12, 529, 16, 585, 18, 10492, 10663, 3639, 312, 67, 14307, 461, 18, 8507, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 14155, 5621, 965, 77, 13, 5411, 309, 261, 17994, 12, 77, 2934, 14963, 12, 529, 3719, 7734, 312, 67, 14307, 461, 18, 1289, 12, 24805, 12, 77, 10019, 3639, 509, 290, 273, 374, 31, 3639, 1323, 261, 3767, 13, 3639, 288, 5411, 1250, 1967, 2244, 273, 638, 31, 5411, 1149, 276, 273, 585, 18, 10492, 7675, 3001, 861, 12, 82, 1769, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 2 ]
return priorities[0]; }
return priorities[0]; }
public int getTopPriority() { return priorities[0]; }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/229c44b72ac5a176a7c4d6328bcc38d5cf41c6c3/TableSorter.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/TableSorter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 13729, 8183, 1435, 288, 3639, 327, 26783, 63, 20, 15533, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 13729, 8183, 1435, 288, 3639, 327, 26783, 63, 20, 15533, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
jjAddStates(13, 15);
jjAddStates(15, 17);
private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 71; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 0: if ((0x3ff000000000000L & l) != 0L) { if (kind > 4) kind = 4; jjCheckNAddStates(0, 8); } else if ((0x100003600L & l) != 0L) { if (kind > 1) kind = 1; } else if ((0x8000281000000000L & l) != 0L) { if (kind > 10) kind = 10; jjCheckNAdd(21); } else if (curChar == 37) jjCheckNAddStates(9, 12); else if (curChar == 47) jjstateSet[jjnewStateCnt++] = 26; else if (curChar == 40) jjCheckNAddStates(13, 15); else if (curChar == 46) jjCheckNAdd(6); if (curChar == 45) jjCheckNAddStates(16, 21); else if (curChar == 47) jjCheckNAddTwoStates(23, 24); else if (curChar == 48) jjstateSet[jjnewStateCnt++] = 2; break; case 1: if (curChar == 48) jjstateSet[jjnewStateCnt++] = 2; break; case 3: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 4) kind = 4; jjCheckNAddTwoStates(3, 4); break; case 5: if (curChar == 46) jjCheckNAdd(6); break; case 6: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddStates(22, 24); break; case 8: if ((0x280000000000L & l) != 0L) jjCheckNAdd(9); break; case 9: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(9, 10); break; case 11: if (curChar == 40) jjCheckNAddStates(13, 15); break; case 12: if ((0xfffffdffffffffffL & l) != 0L) jjCheckNAddStates(13, 15); break; case 14: if ((0x28000000400L & l) != 0L) jjCheckNAddStates(13, 15); break; case 15: if (curChar == 41 && kind > 9) kind = 9; break; case 16: if ((0xff000000000000L & l) != 0L) jjCheckNAddStates(25, 28); break; case 17: if ((0xff000000000000L & l) != 0L) jjCheckNAddStates(13, 15); break; case 18: if ((0xf000000000000L & l) != 0L) jjstateSet[jjnewStateCnt++] = 19; break; case 19: if ((0xff000000000000L & l) != 0L) jjCheckNAdd(17); break; case 20: if ((0x8000281000000000L & l) == 0L) break; if (kind > 10) kind = 10; jjCheckNAdd(21); break; case 21: if ((0x83ff681000000000L & l) == 0L) break; if (kind > 10) kind = 10; jjCheckNAdd(21); break; case 22: if (curChar == 47) jjCheckNAddTwoStates(23, 24); break; case 23: if (curChar == 46) jjCheckNAdd(24); break; case 24: if ((0x8000281000000000L & l) == 0L) break; if (kind > 11) kind = 11; jjCheckNAdd(25); break; case 25: if ((0x83ff681000000000L & l) == 0L) break; if (kind > 11) kind = 11; jjCheckNAdd(25); break; case 26: if (curChar == 47) jjstateSet[jjnewStateCnt++] = 27; break; case 27: if ((0x8000281000000000L & l) == 0L) break; if (kind > 12) kind = 12; jjCheckNAdd(28); break; case 28: if ((0x83ff681000000000L & l) == 0L) break; if (kind > 12) kind = 12; jjCheckNAdd(28); break; case 29: if (curChar == 47) jjstateSet[jjnewStateCnt++] = 26; break; case 30: if (curChar == 37) jjCheckNAddStates(9, 12); break; case 31: if ((0xfffffffffffffbffL & l) != 0L) jjCheckNAddTwoStates(31, 32); break; case 32: if (curChar == 10 && kind > 2) kind = 2; break; case 33: if ((0xffffffffffffdfffL & l) != 0L) jjCheckNAddTwoStates(33, 34); break; case 34: if (curChar == 13 && kind > 3) kind = 3; break; case 35: if (curChar == 45) jjCheckNAddStates(16, 21); break; case 36: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 4) kind = 4; jjCheckNAddTwoStates(36, 4); break; case 37: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(37, 38); break; case 38: if (curChar != 46) break; if (kind > 7) kind = 7; jjCheckNAddStates(29, 31); break; case 39: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddStates(29, 31); break; case 41: if ((0x280000000000L & l) != 0L) jjCheckNAdd(42); break; case 42: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(42, 10); break; case 43: if (curChar == 46) jjCheckNAdd(44); break; case 44: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddStates(32, 34); break; case 46: if ((0x280000000000L & l) != 0L) jjCheckNAdd(47); break; case 47: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(47, 10); break; case 48: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(48, 49); break; case 50: if ((0x280000000000L & l) != 0L) jjCheckNAdd(51); break; case 51: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(51, 10); break; case 52: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(35, 37); break; case 54: if ((0x280000000000L & l) != 0L) jjCheckNAdd(55); break; case 55: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(55, 10); break; case 56: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 4) kind = 4; jjCheckNAddStates(0, 8); break; case 57: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(57, 58); break; case 58: if (curChar != 46) break; if (kind > 7) kind = 7; jjCheckNAddStates(38, 40); break; case 59: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddStates(38, 40); break; case 61: if ((0x280000000000L & l) != 0L) jjCheckNAdd(62); break; case 62: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(62, 10); break; case 63: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(63, 64); break; case 65: if ((0x280000000000L & l) != 0L) jjCheckNAdd(66); break; case 66: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddTwoStates(66, 10); break; case 67: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(41, 43); break; case 69: if ((0x280000000000L & l) != 0L) jjCheckNAdd(70); break; case 70: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(70, 10); break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 0: case 21: if ((0x7fffffe87fffffeL & l) == 0L) break; if (kind > 10) kind = 10; jjCheckNAdd(21); break; case 2: if ((0x100000001000000L & l) != 0L) jjCheckNAdd(3); break; case 3: if ((0x7e0000007eL & l) == 0L) break; if (kind > 4) kind = 4; jjCheckNAddTwoStates(3, 4); break; case 4: if ((0x100000001000L & l) != 0L && kind > 4) kind = 4; break; case 7: if ((0x2000000020L & l) != 0L) jjAddStates(44, 45); break; case 10: if ((0x5000000050L & l) != 0L && kind > 7) kind = 7; break; case 12: if ((0xffffffffefffffffL & l) != 0L) jjCheckNAddStates(13, 15); break; case 13: if (curChar == 92) jjAddStates(46, 48); break; case 14: if ((0x14404410000000L & l) != 0L) jjCheckNAddStates(13, 15); break; case 24: case 25: if ((0x7fffffe87fffffeL & l) == 0L) break; if (kind > 11) kind = 11; jjCheckNAdd(25); break; case 27: case 28: if ((0x7fffffe87fffffeL & l) == 0L) break; if (kind > 12) kind = 12; jjCheckNAdd(28); break; case 31: jjAddStates(49, 50); break; case 33: jjAddStates(51, 52); break; case 40: if ((0x2000000020L & l) != 0L) jjAddStates(53, 54); break; case 45: if ((0x2000000020L & l) != 0L) jjAddStates(55, 56); break; case 49: if ((0x2000000020L & l) != 0L) jjAddStates(57, 58); break; case 53: if ((0x2000000020L & l) != 0L) jjAddStates(59, 60); break; case 60: if ((0x2000000020L & l) != 0L) jjAddStates(61, 62); break; case 64: if ((0x2000000020L & l) != 0L) jjAddStates(63, 64); break; case 68: if ((0x2000000020L & l) != 0L) jjAddStates(65, 66); break; default : break; } } while(i != startsAt); } else { int hiByte = (int)(curChar >> 8); int i1 = hiByte >> 6; long l1 = 1L << (hiByte & 077); int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 0: case 21: if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) break; if (kind > 10) kind = 10; jjCheckNAdd(21); break; case 12: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjAddStates(13, 15); break; case 24: case 25: if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) break; if (kind > 11) kind = 11; jjCheckNAdd(25); break; case 27: case 28: if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) break; if (kind > 12) kind = 12; jjCheckNAdd(28); break; case 31: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjAddStates(49, 50); break; case 33: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjAddStates(51, 52); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 71 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } }}
3011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3011/3cd4a973dbdca1f7072d8e189d388c5a878cc9a6/PAParserTokenManager.java/buggy/itext/src/com/lowagie/text/pdf/codec/postscript/PAParserTokenManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 727, 509, 10684, 7607, 50, 507, 67, 20, 12, 474, 787, 1119, 16, 509, 662, 1616, 15329, 282, 509, 8526, 1024, 7629, 31, 282, 509, 2542, 861, 273, 374, 31, 282, 10684, 2704, 1119, 11750, 273, 26465, 31, 282, 509, 277, 273, 404, 31, 282, 10684, 2019, 694, 63, 20, 65, 273, 787, 1119, 31, 282, 509, 525, 16, 3846, 273, 374, 92, 27, 18217, 74, 31, 282, 364, 261, 25708, 13, 282, 288, 1377, 309, 261, 9904, 78, 78, 2260, 422, 374, 92, 27, 18217, 74, 13, 540, 868, 2570, 54, 9284, 5621, 1377, 309, 261, 1397, 2156, 411, 5178, 13, 1377, 288, 540, 1525, 328, 273, 404, 48, 2296, 662, 2156, 31, 540, 4639, 6452, 30, 741, 540, 288, 5411, 1620, 12, 78, 78, 2019, 694, 63, 413, 77, 5717, 5411, 288, 9079, 648, 374, 30, 5375, 309, 14015, 20, 92, 23, 1403, 12648, 2787, 48, 473, 328, 13, 480, 374, 48, 13, 5375, 288, 5397, 309, 261, 9224, 405, 1059, 13, 13491, 3846, 273, 1059, 31, 5397, 10684, 1564, 50, 986, 7629, 12, 20, 16, 1725, 1769, 5375, 289, 5375, 469, 309, 14015, 20, 92, 23899, 5718, 713, 48, 473, 328, 13, 480, 374, 48, 13, 5375, 288, 5397, 309, 261, 9224, 405, 404, 13, 13491, 3846, 273, 404, 31, 5375, 289, 5375, 469, 309, 14015, 20, 92, 17374, 3103, 11861, 2787, 11706, 48, 473, 328, 13, 480, 374, 48, 13, 5375, 288, 5397, 309, 261, 9224, 405, 1728, 13, 13491, 3846, 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, 3238, 727, 509, 10684, 7607, 50, 507, 67, 20, 12, 474, 787, 1119, 16, 509, 662, 1616, 15329, 282, 509, 8526, 1024, 7629, 31, 282, 509, 2542, 861, 273, 374, 31, 282, 10684, 2704, 1119, 11750, 273, 26465, 31, 282, 509, 277, 273, 404, 31, 282, 10684, 2019, 694, 63, 20, 65, 273, 787, 1119, 31, 282, 509, 525, 16, 3846, 273, 374, 92, 27, 18217, 74, 31, 282, 364, 261, 25708, 13, 282, 288, 1377, 309, 261, 9904, 78, 78, 2260, 422, 374, 92, 27, 18217, 74, 13, 540, 868, 2570, 54, 9284, 5621, 1377, 309, 261, 1397, 2156, 411, 5178, 13, 1377, 288, 540, 1525, 328, 273, 404, 48, 2296, 662, 2156, 31, 540, 4639, 6452, 30, 2 ]
writeOut(name);
writeOut( name );
protected void writeCentralFileHeader(ZipEntry ze) throws IOException { writeOut(CFH_SIG.getBytes()); written += 4; // version made by writeOut((new ZipShort((ze.getPlatform() << 8) | 20)).getBytes()); written += 2; // version needed to extract // general purpose bit flag if (ze.getMethod() == DEFLATED && raf == null) { // requires version 2 as we are going to store length info // in the data descriptor writeOut((new ZipShort(20)).getBytes()); // bit3 set to signal, we use a data descriptor writeOut((new ZipShort(8)).getBytes()); } else { writeOut((new ZipShort(10)).getBytes()); writeOut(ZERO); } written += 4; // compression method writeOut((new ZipShort(ze.getMethod())).getBytes()); written += 2; // last mod. time and date writeOut(toDosTime(new Date(ze.getTime())).getBytes()); written += 4; // CRC // compressed length // uncompressed length writeOut((new ZipLong(ze.getCrc())).getBytes()); writeOut((new ZipLong(ze.getCompressedSize())).getBytes()); writeOut((new ZipLong(ze.getSize())).getBytes()); written += 12; // file name length byte[] name = getBytes(ze.getName()); writeOut((new ZipShort(name.length)).getBytes()); written += 2; // extra field length byte[] extra = ze.getCentralDirectoryExtra(); writeOut((new ZipShort(extra.length)).getBytes()); written += 2; // file comment length String comm = ze.getComment(); if (comm == null) { comm = ""; } byte[] comment = getBytes(comm); writeOut((new ZipShort(comment.length)).getBytes()); written += 2; // disk number start writeOut(ZERO); written += 2; // internal file attributes writeOut((new ZipShort(ze.getInternalAttributes())).getBytes()); written += 2; // external file attributes writeOut((new ZipLong(ze.getExternalAttributes())).getBytes()); written += 4; // relative offset of LFH writeOut(((ZipLong) offsets.get(ze)).getBytes()); written += 4; // file name writeOut(name); written += name.length; // extra field writeOut(extra); written += extra.length; // file comment writeOut(comment); written += comment.length; }
10884 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10884/8348e0b29d34f62b8f140a99598373fb0cbf7fcb/ZipOutputStream.java/clean/src/main/java/org/codehaus/plexus/archiver/zip/ZipOutputStream.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1045, 39, 12839, 812, 1864, 12, 9141, 1622, 26637, 13, 1216, 1860, 288, 3639, 1045, 1182, 12, 8955, 44, 67, 18513, 18, 588, 2160, 10663, 3639, 5941, 1011, 1059, 31, 3639, 368, 1177, 7165, 635, 3639, 1045, 1182, 12443, 2704, 8603, 4897, 12443, 8489, 18, 588, 8201, 1435, 2296, 1725, 13, 571, 4200, 13, 2934, 588, 2160, 10663, 3639, 5941, 1011, 576, 31, 3639, 368, 1177, 3577, 358, 2608, 3639, 368, 7470, 13115, 2831, 2982, 3639, 309, 261, 8489, 18, 588, 1305, 1435, 422, 2030, 19054, 6344, 597, 24671, 422, 446, 13, 288, 5411, 368, 4991, 1177, 576, 487, 732, 854, 8554, 358, 1707, 769, 1123, 5411, 368, 316, 326, 501, 4950, 5411, 1045, 1182, 12443, 2704, 8603, 4897, 12, 3462, 13, 2934, 588, 2160, 10663, 5411, 368, 2831, 23, 444, 358, 4277, 16, 732, 999, 279, 501, 4950, 5411, 1045, 1182, 12443, 2704, 8603, 4897, 12, 28, 13, 2934, 588, 2160, 10663, 3639, 289, 469, 288, 5411, 1045, 1182, 12443, 2704, 8603, 4897, 12, 2163, 13, 2934, 588, 2160, 10663, 5411, 1045, 1182, 12, 24968, 1769, 3639, 289, 3639, 5941, 1011, 1059, 31, 3639, 368, 9154, 707, 3639, 1045, 1182, 12443, 2704, 8603, 4897, 12, 8489, 18, 588, 1305, 10756, 2934, 588, 2160, 10663, 3639, 5941, 1011, 576, 31, 3639, 368, 1142, 681, 18, 813, 471, 1509, 3639, 1045, 1182, 12, 869, 40, 538, 950, 12, 2704, 2167, 12, 8489, 18, 588, 950, 10756, 2934, 588, 2160, 10663, 3639, 5941, 1011, 1059, 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, 4750, 918, 1045, 39, 12839, 812, 1864, 12, 9141, 1622, 26637, 13, 1216, 1860, 288, 3639, 1045, 1182, 12, 8955, 44, 67, 18513, 18, 588, 2160, 10663, 3639, 5941, 1011, 1059, 31, 3639, 368, 1177, 7165, 635, 3639, 1045, 1182, 12443, 2704, 8603, 4897, 12443, 8489, 18, 588, 8201, 1435, 2296, 1725, 13, 571, 4200, 13, 2934, 588, 2160, 10663, 3639, 5941, 1011, 576, 31, 3639, 368, 1177, 3577, 358, 2608, 3639, 368, 7470, 13115, 2831, 2982, 3639, 309, 261, 8489, 18, 588, 1305, 1435, 422, 2030, 19054, 6344, 597, 24671, 422, 446, 13, 288, 5411, 368, 4991, 1177, 576, 487, 732, 854, 8554, 358, 1707, 769, 1123, 5411, 368, 316, 326, 501, 4950, 5411, 1045, 1182, 12443, 2 ]
}
}
public boolean startJob(String arguments, Object condition, CommandRecord commandRec, boolean hiredByName) { makeMenu("List"); addMenuItem("Make New Genetic Code Set...", makeCommand("newCodeset", this)); return true; }
55939 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55939/e196169095dd958806ffe4bba83752cbe67c02e6/CodesetList.java/clean/Source/mesquite/molec/CodesetList/CodesetList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 787, 2278, 12, 780, 1775, 16, 1033, 2269, 16, 3498, 2115, 1296, 5650, 16, 1250, 366, 2921, 5911, 13, 288, 202, 202, 6540, 4599, 2932, 682, 8863, 202, 202, 1289, 12958, 2932, 6464, 1166, 10938, 7943, 3356, 1000, 7070, 16, 1221, 2189, 2932, 2704, 6295, 278, 3113, 225, 333, 10019, 202, 202, 2463, 638, 31, 21114, 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, 225, 202, 482, 1250, 787, 2278, 12, 780, 1775, 16, 1033, 2269, 16, 3498, 2115, 1296, 5650, 16, 1250, 366, 2921, 5911, 13, 288, 202, 202, 6540, 4599, 2932, 682, 8863, 202, 202, 1289, 12958, 2932, 6464, 1166, 10938, 7943, 3356, 1000, 7070, 16, 1221, 2189, 2932, 2704, 6295, 278, 3113, 225, 333, 10019, 202, 202, 2463, 638, 31, 21114, 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 ]
return configureNode( sourceBuilder.buildNode( datsrc ), file );
return sourceBuilder.buildNode( datsrc );
public DataNode buildNode( Object obj ) throws NoSuchDataException { /* Should be a file. */ File file = (File) obj; if ( ! file.exists() ) { throw new NoSuchDataException( "File " + file + " does not exist" ); } if ( ! file.canRead() ) { throw new NoSuchDataException( "File " + file + " not readable" ); } /* See if it's a directory. */ if ( file.isDirectory() ) { return configureNode( new FileDataNode( file ), file ); } DataSource datsrc = null; try { /* Make a DataSource from the file. */ datsrc = new FileDataSource( file ); datsrc.setName( file.getName() ); /* If there is compression, pass it to the handler for streams. */ Compression compress = datsrc.getCompression(); if ( datsrc.getCompression() != Compression.NONE ) { return configureNode( sourceBuilder.buildNode( datsrc ), file ); } /* Get the magic number. */ byte[] magic = datsrc.getIntro(); /* If it's a FITS file, make it an NDX (if it looks like it * was created as one) or a FITS node. */ if ( FITSDataNode.isMagic( magic ) ) { ArrayDataInput istrm = null; try { InputStream strm1 = datsrc.getInputStream(); istrm = new BufferedDataInputStream( strm1 ); Header hdr = new Header( istrm ); if ( hdr.containsKey( "NDX_XML" ) ) { return configureNode( new NdxDataNode( file ), file ); } else { return configureNode( new FITSFileDataNode( file ), file ); } } catch ( FitsException e ) { throw new NoSuchDataException( e ); } finally { if ( istrm != null ) { istrm.close(); } } } /* If it's an HDS file, make it an NDF (if it is one) * or an HDS node. */ if ( TreeviewUtil.hasHDS() && HDSDataNode.isMagic( magic ) ) { HDSObject hobj = null; try { hobj = new HDSReference( file ).getObject( "READ" ); try { return configureNode( new NDFDataNode( hobj ), file ); } catch ( NoSuchDataException e ) { return configureNode( new HDSDataNode( hobj ), file ); } } catch ( HDSException e ) { throw new NoSuchDataException( e ); } } /* Zip/jar file? */ if ( ZipArchiveDataNode.isMagic( magic ) ) { return configureNode( new ZipFileDataNode( file ), file ); } /* Tar file? */ if ( TarStreamDataNode.isMagic( magic ) ) { return configureNode( new TarStreamDataNode( datsrc ), file ); } /* If it's an XML file delegate it to the XML builder. */ if ( XMLDataNode.isMagic( magic ) ) { DOMSource xsrc = makeDOMSource( file ); return configureNode( xmlBuilder.buildNode( xsrc ), file ); } /* We don't know what it is. */ throw new NoSuchDataException( this + ": don't know" ); } /* IOException means some interesting I/O condition occurred. * This shouldn't happen often - log to the user but return null * to allow other builders to have a go. */ catch ( IOException e ) { throw new NoSuchDataException( e ); } /* Clear up. */ finally { if ( datsrc != null ) { datsrc.close(); } } }
48494 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48494/2a621233450c75bc54e50736bd6bdb7dac4e7a20/FileDataNodeBuilder.java/buggy/treeview/src/main/uk/ac/starlink/treeview/FileDataNodeBuilder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1910, 907, 1361, 907, 12, 1033, 1081, 262, 1216, 5823, 22480, 288, 3639, 1748, 9363, 506, 279, 585, 18, 1195, 3639, 1387, 585, 273, 261, 812, 13, 1081, 31, 3639, 309, 261, 401, 585, 18, 1808, 1435, 262, 288, 5411, 604, 394, 5823, 22480, 12, 315, 812, 315, 397, 585, 397, 315, 1552, 486, 1005, 6, 11272, 3639, 289, 3639, 309, 261, 401, 585, 18, 4169, 1994, 1435, 262, 288, 5411, 604, 394, 5823, 22480, 12, 315, 812, 315, 397, 585, 397, 315, 486, 7471, 6, 11272, 3639, 289, 3639, 1748, 2164, 309, 518, 1807, 279, 1867, 18, 1195, 3639, 309, 261, 585, 18, 291, 2853, 1435, 262, 288, 5411, 327, 5068, 907, 12, 394, 1387, 751, 907, 12, 585, 262, 16, 585, 11272, 3639, 289, 3639, 12806, 1150, 4816, 273, 446, 31, 3639, 775, 288, 5411, 1748, 4344, 279, 12806, 628, 326, 585, 18, 1195, 5411, 1150, 4816, 273, 394, 1387, 8597, 12, 585, 11272, 5411, 1150, 4816, 18, 542, 461, 12, 585, 18, 17994, 1435, 11272, 5411, 1748, 971, 1915, 353, 9154, 16, 1342, 518, 358, 326, 1838, 364, 8205, 18, 1195, 5411, 21139, 8099, 273, 1150, 4816, 18, 588, 15270, 5621, 5411, 309, 261, 1150, 4816, 18, 588, 15270, 1435, 480, 21139, 18, 9826, 262, 288, 7734, 327, 1084, 1263, 18, 3510, 907, 12, 1150, 4816, 11272, 5411, 289, 5411, 1748, 968, 326, 8146, 1300, 18, 1195, 5411, 1160, 8526, 8146, 273, 1150, 4816, 18, 588, 1702, 303, 5621, 5411, 1748, 971, 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, 1910, 907, 1361, 907, 12, 1033, 1081, 262, 1216, 5823, 22480, 288, 3639, 1748, 9363, 506, 279, 585, 18, 1195, 3639, 1387, 585, 273, 261, 812, 13, 1081, 31, 3639, 309, 261, 401, 585, 18, 1808, 1435, 262, 288, 5411, 604, 394, 5823, 22480, 12, 315, 812, 315, 397, 585, 397, 315, 1552, 486, 1005, 6, 11272, 3639, 289, 3639, 309, 261, 401, 585, 18, 4169, 1994, 1435, 262, 288, 5411, 604, 394, 5823, 22480, 12, 315, 812, 315, 397, 585, 397, 315, 486, 7471, 6, 11272, 3639, 289, 3639, 1748, 2164, 309, 518, 1807, 279, 1867, 18, 1195, 3639, 309, 261, 585, 18, 291, 2853, 1435, 262, 288, 5411, 327, 5068, 907, 12, 394, 1387, 751, 2 ]
bc2ir.appendInstruction(Binary.create(VM.BuildFor32Addr ? INT_SUB : LONG_SUB, op0, o1, o2));
bc2ir.appendInstruction(Binary.create(REF_SUB, op0, o1, o2));
static boolean generatePolymorphicMagic(OPT_BC2IR bc2ir, OPT_GenerationContext gc, VM_MethodReference meth, VM_Atom methodName) { VM_TypeReference [] paramTypes = meth.getParameterTypes(); VM_TypeReference resultType = meth.getReturnType(); if (methodName == VM_MagicNames.wordFromInt || methodName == VM_MagicNames.wordFromIntSignExtend) { OPT_RegisterOperand reg = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Unary.create(INT_2ADDRSigExt, reg, bc2ir.popInt())); bc2ir.push(reg.copyD2U()); } else if (methodName == VM_MagicNames.wordFromIntZeroExtend) { OPT_RegisterOperand reg = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Unary.create(INT_2ADDRZerExt, reg, bc2ir.popInt())); bc2ir.push(reg.copyD2U()); } else if (methodName == VM_MagicNames.wordFromLong) { if (VM.BuildFor64Addr) { OPT_RegisterOperand reg = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Move.create(LONG_2ADDR, reg, bc2ir.popLong())); bc2ir.push(reg.copyD2U()); } else { VM._assert(false); //should not reach } } else if (methodName == VM_MagicNames.wordToInt) { OPT_RegisterOperand reg = gc.temps.makeTempInt(); bc2ir.appendInstruction(Unary.create(ADDR_2INT, reg, bc2ir.popAddress())); bc2ir.push(reg.copyD2U()); } else if (methodName == VM_MagicNames.wordToLong) { OPT_RegisterOperand lreg = gc.temps.makeTempLong(); bc2ir.appendInstruction(Unary.create(ADDR_2LONG, lreg, bc2ir.popAddress())); bc2ir.pushDual(lreg.copyD2U()); } else if (methodName == VM_MagicNames.wordToWord) { OPT_RegisterOperand reg = gc.temps.makeTemp(VM_TypeReference.Word); bc2ir.appendInstruction(Move.create(REF_MOVE, reg, bc2ir.popAddress())); bc2ir.push(reg.copyD2U()); } else if (methodName == VM_MagicNames.wordToAddress) { OPT_RegisterOperand reg = gc.temps.makeTemp(VM_TypeReference.Address); bc2ir.appendInstruction(Move.create(REF_MOVE, reg, bc2ir.popAddress())); bc2ir.push(reg.copyD2U()); } else if (methodName == VM_MagicNames.wordToOffset) { OPT_RegisterOperand reg = gc.temps.makeTemp(VM_TypeReference.Offset); bc2ir.appendInstruction(Move.create(REF_MOVE, reg, bc2ir.popAddress())); bc2ir.push(reg.copyD2U()); } else if (methodName == VM_MagicNames.wordToExtent) { OPT_RegisterOperand reg = gc.temps.makeTemp(VM_TypeReference.Extent); bc2ir.appendInstruction(Move.create(REF_MOVE, reg, bc2ir.popAddress())); bc2ir.push(reg.copyD2U()); } else if (methodName == VM_MagicNames.wordAdd) { OPT_Operand o2 = bc2ir.pop(); OPT_Operand o1 = bc2ir.pop(); OPT_RegisterOperand op0 = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Binary.create(VM.BuildFor32Addr ? INT_ADD : LONG_ADD, op0, o1, o2)); bc2ir.push(op0.copyD2U()); } else if (methodName == VM_MagicNames.wordSub) { OPT_Operand o2 = bc2ir.pop(); OPT_Operand o1 = bc2ir.pop(); OPT_RegisterOperand op0 = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Binary.create(VM.BuildFor32Addr ? INT_SUB : LONG_SUB, op0, o1, o2)); bc2ir.push(op0.copyD2U()); } else if (methodName == VM_MagicNames.wordDiff) { OPT_Operand o2 = bc2ir.pop(); OPT_Operand o1 = bc2ir.pop(); OPT_RegisterOperand op0 = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Binary.create(VM.BuildFor32Addr ? INT_SUB : LONG_SUB, op0, o1, o2)); bc2ir.push(op0.copyD2U()); } else if (methodName == VM_MagicNames.wordAnd) { OPT_Operand o2 = bc2ir.pop(); OPT_Operand o1 = bc2ir.pop(); OPT_RegisterOperand op0 = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Binary.create(VM.BuildFor32Addr ? INT_AND : LONG_AND, op0, o1, o2)); bc2ir.push(op0.copyD2U()); } else if (methodName == VM_MagicNames.wordOr) { OPT_Operand o2 = bc2ir.pop(); OPT_Operand o1 = bc2ir.pop(); OPT_RegisterOperand op0 = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Binary.create(VM.BuildFor32Addr ? INT_OR : LONG_OR, op0, o1, o2)); bc2ir.push(op0.copyD2U()); } else if (methodName == VM_MagicNames.wordXor) { OPT_Operand o2 = bc2ir.pop(); OPT_Operand o1 = bc2ir.pop(); OPT_RegisterOperand op0 = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Binary.create(VM.BuildFor32Addr ? INT_XOR : LONG_XOR, op0, o1, o2)); bc2ir.push(op0.copyD2U()); } else if (methodName == VM_MagicNames.wordNot) { OPT_Operand o1 = bc2ir.pop(); OPT_RegisterOperand op0 = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Unary.create(VM.BuildFor32Addr ? INT_NOT : LONG_NOT, op0, o1)); bc2ir.push(op0.copyD2U()); } else if (methodName == VM_MagicNames.wordZero) { OPT_RegisterOperand op0 = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Move.create(REF_MOVE, op0, new OPT_AddressConstantOperand(Address.zero()))); bc2ir.push(op0.copyD2U()); } else if (methodName == VM_MagicNames.wordOne) { OPT_RegisterOperand op0 = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Move.create(REF_MOVE, op0, new OPT_AddressConstantOperand(Address.fromIntZeroExtend(1)))); bc2ir.push(op0.copyD2U()); } else if (methodName == VM_MagicNames.wordMax) { OPT_RegisterOperand op0 = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Move.create(REF_MOVE, op0, new OPT_AddressConstantOperand(Address.max()))); bc2ir.push(op0.copyD2U()); } else if (methodName == VM_MagicNames.wordIsZero) { OPT_RegisterOperand op0 = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Move.create(REF_MOVE, op0, new OPT_AddressConstantOperand(Address.zero()))); OPT_ConditionOperand cond = OPT_ConditionOperand.EQUAL(); cmpHelper(bc2ir,gc,cond, op0); } else if (methodName == VM_MagicNames.wordIsMax) { OPT_RegisterOperand op0 = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Move.create(REF_MOVE, op0, new OPT_AddressConstantOperand(Address.max()))); OPT_ConditionOperand cond = OPT_ConditionOperand.EQUAL(); cmpHelper(bc2ir,gc,cond, op0); } else if (methodName == VM_MagicNames.wordEQ) { OPT_ConditionOperand cond = OPT_ConditionOperand.EQUAL(); cmpHelper(bc2ir,gc,cond,null); } else if (methodName == VM_MagicNames.wordNE) { OPT_ConditionOperand cond = OPT_ConditionOperand.NOT_EQUAL(); cmpHelper(bc2ir,gc,cond,null); } else if (methodName == VM_MagicNames.wordLT) { OPT_ConditionOperand cond = OPT_ConditionOperand.LOWER(); cmpHelper(bc2ir,gc,cond,null); } else if (methodName == VM_MagicNames.wordLE) { OPT_ConditionOperand cond = OPT_ConditionOperand.LOWER_EQUAL(); cmpHelper(bc2ir,gc,cond,null); } else if (methodName == VM_MagicNames.wordGT) { OPT_ConditionOperand cond = OPT_ConditionOperand.HIGHER(); cmpHelper(bc2ir,gc,cond,null); } else if (methodName == VM_MagicNames.wordGE) { OPT_ConditionOperand cond = OPT_ConditionOperand.HIGHER_EQUAL(); cmpHelper(bc2ir,gc,cond,null); } else if (methodName == VM_MagicNames.wordsLT) { OPT_ConditionOperand cond = OPT_ConditionOperand.LESS(); cmpHelper(bc2ir,gc,cond,null); } else if (methodName == VM_MagicNames.wordsLE) { OPT_ConditionOperand cond = OPT_ConditionOperand.LESS_EQUAL(); cmpHelper(bc2ir,gc,cond,null); } else if (methodName == VM_MagicNames.wordsGT) { OPT_ConditionOperand cond = OPT_ConditionOperand.GREATER(); cmpHelper(bc2ir,gc,cond,null); } else if (methodName == VM_MagicNames.wordsGE) { OPT_ConditionOperand cond = OPT_ConditionOperand.GREATER_EQUAL(); cmpHelper(bc2ir,gc,cond,null); } else if (methodName == VM_MagicNames.wordLsh) { OPT_Operand op2 = bc2ir.popInt(); OPT_Operand op1 = bc2ir.popAddress(); OPT_RegisterOperand res = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Binary.create(VM.BuildFor32Addr ? INT_SHL : LONG_SHL, res, op1, op2)); bc2ir.push(res.copyD2U()); } else if (methodName == VM_MagicNames.wordRshl) { OPT_Operand op2 = bc2ir.popInt(); OPT_Operand op1 = bc2ir.popAddress(); OPT_RegisterOperand res = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Binary.create(VM.BuildFor32Addr ? INT_USHR : LONG_USHR, res, op1, op2)); bc2ir.push(res.copyD2U()); } else if (methodName == VM_MagicNames.wordRsha) { OPT_Operand op2 = bc2ir.popInt(); OPT_Operand op1 = bc2ir.popAddress(); OPT_RegisterOperand res = gc.temps.makeTemp(resultType); bc2ir.appendInstruction(Binary.create(VM.BuildFor32Addr ? INT_SHR : LONG_SHR, res, op1, op2)); bc2ir.push(res.copyD2U()); } else { return false; } return true; }
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/8770ff658525a0e2bb1d979ab6958a6a677bfb3a/OPT_GenerateMagic.java/buggy/rvm/src/vm/compilers/optimizing/ir/conversions/bc2hir/OPT_GenerateMagic.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 760, 1250, 2103, 5850, 21976, 19289, 12, 15620, 67, 16283, 22, 7937, 6533, 22, 481, 16, 4766, 6647, 16456, 67, 13842, 1042, 8859, 16, 4766, 6647, 8251, 67, 1305, 2404, 7917, 16, 8251, 67, 3641, 4918, 13, 288, 565, 8251, 67, 7534, 5378, 21265, 273, 7917, 18, 588, 1662, 2016, 5621, 565, 8251, 67, 7534, 25820, 273, 7917, 18, 588, 9102, 5621, 565, 309, 261, 2039, 461, 422, 8251, 67, 19289, 1557, 18, 1095, 1265, 1702, 747, 3639, 4918, 422, 8251, 67, 19289, 1557, 18, 1095, 1265, 1702, 2766, 16675, 13, 288, 3639, 16456, 67, 3996, 10265, 960, 273, 8859, 18, 874, 1121, 18, 6540, 7185, 12, 2088, 559, 1769, 3639, 6533, 22, 481, 18, 6923, 11983, 12, 15972, 18, 2640, 12, 3217, 67, 22, 14142, 8267, 2482, 16, 960, 16, 6533, 22, 481, 18, 5120, 1702, 1435, 10019, 3639, 6533, 22, 481, 18, 6206, 12, 1574, 18, 3530, 40, 22, 57, 10663, 565, 289, 469, 309, 261, 2039, 461, 422, 8251, 67, 19289, 1557, 18, 1095, 1265, 1702, 7170, 16675, 13, 288, 3639, 16456, 67, 3996, 10265, 960, 273, 8859, 18, 874, 1121, 18, 6540, 7185, 12, 2088, 559, 1769, 3639, 6533, 22, 481, 18, 6923, 11983, 12, 15972, 18, 2640, 12, 3217, 67, 22, 14142, 62, 264, 2482, 16, 960, 16, 6533, 22, 481, 18, 5120, 1702, 1435, 10019, 3639, 6533, 22, 481, 18, 6206, 12, 1574, 18, 3530, 40, 22, 57, 10663, 565, 289, 469, 309, 261, 2039, 461, 422, 8251, 67, 19289, 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, 760, 1250, 2103, 5850, 21976, 19289, 12, 15620, 67, 16283, 22, 7937, 6533, 22, 481, 16, 4766, 6647, 16456, 67, 13842, 1042, 8859, 16, 4766, 6647, 8251, 67, 1305, 2404, 7917, 16, 8251, 67, 3641, 4918, 13, 288, 565, 8251, 67, 7534, 5378, 21265, 273, 7917, 18, 588, 1662, 2016, 5621, 565, 8251, 67, 7534, 25820, 273, 7917, 18, 588, 9102, 5621, 565, 309, 261, 2039, 461, 422, 8251, 67, 19289, 1557, 18, 1095, 1265, 1702, 747, 3639, 4918, 422, 8251, 67, 19289, 1557, 18, 1095, 1265, 1702, 2766, 16675, 13, 288, 3639, 16456, 67, 3996, 10265, 960, 273, 8859, 18, 874, 1121, 18, 6540, 7185, 12, 2088, 559, 1769, 3639, 6533, 22, 481, 18, 6923, 11983, 12, 2 ]
device.write(__input_type_ima_1); org.wings.plaf.Utils.optAttribute(device, "src", BLIND_ICON.getURL()); device.write(__width_0_height); device.write(__form); device.write(___2);
device.print("<input type=\"image\" name=\"_capture_enter2\" border=\"0\" "); Utils.optAttribute(device, "src", BLIND_ICON.getURL()); device.print(" width=\"0\" height=\"0\" tabindex=\"\" style=\"border:none;padding:0px;margin:0px;position:absolute\"/>"); device.print("</form>"); device.print("\n");
protected void writeContent(final Device device, final SComponent _c) throws IOException { final SForm component = (SForm) _c;//--- code from write-template. device.write(__form_method); if (component.isPostMethod()) { device.write(__post); } else { device.write(__get); } device.write(__); device.write(__name); org.wings.plaf.Utils.write(device, component.getName()); device.write(__); org.wings.plaf.css.Utils.writeEvents(device, component); org.wings.plaf.Utils.optAttribute(device, "class", component.getStyle()); org.wings.plaf.Utils.optAttribute(device, "enctype", component.getEncodingType()); org.wings.plaf.Utils.optAttribute(device, "action", component.getRequestURL()); if (component.getPreferredSize() != null) device.print(" style=\"width:100%; height: 100%\""); device.write(__input_type_ima); org.wings.plaf.Utils.optAttribute(device, "src", BLIND_ICON.getURL()); device.write(__width_0_height); device.write(__input_type_hid); org.wings.plaf.Utils.write(device, Utils.event(component)); device.write(__value); org.wings.plaf.Utils.write(device, component.getName()); org.wings.plaf.Utils.write(device, SConstants.UID_DIVIDER); device.write(___1); Utils.renderContainer(device, component); device.write(__input_type_ima_1); org.wings.plaf.Utils.optAttribute(device, "src", BLIND_ICON.getURL()); device.write(__width_0_height); device.write(__form); device.write(___2);//--- end code from write-template. }
3911 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3911/c93fa59b33dcc791084733b4478d8d246986b385/FormCG.java/clean/wings2/src/java/org/wings/plaf/css/FormCG.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1045, 1350, 12, 6385, 6077, 2346, 16, 27573, 727, 348, 1841, 389, 71, 13, 5411, 1216, 1860, 288, 3639, 727, 348, 1204, 1794, 273, 261, 55, 1204, 13, 389, 71, 31, 759, 6062, 981, 628, 1045, 17, 3202, 18, 3639, 2346, 18, 2626, 12, 972, 687, 67, 2039, 1769, 3639, 309, 261, 4652, 18, 291, 3349, 1305, 10756, 288, 5411, 2346, 18, 2626, 12, 972, 2767, 1769, 3639, 289, 469, 288, 5411, 2346, 18, 2626, 12, 972, 588, 1769, 3639, 289, 3639, 2346, 18, 2626, 12, 972, 1769, 3639, 2346, 18, 2626, 12, 972, 529, 1769, 3639, 2358, 18, 91, 899, 18, 412, 1727, 18, 1989, 18, 2626, 12, 5964, 16, 1794, 18, 17994, 10663, 3639, 2346, 18, 2626, 12, 972, 1769, 3639, 2358, 18, 91, 899, 18, 412, 1727, 18, 5212, 18, 1989, 18, 2626, 3783, 12, 5964, 16, 1794, 1769, 3639, 2358, 18, 91, 899, 18, 412, 1727, 18, 1989, 18, 3838, 1499, 12, 5964, 16, 315, 1106, 3113, 1794, 18, 588, 2885, 10663, 3639, 2358, 18, 91, 899, 18, 412, 1727, 18, 1989, 18, 3838, 1499, 12, 5964, 16, 315, 275, 12387, 3113, 1794, 18, 588, 4705, 559, 10663, 3639, 2358, 18, 91, 899, 18, 412, 1727, 18, 1989, 18, 3838, 1499, 12, 5964, 16, 315, 1128, 3113, 1794, 18, 588, 691, 1785, 10663, 3639, 309, 261, 4652, 18, 588, 16028, 1225, 1435, 480, 446, 13, 5411, 2346, 18, 1188, 2932, 2154, 5189, 2819, 30, 6625, 9, 31, 2072, 30, 2130, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1045, 1350, 12, 6385, 6077, 2346, 16, 27573, 727, 348, 1841, 389, 71, 13, 5411, 1216, 1860, 288, 3639, 727, 348, 1204, 1794, 273, 261, 55, 1204, 13, 389, 71, 31, 759, 6062, 981, 628, 1045, 17, 3202, 18, 3639, 2346, 18, 2626, 12, 972, 687, 67, 2039, 1769, 3639, 309, 261, 4652, 18, 291, 3349, 1305, 10756, 288, 5411, 2346, 18, 2626, 12, 972, 2767, 1769, 3639, 289, 469, 288, 5411, 2346, 18, 2626, 12, 972, 588, 1769, 3639, 289, 3639, 2346, 18, 2626, 12, 972, 1769, 3639, 2346, 18, 2626, 12, 972, 529, 1769, 3639, 2358, 18, 91, 899, 18, 412, 1727, 18, 1989, 18, 2626, 12, 5964, 16, 1794, 18, 17994, 10663, 3639, 2 ]
return (highlight.getAlpha() == 255) && (shadow.getAlpha() == 255);
return true;
public boolean isBorderOpaque() { return (highlight.getAlpha() == 255) && (shadow.getAlpha() == 255); }
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/89d3400188d98621b3a4cfd27132ee94f0f304ff/BasicBorders.java/clean/javax/swing/plaf/basic/BasicBorders.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 353, 8107, 3817, 14886, 1435, 565, 288, 1377, 327, 638, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 353, 8107, 3817, 14886, 1435, 565, 288, 1377, 327, 638, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
protected void calculateChecksum(Patch p,int start,int end,int ofs)
protected static void calculateChecksum(Patch p,int start,int end,int ofs)
protected void calculateChecksum(Patch p,int start,int end,int ofs) { }
7591 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7591/fdbee42aa3689ba7bb6d6df12004785dd534b97e/AlesisDMProDrumKitDriver.java/clean/JSynthLib/synthdrivers/AlesisDMPro/AlesisDMProDrumKitDriver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 760, 918, 4604, 10723, 12, 7332, 293, 16, 474, 787, 16, 474, 679, 16, 474, 26927, 13, 225, 288, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 760, 918, 4604, 10723, 12, 7332, 293, 16, 474, 787, 16, 474, 679, 16, 474, 26927, 13, 225, 288, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
map.put(key, value);
String test=null; try{ if(map.get(key) != null) test=new String((String) map.get(key)); }catch (Exception e){ } if(test != null && test.equalsIgnoreCase(value)){ map.put(key, test+";"+value); }else{ map.put(key, value); }
public void put(String key, String value) { map.put(key, value); }
50619 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50619/f08685775e5c6d968cbb3f2584b05da426e1c21f/SimpleFieldSet.java/buggy/src/freenet/support/SimpleFieldSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1378, 12, 780, 498, 16, 514, 460, 13, 288, 3639, 514, 1842, 33, 2011, 31, 775, 95, 309, 12, 1458, 18, 588, 12, 856, 13, 480, 446, 13, 1842, 33, 2704, 514, 12443, 780, 13, 852, 18, 588, 12, 856, 10019, 289, 14683, 261, 503, 425, 15329, 289, 309, 12, 3813, 480, 446, 597, 1842, 18, 14963, 5556, 12, 1132, 3719, 95, 852, 18, 458, 12, 856, 16, 1842, 9078, 4868, 15, 1132, 1769, 289, 12107, 95, 852, 18, 458, 12, 856, 16, 460, 1769, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1378, 12, 780, 498, 16, 514, 460, 13, 288, 3639, 514, 1842, 33, 2011, 31, 775, 95, 309, 12, 1458, 18, 588, 12, 856, 13, 480, 446, 13, 1842, 33, 2704, 514, 12443, 780, 13, 852, 18, 588, 12, 856, 10019, 289, 14683, 261, 503, 425, 15329, 289, 309, 12, 3813, 480, 446, 597, 1842, 18, 14963, 5556, 12, 1132, 3719, 95, 852, 18, 458, 12, 856, 16, 1842, 9078, 4868, 15, 1132, 1769, 289, 12107, 95, 852, 18, 458, 12, 856, 16, 460, 1769, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
} catch(Exception e) { System.out.println("Can't create BrowserControl: " + e.getMessage()); } Assert.assert_it(null != browserCanvas); browserCanvas.setSize(defaultWidth, defaultHeight);
add(browserCanvas, BorderLayout.CENTER);
public EMWindow (String title, String binDir, String url, int winnum, EmbeddedMozilla Creator) { super(title); popup = new PopupMenu(); creator = Creator; currentURL = url; winNum = winnum; myBinDir = binDir; mInPrintPreview = false; System.out.println("constructed with binDir: " + binDir + " url: " + url); setSize(defaultWidth, defaultHeight); createMenubar(); createToolbar(url); // Create the browser try { BrowserControlFactory.setAppData(binDir); browserControl = BrowserControlFactory.newBrowserControl(); browserCanvas = (BrowserControlCanvas) browserControl.queryInterface(BrowserControl.BROWSER_CONTROL_CANVAS_NAME); } catch(Exception e) { System.out.println("Can't create BrowserControl: " + e.getMessage()); } Assert.assert_it(null != browserCanvas); browserCanvas.setSize(defaultWidth, defaultHeight); // Add the control panel and the browserCanvas add(browserCanvas, BorderLayout.CENTER); // Create the status panel createStatusbar(); addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { System.out.println("Got windowClosing"); System.out.println("destroying the BrowserControl"); EMWindow.this.delete(); // should close the BrowserControlCanvas creator.DestroyEMWindow(winNum); } public void windowClosed(WindowEvent e) { System.out.println("Got windowClosed"); } }); // Create the Context Menus add(popup); popup.add(popup_ViewSource = new MenuItem("View Source as ByteArray")); popup.add(popup_SelectAll = new MenuItem("Select All")); popup.add(popup_ViewSelection = new MenuItem("View Selection")); contextListener = new PopupActionListener(); popup_ViewSource.addActionListener (contextListener); popup_SelectAll.addActionListener (contextListener); popup_ViewSelection.addActionListener (contextListener); show(); toFront(); try { navigation = (Navigation2) browserControl.queryInterface(BrowserControl.NAVIGATION_NAME); navigation.setPrompt(this); currentPage = (CurrentPage2) browserControl.queryInterface(BrowserControl.CURRENT_PAGE_NAME); history = (History) browserControl.queryInterface(BrowserControl.HISTORY_NAME); prefs = (Preferences) browserControl.queryInterface(BrowserControl.PREFERENCES_NAME); prefs.registerPrefChangedCallback(this, "network.cookie.warnAboutCookies", "This IS the Closure!"); prefs.setPref("network.cookie.warnAboutCookies", "true"); prefs.setPref("browser.cache.disk_cache_size", "0"); // pull out the proxies, and make java aware of them Properties prefsProps = prefs.getPrefs(); String proxyHost = (String) prefsProps.get("network.proxy.http"); String proxyPort = (String) prefsProps.get("network.proxy.http_port"); if (null != proxyHost && null != proxyPort) { System.setProperty("http.proxyHost", proxyHost); System.setProperty("http.proxyPort", proxyPort); } //prefsProps = prefs.getPrefs(); //prefsProps.list(System.out); // This works, try it! } catch (Exception e) { System.out.println(e.toString()); } try { EventRegistration eventRegistration = (EventRegistration) browserControl.queryInterface(BrowserControl.EVENT_REGISTRATION_NAME); eventRegistration.addDocumentLoadListener(this); eventRegistration.addMouseListener(this); // PENDING(edburns): test code, replace with production code bookmarks = (Bookmarks) browserControl.queryInterface(BrowserControl.BOOKMARKS_NAME); System.out.println("debug: edburns: got Bookmarks instance"); bookmarksTree = bookmarks.getBookmarks(); /********* TreeNode bookmarksRoot = (TreeNode) bookmarksTree.getRoot(); System.out.println("debug: edburns: testing the Enumeration"); int childCount = bookmarksRoot.getChildCount(); System.out.println("debug: edburns: root has " + childCount + " children."); Enumeration rootChildren = bookmarksRoot.children(); TreeNode currentChild; int i = 0, childIndex; while (rootChildren.hasMoreElements()) { currentChild = (TreeNode) rootChildren.nextElement(); System.out.println("debug: edburns: bookmarks root has children! child: " + i + " name: " + currentChild.toString()); i++; } System.out.println("debug: edburns: testing getChildAt(" + --i + "): "); currentChild = bookmarksRoot.getChildAt(i); System.out.println("debug: edburns: testing getIndex(Child " + i + "): index should be " + i + "."); childIndex = bookmarksRoot.getIndex(currentChild); System.out.println("debug: edburns: index is: " + childIndex); *****/ /********** System.out.println("debug: edburns: got new entry"); Properties entryProps = entry.getProperties(); System.out.println("debug: edburns: entry url: " + entryProps.getProperty(BookmarkEntry.URL)); bookmarks.addBookmark(folder, entry); **********/ } catch (Exception e) { System.out.println(e.toString()); } if (null != navigation) { navigation.loadURL(url); } } // EMWindow() ctor
51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/c51f266635955ea9a40fa057209a78cf7b0fb900/EMWindow.java/buggy/java/webclient/classes_spec/org/mozilla/webclient/test/EMWindow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 7141, 3829, 261, 780, 2077, 16, 514, 4158, 1621, 16, 514, 880, 16, 509, 5657, 2107, 16, 21829, 49, 11142, 10745, 29525, 13, 565, 288, 3639, 2240, 12, 2649, 1769, 3639, 10431, 273, 394, 10264, 416, 4599, 5621, 3639, 11784, 273, 29525, 31, 3639, 783, 1785, 273, 880, 31, 3639, 5657, 2578, 273, 5657, 2107, 31, 3639, 3399, 9913, 1621, 273, 4158, 1621, 31, 3639, 312, 382, 5108, 11124, 273, 629, 31, 3639, 2332, 18, 659, 18, 8222, 2932, 10062, 329, 598, 4158, 1621, 30, 315, 397, 4158, 1621, 397, 315, 880, 30, 315, 397, 880, 1769, 5411, 19106, 12, 1886, 2384, 16, 805, 2686, 1769, 5411, 752, 49, 275, 373, 297, 5621, 3639, 752, 17907, 12, 718, 1769, 3639, 368, 1788, 326, 4748, 3639, 775, 288, 5411, 15408, 3367, 1733, 18, 542, 3371, 751, 12, 4757, 1621, 1769, 5411, 4748, 3367, 273, 15408, 3367, 1733, 18, 2704, 9132, 3367, 5621, 5411, 4748, 12971, 273, 7734, 261, 9132, 3367, 12971, 13, 7734, 4748, 3367, 18, 2271, 1358, 12, 9132, 3367, 18, 38, 24846, 67, 18248, 67, 39, 1258, 58, 3033, 67, 1985, 1769, 3639, 289, 3639, 1044, 12, 503, 425, 13, 288, 5411, 2332, 18, 659, 18, 8222, 2932, 2568, 1404, 752, 15408, 3367, 30, 315, 397, 1171, 9079, 425, 18, 24906, 10663, 3639, 289, 3639, 5452, 18, 11231, 67, 305, 12, 2011, 480, 4748, 12971, 1769, 3639, 4748, 12971, 18, 542, 1225, 12, 1886, 2384, 16, 805, 2686, 1769, 3639, 368, 1436, 326, 3325, 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, 7141, 3829, 261, 780, 2077, 16, 514, 4158, 1621, 16, 514, 880, 16, 509, 5657, 2107, 16, 21829, 49, 11142, 10745, 29525, 13, 565, 288, 3639, 2240, 12, 2649, 1769, 3639, 10431, 273, 394, 10264, 416, 4599, 5621, 3639, 11784, 273, 29525, 31, 3639, 783, 1785, 273, 880, 31, 3639, 5657, 2578, 273, 5657, 2107, 31, 3639, 3399, 9913, 1621, 273, 4158, 1621, 31, 3639, 312, 382, 5108, 11124, 273, 629, 31, 3639, 2332, 18, 659, 18, 8222, 2932, 10062, 329, 598, 4158, 1621, 30, 315, 397, 4158, 1621, 397, 315, 880, 30, 315, 397, 880, 1769, 5411, 19106, 12, 1886, 2384, 16, 805, 2686, 1769, 5411, 752, 49, 275, 373, 297, 5621, 3639, 752, 17907, 12, 2 ]
public ProcedureInstance_c(TypeSystem ts, Position pos, ReferenceType container, Flags flags, List formalTypes, List excTypes) { super(ts, pos); this.container = container; this.flags = flags; this.formalTypes = TypedList.copyAndCheck(formalTypes, Type.class, true); this.throwTypes = TypedList.copyAndCheck(excTypes, Type.class, true); this.decl = this; }
protected ProcedureInstance_c() { }
public ProcedureInstance_c(TypeSystem ts, Position pos, ReferenceType container, Flags flags, List formalTypes, List excTypes) { super(ts, pos); this.container = container; this.flags = flags; this.formalTypes = TypedList.copyAndCheck(formalTypes, Type.class, true); this.throwTypes = TypedList.copyAndCheck(excTypes, Type.class, true); this.decl = this; }
11982 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11982/e201bc4e92e7aea92e533af0793963052b8a059a/ProcedureInstance_c.java/buggy/src/polyglot/types/ProcedureInstance_c.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 26639, 1442, 67, 71, 12, 559, 3163, 3742, 16, 11010, 949, 16, 9506, 4202, 6268, 559, 1478, 16, 9506, 4202, 10104, 2943, 16, 987, 25739, 2016, 16, 987, 3533, 2016, 13, 288, 3639, 2240, 12, 3428, 16, 949, 1769, 202, 2211, 18, 3782, 273, 1478, 31, 202, 2211, 18, 7133, 273, 2943, 31, 202, 2211, 18, 687, 287, 2016, 273, 13833, 682, 18, 3530, 31151, 12, 687, 287, 2016, 16, 1412, 18, 1106, 16, 638, 1769, 202, 2211, 18, 12849, 2016, 273, 13833, 682, 18, 3530, 31151, 12, 10075, 2016, 16, 1412, 18, 1106, 16, 638, 1769, 565, 333, 18, 8840, 273, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 26639, 1442, 67, 71, 12, 559, 3163, 3742, 16, 11010, 949, 16, 9506, 4202, 6268, 559, 1478, 16, 9506, 4202, 10104, 2943, 16, 987, 25739, 2016, 16, 987, 3533, 2016, 13, 288, 3639, 2240, 12, 3428, 16, 949, 1769, 202, 2211, 18, 3782, 273, 1478, 31, 202, 2211, 18, 7133, 273, 2943, 31, 202, 2211, 18, 687, 287, 2016, 273, 13833, 682, 18, 3530, 31151, 12, 687, 287, 2016, 16, 1412, 18, 1106, 16, 638, 1769, 202, 2211, 18, 12849, 2016, 273, 13833, 682, 18, 3530, 31151, 12, 10075, 2016, 16, 1412, 18, 1106, 16, 638, 1769, 565, 333, 18, 8840, 273, 333, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
nodeinfo = new DatanodeDescriptor(nodeID, capacity, remaining);
nodeinfo = new DatanodeInfo(nodeID, capacity, remaining);
public synchronized void gotHeartbeat(DatanodeID nodeID, long capacity, long remaining) throws IOException { synchronized (heartbeats) { synchronized (datanodeMap) { long capacityDiff = 0; long remainingDiff = 0; DatanodeDescriptor nodeinfo = getDatanode( nodeID ); deaddatanodeMap.remove(nodeID.getName()); if (nodeinfo == null) { NameNode.stateChangeLog.debug("BLOCK* NameSystem.gotHeartbeat: " +"brand-new heartbeat from "+nodeID.getName() ); nodeinfo = new DatanodeDescriptor(nodeID, capacity, remaining); datanodeMap.put(nodeinfo.getStorageID(), nodeinfo); capacityDiff = capacity; remainingDiff = remaining; } else { capacityDiff = capacity - nodeinfo.getCapacity(); remainingDiff = remaining - nodeinfo.getRemaining(); heartbeats.remove(nodeinfo); nodeinfo.updateHeartbeat(capacity, remaining); } heartbeats.add(nodeinfo); totalCapacity += capacityDiff; totalRemaining += remainingDiff; } } }
51718 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51718/31110f7bc418d9db1c4939fac608b96725b3b0db/FSNamesystem.java/clean/src/java/org/apache/hadoop/dfs/FSNamesystem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 918, 2363, 15894, 12, 5139, 14085, 734, 14871, 16, 4766, 1850, 1525, 7519, 16, 4766, 6647, 1525, 4463, 13, 1216, 1860, 288, 1377, 3852, 261, 580, 7646, 2323, 13, 288, 3639, 3852, 261, 3404, 14085, 863, 13, 288, 1850, 1525, 7519, 5938, 273, 374, 31, 1850, 1525, 4463, 5938, 273, 374, 31, 1850, 26739, 3187, 756, 1376, 273, 24211, 14085, 12, 14871, 11272, 1850, 443, 1289, 270, 14085, 863, 18, 4479, 12, 2159, 734, 18, 17994, 10663, 1850, 309, 261, 2159, 1376, 422, 446, 13, 288, 5411, 1770, 907, 18, 2019, 3043, 1343, 18, 4148, 2932, 11403, 14, 1770, 3163, 18, 13212, 15894, 30, 315, 10792, 397, 6, 20523, 17, 2704, 12923, 628, 13773, 2159, 734, 18, 17994, 1435, 11272, 5411, 756, 1376, 273, 394, 26739, 966, 12, 2159, 734, 16, 7519, 16, 4463, 1769, 5411, 28710, 863, 18, 458, 12, 2159, 1376, 18, 588, 3245, 734, 9334, 756, 1376, 1769, 5411, 7519, 5938, 273, 7519, 31, 5411, 4463, 5938, 273, 4463, 31, 1850, 289, 469, 288, 5411, 7519, 5938, 273, 7519, 300, 756, 1376, 18, 588, 7437, 5621, 5411, 4463, 5938, 273, 4463, 300, 756, 1376, 18, 588, 11429, 5621, 5411, 3904, 7646, 2323, 18, 4479, 12, 2159, 1376, 1769, 5411, 756, 1376, 18, 2725, 15894, 12, 16017, 16, 4463, 1769, 1850, 289, 1850, 3904, 7646, 2323, 18, 1289, 12, 2159, 1376, 1769, 1850, 2078, 7437, 1011, 7519, 5938, 31, 1850, 2078, 11429, 1011, 4463, 5938, 31, 3639, 289, 1377, 289, 565, 289, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 918, 2363, 15894, 12, 5139, 14085, 734, 14871, 16, 4766, 1850, 1525, 7519, 16, 4766, 6647, 1525, 4463, 13, 1216, 1860, 288, 1377, 3852, 261, 580, 7646, 2323, 13, 288, 3639, 3852, 261, 3404, 14085, 863, 13, 288, 1850, 1525, 7519, 5938, 273, 374, 31, 1850, 1525, 4463, 5938, 273, 374, 31, 1850, 26739, 3187, 756, 1376, 273, 24211, 14085, 12, 14871, 11272, 1850, 443, 1289, 270, 14085, 863, 18, 4479, 12, 2159, 734, 18, 17994, 10663, 1850, 309, 261, 2159, 1376, 422, 446, 13, 288, 5411, 1770, 907, 18, 2019, 3043, 1343, 18, 4148, 2932, 11403, 14, 1770, 3163, 18, 13212, 15894, 30, 315, 10792, 397, 6, 20523, 17, 2704, 12923, 628, 13773, 2159, 734, 2 ]
if(multi)
if(caret != s.end)
public void goToNextCharacter(boolean select) { Selection s = getSelectionAtOffset(caret); if(!select && selection.size() != 0) { if(s != null) { if(multi) { if(caret != s.end) { moveCaretPosition(s.end); return; } } else { setCaretPosition(s.end); return; } } } int extraEndVirt; if(s instanceof Selection.Rect) extraEndVirt = ((Selection.Rect)s).extraEndVirt; else extraEndVirt = 0; int newCaret = caret; if(caret == buffer.getLength()) { if(s instanceof Selection.Rect) extraEndVirt++; else { getToolkit().beep(); return; } } else if(caret == getLineEndOffset(caretLine) - 1) { if(s instanceof Selection.Rect) extraEndVirt++; else { int line = displayManager.getNextVisibleLine(caretLine); if(line == -1) { getToolkit().beep(); return; } else newCaret = getLineStartOffset(line); } } else newCaret = caret + 1; if(select) extendSelection(caret,newCaret,extraEndVirt); else if(!multi) selectNone(); moveCaretPosition(newCaret); } //}}}
6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/6b1635f041c22babd60746f6bee47f9277a8497b/JEditTextArea.java/clean/org/gjt/sp/jedit/textarea/JEditTextArea.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1960, 774, 2134, 7069, 12, 6494, 2027, 13, 202, 95, 202, 202, 6233, 272, 273, 23204, 861, 2335, 12, 71, 20731, 1769, 202, 202, 430, 12, 5, 4025, 597, 4421, 18, 1467, 1435, 480, 374, 13, 202, 202, 95, 1082, 202, 430, 12, 87, 480, 446, 13, 1082, 202, 95, 9506, 202, 430, 12, 7027, 13, 9506, 202, 95, 6862, 202, 430, 12, 71, 20731, 480, 272, 18, 409, 13, 6862, 202, 95, 25083, 202, 8501, 39, 20731, 2555, 12, 87, 18, 409, 1769, 25083, 202, 2463, 31, 6862, 202, 97, 9506, 202, 97, 9506, 202, 12107, 9506, 202, 95, 6862, 202, 542, 39, 20731, 2555, 12, 87, 18, 409, 1769, 6862, 202, 2463, 31, 9506, 202, 97, 1082, 202, 97, 202, 202, 97, 202, 202, 474, 2870, 1638, 58, 2714, 31, 202, 202, 430, 12, 87, 1276, 12977, 18, 6120, 13, 1082, 202, 7763, 1638, 58, 2714, 273, 14015, 6233, 18, 6120, 13, 87, 2934, 7763, 1638, 58, 2714, 31, 202, 202, 12107, 1082, 202, 7763, 1638, 58, 2714, 273, 374, 31, 202, 202, 474, 394, 39, 20731, 273, 21683, 31, 202, 202, 430, 12, 71, 20731, 422, 1613, 18, 588, 1782, 10756, 202, 202, 95, 1082, 202, 430, 12, 87, 1276, 12977, 18, 6120, 13, 9506, 202, 7763, 1638, 58, 2714, 9904, 31, 1082, 202, 12107, 1082, 202, 95, 9506, 202, 588, 6364, 8691, 7675, 2196, 881, 5621, 9506, 202, 2463, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 12107, 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, 1960, 774, 2134, 7069, 12, 6494, 2027, 13, 202, 95, 202, 202, 6233, 272, 273, 23204, 861, 2335, 12, 71, 20731, 1769, 202, 202, 430, 12, 5, 4025, 597, 4421, 18, 1467, 1435, 480, 374, 13, 202, 202, 95, 1082, 202, 430, 12, 87, 480, 446, 13, 1082, 202, 95, 9506, 202, 430, 12, 7027, 13, 9506, 202, 95, 6862, 202, 430, 12, 71, 20731, 480, 272, 18, 409, 13, 6862, 202, 95, 25083, 202, 8501, 39, 20731, 2555, 12, 87, 18, 409, 1769, 25083, 202, 2463, 31, 6862, 202, 97, 9506, 202, 97, 9506, 202, 12107, 9506, 202, 95, 6862, 202, 542, 39, 20731, 2555, 12, 87, 18, 409, 1769, 6862, 202, 2463, 31, 2 ]
if (inNewExpr) { return new NativeNumber(d); } return new Double(d);
if (inNewExpr) { return new NativeNumber(d); } return wrap_double(d);
public static Object jsConstructor(Context cx, Object[] args, Function funObj, boolean inNewExpr) { double d = args.length >= 1 ? ScriptRuntime.toNumber(args[0]) : defaultValue; if (inNewExpr) { // new Number(val) creates a new Number object. return new NativeNumber(d); } // Number(val) converts val to a number value. return new Double(d); }
51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/8584f9aa43e87015068b51a9cd8ce3a893b2449a/NativeNumber.java/buggy/js/rhino/src/org/mozilla/javascript/NativeNumber.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1033, 3828, 6293, 12, 1042, 9494, 16, 1033, 8526, 833, 16, 4766, 3639, 4284, 9831, 2675, 16, 1250, 316, 1908, 4742, 13, 565, 288, 3639, 1645, 302, 273, 833, 18, 2469, 1545, 404, 10402, 692, 7739, 5576, 18, 869, 1854, 12, 1968, 63, 20, 5717, 10402, 294, 4593, 31, 377, 202, 430, 261, 267, 1908, 4742, 13, 288, 377, 202, 565, 368, 394, 3588, 12, 1125, 13, 3414, 279, 394, 3588, 733, 18, 377, 202, 565, 327, 394, 16717, 1854, 12, 72, 1769, 377, 202, 97, 377, 202, 759, 3588, 12, 1125, 13, 7759, 1244, 358, 279, 1300, 460, 18, 377, 202, 2463, 394, 3698, 12, 72, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1033, 3828, 6293, 12, 1042, 9494, 16, 1033, 8526, 833, 16, 4766, 3639, 4284, 9831, 2675, 16, 1250, 316, 1908, 4742, 13, 565, 288, 3639, 1645, 302, 273, 833, 18, 2469, 1545, 404, 10402, 692, 7739, 5576, 18, 869, 1854, 12, 1968, 63, 20, 5717, 10402, 294, 4593, 31, 377, 202, 430, 261, 267, 1908, 4742, 13, 288, 377, 202, 565, 368, 394, 3588, 12, 1125, 13, 3414, 279, 394, 3588, 733, 18, 377, 202, 565, 327, 394, 16717, 1854, 12, 72, 1769, 377, 202, 97, 377, 202, 759, 3588, 12, 1125, 13, 7759, 1244, 358, 279, 1300, 460, 18, 377, 202, 2463, 394, 3698, 12, 72, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100 ]
if (contentsOffset + 6 >= (contentsLength = contents.length)) { System.arraycopy( contents, 0, (contents = new byte[contentsLength + INCREMENT_SIZE]), 0, contentsLength);
if (contentsOffset + 6 >= contents.length) { resizePoolContents(6);
public void addAttributes() { // update the method count contents[methodCountOffset++] = (byte) (methodCount >> 8); contents[methodCountOffset] = (byte) methodCount; int attributeNumber = 0; // leave two bytes for the number of attributes and store the current offset int attributeOffset = contentsOffset; contentsOffset += 2; int contentsLength; // source attribute if ((produceDebugAttributes & CompilerOptions.Source) != 0) { String fullFileName = new String(referenceBinding.scope.referenceCompilationUnit().getFileName()); fullFileName = fullFileName.replace('\\', '/'); int lastIndex = fullFileName.lastIndexOf('/'); if (lastIndex != -1) { fullFileName = fullFileName.substring(lastIndex + 1, fullFileName.length()); } // check that there is enough space to write all the bytes for the field info corresponding // to the @fieldBinding if (contentsOffset + 8 >= (contentsLength = contents.length)) { System.arraycopy( contents, 0, (contents = new byte[contentsLength + INCREMENT_SIZE]), 0, contentsLength); } int sourceAttributeNameIndex = constantPool.literalIndex(AttributeNamesConstants.SourceName); contents[contentsOffset++] = (byte) (sourceAttributeNameIndex >> 8); contents[contentsOffset++] = (byte) sourceAttributeNameIndex; // The length of a source file attribute is 2. This is a fixed-length // attribute contents[contentsOffset++] = 0; contents[contentsOffset++] = 0; contents[contentsOffset++] = 0; contents[contentsOffset++] = 2; // write the source file name int fileNameIndex = constantPool.literalIndex(fullFileName.toCharArray()); contents[contentsOffset++] = (byte) (fileNameIndex >> 8); contents[contentsOffset++] = (byte) fileNameIndex; attributeNumber++; } // Deprecated attribute if (referenceBinding.isDeprecated()) { // check that there is enough space to write all the bytes for the field info corresponding // to the @fieldBinding if (contentsOffset + 6 >= (contentsLength = contents.length)) { System.arraycopy( contents, 0, (contents = new byte[contentsLength + INCREMENT_SIZE]), 0, contentsLength); } int deprecatedAttributeNameIndex = constantPool.literalIndex(AttributeNamesConstants.DeprecatedName); contents[contentsOffset++] = (byte) (deprecatedAttributeNameIndex >> 8); contents[contentsOffset++] = (byte) deprecatedAttributeNameIndex; // the length of a deprecated attribute is equals to 0 contents[contentsOffset++] = 0; contents[contentsOffset++] = 0; contents[contentsOffset++] = 0; contents[contentsOffset++] = 0; attributeNumber++; } // Inner class attribute if (numberOfInnerClasses != 0) { // Generate the inner class attribute int exSize; if (contentsOffset + (exSize = (8 * numberOfInnerClasses + 8)) >= (contentsLength = contents.length)) { System.arraycopy( contents, 0, (contents = new byte[contentsLength + (exSize >= INCREMENT_SIZE ? exSize : INCREMENT_SIZE)]), 0, contentsLength); } // Now we now the size of the attribute and the number of entries // attribute name int attributeNameIndex = constantPool.literalIndex(AttributeNamesConstants.InnerClassName); contents[contentsOffset++] = (byte) (attributeNameIndex >> 8); contents[contentsOffset++] = (byte) attributeNameIndex; int value = (numberOfInnerClasses << 3) + 2; contents[contentsOffset++] = (byte) (value >> 24); contents[contentsOffset++] = (byte) (value >> 16); contents[contentsOffset++] = (byte) (value >> 8); contents[contentsOffset++] = (byte) value; contents[contentsOffset++] = (byte) (numberOfInnerClasses >> 8); contents[contentsOffset++] = (byte) numberOfInnerClasses; for (int i = 0; i < numberOfInnerClasses; i++) { ReferenceBinding innerClass = innerClassesBindings[i]; int accessFlags = innerClass.getAccessFlags(); int innerClassIndex = constantPool.literalIndex(innerClass); // inner class index contents[contentsOffset++] = (byte) (innerClassIndex >> 8); contents[contentsOffset++] = (byte) innerClassIndex; // outer class index: anonymous and local have no outer class index if (innerClass.isMemberType()) { // member or member of local int outerClassIndex = constantPool.literalIndex(innerClass.enclosingType()); contents[contentsOffset++] = (byte) (outerClassIndex >> 8); contents[contentsOffset++] = (byte) outerClassIndex; } else { // equals to 0 if the innerClass is not a member type contents[contentsOffset++] = 0; contents[contentsOffset++] = 0; } // name index if (!innerClass.isAnonymousType()) { int nameIndex = constantPool.literalIndex(innerClass.sourceName()); contents[contentsOffset++] = (byte) (nameIndex >> 8); contents[contentsOffset++] = (byte) nameIndex; } else { // equals to 0 if the innerClass is an anonymous type contents[contentsOffset++] = 0; contents[contentsOffset++] = 0; } // access flag if (innerClass.isAnonymousType()) { accessFlags |= AccPrivate; } else if (innerClass.isLocalType() && !innerClass.isMemberType()) { accessFlags |= AccPrivate; } contents[contentsOffset++] = (byte) (accessFlags >> 8); contents[contentsOffset++] = (byte) accessFlags; } attributeNumber++; } // update the number of attributes contentsLength = contents.length; if (attributeOffset + 2 >= contentsLength) { System.arraycopy( contents, 0, (contents = new byte[contentsLength + INCREMENT_SIZE]), 0, contentsLength); } contents[attributeOffset++] = (byte) (attributeNumber >> 8); contents[attributeOffset] = (byte) attributeNumber; // resynchronize all offsets of the classfile header = constantPool.poolContent; headerOffset = constantPool.currentOffset; int constantPoolCount = constantPool.currentIndex; header[constantPoolOffset++] = (byte) (constantPoolCount >> 8); header[constantPoolOffset] = (byte) constantPoolCount; }
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/3a562aaf09f9f323b583086b80b4683378886606/ClassFile.java/clean/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ClassFile.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 527, 2498, 1435, 288, 202, 202, 759, 1089, 326, 707, 1056, 202, 202, 3980, 63, 2039, 1380, 2335, 9904, 65, 273, 261, 7229, 13, 261, 2039, 1380, 1671, 1725, 1769, 202, 202, 3980, 63, 2039, 1380, 2335, 65, 273, 261, 7229, 13, 707, 1380, 31, 202, 202, 474, 1566, 1854, 273, 374, 31, 202, 202, 759, 8851, 2795, 1731, 364, 326, 1300, 434, 1677, 471, 1707, 326, 783, 1384, 202, 202, 474, 1566, 2335, 273, 2939, 2335, 31, 202, 202, 3980, 2335, 1011, 576, 31, 202, 202, 474, 2939, 1782, 31, 202, 202, 759, 1084, 1566, 202, 202, 430, 14015, 11776, 311, 2829, 2498, 473, 12972, 1320, 18, 1830, 13, 480, 374, 13, 288, 1082, 202, 780, 1983, 4771, 273, 9506, 202, 2704, 514, 12, 6180, 5250, 18, 4887, 18, 6180, 19184, 2802, 7675, 588, 4771, 10663, 1082, 202, 2854, 4771, 273, 1983, 4771, 18, 2079, 2668, 1695, 2187, 2023, 1769, 1082, 202, 474, 7536, 273, 1983, 4771, 18, 2722, 31985, 2668, 2473, 1769, 1082, 202, 430, 261, 2722, 1016, 480, 300, 21, 13, 288, 9506, 202, 2854, 4771, 273, 1983, 4771, 18, 28023, 12, 2722, 1016, 397, 404, 16, 1983, 4771, 18, 2469, 10663, 1082, 202, 97, 1082, 202, 759, 866, 716, 1915, 353, 7304, 3476, 358, 1045, 777, 326, 1731, 364, 326, 652, 1123, 4656, 1082, 202, 759, 358, 326, 632, 1518, 5250, 1082, 202, 430, 261, 3980, 2335, 397, 1725, 1545, 261, 3980, 1782, 273, 2939, 18, 2469, 3719, 288, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 527, 2498, 1435, 288, 202, 202, 759, 1089, 326, 707, 1056, 202, 202, 3980, 63, 2039, 1380, 2335, 9904, 65, 273, 261, 7229, 13, 261, 2039, 1380, 1671, 1725, 1769, 202, 202, 3980, 63, 2039, 1380, 2335, 65, 273, 261, 7229, 13, 707, 1380, 31, 202, 202, 474, 1566, 1854, 273, 374, 31, 202, 202, 759, 8851, 2795, 1731, 364, 326, 1300, 434, 1677, 471, 1707, 326, 783, 1384, 202, 202, 474, 1566, 2335, 273, 2939, 2335, 31, 202, 202, 3980, 2335, 1011, 576, 31, 202, 202, 474, 2939, 1782, 31, 202, 202, 759, 1084, 1566, 202, 202, 430, 14015, 11776, 311, 2829, 2498, 473, 12972, 1320, 18, 1830, 13, 480, 374, 13, 288, 1082, 2 ]
this.asksAllowsChildren = asksAllowsChildren;
public DefaultTreeModel(TreeNode root, boolean asksAllowsChildren) { setRoot(root); this.asksAllowsChildren = asksAllowsChildren; }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/65fc7899e6a31f0880fa2d7c7f5bd6905d251de4/DefaultTreeModel.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultTreeModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2989, 2471, 1488, 12, 12513, 1365, 16, 1250, 6827, 87, 19132, 4212, 13, 225, 288, 202, 202, 542, 2375, 12, 3085, 1769, 1082, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2989, 2471, 1488, 12, 12513, 1365, 16, 1250, 6827, 87, 19132, 4212, 13, 225, 288, 202, 202, 542, 2375, 12, 3085, 1769, 1082, 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 ]
signature = "(Lorg/mozilla/javascript/Function;"
signature = "(Lorg/mozilla/javascript/Callable;"
private void visitStandardCall(Node node, Node child) { if (node.getType() != Token.CALL) throw Codegen.badTree(); Node firstArgChild = child.getNext(); int childType = child.getType(); String methodName; String signature; if (firstArgChild == null) { if (childType == Token.NAME) { // name() call String name = child.getString(); cfw.addPush(name); methodName = "callName0"; signature = "(Ljava/lang/String;" +"Lorg/mozilla/javascript/Context;" +"Lorg/mozilla/javascript/Scriptable;" +")Ljava/lang/Object;"; } else if (childType == Token.GETPROP) { // x.name() call Node propTarget = child.getFirstChild(); generateExpression(propTarget, node); Node id = propTarget.getNext(); String property = id.getString(); cfw.addPush(property); methodName = "callProp0"; signature = "(Ljava/lang/Object;" +"Ljava/lang/String;" +"Lorg/mozilla/javascript/Context;" +"Lorg/mozilla/javascript/Scriptable;" +")Ljava/lang/Object;"; } else { generateFunctionAndThisObj(child, node); methodName = "call0"; signature = "(Lorg/mozilla/javascript/Function;" +"Lorg/mozilla/javascript/Scriptable;" +"Lorg/mozilla/javascript/Context;" +"Lorg/mozilla/javascript/Scriptable;" +")Ljava/lang/Object;"; } } else if (childType == Token.NAME) { // XXX: this optimization is only possible if name // resolution // is not affected by arguments evaluation and currently // there are no checks for it String name = child.getString(); generateCallArgArray(node, firstArgChild, false); cfw.addPush(name); methodName = "callName"; signature = "([Ljava/lang/Object;" +"Ljava/lang/String;" +"Lorg/mozilla/javascript/Context;" +"Lorg/mozilla/javascript/Scriptable;" +")Ljava/lang/Object;"; } else { int argCount = 0; for (Node arg = firstArgChild; arg != null; arg = arg.getNext()) { ++argCount; } generateFunctionAndThisObj(child, node); // stack: ... functionObj thisObj if (argCount == 1) { generateExpression(firstArgChild, node); methodName = "call1"; signature = "(Lorg/mozilla/javascript/Function;" +"Lorg/mozilla/javascript/Scriptable;" +"Ljava/lang/Object;" +"Lorg/mozilla/javascript/Context;" +"Lorg/mozilla/javascript/Scriptable;" +")Ljava/lang/Object;"; } else if (argCount == 2) { generateExpression(firstArgChild, node); generateExpression(firstArgChild.getNext(), node); methodName = "call2"; signature = "(Lorg/mozilla/javascript/Function;" +"Lorg/mozilla/javascript/Scriptable;" +"Ljava/lang/Object;" +"Ljava/lang/Object;" +"Lorg/mozilla/javascript/Context;" +"Lorg/mozilla/javascript/Scriptable;" +")Ljava/lang/Object;"; } else { generateCallArgArray(node, firstArgChild, false); methodName = "callN"; signature = "(Lorg/mozilla/javascript/Function;" +"Lorg/mozilla/javascript/Scriptable;" +"[Ljava/lang/Object;" +"Lorg/mozilla/javascript/Context;" +"Lorg/mozilla/javascript/Scriptable;" +")Ljava/lang/Object;"; } } cfw.addALoad(contextLocal); cfw.addALoad(variableObjectLocal); addOptRuntimeInvoke(methodName, signature); }
51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/90ebe1bf30876ca8ca8a098496166e8475268746/Codegen.java/buggy/js/rhino/src/org/mozilla/javascript/optimizer/Codegen.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 3757, 8336, 1477, 12, 907, 756, 16, 2029, 1151, 13, 565, 288, 3639, 309, 261, 2159, 18, 588, 559, 1435, 480, 3155, 18, 13730, 13, 604, 3356, 4507, 18, 8759, 2471, 5621, 3639, 2029, 1122, 4117, 1763, 273, 1151, 18, 588, 2134, 5621, 3639, 509, 1151, 559, 273, 1151, 18, 588, 559, 5621, 3639, 514, 4918, 31, 3639, 514, 3372, 31, 3639, 309, 261, 3645, 4117, 1763, 422, 446, 13, 288, 5411, 309, 261, 3624, 559, 422, 3155, 18, 1985, 13, 288, 7734, 368, 508, 1435, 745, 7734, 514, 508, 273, 1151, 18, 588, 780, 5621, 7734, 6080, 91, 18, 1289, 7621, 12, 529, 1769, 7734, 4918, 273, 315, 1991, 461, 20, 14432, 7734, 3372, 273, 7751, 21159, 19, 4936, 19, 780, 4868, 18701, 397, 6, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 1042, 4868, 18701, 397, 6, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 3651, 429, 4868, 18701, 397, 7923, 21159, 19, 4936, 19, 921, 4868, 31, 5411, 289, 469, 309, 261, 3624, 559, 422, 3155, 18, 3264, 15811, 13, 288, 7734, 368, 619, 18, 529, 1435, 745, 7734, 2029, 2270, 2326, 273, 1151, 18, 588, 3759, 1763, 5621, 7734, 2103, 2300, 12, 5986, 2326, 16, 756, 1769, 7734, 2029, 612, 273, 2270, 2326, 18, 588, 2134, 5621, 7734, 514, 1272, 273, 612, 18, 588, 780, 5621, 7734, 6080, 91, 18, 1289, 7621, 12, 4468, 1769, 7734, 4918, 273, 315, 1991, 4658, 20, 14432, 7734, 3372, 273, 7751, 21159, 19, 4936, 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, 3757, 8336, 1477, 12, 907, 756, 16, 2029, 1151, 13, 565, 288, 3639, 309, 261, 2159, 18, 588, 559, 1435, 480, 3155, 18, 13730, 13, 604, 3356, 4507, 18, 8759, 2471, 5621, 3639, 2029, 1122, 4117, 1763, 273, 1151, 18, 588, 2134, 5621, 3639, 509, 1151, 559, 273, 1151, 18, 588, 559, 5621, 3639, 514, 4918, 31, 3639, 514, 3372, 31, 3639, 309, 261, 3645, 4117, 1763, 422, 446, 13, 288, 5411, 309, 261, 3624, 559, 422, 3155, 18, 1985, 13, 288, 7734, 368, 508, 1435, 745, 7734, 514, 508, 273, 1151, 18, 588, 780, 5621, 7734, 6080, 91, 18, 1289, 7621, 12, 529, 1769, 7734, 4918, 273, 315, 1991, 461, 20, 14432, 7734, 3372, 273, 2 ]
getContentPane().add(jLabel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 120, -1, -1));
getContentPane().add(jLabel1); jLabel1.setBounds(20, 120, 52, 14);
private void initComponents() {//GEN-BEGIN:initComponents jList1 = new javax.swing.JList(); jList2 = new javax.swing.JList(); jList3 = new javax.swing.JList(); jLabel1 = new javax.swing.JLabel(); jLabel2 = new javax.swing.JLabel(); jLabel3 = new javax.swing.JLabel(); jLabel4 = new javax.swing.JLabel(); jLabel5 = new javax.swing.JLabel(); jList4 = new javax.swing.JList(); jLabel6 = new javax.swing.JLabel(); jLabel7 = new javax.swing.JLabel(); jScrollPane1 = new javax.swing.JScrollPane(); jTextArea1 = new javax.swing.JTextArea(); jScrollPane2 = new javax.swing.JScrollPane(); jTextArea2 = new javax.swing.JTextArea(); jLabel8 = new javax.swing.JLabel(); jLabel9 = new javax.swing.JLabel(); jLabel10 = new javax.swing.JLabel(); jLabel11 = new javax.swing.JLabel(); jLabel12 = new javax.swing.JLabel(); getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout()); setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); jList1.setBorder(new javax.swing.border.BevelBorder(javax.swing.border.BevelBorder.LOWERED)); getContentPane().add(jList1, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 140, 150, 50)); jList2.setBorder(new javax.swing.border.BevelBorder(javax.swing.border.BevelBorder.LOWERED)); getContentPane().add(jList2, new org.netbeans.lib.awtextra.AbsoluteConstraints(200, 140, 140, 50)); jList3.setBorder(new javax.swing.border.BevelBorder(javax.swing.border.BevelBorder.LOWERED)); getContentPane().add(jList3, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 60, 150, 50)); jLabel1.setText("Attributes:"); getContentPane().add(jLabel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 120, -1, -1)); jLabel2.setText("Values:"); getContentPane().add(jLabel2, new org.netbeans.lib.awtextra.AbsoluteConstraints(200, 120, -1, -1)); jLabel3.setText("Classes:"); getContentPane().add(jLabel3, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 40, -1, -1)); jLabel4.setText("Instance Name:"); getContentPane().add(jLabel4, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 10, -1, -1)); jLabel5.setFont(new java.awt.Font("Tahoma", 1, 11)); jLabel5.setText("Airport 5"); getContentPane().add(jLabel5, new org.netbeans.lib.awtextra.AbsoluteConstraints(100, 10, -1, -1)); jList4.setBorder(new javax.swing.border.BevelBorder(javax.swing.border.BevelBorder.LOWERED)); getContentPane().add(jList4, new org.netbeans.lib.awtextra.AbsoluteConstraints(200, 60, 140, 50)); jLabel6.setText("Waiting Events:"); getContentPane().add(jLabel6, new org.netbeans.lib.awtextra.AbsoluteConstraints(200, 40, -1, -1)); jLabel7.setText("Current Procedure"); getContentPane().add(jLabel7, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 300, 90, -1)); jScrollPane1.setViewportView(jTextArea1); getContentPane().add(jScrollPane1, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 220, 320, 70)); jScrollPane2.setViewportView(jTextArea2); getContentPane().add(jScrollPane2, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 350, 320, 150)); jLabel8.setFont(new java.awt.Font("Tahoma", 2, 11)); jLabel8.setText("Do Something"); jLabel8.setBorder(new javax.swing.border.BevelBorder(javax.swing.border.BevelBorder.LOWERED)); getContentPane().add(jLabel8, new org.netbeans.lib.awtextra.AbsoluteConstraints(120, 300, 220, -1)); jLabel9.setText("Preceeding Procedures"); getContentPane().add(jLabel9, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 200, -1, 20)); jLabel10.setText("Proceeding Procedures"); getContentPane().add(jLabel10, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 330, -1, -1)); jLabel11.setFont(new java.awt.Font("Tahoma", 1, 11)); jLabel11.setText("Directing Traffic"); getContentPane().add(jLabel11, new org.netbeans.lib.awtextra.AbsoluteConstraints(250, 10, -1, -1)); jLabel12.setText("Current State:"); getContentPane().add(jLabel12, new org.netbeans.lib.awtextra.AbsoluteConstraints(170, 10, -1, -1)); pack(); }//GEN-END:initComponents
10434 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10434/89a0fa96f34f2603f03e9e25f3c13dbf016b95b3/examineState.java/buggy/trunk/src/mockups/examineState.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1208, 7171, 1435, 288, 759, 16652, 17, 16061, 30, 2738, 7171, 3639, 525, 682, 21, 273, 394, 6863, 18, 5328, 310, 18, 46, 682, 5621, 3639, 525, 682, 22, 273, 394, 6863, 18, 5328, 310, 18, 46, 682, 5621, 3639, 525, 682, 23, 273, 394, 6863, 18, 5328, 310, 18, 46, 682, 5621, 3639, 26538, 21, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 3639, 26538, 22, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 3639, 26538, 23, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 3639, 26538, 24, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 3639, 26538, 25, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 3639, 525, 682, 24, 273, 394, 6863, 18, 5328, 310, 18, 46, 682, 5621, 3639, 26538, 26, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 3639, 26538, 27, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 3639, 525, 26360, 21, 273, 394, 6863, 18, 5328, 310, 18, 46, 26360, 5621, 3639, 525, 1528, 5484, 21, 273, 394, 6863, 18, 5328, 310, 18, 46, 1528, 5484, 5621, 3639, 525, 26360, 22, 273, 394, 6863, 18, 5328, 310, 18, 46, 26360, 5621, 3639, 525, 1528, 5484, 22, 273, 394, 6863, 18, 5328, 310, 18, 46, 1528, 5484, 5621, 3639, 26538, 28, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 3639, 26538, 29, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 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, 377, 3238, 918, 1208, 7171, 1435, 288, 759, 16652, 17, 16061, 30, 2738, 7171, 3639, 525, 682, 21, 273, 394, 6863, 18, 5328, 310, 18, 46, 682, 5621, 3639, 525, 682, 22, 273, 394, 6863, 18, 5328, 310, 18, 46, 682, 5621, 3639, 525, 682, 23, 273, 394, 6863, 18, 5328, 310, 18, 46, 682, 5621, 3639, 26538, 21, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 3639, 26538, 22, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 3639, 26538, 23, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 3639, 26538, 24, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 3639, 26538, 25, 273, 394, 6863, 18, 5328, 310, 18, 46, 2 ]
DomEntityReference retval; if (checkingCharacters)
DomEntityReference ret = new DomEntityReference(this, name); DocumentType doctype = getDoctype(); if (doctype != null)
public EntityReference createEntityReference(String name) { DomEntityReference retval; if (checkingCharacters) { checkName(name, "1.1".equals(version)); } retval = new DomEntityReference(this, name); // // If we have such an entity, it's allowed that one arrange that // the children of this reference be "the same as" (in an undefined // sense of "same", clearly not identity) the children of the entity. // That can be immediate or deferred. It's also allowed that nothing // be done -- we take that option here. // retval.makeReadonly(); return retval; }
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/f32ff77e61a964d6bd357cc7a4c399132b7ad9af/DomDocument.java/buggy/libraries/javalib/gnu/xml/dom/DomDocument.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 3887, 2404, 752, 1943, 2404, 12, 780, 508, 13, 225, 288, 565, 12965, 1943, 2404, 5221, 31, 3639, 309, 261, 24609, 11600, 13, 1377, 288, 3639, 866, 461, 12, 529, 16, 315, 21, 18, 21, 9654, 14963, 12, 1589, 10019, 1377, 289, 565, 5221, 273, 394, 12965, 1943, 2404, 12, 2211, 16, 508, 1769, 565, 368, 565, 368, 971, 732, 1240, 4123, 392, 1522, 16, 518, 1807, 2935, 716, 1245, 2454, 726, 716, 565, 368, 326, 2325, 434, 333, 2114, 506, 315, 5787, 1967, 487, 6, 261, 267, 392, 3109, 565, 368, 12764, 434, 315, 14307, 3113, 2424, 715, 486, 4215, 13, 326, 2325, 434, 326, 1522, 18, 565, 368, 12466, 848, 506, 14483, 578, 7045, 18, 225, 2597, 1807, 2546, 2935, 716, 5083, 565, 368, 506, 2731, 1493, 732, 4862, 716, 1456, 2674, 18, 565, 368, 565, 5221, 18, 6540, 1994, 3700, 5621, 565, 327, 5221, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 282, 1071, 3887, 2404, 752, 1943, 2404, 12, 780, 508, 13, 225, 288, 565, 12965, 1943, 2404, 5221, 31, 3639, 309, 261, 24609, 11600, 13, 1377, 288, 3639, 866, 461, 12, 529, 16, 315, 21, 18, 21, 9654, 14963, 12, 1589, 10019, 1377, 289, 565, 5221, 273, 394, 12965, 1943, 2404, 12, 2211, 16, 508, 1769, 565, 368, 565, 368, 971, 732, 1240, 4123, 392, 1522, 16, 518, 1807, 2935, 716, 1245, 2454, 726, 716, 565, 368, 326, 2325, 434, 333, 2114, 506, 315, 5787, 1967, 487, 6, 261, 267, 392, 3109, 565, 368, 12764, 434, 315, 14307, 3113, 2424, 715, 486, 4215, 13, 326, 2325, 434, 326, 1522, 18, 565, 368, 12466, 848, 506, 14483, 578, 7045, 18, 2 ]
if (styleClass != null) { StringBuffer sb = new StringBuffer(super.getStyleClass());
String superStyleClass = super.getStyleClass(); if (superStyleClass != null) { StringBuffer sb = new StringBuffer(superStyleClass);
public String getStyleClass() throws JspException { String result = ((CellClassProvider)requireContextEntry(CellClassProvider.KEY)).getCellClass(); result = (result != null && result.length() == 0) ? null : result; if (styleClass != null) { StringBuffer sb = new StringBuffer(super.getStyleClass()); if (!overrideLayout && result != null) sb.append(' ').append(result); result = sb.toString(); } return result; }
53585 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53585/e3e44ba55a6c81ed53081dc91849efc116c9c3d3/BaseLayoutCellTag.java/buggy/src/org/araneaframework/jsp/tag/layout/BaseLayoutCellTag.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 14210, 797, 1435, 1216, 27485, 288, 565, 514, 563, 273, 14015, 4020, 797, 2249, 13, 6528, 1042, 1622, 12, 4020, 797, 2249, 18, 3297, 13, 2934, 588, 4020, 797, 5621, 565, 563, 273, 261, 2088, 480, 446, 597, 563, 18, 2469, 1435, 422, 374, 13, 692, 446, 294, 563, 31, 565, 309, 261, 4060, 797, 480, 446, 13, 288, 1377, 6674, 2393, 273, 394, 6674, 12, 9565, 18, 588, 2885, 797, 10663, 1377, 309, 16051, 10601, 3744, 597, 563, 480, 446, 13, 3639, 2393, 18, 6923, 2668, 296, 2934, 6923, 12, 2088, 1769, 5411, 563, 273, 2393, 18, 10492, 5621, 565, 289, 565, 327, 563, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 14210, 797, 1435, 1216, 27485, 288, 565, 514, 563, 273, 14015, 4020, 797, 2249, 13, 6528, 1042, 1622, 12, 4020, 797, 2249, 18, 3297, 13, 2934, 588, 4020, 797, 5621, 565, 563, 273, 261, 2088, 480, 446, 597, 563, 18, 2469, 1435, 422, 374, 13, 692, 446, 294, 563, 31, 565, 309, 261, 4060, 797, 480, 446, 13, 288, 1377, 6674, 2393, 273, 394, 6674, 12, 9565, 18, 588, 2885, 797, 10663, 1377, 309, 16051, 10601, 3744, 597, 563, 480, 446, 13, 3639, 2393, 18, 6923, 2668, 296, 2934, 6923, 12, 2088, 1769, 5411, 563, 273, 2393, 18, 10492, 5621, 565, 289, 565, 327, 563, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100 ]
IDE.openEditor( page, file, true );
IEditorPart editorPart = IDE.openEditor( page, file, true ); ModuleHandle model = SessionHandleAdapter.getInstance( ).getReportDesignHandle( ); if(ReportPlugin.getDefault( ).getEnableCommentPreference( )){ model.setStringProperty( ModuleHandle.COMMENTS_PROP, ReportPlugin.getDefault( ).getCommentPreference( ) ); model.save( ); editorPart.doSave( null ); }
public void run( ) { IWorkbench workbench = PlatformUI.getWorkbench( ); IWorkbenchWindow window = workbench.getActiveWorkbenchWindow( ); IWorkbenchPage page = window.getActivePage( ); try { IDE.openEditor( page, file, true );// page.openEditor( new FileEditorInput( file ),// LibraryReportEditor.EDITOR_ID,// true ); } catch ( Exception e ) { ExceptionHandler.handle( e ); } }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/546229f93352dd11d3a374ba60974b1f75027225/NewLibraryWizardAdapterFactory.java/clean/UI/org.eclipse.birt.report.designer.ui.ide/src/org/eclipse/birt/report/designer/internal/ui/ide/adapters/NewLibraryWizardAdapterFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 1086, 12, 262, 1082, 202, 95, 9506, 202, 45, 2421, 22144, 1440, 22144, 273, 11810, 5370, 18, 588, 2421, 22144, 12, 11272, 9506, 202, 45, 2421, 22144, 3829, 2742, 273, 1440, 22144, 18, 588, 3896, 2421, 22144, 3829, 12, 11272, 9506, 202, 45, 2421, 22144, 1964, 1363, 273, 2742, 18, 588, 3896, 1964, 12, 11272, 9506, 202, 698, 9506, 202, 95, 6862, 202, 10385, 18, 3190, 6946, 12, 1363, 16, 585, 16, 638, 11272, 759, 6862, 202, 2433, 18, 3190, 6946, 12, 394, 1387, 6946, 1210, 12, 585, 262, 16, 759, 6862, 1082, 202, 9313, 4820, 6946, 18, 13208, 67, 734, 16, 759, 6862, 1082, 202, 3767, 11272, 9506, 202, 97, 9506, 202, 14683, 261, 1185, 425, 262, 9506, 202, 95, 6862, 202, 18894, 18, 4110, 12, 425, 11272, 9506, 202, 97, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 1086, 12, 262, 1082, 202, 95, 9506, 202, 45, 2421, 22144, 1440, 22144, 273, 11810, 5370, 18, 588, 2421, 22144, 12, 11272, 9506, 202, 45, 2421, 22144, 3829, 2742, 273, 1440, 22144, 18, 588, 3896, 2421, 22144, 3829, 12, 11272, 9506, 202, 45, 2421, 22144, 1964, 1363, 273, 2742, 18, 588, 3896, 1964, 12, 11272, 9506, 202, 698, 9506, 202, 95, 6862, 202, 10385, 18, 3190, 6946, 12, 1363, 16, 585, 16, 638, 11272, 759, 6862, 202, 2433, 18, 3190, 6946, 12, 394, 1387, 6946, 1210, 12, 585, 262, 16, 759, 6862, 1082, 202, 9313, 4820, 6946, 18, 13208, 67, 734, 16, 759, 6862, 1082, 202, 3767, 11272, 9506, 202, 97, 9506, 202, 14683, 261, 2 ]
jjCheckNAdd(23);
jjCheckNAddStates(121, 126);
private final int jjMoveNfa_1(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 36; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 3: if ((0x3ff000000000000L & l) != 0L) { if (kind > 52) kind = 52; jjCheckNAdd(23); } else if ((0x100002600L & l) != 0L) { if (kind > 26) kind = 26; jjCheckNAdd(4); } else if (curChar == 36) { if (kind > 13) kind = 13; jjCheckNAddTwoStates(33, 34); } else if (curChar == 46) jjstateSet[jjnewStateCnt++] = 27; else if (curChar == 45) jjCheckNAdd(23); else if (curChar == 39) jjCheckNAddStates(89, 91); else if (curChar == 34) jjCheckNAddStates(92, 94); else if (curChar == 35) jjstateSet[jjnewStateCnt++] = 2; break; case 0: if (curChar == 42) jjstateSet[jjnewStateCnt++] = 1; break; case 1: if ((0xfffffff7ffffffffL & l) != 0L && kind > 16) kind = 16; break; case 2: if (curChar == 42) jjstateSet[jjnewStateCnt++] = 0; break; case 4: if ((0x100002600L & l) == 0L) break; if (kind > 26) kind = 26; jjCheckNAdd(4); break; case 5: if (curChar == 34) jjCheckNAddStates(92, 94); break; case 6: if ((0xfffffffbffffffffL & l) != 0L) jjCheckNAddStates(92, 94); break; case 7: if (curChar == 34 && kind > 27) kind = 27; break; case 9: if ((0x8400000000L & l) != 0L) jjCheckNAddStates(92, 94); break; case 10: if ((0xff000000000000L & l) != 0L) jjCheckNAddStates(95, 98); break; case 11: if ((0xff000000000000L & l) != 0L) jjCheckNAddStates(92, 94); break; case 12: if ((0xf000000000000L & l) != 0L) jjstateSet[jjnewStateCnt++] = 13; break; case 13: if ((0xff000000000000L & l) != 0L) jjCheckNAdd(11); break; case 14: if (curChar == 32) jjAddStates(75, 76); break; case 15: if (curChar == 10) jjCheckNAddStates(92, 94); break; case 16: if (curChar == 39) jjCheckNAddStates(89, 91); break; case 17: if ((0xffffff7fffffffffL & l) != 0L) jjCheckNAddStates(89, 91); break; case 19: if (curChar == 32) jjAddStates(13, 14); break; case 20: if (curChar == 10) jjCheckNAddStates(89, 91); break; case 21: if (curChar == 39 && kind > 27) kind = 27; break; case 22: if (curChar == 45) jjCheckNAdd(23); break; case 23: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 52) kind = 52; jjCheckNAdd(23); break; case 25: if ((0x3ff200000000000L & l) == 0L) break; if (kind > 60) kind = 60; jjstateSet[jjnewStateCnt++] = 25; break; case 26: if (curChar == 46) jjstateSet[jjnewStateCnt++] = 27; break; case 30: if (curChar == 36 && kind > 13) kind = 13; break; case 32: if (curChar == 36) jjCheckNAddTwoStates(33, 34); break; case 34: if (curChar == 33 && kind > 14) kind = 14; break; case 35: if (curChar != 36) break; if (kind > 13) kind = 13; jjCheckNAddTwoStates(33, 34); break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 3: if ((0x7fffffe87fffffeL & l) != 0L) { if (kind > 60) kind = 60; jjCheckNAdd(25); } else if (curChar == 92) jjCheckNAddStates(99, 102); break; case 1: if (kind > 16) kind = 16; break; case 6: if ((0xffffffffefffffffL & l) != 0L) jjCheckNAddStates(92, 94); break; case 8: if (curChar == 92) jjAddStates(103, 107); break; case 9: if ((0x14404410000000L & l) != 0L) jjCheckNAddStates(92, 94); break; case 17: jjAddStates(89, 91); break; case 18: if (curChar == 92) jjAddStates(13, 14); break; case 24: case 25: if ((0x7fffffe87fffffeL & l) == 0L) break; if (kind > 60) kind = 60; jjCheckNAdd(25); break; case 27: if ((0x7fffffe07fffffeL & l) != 0L && kind > 61) kind = 61; break; case 28: if (curChar == 92) jjCheckNAddStates(99, 102); break; case 29: if (curChar == 92) jjCheckNAddTwoStates(29, 30); break; case 31: if (curChar == 92) jjCheckNAddTwoStates(31, 32); break; case 33: if (curChar == 92) jjAddStates(108, 109); break; default : break; } } while(i != startsAt); } else { int hiByte = (int)(curChar >> 8); int i1 = hiByte >> 6; long l1 = 1L << (hiByte & 077); int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 1: if (jjCanMove_0(hiByte, i1, i2, l1, l2) && kind > 16) kind = 16; break; case 6: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjAddStates(92, 94); break; case 17: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjAddStates(89, 91); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 36 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } }}
55820 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55820/5b85dc5e122a5bdf3ea90d4f89cebe71413fc26b/ParserTokenManager.java/clean/src/java/org/apache/velocity/runtime/parser/ParserTokenManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 727, 509, 10684, 7607, 50, 507, 67, 21, 12, 474, 787, 1119, 16, 509, 662, 1616, 15329, 282, 509, 8526, 1024, 7629, 31, 282, 509, 2542, 861, 273, 374, 31, 282, 10684, 2704, 1119, 11750, 273, 6580, 31, 282, 509, 277, 273, 404, 31, 282, 10684, 2019, 694, 63, 20, 65, 273, 787, 1119, 31, 282, 509, 525, 16, 3846, 273, 374, 92, 27, 18217, 74, 31, 282, 364, 261, 25708, 13, 282, 288, 1377, 309, 261, 9904, 78, 78, 2260, 422, 374, 92, 27, 18217, 74, 13, 540, 868, 2570, 54, 9284, 5621, 1377, 309, 261, 1397, 2156, 411, 5178, 13, 1377, 288, 540, 1525, 328, 273, 404, 48, 2296, 662, 2156, 31, 540, 4639, 6452, 30, 741, 540, 288, 5411, 1620, 12, 78, 78, 2019, 694, 63, 413, 77, 5717, 5411, 288, 9079, 648, 890, 30, 5375, 309, 14015, 20, 92, 23, 1403, 12648, 2787, 48, 473, 328, 13, 480, 374, 48, 13, 5375, 288, 5397, 309, 261, 9224, 405, 18106, 13, 13491, 3846, 273, 18106, 31, 5397, 10684, 1564, 50, 986, 7629, 12, 26009, 16, 28245, 1769, 5375, 289, 5375, 469, 309, 14015, 20, 92, 23899, 5558, 713, 48, 473, 328, 13, 480, 374, 48, 13, 5375, 288, 5397, 309, 261, 9224, 405, 10659, 13, 13491, 3846, 273, 10659, 31, 5397, 10684, 1564, 50, 986, 12, 24, 1769, 5375, 289, 5375, 469, 309, 261, 1397, 2156, 422, 6580, 13, 5375, 288, 5397, 309, 261, 9224, 405, 5958, 13, 13491, 3846, 273, 5958, 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, 3238, 727, 509, 10684, 7607, 50, 507, 67, 21, 12, 474, 787, 1119, 16, 509, 662, 1616, 15329, 282, 509, 8526, 1024, 7629, 31, 282, 509, 2542, 861, 273, 374, 31, 282, 10684, 2704, 1119, 11750, 273, 6580, 31, 282, 509, 277, 273, 404, 31, 282, 10684, 2019, 694, 63, 20, 65, 273, 787, 1119, 31, 282, 509, 525, 16, 3846, 273, 374, 92, 27, 18217, 74, 31, 282, 364, 261, 25708, 13, 282, 288, 1377, 309, 261, 9904, 78, 78, 2260, 422, 374, 92, 27, 18217, 74, 13, 540, 868, 2570, 54, 9284, 5621, 1377, 309, 261, 1397, 2156, 411, 5178, 13, 1377, 288, 540, 1525, 328, 273, 404, 48, 2296, 662, 2156, 31, 540, 4639, 6452, 30, 2 ]
list.add((wrappedSimple));
list.add(XMLUtilities.extractMobyData(wrappedSimple));
public Map execute(Map inputMap, IProcessorTask parentTask) throws TaskExecutionException { if (DEBUG) { logger.debug("Service " + proc.getName()); for (Iterator it = inputMap.keySet().iterator(); it.hasNext();) { String key = (String) it.next(); if (((DataThing) inputMap.get(key)).getDataObject() instanceof String) { logger.debug("key " + key + "has value of\n" + ((DataThing) inputMap.get(key)).getDataObject()); continue; } else if (((DataThing) inputMap.get(key)).getDataObject() instanceof List) { List list = (List) ((DataThing) inputMap.get(key)).getDataObject(); for (Iterator it2 = list.iterator(); it2.hasNext();) { logger.debug("List key " + key + "has value of\n" + it2.next()); } } } logger.debug("Printing of ports complete."); } if (inputMap.containsKey("input")) { // input port takes precedence over other ports try { DataThing inputThing = (DataThing) inputMap.get("input"); InputPort myInput = null; InputPort[] myInputs = proc.getInputPorts(); for (int i = 0; i < myInputs.length; i++) { if (myInputs[i].getName().equalsIgnoreCase("input")) { myInput = myInputs[i]; break; } } if (myInput == null) throw new TaskExecutionException( "The port 'input' was not specified correctly."); String inputType = myInput.getSyntacticType(); // If this is 'text/xml' then the biomoby service consumes // a simple and there is no processing to do as that's what we // have // If this is l('text/xml') biomoby expects a collection but // we have a java List of simples - need to convert this into // a biomoby collection document String inputXML = null; if (inputType.equals("'text/xml'")) { inputXML = (String) inputThing.getDataObject(); } else { // List of strings containing simple biomoby objects List simpleInputs = (List) inputThing.getDataObject(); // Create the empty collection document Element root = new Element("MOBY", mobyNS); Element content = new Element("mobyContent", mobyNS); root.addContent(content); Element data = new Element("mobyData", mobyNS); data.setAttribute("queryID", "d" + qCounter++, mobyNS); content.addContent(data); Element collectionElement = new Element("Collection", mobyNS); collectionElement.setAttribute("articleName", "", mobyNS); // It is this collection element that's going to acquire the // simples for (Iterator i = simpleInputs.iterator(); i.hasNext();) { String s = (String) i.next(); Element el = XMLUtilities.getDOMDocument(s).getRootElement(); Element mobyDataElement = el.getChild("mobyContent", mobyNS).getChild( "mobyData", mobyNS); // Remove the single 'Simple' child from this... Element simpleElement = (Element) mobyDataElement.getChildren().get(0); // Tag the simple element onto the collection. collectionElement.addContent(simpleElement.detach()); } XMLOutputter xo = new XMLOutputter(Format.getPrettyFormat()); inputXML = xo.outputString(new Document(root)); // Iterate and create the collection, // ....inputXML = collectionThing } // do the task and populate outputXML String methodName = ((BiomobyProcessor) proc).getServiceName(); String serviceEndpoint = ((BiomobyProcessor) proc).getEndpoint().toExternalForm(); String outputXML = new CentralImpl(serviceEndpoint, "http://biomoby.org/").call( methodName, inputXML); Map outputMap = new HashMap(); // goes through and creates the port 'output' processOutputPort(outputXML, outputMap); // create the other ports processOutputPorts(outputXML, outputMap); return outputMap; } catch (MobyException ex) { // a MobyException should be already reasonably formatted logger.error("Error invoking biomoby service for biomoby. A MobyException caught", ex); TaskExecutionException tee = new TaskExecutionException( "Task failed due to problem invoking biomoby service.\n" + ex.getMessage()); tee.initCause(ex); throw tee; } catch (Exception ex) { // details of other exceptions will appear only in a log ex.printStackTrace(); logger.error("Error invoking biomoby service for biomoby", ex); TaskExecutionException tee = new TaskExecutionException( "Task failed due to problem invoking biomoby service (see details in log)"); tee.initCause(ex); throw tee; } } else { // now try other named ports try { InputPort myInput = null; InputPort[] myInputs = proc.getBoundInputPorts(); String inputXML = null; Element root = new Element("MOBY", XMLUtilities.MOBY_NS); Element content = new Element("mobyContent", XMLUtilities.MOBY_NS); root.addContent(content); int totalMobyDatas = 0; Vector mobyDatas = new Vector(); // list of mobyData element for (int i = 0; i < myInputs.length; i++) { if (myInputs[i].getName().equalsIgnoreCase("input")) { continue; } myInput = myInputs[i]; if (myInput == null) throw new TaskExecutionException("The port '" + myInputs[i].getName() + "' was not specified correctly."); // the port name String portName = myInput.getName(); // the article name String articleName = ""; String type = portName; if (portName.indexOf("(") >= 0 && portName.indexOf(")") > 0) { articleName = portName.substring(portName.indexOf("(") + 1, portName .indexOf(")")); if (articleName.indexOf("'") >= 0 && articleName.lastIndexOf("'") > 0) articleName = articleName.substring(articleName.indexOf("'") + 1, articleName.lastIndexOf("'")); type = portName.substring(0, portName.indexOf("(")); } //String inputType = myInput.getSyntacticType(); DataThing inputThing = (DataThing) inputMap.get(portName); if (!inputThing.getSyntacticType().startsWith("l(")) { inputXML = (String) inputThing.getDataObject(); Element inputElement = null; try { inputElement = XMLUtilities.getDOMDocument(inputXML).getRootElement(); } catch (MobyException e) { throw new TaskExecutionException(XMLUtilities.newline + "There was an error parsing the input XML:" + XMLUtilities.newline + Utils.format(inputXML, 3) + XMLUtilities.newline + e.getLocalizedMessage()); } // determine whether we have a multiple invocation // message if (XMLUtilities.isMultipleInvocationMessage(inputElement)) { // multiple invocations Element[] invocations = XMLUtilities .getSingleInvokationsFromMultipleInvokations(inputElement); ArrayList list = new ArrayList(); for (int j = 0; j < invocations.length; j++) { Element[] elements = XMLUtilities .getListOfCollections(invocations[j]); if (elements.length == 0) { // single simple inputElement = XMLUtilities.renameSimple(articleName, type, invocations[j]); Element md = XMLUtilities.extractMobyData(inputElement); list.add(md); } else { // collection of simples => create multiple // invocation message String queryID = XMLUtilities.getQueryID(invocations[j]); Element[] simples = XMLUtilities .getSimplesFromCollection(invocations[j]); for (int k = 0; k < simples.length; k++) { Element wrappedSimple = XMLUtilities .createMobyDataElementWrapper(simples[k]); wrappedSimple = XMLUtilities.renameSimple(articleName, type, wrappedSimple); wrappedSimple = XMLUtilities.setQueryID(wrappedSimple, queryID /*+ "_+_" + XMLUtilities.getQueryID(wrappedSimple)*/); list.add((wrappedSimple)); } } } if (list.isEmpty()) continue; if (totalMobyDatas < 1) totalMobyDatas = 1; totalMobyDatas *= list.size(); mobyDatas.add(list); } else { // single invocation // is this a collection Element[] elements = XMLUtilities.getListOfCollections(inputElement); if (elements.length == 0) { // single simple inputElement = XMLUtilities.renameSimple(articleName, type, inputElement); ArrayList list = new ArrayList(); Element md = XMLUtilities.extractMobyData(inputElement); list.add(md); mobyDatas.add(list); if (totalMobyDatas < 1) totalMobyDatas = 1; } else { // collection of simples => create multiple // invocation message String queryID = XMLUtilities.getQueryID(inputElement); Element[] simples = XMLUtilities .getSimplesFromCollection(inputElement); ArrayList list = new ArrayList(); for (int j = 0; j < simples.length; j++) { Element wrappedSimple = XMLUtilities .createMobyDataElementWrapper(simples[j]); wrappedSimple = XMLUtilities.renameSimple(articleName, type, wrappedSimple); wrappedSimple = XMLUtilities.setQueryID(wrappedSimple, queryID /*+ "_+_" + XMLUtilities.getQueryID(wrappedSimple)*/); list.add((wrappedSimple)); } if (list.isEmpty()) continue; mobyDatas.add(list); if (totalMobyDatas < 1) totalMobyDatas = 1 * list.size(); else { totalMobyDatas *= list.size(); } } } } else { // we have a collection! // inputThing is a list of Strings List list = (List) inputThing.getDataObject(); /* * need this map in cases where simples are passed into * a service that wants a collection. each simple is * then added into the same collection */ Map collectionMap = new HashMap(); for (Iterator it = list.iterator(); it.hasNext();) { Element inputElement = null; String next = (String) it.next(); try { inputElement = XMLUtilities.getDOMDocument(next) .getRootElement(); } catch (MobyException e) { throw new TaskExecutionException(XMLUtilities.newline + "There was an error parsing the input XML:" + XMLUtilities.newline + Utils.format(inputXML, 3) + XMLUtilities.newline + e.getLocalizedMessage()); } // determine whether we have a multiple invocation // message if (XMLUtilities.isMultipleInvocationMessage(inputElement)) { // multiple invocations (update totalMobyDatas) Element[] invocations = XMLUtilities .getSingleInvokationsFromMultipleInvokations(inputElement); ArrayList mdList = new ArrayList(); // this is here for mim messages of simples Element mimCollection = null; String mimQueryID = ""; for (int j = 0; j < invocations.length; j++) { Element[] elements = XMLUtilities .getListOfCollections(invocations[j]); // FIXME mimQueryID = XMLUtilities.getQueryID(invocations[j]); if (elements.length == 0) { if (mimCollection == null) mimCollection = new Element("Collection", XMLUtilities.MOBY_NS); // FIXME simple (s) was(were) passed in // - wrap it (them) /* * problem is that * createMobyDataElementWrapper consumes * simple/collection and not mobydata. * replace this whole block of code with * code that will take each invocation * and produce one collection. queryid * will be the id from all invocations * joined by underscores test is: string * workflow with abcd gluestrings1 */ Element theSimple = XMLUtilities .extractMobyData(invocations[j]); if (theSimple.getChild("Simple") != null) theSimple = theSimple.getChild("Simple"); else if (theSimple.getChild("Simple", XMLUtilities.MOBY_NS) != null) theSimple = theSimple.getChild("Simple", XMLUtilities.MOBY_NS); mimCollection.addContent(theSimple.detach()); //mimQueryID = mimQueryID + "_" + XMLUtilities.getQueryID(invocations[j]); } else { // collection passed in (always 1 passed // in) Element collection = invocations[j]; collection = XMLUtilities.renameCollection(articleName, collection); collection = XMLUtilities.createMobyDataElementWrapper( collection, XMLUtilities.getQueryID(invocations[j]), null); mdList.add(XMLUtilities.extractMobyData(collection)); } } if (mimCollection != null) { mimCollection = XMLUtilities.createMobyDataElementWrapper( mimCollection, mimQueryID, null); mimCollection = XMLUtilities.renameCollection(articleName, mimCollection); mimCollection = XMLUtilities.createMobyDataElementWrapper( mimCollection, mimQueryID, null); mdList.add(XMLUtilities.extractMobyData(mimCollection)); } if (mdList.isEmpty()) continue; mobyDatas.add(mdList); if (totalMobyDatas < 1) totalMobyDatas = 1; totalMobyDatas *= mdList.size(); } else { // single invocation Element[] elements = XMLUtilities .getListOfCollections(inputElement); if (elements.length == 0) { // simple was passed in so wrap it Element collection = new Element("Collection", XMLUtilities.MOBY_NS); collection.addContent(XMLUtilities .extractMobyData(inputElement).cloneContent()); collection = XMLUtilities .createMobyDataElementWrapper(collection, XMLUtilities .getQueryID(inputElement), null); collection = XMLUtilities.renameCollection(articleName, collection); collection = XMLUtilities .createMobyDataElementWrapper(collection, XMLUtilities .getQueryID(inputElement), null); if (collectionMap.containsKey(articleName)) { // add the simple to a pre-existing // collection ArrayList mdList = (ArrayList) collectionMap .remove(articleName); mdList.add(XMLUtilities.extractMobyData(collection)); collectionMap.put(articleName, mdList); } else { // new collection - add element and // increment count ArrayList mdList = new ArrayList(); mdList.add(XMLUtilities.extractMobyData(collection)); collectionMap.put(articleName, mdList); // totalMobyDatas++; if (totalMobyDatas < 1) totalMobyDatas = 1; } // mobyDatas.add(mdList); // totalMobyDatas++; } else { // we have a collection Element collection = inputElement; collection = XMLUtilities.renameCollection(articleName, collection); ArrayList mdList = new ArrayList(); collection = XMLUtilities .createMobyDataElementWrapper(collection, XMLUtilities .getQueryID(inputElement), null); mdList.add(XMLUtilities.extractMobyData(collection)); if (DEBUG) { logger .debug("***********SIM_COLLECTION_IN****************"); logger.debug(new XMLOutputter(Format.getPrettyFormat()) .outputString(collection)); logger .debug("***********SIM_COLLECTION_IN****************"); } mobyDatas.add(mdList); if (totalMobyDatas < 1) totalMobyDatas = 1; } } // end if MIM } // end iteration over inputThing list Iterator collectionIterator = collectionMap.keySet().iterator(); while (collectionIterator.hasNext()) { String key = (String) collectionIterator.next(); List theList = (List) collectionMap.get(key); theList = XMLUtilities.mergeCollections(theList, key); mobyDatas.add(theList); } } } if (DEBUG) { logger.debug("Before MobyData aggregation"); for (Iterator itr = mobyDatas.iterator(); itr.hasNext();) { List eList = (List) itr.next(); for (int x = 0; x < eList.size(); x++) { logger.debug(new XMLOutputter(Format.getPrettyFormat()) .outputString((Element) eList.get(x))); } } logger.debug("******* End ******"); } /* * ports have been processed -> vector contains a list of all * the different types of inputs with their article names set * correctly. The elements are from mobyData down. Moreover, * there are totalMobyData number of invocations in the output * moby message */ if (DEBUG) { logger.debug("TotalMobyDatas: " + totalMobyDatas); } Element[] mds = new Element[totalMobyDatas]; // initialize the mobydata blocks for (int x = 0; x < mds.length; x++) { mds[x] = new Element("mobyData", XMLUtilities.MOBY_NS); String queryID = "_"; // add the content for (Iterator iter = mobyDatas.iterator(); iter.hasNext();) { ArrayList list = (ArrayList) iter.next(); int index = x % list.size(); Element next = ((Element) list.get(index)); //queryID += "_" + XMLUtilities.getQueryID(next); queryID = XMLUtilities.getQueryID(next); mds[x].addContent(next.cloneContent()); } // remove the first _// if (queryID != null && queryID.length() > 1)// queryID = queryID.substring(1); mds[x].setAttribute("queryID", queryID, XMLUtilities.MOBY_NS); // if secondarys exist add them here if (((BiomobyProcessor) this.proc).containsSecondaries()) { @SuppressWarnings("unused") ParametersTable pt = ((BiomobyProcessor) this.proc).getParameterTable(); Element[] parameters = null; parameters = ((BiomobyProcessor) this.proc).getParameterTable().toXML(); for (int i = 0; i < parameters.length; i++) { mds[x].addContent((parameters[i]).detach()); } } content.addContent(mds[x].detach()); } if (DEBUG) { logger.debug("After MobyData aggregation"); logger.debug(new XMLOutputter(Format.getPrettyFormat()).outputString(root)); logger.debug("******* End ******"); } // do the task and populate outputXML String methodName = ((BiomobyProcessor) proc).getServiceName(); String serviceEndpoint = ((BiomobyProcessor) proc).getEndpoint().toExternalForm(); String serviceInput = new XMLOutputter(Format.getPrettyFormat()).outputString(root); String[] invocations = XMLUtilities .getSingleInvokationsFromMultipleInvokations(serviceInput); // logger.debug(serviceInput); // going to iterate over all invocations so that messages with // many mobyData blocks dont timeout. logger.debug("Total invocations " + invocations.length); if (invocations.length > 0) logger.debug("invocation 00"); for (int inCount = 0; inCount < invocations.length; inCount++) { // logger.debug("invocation " + (inCount + 1) + " of " + // invocations.length); logger.debug(((inCount + 1) % 10 == 0 ? "\b\b" + (inCount + 1) : "\b" + (inCount + 1) % 10)); if (DEBUG) logger.info("input:\n" + invocations[inCount]); if (!XMLUtilities.isEmpty(invocations[inCount])) invocations[inCount] = new CentralImpl(serviceEndpoint, "http://biomoby.org/").call(methodName, invocations[inCount]); if (DEBUG) logger.info("output:\n" + invocations[inCount]); } String outputXML = XMLUtilities.createMultipleInvokations(invocations); Map outputMap = new HashMap(); // goes through and creates the port 'output' processOutputPort(outputXML, outputMap); // create the other ports processOutputPorts(outputXML, outputMap); return outputMap; } catch (MobyException ex) { // a MobyException should be already reasonably formatted logger.error("Error invoking biomoby service for biomoby. A MobyException caught", ex); TaskExecutionException tee = new TaskExecutionException( "Task failed due to problem invoking biomoby service.\n" + ex.getMessage()); tee.initCause(ex); throw tee; } catch (Exception ex) { // details of other exceptions will appear only in a log ex.printStackTrace(); logger.error("Error invoking biomoby service for biomoby", ex); TaskExecutionException tee = new TaskExecutionException( "Task failed due to problem invoking biomoby service (see details in log)"); tee.initCause(ex); throw tee; } } }
7616 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7616/bd67d7d50fb035c546da89a7a2782c52b33c9b88/BiomobyTask.java/clean/trunk/taverna1.0/taverna-biomoby/src/main/java/org/biomoby/client/taverna/plugin/BiomobyTask.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1635, 1836, 12, 863, 810, 863, 16, 467, 5164, 2174, 982, 2174, 13, 1216, 3837, 14576, 288, 202, 202, 430, 261, 9394, 13, 288, 1082, 202, 4901, 18, 4148, 2932, 1179, 315, 397, 5418, 18, 17994, 10663, 1082, 202, 1884, 261, 3198, 518, 273, 810, 863, 18, 856, 694, 7675, 9838, 5621, 518, 18, 5332, 2134, 5621, 13, 288, 9506, 202, 780, 498, 273, 261, 780, 13, 518, 18, 4285, 5621, 9506, 202, 430, 261, 12443, 751, 10193, 13, 810, 863, 18, 588, 12, 856, 13, 2934, 588, 21881, 1435, 1276, 514, 13, 288, 6862, 202, 4901, 18, 4148, 2932, 856, 315, 397, 498, 397, 315, 5332, 460, 434, 64, 82, 6, 6862, 1082, 202, 15, 14015, 751, 10193, 13, 810, 863, 18, 588, 12, 856, 13, 2934, 588, 21881, 10663, 6862, 202, 17143, 31, 9506, 202, 97, 469, 309, 261, 12443, 751, 10193, 13, 810, 863, 18, 588, 12, 856, 13, 2934, 588, 21881, 1435, 1276, 987, 13, 288, 6862, 202, 682, 666, 273, 261, 682, 13, 14015, 751, 10193, 13, 810, 863, 18, 588, 12, 856, 13, 2934, 588, 21881, 5621, 6862, 202, 1884, 261, 3198, 518, 22, 273, 666, 18, 9838, 5621, 518, 22, 18, 5332, 2134, 5621, 13, 288, 25083, 202, 4901, 18, 4148, 2932, 682, 498, 315, 397, 498, 397, 315, 5332, 460, 434, 64, 82, 6, 397, 518, 22, 18, 4285, 10663, 6862, 202, 97, 9506, 202, 97, 1082, 202, 97, 1082, 202, 4901, 18, 4148, 2932, 5108, 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, 1635, 1836, 12, 863, 810, 863, 16, 467, 5164, 2174, 982, 2174, 13, 1216, 3837, 14576, 288, 202, 202, 430, 261, 9394, 13, 288, 1082, 202, 4901, 18, 4148, 2932, 1179, 315, 397, 5418, 18, 17994, 10663, 1082, 202, 1884, 261, 3198, 518, 273, 810, 863, 18, 856, 694, 7675, 9838, 5621, 518, 18, 5332, 2134, 5621, 13, 288, 9506, 202, 780, 498, 273, 261, 780, 13, 518, 18, 4285, 5621, 9506, 202, 430, 261, 12443, 751, 10193, 13, 810, 863, 18, 588, 12, 856, 13, 2934, 588, 21881, 1435, 1276, 514, 13, 288, 6862, 202, 4901, 18, 4148, 2932, 856, 315, 397, 498, 397, 315, 5332, 460, 434, 64, 82, 6, 6862, 1082, 202, 15, 2 ]
try { connectionStrategy.connect(this); } catch (UMOException e) { connector.getExceptionListener().exceptionThrown(e); setExceptionCode(exception);
if (exception instanceof ConnectException) { try { connectionStrategy.connect(this); } catch (UMOException e) { connector.getExceptionListener().exceptionThrown(e); setExceptionCode(exception); }
public void handleException(Exception exception) { if (exception instanceof ConnectException) { logger.info("Exception caught is a ConnectException, disconnecting receiver and invoking ReconnectStrategy"); try { disconnect(); } catch (Exception e) { connector.getExceptionListener().exceptionThrown(e); setExceptionCode(exception); return; } } connector.getExceptionListener().exceptionThrown(exception); setExceptionCode(exception); try { connectionStrategy.connect(this); } catch (UMOException e) { connector.getExceptionListener().exceptionThrown(e); setExceptionCode(exception); } }
2370 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2370/ae3f76e3f49223d642e920cfaf75c4810823d9a5/AbstractMessageReceiver.java/clean/mule/src/java/org/mule/providers/AbstractMessageReceiver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 20879, 12, 503, 1520, 13, 565, 288, 3639, 309, 261, 4064, 1276, 8289, 503, 13, 288, 5411, 1194, 18, 1376, 2932, 503, 13537, 353, 279, 8289, 503, 16, 9479, 310, 5971, 471, 15387, 868, 3612, 4525, 8863, 5411, 775, 288, 7734, 9479, 5621, 5411, 289, 1044, 261, 503, 425, 13, 288, 7734, 8703, 18, 588, 503, 2223, 7675, 4064, 29591, 12, 73, 1769, 7734, 29680, 1085, 12, 4064, 1769, 7734, 327, 31, 5411, 289, 3639, 289, 3639, 8703, 18, 588, 503, 2223, 7675, 4064, 29591, 12, 4064, 1769, 3639, 29680, 1085, 12, 4064, 1769, 3639, 775, 288, 5411, 1459, 4525, 18, 3612, 12, 2211, 1769, 3639, 289, 1044, 261, 2799, 51, 503, 425, 13, 288, 5411, 8703, 18, 588, 503, 2223, 7675, 4064, 29591, 12, 73, 1769, 5411, 29680, 1085, 12, 4064, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 918, 20879, 12, 503, 1520, 13, 565, 288, 3639, 309, 261, 4064, 1276, 8289, 503, 13, 288, 5411, 1194, 18, 1376, 2932, 503, 13537, 353, 279, 8289, 503, 16, 9479, 310, 5971, 471, 15387, 868, 3612, 4525, 8863, 5411, 775, 288, 7734, 9479, 5621, 5411, 289, 1044, 261, 503, 425, 13, 288, 7734, 8703, 18, 588, 503, 2223, 7675, 4064, 29591, 12, 73, 1769, 7734, 29680, 1085, 12, 4064, 1769, 7734, 327, 31, 5411, 289, 3639, 289, 3639, 8703, 18, 588, 503, 2223, 7675, 4064, 29591, 12, 4064, 1769, 3639, 29680, 1085, 12, 4064, 1769, 3639, 775, 288, 5411, 1459, 4525, 18, 3612, 12, 2211, 1769, 3639, 289, 1044, 261, 2799, 51, 503, 425, 13, 288, 5411, 2 ]
+ "\",null,false);\n");
+ "\",null,this.namespace);\n");
private static String makeServerScript(boolean wait, boolean restore, boolean newView, boolean newPlainView, String[] args, String scriptFile) { StringBuffer script = new StringBuffer(); String userDir = System.getProperty("user.dir"); script.append("parent = \""); script.append(MiscUtilities.charsToEscapes(userDir)); script.append("\";\n"); script.append("args = new String["); script.append(args.length); script.append("];\n"); for(int i = 0; i < args.length; i++) { script.append("args["); script.append(i); script.append("] = "); if(args[i] == null) script.append("null"); else { script.append('"'); script.append(MiscUtilities.charsToEscapes(args[i])); script.append('"'); } script.append(";\n"); } script.append("view = jEdit.getLastView();\n"); script.append("buffer = EditServer.handleClient(" + restore + "," + newView + "," + newPlainView + ",parent,args);\n"); script.append("if(buffer != null && " + wait + ") {\n"); script.append("\tbuffer.setWaitSocket(socket);\n"); script.append("\tdoNotCloseSocket = true;\n"); script.append("}\n"); script.append("if(view != jEdit.getLastView() && " + wait + ") {\n"); script.append("\tjEdit.getLastView().setWaitSocket(socket);\n"); script.append("\tdoNotCloseSocket = true;\n"); script.append("}\n"); script.append("if(doNotCloseSocket == void)\n"); script.append("\tsocket.close();\n"); if(scriptFile != null) { scriptFile = MiscUtilities.constructPath(userDir,scriptFile); script.append("BeanShell.runScript(null,\"" + MiscUtilities.charsToEscapes(scriptFile) + "\",null,false);\n"); } return script.toString(); } //}}}
6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/bf0bda9dff551cc0e307bfcafe1713cc02d3b681/jEdit.java/clean/org/gjt/sp/jedit/jEdit.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 514, 1221, 2081, 3651, 12, 6494, 2529, 16, 202, 202, 6494, 5217, 16, 1250, 394, 1767, 16, 202, 202, 6494, 394, 13360, 1767, 16, 514, 8526, 833, 16, 202, 202, 780, 2728, 812, 13, 202, 95, 202, 202, 780, 1892, 2728, 273, 394, 6674, 5621, 202, 202, 780, 729, 1621, 273, 2332, 18, 588, 1396, 2932, 1355, 18, 1214, 8863, 202, 202, 4263, 18, 6923, 2932, 2938, 273, 1239, 8863, 202, 202, 4263, 18, 6923, 12, 11729, 71, 11864, 18, 7549, 774, 30092, 12, 1355, 1621, 10019, 202, 202, 4263, 18, 6923, 2932, 2412, 9747, 82, 8863, 202, 202, 4263, 18, 6923, 2932, 1968, 273, 394, 514, 63, 8863, 202, 202, 4263, 18, 6923, 12, 1968, 18, 2469, 1769, 202, 202, 4263, 18, 6923, 2932, 65, 9747, 82, 8863, 202, 202, 1884, 12, 474, 277, 273, 374, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 202, 202, 95, 1082, 202, 4263, 18, 6923, 2932, 1968, 63, 8863, 1082, 202, 4263, 18, 6923, 12, 77, 1769, 1082, 202, 4263, 18, 6923, 2932, 65, 273, 315, 1769, 1082, 202, 430, 12, 1968, 63, 77, 65, 422, 446, 13, 9506, 202, 4263, 18, 6923, 2932, 2011, 8863, 1082, 202, 12107, 1082, 202, 95, 9506, 202, 4263, 18, 6923, 2668, 5187, 1769, 9506, 202, 4263, 18, 6923, 12, 11729, 71, 11864, 18, 7549, 774, 30092, 12, 1968, 63, 77, 5717, 1769, 9506, 202, 4263, 18, 6923, 2668, 5187, 1769, 1082, 202, 97, 1082, 202, 4263, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 514, 1221, 2081, 3651, 12, 6494, 2529, 16, 202, 202, 6494, 5217, 16, 1250, 394, 1767, 16, 202, 202, 6494, 394, 13360, 1767, 16, 514, 8526, 833, 16, 202, 202, 780, 2728, 812, 13, 202, 95, 202, 202, 780, 1892, 2728, 273, 394, 6674, 5621, 202, 202, 780, 729, 1621, 273, 2332, 18, 588, 1396, 2932, 1355, 18, 1214, 8863, 202, 202, 4263, 18, 6923, 2932, 2938, 273, 1239, 8863, 202, 202, 4263, 18, 6923, 12, 11729, 71, 11864, 18, 7549, 774, 30092, 12, 1355, 1621, 10019, 202, 202, 4263, 18, 6923, 2932, 2412, 9747, 82, 8863, 202, 202, 4263, 18, 6923, 2932, 1968, 273, 394, 514, 63, 8863, 202, 202, 4263, 18, 6923, 12, 2 ]
try { Object obj = this.i.eval(cmd); if (!_isDevel(this.i)) { p.pp(this.i, obj); } } catch (bsh.EvalError eBEE) { }
cmd = ShellHelper.eval(i, cmd);
private void _run() throws GrouperShellException { String cmd = new String(); try { this.i.eval( "importCommands(\"com.devclue.grouper.shell\")" ); this.i.eval( "importCommands(\"edu.internet2.middleware.grouper\")" ); this.i.eval( "importCommands(\"edu.internet2.middleware.subject\")" ); this.i.eval( "importCommands(\"edu.internet2.middleware.subject.provider\")" ); this.i.eval( "import edu.internet2.middleware.grouper.*;" ); this.i.eval( "import edu.internet2.middleware.subject.*;" ); this.i.eval( "import edu.internet2.middleware.subject.provider.*;" ); } catch (bsh.EvalError eBBB) { throw new GrouperShellException(E.I_IMPORT + eBBB.getMessage(), eBBB); } while ( (cmd = r.next()) != null) { // TODO Replace these with something cleaner if ( cmd.startsWith("#") || cmd.startsWith("//") ) { continue; } if ( cmd.equals("exit") || cmd.equals("quit") ) { this._stopSession(); break; } // Update command history try { setHistory(this.i, this.r.getCnt(), cmd); } catch (bsh.EvalError eBEE) { this.i.error(E.GSH_SETHISTORY + eBEE.getMessage()); } // Now try to eval the command try { Object obj = this.i.eval(cmd); // If we aren't in devel mode, just print out the results if (!_isDevel(this.i)) { p.pp(this.i, obj); } } catch (bsh.EvalError eBEE) { // TODO ??? // this.i.error("EVAL ERROR.GET: " + eBEE.getErrorText()); // this.i.error("EVAL ERROR.GM : " + eBEE.getMessage()); } } } // private void _run(r)
5235 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5235/de1486c4280090d4759183a60b6effca39dc601d/GrouperShell.java/buggy/grouper/contrib/cdg/src/cdg/com/devclue/grouper/shell/GrouperShell.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 389, 2681, 1435, 377, 1216, 225, 3756, 264, 13220, 503, 225, 288, 565, 514, 1797, 273, 394, 514, 5621, 565, 775, 288, 1377, 333, 18, 77, 18, 8622, 12, 225, 315, 5666, 9127, 23031, 832, 18, 5206, 830, 344, 18, 1655, 264, 18, 10304, 2412, 2225, 1171, 11272, 1377, 333, 18, 77, 18, 8622, 12, 225, 315, 5666, 9127, 23031, 28049, 18, 267, 14726, 22, 18, 17352, 18, 1655, 264, 2412, 2225, 1850, 11272, 1377, 333, 18, 77, 18, 8622, 12, 225, 315, 5666, 9127, 23031, 28049, 18, 267, 14726, 22, 18, 17352, 18, 7857, 2412, 2225, 1850, 11272, 1377, 333, 18, 77, 18, 8622, 12, 225, 315, 5666, 9127, 23031, 28049, 18, 267, 14726, 22, 18, 17352, 18, 7857, 18, 6778, 2412, 2225, 11272, 1377, 333, 18, 77, 18, 8622, 12, 225, 315, 5666, 1675, 89, 18, 267, 14726, 22, 18, 17352, 18, 1655, 264, 4509, 4868, 10792, 11272, 1377, 333, 18, 77, 18, 8622, 12, 225, 315, 5666, 1675, 89, 18, 267, 14726, 22, 18, 17352, 18, 7857, 4509, 4868, 10792, 11272, 1377, 333, 18, 77, 18, 8622, 12, 225, 315, 5666, 1675, 89, 18, 267, 14726, 22, 18, 17352, 18, 7857, 18, 6778, 4509, 4868, 6647, 11272, 565, 289, 565, 1044, 261, 70, 674, 18, 13904, 668, 425, 9676, 38, 13, 288, 1377, 604, 394, 3756, 264, 13220, 503, 12, 41, 18, 45, 67, 20445, 397, 425, 9676, 38, 18, 24906, 9334, 425, 9676, 38, 1769, 565, 289, 565, 1323, 261, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 389, 2681, 1435, 377, 1216, 225, 3756, 264, 13220, 503, 225, 288, 565, 514, 1797, 273, 394, 514, 5621, 565, 775, 288, 1377, 333, 18, 77, 18, 8622, 12, 225, 315, 5666, 9127, 23031, 832, 18, 5206, 830, 344, 18, 1655, 264, 18, 10304, 2412, 2225, 1171, 11272, 1377, 333, 18, 77, 18, 8622, 12, 225, 315, 5666, 9127, 23031, 28049, 18, 267, 14726, 22, 18, 17352, 18, 1655, 264, 2412, 2225, 1850, 11272, 1377, 333, 18, 77, 18, 8622, 12, 225, 315, 5666, 9127, 23031, 28049, 18, 267, 14726, 22, 18, 17352, 18, 7857, 2412, 2225, 1850, 11272, 1377, 333, 18, 77, 18, 8622, 12, 225, 315, 5666, 9127, 23031, 28049, 18, 267, 14726, 22, 2 ]
public void testIncludesDetailsOfThrowableInDescription() { StringBuffer buffer = new StringBuffer(); throwStub.describeTo(buffer); String description = buffer.toString(); assertTrue( "contains class of thrown object in description", description.indexOf(THROWABLE.toString()) >= 0 ); assertTrue( "contains 'throws' in description", description.indexOf("throws") >= 0 ); }
54028 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54028/4aaf60d8fa76687c3492c508dd98678fbbd3d935/ThrowStubTest.java/buggy/jmock/core/src/test/jmock/core/stub/ThrowStubTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 16815, 3790, 951, 15155, 382, 3291, 1435, 288, 202, 202, 780, 1892, 1613, 273, 394, 6674, 5621, 9506, 202, 12849, 11974, 18, 22748, 774, 12, 4106, 1769, 9506, 202, 780, 2477, 273, 1613, 18, 10492, 5621, 9506, 202, 11231, 5510, 12, 315, 12298, 667, 434, 6718, 733, 316, 2477, 3113, 6862, 565, 2477, 18, 31806, 12, 2455, 11226, 2782, 18, 10492, 10756, 1545, 374, 11272, 202, 202, 11231, 5510, 12, 315, 12298, 296, 15069, 11, 316, 2477, 3113, 6862, 202, 3384, 18, 31806, 2932, 15069, 7923, 1545, 374, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 16815, 3790, 951, 15155, 382, 3291, 1435, 288, 202, 202, 780, 1892, 1613, 273, 394, 6674, 5621, 9506, 202, 12849, 11974, 18, 22748, 774, 12, 4106, 1769, 9506, 202, 780, 2477, 273, 1613, 18, 10492, 5621, 9506, 202, 11231, 5510, 12, 315, 12298, 667, 434, 6718, 733, 316, 2477, 3113, 6862, 565, 2477, 18, 31806, 12, 2455, 11226, 2782, 18, 10492, 10756, 1545, 374, 11272, 202, 202, 11231, 5510, 12, 315, 12298, 296, 15069, 11, 316, 2477, 3113, 6862, 202, 3384, 18, 31806, 2932, 15069, 7923, 1545, 374, 11272, 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 ]
public void bar(List<? extends X> c) {
public void bar(List<? extends X<?, ?>> c) {
public void bar(List<? extends X> c) { }
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/fcd8f6eb5a6e4ad47715a6f446da38772d56031c/X.java/buggy/org.eclipse.jdt.core.tests.model/workspace/Converter15/src/test0065/X.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 4653, 12, 682, 12880, 3231, 1139, 34, 276, 13, 288, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 4653, 12, 682, 12880, 3231, 1139, 34, 276, 13, 288, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
lblWithinAxes.setText( Messages.getString( "ChartPlotSheetImpl.Label.AreaWithinAxes" ) );
lblWithinAxes.setText( getChart( ) instanceof ChartWithAxes ? Messages.getString( "ChartPlotSheetImpl.Label.AreaWithinAxes" ) : Messages.getString( "ChartPlotSheetImpl.Label.ClientArea" ) );
public void getComponent( Composite parent ) { cmpContent = new Composite( parent, SWT.NONE ); { GridLayout glContent = new GridLayout( 2, false ); cmpContent.setLayout( glContent ); GridData gd = new GridData( GridData.FILL_BOTH ); cmpContent.setLayoutData( gd ); } Composite cmpBasic = new Composite( cmpContent, SWT.NONE ); { cmpBasic.setLayout( new GridLayout( 2, false ) ); GridData gd = new GridData( GridData.FILL_HORIZONTAL ); cmpBasic.setLayoutData( gd ); } Label lblIncludingAxes = new Label( cmpBasic, SWT.NONE ); { GridData gd = new GridData( ); gd.horizontalSpan = 2; lblIncludingAxes.setLayoutData( gd ); lblIncludingAxes.setFont( JFaceResources.getBannerFont( ) ); lblIncludingAxes.setText( Messages.getString( "ChartPlotSheetImpl.Label.AreaIncludingAxes" ) ); //$NON-NLS-1$ } new Label( cmpBasic, SWT.NONE ).setText( Messages.getString( "ChartPlotSheetImpl.Label.Background" ) ); //$NON-NLS-1$ cmbBlockColor = new FillChooserComposite( cmpBasic, SWT.DROP_DOWN | SWT.READ_ONLY, getContext( ), getChart( ).getPlot( ) .getBackground( ), true, true ); { GridData gd = new GridData( ); gd.widthHint = 200; cmbBlockColor.setLayoutData( gd ); cmbBlockColor.addListener( this ); } new Label( cmpBasic, SWT.NONE ).setText( Messages.getString( "ChartPlotSheetImpl.Label.Outline" ) ); //$NON-NLS-1$ btnIncludingVisible = new Button( cmpBasic, SWT.CHECK ); { btnIncludingVisible.setText( Messages.getString( "ChartPlotSheetImpl.Label.Visible" ) ); //$NON-NLS-1$ btnIncludingVisible.addSelectionListener( this ); btnIncludingVisible.setSelection( getChart( ).getPlot( ) .getOutline( ) .isVisible( ) ); } Label lblWithinAxes = new Label( cmpBasic, SWT.NONE ); { GridData gd = new GridData( ); gd.horizontalSpan = 2; lblWithinAxes.setLayoutData( gd ); lblWithinAxes.setFont( JFaceResources.getBannerFont( ) ); lblWithinAxes.setText( Messages.getString( "ChartPlotSheetImpl.Label.AreaWithinAxes" ) ); //$NON-NLS-1$ } new Label( cmpBasic, SWT.NONE ).setText( Messages.getString( "ChartPlotSheetImpl.Label.Background" ) ); //$NON-NLS-1$ cmbClientAreaColor = new FillChooserComposite( cmpBasic, SWT.DROP_DOWN | SWT.READ_ONLY, getContext( ), getChart( ).getPlot( ) .getClientArea( ) .getBackground( ), true, true ); { GridData gridData = new GridData( ); gridData.widthHint = 200; cmbClientAreaColor.setLayoutData( gridData ); cmbClientAreaColor.addListener( this ); } new Label( cmpBasic, SWT.NONE ).setText( Messages.getString( "ChartPlotSheetImpl.Label.Outline" ) ); //$NON-NLS-1$ btnWithinVisible = new Button( cmpBasic, SWT.CHECK ); { btnWithinVisible.setText( Messages.getString( "ChartPlotSheetImpl.Label.Visible" ) ); //$NON-NLS-1$ btnWithinVisible.addSelectionListener( this ); btnWithinVisible.setSelection( getChart( ).getPlot( ) .getClientArea( ) .getOutline( ) .isVisible( ) ); } createButtonGroup( cmpContent ); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/27bff901c612aaa65dcea23efad331ad55527fe0/ChartPlotSheetImpl.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/wizard/format/chart/ChartPlotSheetImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 10322, 12, 14728, 982, 262, 202, 95, 202, 202, 9625, 1350, 273, 394, 14728, 12, 982, 16, 348, 8588, 18, 9826, 11272, 202, 202, 95, 1082, 202, 6313, 3744, 5118, 1350, 273, 394, 7145, 3744, 12, 576, 16, 629, 11272, 1082, 202, 9625, 1350, 18, 542, 3744, 12, 5118, 1350, 11272, 1082, 202, 6313, 751, 15551, 273, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 38, 18307, 11272, 1082, 202, 9625, 1350, 18, 542, 3744, 751, 12, 15551, 11272, 202, 202, 97, 202, 202, 9400, 9411, 8252, 273, 394, 14728, 12, 9411, 1350, 16, 348, 8588, 18, 9826, 11272, 202, 202, 95, 1082, 202, 9625, 8252, 18, 542, 3744, 12, 394, 7145, 3744, 12, 576, 16, 629, 262, 11272, 1082, 202, 6313, 751, 15551, 273, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 44, 20344, 11272, 1082, 202, 9625, 8252, 18, 542, 3744, 751, 12, 15551, 11272, 202, 202, 97, 202, 202, 2224, 14284, 382, 18596, 26494, 273, 394, 5287, 12, 9411, 8252, 16, 348, 8588, 18, 9826, 11272, 202, 202, 95, 1082, 202, 6313, 751, 15551, 273, 394, 7145, 751, 12, 11272, 1082, 202, 19016, 18, 18396, 6952, 273, 576, 31, 1082, 202, 31885, 382, 18596, 26494, 18, 542, 3744, 751, 12, 15551, 11272, 1082, 202, 31885, 382, 18596, 26494, 18, 542, 5711, 12, 804, 11824, 3805, 18, 588, 27398, 5711, 12, 262, 11272, 1082, 202, 31885, 382, 18596, 26494, 18, 542, 1528, 12, 4838, 18, 588, 780, 12, 315, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 10322, 12, 14728, 982, 262, 202, 95, 202, 202, 9625, 1350, 273, 394, 14728, 12, 982, 16, 348, 8588, 18, 9826, 11272, 202, 202, 95, 1082, 202, 6313, 3744, 5118, 1350, 273, 394, 7145, 3744, 12, 576, 16, 629, 11272, 1082, 202, 9625, 1350, 18, 542, 3744, 12, 5118, 1350, 11272, 1082, 202, 6313, 751, 15551, 273, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 38, 18307, 11272, 1082, 202, 9625, 1350, 18, 542, 3744, 751, 12, 15551, 11272, 202, 202, 97, 202, 202, 9400, 9411, 8252, 273, 394, 14728, 12, 9411, 1350, 16, 348, 8588, 18, 9826, 11272, 202, 202, 95, 1082, 202, 9625, 8252, 18, 542, 3744, 12, 394, 7145, 3744, 12, 2 ]
long version = DataTools.bytesToLong(toRead, little);
long version = DataTools.bytesToLong(toRead, false);
private void initMetadata() throws IOException { in.seek(0); // start by reading the file header byte[] toRead = new byte[4]; in.read(toRead); long order = batoi(toRead); // byte ordering little = toRead[2] != 0xff || toRead[3] != 0xff; metadata.put("Byte Order", new Boolean(little)); in.skipBytes(4); in.read(toRead); long version = DataTools.bytesToLong(toRead, little); metadata.put("Version", new Long(version)); byte[] er = new byte[2]; in.read(er); short count = DataTools.bytesToShort(er, little); metadata.put("Count", new Short(count)); in.skipBytes(2); in.read(toRead); long offset = DataTools.bytesToLong(toRead, little); // skip to first tag in.seek(offset); // read in each tag and its data for (int i=0; i<count; i++) { in.read(er); short tag = DataTools.bytesToShort(er, little); in.skipBytes(2); in.read(toRead); offset = DataTools.bytesToLong(toRead, little); in.read(toRead); long fmt = DataTools.bytesToLong(toRead, little); metadata.put("Format", new Long(fmt)); in.read(toRead); long numBytes = DataTools.bytesToLong(toRead, little); metadata.put("NumBytes", new Long(numBytes)); if (tag == 67 || tag == 68) { byte[] b = new byte[1]; in.read(b); boolean isOpenlab2; if (b[0] == '0') isOpenlab2 = false; else isOpenlab2 = true; metadata.put("isOpenlab2", new Boolean(isOpenlab2)); in.skipBytes(2); in.read(er); short layerId = DataTools.bytesToShort(er, little); metadata.put("LayerID", new Short(layerId)); in.read(er); short layerType = DataTools.bytesToShort(er, little); metadata.put("LayerType", new Short(layerType)); in.read(er); short bitDepth = DataTools.bytesToShort(er, little); metadata.put("BitDepth", new Short(bitDepth)); in.read(er); short opacity = DataTools.bytesToShort(er, little); metadata.put("Opacity", new Short(opacity)); // not sure how many bytes to skip here in.skipBytes(10); in.read(toRead); long type = DataTools.bytesToLong(toRead, little); metadata.put("ImageType", new Long(type)); // not sure how many bytes to skip in.skipBytes(10); in.read(toRead); long timestamp = DataTools.bytesToLong(toRead, little); metadata.put("Timestamp", new Long(timestamp)); in.skipBytes(2); if (isOpenlab2 == true) { byte[] layerName = new byte[127]; in.read(layerName); metadata.put("LayerName", new String(layerName)); in.read(toRead); long timestampMS = DataTools.bytesToLong(toRead, little); metadata.put("Timestamp-MS", new Long(timestampMS)); in.skipBytes(1); byte[] notes = new byte[118]; in.read(notes); metadata.put("Notes", new String(notes)); } else in.skipBytes(123); } else if (tag == 69) { in.read(toRead); long platform = DataTools.bytesToLong(toRead, little); metadata.put("Platform", new Long(platform)); in.read(er); short units = DataTools.bytesToShort(er, little); metadata.put("Units", new Short(units)); in.read(er); short imageId = DataTools.bytesToShort(er, little); metadata.put("ID", new Short(imageId)); in.skipBytes(1); byte[] toRead2 = new byte[8]; double xOrigin = DataTools.readDouble(in, little); metadata.put("XOrigin", new Double(xOrigin)); double yOrigin = DataTools.readDouble(in, little); metadata.put("YOrigin", new Double(yOrigin)); double xScale = DataTools.readDouble(in, little); metadata.put("XScale", new Double(xScale)); double yScale = DataTools.readDouble(in, little); metadata.put("YScale", new Double(yScale)); in.skipBytes(1); byte[] other = new byte[31]; in.read(other); metadata.put("Other", new String(other)); } // Populate metadata store // The metadata store we're working with. MetadataStore store = getMetadataStore(); String type = "int8"; if (metadata.get("BitDepth") != null) { int bitDepth = ((Integer) metadata.get("BitDepth")).intValue(); if (bitDepth <= 8) type = "int8"; else if (bitDepth <= 16) type = "int16"; else type = "int32"; } store.setImage(null, (String) metadata.get("Timestamp"), null, null); // FIXME: There is a loss of precision here as we are down-casting from // double to float. store.setStageLabel(null, (Float) metadata.get("XOrigin"), (Float) metadata.get("YOrigin"), null, null); // FIXME: There is a loss of precision here as we are down-casting from // double to float. store.setDimensions((Float) metadata.get("XScale"), (Float) metadata.get("YScale"), null, null, null, null); in.seek(offset); // We need to poke at least one plane so that we can get "sizeX" and // "sizeY" set. to populate the pixels set. try { openImage(currentId, 0); } catch (FormatException e) { e.printStackTrace(); } store.setPixels(sizeX, sizeY, new Integer(numBlocks), new Integer(3), new Integer(1), type, new Boolean(!little), "XYCZT", null); } }
55303 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55303/9505e643b52f7491e0055703a09512ad437442c0/OpenlabReader.java/buggy/loci/formats/in/OpenlabReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 1208, 2277, 1435, 1216, 1860, 288, 565, 316, 18, 16508, 12, 20, 1769, 565, 368, 787, 635, 6453, 326, 585, 1446, 565, 1160, 8526, 358, 1994, 273, 394, 1160, 63, 24, 15533, 565, 316, 18, 896, 12, 869, 1994, 1769, 565, 1525, 1353, 273, 27464, 11359, 12, 869, 1994, 1769, 225, 368, 1160, 9543, 565, 12720, 273, 358, 1994, 63, 22, 65, 480, 374, 5297, 747, 358, 1994, 63, 23, 65, 480, 374, 5297, 31, 565, 1982, 18, 458, 2932, 3216, 4347, 3113, 394, 3411, 12, 80, 7188, 10019, 565, 316, 18, 7457, 2160, 12, 24, 1769, 565, 316, 18, 896, 12, 869, 1994, 1769, 565, 1525, 1177, 273, 1910, 10348, 18, 3890, 30220, 12, 869, 1994, 16, 629, 1769, 565, 1982, 18, 458, 2932, 1444, 3113, 394, 3407, 12, 1589, 10019, 565, 1160, 8526, 6445, 273, 394, 1160, 63, 22, 15533, 565, 316, 18, 896, 12, 264, 1769, 565, 3025, 1056, 273, 1910, 10348, 18, 3890, 774, 4897, 12, 264, 16, 12720, 1769, 565, 1982, 18, 458, 2932, 1380, 3113, 394, 7925, 12, 1883, 10019, 565, 316, 18, 7457, 2160, 12, 22, 1769, 565, 316, 18, 896, 12, 869, 1994, 1769, 565, 1525, 1384, 273, 1910, 10348, 18, 3890, 30220, 12, 869, 1994, 16, 12720, 1769, 565, 368, 2488, 358, 1122, 1047, 565, 316, 18, 16508, 12, 3348, 1769, 565, 368, 855, 316, 1517, 1047, 471, 2097, 501, 565, 364, 261, 474, 277, 33, 20, 31, 277, 32, 1883, 31, 277, 27245, 288, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 1208, 2277, 1435, 1216, 1860, 288, 565, 316, 18, 16508, 12, 20, 1769, 565, 368, 787, 635, 6453, 326, 585, 1446, 565, 1160, 8526, 358, 1994, 273, 394, 1160, 63, 24, 15533, 565, 316, 18, 896, 12, 869, 1994, 1769, 565, 1525, 1353, 273, 27464, 11359, 12, 869, 1994, 1769, 225, 368, 1160, 9543, 565, 12720, 273, 358, 1994, 63, 22, 65, 480, 374, 5297, 747, 358, 1994, 63, 23, 65, 480, 374, 5297, 31, 565, 1982, 18, 458, 2932, 3216, 4347, 3113, 394, 3411, 12, 80, 7188, 10019, 565, 316, 18, 7457, 2160, 12, 24, 1769, 565, 316, 18, 896, 12, 869, 1994, 1769, 565, 1525, 1177, 273, 1910, 10348, 18, 3890, 30220, 12, 869, 2 ]
synchronized (mLock) { mAllEvents.clear(); mFilteredEvents = new EventDetails[0]; mPendingEvents.clear(); fireTableDataChanged(); }
synchronized (mLock) { mAllEvents.clear(); mFilteredEvents = new EventDetails[0]; mPendingEvents.clear(); fireTableDataChanged();
public void clear() { synchronized (mLock) { mAllEvents.clear(); mFilteredEvents = new EventDetails[0]; mPendingEvents.clear(); fireTableDataChanged(); } }
45952 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45952/9bea173ad0684cd425c468d55310cccc5a96e8a0/MyTableModel.java/buggy/src/java/org/apache/log4j/chainsaw/MyTableModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2424, 1435, 288, 3639, 3852, 261, 81, 2531, 13, 288, 5411, 312, 1595, 3783, 18, 8507, 5621, 5411, 312, 14478, 3783, 273, 394, 2587, 3790, 63, 20, 15533, 5411, 312, 8579, 3783, 18, 8507, 5621, 5411, 4452, 1388, 751, 5033, 5621, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2424, 1435, 288, 3639, 3852, 261, 81, 2531, 13, 288, 5411, 312, 1595, 3783, 18, 8507, 5621, 5411, 312, 14478, 3783, 273, 394, 2587, 3790, 63, 20, 15533, 5411, 312, 8579, 3783, 18, 8507, 5621, 5411, 4452, 1388, 751, 5033, 5621, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
private String oldValue = "";
private String oldValue = "";
private void createOptionsPart( Composite parent ) { optionsGroup = new Group( parent, SWT.NULL ); optionsGroup.setText( LABEL_GROUP_MORE_OPTIONS ); optionsGroup.setLayout( new GridLayout( 2, false ) ); optionsGroup.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); createLabel( optionsGroup, LABEL_HELP_TEXT ); helpTextEditor = new Text( optionsGroup, SWT.BORDER ); helpTextEditor.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); Label lable = new Label( optionsGroup, SWT.NULL ); lable.setText( LABEL_FORMAT_AS ); lable.setLayoutData( new GridData( GridData.HORIZONTAL_ALIGN_BEGINNING ) ); Composite formatArea = new Composite( optionsGroup, SWT.NONE ); formatArea.setLayout( UIUtil.createGridLayoutWithoutMargin( 2, false ) ); formatArea.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); formatField = new Text( formatArea, SWT.BORDER | SWT.SINGLE | SWT.READ_ONLY ); formatField.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); changeFormat = new Button( formatArea, SWT.PUSH ); changeFormat.setText( LABEL_CHANGE_FORMAT_BUTTON ); setButtonLayoutData( changeFormat ); changeFormat.addSelectionListener( new SelectionAdapter( ) { public void widgetSelected( SelectionEvent e ) { popupFormatBuilder( true ); } } ); Group preview = new Group( formatArea, SWT.NULL ); preview.setText( LABEL_PREVIEW_WITH_FORMAT ); preview.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); preview.setLayout( new GridLayout( ) ); previewLable = new Label( preview, SWT.CENTER | SWT.HORIZONTAL | SWT.VIRTUAL ); previewLable.setText( "" ); //$NON-NLS-1$ previewLable.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); createLabel( optionsGroup, LABEL_LIST_LIMIT ); Composite composite = new Composite( optionsGroup, SWT.NULL ); composite.setLayout( UIUtil.createGridLayoutWithoutMargin( 2, true ) ); composite.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); Composite limitArea = new Composite( composite, SWT.NULL ); limitArea.setLayout( UIUtil.createGridLayoutWithoutMargin( 2, true ) ); limitArea.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); listLimit = new Text( limitArea, SWT.BORDER ); listLimit.setLayoutData( new GridData( ) ); listLimit.addModifyListener( new ModifyListener( ) { private String oldValue = ""; public void modifyText( ModifyEvent e ) { try { if ( !StringUtil.isBlank( listLimit.getText( ) ) ) { Integer.parseInt( listLimit.getText( ) ); oldValue = listLimit.getText( ); } } catch ( NumberFormatException e1 ) { ExceptionHandler.openErrorMessageBox( ERROR_TITLE_INVALID_LIST_LIMIT, MessageFormat.format( ERROR_MSG_INVALID_LIST_LIMIT, new Object[]{ Integer.toString( Integer.MAX_VALUE ) } ) ); listLimit.setText( oldValue ); } } } ); new Label( limitArea, SWT.NONE ).setText( LABEL_VALUES ); allowNull = new Button( composite, SWT.CHECK ); allowNull.setText( LABEL_ALLOW_NULL_VALUE ); allowNull.setLayoutData( new GridData( GridData.FILL_HORIZONTAL ) ); allowNull.addSelectionListener( new SelectionAdapter( ) { public void widgetSelected( SelectionEvent e ) { if ( selectedParameter != null && selectedParameter != newParameter ) { try { selectedParameter.setAllowNull( allowNull.getSelection( ) ); } catch ( SemanticException e1 ) { ExceptionHandler.handle( e1 ); } } } } ); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/6fb13bbf69174d2503824b9dbe1439147b493bfa/CascadingParametersDialog.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/CascadingParametersDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 1320, 1988, 12, 14728, 982, 262, 202, 95, 202, 202, 2116, 1114, 273, 394, 3756, 12, 982, 16, 348, 8588, 18, 8560, 11272, 202, 202, 2116, 1114, 18, 542, 1528, 12, 18210, 67, 8468, 67, 31078, 67, 12422, 11272, 202, 202, 2116, 1114, 18, 542, 3744, 12, 394, 7145, 3744, 12, 576, 16, 629, 262, 11272, 202, 202, 2116, 1114, 18, 542, 3744, 751, 12, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 44, 20344, 262, 11272, 202, 202, 2640, 2224, 12, 702, 1114, 16, 18210, 67, 27396, 67, 5151, 11272, 202, 202, 5201, 1528, 6946, 273, 394, 3867, 12, 702, 1114, 16, 348, 8588, 18, 38, 7954, 11272, 202, 202, 5201, 1528, 6946, 18, 542, 3744, 751, 12, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 44, 20344, 262, 11272, 202, 202, 2224, 328, 429, 273, 394, 5287, 12, 702, 1114, 16, 348, 8588, 18, 8560, 11272, 202, 202, 80, 429, 18, 542, 1528, 12, 18210, 67, 7254, 67, 3033, 11272, 202, 202, 80, 429, 18, 542, 3744, 751, 12, 394, 7145, 751, 12, 7145, 751, 18, 44, 20344, 67, 26439, 67, 16061, 15870, 262, 11272, 202, 202, 9400, 740, 5484, 273, 394, 14728, 12, 702, 1114, 16, 348, 8588, 18, 9826, 11272, 202, 202, 2139, 5484, 18, 542, 3744, 12, 6484, 1304, 18, 2640, 6313, 3744, 8073, 9524, 12, 576, 16, 629, 262, 11272, 202, 202, 2139, 5484, 18, 542, 3744, 751, 12, 394, 7145, 751, 12, 7145, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 1320, 1988, 12, 14728, 982, 262, 202, 95, 202, 202, 2116, 1114, 273, 394, 3756, 12, 982, 16, 348, 8588, 18, 8560, 11272, 202, 202, 2116, 1114, 18, 542, 1528, 12, 18210, 67, 8468, 67, 31078, 67, 12422, 11272, 202, 202, 2116, 1114, 18, 542, 3744, 12, 394, 7145, 3744, 12, 576, 16, 629, 262, 11272, 202, 202, 2116, 1114, 18, 542, 3744, 751, 12, 394, 7145, 751, 12, 7145, 751, 18, 29818, 67, 44, 20344, 262, 11272, 202, 202, 2640, 2224, 12, 702, 1114, 16, 18210, 67, 27396, 67, 5151, 11272, 202, 202, 5201, 1528, 6946, 273, 394, 3867, 12, 702, 1114, 16, 348, 8588, 18, 38, 7954, 11272, 202, 202, 5201, 1528, 2 ]
private String validateBasic(Collection units, Route route, PlayerID player, Collection transportsToLoad) { if(m_submergedTracker.areAnySubmerged(units)) { return "You cannot move submerged units"; } //make sure all units are actually in the start territory if (!route.getStart().getUnits().containsAll(units)) { return "Not enough units in starting territory"; } //make sure transports in the destination if (!route.getEnd().getUnits().containsAll(transportsToLoad)) { return "Transports not found in route end"; } //make sure all units are at least friendly if (!Match.allMatch(units, Matches.alliedUnit(m_player, m_data))) return "Can only move friendly units"; //check we have enough movement //exclude transported units Collection moveTest; if (route.getStart().isWater()) { moveTest = MoveValidator.getNonLand(units); } else { moveTest = units; } if (!MoveValidator.hasEnoughMovement(moveTest, m_alreadyMoved, route.getLength())) return "Units do not enough movement"; //if there is a nuetral in the middle must stop unless all are air if (MoveValidator.hasNuetralBeforeEnd(route)) { if (!MoveValidator.isAir(units)) return "Must stop land units when passing through nuetral territories"; } //check if we are blitzing //if we are blitzing check that all units are capable if (MoveValidator.isBlitz(route, player, m_data)) { if (!MoveValidator.canBlitz(Match.getMatches(units, Matches.UnitIsNotAir))) return "Cannot blitz with non blitzing units"; } //make sure no conquered territories on route if (MoveValidator.hasConqueredNonBlitzedOnRoute(route, m_data)) { //unless we are all air or we are in non combat if (!Match.allMatch(units, Matches.UnitIsAir) && !m_nonCombat) return "Cannot move through newly captured territories"; } //make sure that no non sea non transportable no carriable units //end at sea if (route.getEnd().isWater()) { if (MoveValidator.hasUnitsThatCantGoOnWater(units)) return "Those units cannot end at water"; } //if we are water make sure no land if (MoveValidator.hasSea(units)) { if (MoveValidator.hasLand(route)) return "Sea units cant go on land"; } //make sure that we dont send aa guns to attack if (Match.someMatch(units, Matches.UnitIsAA)) { //TODO //dont move if some were conquered for (int i = 0; i < route.getLength(); i++) { Territory current = route.at(i); if (!(current.isWater() || current.getOwner().equals(m_player) || m_data.getAllianceTracker().isAllied(m_player, current.getOwner()))) return "AA units cant advance to battle"; } } //only allow aa into a terland territory if one already present. if ( !isFourEdition() && Match.someMatch(units, Matches.UnitIsAA) && route.getEnd().getUnits().someMatch(Matches.UnitIsAA) && !route.getEnd().isWater()) { return "Only one AA gun allowed in a territroy"; } //only allow 1 aa to unload if (route.getStart().isWater() && !route.getEnd().isWater() && Match.countMatches(units, Matches.UnitIsAA) > 1) { return "Only 1 AA gun allowed in a territory"; } return null; }
8909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8909/50b4a6427f68ec4ad041dd066f922217fcce04fc/MoveDelegate.java/buggy/triplea/src/games/strategy/triplea/delegate/MoveDelegate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 225, 514, 225, 1954, 8252, 12, 2532, 225, 4971, 16, 225, 5179, 225, 1946, 16, 225, 19185, 734, 225, 7291, 16, 225, 2200, 225, 28567, 26883, 13, 3639, 288, 7734, 309, 12, 81, 67, 1717, 15459, 8135, 18, 834, 2961, 1676, 15459, 12, 7705, 3719, 7734, 288, 13491, 327, 225, 315, 6225, 225, 2780, 225, 3635, 225, 720, 15459, 225, 4971, 14432, 7734, 289, 4766, 3639, 368, 6540, 225, 3071, 225, 777, 225, 4971, 225, 854, 225, 6013, 225, 316, 225, 326, 225, 787, 225, 268, 25313, 7734, 309, 225, 16051, 5547, 18, 588, 1685, 7675, 588, 7537, 7675, 12298, 1595, 12, 7705, 3719, 7734, 288, 13491, 327, 225, 315, 1248, 225, 7304, 225, 4971, 225, 316, 225, 5023, 225, 268, 25313, 14432, 7734, 289, 7734, 368, 6540, 225, 3071, 225, 28567, 225, 316, 225, 326, 225, 2929, 7734, 309, 225, 16051, 5547, 18, 588, 1638, 7675, 588, 7537, 7675, 12298, 1595, 12, 2338, 4363, 26883, 3719, 7734, 288, 13491, 327, 225, 315, 1429, 4363, 225, 486, 225, 1392, 225, 316, 225, 1946, 225, 679, 14432, 7734, 289, 7734, 368, 6540, 225, 3071, 225, 777, 225, 4971, 225, 854, 225, 622, 225, 4520, 225, 13118, 7734, 309, 225, 16051, 2060, 18, 454, 2060, 12, 7705, 16, 225, 21608, 18, 454, 2092, 2802, 12, 81, 67, 14872, 16, 225, 312, 67, 892, 20349, 13491, 327, 225, 315, 2568, 225, 1338, 225, 3635, 225, 13118, 225, 4971, 14432, 7734, 368, 1893, 225, 732, 225, 1240, 225, 7304, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 225, 514, 225, 1954, 8252, 12, 2532, 225, 4971, 16, 225, 5179, 225, 1946, 16, 225, 19185, 734, 225, 7291, 16, 225, 2200, 225, 28567, 26883, 13, 3639, 288, 7734, 309, 12, 81, 67, 1717, 15459, 8135, 18, 834, 2961, 1676, 15459, 12, 7705, 3719, 7734, 288, 13491, 327, 225, 315, 6225, 225, 2780, 225, 3635, 225, 720, 15459, 225, 4971, 14432, 7734, 289, 4766, 3639, 368, 6540, 225, 3071, 225, 777, 225, 4971, 225, 854, 225, 6013, 225, 316, 225, 326, 225, 787, 225, 268, 25313, 7734, 309, 225, 16051, 5547, 18, 588, 1685, 7675, 588, 7537, 7675, 12298, 1595, 12, 7705, 3719, 7734, 288, 13491, 327, 225, 315, 1248, 225, 7304, 225, 4971, 225, 316, 2 ]
Hashtable sources = new Hashtable();
Vector _sources = new Vector();
public static DOMImplementationRegistry newInstance() throws ClassNotFoundException, InstantiationException, IllegalAccessException { Hashtable sources = new Hashtable(); // fetch system property: String p = System.getProperty(PROPERTY); if (p != null) { StringTokenizer st = new StringTokenizer(p); while (st.hasMoreTokens()) { String sourceName = st.nextToken(); // Use context class loader, falling back to Class.forName // if and only if this fails... Object source = getClass(sourceName).newInstance(); sources.put(sourceName, source); } } return new DOMImplementationRegistry(sources); }
6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/0db4dcdf9e5762b7bd75c857612a3c3b65b439a5/DOMImplementationRegistry.java/buggy/src/dom3/org/w3c/dom/bootstrap/DOMImplementationRegistry.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 4703, 13621, 4243, 5984, 1435, 1875, 5411, 1216, 10403, 16, 19248, 16, 2398, 11900, 565, 288, 3639, 5589, 389, 10141, 273, 394, 5589, 5621, 5411, 368, 2158, 2619, 1272, 30, 3639, 514, 293, 273, 2332, 18, 588, 1396, 12, 9900, 1769, 3639, 309, 261, 84, 480, 446, 13, 288, 5411, 16370, 384, 273, 394, 16370, 12, 84, 1769, 5411, 1323, 261, 334, 18, 5332, 7417, 5157, 10756, 288, 7734, 514, 28337, 273, 384, 18, 4285, 1345, 5621, 7734, 368, 2672, 819, 667, 4088, 16, 31678, 1473, 358, 1659, 18, 1884, 461, 7734, 368, 309, 471, 1338, 309, 333, 6684, 2777, 7734, 1033, 1084, 273, 2900, 12, 3168, 461, 2934, 2704, 1442, 5621, 7734, 5550, 18, 458, 12, 3168, 461, 16, 1084, 1769, 5411, 289, 3639, 289, 3639, 327, 394, 4703, 13621, 4243, 12, 10141, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 377, 1071, 760, 4703, 13621, 4243, 5984, 1435, 1875, 5411, 1216, 10403, 16, 19248, 16, 2398, 11900, 565, 288, 3639, 5589, 389, 10141, 273, 394, 5589, 5621, 5411, 368, 2158, 2619, 1272, 30, 3639, 514, 293, 273, 2332, 18, 588, 1396, 12, 9900, 1769, 3639, 309, 261, 84, 480, 446, 13, 288, 5411, 16370, 384, 273, 394, 16370, 12, 84, 1769, 5411, 1323, 261, 334, 18, 5332, 7417, 5157, 10756, 288, 7734, 514, 28337, 273, 384, 18, 4285, 1345, 5621, 7734, 368, 2672, 819, 667, 4088, 16, 31678, 1473, 358, 1659, 18, 1884, 461, 7734, 368, 309, 471, 1338, 309, 333, 6684, 2777, 7734, 1033, 1084, 273, 2900, 12, 3168, 461, 2934, 2704, 1442, 5621, 7734, 5550, 18, 458, 2 ]
renWin.setSize(width, height);
setSize(width, height);
public ImagePlaneWidget(String path) { setLayout(new BorderLayout()); renWin = new vtkCanvas(); // attach observer to set the render window size after // the render window is created... renWin.addWindowSetObserver(new Observer() { public void update(Observable o, Object arg) { renWin.setSize(width, height); } }); add(renWin, BorderLayout.CENTER); //Start by loading some data. vtkVolume16Reader v16 = new vtkVolume16Reader(); v16.SetDataDimensions(64, 64); v16.SetDataByteOrderToLittleEndian(); v16.SetFilePrefix(path); v16.SetImageRange (1, 93); v16.SetDataSpacing(3.2, 3.2, 1.5); v16.Update(); setImageData(v16.GetOutput()); JFrame frame = new JFrame("ImagePlaneWidget Test"); frame.setBounds(10, 10, width, height); frame.getContentPane().add(this, BorderLayout.CENTER); frame.setVisible(true); frame.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) {System.exit(0);} }); }
47326 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47326/a498c4a24d08be9a14ecb583bfc09eb98abb52e8/ImagePlaneWidget.java/buggy/Wrapping/Java/ImagePlaneWidget.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 3421, 19505, 4609, 12, 780, 589, 13, 288, 565, 18479, 12, 2704, 30814, 10663, 565, 1654, 18049, 273, 394, 13659, 12971, 5621, 565, 368, 3306, 9655, 358, 444, 326, 1743, 2742, 963, 1839, 565, 368, 326, 1743, 2742, 353, 2522, 2777, 565, 1654, 18049, 18, 1289, 3829, 694, 11048, 12, 2704, 23290, 1435, 288, 3639, 1071, 918, 1089, 12, 15279, 320, 16, 1033, 1501, 13, 288, 1850, 19106, 12, 2819, 16, 2072, 1769, 3639, 289, 1377, 15549, 565, 527, 12, 1187, 18049, 16, 30814, 18, 19835, 1769, 565, 368, 1685, 635, 7153, 2690, 501, 18, 565, 13659, 4545, 2313, 2514, 331, 2313, 273, 394, 13659, 4545, 2313, 2514, 5621, 565, 331, 2313, 18, 694, 751, 10796, 12, 1105, 16, 5178, 1769, 565, 331, 2313, 18, 694, 751, 3216, 2448, 774, 48, 10609, 5621, 565, 331, 2313, 18, 694, 812, 2244, 12, 803, 1769, 565, 331, 2313, 18, 694, 2040, 2655, 261, 21, 16, 31007, 1769, 565, 331, 2313, 18, 694, 751, 18006, 12, 23, 18, 22, 16, 890, 18, 22, 16, 404, 18, 25, 1769, 565, 331, 2313, 18, 1891, 5621, 565, 18893, 751, 12, 90, 2313, 18, 967, 1447, 10663, 565, 804, 3219, 2623, 273, 394, 804, 3219, 2932, 2040, 19505, 4609, 7766, 8863, 565, 2623, 18, 542, 5694, 12, 2163, 16, 1728, 16, 1835, 16, 2072, 1769, 565, 2623, 18, 588, 1350, 8485, 7675, 1289, 12, 2211, 16, 30814, 18, 19835, 1769, 565, 2623, 18, 542, 6207, 12, 3767, 1769, 565, 2623, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 3421, 19505, 4609, 12, 780, 589, 13, 288, 565, 18479, 12, 2704, 30814, 10663, 565, 1654, 18049, 273, 394, 13659, 12971, 5621, 565, 368, 3306, 9655, 358, 444, 326, 1743, 2742, 963, 1839, 565, 368, 326, 1743, 2742, 353, 2522, 2777, 565, 1654, 18049, 18, 1289, 3829, 694, 11048, 12, 2704, 23290, 1435, 288, 3639, 1071, 918, 1089, 12, 15279, 320, 16, 1033, 1501, 13, 288, 1850, 19106, 12, 2819, 16, 2072, 1769, 3639, 289, 1377, 15549, 565, 527, 12, 1187, 18049, 16, 30814, 18, 19835, 1769, 565, 368, 1685, 635, 7153, 2690, 501, 18, 565, 13659, 4545, 2313, 2514, 331, 2313, 273, 394, 13659, 4545, 2313, 2514, 5621, 565, 331, 2313, 18, 694, 751, 10796, 12, 2 ]
void writeListGroup( ListGroupDesign group ) { pushTag( "group" ); //$NON-NLS-1$ if ( group.getHeader( ) != null ) { writeListBand( "header", group.getHeader( ) ); //$NON-NLS-1$ } if ( group.getFooter( ) != null ) { writeListBand( "footer", group.getFooter( ) ); //$NON-NLS-1$ } popTag( ); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/778c80860c81c271b4b70edb2450e2750fe6c140/ReportDesignWriter.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/parser/ReportDesignWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 6459, 1045, 682, 1114, 12, 987, 1114, 15478, 1041, 262, 202, 202, 95, 1082, 202, 6206, 1805, 12, 315, 1655, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 25083, 202, 430, 261, 1041, 18, 588, 1864, 12, 262, 480, 446, 262, 1082, 202, 95, 9506, 202, 2626, 682, 14231, 12, 315, 3374, 3113, 1041, 18, 588, 1864, 12, 262, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 97, 1082, 202, 430, 261, 1041, 18, 588, 13787, 12, 262, 480, 446, 262, 1082, 202, 95, 9506, 202, 2626, 682, 14231, 12, 315, 14723, 3113, 1041, 18, 588, 13787, 12, 262, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 97, 1082, 202, 5120, 1805, 12, 11272, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3196, 202, 6459, 1045, 682, 1114, 12, 987, 1114, 15478, 1041, 262, 202, 202, 95, 1082, 202, 6206, 1805, 12, 315, 1655, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 25083, 202, 430, 261, 1041, 18, 588, 1864, 12, 262, 480, 446, 262, 1082, 202, 95, 9506, 202, 2626, 682, 14231, 12, 315, 3374, 3113, 1041, 18, 588, 1864, 12, 262, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 97, 1082, 202, 430, 261, 1041, 18, 588, 13787, 12, 262, 480, 446, 262, 1082, 202, 95, 9506, 202, 2626, 682, 14231, 12, 315, 14723, 3113, 1041, 18, 588, 13787, 12, 262, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 97, 1082, 202, 5120, 1805, 2 ]
return type == HighlightInfoType.WRONG_REF || type == HighlightInfoType.JAVADOC_WRONG_REF;
return type == HighlightInfoType.WRONG_REF;
private static boolean canBeHint(HighlightInfoType type) { return type == HighlightInfoType.WRONG_REF || type == HighlightInfoType.JAVADOC_WRONG_REF; }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/0144f2d8bdfd6738a62b7443b98776e40f15af9a/ShowIntentionsPass.java/clean/codeInsight/impl/com/intellij/codeInsight/daemon/impl/ShowIntentionsPass.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 1250, 24978, 7002, 12, 16205, 966, 559, 618, 13, 288, 565, 327, 618, 422, 31386, 966, 559, 18, 7181, 7390, 67, 10771, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 1250, 24978, 7002, 12, 16205, 966, 559, 618, 13, 288, 565, 327, 618, 422, 31386, 966, 559, 18, 7181, 7390, 67, 10771, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public PeerNode getRandomPeer() { return getRandomPeer(null);
public synchronized PeerNode getRandomPeer(PeerNode exclude) { if(connectedPeers.length == 0) return null; for(int i=0;i<5;i++) { PeerNode pn = connectedPeers[node.random.nextInt(connectedPeers.length)]; if(pn == exclude) continue; if(pn.isRoutable()) return pn; } Vector v = new Vector(connectedPeers.length); logMINOR = Logger.shouldLog(Logger.MINOR, this); for(int i=0;i<myPeers.length;i++) { PeerNode pn = myPeers[i]; if(pn == exclude) continue; if(pn.isRoutable()) { v.add(pn); } else { if(logMINOR) Logger.minor(this, "Excluding "+pn+" because is disconnected"); } } int lengthWithoutExcluded = v.size(); if((exclude != null) && exclude.isRoutable()) v.add(exclude); PeerNode[] newConnectedPeers = new PeerNode[v.size()]; newConnectedPeers = (PeerNode[]) v.toArray(newConnectedPeers); if(logMINOR) Logger.minor(this, "Connected peers (in getRandomPeer): "+newConnectedPeers.length+" was "+connectedPeers.length); connectedPeers = newConnectedPeers; if(lengthWithoutExcluded == 0) return null; return connectedPeers[node.random.nextInt(lengthWithoutExcluded)];
public PeerNode getRandomPeer() { return getRandomPeer(null); }
45341 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45341/0280fc6a3660e8e3f51d53407867fec433cc0227/PeerManager.java/buggy/src/freenet/node/PeerManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 10669, 907, 20581, 6813, 1435, 288, 3639, 327, 20581, 6813, 12, 2011, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 10669, 907, 20581, 6813, 1435, 288, 3639, 327, 20581, 6813, 12, 2011, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
int _cnt899=0; _loop899:
int _cnt903=0; _loop903:
public final void definebuttonstate(AST _t) throws RecognitionException { AST definebuttonstate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t888 = _t; AST tmp620_AST_in = (AST)_t; match(_t,DEFINE); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case NEW: case SHARED: { def_shared(_t); _t = _retTree; break; } case BUTTON: case PRIVATE: case PUBLIC: case PROTECTED: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case PRIVATE: case PUBLIC: case PROTECTED: { def_visib(_t); _t = _retTree; break; } case BUTTON: { break; } default: { throw new NoViableAltException(_t); } } } AST tmp621_AST_in = (AST)_t; match(_t,BUTTON); _t = _t.getNextSibling(); AST tmp622_AST_in = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); { _loop912: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case AUTOGO: { AST tmp623_AST_in = (AST)_t; match(_t,AUTOGO); _t = _t.getNextSibling(); break; } case AUTOENDKEY: { AST tmp624_AST_in = (AST)_t; match(_t,AUTOENDKEY); _t = _t.getNextSibling(); break; } case DEFAULT: { AST tmp625_AST_in = (AST)_t; match(_t,DEFAULT); _t = _t.getNextSibling(); break; } case BGCOLOR: case DCOLOR: case FGCOLOR: case PFCOLOR: { color_expr(_t); _t = _retTree; break; } case CONTEXTHELPID: { AST __t892 = _t; AST tmp626_AST_in = (AST)_t; match(_t,CONTEXTHELPID); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t892; _t = _t.getNextSibling(); break; } case DROPTARGET: { AST tmp627_AST_in = (AST)_t; match(_t,DROPTARGET); _t = _t.getNextSibling(); break; } case FONT: { AST __t893 = _t; AST tmp628_AST_in = (AST)_t; match(_t,FONT); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t893; _t = _t.getNextSibling(); break; } case IMAGEDOWN: { AST __t894 = _t; AST tmp629_AST_in = (AST)_t; match(_t,IMAGEDOWN); _t = _t.getFirstChild(); { int _cnt896=0; _loop896: do { if (_t==null) _t=ASTNULL; if ((_tokenSet_9.member(_t.getType()))) { imagephrase_opt(_t); _t = _retTree; } else { if ( _cnt896>=1 ) { break _loop896; } else {throw new NoViableAltException(_t);} } _cnt896++; } while (true); } _t = __t894; _t = _t.getNextSibling(); break; } case IMAGE: { AST __t897 = _t; AST tmp630_AST_in = (AST)_t; match(_t,IMAGE); _t = _t.getFirstChild(); { int _cnt899=0; _loop899: do { if (_t==null) _t=ASTNULL; if ((_tokenSet_9.member(_t.getType()))) { imagephrase_opt(_t); _t = _retTree; } else { if ( _cnt899>=1 ) { break _loop899; } else {throw new NoViableAltException(_t);} } _cnt899++; } while (true); } _t = __t897; _t = _t.getNextSibling(); break; } case IMAGEUP: { AST __t900 = _t; AST tmp631_AST_in = (AST)_t; match(_t,IMAGEUP); _t = _t.getFirstChild(); { int _cnt902=0; _loop902: do { if (_t==null) _t=ASTNULL; if ((_tokenSet_9.member(_t.getType()))) { imagephrase_opt(_t); _t = _retTree; } else { if ( _cnt902>=1 ) { break _loop902; } else {throw new NoViableAltException(_t);} } _cnt902++; } while (true); } _t = __t900; _t = _t.getNextSibling(); break; } case IMAGEINSENSITIVE: { AST __t903 = _t; AST tmp632_AST_in = (AST)_t; match(_t,IMAGEINSENSITIVE); _t = _t.getFirstChild(); { int _cnt905=0; _loop905: do { if (_t==null) _t=ASTNULL; if ((_tokenSet_9.member(_t.getType()))) { imagephrase_opt(_t); _t = _retTree; } else { if ( _cnt905>=1 ) { break _loop905; } else {throw new NoViableAltException(_t);} } _cnt905++; } while (true); } _t = __t903; _t = _t.getNextSibling(); break; } case MOUSEPOINTER: { AST __t906 = _t; AST tmp633_AST_in = (AST)_t; match(_t,MOUSEPOINTER); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t906; _t = _t.getNextSibling(); break; } case COLUMNLABEL: case LABEL: { label_constant(_t); _t = _retTree; break; } case LIKE: { AST __t907 = _t; AST tmp634_AST_in = (AST)_t; match(_t,LIKE); _t = _t.getFirstChild(); field(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case VALIDATE: { AST tmp635_AST_in = (AST)_t; match(_t,VALIDATE); _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t907; _t = _t.getNextSibling(); break; } case FLATBUTTON: { AST tmp636_AST_in = (AST)_t; match(_t,FLATBUTTON); _t = _t.getNextSibling(); break; } case NOFOCUS: { AST __t909 = _t; AST tmp637_AST_in = (AST)_t; match(_t,NOFOCUS); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case FLATBUTTON: { AST tmp638_AST_in = (AST)_t; match(_t,FLATBUTTON); _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t909; _t = _t.getNextSibling(); break; } case NOCONVERT3DCOLORS: { AST tmp639_AST_in = (AST)_t; match(_t,NOCONVERT3DCOLORS); _t = _t.getNextSibling(); break; } case TOOLTIP: { tooltip_expr(_t); _t = _retTree; break; } case SIZE: case SIZECHARS: case SIZEPIXELS: { sizephrase(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case MARGINEXTRA: { AST tmp640_AST_in = (AST)_t; match(_t,MARGINEXTRA); _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case AUTOENDKEY: case AUTOGO: case BGCOLOR: case COLUMNLABEL: case CONTEXTHELPID: case DCOLOR: case DEFAULT: case DROPTARGET: case FGCOLOR: case FLATBUTTON: case FONT: case IMAGE: case IMAGEDOWN: case IMAGEINSENSITIVE: case IMAGEUP: case LABEL: case LIKE: case MOUSEPOINTER: case NOCONVERT3DCOLORS: case NOFOCUS: case PFCOLOR: case SIZE: case SIZECHARS: case SIZEPIXELS: case TOOLTIP: case TRIGGERS: { break; } default: { throw new NoViableAltException(_t); } } } break; } default: { break _loop912; } } } while (true); } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case TRIGGERS: { triggerphrase(_t); _t = _retTree; break; } case EOF: case PERIOD: { break; } default: { throw new NoViableAltException(_t); } } } state_end(_t); _t = _retTree; _t = __t888; _t = _t.getNextSibling(); _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/JPTreeParser.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparserbase/JPTreeParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 4426, 5391, 2019, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 4426, 5391, 2019, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 5482, 28, 273, 389, 88, 31, 202, 202, 9053, 1853, 26, 3462, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 12904, 3740, 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, 12887, 30, 202, 202, 3593, 9777, 5879, 30, 202, 202, 95, 1082, 202, 536, 67, 11574, 24899, 88, 1769, 1082, 202, 67, 88, 273, 389, 1349, 2471, 31, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 29947, 30, 202, 202, 3593, 23685, 30, 202, 202, 3593, 17187, 30, 202, 202, 3593, 4629, 26729, 30, 202, 202, 95, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 1886, 30, 202, 202, 95, 1082, 202, 12849, 394, 17114, 24899, 88, 1769, 202, 202, 97, 202, 202, 97, 202, 202, 97, 202, 202, 95, 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, 23685, 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, 4426, 5391, 2019, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 4426, 5391, 2019, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 5482, 28, 273, 389, 88, 31, 202, 202, 9053, 1853, 26, 3462, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 12904, 3740, 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, 2 ]
public org.quickfix.field.SecurityAltID get(org.quickfix.field.SecurityAltID value)
public quickfix.field.SecurityAltID get(quickfix.field.SecurityAltID value)
public org.quickfix.field.SecurityAltID get(org.quickfix.field.SecurityAltID value) throws FieldNotFound { getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/OrderMassCancelReport.java/buggy/src/java/src/quickfix/fix43/OrderMassCancelReport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 9549, 904, 18, 1518, 18, 4368, 10655, 734, 336, 12, 19525, 904, 18, 1518, 18, 4368, 10655, 734, 225, 460, 13, 565, 1216, 2286, 2768, 225, 288, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 9549, 904, 18, 1518, 18, 4368, 10655, 734, 336, 12, 19525, 904, 18, 1518, 18, 4368, 10655, 734, 225, 460, 13, 565, 1216, 2286, 2768, 225, 288, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return lm.swapsRejectedAlreadyLocked;
return LocationManager.swapsRejectedAlreadyLocked;
public int getSwapsRejectedAlreadyLocked() { return lm.swapsRejectedAlreadyLocked; }
48807 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48807/f79658a86e4a0f06462206ea41312edb9ae1f465/Node.java/clean/src/freenet/node/Node.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 1322, 91, 6679, 19902, 9430, 8966, 1435, 288, 202, 202, 2463, 14966, 18, 5328, 6679, 19902, 9430, 8966, 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, 509, 1322, 91, 6679, 19902, 9430, 8966, 1435, 288, 202, 202, 2463, 14966, 18, 5328, 6679, 19902, 9430, 8966, 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 ]
break loop52;
break loop53;
public String paren_chunk() throws RecognitionException { String text; Token any=null; String c = null; text = null; try { // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:749:18: ( ( options {greedy=false; } : '(' c= paren_chunk ')' | any= . )* ) // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:749:18: ( options {greedy=false; } : '(' c= paren_chunk ')' | any= . )* { // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:749:18: ( options {greedy=false; } : '(' c= paren_chunk ')' | any= . )* loop52: do { int alt52=3; switch ( input.LA(1) ) { case EOL: alt52=3; break; case 23: alt52=3; break; case 21: alt52=1; break; case ID: case INT: case BOOL: case STRING: case FLOAT: case MISC: case WS: case SH_STYLE_SINGLE_LINE_COMMENT: case C_STYLE_SINGLE_LINE_COMMENT: case MULTI_LINE_COMMENT: case 15: case 16: case 17: case 18: case 19: case 20: case 22: case 24: case 25: case 26: case 27: case 28: case 29: case 30: case 31: case 32: case 33: case 34: case 35: case 36: case 37: case 38: case 39: case 40: case 41: case 42: case 43: case 44: case 45: case 46: case 47: case 48: case 49: case 50: case 51: case 52: case 53: case 54: case 55: case 56: case 57: alt52=2; break; } switch (alt52) { case 1 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:750:25: '(' c= paren_chunk ')' { match(input,21,FOLLOW_21_in_paren_chunk2104); following.push(FOLLOW_paren_chunk_in_paren_chunk2108); c=paren_chunk(); following.pop(); match(input,23,FOLLOW_23_in_paren_chunk2110); //System.err.println( "chunk [" + c + "]" ); if ( c == null ) { c = ""; } if ( text == null ) { text = "( " + c + " )"; } else { text = text + " ( " + c + " )"; } } break; case 2 : // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:762:19: any= . { any=(Token)input.LT(1); matchAny(input); //System.err.println( "any [" + any.getText() + "]" ); if ( text == null ) { text = any.getText(); } else { text = text + " " + any.getText(); } } break; default : break loop52; } } while (true); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { } return text; }
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/35c3932466a0269c296ae52afa8a1f8048a309d2/RuleParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 22146, 67, 6551, 1435, 1216, 9539, 288, 6647, 514, 977, 31, 3639, 3155, 1281, 33, 2011, 31, 3639, 514, 276, 273, 446, 31, 540, 202, 202, 955, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 342, 6588, 19, 70, 947, 19, 17300, 87, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 5608, 29, 30, 2643, 30, 261, 261, 702, 288, 11556, 24009, 33, 5743, 31, 289, 294, 7321, 276, 33, 22146, 67, 6551, 5777, 571, 1281, 33, 263, 8618, 262, 5411, 368, 342, 6588, 19, 70, 947, 19, 17300, 87, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 5608, 29, 30, 2643, 30, 261, 702, 288, 11556, 24009, 33, 5743, 31, 289, 294, 7321, 276, 33, 22146, 67, 6551, 5777, 571, 1281, 33, 263, 8618, 5411, 288, 5411, 368, 342, 6588, 19, 70, 947, 19, 17300, 87, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 5608, 29, 30, 2643, 30, 261, 702, 288, 11556, 24009, 33, 5743, 31, 289, 294, 7321, 276, 33, 22146, 67, 6551, 5777, 571, 1281, 33, 263, 8618, 5411, 2798, 9401, 30, 5411, 741, 288, 7734, 509, 3770, 9401, 33, 23, 31, 7734, 1620, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 22146, 67, 6551, 1435, 1216, 9539, 288, 6647, 514, 977, 31, 3639, 3155, 1281, 33, 2011, 31, 3639, 514, 276, 273, 446, 31, 540, 202, 202, 955, 273, 446, 31, 540, 202, 3639, 775, 288, 5411, 368, 342, 6588, 19, 70, 947, 19, 17300, 87, 19, 10649, 8464, 7482, 19, 12215, 17, 9576, 19, 4816, 19, 5254, 19, 4683, 19, 3341, 19, 12215, 19, 4936, 19, 72, 1321, 18, 75, 30, 5608, 29, 30, 2643, 30, 261, 261, 702, 288, 11556, 24009, 33, 5743, 31, 289, 294, 7321, 276, 33, 22146, 67, 6551, 5777, 571, 1281, 33, 263, 8618, 262, 5411, 368, 342, 6588, 19, 70, 947, 19, 17300, 87, 19, 10649, 8464, 7482, 19, 12215, 2 ]
this.screen = StyleSheet.currentScreen;
if (StyleSheet.currentScreen != null) { this.screen = StyleSheet.currentScreen; } else if (this.screen == null) { this.screen = getScreen(); }
private void showTextBox() { if (this.midpTextBox == null) { createTextBox(); } this.screen = StyleSheet.currentScreen; StyleSheet.display.setCurrent( this.midpTextBox ); }
9804 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9804/b4f29690754f9258c31b3887d343a728dd0fe4c1/TextField.java/buggy/j2me/source/src/de/enough/polish/ui/TextField.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 2405, 1528, 3514, 1435, 288, 202, 202, 430, 261, 2211, 18, 13138, 84, 1528, 3514, 422, 446, 13, 288, 1082, 202, 2640, 1528, 3514, 5621, 202, 202, 97, 202, 202, 2211, 18, 9252, 273, 9767, 8229, 18, 2972, 7956, 31, 202, 202, 2885, 8229, 18, 5417, 18, 542, 3935, 12, 333, 18, 13138, 84, 1528, 3514, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 2405, 1528, 3514, 1435, 288, 202, 202, 430, 261, 2211, 18, 13138, 84, 1528, 3514, 422, 446, 13, 288, 1082, 202, 2640, 1528, 3514, 5621, 202, 202, 97, 202, 202, 2211, 18, 9252, 273, 9767, 8229, 18, 2972, 7956, 31, 202, 202, 2885, 8229, 18, 5417, 18, 542, 3935, 12, 333, 18, 13138, 84, 1528, 3514, 11272, 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 ]
vPhaseReport.addElement(r);
addReport(r);
private void resolveMechWarriorPickUp() { Report r; // fetch all mechWarriors that are not picked up Enumeration mechWarriors = game.getSelectedEntities( new EntitySelector() { public boolean accept(Entity entity) { if (entity instanceof MechWarrior) { MechWarrior mw = (MechWarrior)entity; if (mw.getPickedUpById() == Entity.NONE && !mw.isDoomed() && (mw.getTransportId() == Entity.NONE) ) { return true; } } return false; } } ); // loop through them, check if they are in a hex occupied by another // unit while ( mechWarriors.hasMoreElements() ) { boolean pickedUp = false; MechWarrior e = (MechWarrior) mechWarriors.nextElement(); Enumeration pickupEntities = game.getEntities(e.getPosition()); while (pickupEntities.hasMoreElements() ) { Entity pe = (Entity) pickupEntities.nextElement(); if (pe.isDoomed() || pe.isShutDown() || pe.getCrew().isUnconscious()) { continue; } if (!pickedUp && pe.getOwnerId() == e.getOwnerId() && pe.getId() != e.getId()) { if (pe instanceof MechWarrior) { //picked up by friendlies r = new Report(6415, Report.PUBLIC); //no subject we can use... r.add(pe.getDisplayName()); vPhaseReport.addElement(r); continue; } // Pick up the unit. pe.pickUp(e); // The picked unit is being carried by the loader. e.setPickedUpById(pe.getId()); e.setPickedUpByExternalId(pe.getExternalId()); pickedUp = true; r = new Report(6420, Report.PUBLIC); r.add(e.getDisplayName()); r.addDesc(pe); vPhaseReport.addElement(r); } } if (!pickedUp) { Enumeration pickupEnemyEntities = game.getEnemyEntities(e.getPosition(), e); while (pickupEnemyEntities.hasMoreElements() ) { Entity pe = (Entity) pickupEnemyEntities.nextElement(); if (pe.isDoomed() || pe.isShutDown() || pe.getCrew().isUnconscious()) { continue; } if (pe instanceof MechWarrior) { //picked up by friendlies r = new Report(6415, Report.PUBLIC); //no subject we can use... r.add(pe.getDisplayName()); vPhaseReport.addElement(r); continue; } // Capture the unit. pe.pickUp(e); // The captured unit is being carried by the loader. e.setCaptured( true ); e.setPickedUpById(pe.getId()); e.setPickedUpByExternalId(pe.getExternalId()); pickedUp = true; r = new Report(6420, Report.PUBLIC); r.add(e.getDisplayName()); r.addDesc(pe); vPhaseReport.addElement(r); } } if (pickedUp) { // Remove the picked-up unit from the screen. e.setPosition( null ); // Update the loaded unit. this.entityUpdate( e.getId() ); } } }
4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/393a9905cc0201927e4535bd40befa92f4014c31/Server.java/buggy/megamek/src/megamek/server/Server.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2245, 4667, 343, 30634, 2432, 17968, 1211, 1435, 288, 3639, 8706, 436, 31, 3639, 368, 2158, 777, 1791, 343, 30634, 566, 1383, 716, 854, 486, 25534, 731, 3639, 13864, 1791, 343, 30634, 566, 1383, 273, 5411, 7920, 18, 588, 7416, 8108, 12, 394, 3887, 4320, 1435, 288, 7734, 1071, 1250, 2791, 12, 1943, 1522, 13, 288, 10792, 309, 261, 1096, 1276, 7499, 343, 30634, 2432, 13, 288, 13491, 7499, 343, 30634, 2432, 14721, 273, 261, 4667, 343, 30634, 2432, 13, 1096, 31, 13491, 309, 261, 81, 91, 18, 588, 17968, 329, 1211, 5132, 1435, 422, 3887, 18, 9826, 597, 18701, 401, 81, 91, 18, 291, 3244, 362, 329, 1435, 597, 261, 81, 91, 18, 588, 6568, 548, 1435, 422, 3887, 18, 9826, 13, 262, 288, 18701, 327, 638, 31, 13491, 289, 10792, 289, 10792, 327, 629, 31, 7734, 289, 5411, 289, 11272, 3639, 368, 2798, 3059, 2182, 16, 866, 309, 2898, 854, 316, 279, 3827, 18928, 2092, 635, 4042, 3639, 368, 2836, 3639, 1323, 261, 1791, 343, 30634, 566, 1383, 18, 5332, 7417, 3471, 1435, 262, 288, 5411, 1250, 25534, 1211, 273, 629, 31, 5411, 7499, 343, 30634, 2432, 425, 273, 261, 4667, 343, 30634, 2432, 13, 1791, 343, 30634, 566, 1383, 18, 4285, 1046, 5621, 5411, 13864, 6002, 416, 8108, 273, 7920, 18, 588, 8108, 12, 73, 18, 588, 2555, 10663, 5411, 1323, 261, 11503, 416, 8108, 18, 5332, 7417, 3471, 1435, 262, 288, 7734, 3887, 2804, 273, 261, 1943, 13, 6002, 416, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2245, 4667, 343, 30634, 2432, 17968, 1211, 1435, 288, 3639, 8706, 436, 31, 3639, 368, 2158, 777, 1791, 343, 30634, 566, 1383, 716, 854, 486, 25534, 731, 3639, 13864, 1791, 343, 30634, 566, 1383, 273, 5411, 7920, 18, 588, 7416, 8108, 12, 394, 3887, 4320, 1435, 288, 7734, 1071, 1250, 2791, 12, 1943, 1522, 13, 288, 10792, 309, 261, 1096, 1276, 7499, 343, 30634, 2432, 13, 288, 13491, 7499, 343, 30634, 2432, 14721, 273, 261, 4667, 343, 30634, 2432, 13, 1096, 31, 13491, 309, 261, 81, 91, 18, 588, 17968, 329, 1211, 5132, 1435, 422, 3887, 18, 9826, 597, 18701, 401, 81, 91, 18, 291, 3244, 362, 329, 1435, 597, 261, 81, 91, 18, 588, 6568, 2 ]
lblLeaderSize.setText("LeaderLine Size:");
lblLeaderSize.setText(Messages.getString("PieSeriesAttributeComposite.Lbl.LeaderLineSize"));
private void placeComponents() { // Layout for content composite GridLayout glContent = new GridLayout(); glContent.numColumns = 4; glContent.marginHeight = 2; glContent.marginWidth = 4; // Layout for content composite GridLayout glLeaderLine = new GridLayout(); glLeaderLine.numColumns = 4; glLeaderLine.marginHeight = 0; glLeaderLine.marginWidth = 2; // Main content composite this.setLayout(glContent); // Pie Slice Explosion composite Label lblExplosion = new Label(this, SWT.NONE); GridData gdLBLExplosion = new GridData(); lblExplosion.setLayoutData(gdLBLExplosion); lblExplosion.setText("Explosion:"); iscExplosion = new IntegerSpinControl(this, SWT.NONE, 0); GridData gdISCExplosion = new GridData(GridData.FILL_HORIZONTAL); iscExplosion.setLayoutData(gdISCExplosion); iscExplosion.setMinimum(0); iscExplosion.setMaximum(100); iscExplosion.addListener(this); // Slice outline color composite Label lblSliceOutline = new Label(this, SWT.NONE); GridData gdLBLSliceOutline = new GridData(); lblSliceOutline.setLayoutData(gdLBLSliceOutline); lblSliceOutline.setText("Slice Outline:"); fccSliceOutline = new FillChooserComposite(this, SWT.NONE, series.getSliceOutline(), false, false); GridData gdFCCSliceOutline = new GridData(GridData.FILL_HORIZONTAL); fccSliceOutline.setLayoutData(gdFCCSliceOutline); fccSliceOutline.addListener(this); // LeaderLine group grpLeaderLine = new Group(this, SWT.NONE); GridData gdGRPLeaderLine = new GridData(GridData.FILL_HORIZONTAL); gdGRPLeaderLine.horizontalSpan = 4; grpLeaderLine.setLayoutData(gdGRPLeaderLine); grpLeaderLine.setLayout(glLeaderLine); grpLeaderLine.setText("Leader Line"); // LeaderLine Attributes composite liacLeaderLine = new LineAttributesComposite(grpLeaderLine, SWT.NONE, series.getLeaderLineAttributes(), true, true, true); GridData gdLIACLeaderLine = new GridData(GridData.FILL_HORIZONTAL); gdLIACLeaderLine.horizontalSpan = 2; gdLIACLeaderLine.verticalSpan = 4; liacLeaderLine.setLayoutData(gdLIACLeaderLine); liacLeaderLine.addListener(this); // Leader Line Style composite Label lblLeaderStyle = new Label(grpLeaderLine, SWT.NONE); GridData gdLBLLeaderStyle = new GridData(); lblLeaderStyle.setLayoutData(gdLBLLeaderStyle); lblLeaderStyle.setText("LeaderLine Style:"); cmbLeaderLine = new Combo(grpLeaderLine, SWT.DROP_DOWN | SWT.READ_ONLY); GridData gdCMBLeaderLine = new GridData(GridData.FILL_HORIZONTAL); cmbLeaderLine.setLayoutData(gdCMBLeaderLine); cmbLeaderLine.addSelectionListener(this); // Leader Line Size composite Label lblLeaderSize = new Label(grpLeaderLine, SWT.NONE); GridData gdLBLLeaderSize = new GridData(); lblLeaderSize.setLayoutData(gdLBLLeaderSize); lblLeaderSize.setText("LeaderLine Size:"); iscLeaderLength = new IntegerSpinControl(grpLeaderLine, SWT.NONE, (int) series.getLeaderLineLength()); GridData gdISCLeaderLength = new GridData(GridData.FILL_HORIZONTAL); iscLeaderLength.setLayoutData(gdISCLeaderLength); iscLeaderLength.setMinimum(0); iscLeaderLength.setMaximum(MAX_LEADER_LENGTH); populateLists(); }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/7793e94b4d7fab5891f226c6c937e37d85bebad8/PieSeriesAttributeComposite.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/series/PieSeriesAttributeComposite.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 3166, 7171, 1435, 565, 288, 3639, 368, 9995, 364, 913, 9635, 3639, 7145, 3744, 5118, 1350, 273, 394, 7145, 3744, 5621, 3639, 5118, 1350, 18, 2107, 3380, 273, 1059, 31, 3639, 5118, 1350, 18, 10107, 2686, 273, 576, 31, 3639, 5118, 1350, 18, 10107, 2384, 273, 1059, 31, 3639, 368, 9995, 364, 913, 9635, 3639, 7145, 3744, 5118, 15254, 1670, 273, 394, 7145, 3744, 5621, 3639, 5118, 15254, 1670, 18, 2107, 3380, 273, 1059, 31, 3639, 5118, 15254, 1670, 18, 10107, 2686, 273, 374, 31, 3639, 5118, 15254, 1670, 18, 10107, 2384, 273, 576, 31, 3639, 368, 12740, 913, 9635, 3639, 333, 18, 542, 3744, 12, 7043, 1350, 1769, 3639, 368, 453, 1385, 10506, 7784, 383, 87, 285, 9635, 3639, 5287, 14284, 2966, 383, 87, 285, 273, 394, 5287, 12, 2211, 16, 348, 8588, 18, 9826, 1769, 3639, 7145, 751, 15551, 12995, 48, 2966, 383, 87, 285, 273, 394, 7145, 751, 5621, 3639, 14284, 2966, 383, 87, 285, 18, 542, 3744, 751, 12, 19016, 12995, 48, 2966, 383, 87, 285, 1769, 3639, 14284, 2966, 383, 87, 285, 18, 542, 1528, 2932, 2966, 383, 87, 285, 2773, 1769, 3639, 353, 71, 2966, 383, 87, 285, 273, 394, 2144, 3389, 267, 3367, 12, 2211, 16, 348, 8588, 18, 9826, 16, 374, 1769, 3639, 7145, 751, 15551, 45, 2312, 2966, 383, 87, 285, 273, 394, 7145, 751, 12, 6313, 751, 18, 29818, 67, 44, 20344, 1769, 3639, 353, 71, 2966, 383, 87, 285, 18, 542, 3744, 751, 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, 3166, 7171, 1435, 565, 288, 3639, 368, 9995, 364, 913, 9635, 3639, 7145, 3744, 5118, 1350, 273, 394, 7145, 3744, 5621, 3639, 5118, 1350, 18, 2107, 3380, 273, 1059, 31, 3639, 5118, 1350, 18, 10107, 2686, 273, 576, 31, 3639, 5118, 1350, 18, 10107, 2384, 273, 1059, 31, 3639, 368, 9995, 364, 913, 9635, 3639, 7145, 3744, 5118, 15254, 1670, 273, 394, 7145, 3744, 5621, 3639, 5118, 15254, 1670, 18, 2107, 3380, 273, 1059, 31, 3639, 5118, 15254, 1670, 18, 10107, 2686, 273, 374, 31, 3639, 5118, 15254, 1670, 18, 10107, 2384, 273, 576, 31, 3639, 368, 12740, 913, 9635, 3639, 333, 18, 542, 3744, 12, 7043, 1350, 1769, 3639, 368, 453, 1385, 10506, 7784, 383, 2 ]
private Tree.DefDef instantiatorBody(Symbol clsSym, Symbol insSym) {
private Tree.DefDef instantiatorBody(Symbol clsSym, Symbol insSym, boolean lazy) {
private Tree.DefDef instantiatorBody(Symbol clsSym, Symbol insSym) { // TODO fix flags for all symbols below final int pos = clsSym.pos; final Symbol[] vparams = insSym.valueParams(); Tree[] body = new Tree[2]; // Generate call to "getInstantiation" method of // constructor. Tree getInstFun = gen.Select(pos, gen.mkLocalRef(pos, getTConstructorSym(clsSym)), defs.TYPECONSTRUCTOR_GETINSTANTIATION()); Tree[] getInstArgs = new Tree[]{ gen.mkLocalRef(pos, vparams[0]) }; Symbol instVal = insSym.newVariable(pos, 0, Name.fromString("inst")); instVal.setInfo(defs.SCALACLASSTYPE_TYPE()); Tree instValDef = gen.ValDef(instVal, gen.mkApply_V(pos, getInstFun, getInstArgs)); // Generate test to see if a call to "instantiate" is // necessary. Tree cond = gen.mkApply_V(pos, gen.Select(pos, gen.mkLocalRef(pos, instVal), defs.ANY_BANGEQ), new Tree[] { gen.mkNullLit(pos) }); Tree thenP = gen.mkLocalRef(pos, instVal); final HashMap varMap = new HashMap(); Symbol[] tparams = clsSym.typeParams(); for (int i = 0; i < tparams.length; ++i) varMap.put(tparams[i], new Integer(i)); // Type environment mapping the type parameters of the // class to their corresponding element in the "types" // array passed to this instantiator. TEnv tEnv = new TEnv() { public boolean definesVar(Symbol sym) { return varMap.containsKey(sym); } public Tree treeForVar(Symbol sym) { int idx = ((Integer)varMap.get(sym)).intValue(); Tree array = gen.mkLocalRef(pos, vparams[0]); return gen.mkArrayGet(pos, array, idx); } }; Type[] parents = clsSym.parents(); TreeList parentTypes = new TreeList(); for (int i = 0; i < parents.length; ++i) { Type parent = parents[i]; if (!isStronglyTrivial(parent)) parentTypes.append(typeAsValue(pos, parent, insSym, tEnv)); } boolean emptyParents = (parentTypes.length() == 0); Tree parentsArray = emptyParents ? gen.mkGlobalRef(pos, defs.SCALACLASSTYPE_EMPTYARRAY()) : gen.mkNewArray(pos, defs.SCALACLASSTYPE_TYPE(), parentTypes.toArray(), insSym); Tree instFun = gen.Select(pos, gen.mkLocalRef(pos, getTConstructorSym(clsSym)), defs.TYPECONSTRUCTOR_INSTANTIATE()); Tree[] instArgs = new Tree[] { gen.mkLocalRef(pos, vparams[0]), emptyParents ? parentsArray : gen.mkNullLit(pos) }; Tree instCall = gen.mkApply_V(pos, instFun, instArgs); Tree elseP; if (!emptyParents) { Tree setParentsFun = gen.Select(pos, instCall, defs.SCALACLASSTYPE_SETPARENTS()); elseP = gen.mkApply_V(pos, setParentsFun, new Tree[] { parentsArray }); } else elseP = instCall; Tree ifExpr = gen.If(pos, cond, thenP, elseP, defs.SCALACLASSTYPE_TYPE()); return gen.DefDef(insSym, gen.mkBlock(pos, instValDef, ifExpr)); }
9617 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9617/cea8f97e207664cd0b9dbd95088f13c09360c127/TypesAsValuesPhase.java/buggy/sources/scalac/transformer/TypesAsValuesPhase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 4902, 18, 3262, 3262, 5934, 10620, 2250, 12, 5335, 2028, 11901, 16, 8565, 2763, 11901, 16, 1250, 7962, 13, 288, 5411, 368, 2660, 2917, 2943, 364, 777, 7963, 5712, 5411, 727, 509, 949, 273, 2028, 11901, 18, 917, 31, 5411, 727, 8565, 8526, 331, 2010, 273, 2763, 11901, 18, 1132, 1370, 5621, 5411, 4902, 8526, 1417, 273, 394, 4902, 63, 22, 15533, 5411, 368, 6654, 745, 358, 315, 588, 10675, 7072, 6, 707, 434, 5411, 368, 3885, 18, 5411, 4902, 7854, 334, 22783, 273, 7734, 3157, 18, 3391, 12, 917, 16, 21821, 3157, 18, 24816, 2042, 1957, 12, 917, 16, 3181, 6293, 11901, 12, 6429, 11901, 13, 3631, 21821, 17588, 18, 2399, 26935, 916, 67, 3264, 706, 15379, 45, 2689, 10663, 5411, 4902, 8526, 7854, 334, 2615, 273, 394, 4902, 63, 7073, 3157, 18, 24816, 2042, 1957, 12, 917, 16, 331, 2010, 63, 20, 5717, 289, 31, 5411, 8565, 1804, 3053, 273, 7734, 2763, 11901, 18, 2704, 3092, 12, 917, 16, 374, 16, 1770, 18, 2080, 780, 2932, 8591, 7923, 1769, 5411, 1804, 3053, 18, 542, 966, 12, 12537, 18, 2312, 1013, 2226, 2534, 55, 882, 1738, 67, 2399, 10663, 5411, 4902, 1804, 3053, 3262, 273, 7734, 3157, 18, 3053, 3262, 12, 8591, 3053, 16, 21821, 3157, 18, 24816, 7001, 67, 58, 12, 917, 16, 7854, 334, 22783, 16, 7854, 334, 2615, 10019, 5411, 368, 6654, 1842, 358, 2621, 309, 279, 745, 358, 315, 24628, 3840, 6, 353, 5411, 368, 4573, 18, 5411, 4902, 6941, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 3238, 4902, 18, 3262, 3262, 5934, 10620, 2250, 12, 5335, 2028, 11901, 16, 8565, 2763, 11901, 16, 1250, 7962, 13, 288, 5411, 368, 2660, 2917, 2943, 364, 777, 7963, 5712, 5411, 727, 509, 949, 273, 2028, 11901, 18, 917, 31, 5411, 727, 8565, 8526, 331, 2010, 273, 2763, 11901, 18, 1132, 1370, 5621, 5411, 4902, 8526, 1417, 273, 394, 4902, 63, 22, 15533, 5411, 368, 6654, 745, 358, 315, 588, 10675, 7072, 6, 707, 434, 5411, 368, 3885, 18, 5411, 4902, 7854, 334, 22783, 273, 7734, 3157, 18, 3391, 12, 917, 16, 21821, 3157, 18, 24816, 2042, 1957, 12, 917, 16, 3181, 6293, 11901, 12, 6429, 11901, 13, 3631, 21821, 17588, 18, 2399, 26935, 916, 67, 3264, 706, 2 ]
if (IndexReader.indexExists(indexDirectory))
String indexDirectory = ((SearchServiceImpl) searchService) .getIndexDirectory(); log.debug("Starting process List on " + indexDirectory); File f = new File(indexDirectory); if (!f.exists())
protected void processToDoListTransaction() { Session session = null; Transaction transaction = null; long startTime = System.currentTimeMillis(); int totalDocs = 0; try { session = sessionFactory.openSession(); transaction = session.beginTransaction(); String indexDirectory = ((SearchServiceImpl) searchService) .getIndexDirectory(); log.debug("Starting process List on " + indexDirectory); File f = new File(indexDirectory); if (!f.exists()) { f.mkdirs(); log.debug("Indexing in " + f.getAbsolutePath()); } IndexWriter indexWrite = null; // Load the list List runtimeToDo = findPending(indexBatchSize, session); log.debug("Processing " + runtimeToDo.size() + " documents"); totalDocs = runtimeToDo.size(); if (totalDocs > 0) { try { if (IndexReader.indexExists(indexDirectory)) { IndexReader indexReader = null; try { indexReader = IndexReader.open(indexDirectory); // Open the index for (Iterator tditer = runtimeToDo.iterator(); runThreads && tditer.hasNext();) { SearchBuilderItem sbi = (SearchBuilderItem) tditer .next(); if (!SearchBuilderItem.STATE_PENDING.equals(sbi .getSearchstate())) { // should only be getting pending items log .warn(" Found Item that was not pending " + sbi.getName()); continue; } if (SearchBuilderItem.ACTION_UNKNOWN.equals(sbi .getSearchaction())) { sbi .setSearchstate(SearchBuilderItem.STATE_COMPLETED); continue; } // remove document try { indexReader.delete(new Term("reference", sbi.getName())); if (SearchBuilderItem.ACTION_DELETE .equals(sbi.getSearchaction())) { sbi .setSearchstate(SearchBuilderItem.STATE_COMPLETED); } else { sbi .setSearchstate(SearchBuilderItem.STATE_PENDING_2); } } catch (IOException ex) { log.warn("Failed to delete Page ", ex); } } } finally { if (indexReader != null) { indexReader.close(); indexReader = null; } } // open for update if (runThreads) { indexWrite = new IndexWriter(indexDirectory, new StandardAnalyzer(), false); } } else if (runThreads) { // create for update indexWrite = new IndexWriter(indexDirectory, new StandardAnalyzer(), true); } for (Iterator tditer = runtimeToDo.iterator(); runThreads && tditer.hasNext();) { SearchBuilderItem sbi = (SearchBuilderItem) tditer .next(); // only add adds, that have been deleted sucessfully if (!SearchBuilderItem.STATE_PENDING_2.equals(sbi .getSearchstate())) { continue; } Reference ref = entityManager.newReference(sbi .getName()); if (ref == null) { log .error("Unrecognised trigger object presented to index builder " + sbi); } Entity entity = ref.getEntity(); Document doc = new Document(); if (ref.getContext() == null) { log.warn("Context is null for " + sbi); } String container = ref.getContainer(); if (container == null) container = ""; doc.add(Field.Keyword("container", container)); doc.add(Field.UnIndexed("id", ref.getId())); doc.add(Field.Keyword("type", ref.getType())); doc.add(Field.Keyword("subtype", ref.getSubType())); doc.add(Field.Keyword("reference", ref.getReference())); Collection c = ref.getRealms(); for (Iterator ic = c.iterator(); ic.hasNext();) { String realm = (String) ic.next(); doc.add(Field.Keyword("realm", realm)); } try { EntityContentProducer sep = searchIndexBuilder .newEntityContentProducer(ref); if (sep != null) { doc.add(Field.Keyword("context", sep .getSiteId(ref))); if (sep.isContentFromReader(entity)) { doc.add(Field.Text("contents", sep .getContentReader(entity), true)); } else { doc.add(Field.Text("contents", sep .getContent(entity), true)); } doc.add(Field.Text("title", sep .getTitle(entity), true)); doc.add(Field.Keyword("tool", sep.getTool())); doc.add(Field .Keyword("url", sep.getUrl(entity))); doc.add(Field.Keyword("siteid", sep .getSiteId(ref))); } else { doc.add(Field.Keyword("context", ref .getContext())); doc.add(Field.Text("title", ref.getReference(), true)); doc.add(Field.Keyword("tool", ref.getType())); doc.add(Field.Keyword("url", ref.getUrl())); doc.add(Field.Keyword("siteid", ref .getContext())); } } catch (Exception e1) { e1.printStackTrace(); } log.debug("Indexing Document " + doc); indexWrite.addDocument(doc); sbi.setSearchstate(SearchBuilderItem.STATE_COMPLETED); log.debug("Done Indexing Document " + doc); } } finally { if (indexWrite != null) { indexWrite.close(); indexWrite = null; } } for (Iterator tditer = runtimeToDo.iterator(); runThreads && tditer.hasNext();) { SearchBuilderItem sbi = (SearchBuilderItem) tditer.next(); if (SearchBuilderItem.STATE_COMPLETED.equals(sbi .getSearchstate())) { if (SearchBuilderItem.ACTION_DELETE.equals(sbi .getSearchaction())) { session.delete(sbi); } else { session.saveOrUpdate(sbi); } } } } transaction.commit(); transaction = null; } catch (Exception ex) { if (transaction != null) { try { transaction.rollback(); } catch (HibernateException e) { } transaction = null; } log.warn("Failed to Process Docs ", ex); throw new RuntimeException("Failed to save State ", ex); } finally { if (session != null) { try { session.close(); } catch (HibernateException e) { } session = null; } } if (runThreads) { eventTrackingService.post(eventTrackingService.newEvent( SearchService.EVENT_TRIGGER_INDEX_RELOAD, "/searchindexreload", true, NotificationService.PREF_IMMEDIATE)); } long endTime = System.currentTimeMillis(); float totalTime = endTime - startTime; float ndocs = totalDocs; if (totalDocs > 0) { float docspersec = 1000 * ndocs / totalTime; log.info("Completed Process List of " + totalDocs + " at " + docspersec + " documents/per second"); } }
2021 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2021/1fa23ad44cc805105c4e1cd36ec8fcbf8533f217/SearchIndexBuilderWorker.java/clean/search/search-impl/impl/src/java/org/sakaiproject/search/component/service/impl/SearchIndexBuilderWorker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1207, 774, 3244, 682, 3342, 1435, 202, 95, 202, 202, 2157, 1339, 273, 446, 31, 202, 202, 3342, 2492, 273, 446, 31, 202, 202, 5748, 8657, 273, 2332, 18, 2972, 28512, 5621, 202, 202, 474, 2078, 12656, 273, 374, 31, 202, 202, 698, 202, 202, 95, 1082, 202, 3184, 273, 1339, 1733, 18, 3190, 2157, 5621, 1082, 202, 7958, 273, 1339, 18, 10086, 3342, 5621, 1082, 202, 780, 770, 2853, 273, 14015, 2979, 1179, 2828, 13, 1623, 1179, 13, 6862, 202, 18, 588, 1016, 2853, 5621, 1082, 202, 1330, 18, 4148, 2932, 11715, 1207, 987, 603, 315, 397, 770, 2853, 1769, 1082, 202, 812, 284, 273, 394, 1387, 12, 1615, 2853, 1769, 1082, 202, 430, 16051, 74, 18, 1808, 10756, 1082, 202, 95, 9506, 202, 74, 18, 24816, 8291, 5621, 9506, 202, 1330, 18, 4148, 2932, 24465, 316, 315, 397, 284, 18, 588, 10368, 743, 10663, 1082, 202, 97, 1082, 202, 1016, 2289, 770, 3067, 273, 446, 31, 1082, 202, 759, 4444, 326, 666, 1082, 202, 682, 3099, 774, 3244, 273, 1104, 8579, 12, 1615, 23304, 16, 1339, 1769, 1082, 202, 1330, 18, 4148, 2932, 7798, 315, 397, 3099, 774, 3244, 18, 1467, 1435, 397, 315, 7429, 8863, 1082, 202, 4963, 12656, 273, 3099, 774, 3244, 18, 1467, 5621, 1082, 202, 430, 261, 4963, 12656, 405, 374, 13, 1082, 202, 95, 9506, 202, 698, 9506, 202, 95, 6862, 202, 430, 261, 1016, 2514, 18, 1615, 4002, 12, 1615, 2853, 3719, 6862, 202, 95, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 1207, 774, 3244, 682, 3342, 1435, 202, 95, 202, 202, 2157, 1339, 273, 446, 31, 202, 202, 3342, 2492, 273, 446, 31, 202, 202, 5748, 8657, 273, 2332, 18, 2972, 28512, 5621, 202, 202, 474, 2078, 12656, 273, 374, 31, 202, 202, 698, 202, 202, 95, 1082, 202, 3184, 273, 1339, 1733, 18, 3190, 2157, 5621, 1082, 202, 7958, 273, 1339, 18, 10086, 3342, 5621, 1082, 202, 780, 770, 2853, 273, 14015, 2979, 1179, 2828, 13, 1623, 1179, 13, 6862, 202, 18, 588, 1016, 2853, 5621, 1082, 202, 1330, 18, 4148, 2932, 11715, 1207, 987, 603, 315, 397, 770, 2853, 1769, 1082, 202, 812, 284, 273, 394, 1387, 12, 1615, 2853, 1769, 1082, 202, 430, 2 ]
protected void setupNeighbors(BattleHex [][] h)
protected static void setupNeighbors(BattleHex [][] h)
protected void setupNeighbors(BattleHex [][] h) { for (int i = 0; i < h.length; i++) { for (int j = 0; j < h[0].length; j++) { if (show[i][j]) { if (j > 0 && show[i][j - 1]) { h[i][j].setNeighbor(0, h[i][j - 1]); } if (i < 5 && show[i + 1][j - ((i + 1) & 1)]) { h[i][j].setNeighbor(1, h[i + 1][j - ((i + 1) & 1)]); } if (i < 5 && j + (i & 1) < 6 && show[i + 1][j + (i & 1)]) { h[i][j].setNeighbor(2, h[i + 1][j + (i & 1)]); } if (j < 5 && show[i][j + 1]) { h[i][j].setNeighbor(3, h[i][j + 1]); } if (i > 0 && j + (i & 1) < 6 && show[i - 1][j + (i & 1)]) { h[i][j].setNeighbor(4, h[i - 1][j + (i & 1)]); } if (i > 0 && show[i - 1][j - ((i + 1) & 1)]) { h[i][j].setNeighbor(5, h[i - 1][j - ((i + 1) & 1)]); } } } } }
51862 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51862/5d7caa962ce0afe001b034180fe70ee0bc46a26f/HexMap.java/buggy/Colossus/HexMap.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 760, 918, 3875, 27053, 12, 38, 4558, 298, 7037, 5378, 8526, 366, 13, 565, 288, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 366, 18, 2469, 31, 277, 27245, 3639, 288, 5411, 364, 261, 474, 525, 273, 374, 31, 525, 411, 366, 63, 20, 8009, 2469, 31, 525, 27245, 5411, 288, 7734, 309, 261, 4500, 63, 77, 6362, 78, 5717, 7734, 288, 10792, 309, 261, 78, 405, 374, 597, 2405, 63, 77, 6362, 78, 300, 404, 5717, 10792, 288, 13491, 366, 63, 77, 6362, 78, 8009, 542, 24684, 12, 20, 16, 366, 63, 77, 6362, 78, 300, 404, 19226, 10792, 289, 10792, 309, 261, 77, 411, 1381, 597, 2405, 63, 77, 397, 404, 6362, 78, 300, 14015, 77, 397, 404, 13, 473, 404, 13, 5717, 10792, 288, 13491, 366, 63, 77, 6362, 78, 8009, 542, 24684, 12, 21, 16, 366, 63, 77, 397, 404, 6362, 78, 300, 14015, 77, 397, 404, 13, 473, 404, 13, 19226, 10792, 289, 10792, 309, 261, 77, 411, 1381, 597, 525, 397, 261, 77, 473, 404, 13, 411, 1666, 597, 2405, 63, 77, 397, 404, 6362, 78, 397, 261, 77, 473, 404, 13, 5717, 10792, 288, 13491, 366, 63, 77, 6362, 78, 8009, 542, 24684, 12, 22, 16, 366, 63, 77, 397, 404, 6362, 78, 397, 261, 77, 473, 404, 13, 19226, 10792, 289, 10792, 309, 261, 78, 411, 1381, 597, 2405, 63, 77, 6362, 78, 397, 404, 5717, 10792, 288, 13491, 366, 63, 77, 6362, 78, 8009, 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, 760, 918, 3875, 27053, 12, 38, 4558, 298, 7037, 5378, 8526, 366, 13, 565, 288, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 366, 18, 2469, 31, 277, 27245, 3639, 288, 5411, 364, 261, 474, 525, 273, 374, 31, 525, 411, 366, 63, 20, 8009, 2469, 31, 525, 27245, 5411, 288, 7734, 309, 261, 4500, 63, 77, 6362, 78, 5717, 7734, 288, 10792, 309, 261, 78, 405, 374, 597, 2405, 63, 77, 6362, 78, 300, 404, 5717, 10792, 288, 13491, 366, 63, 77, 6362, 78, 8009, 542, 24684, 12, 20, 16, 366, 63, 77, 6362, 78, 300, 404, 19226, 10792, 289, 10792, 309, 261, 77, 411, 1381, 597, 2405, 63, 77, 397, 404, 6362, 78, 2 ]
if (m_startTagOpen) { try
try { if (m_tracer != null) super.fireStartElem(m_elementName); int nAttrs = m_attributes.getLength(); if (nAttrs>0) processAttributes(nAttrs); m_writer.write('>'); /* whether Xalan or XSLTC, we have the prefix mappings now, so * lets determine if the current element is specified in the cdata- * section-elements list. */ if (m_cdataSectionElements != null) pushCdataSectionState(); if (m_doIndent)
protected void closeStartTag() throws SAXException { if (m_startTagOpen) { try { processAttributes(); m_writer.write('>'); /* whether Xalan or XSLTC, we have the prefix mappings now, so * lets determine if the current element is specified in the cdata- * section-elements list. */ pushCdataSectionState(); m_isprevtext = false; m_preserves.push(m_ispreserve); m_startTagOpen = false; } catch(IOException e) { throw new SAXException(e); } } }
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/e5ee58e0bf12b54ce29fd7afffa7bb7051974c9c/ToHTMLStream.java/buggy/src/org/apache/xml/serializer/ToHTMLStream.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 1746, 30512, 1435, 1216, 14366, 565, 288, 3639, 309, 261, 81, 67, 1937, 1805, 3678, 13, 3639, 288, 5411, 775, 5411, 288, 18701, 1207, 2498, 5621, 5411, 312, 67, 6299, 18, 2626, 2668, 1870, 1769, 5411, 1748, 2856, 1139, 4316, 578, 17243, 15988, 16, 732, 1240, 326, 1633, 7990, 2037, 16, 1427, 2398, 380, 14557, 4199, 309, 326, 783, 930, 353, 1269, 316, 326, 20712, 17, 2398, 380, 2442, 17, 6274, 666, 18, 2398, 1195, 5411, 1817, 39, 892, 5285, 1119, 5621, 5411, 312, 67, 291, 10001, 955, 273, 629, 31, 5411, 312, 67, 12202, 264, 3324, 18, 6206, 12, 81, 67, 291, 27297, 1769, 5411, 312, 67, 1937, 1805, 3678, 273, 629, 31, 13491, 289, 5411, 1044, 12, 14106, 425, 13, 5411, 288, 7734, 604, 394, 14366, 12, 73, 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, 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, 377, 4750, 918, 1746, 30512, 1435, 1216, 14366, 565, 288, 3639, 309, 261, 81, 67, 1937, 1805, 3678, 13, 3639, 288, 5411, 775, 5411, 288, 18701, 1207, 2498, 5621, 5411, 312, 67, 6299, 18, 2626, 2668, 1870, 1769, 5411, 1748, 2856, 1139, 4316, 578, 17243, 15988, 16, 732, 1240, 326, 1633, 7990, 2037, 16, 1427, 2398, 380, 14557, 4199, 309, 326, 783, 930, 353, 1269, 316, 326, 20712, 17, 2398, 380, 2442, 17, 6274, 666, 18, 2398, 1195, 5411, 1817, 39, 892, 5285, 1119, 5621, 5411, 312, 67, 291, 10001, 955, 273, 629, 31, 5411, 312, 67, 12202, 264, 3324, 18, 6206, 12, 81, 67, 291, 27297, 1769, 5411, 312, 67, 1937, 1805, 3678, 273, 629, 31, 13491, 289, 2 ]
public void handleValueChange(IObservableValue source, ValueDiff diff) {
public void handleValueChange(ValueChangeEvent event) {
public void handleValueChange(IObservableValue source, ValueDiff diff) { if (!updating) { fireValueChange(Diffs.createValueDiff(currentValue, doGetValue())); } }
57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/6aecdb31231a8602dbf72944625703c440949c78/AggregateObservableValue.java/buggy/examples/org.eclipse.jface.examples.databinding/src/org/eclipse/jface/examples/databinding/model/AggregateObservableValue.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 1640, 620, 3043, 12, 4294, 3745, 620, 1084, 16, 1445, 5938, 3122, 13, 288, 1082, 202, 430, 16051, 5533, 1776, 13, 288, 9506, 202, 12179, 620, 3043, 12, 10428, 2556, 18, 2640, 620, 5938, 12, 2972, 620, 16, 25083, 202, 2896, 967, 620, 1435, 10019, 1082, 202, 97, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3196, 202, 482, 918, 1640, 620, 3043, 12, 4294, 3745, 620, 1084, 16, 1445, 5938, 3122, 13, 288, 1082, 202, 430, 16051, 5533, 1776, 13, 288, 9506, 202, 12179, 620, 3043, 12, 10428, 2556, 18, 2640, 620, 5938, 12, 2972, 620, 16, 25083, 202, 2896, 967, 620, 1435, 10019, 1082, 202, 97, 202, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
IMemento[] mementos = memento.getChildren(name);
IMemento[] mementos = memento.getChildren(name);
static List readKeyConfigurationDefinitions( IMemento memento, String name, String pluginIdOverride) { if (memento == null || name == null) throw new NullPointerException(); IMemento[] mementos = memento.getChildren(name); if (mementos == null) throw new NullPointerException(); List list = new ArrayList(mementos.length); for (int i = 0; i < mementos.length; i++) list.add( readKeyConfigurationDefinition(mementos[i], pluginIdOverride)); return list; }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/664efbbd6fd6dba5c4d118b10afe31ab34b6890a/Persistence.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/commands/Persistence.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 3845, 987, 855, 653, 1750, 7130, 12, 202, 202, 3445, 820, 83, 312, 820, 83, 16, 202, 202, 780, 508, 16, 202, 202, 780, 1909, 548, 6618, 13, 288, 202, 202, 430, 261, 81, 820, 83, 422, 446, 747, 508, 422, 446, 13, 1082, 202, 12849, 394, 10108, 5621, 202, 202, 3445, 820, 83, 8526, 312, 820, 538, 273, 312, 820, 83, 18, 588, 4212, 12, 529, 1769, 202, 202, 430, 261, 81, 820, 538, 422, 446, 13, 1082, 202, 12849, 394, 10108, 5621, 202, 202, 682, 666, 273, 394, 2407, 12, 81, 820, 538, 18, 2469, 1769, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 312, 820, 538, 18, 2469, 31, 277, 27245, 1082, 202, 1098, 18, 1289, 12, 9506, 202, 896, 653, 1750, 1852, 12, 81, 820, 538, 63, 77, 6487, 1909, 548, 6618, 10019, 202, 202, 2463, 666, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 3845, 987, 855, 653, 1750, 7130, 12, 202, 202, 3445, 820, 83, 312, 820, 83, 16, 202, 202, 780, 508, 16, 202, 202, 780, 1909, 548, 6618, 13, 288, 202, 202, 430, 261, 81, 820, 83, 422, 446, 747, 508, 422, 446, 13, 1082, 202, 12849, 394, 10108, 5621, 202, 202, 3445, 820, 83, 8526, 312, 820, 538, 273, 312, 820, 83, 18, 588, 4212, 12, 529, 1769, 202, 202, 430, 261, 81, 820, 538, 422, 446, 13, 1082, 202, 12849, 394, 10108, 5621, 202, 202, 682, 666, 273, 394, 2407, 12, 81, 820, 538, 18, 2469, 1769, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 312, 820, 538, 18, 2469, 31, 277, 27245, 2 ]
if ( fdCurrent.getAlignment( )
if ( ChartUIUtil.getFontTextAlignment( fdCurrent )
public void paintControl( PaintEvent pe ) { Font fSize = null; Font fCurrent = null; Color cFore = null; Color cBack = null; GC gc = pe.gc; Font fOld = gc.getFont( ); if ( !this.isEnabled( ) ) { cFore = Display.getCurrent( ).getSystemColor( SWT.COLOR_DARK_GRAY ); cBack = Display.getCurrent( ) .getSystemColor( SWT.COLOR_WIDGET_BACKGROUND ); } else { cBack = Display.getCurrent( ) .getSystemColor( SWT.COLOR_LIST_BACKGROUND ); if ( cdCurrent != null && bUseColor ) { cFore = new Color( this.getDisplay( ), cdCurrent.getRed( ), cdCurrent.getGreen( ), cdCurrent.getBlue( ) ); } else { cFore = new Color( this.getDisplay( ), 0, 0, 0 ); } } gc.setForeground( cFore ); gc.setBackground( cBack ); gc.fillRectangle( 0, 0, this.getSize( ).x, this.getSize( ).y ); if ( fdCurrent != null ) { // Handle styles int iStyle = ( fdCurrent.isBold( ) ) ? SWT.BOLD : SWT.NORMAL; iStyle |= ( fdCurrent.isItalic( ) ) ? SWT.ITALIC : iStyle; String sFontName = fdCurrent.getName( ); if ( !bUseSize ) { gc.setClipping( 2, 2, this.getSize( ).x - 40, 26 ); fCurrent = new Font( this.getDisplay( ), fdCurrent.getName( ), fOld.getFontData( )[0].getHeight( ), iStyle ); } else { fCurrent = new Font( this.getDisplay( ), fdCurrent.getName( ), (int) fdCurrent.getSize( ), iStyle ); } gc.setFont( fCurrent ); // Calculate the location to render text int iStartX = 5; int iStartY = 3; if ( bUseAlignment ) { if ( fdCurrent.getAlignment( ) .getHorizontalAlignment( ) .equals( HorizontalAlignment.LEFT_LITERAL ) ) { iStartX = 5; } else if ( fdCurrent.getAlignment( ) .getHorizontalAlignment( ) .equals( HorizontalAlignment.CENTER_LITERAL ) ) { iStartX = this.getSize( ).x / 2 - ( getStringWidth( gc, sFontName ).x / 2 ); } else if ( fdCurrent.getAlignment( ) .getHorizontalAlignment( ) .equals( HorizontalAlignment.RIGHT_LITERAL ) ) { iStartX = this.getSize( ).x - getStringWidth( gc, sFontName ).x; } if ( fdCurrent.getAlignment( ) .getVerticalAlignment( ) .equals( VerticalAlignment.TOP_LITERAL ) ) { iStartY = 3; } else if ( fdCurrent.getAlignment( ) .getVerticalAlignment( ) .equals( VerticalAlignment.CENTER_LITERAL ) ) { iStartY = ( this.getSize( ).y / 2 ); if ( bUseSize ) { iStartY -= ( getStringWidth( gc, sFontName ).y / 2 ); } else { iStartY -= 15; } } else if ( fdCurrent.getAlignment( ) .getVerticalAlignment( ) .equals( VerticalAlignment.BOTTOM_LITERAL ) ) { iStartY = this.getSize( ).y; if ( bUseSize ) { iStartY -= ( getStringWidth( gc, sFontName ).y ); } else { iStartY -= 30; } } } gc.drawText( sFontName, iStartX, iStartY ); if ( fdCurrent.isUnderline( ) ) { gc.drawLine( iStartX, iStartY + getStringWidth( gc, sFontName ).y - gc.getFontMetrics( ).getDescent( ), iStartX + getStringWidth( gc, sFontName ).x - gc.getFontMetrics( ).getDescent( ), iStartY + getStringWidth( gc, sFontName ).y - gc.getFontMetrics( ).getDescent( ) ); } if ( fdCurrent.isStrikethrough( ) ) { gc.drawLine( iStartX, iStartY + ( getStringWidth( gc, sFontName ).y / 2 ) + 1, iStartX + getStringWidth( gc, sFontName ).x, iStartY + ( getStringWidth( gc, sFontName ).y / 2 ) + 1 ); } if ( !bUseSize ) { gc.setClipping( 1, 1, this.getSize( ).x, this.getSize( ).y ); fSize = new Font( this.getDisplay( ), "Sans-Serif", fOld.getFontData( )[0].getHeight( ), SWT.NORMAL ); //$NON-NLS-1$ gc.setFont( fSize ); String sizeString = "(" + String.valueOf( fdCurrent.getSize( ) ) + ")"; //$NON-NLS-1$ //$NON-NLS-2$ Point pt = gc.textExtent( sizeString ); gc.drawText( sizeString, this.getSize( ).x - pt.x - this.getBorderWidth( ) - 2, ( this.getSize( ).y - pt.y ) / 2 - 1 ); fSize.dispose( ); } fCurrent.dispose( ); } if ( this.isEnabled( ) ) { cFore.dispose( ); } gc.setFont( fOld ); }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/24a5facd06b9834d9092d18b6e634919abd5a8d1/FontCanvas.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/FontCanvas.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 12574, 3367, 12, 30001, 1133, 2804, 262, 202, 95, 202, 202, 5711, 284, 1225, 273, 446, 31, 202, 202, 5711, 284, 3935, 273, 446, 31, 202, 202, 2957, 276, 13573, 273, 446, 31, 202, 202, 2957, 276, 2711, 273, 446, 31, 202, 202, 15396, 8859, 273, 2804, 18, 13241, 31, 202, 202, 5711, 284, 7617, 273, 8859, 18, 588, 5711, 12, 11272, 202, 202, 430, 261, 401, 2211, 18, 291, 1526, 12, 262, 262, 202, 202, 95, 1082, 202, 71, 13573, 273, 9311, 18, 588, 3935, 12, 262, 18, 588, 3163, 2957, 12, 348, 8588, 18, 10989, 67, 40, 9584, 67, 43, 6722, 11272, 1082, 202, 71, 2711, 273, 9311, 18, 588, 3935, 12, 262, 6862, 202, 18, 588, 3163, 2957, 12, 348, 8588, 18, 10989, 67, 59, 734, 3264, 67, 8720, 20166, 11272, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 71, 2711, 273, 9311, 18, 588, 3935, 12, 262, 6862, 202, 18, 588, 3163, 2957, 12, 348, 8588, 18, 10989, 67, 7085, 67, 8720, 20166, 11272, 1082, 202, 430, 261, 7976, 3935, 480, 446, 597, 324, 3727, 2957, 262, 1082, 202, 95, 9506, 202, 71, 13573, 273, 394, 5563, 12, 333, 18, 588, 4236, 12, 262, 16, 25083, 202, 4315, 3935, 18, 588, 3715, 12, 262, 16, 25083, 202, 4315, 3935, 18, 588, 21453, 12, 262, 16, 25083, 202, 4315, 3935, 18, 588, 27986, 12, 262, 11272, 1082, 202, 97, 1082, 202, 12107, 1082, 202, 95, 9506, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 12574, 3367, 12, 30001, 1133, 2804, 262, 202, 95, 202, 202, 5711, 284, 1225, 273, 446, 31, 202, 202, 5711, 284, 3935, 273, 446, 31, 202, 202, 2957, 276, 13573, 273, 446, 31, 202, 202, 2957, 276, 2711, 273, 446, 31, 202, 202, 15396, 8859, 273, 2804, 18, 13241, 31, 202, 202, 5711, 284, 7617, 273, 8859, 18, 588, 5711, 12, 11272, 202, 202, 430, 261, 401, 2211, 18, 291, 1526, 12, 262, 262, 202, 202, 95, 1082, 202, 71, 13573, 273, 9311, 18, 588, 3935, 12, 262, 18, 588, 3163, 2957, 12, 348, 8588, 18, 10989, 67, 40, 9584, 67, 43, 6722, 11272, 1082, 202, 71, 2711, 273, 9311, 18, 588, 3935, 12, 262, 2 ]
if (i == children.length - 1)
if (i == children.length - 1) {
protected void selectNext(ProgressInfoItem item) { Control[] children = control.getChildren(); for (int i = 0; i < children.length; i++) { ProgressInfoItem child = (ProgressInfoItem) children[i]; if (item.equals(child)) { ProgressInfoItem next; if (i == children.length - 1) next = (ProgressInfoItem) children[0]; else next = (ProgressInfoItem) children[i + 1]; item.selectWidgets(false); next.selectWidgets(true); return; } } }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/DetailedProgressViewer.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/DetailedProgressViewer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 2027, 2134, 12, 5491, 966, 1180, 761, 13, 288, 202, 202, 3367, 8526, 2325, 273, 3325, 18, 588, 4212, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 2325, 18, 2469, 31, 277, 27245, 288, 1082, 202, 5491, 966, 1180, 1151, 273, 261, 5491, 966, 1180, 13, 2325, 63, 77, 15533, 1082, 202, 430, 261, 1726, 18, 14963, 12, 3624, 3719, 288, 9506, 202, 5491, 966, 1180, 1024, 31, 9506, 202, 430, 261, 77, 422, 2325, 18, 2469, 300, 404, 13, 6862, 202, 4285, 273, 261, 5491, 966, 1180, 13, 2325, 63, 20, 15533, 9506, 202, 12107, 6862, 202, 4285, 273, 261, 5491, 966, 1180, 13, 2325, 63, 77, 397, 404, 15533, 9506, 202, 1726, 18, 4025, 16166, 12, 5743, 1769, 9506, 202, 4285, 18, 4025, 16166, 12, 3767, 1769, 9506, 202, 2463, 31, 1082, 202, 97, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 2027, 2134, 12, 5491, 966, 1180, 761, 13, 288, 202, 202, 3367, 8526, 2325, 273, 3325, 18, 588, 4212, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 2325, 18, 2469, 31, 277, 27245, 288, 1082, 202, 5491, 966, 1180, 1151, 273, 261, 5491, 966, 1180, 13, 2325, 63, 77, 15533, 1082, 202, 430, 261, 1726, 18, 14963, 12, 3624, 3719, 288, 9506, 202, 5491, 966, 1180, 1024, 31, 9506, 202, 430, 261, 77, 422, 2325, 18, 2469, 300, 404, 13, 6862, 202, 4285, 273, 261, 5491, 966, 1180, 13, 2325, 63, 20, 15533, 9506, 202, 12107, 6862, 202, 4285, 273, 261, 5491, 966, 1180, 13, 2325, 63, 77, 397, 404, 15533, 2 ]
} catch (MissingResourceException mre) {
} catch (MissingResourceException mre) {
protected JMenuItem createMenuItem(JChemPaintPanel jcpPanel, String cmd, boolean isCheckBox, boolean isChecked) { logger.debug("Creating menu item: ", cmd); String translation = "***" + cmd + "***"; try { translation = JCPLocalizationHandler.getInstance().getString(cmd); logger.debug("Found translation: ", translation); } catch (MissingResourceException mre) { logger.error("Could not find translation for: " + cmd); } JMenuItem mi = null; if (isCheckBox) { mi = new JCheckBoxMenuItem(translation); mi.setSelected(isChecked); } else { mi = new JMenuItem(translation); } logger.debug("Created new menu item..."); String astr = JCPPropertyHandler.getInstance().getResourceString(cmd + JCPAction.actionSuffix); if (astr == null) { astr = cmd; } mi.setActionCommand(astr); JCPAction action = jcpPanel.getJCPAction().getAction(jcpPanel, astr); if (action != null) { // sync some action properties with menu mi.setEnabled(action.isEnabled()); mi.addActionListener(action); logger.debug("Coupled action to new menu item..."); } else { logger.error("Could not find JCPAction class for:" + astr); mi.setEnabled(false); } return mi; }
1306 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1306/9d2a51021be688934ccb4de9bead21d49dccd46f/JChemPaintMenuBar.java/buggy/src/org/openscience/cdk/applications/jchempaint/JChemPaintMenuBar.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 804, 12958, 752, 12958, 12, 46, 20200, 12699, 5537, 525, 4057, 5537, 16, 514, 1797, 16, 1250, 353, 19174, 16, 1250, 31041, 13, 202, 95, 202, 202, 4901, 18, 4148, 2932, 11092, 3824, 761, 30, 3104, 1797, 1769, 202, 202, 780, 4794, 273, 28078, 7388, 397, 1797, 397, 28078, 7388, 31, 202, 202, 698, 202, 202, 95, 1082, 202, 10173, 273, 804, 4258, 19157, 1503, 18, 588, 1442, 7675, 588, 780, 12, 4172, 1769, 1082, 202, 4901, 18, 4148, 2932, 2043, 4794, 30, 3104, 4794, 1769, 202, 202, 97, 1044, 261, 4841, 14785, 312, 266, 13, 202, 202, 95, 1082, 202, 4901, 18, 1636, 2932, 4445, 486, 1104, 4794, 364, 30, 315, 397, 1797, 1769, 202, 202, 97, 202, 202, 46, 12958, 12837, 273, 446, 31, 202, 202, 430, 261, 291, 19174, 13, 202, 202, 95, 1082, 202, 9197, 273, 394, 804, 19174, 12958, 12, 10173, 1769, 1082, 202, 9197, 18, 542, 7416, 12, 291, 11454, 1769, 202, 202, 97, 469, 202, 202, 95, 1082, 202, 9197, 273, 394, 804, 12958, 12, 10173, 1769, 202, 202, 97, 202, 202, 4901, 18, 4148, 2932, 6119, 394, 3824, 761, 7070, 1769, 202, 202, 780, 487, 313, 273, 804, 4258, 1396, 1503, 18, 588, 1442, 7675, 588, 1420, 780, 12, 4172, 397, 804, 4258, 1803, 18, 1128, 5791, 1769, 202, 202, 430, 261, 345, 313, 422, 446, 13, 202, 202, 95, 1082, 202, 345, 313, 273, 1797, 31, 202, 202, 97, 202, 202, 9197, 18, 542, 1803, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 804, 12958, 752, 12958, 12, 46, 20200, 12699, 5537, 525, 4057, 5537, 16, 514, 1797, 16, 1250, 353, 19174, 16, 1250, 31041, 13, 202, 95, 202, 202, 4901, 18, 4148, 2932, 11092, 3824, 761, 30, 3104, 1797, 1769, 202, 202, 780, 4794, 273, 28078, 7388, 397, 1797, 397, 28078, 7388, 31, 202, 202, 698, 202, 202, 95, 1082, 202, 10173, 273, 804, 4258, 19157, 1503, 18, 588, 1442, 7675, 588, 780, 12, 4172, 1769, 1082, 202, 4901, 18, 4148, 2932, 2043, 4794, 30, 3104, 4794, 1769, 202, 202, 97, 1044, 261, 4841, 14785, 312, 266, 13, 202, 202, 95, 1082, 202, 4901, 18, 1636, 2932, 4445, 486, 1104, 4794, 364, 30, 315, 397, 1797, 1769, 202, 2 ]
Trace.trace(message);
Trace.trace(Trace.INFO,message);
public void handleProgressEvent(ProgressEvent event) { String message = DeploymentStatusMessageTranslator.getTranslatedMessage(event, project); if (!message.equals(lastMessage)) { _monitor.setTaskName(message); Trace.trace(message); } lastMessage = message; DeploymentStatus status = event.getDeploymentStatus(); if (status.getMessage() != null) { Trace.trace("\t" + status.getMessage()); _monitor.subTask(status.getMessage()); } if (cmd == null || cmd == status.getCommand()) { if (status.isCompleted() || status.isFailed()) { waitThread.interrupt(); } } }
12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/ac4bb23c59eab43fb0640daeb3692ef405d378d9/GeronimoServerBehaviour.java/clean/sandbox/eclipse-plugin/org.apache.geronimo.core/src/org/apache/geronimo/core/internal/GeronimoServerBehaviour.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 1640, 5491, 1133, 12, 5491, 1133, 871, 13, 288, 1082, 202, 780, 883, 273, 8587, 1482, 1079, 12233, 18, 588, 20421, 1079, 12, 2575, 16, 1984, 1769, 25083, 202, 430, 16051, 2150, 18, 14963, 12, 2722, 1079, 3719, 288, 7734, 389, 10259, 18, 542, 2174, 461, 12, 2150, 1769, 9506, 202, 3448, 18, 5129, 12, 2150, 1769, 1082, 202, 97, 1082, 202, 2722, 1079, 273, 883, 31, 1082, 202, 6733, 1482, 1267, 273, 871, 18, 588, 6733, 1482, 5621, 1082, 202, 430, 261, 2327, 18, 24906, 1435, 480, 446, 13, 288, 9506, 202, 3448, 18, 5129, 31458, 88, 6, 397, 1267, 18, 24906, 10663, 9506, 202, 67, 10259, 18, 1717, 2174, 12, 2327, 18, 24906, 10663, 1082, 202, 97, 1082, 202, 430, 261, 4172, 422, 446, 747, 1797, 422, 1267, 18, 588, 2189, 10756, 288, 9506, 202, 430, 261, 2327, 18, 291, 9556, 1435, 747, 1267, 18, 291, 2925, 10756, 288, 6862, 202, 7048, 3830, 18, 31847, 5621, 9506, 202, 97, 1082, 202, 97, 202, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 1640, 5491, 1133, 12, 5491, 1133, 871, 13, 288, 1082, 202, 780, 883, 273, 8587, 1482, 1079, 12233, 18, 588, 20421, 1079, 12, 2575, 16, 1984, 1769, 25083, 202, 430, 16051, 2150, 18, 14963, 12, 2722, 1079, 3719, 288, 7734, 389, 10259, 18, 542, 2174, 461, 12, 2150, 1769, 9506, 202, 3448, 18, 5129, 12, 2150, 1769, 1082, 202, 97, 1082, 202, 2722, 1079, 273, 883, 31, 1082, 202, 6733, 1482, 1267, 273, 871, 18, 588, 6733, 1482, 5621, 1082, 202, 430, 261, 2327, 18, 24906, 1435, 480, 446, 13, 288, 9506, 202, 3448, 18, 5129, 31458, 88, 6, 397, 1267, 18, 24906, 10663, 9506, 202, 67, 10259, 18, 1717, 2174, 12, 2327, 18, 24906, 2 ]
String sql = getInterfaceFilter(notif.getRule());
private boolean nodeInterfaceServiceValid(Notification notif, Event event) { boolean result = false; Connection connection = null; try { // Get the Interface and Service from the Event long eventNode = event.getNodeid(); String eventIf = (String) event.getInterface(); String eventSrv = (String) event.getService(); //TODO: This needs attention. NodeDowns don't have a if or svc id //making a terribly long process to generate a notification on //systems with lots nodes interfaces and services. On a very fast //system with 45k nodes, takes over 4 minutes to process the notification //from the time the event is received. if (eventNode == 0 && eventIf == null && eventSrv == null) { return true; } // ThreadCategory.getInstance(getClass()).debug("Notification Event // Interface: " + eventIf + " Service: " + eventSrv); // Get the Notification Rule String sql = getInterfaceFilter(notif.getRule()); // ThreadCategory.getInstance(getClass()).debug("getSQL Returned SQL for Notification: " + notif.getName() + ": " + sql); connection = getConnection(); Statement stmt = connection.createStatement(); ResultSet rows = stmt.executeQuery(sql); // Loop through the rows returned from the SQL query and return true // if they match event while (rows.next()) { String notifIf = rows.getString(1); String notifSrv = rows.getString(2); long notifNode = rows.getLong(3); // ThreadCategory.getInstance(getClass()).debug("Notification // Notif Interface: " + notifIf + " Service: " + notifSrv); // if there is no If with the event, there can be no service, // thus check only if the node matches if (eventIf == null || eventIf.equals("0.0.0.0")) { if (eventNode == notifNode) { result = true; break; } } // If there is no Srv with the event, check and see if the If // matches else if (eventSrv == null) { if (eventIf.equals(notifIf)) { result = true; break; } } // Otherwise, insure that both the Srv and If match else if (eventSrv.equals(notifSrv) && eventIf.equals(notifIf)) { result = true; break; } } try { rows.close(); } catch (SQLException e) { } try { stmt.close(); } catch (SQLException e) { } } catch (SQLException e) { log().error("Filter query threw exception: " + notif.getName() + ": " + notif.getRule(), e); return true; } catch (FilterParseException e) { log().error("Invalid filter rule for notification " + notif.getName() + ": " + notif.getRule(), e); // go ahead and send the notification return true; } finally { if (connection != null) { try { connection.close(); } catch (SQLException e) { } } } return result; }
25465 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25465/6b56ca0b1efc953e9c9482a7352e300e32d4ac56/NotificationManager.java/buggy/opennms-services/src/main/java/org/opennms/netmgt/config/NotificationManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 756, 1358, 1179, 1556, 12, 4386, 486, 430, 16, 2587, 871, 13, 288, 3639, 1250, 563, 273, 629, 31, 5411, 4050, 1459, 273, 446, 31, 3639, 775, 288, 7734, 368, 968, 326, 6682, 471, 1956, 628, 326, 2587, 7734, 1525, 871, 907, 273, 871, 18, 588, 907, 350, 5621, 5411, 514, 871, 2047, 273, 261, 780, 13, 871, 18, 588, 1358, 5621, 5411, 514, 871, 24625, 273, 261, 780, 13, 871, 18, 588, 1179, 5621, 7734, 368, 6241, 30, 1220, 4260, 17278, 18, 225, 2029, 4164, 87, 2727, 1404, 1240, 279, 309, 578, 7538, 612, 5411, 368, 19718, 279, 27428, 24755, 1525, 1207, 358, 2103, 279, 3851, 603, 2398, 368, 4299, 87, 598, 328, 6968, 2199, 7349, 471, 4028, 18, 225, 2755, 279, 8572, 4797, 5411, 368, 4299, 598, 12292, 79, 2199, 16, 5530, 1879, 1059, 6824, 358, 1207, 326, 3851, 5411, 368, 2080, 326, 813, 326, 871, 353, 5079, 18, 5411, 309, 261, 2575, 907, 422, 374, 597, 871, 2047, 422, 446, 597, 871, 24625, 422, 446, 13, 288, 7734, 327, 638, 31, 5411, 289, 7734, 368, 4884, 4457, 18, 588, 1442, 12, 588, 797, 1435, 2934, 4148, 2932, 4386, 2587, 5411, 368, 6682, 30, 315, 397, 871, 2047, 397, 315, 1956, 30, 315, 397, 871, 24625, 1769, 7734, 368, 968, 326, 8050, 6781, 15604, 368, 4884, 4457, 18, 588, 1442, 12, 588, 797, 1435, 2934, 4148, 2932, 588, 3997, 8045, 3063, 364, 8050, 30, 315, 397, 486, 430, 18, 17994, 1435, 397, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 756, 1358, 1179, 1556, 12, 4386, 486, 430, 16, 2587, 871, 13, 288, 3639, 1250, 563, 273, 629, 31, 5411, 4050, 1459, 273, 446, 31, 3639, 775, 288, 7734, 368, 968, 326, 6682, 471, 1956, 628, 326, 2587, 7734, 1525, 871, 907, 273, 871, 18, 588, 907, 350, 5621, 5411, 514, 871, 2047, 273, 261, 780, 13, 871, 18, 588, 1358, 5621, 5411, 514, 871, 24625, 273, 261, 780, 13, 871, 18, 588, 1179, 5621, 7734, 368, 6241, 30, 1220, 4260, 17278, 18, 225, 2029, 4164, 87, 2727, 1404, 1240, 279, 309, 578, 7538, 612, 5411, 368, 19718, 279, 27428, 24755, 1525, 1207, 358, 2103, 279, 3851, 603, 2398, 368, 4299, 87, 598, 328, 6968, 2199, 2 ]
RubyClass metaClass = objectClass.makeMetaClass(classClass); metaClass = moduleClass.makeMetaClass(metaClass); metaClass = classClass.makeMetaClass(metaClass);
RubyClass metaClass = objectClass.makeMetaClass(classClass, runtime.getCurrentContext().getRubyClass()); metaClass = moduleClass.makeMetaClass(metaClass, runtime.getCurrentContext().getRubyClass()); metaClass = classClass.makeMetaClass(metaClass, runtime.getCurrentContext().getRubyClass());
public void initCoreClasses() { objectClass = defineBootClass("Object", null); moduleClass = defineBootClass("Module", objectClass); classClass = defineBootClass("Class", moduleClass); RubyClass metaClass = objectClass.makeMetaClass(classClass); metaClass = moduleClass.makeMetaClass(metaClass); metaClass = classClass.makeMetaClass(metaClass); kernelModule = RubyKernel.createKernelModule(runtime); objectClass.includeModule(kernelModule); CallbackFactory callbackFactory = runtime.callbackFactory(RubyClasses.class); objectClass.definePrivateMethod("initialize", callbackFactory.getNilMethod(-1)); classClass.definePrivateMethod("inherited", callbackFactory.getNilMethod(1)); RubyObject.createObjectClass(objectClass); RubyClass.createClassClass(classClass); RubyModule.createModuleClass(moduleClass); nilClass = RubyNil.createNilClass(runtime); falseClass = RubyBoolean.createFalseClass(runtime); trueClass = RubyBoolean.createTrueClass(runtime); threadGroupClass = RubyThreadGroup.createThreadGroupClass(runtime); threadClass = RubyThread.createThreadClass(runtime); runtime.getLoadService().addAutoload("UnboundMethod", new IAutoloadMethod() { public IRubyObject load(Ruby runtime, String name) { return RubyUnboundMethod.defineUnboundMethodClass(runtime); } }); runtime.getClasses().getFileTestModule(); }
47619 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47619/32d84ae899fd3c367ef3800d0984b69f53209031/RubyClasses.java/buggy/src/org/jruby/RubyClasses.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1208, 4670, 4818, 1435, 288, 3639, 23992, 273, 4426, 15817, 797, 2932, 921, 3113, 446, 1769, 3639, 1605, 797, 273, 4426, 15817, 797, 2932, 3120, 3113, 23992, 1769, 3639, 667, 797, 273, 4426, 15817, 797, 2932, 797, 3113, 1605, 797, 1769, 3639, 19817, 797, 2191, 797, 273, 23992, 18, 6540, 2781, 797, 12, 1106, 797, 1769, 3639, 2191, 797, 273, 1605, 797, 18, 6540, 2781, 797, 12, 3901, 797, 1769, 3639, 2191, 797, 273, 667, 797, 18, 6540, 2781, 797, 12, 3901, 797, 1769, 3639, 5536, 3120, 273, 19817, 11286, 18, 2640, 11286, 3120, 12, 9448, 1769, 3639, 23992, 18, 6702, 3120, 12, 8111, 3120, 1769, 3639, 8444, 1733, 1348, 1733, 273, 3099, 18, 3394, 1733, 12, 54, 10340, 4818, 18, 1106, 1769, 3639, 23992, 18, 11255, 6014, 1305, 2932, 11160, 3113, 1348, 1733, 18, 588, 12616, 1305, 19236, 21, 10019, 3639, 667, 797, 18, 11255, 6014, 1305, 2932, 6018, 329, 3113, 1348, 1733, 18, 588, 12616, 1305, 12, 21, 10019, 3639, 19817, 921, 18, 2640, 921, 797, 12, 1612, 797, 1769, 3639, 19817, 797, 18, 2640, 797, 797, 12, 1106, 797, 1769, 3639, 19817, 3120, 18, 2640, 3120, 797, 12, 2978, 797, 1769, 3639, 515, 797, 273, 19817, 12616, 18, 2640, 12616, 797, 12, 9448, 1769, 3639, 629, 797, 273, 19817, 5507, 18, 2640, 8381, 797, 12, 9448, 1769, 3639, 638, 797, 273, 19817, 5507, 18, 2640, 5510, 797, 12, 9448, 1769, 3639, 2650, 1114, 797, 273, 19817, 3830, 1114, 18, 2640, 3830, 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, 1208, 4670, 4818, 1435, 288, 3639, 23992, 273, 4426, 15817, 797, 2932, 921, 3113, 446, 1769, 3639, 1605, 797, 273, 4426, 15817, 797, 2932, 3120, 3113, 23992, 1769, 3639, 667, 797, 273, 4426, 15817, 797, 2932, 797, 3113, 1605, 797, 1769, 3639, 19817, 797, 2191, 797, 273, 23992, 18, 6540, 2781, 797, 12, 1106, 797, 1769, 3639, 2191, 797, 273, 1605, 797, 18, 6540, 2781, 797, 12, 3901, 797, 1769, 3639, 2191, 797, 273, 667, 797, 18, 6540, 2781, 797, 12, 3901, 797, 1769, 3639, 5536, 3120, 273, 19817, 11286, 18, 2640, 11286, 3120, 12, 9448, 1769, 3639, 23992, 18, 6702, 3120, 12, 8111, 3120, 1769, 3639, 8444, 1733, 1348, 1733, 273, 3099, 18, 3394, 1733, 2 ]
public ExternalImage(final String name, final IModel model) { super(name, model); }
public ExternalImage(final String name) { super(name); }
public ExternalImage(final String name, final IModel model) { super(name, model); }
51612 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51612/8c7fded16a75ce2a1f0300235fd1af96b502ea2e/ExternalImage.java/buggy/wicket-library/src/java/wicket/addons/utils/ExternalImage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 11352, 2040, 12, 6385, 514, 508, 16, 727, 467, 1488, 938, 13, 565, 288, 3639, 2240, 12, 529, 16, 938, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 11352, 2040, 12, 6385, 514, 508, 16, 727, 467, 1488, 938, 13, 565, 288, 3639, 2240, 12, 529, 16, 938, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
m_insStmt.setTimestamp(20, eventTime);
set(m_insStmt, 20, eventTime);
private void insertAlarm(Header eventHeader, Event event) throws SQLException { int alarmID = -1; Category log = ThreadCategory.getInstance(AlarmWriter.class); alarmID = getNextId(); if (log.isDebugEnabled()) log.debug("AlarmWriter: DBID: "+ alarmID); //Column 1, alarmId m_insStmt.setInt(1, alarmID); //Column 2, eventUie m_insStmt.setString(2, Constants.format(event.getUei(), EVENT_UEI_FIELD_SIZE)); //Column 3, dpName m_insStmt.setString(3, (eventHeader != null) ? Constants.format(eventHeader.getDpName(), EVENT_DPNAME_FIELD_SIZE) : "undefined"); // Column 4, nodeID int nodeid = (int) event.getNodeid(); m_insStmt.setInt(4, event.hasNodeid() ? nodeid : -1); // Column 5, ipaddr m_insStmt.setString(5, (event.getInterface() != null ? event.getInterface() : "0.0.0.0")); //Column 6, serviceId // // convert the service name to a service id // int svcId = -1; if (event.getService() != null) { try { svcId = getServiceID(event.getService()); } catch (SQLException sqlE) { log.warn("AlarmWriter.insertAlarm: Error converting service name \"" + event.getService() + "\" to an integer identifier, storing -1", sqlE); } } m_insStmt.setInt(6, svcId); //Column 7, reductionKey m_insStmt.setString(7, event.getAlarmData().getReductionKey()); //Column 8, alarmType m_insStmt.setInt(8, event.getAlarmData().getAlarmType()); //Column 9, counter m_insStmt.setInt(9, 1); //Column 10, serverity set(m_insStmt, 10, Constants.getSeverity(event.getSeverity())); //Column 11, lastEventId m_insStmt.setInt(11, event.getDbid()); //Column 12, firstEventTime java.sql.Timestamp eventTime = getEventTime(event, log); m_insStmt.setTimestamp(12, eventTime); //Column 13, lastEventTime m_insStmt.setTimestamp(13, eventTime); //Column 14, description set(m_insStmt, 14, Constants.format(event.getDescr(), EVENT_DESCR_FIELD_SIZE)); //Column 15, logMsg if (event.getLogmsg() != null) { // set log message set(m_insStmt, 15, Constants.format(event.getLogmsg().getContent(), EVENT_LOGMSG_FIELD_SIZE)); } else { m_insStmt.setNull(15, Types.VARCHAR); } //Column 16, operInstruct set(m_insStmt, 16, Constants.format(event.getOperinstruct(), EVENT_OPERINSTRUCT_FIELD_SIZE)); //Column 17, tticketId //Column 18, tticketState if (event.getTticket() != null) { set(m_insStmt, 17, Constants.format(event.getTticket().getContent(), EVENT_TTICKET_FIELD_SIZE)); int ttstate = 0; if (event.getTticket().getState().equals("on")) ttstate = 1; set(m_insStmt, 18, ttstate); } else { m_insStmt.setNull(17, Types.VARCHAR); m_insStmt.setNull(18, Types.INTEGER); } //Column 19, mouseOverText set(m_insStmt, 19, Constants.format(event.getMouseovertext(), EVENT_MOUSEOVERTEXT_FIELD_SIZE)); //Column 20, suppressedUntil //FIXME: m_insStmt.setTimestamp(20, eventTime); //Column 21, suppressedUser m_insStmt.setString(21, null); //Column 22, suppressedTime //FIXME: m_insStmt.setTimestamp(22, eventTime); //Column 23, alarmAckUser m_insStmt.setString(23, null); //Column 24, alarmAckTime m_insStmt.setTimestamp(24, eventTime); //Column 25, clearUie m_insStmt.setString(25, Constants.format(event.getAlarmData().getClearUei(), EVENT_UEI_FIELD_SIZE)); if (log.isDebugEnabled()) log.debug("m_insStmt is: "+m_insStmt.toString()); m_insStmt.executeUpdate(); m_updateEventStmt.setInt(1, alarmID); m_updateEventStmt.setInt(2, event.getDbid()); m_updateEventStmt.executeUpdate(); if (log.isDebugEnabled()) log.debug("SUCCESSFULLY added " + event.getUei() + " related data into the ALARMS table"); }
25465 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25465/fc8d2535d11b6263500aef3304a8bc0df5ab965c/Persist.java/clean/src/services/org/opennms/netmgt/eventd/Persist.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2243, 16779, 12, 1864, 871, 1864, 16, 2587, 871, 13, 1216, 6483, 288, 3639, 509, 13721, 734, 273, 300, 21, 31, 3639, 9856, 613, 273, 4884, 4457, 18, 588, 1442, 12, 16779, 2289, 18, 1106, 1769, 7734, 13721, 734, 273, 6927, 548, 5621, 3639, 309, 261, 1330, 18, 291, 2829, 1526, 10756, 613, 18, 4148, 2932, 16779, 2289, 30, 18822, 30, 13773, 13721, 734, 1769, 3639, 368, 1494, 404, 16, 13721, 548, 3639, 312, 67, 2679, 8952, 18, 542, 1702, 12, 21, 16, 13721, 734, 1769, 7734, 368, 1494, 576, 16, 871, 57, 1385, 3639, 312, 67, 2679, 8952, 18, 542, 780, 12, 22, 16, 5245, 18, 2139, 12, 2575, 18, 588, 57, 73, 77, 9334, 9964, 67, 1821, 45, 67, 6776, 67, 4574, 10019, 7734, 368, 1494, 890, 16, 9986, 461, 3639, 312, 67, 2679, 8952, 18, 542, 780, 12, 23, 16, 261, 2575, 1864, 480, 446, 13, 692, 5245, 18, 2139, 12, 2575, 1864, 18, 588, 40, 84, 461, 9334, 9964, 67, 8640, 1985, 67, 6776, 67, 4574, 13, 294, 315, 5978, 8863, 7734, 368, 4753, 1059, 16, 14871, 3639, 509, 756, 350, 273, 261, 474, 13, 871, 18, 588, 907, 350, 5621, 3639, 312, 67, 2679, 8952, 18, 542, 1702, 12, 24, 16, 871, 18, 5332, 907, 350, 1435, 692, 756, 350, 294, 300, 21, 1769, 7734, 368, 4753, 1381, 16, 2359, 4793, 3639, 312, 67, 2679, 8952, 18, 542, 780, 12, 25, 16, 261, 2575, 18, 588, 1358, 1435, 480, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2243, 16779, 12, 1864, 871, 1864, 16, 2587, 871, 13, 1216, 6483, 288, 3639, 509, 13721, 734, 273, 300, 21, 31, 3639, 9856, 613, 273, 4884, 4457, 18, 588, 1442, 12, 16779, 2289, 18, 1106, 1769, 7734, 13721, 734, 273, 6927, 548, 5621, 3639, 309, 261, 1330, 18, 291, 2829, 1526, 10756, 613, 18, 4148, 2932, 16779, 2289, 30, 18822, 30, 13773, 13721, 734, 1769, 3639, 368, 1494, 404, 16, 13721, 548, 3639, 312, 67, 2679, 8952, 18, 542, 1702, 12, 21, 16, 13721, 734, 1769, 7734, 368, 1494, 576, 16, 871, 57, 1385, 3639, 312, 67, 2679, 8952, 18, 542, 780, 12, 22, 16, 5245, 18, 2139, 12, 2575, 18, 588, 57, 73, 77, 9334, 2 ]
IdFunction ctor = newIdFunction(constructorId);
IdFunction ctor = newIdFunction(getClassName(), constructorId);
public void addAsPrototype(int maxId, Context cx, Scriptable scope, boolean sealed) { activateIdMap(maxId); setSealFunctionsFlag(sealed); setFunctionParametrs(cx); int constructorId = mapNameToId("constructor"); if (constructorId == 0) { // It is a bug to call this function without id for constructor throw new RuntimeException("No id for constructor property"); } IdFunction ctor = newIdFunction(constructorId); ctor.initAsConstructor(scope, this); fillConstructorProperties(cx, ctor, sealed); if (sealed) { ctor.sealObject(); ctor.addPropertyAttribute(READONLY); } setParentScope(ctor); setPrototype(getObjectPrototype(scope)); cacheIdValue(constructorId, ctor); if (sealed) { sealObject(); } defineProperty(scope, getClassName(), ctor, ScriptableObject.DONTENUM); }
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/4476a490b129c8f94cb9fac1eed7ec19fcd9654d/IdScriptable.java/clean/js/rhino/src/org/mozilla/javascript/IdScriptable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 1463, 15846, 12, 474, 943, 548, 16, 1772, 9494, 16, 22780, 2146, 16, 27573, 1250, 695, 18931, 13, 377, 288, 3639, 10235, 548, 863, 12, 1896, 548, 1769, 3639, 444, 1761, 287, 7503, 4678, 12, 307, 18931, 1769, 3639, 444, 2083, 786, 278, 5453, 12, 71, 92, 1769, 7734, 509, 3885, 548, 273, 852, 28455, 548, 2932, 12316, 8863, 3639, 309, 261, 12316, 548, 422, 374, 13, 288, 5411, 368, 2597, 353, 279, 7934, 358, 745, 333, 445, 2887, 612, 364, 3885, 2398, 604, 394, 3235, 2932, 2279, 612, 364, 3885, 1272, 8863, 3639, 289, 3639, 3124, 2083, 15120, 273, 27598, 2083, 12, 588, 3834, 9334, 3885, 548, 1769, 3639, 15120, 18, 2738, 1463, 6293, 12, 4887, 16, 333, 1769, 3639, 3636, 6293, 2297, 12, 71, 92, 16, 15120, 16, 695, 18931, 1769, 3639, 309, 261, 307, 18931, 13, 288, 5411, 15120, 18, 307, 287, 921, 5621, 5411, 15120, 18, 1289, 1396, 1499, 12, 6949, 10857, 1769, 3639, 289, 3639, 12548, 3876, 12, 30206, 1769, 3639, 444, 15846, 12, 588, 921, 15846, 12, 4887, 10019, 3639, 21367, 620, 12, 12316, 548, 16, 15120, 1769, 3639, 309, 261, 307, 18931, 13, 288, 5411, 28144, 921, 5621, 3639, 289, 3639, 14007, 12, 4887, 16, 11819, 9334, 15120, 16, 22780, 921, 18, 40, 10079, 16509, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 1463, 15846, 12, 474, 943, 548, 16, 1772, 9494, 16, 22780, 2146, 16, 27573, 1250, 695, 18931, 13, 377, 288, 3639, 10235, 548, 863, 12, 1896, 548, 1769, 3639, 444, 1761, 287, 7503, 4678, 12, 307, 18931, 1769, 3639, 444, 2083, 786, 278, 5453, 12, 71, 92, 1769, 7734, 509, 3885, 548, 273, 852, 28455, 548, 2932, 12316, 8863, 3639, 309, 261, 12316, 548, 422, 374, 13, 288, 5411, 368, 2597, 353, 279, 7934, 358, 745, 333, 445, 2887, 612, 364, 3885, 2398, 604, 394, 3235, 2932, 2279, 612, 364, 3885, 1272, 8863, 3639, 289, 3639, 3124, 2083, 15120, 273, 27598, 2083, 12, 588, 3834, 9334, 3885, 548, 1769, 3639, 15120, 18, 2738, 1463, 6293, 2 ]
LOG.debug("testGroupDeleteWhenMemberAndHasMembers.18");
public void testGroupDeleteWhenMemberAndHasMembers() { LOG.info("testGroupDeleteWhenMemberAndHasMembers"); LOG.debug("testGroupDeleteWhenMemberAndHasMembers.0"); GrouperSession s = SessionHelper.getRootSession(); LOG.debug("testGroupDeleteWhenMemberAndHasMembers.1"); Stem root = StemHelper.findRootStem(s); LOG.debug("testGroupDeleteWhenMemberAndHasMembers.2"); Stem edu = StemHelper.addChildStem(root, "edu", "educational"); LOG.debug("testGroupDeleteWhenMemberAndHasMembers.3"); Group i2 = StemHelper.addChildGroup(edu, "i2", "internet2"); LOG.debug("testGroupDeleteWhenMemberAndHasMembers.4"); Group uofc = StemHelper.addChildGroup(edu, "uofc", "uchicago"); LOG.debug("testGroupDeleteWhenMemberAndHasMembers.5"); Member m = Helper.getMemberBySubject(s, SubjectHelper.SUBJ0); LOG.debug("testGroupDeleteWhenMemberAndHasMembers.6"); GroupHelper.addMember(uofc, SubjectHelper.SUBJ0, m); LOG.debug("testGroupDeleteWhenMemberAndHasMembers.7"); MembershipHelper.testNumMship(uofc, Group.getDefaultList(), 1, 1, 0); LOG.debug("testGroupDeleteWhenMemberAndHasMembers.8"); MembershipHelper.testNumMship(i2, Group.getDefaultList(), 0, 0, 0); LOG.debug("testGroupDeleteWhenMemberAndHasMembers.9"); MembershipHelper.testImmMship(s, uofc, SubjectHelper.SUBJ0, Group.getDefaultList()); LOG.debug("testGroupDeleteWhenMemberAndHasMembers.10"); GroupHelper.addMember(i2, uofc); LOG.debug("testGroupDeleteWhenMemberAndHasMembers.11"); MembershipHelper.testNumMship(uofc, Group.getDefaultList(), 1, 1, 0); LOG.debug("testGroupDeleteWhenMemberAndHasMembers.12"); MembershipHelper.testNumMship(i2, Group.getDefaultList(), 2, 1, 1); LOG.debug("testGroupDeleteWhenMemberAndHasMembers.13"); MembershipHelper.testImmMship(s, uofc, SubjectHelper.SUBJ0, Group.getDefaultList()); LOG.debug("testGroupDeleteWhenMemberAndHasMembers.14"); MembershipHelper.testImmMship(s, i2, uofc, Group.getDefaultList()); LOG.debug("testGroupDeleteWhenMemberAndHasMembers.15"); MembershipHelper.testEffMship( s, i2, SubjectHelper.SUBJ0, Group.getDefaultList(), uofc, 1 ); LOG.debug("testGroupDeleteWhenMemberAndHasMembers.16"); try { uofc.delete(); LOG.debug("testGroupDeleteWhenMemberAndHasMembers.17"); Assert.assertTrue("group deleted", true); LOG.debug("testGroupDeleteWhenMemberAndHasMembers.18"); MembershipHelper.testNumMship(i2, Group.getDefaultList(), 0, 0, 0); LOG.debug("testGroupDeleteWhenMemberAndHasMembers.19"); } catch (Exception e) { LOG.debug("testGroupDeleteWhenMemberAndHasMembers.20"); Assert.fail(e.getMessage()); } } // public void testGroupDeleteWhenMemberAndHasMembers()
5235 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5235/c0eaa56df7ae25c0db85519017f250650f770a56/TestGroupDelete.java/buggy/grouper/java/tests/test/edu/internet2/middleware/grouper/TestGroupDelete.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 1114, 2613, 9434, 4419, 1876, 5582, 6918, 1435, 288, 565, 2018, 18, 1376, 2932, 3813, 1114, 2613, 9434, 4419, 1876, 5582, 6918, 8863, 565, 2018, 18, 4148, 2932, 3813, 1114, 2613, 9434, 4419, 1876, 5582, 6918, 18, 20, 8863, 565, 3756, 264, 2157, 225, 272, 377, 273, 3877, 2276, 18, 588, 2375, 2157, 5621, 565, 2018, 18, 4148, 2932, 3813, 1114, 2613, 9434, 4419, 1876, 5582, 6918, 18, 21, 8863, 565, 348, 874, 5411, 1365, 225, 273, 348, 874, 2276, 18, 4720, 2375, 28771, 12, 87, 1769, 565, 2018, 18, 4148, 2932, 3813, 1114, 2613, 9434, 4419, 1876, 5582, 6918, 18, 22, 8863, 565, 348, 874, 5411, 1675, 89, 282, 273, 348, 874, 2276, 18, 1289, 1763, 28771, 12, 3085, 16, 315, 28049, 3113, 315, 329, 5286, 8371, 8863, 565, 2018, 18, 4148, 2932, 3813, 1114, 2613, 9434, 4419, 1876, 5582, 6918, 18, 23, 8863, 565, 3756, 6647, 277, 22, 565, 273, 348, 874, 2276, 18, 1289, 1763, 1114, 12, 28049, 16, 315, 77, 22, 3113, 315, 267, 14726, 22, 8863, 565, 2018, 18, 4148, 2932, 3813, 1114, 2613, 9434, 4419, 1876, 5582, 6918, 18, 24, 8863, 565, 3756, 6647, 582, 792, 71, 225, 273, 348, 874, 2276, 18, 1289, 1763, 1114, 12, 28049, 16, 315, 89, 792, 71, 3113, 315, 2648, 335, 28768, 8863, 565, 2018, 18, 4148, 2932, 3813, 1114, 2613, 9434, 4419, 1876, 5582, 6918, 18, 25, 8863, 565, 8596, 1850, 312, 377, 273, 9705, 18, 588, 4419, 858, 6638, 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, 1114, 2613, 9434, 4419, 1876, 5582, 6918, 1435, 288, 565, 2018, 18, 1376, 2932, 3813, 1114, 2613, 9434, 4419, 1876, 5582, 6918, 8863, 565, 2018, 18, 4148, 2932, 3813, 1114, 2613, 9434, 4419, 1876, 5582, 6918, 18, 20, 8863, 565, 3756, 264, 2157, 225, 272, 377, 273, 3877, 2276, 18, 588, 2375, 2157, 5621, 565, 2018, 18, 4148, 2932, 3813, 1114, 2613, 9434, 4419, 1876, 5582, 6918, 18, 21, 8863, 565, 348, 874, 5411, 1365, 225, 273, 348, 874, 2276, 18, 4720, 2375, 28771, 12, 87, 1769, 565, 2018, 18, 4148, 2932, 3813, 1114, 2613, 9434, 4419, 1876, 5582, 6918, 18, 22, 8863, 565, 348, 874, 5411, 1675, 89, 282, 273, 348, 874, 2276, 18, 2 ]
if(log.isErrorEnabled()) log.error(method_name + "() should not be invoked on an instance of " + getClass().getName());
if(log.isErrorEnabled()) log.error(method_name + "() should not be invoked on an instance of " + getClass().getName());
protected void wrongMethod(String method_name) { if(log.isErrorEnabled()) log.error(method_name + "() should not be invoked on an instance of " + getClass().getName()); }
49475 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49475/6fb09c82ef4207cebcaea41da8650b37c61bc21d/GmsImpl.java/clean/src/org/jgroups/protocols/pbcast/GmsImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 7194, 1305, 12, 780, 707, 67, 529, 13, 288, 202, 430, 12, 1330, 18, 291, 668, 1526, 10756, 613, 18, 1636, 12, 2039, 67, 529, 397, 1082, 565, 25605, 1410, 486, 506, 8187, 603, 392, 791, 434, 315, 397, 2900, 7675, 17994, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 7194, 1305, 12, 780, 707, 67, 529, 13, 288, 202, 430, 12, 1330, 18, 291, 668, 1526, 10756, 613, 18, 1636, 12, 2039, 67, 529, 397, 1082, 565, 25605, 1410, 486, 506, 8187, 603, 392, 791, 434, 315, 397, 2900, 7675, 17994, 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, -100, -100, -100 ]
public static String qualifiedClassName(JavaGenerationParameters params, Type type, Alternative alt) { StringBuffer buf = new StringBuffer(); buf.append(params.getPackageName()); buf.append('.'); buf.append(params.getApiName().toLowerCase()); buf.append('.'); buf.append(packageName(type)); buf.append('.'); buf.append(className(alt)); return buf.toString(); }
public static String qualifiedClassName( JavaGenerationParameters params, Type type, Alternative alt) { StringBuffer buf = new StringBuffer(); String pkg = params.getPackageName(); if (pkg != null) { buf.append(pkg); buf.append('.'); } buf.append(params.getApiName().toLowerCase()); buf.append('.'); buf.append(packageName(type)); buf.append('.'); buf.append(className(alt)); return buf.toString(); }
public static String qualifiedClassName(JavaGenerationParameters params, Type type, Alternative alt) { StringBuffer buf = new StringBuffer(); buf.append(params.getPackageName()); buf.append('.'); buf.append(params.getApiName().toLowerCase()); buf.append('.'); buf.append(packageName(type)); buf.append('.'); buf.append(className(alt)); return buf.toString(); }
3664 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3664/76875cdfe2af0d6de4ab58a245cce8bd703a86ab/AlternativeGenerator.java/buggy/apigen/apigen/gen/java/AlternativeGenerator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 514, 9348, 3834, 12, 5852, 13842, 2402, 859, 16, 1412, 618, 16, 21498, 1535, 3770, 13, 288, 202, 202, 780, 1892, 1681, 273, 394, 6674, 5621, 202, 202, 4385, 18, 6923, 12, 2010, 18, 588, 18308, 10663, 202, 202, 4385, 18, 6923, 2668, 1093, 1769, 202, 202, 4385, 18, 6923, 12, 2010, 18, 588, 3064, 461, 7675, 869, 5630, 10663, 202, 202, 4385, 18, 6923, 2668, 1093, 1769, 202, 202, 4385, 18, 6923, 12, 5610, 461, 12, 723, 10019, 202, 202, 4385, 18, 6923, 2668, 1093, 1769, 202, 202, 4385, 18, 6923, 12, 12434, 12, 2390, 10019, 202, 202, 2463, 1681, 18, 10492, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 514, 9348, 3834, 12, 5852, 13842, 2402, 859, 16, 1412, 618, 16, 21498, 1535, 3770, 13, 288, 202, 202, 780, 1892, 1681, 273, 394, 6674, 5621, 202, 202, 4385, 18, 6923, 12, 2010, 18, 588, 18308, 10663, 202, 202, 4385, 18, 6923, 2668, 1093, 1769, 202, 202, 4385, 18, 6923, 12, 2010, 18, 588, 3064, 461, 7675, 869, 5630, 10663, 202, 202, 4385, 18, 6923, 2668, 1093, 1769, 202, 202, 4385, 18, 6923, 12, 5610, 461, 12, 723, 10019, 202, 202, 4385, 18, 6923, 2668, 1093, 1769, 202, 202, 4385, 18, 6923, 12, 12434, 12, 2390, 10019, 202, 202, 2463, 1681, 18, 10492, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
try { getDefaultFolder(); return super.getFolder(); } catch (MessagingException e) { e.printStackTrace(); return null;
try { getDefaultFolder(); return super.getFolder(); } catch (MessagingException e) { e.printStackTrace(); return null; }
public Folder getFolder() { try { getDefaultFolder(); return super.getFolder(); } catch (MessagingException e) { e.printStackTrace(); return null; } }
7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/b13c667b376deb4a8f2c235ffd847b57616d23c4/ViewedStoreBase.java/buggy/grendel/sources/grendel/view/ViewedStoreBase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 12623, 29001, 1435, 288, 565, 775, 288, 1377, 4829, 3899, 5621, 1377, 327, 2240, 18, 588, 3899, 5621, 565, 289, 1044, 261, 23389, 503, 425, 13, 288, 1377, 425, 18, 1188, 6332, 5621, 1377, 327, 446, 31, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 12623, 29001, 1435, 288, 565, 775, 288, 1377, 4829, 3899, 5621, 1377, 327, 2240, 18, 588, 3899, 5621, 565, 289, 1044, 261, 23389, 503, 425, 13, 288, 1377, 425, 18, 1188, 6332, 5621, 1377, 327, 446, 31, 565, 289, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Logger.minor(this, "Attempting to retry... (max "+maxRetries+", current "+retryCount+")");
Logger.minor(this, "Attempting to retry... (max "+maxRetries+", current "+retryCount+ ')');
protected boolean retry() { retryCount++; if(Logger.shouldLog(Logger.MINOR, this)) Logger.minor(this, "Attempting to retry... (max "+maxRetries+", current "+retryCount+")"); // We want 0, 1, ... maxRetries i.e. maxRetries+1 attempts (maxRetries=0 => try once, no retries, maxRetries=1 = original try + 1 retry) if((retryCount <= maxRetries) || (maxRetries == -1)) { schedule(); return true; } return false; }
49933 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49933/62fd59041864b4ed1f43adc676de6bfb5ea977f3/BaseSingleFileFetcher.java/clean/src/freenet/client/async/BaseSingleFileFetcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 1250, 3300, 1435, 288, 202, 202, 9620, 1380, 9904, 31, 202, 202, 430, 12, 3328, 18, 13139, 1343, 12, 3328, 18, 6236, 916, 16, 333, 3719, 1082, 202, 3328, 18, 17364, 12, 2211, 16, 315, 23089, 358, 3300, 2777, 261, 1896, 13773, 1896, 13656, 15, 3113, 783, 13773, 9620, 1380, 9078, 2225, 1769, 202, 202, 759, 1660, 2545, 374, 16, 404, 16, 1372, 30222, 277, 18, 73, 18, 30222, 15, 21, 7531, 261, 1896, 13656, 33, 20, 516, 775, 3647, 16, 1158, 9453, 16, 30222, 33, 21, 273, 2282, 775, 397, 404, 3300, 13, 202, 202, 430, 12443, 9620, 1380, 1648, 30222, 13, 747, 261, 1896, 13656, 422, 300, 21, 3719, 288, 1082, 202, 10676, 5621, 1082, 202, 2463, 638, 31, 202, 202, 97, 202, 202, 2463, 629, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 1250, 3300, 1435, 288, 202, 202, 9620, 1380, 9904, 31, 202, 202, 430, 12, 3328, 18, 13139, 1343, 12, 3328, 18, 6236, 916, 16, 333, 3719, 1082, 202, 3328, 18, 17364, 12, 2211, 16, 315, 23089, 358, 3300, 2777, 261, 1896, 13773, 1896, 13656, 15, 3113, 783, 13773, 9620, 1380, 9078, 2225, 1769, 202, 202, 759, 1660, 2545, 374, 16, 404, 16, 1372, 30222, 277, 18, 73, 18, 30222, 15, 21, 7531, 261, 1896, 13656, 33, 20, 516, 775, 3647, 16, 1158, 9453, 16, 30222, 33, 21, 273, 2282, 775, 397, 404, 3300, 13, 202, 202, 430, 12443, 9620, 1380, 1648, 30222, 13, 747, 261, 1896, 13656, 422, 300, 21, 3719, 288, 1082, 202, 10676, 5621, 2 ]
if (tag.equals("input") || tag.equals("select") || tag.equals("textarea")) {
if (tag.equalsIgnoreCase("input") || tag.equalsIgnoreCase("select") || tag.equalsIgnoreCase("textarea")) {
private void walk(Node node) { if (node instanceof CharacterData) { currentText.append(((CharacterData) node).getData()); } else if (node instanceof Element) { String tag = node.getNodeName(); if (tag.equals("input") || tag.equals("select") || tag.equals("textarea")) { addFormElement((Element) node); } else { NodeList children = node.getChildNodes(); for (int i = 0; i < children.getLength(); i++) { walk(children.item(i)); } } } }
5239 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5239/e6ea4cd8654c7890f4023d37fea5d272f899cbc2/FormWalker.java/buggy/jWebUnit/src/net/sourceforge/jwebunit/FormWalker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 5442, 12, 907, 756, 13, 288, 3639, 309, 261, 2159, 1276, 6577, 751, 13, 288, 5411, 783, 1528, 18, 6923, 12443, 12, 7069, 751, 13, 756, 2934, 588, 751, 10663, 3639, 289, 469, 309, 261, 2159, 1276, 3010, 13, 288, 5411, 514, 1047, 273, 756, 18, 588, 18948, 5621, 5411, 309, 261, 2692, 18, 14963, 2932, 2630, 7923, 747, 1047, 18, 14963, 2932, 4025, 7923, 747, 7734, 1047, 18, 14963, 2932, 16701, 6, 3719, 5411, 288, 7734, 527, 1204, 1046, 12443, 1046, 13, 756, 1769, 5411, 289, 469, 288, 7734, 16781, 2325, 273, 756, 18, 588, 22460, 5621, 7734, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2325, 18, 588, 1782, 5621, 277, 27245, 288, 10792, 5442, 12, 5906, 18, 1726, 12, 77, 10019, 7734, 289, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 5442, 12, 907, 756, 13, 288, 3639, 309, 261, 2159, 1276, 6577, 751, 13, 288, 5411, 783, 1528, 18, 6923, 12443, 12, 7069, 751, 13, 756, 2934, 588, 751, 10663, 3639, 289, 469, 309, 261, 2159, 1276, 3010, 13, 288, 5411, 514, 1047, 273, 756, 18, 588, 18948, 5621, 5411, 309, 261, 2692, 18, 14963, 2932, 2630, 7923, 747, 1047, 18, 14963, 2932, 4025, 7923, 747, 7734, 1047, 18, 14963, 2932, 16701, 6, 3719, 5411, 288, 7734, 527, 1204, 1046, 12443, 1046, 13, 756, 1769, 5411, 289, 469, 288, 7734, 16781, 2325, 273, 756, 18, 588, 22460, 5621, 7734, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2325, 18, 588, 1782, 5621, 277, 27245, 288, 2 ]
final String NEWLINE = System.getProperty("line.separator"); final char DELIMITER = '\t';
final String NEWLINE = System.getProperty("line.separator"); final char DELIMITER = '\t';
String createMarkerReport(IMarker[] rawMarkers) { ConcreteMarker[] markers; try { markers = MarkerList.createMarkers(rawMarkers); } catch (CoreException e) { ErrorDialog.openError(part.getSite().getShell(), MarkerMessages.Error, null, e.getStatus()); return ""; //$NON-NLS-1$ } StringBuffer report = new StringBuffer(); final String NEWLINE = System.getProperty("line.separator"); //$NON-NLS-1$ final char DELIMITER = '\t'; if (properties == null) { return null; } //create header for (int i = 0; i < properties.length; i++) { report.append(properties[i].getDescription()); if (i == properties.length - 1) report.append(NEWLINE); else report.append(DELIMITER); } for (int i = 0; i < markers.length; i++) { ConcreteMarker marker = markers[i]; for (int j = 0; j < properties.length; j++) { report.append(properties[j].getValue(marker)); if (j == properties.length - 1) report.append(NEWLINE); else report.append(DELIMITER); } } return report.toString(); }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/cd30df30dfb88f9bda2fa203f31e3dd26ff697b7/ActionCopyMarker.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/ActionCopyMarker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 514, 752, 7078, 4820, 12, 3445, 1313, 264, 8526, 1831, 21644, 13, 288, 3639, 735, 6883, 7078, 8526, 11754, 31, 3639, 775, 288, 5411, 11754, 273, 14742, 682, 18, 2640, 21644, 12, 1899, 21644, 1769, 3639, 289, 1044, 261, 25341, 425, 13, 288, 5411, 1068, 6353, 18, 3190, 668, 12, 2680, 18, 588, 4956, 7675, 588, 13220, 9334, 2868, 202, 202, 7078, 5058, 18, 668, 16, 10792, 446, 16, 425, 18, 588, 1482, 10663, 5411, 327, 1408, 31, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 289, 3639, 6674, 2605, 273, 394, 6674, 5621, 3639, 727, 514, 26551, 273, 2332, 18, 588, 1396, 2932, 1369, 18, 11287, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 727, 1149, 2030, 15832, 273, 2337, 88, 13506, 3639, 309, 261, 4738, 422, 446, 13, 288, 5411, 327, 446, 31, 3639, 289, 3639, 368, 2640, 1446, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1790, 18, 2469, 31, 277, 27245, 288, 5411, 2605, 18, 6923, 12, 4738, 63, 77, 8009, 588, 3291, 10663, 5411, 309, 261, 77, 422, 1790, 18, 2469, 300, 404, 13, 7734, 2605, 18, 6923, 12, 12917, 5997, 1769, 5411, 469, 7734, 2605, 18, 6923, 12, 19722, 1769, 3639, 289, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 11754, 18, 2469, 31, 277, 27245, 288, 5411, 735, 6883, 7078, 5373, 273, 11754, 63, 77, 15533, 5411, 364, 261, 474, 525, 273, 374, 31, 525, 411, 1790, 18, 2469, 31, 525, 27245, 288, 7734, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 514, 752, 7078, 4820, 12, 3445, 1313, 264, 8526, 1831, 21644, 13, 288, 3639, 735, 6883, 7078, 8526, 11754, 31, 3639, 775, 288, 5411, 11754, 273, 14742, 682, 18, 2640, 21644, 12, 1899, 21644, 1769, 3639, 289, 1044, 261, 25341, 425, 13, 288, 5411, 1068, 6353, 18, 3190, 668, 12, 2680, 18, 588, 4956, 7675, 588, 13220, 9334, 2868, 202, 202, 7078, 5058, 18, 668, 16, 10792, 446, 16, 425, 18, 588, 1482, 10663, 5411, 327, 1408, 31, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 289, 3639, 6674, 2605, 273, 394, 6674, 5621, 3639, 727, 514, 26551, 273, 2332, 18, 588, 1396, 2932, 1369, 18, 11287, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 727, 1149, 2 ]
public EvaluatorException runtimeError(String message, String sourceName, int line, String lineSource,
public EvaluatorException runtimeError(String message, String sourceURI, int line, String lineText,
public EvaluatorException runtimeError(String message, String sourceName, int line, String lineSource, int lineOffset) { throw new EvaluatorException(message, sourceName, line, lineSource, lineOffset); }
19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/4414205de51bdf42acaabd12132990e8acd9fea0/DefaultErrorReporter.java/clean/src/org/mozilla/javascript/DefaultErrorReporter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 31956, 503, 3099, 668, 12, 780, 883, 16, 514, 28337, 16, 4766, 6647, 509, 980, 16, 514, 980, 1830, 16, 4766, 6647, 509, 980, 2335, 13, 565, 288, 3639, 604, 394, 31956, 503, 12, 2150, 16, 28337, 16, 980, 16, 19694, 980, 1830, 16, 980, 2335, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 31956, 503, 3099, 668, 12, 780, 883, 16, 514, 28337, 16, 4766, 6647, 509, 980, 16, 514, 980, 1830, 16, 4766, 6647, 509, 980, 2335, 13, 565, 288, 3639, 604, 394, 31956, 503, 12, 2150, 16, 28337, 16, 980, 16, 19694, 980, 1830, 16, 980, 2335, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
ToolBar toolBar = perspectiveBar.getControl(); ToolItem item = toolBar.getItem(toolBar.getDisplay().map(null, toolBar, location)); if (toolBar.getItem(0) == item) return; ToolItem[] items = toolBar.getItems(); ToolItem oldItem = null; int index = -1; for (int i = 0; i< items.length; i++) { if (item == items[i])
ToolBar toolBar = perspectiveBar.getControl(); ToolItem item = toolBar.getItem(toolBar.getDisplay().map( null, toolBar, location)); if (toolBar.getItem(0) == item) return; ToolItem[] items = toolBar.getItems(); ToolItem oldItem = null; int index = -1; for (int i = 0; i < items.length; i++) { if (item == items[i])
public void drop() { ToolBar toolBar = perspectiveBar.getControl(); ToolItem item = toolBar.getItem(toolBar.getDisplay().map(null, toolBar, location)); if (toolBar.getItem(0) == item) return; ToolItem[] items = toolBar.getItems(); ToolItem oldItem = null; int index = -1; for (int i = 0; i< items.length; i++) { if (item == items[i]) index = i; if (items[i].getData() == perspective) oldItem = items[i]; } if (index != -1 && oldItem != null && (oldItem != item)) { perspectiveBar.relocate((PerspectiveBarContributionItem)oldItem.getData(), index); } }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/04aabdd41be60938c86dabee86663a60046dd26c/PerspectiveSwitcher.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PerspectiveSwitcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1171, 1071, 918, 3640, 1435, 288, 1171, 202, 6364, 5190, 5226, 5190, 273, 26651, 5190, 18, 588, 3367, 5621, 1171, 202, 6364, 1180, 761, 273, 5226, 5190, 18, 588, 1180, 12, 6738, 5190, 18, 588, 4236, 7675, 1458, 12, 2011, 16, 5226, 5190, 16, 2117, 10019, 1171, 202, 430, 261, 6738, 5190, 18, 588, 1180, 12, 20, 13, 422, 761, 13, 1171, 202, 202, 2463, 31, 1171, 202, 6364, 1180, 8526, 1516, 273, 5226, 5190, 18, 588, 3126, 5621, 1171, 202, 6364, 1180, 1592, 1180, 273, 446, 31, 1171, 202, 474, 770, 273, 300, 21, 31, 1171, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 32, 1516, 18, 2469, 31, 277, 27245, 288, 1171, 202, 202, 430, 261, 1726, 422, 1516, 63, 77, 5717, 6862, 1082, 202, 1615, 273, 277, 31, 1171, 202, 202, 430, 261, 3319, 63, 77, 8009, 588, 751, 1435, 422, 26651, 13, 1171, 1082, 202, 1673, 1180, 273, 1516, 63, 77, 15533, 1171, 202, 97, 1171, 202, 430, 261, 1615, 480, 300, 21, 597, 1592, 1180, 480, 446, 597, 261, 1673, 1180, 480, 761, 3719, 288, 1171, 202, 202, 10422, 16772, 5190, 18, 266, 25450, 12443, 14781, 16772, 5190, 442, 4027, 1180, 13, 1673, 1180, 18, 588, 751, 9334, 770, 1769, 1171, 202, 97, 7734, 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, 1171, 1071, 918, 3640, 1435, 288, 1171, 202, 6364, 5190, 5226, 5190, 273, 26651, 5190, 18, 588, 3367, 5621, 1171, 202, 6364, 1180, 761, 273, 5226, 5190, 18, 588, 1180, 12, 6738, 5190, 18, 588, 4236, 7675, 1458, 12, 2011, 16, 5226, 5190, 16, 2117, 10019, 1171, 202, 430, 261, 6738, 5190, 18, 588, 1180, 12, 20, 13, 422, 761, 13, 1171, 202, 202, 2463, 31, 1171, 202, 6364, 1180, 8526, 1516, 273, 5226, 5190, 18, 588, 3126, 5621, 1171, 202, 6364, 1180, 1592, 1180, 273, 446, 31, 1171, 202, 474, 770, 273, 300, 21, 31, 1171, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 32, 1516, 18, 2469, 31, 277, 27245, 288, 1171, 202, 202, 430, 261, 2 ]
else { File[] sessionsFolder = tempDtEDir.listFiles( ); for ( int i = 0; i < sessionsFolder.length; i++ ) { File[] oneSessionFolder = sessionsFolder[i].listFiles( ); for ( int j = 0; j < oneSessionFolder.length; j++ ) { if ( oneSessionFolder[j].isDirectory( ) ) { File[] oneSessionTempFiles = oneSessionFolder[j].listFiles( ); for ( int k = 0; k < oneSessionTempFiles.length; k++ ) { oneSessionTempFiles[k].delete( ); } oneSessionFolder[j].delete( ); } else { oneSessionFolder[j].delete( ); } } sessionsFolder[i].delete( ); } }
public static String doCreateTempRootDir( Logger logger ) { String rootDirStr = null; // system default temp dir is used String tempDirStr = System.getProperty( "java.io.tmpdir" ); File tempDtEDir = new File( tempDirStr, "BirtDataTemp" ); if ( tempDtEDir.exists( ) == false ) { tempDtEDir.mkdir( ); } else { File[] sessionsFolder = tempDtEDir.listFiles( ); for ( int i = 0; i < sessionsFolder.length; i++ ) { File[] oneSessionFolder = sessionsFolder[i].listFiles( ); for ( int j = 0; j < oneSessionFolder.length; j++ ) { // temp files if ( oneSessionFolder[j].isDirectory( ) ) { File[] oneSessionTempFiles = oneSessionFolder[j].listFiles( ); for ( int k = 0; k < oneSessionTempFiles.length; k++ ) { oneSessionTempFiles[k].delete( ); } oneSessionFolder[j].delete( ); } // goal file else { oneSessionFolder[j].delete( ); } } sessionsFolder[i].delete( ); } } try { rootDirStr = tempDtEDir.getCanonicalPath( ); } catch ( IOException e ) { // normally this exception will never be thrown } logger.info( "Temp directory used to cache data is " + rootDirStr ); return rootDirStr; }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/b19bc8e608a085713cd4dab5cd7cd2e0b2753f1e/CacheUtil.java/buggy/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/cache/CacheUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 514, 741, 1684, 7185, 27322, 12, 4242, 1194, 262, 202, 95, 202, 202, 780, 15393, 1585, 273, 446, 31, 202, 202, 759, 2619, 805, 1906, 1577, 353, 1399, 202, 202, 780, 20719, 1585, 273, 2332, 18, 588, 1396, 12, 315, 6290, 18, 1594, 18, 5645, 1214, 6, 11272, 202, 202, 812, 1906, 19739, 41, 1621, 273, 394, 1387, 12, 20719, 1585, 16, 315, 38, 2714, 751, 7185, 6, 11272, 202, 202, 430, 261, 1906, 19739, 41, 1621, 18, 1808, 12, 262, 422, 629, 262, 202, 202, 95, 1082, 202, 5814, 19739, 41, 1621, 18, 26686, 12, 11272, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 812, 8526, 8856, 3899, 273, 1906, 19739, 41, 1621, 18, 1098, 2697, 12, 11272, 1082, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 411, 8856, 3899, 18, 2469, 31, 277, 9904, 262, 1082, 202, 95, 9506, 202, 812, 8526, 1245, 2157, 3899, 273, 8856, 3899, 63, 77, 8009, 1098, 2697, 12, 11272, 9506, 202, 1884, 261, 509, 525, 273, 374, 31, 525, 411, 1245, 2157, 3899, 18, 2469, 31, 525, 9904, 262, 9506, 202, 95, 6862, 202, 759, 1906, 1390, 6862, 202, 430, 261, 1245, 2157, 3899, 63, 78, 8009, 291, 2853, 12, 262, 262, 6862, 202, 95, 25083, 202, 812, 8526, 1245, 2157, 7185, 2697, 273, 1245, 2157, 3899, 63, 78, 8009, 1098, 2697, 12, 11272, 25083, 202, 1884, 261, 509, 417, 273, 374, 31, 417, 411, 1245, 2157, 7185, 2697, 18, 2469, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 514, 741, 1684, 7185, 27322, 12, 4242, 1194, 262, 202, 95, 202, 202, 780, 15393, 1585, 273, 446, 31, 202, 202, 759, 2619, 805, 1906, 1577, 353, 1399, 202, 202, 780, 20719, 1585, 273, 2332, 18, 588, 1396, 12, 315, 6290, 18, 1594, 18, 5645, 1214, 6, 11272, 202, 202, 812, 1906, 19739, 41, 1621, 273, 394, 1387, 12, 20719, 1585, 16, 315, 38, 2714, 751, 7185, 6, 11272, 202, 202, 430, 261, 1906, 19739, 41, 1621, 18, 1808, 12, 262, 422, 629, 262, 202, 202, 95, 1082, 202, 5814, 19739, 41, 1621, 18, 26686, 12, 11272, 202, 202, 97, 202, 202, 12107, 202, 202, 95, 1082, 202, 812, 8526, 8856, 3899, 273, 1906, 19739, 2 ]
getStateChange() { return(stateChange); }
public int getStateChange() { return stateChange; }
getStateChange(){ return(stateChange);}
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/e498e3a548f2670a351161d07f8c964f05a6a979/ItemEvent.java/buggy/java/awt/event/ItemEvent.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 8997, 3043, 1435, 95, 225, 327, 12, 2019, 3043, 1769, 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, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 8997, 3043, 1435, 95, 225, 327, 12, 2019, 3043, 1769, 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, -100, -100, -100 ]
JPanel tmpPanel = new JPanel(new java.awt.FlowLayout(java.awt.FlowLayout.LEFT, 0,0));
JPanel tmpPanel = new JPanel(); SpringLayout layout = new SpringLayout(); tmpPanel.setLayout(layout);
public void configureEditor(String propertyName, String template, PropertyEditorManager newManager, boolean isEnabled) { property=propertyName; manager=newManager; editorTemplate = template; originalValue = manager.getProperty(property, ""); if (debug) { System.out.println("property is " + property + "; editorTemplate is " + editorTemplate); } label = createLabel(); valueDisplay = new JTextField(originalValue); inputButton = createInputButton(); valueDisplay.setPreferredSize(new java.awt.Dimension(150 - inputButton.getPreferredSize().width, valueDisplay.getMinimumSize().height)); this.add(label); labelComponent = label; JPanel tmpPanel = new JPanel(new java.awt.FlowLayout(java.awt.FlowLayout.LEFT, 0,0)); tmpPanel.add(valueDisplay); tmpPanel.add(inputButton); tmpPanel.setPreferredSize(new java.awt.Dimension(150, valueDisplay.getMinimumSize().height)); valueComponent = tmpPanel; //this.add(valueDisplay); //this.add(inputButton); this.add(tmpPanel); this.setEnabled(isEnabled); }
967 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/967/0501524bf0c2e8f0eeaae12102e0ebbe7bfbfb36/FolderSelectorPane.java/buggy/src/net/suberic/pooka/gui/propedit/FolderSelectorPane.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 5068, 6946, 12, 780, 5470, 16, 514, 1542, 16, 4276, 6946, 1318, 394, 1318, 16, 1250, 12047, 13, 288, 565, 1272, 33, 4468, 461, 31, 565, 3301, 33, 2704, 1318, 31, 565, 4858, 2283, 273, 1542, 31, 565, 2282, 620, 273, 3301, 18, 588, 1396, 12, 4468, 16, 1408, 1769, 565, 309, 261, 4148, 13, 288, 1377, 2332, 18, 659, 18, 8222, 2932, 4468, 353, 315, 397, 1272, 397, 13636, 4858, 2283, 353, 315, 397, 4858, 2283, 1769, 565, 289, 3639, 1433, 273, 752, 2224, 5621, 3639, 460, 4236, 273, 394, 804, 16157, 12, 8830, 620, 1769, 3639, 810, 3616, 273, 752, 1210, 3616, 5621, 3639, 460, 4236, 18, 542, 16028, 1225, 12, 2704, 2252, 18, 2219, 88, 18, 8611, 12, 23014, 300, 810, 3616, 18, 588, 16028, 1225, 7675, 2819, 16, 460, 4236, 18, 588, 13042, 1225, 7675, 4210, 10019, 3639, 333, 18, 1289, 12, 1925, 1769, 565, 1433, 1841, 273, 1433, 31, 565, 24048, 1853, 5537, 273, 394, 24048, 5621, 22751, 3744, 3511, 273, 394, 22751, 3744, 5621, 1853, 5537, 18, 542, 3744, 12, 6741, 1769, 377, 1853, 5537, 18, 1289, 12, 1132, 4236, 1769, 565, 1853, 5537, 18, 1289, 12, 2630, 3616, 1769, 565, 1853, 5537, 18, 542, 16028, 1225, 12, 2704, 2252, 18, 2219, 88, 18, 8611, 12, 23014, 16, 460, 4236, 18, 588, 13042, 1225, 7675, 4210, 10019, 565, 460, 1841, 273, 1853, 5537, 31, 565, 368, 2211, 18, 1289, 12, 1132, 4236, 1769, 565, 368, 2211, 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, 282, 1071, 918, 5068, 6946, 12, 780, 5470, 16, 514, 1542, 16, 4276, 6946, 1318, 394, 1318, 16, 1250, 12047, 13, 288, 565, 1272, 33, 4468, 461, 31, 565, 3301, 33, 2704, 1318, 31, 565, 4858, 2283, 273, 1542, 31, 565, 2282, 620, 273, 3301, 18, 588, 1396, 12, 4468, 16, 1408, 1769, 565, 309, 261, 4148, 13, 288, 1377, 2332, 18, 659, 18, 8222, 2932, 4468, 353, 315, 397, 1272, 397, 13636, 4858, 2283, 353, 315, 397, 4858, 2283, 1769, 565, 289, 3639, 1433, 273, 752, 2224, 5621, 3639, 460, 4236, 273, 394, 804, 16157, 12, 8830, 620, 1769, 3639, 810, 3616, 273, 752, 1210, 3616, 5621, 3639, 460, 4236, 18, 542, 16028, 1225, 12, 2704, 2252, 18, 2 ]
y -= (maxTabHeight - tabRunOverlay);
y -= maxTabHeight - tabRunOverlay;
protected void calculateTabRects(int tabPlacement, int tabCount) { Insets insets = tabPane.getInsets(); Insets tabAreaInsets = getTabAreaInsets(tabPlacement); Dimension size = tabPane.getSize(); // The coordinates of the upper left corner of the tab area. int x; int y; // The location at which the runs must be broken. int breakAt; // Calculate the bounds for the tab area. switch (tabPlacement) { case LEFT: maxTabWidth = calculateMaxTabWidth(tabPlacement); x = insets.left + tabAreaInsets.left; y = insets.top + tabAreaInsets.top; breakAt = size.height - (insets.bottom + tabAreaInsets.bottom); break; case RIGHT: maxTabWidth = calculateMaxTabWidth(tabPlacement); x = size.width - (insets.right + tabAreaInsets.right) - maxTabWidth; y = insets.top + tabAreaInsets.top; breakAt = size.height - (insets.bottom + tabAreaInsets.bottom); break; case BOTTOM: maxTabHeight = calculateMaxTabHeight(tabPlacement); x = insets.left + tabAreaInsets.left; y = size.height - (insets.bottom + tabAreaInsets.bottom) - maxTabHeight; breakAt = size.width - (insets.right + tabAreaInsets.right); break; case TOP: default: maxTabHeight = calculateMaxTabHeight(tabPlacement); x = insets.left + tabAreaInsets.left; y = insets.top + tabAreaInsets.top; breakAt = size.width - (insets.right + tabAreaInsets.right); break; } if (tabCount == 0) return; FontMetrics fm = getFontMetrics(); runCount = 0; selectedRun = -1; int selectedIndex = tabPane.getSelectedIndex(); Rectangle rect; // Go through all the tabs and build the tab runs. if (tabPlacement == SwingConstants.TOP || tabPlacement == SwingConstants.BOTTOM) { for (int i = 0; i < tabCount; i++) { rect = rects[i]; if (i > 0) { rect.x = rects[i - 1].x + rects[i - 1].width; } else { tabRuns[0] = 0; runCount = 1; maxTabWidth = 0; rect.x = x; } rect.width = calculateTabWidth(tabPlacement, i, fm); maxTabWidth = Math.max(maxTabWidth, rect.width); if (rect.x != 2 + insets.left && rect.x + rect.width > breakAt) { if (runCount > tabRuns.length - 1) expandTabRunsArray(); tabRuns[runCount] = i; runCount++; rect.x = x; } rect.y = y; rect.height = maxTabHeight; if (i == selectedIndex) selectedRun = runCount - 1; } } else { for (int i = 0; i < tabCount; i++) { rect = rects[i]; if (i > 0) { rect.y = rects[i - 1].y + rects[i - 1].height; } else { tabRuns[0] = 0; runCount = 1; maxTabHeight = 0; rect.y = y; } rect.height = calculateTabHeight(tabPlacement, i, fm.getHeight()); maxTabHeight = Math.max(maxTabHeight, rect.height); if (rect.y != 2 + insets.top && rect.y + rect.height > breakAt) { if (runCount > tabRuns.length - 1) expandTabRunsArray(); tabRuns[runCount] = i; runCount++; rect.y = y; } rect.x = x; rect.width = maxTabWidth; if (i == selectedIndex) selectedRun = runCount - 1; } } if (runCount > 1) { int start; if (tabPlacement == SwingConstants.TOP || tabPlacement == SwingConstants.BOTTOM) start = y; else start = x; normalizeTabRuns(tabPlacement, tabCount, start, breakAt); selectedRun = getRunForTab(tabCount, selectedIndex); if (shouldRotateTabRuns(tabPlacement)) { rotateTabRuns(tabPlacement, selectedRun); } } // Pad the runs. int tabRunOverlay = getTabRunOverlay(tabPlacement); for (int i = runCount - 1; i >= 0; --i) { int start = tabRuns[i]; int nextIndex; if (i == runCount - 1) nextIndex = 0; else nextIndex = i + 1; int next = tabRuns[nextIndex]; int end = (next != 0 ? next - 1 : tabCount - 1); if (tabPlacement == SwingConstants.TOP || tabPlacement == SwingConstants.BOTTOM) { for (int j = start; j <= end; ++j) { rect = rects[j]; rect.y = y; rect.x += getTabRunIndent(tabPlacement, i); } if (shouldPadTabRun(tabPlacement, i)) { padTabRun(tabPlacement, start, end, breakAt); } if (tabPlacement == BOTTOM) y -= (maxTabHeight - tabRunOverlay); else y += (maxTabHeight - tabRunOverlay); } else { for (int j = start; j <= end; ++j) { rect = rects[j]; rect.x = x; rect.y += getTabRunIndent(tabPlacement, i); } if (shouldPadTabRun(tabPlacement, i)) { padTabRun(tabPlacement, start, end, breakAt); } if (tabPlacement == RIGHT) x -= (maxTabWidth - tabRunOverlay); else x += (maxTabWidth - tabRunOverlay); } } padSelectedTab(tabPlacement, selectedIndex); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/4d9dd8abd1355057dc6966b7ca9f4459b3a3e945/BasicTabbedPaneUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTabbedPaneUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 4604, 5661, 6120, 87, 12, 474, 3246, 12420, 16, 509, 3246, 1380, 13, 565, 288, 1377, 22300, 23576, 273, 3246, 8485, 18, 588, 382, 4424, 5621, 1377, 22300, 3246, 5484, 382, 4424, 273, 3181, 378, 5484, 382, 4424, 12, 7032, 12420, 1769, 1377, 13037, 963, 273, 3246, 8485, 18, 588, 1225, 5621, 5411, 368, 1021, 5513, 434, 326, 3854, 2002, 11055, 434, 326, 3246, 5091, 18, 1377, 509, 619, 31, 1377, 509, 677, 31, 1377, 368, 1021, 2117, 622, 1492, 326, 7597, 1297, 506, 12933, 18, 1377, 509, 898, 861, 31, 1377, 368, 9029, 326, 4972, 364, 326, 3246, 5091, 18, 1377, 1620, 261, 7032, 12420, 13, 1377, 288, 3639, 648, 9686, 30, 1850, 943, 5661, 2384, 273, 4604, 2747, 5661, 2384, 12, 7032, 12420, 1769, 1850, 619, 273, 23576, 18, 4482, 397, 3246, 5484, 382, 4424, 18, 4482, 31, 1850, 677, 273, 23576, 18, 3669, 397, 3246, 5484, 382, 4424, 18, 3669, 31, 1850, 898, 861, 273, 963, 18, 4210, 300, 261, 267, 4424, 18, 9176, 397, 3246, 5484, 382, 4424, 18, 9176, 1769, 1850, 898, 31, 3639, 648, 13135, 30, 1850, 943, 5661, 2384, 273, 4604, 2747, 5661, 2384, 12, 7032, 12420, 1769, 1850, 619, 273, 963, 18, 2819, 300, 261, 267, 4424, 18, 4083, 397, 3246, 5484, 382, 4424, 18, 4083, 13, 300, 943, 5661, 2384, 31, 1850, 677, 273, 23576, 18, 3669, 397, 3246, 5484, 382, 4424, 18, 3669, 31, 1850, 898, 861, 273, 963, 18, 4210, 300, 261, 267, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 4604, 5661, 6120, 87, 12, 474, 3246, 12420, 16, 509, 3246, 1380, 13, 565, 288, 1377, 22300, 23576, 273, 3246, 8485, 18, 588, 382, 4424, 5621, 1377, 22300, 3246, 5484, 382, 4424, 273, 3181, 378, 5484, 382, 4424, 12, 7032, 12420, 1769, 1377, 13037, 963, 273, 3246, 8485, 18, 588, 1225, 5621, 5411, 368, 1021, 5513, 434, 326, 3854, 2002, 11055, 434, 326, 3246, 5091, 18, 1377, 509, 619, 31, 1377, 509, 677, 31, 1377, 368, 1021, 2117, 622, 1492, 326, 7597, 1297, 506, 12933, 18, 1377, 509, 898, 861, 31, 1377, 368, 9029, 326, 4972, 364, 326, 3246, 5091, 18, 1377, 1620, 261, 7032, 12420, 13, 1377, 288, 3639, 648, 9686, 30, 1850, 943, 5661, 2 ]
public AbstractClient() { userPreferences = new Preferences(); lastTrackRanked = null; lastTrackPreviousRank = -1; File home = new File(System.getProperties().getProperty("user.home")); File dir = null; File file = null; // Check to see if the iRATE directory exists in the user's home. // This needs to be there. dir = new File(home, "/irate"); if(!dir.exists()){ dir.mkdir(); } // Check to see if the user has a track database directory set in the // irate.xml file. If so, this directory should point to the trackdatabase.xml // file. String preference = Preferences.getUserDownloadDirectoryPreference(); if (preference != null) { file = new File(preference); } else { // If they don't have one set, fall back on the home directory. // If it doesn't exist in either location, then the user will need to fill in the // registration information. dir = new File(home, "irate"); file = new File(dir, "trackdatabase.xml"); } try { trackDatabase = new TrackDatabase(file); } catch (IOException e) { e.printStackTrace(); } playerList = new PlayerList(); // Add the client as a player listener on each player. // If this doesn't make sense in the future, we'll have to look // at doing this another way. for(int i=0; i<playerList.getPlayers().length; ++i) { playerList.getPlayers()[i].addPlayerListener(this); } playListManager = new PlayListManager(trackDatabase); playThread = new PlayThread(playListManager, playerList); pluginManager = new PluginManager(this, dir); if (playerList.getPlayers().length == 0) handleError(null, "help/missingplayer.html"); playThread.addUpdateListener(this); downloadThread = new DownloadThread(trackDatabase) { public void process() throws IOException { super.process(); // perhapsDisableAccount(); } public void handleError(String code, String urlString) { AbstractClient.this.handleError(code, urlString); } }; downloadThread.addUpdateListener(new UpdateListener() { boolean newState = false; public void actionPerformed() { setState(downloadThread.getState()); if(downloadThread.getPercentComplete()==100) updateTrackTable(); } }); // If a track database couldn't be loaded from the file system, then we // need to create a new account. if(trackDatabase.getNoOfTracks() ==0) { createNewAccount(); } }
11635 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11635/8a60852e7632e7c88feff720986eb23216782bd4/AbstractClient.java/clean/trunk/irate/irate/client/AbstractClient.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 7469, 1227, 1435, 95, 1355, 12377, 33, 2704, 12377, 5621, 2722, 4402, 12925, 329, 33, 2011, 31, 2722, 4402, 8351, 12925, 29711, 21, 31, 812, 8712, 33, 2704, 812, 12, 3163, 18, 588, 2297, 7675, 588, 1396, 2932, 1355, 18, 8712, 7923, 1769, 812, 1214, 33, 2011, 31, 812, 768, 33, 2011, 31, 759, 1564, 869, 5946, 430, 5787, 77, 24062, 5149, 1808, 267, 5787, 1355, 1807, 8712, 18, 759, 2503, 14891, 334, 947, 546, 822, 18, 1214, 33, 2704, 812, 12, 8712, 10837, 19, 481, 340, 8863, 430, 12, 5, 1214, 18, 1808, 10756, 95, 1214, 18, 26686, 5621, 97, 759, 1564, 869, 5946, 430, 5787, 1355, 5332, 270, 21580, 6231, 5149, 542, 267, 5787, 759, 481, 340, 18, 2902, 768, 18, 2047, 2048, 16, 2211, 5149, 13139, 1153, 3307, 76, 278, 21580, 6231, 18, 2902, 759, 768, 18, 780, 19141, 33, 12377, 18, 588, 1299, 7109, 2853, 9624, 5621, 430, 12, 19141, 5, 33, 2011, 15329, 768, 33, 2704, 812, 12, 19141, 1769, 97, 12107, 95, 759, 2047, 451, 402, 19752, 1404, 21516, 5322, 278, 16, 16471, 2152, 73, 17125, 329, 1292, 18, 759, 2047, 305, 20657, 82, 1404, 7398, 558, 2927, 3562, 16, 451, 319, 580, 1355, 20194, 14891, 88, 792, 737, 267, 5787, 759, 14170, 13117, 18, 1214, 33, 2704, 812, 12, 8712, 10837, 481, 340, 8863, 768, 33, 2704, 812, 12, 1214, 10837, 4101, 6231, 18, 2902, 8863, 97, 698, 95, 4101, 4254, 33, 2704, 4402, 4254, 12, 768, 1769, 97, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 7469, 1227, 1435, 95, 1355, 12377, 33, 2704, 12377, 5621, 2722, 4402, 12925, 329, 33, 2011, 31, 2722, 4402, 8351, 12925, 29711, 21, 31, 812, 8712, 33, 2704, 812, 12, 3163, 18, 588, 2297, 7675, 588, 1396, 2932, 1355, 18, 8712, 7923, 1769, 812, 1214, 33, 2011, 31, 812, 768, 33, 2011, 31, 759, 1564, 869, 5946, 430, 5787, 77, 24062, 5149, 1808, 267, 5787, 1355, 1807, 8712, 18, 759, 2503, 14891, 334, 947, 546, 822, 18, 1214, 33, 2704, 812, 12, 8712, 10837, 19, 481, 340, 8863, 430, 12, 5, 1214, 18, 1808, 10756, 95, 1214, 18, 26686, 5621, 97, 759, 1564, 869, 5946, 430, 5787, 1355, 5332, 270, 21580, 6231, 5149, 542, 267, 5787, 759, 481, 2 ]
if (workingSet == null) return true;
private boolean selectBySelection(ConcreteMarker marker) { if (onResource == ON_ANY || marker == null) return true; if (focusResource == null) return true; IResource resource = marker.getResource(); if (onResource == ON_WORKING_SET) { if (workingSet == null) return true; if (resource != null) return isEnclosed(resource); } else if (onResource == ON_ANY_IN_SAME_CONTAINER) { IProject project = resource.getProject(); if (project == null) { return false; } for (int i = 0; i < focusResource.length; i++) { IProject selectedProject = focusResource[i].getProject(); if (selectedProject == null) { continue; } if (project.equals(selectedProject)) return true; } } else if (onResource == ON_SELECTED_ONLY) { for (int i = 0; i < focusResource.length; i++) { if (resource.equals(focusResource[i])) return true; } } else if (onResource == ON_SELECTED_AND_CHILDREN) { for (int i = 0; i < focusResource.length; i++) { IResource parentResource = resource; while (parentResource != null) { if (parentResource.equals(focusResource[i])) return true; parentResource = parentResource.getParent(); } } } return false; }
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/e4aadc0c38193d304df3f17736fc9f4558cd1453/MarkerFilter.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerFilter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 2027, 858, 6233, 12, 25845, 7078, 5373, 13, 288, 202, 202, 430, 261, 265, 1420, 422, 6229, 67, 15409, 747, 5373, 422, 446, 13, 1082, 202, 2463, 638, 31, 202, 202, 430, 261, 13923, 1420, 422, 446, 13, 1082, 202, 2463, 638, 31, 202, 202, 45, 1420, 1058, 273, 5373, 18, 588, 1420, 5621, 202, 202, 430, 261, 265, 1420, 422, 6229, 67, 10566, 1360, 67, 4043, 13, 288, 1082, 202, 430, 261, 20478, 694, 422, 446, 13, 9506, 202, 2463, 638, 31, 1082, 202, 430, 261, 3146, 480, 446, 13, 9506, 202, 2463, 353, 4280, 13783, 12, 3146, 1769, 202, 202, 97, 469, 309, 261, 265, 1420, 422, 6229, 67, 15409, 67, 706, 67, 29080, 67, 21395, 13, 288, 1082, 202, 45, 4109, 1984, 273, 1058, 18, 588, 4109, 5621, 1082, 202, 430, 261, 4406, 422, 446, 13, 288, 9506, 202, 2463, 629, 31, 1082, 202, 97, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 7155, 1420, 18, 2469, 31, 277, 27245, 288, 9506, 202, 45, 4109, 3170, 4109, 273, 7155, 1420, 63, 77, 8009, 588, 4109, 5621, 9506, 202, 430, 261, 8109, 4109, 422, 446, 13, 288, 6862, 202, 17143, 31, 9506, 202, 97, 9506, 202, 430, 261, 4406, 18, 14963, 12, 8109, 4109, 3719, 6862, 202, 2463, 638, 31, 1082, 202, 97, 202, 202, 97, 469, 309, 261, 265, 1420, 422, 6229, 67, 4803, 2056, 67, 10857, 13, 288, 1082, 202, 1884, 261, 474, 277, 273, 374, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 2027, 858, 6233, 12, 25845, 7078, 5373, 13, 288, 202, 202, 430, 261, 265, 1420, 422, 6229, 67, 15409, 747, 5373, 422, 446, 13, 1082, 202, 2463, 638, 31, 202, 202, 430, 261, 13923, 1420, 422, 446, 13, 1082, 202, 2463, 638, 31, 202, 202, 45, 1420, 1058, 273, 5373, 18, 588, 1420, 5621, 202, 202, 430, 261, 265, 1420, 422, 6229, 67, 10566, 1360, 67, 4043, 13, 288, 1082, 202, 430, 261, 20478, 694, 422, 446, 13, 9506, 202, 2463, 638, 31, 1082, 202, 430, 261, 3146, 480, 446, 13, 9506, 202, 2463, 353, 4280, 13783, 12, 3146, 1769, 202, 202, 97, 469, 309, 261, 265, 1420, 422, 6229, 67, 15409, 67, 706, 67, 2 ]
public int addRef(int fileNum) {
public int addRef(int fileNum, int indexFlags) {
public int addRef(int fileNum) { if (fNumRefs > 0 && fRefs[fNumRefs - 1] == fileNum) { return 0; } if (fNumRefs < fRefs.length) { fRefs[fNumRefs++]= fileNum; return 0; } // For rt.jar, 73265 word entries are created. 51997 have 1 ref, then 9438, 3738, 1980, 1214, 779, 547, 429, 371 etc. int newSize= fNumRefs < 4 ? 4 : fNumRefs * 2; // so will start @ 1, grow to 4, 8, 16, 32, 64 etc. System.arraycopy(fRefs, 0, fRefs= new int[newSize], 0, fNumRefs); fRefs[fNumRefs++]= fileNum; return (newSize - fNumRefs + 1) * 4; }
54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/2473fc9bad9772bea7e830611534fa1d7df713b5/WordEntry.java/buggy/core/org.eclipse.cdt.core/index/org/eclipse/cdt/internal/core/index/impl/WordEntry.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 527, 1957, 12, 474, 585, 2578, 13, 288, 202, 202, 430, 261, 74, 2578, 9837, 405, 374, 597, 284, 9837, 63, 74, 2578, 9837, 300, 404, 65, 422, 585, 2578, 13, 288, 1082, 202, 2463, 374, 31, 202, 202, 97, 202, 202, 430, 261, 74, 2578, 9837, 411, 284, 9837, 18, 2469, 13, 288, 1082, 202, 74, 9837, 63, 74, 2578, 9837, 9904, 65, 33, 585, 2578, 31, 1082, 202, 2463, 374, 31, 202, 202, 97, 3196, 202, 759, 2457, 8253, 18, 11930, 16, 2371, 1578, 9222, 2076, 3222, 854, 2522, 18, 1381, 19818, 27, 1240, 404, 1278, 16, 1508, 31069, 7414, 16, 18091, 7414, 16, 5342, 3672, 16, 2593, 3461, 16, 2371, 7235, 16, 1381, 9462, 16, 27542, 16, 890, 11212, 5527, 18, 202, 202, 474, 21402, 33, 284, 2578, 9837, 411, 1059, 692, 1059, 294, 284, 2578, 9837, 380, 576, 31, 368, 1427, 903, 787, 632, 404, 16, 13334, 358, 1059, 16, 1725, 16, 2872, 16, 3847, 16, 5178, 5527, 18, 202, 202, 3163, 18, 1126, 3530, 12, 74, 9837, 16, 374, 16, 284, 9837, 33, 394, 509, 63, 2704, 1225, 6487, 374, 16, 284, 2578, 9837, 1769, 202, 202, 74, 9837, 63, 74, 2578, 9837, 9904, 65, 33, 585, 2578, 31, 202, 202, 2463, 261, 2704, 1225, 300, 284, 2578, 9837, 397, 404, 13, 380, 1059, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 509, 527, 1957, 12, 474, 585, 2578, 13, 288, 202, 202, 430, 261, 74, 2578, 9837, 405, 374, 597, 284, 9837, 63, 74, 2578, 9837, 300, 404, 65, 422, 585, 2578, 13, 288, 1082, 202, 2463, 374, 31, 202, 202, 97, 202, 202, 430, 261, 74, 2578, 9837, 411, 284, 9837, 18, 2469, 13, 288, 1082, 202, 74, 9837, 63, 74, 2578, 9837, 9904, 65, 33, 585, 2578, 31, 1082, 202, 2463, 374, 31, 202, 202, 97, 3196, 202, 759, 2457, 8253, 18, 11930, 16, 2371, 1578, 9222, 2076, 3222, 854, 2522, 18, 1381, 19818, 27, 1240, 404, 1278, 16, 1508, 31069, 7414, 16, 18091, 7414, 16, 5342, 3672, 16, 2593, 3461, 16, 2371, 7235, 16, 2 ]
testnetEnabled = testnet.equalsIgnoreCase("true") || testnet.equalsIgnoreCase("yes");
testnetEnabled = testnet == null ? false : (testnet.equalsIgnoreCase("true") || testnet.equalsIgnoreCase("yes"));
public PeerNode(SimpleFieldSet fs, Node node2) throws FSParseException, PeerParseException { this.node = node2; String identityString = fs.get("identity"); try { identity = HexUtil.hexToBytes(identityString); } catch (NumberFormatException e) { throw new FSParseException(e); } MessageDigest md; try { md = MessageDigest.getInstance("SHA-256"); } catch (NoSuchAlgorithmException e2) { throw new Error(e2); } if(identity == null) throw new FSParseException("No identity"); identityHash = md.digest(identity); hashCode = Fields.hashCode(identityHash); version = fs.get("version"); String locationString = fs.get("location"); if(locationString == null) throw new FSParseException("No location"); currentLocation = new Location(locationString); String physical = fs.get("physical.udp"); if(physical == null) throw new FSParseException("No physical.udp"); peer = new Peer(physical); String name = fs.get("myName"); if(name == null) throw new FSParseException("No name"); myName = name; String testnet = fs.get("testnet"); testnetEnabled = testnet.equalsIgnoreCase("true") || testnet.equalsIgnoreCase("yes"); if(testnetEnabled != node.testnetEnabled) { String err = "Ignoring incompatible node "+peer+" - peer.testnet="+testnetEnabled+"("+testnet+") but node.testnet="+node.testnetEnabled; Logger.error(this, err); throw new PeerParseException(err); } // Setup incoming and outgoing setup ciphers byte[] nodeKey = node.identityHash; byte[] nodeKeyHash = node.identityHashHash; byte[] setupKeyHash = md.digest(identityHash); int digestLength = md.getDigestLength(); incomingSetupKey = new byte[digestLength]; for(int i=0;i<incomingSetupKey.length;i++) incomingSetupKey[i] = (byte) (nodeKey[i] ^ setupKeyHash[i]); outgoingSetupKey = new byte[digestLength]; for(int i=0;i<outgoingSetupKey.length;i++) outgoingSetupKey[i] = (byte) (nodeKeyHash[i] ^ identityHash[i]); Logger.minor(this, "Keys:\nIdentity: "+HexUtil.bytesToHex(node.myIdentity)+ "\nThisIdent: "+HexUtil.bytesToHex(identity)+ "\nNode: "+HexUtil.bytesToHex(nodeKey)+ "\nNode hash: "+HexUtil.bytesToHex(nodeKeyHash)+ "\nThis: "+HexUtil.bytesToHex(identityHash)+ "\nThis hash: "+HexUtil.bytesToHex(setupKeyHash)); try { incomingSetupCipher = new Rijndael(256,256); incomingSetupCipher.initialize(incomingSetupKey); outgoingSetupCipher = new Rijndael(256,256); outgoingSetupCipher.initialize(outgoingSetupKey); } catch (UnsupportedCipherException e1) { Logger.error(this, "Caught: "+e1); throw new Error(e1); } // Don't create trackers until we have a key currentTracker = null; previousTracker = null; timeLastSentPacket = -1; timeLastReceivedPacket = -1; timeLastReceivedSwapRequest = -1; randomizeMaxTimeBetweenPacketSends(); swapRequestsInterval = new SimpleRunningAverage(50, Node.MIN_INTERVAL_BETWEEN_INCOMING_SWAP_REQUESTS); // Not connected yet; need to handshake isConnected = false; messagesToSendNow = new LinkedList(); decrementHTLAtMaximum = node.random.nextFloat() < Node.DECREMENT_AT_MAX_PROB; decrementHTLAtMinimum = node.random.nextFloat() < Node.DECREMENT_AT_MIN_PROB; // FIXME maybe a simple binary RA would be better? pingNumber = node.random.nextLong(); pingAverage = new SimpleRunningAverage(20, 1); throttledPacketSendAverage = new SimpleRunningAverage(20, 1); }
52909 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52909/abbbb2e7c3a2bee2f10520caea53b6288566cf15/PeerNode.java/buggy/src/freenet/node/PeerNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 10669, 907, 12, 5784, 974, 694, 2662, 16, 2029, 756, 22, 13, 1216, 9247, 13047, 16, 10669, 13047, 288, 3639, 333, 18, 2159, 273, 756, 22, 31, 3639, 514, 4215, 780, 273, 2662, 18, 588, 2932, 10781, 8863, 3639, 775, 288, 5411, 4215, 273, 15734, 1304, 18, 7118, 21033, 12, 10781, 780, 1769, 3639, 289, 1044, 261, 1854, 9291, 425, 13, 288, 5411, 604, 394, 9247, 13047, 12, 73, 1769, 3639, 289, 7734, 22485, 3481, 31, 3639, 775, 288, 5411, 3481, 273, 22485, 18, 588, 1442, 2932, 8325, 17, 5034, 8863, 3639, 289, 1044, 261, 28341, 17293, 425, 22, 13, 288, 5411, 604, 394, 1068, 12, 73, 22, 1769, 3639, 289, 7734, 309, 12, 10781, 422, 446, 13, 604, 394, 9247, 13047, 2932, 2279, 4215, 8863, 3639, 4215, 2310, 273, 3481, 18, 10171, 12, 10781, 1769, 3639, 13374, 273, 7190, 18, 2816, 1085, 12, 10781, 2310, 1769, 3639, 1177, 273, 2662, 18, 588, 2932, 1589, 8863, 3639, 514, 2117, 780, 273, 2662, 18, 588, 2932, 3562, 8863, 3639, 309, 12, 3562, 780, 422, 446, 13, 604, 394, 9247, 13047, 2932, 2279, 2117, 8863, 3639, 783, 2735, 273, 394, 7050, 12, 3562, 780, 1769, 3639, 514, 11640, 273, 2662, 18, 588, 2932, 20441, 18, 26029, 8863, 3639, 309, 12, 20441, 422, 446, 13, 604, 394, 9247, 13047, 2932, 2279, 11640, 18, 26029, 8863, 3639, 4261, 273, 394, 10669, 12, 20441, 1769, 3639, 514, 508, 273, 2662, 18, 588, 2932, 4811, 461, 8863, 3639, 309, 12, 529, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 10669, 907, 12, 5784, 974, 694, 2662, 16, 2029, 756, 22, 13, 1216, 9247, 13047, 16, 10669, 13047, 288, 3639, 333, 18, 2159, 273, 756, 22, 31, 3639, 514, 4215, 780, 273, 2662, 18, 588, 2932, 10781, 8863, 3639, 775, 288, 5411, 4215, 273, 15734, 1304, 18, 7118, 21033, 12, 10781, 780, 1769, 3639, 289, 1044, 261, 1854, 9291, 425, 13, 288, 5411, 604, 394, 9247, 13047, 12, 73, 1769, 3639, 289, 7734, 22485, 3481, 31, 3639, 775, 288, 5411, 3481, 273, 22485, 18, 588, 1442, 2932, 8325, 17, 5034, 8863, 3639, 289, 1044, 261, 28341, 17293, 425, 22, 13, 288, 5411, 604, 394, 1068, 12, 73, 22, 1769, 3639, 289, 7734, 309, 12, 10781, 422, 446, 2 ]
if (TransformerImpl.S_DEBUG)
if (transformer.getDebug())
public void execute(TransformerImpl transformer) throws TransformerException { if (TransformerImpl.S_DEBUG) transformer.getTraceManager().fireTraceEvent(this); boolean found = false; for (ElemTemplateElement childElem = getFirstChildElem(); childElem != null; childElem = childElem.getNextSiblingElem()) { int type = childElem.getXSLToken(); if (Constants.ELEMNAME_WHEN == type) { found = true; ElemWhen when = (ElemWhen) childElem; // must be xsl:when XPathContext xctxt = transformer.getXPathContext(); int sourceNode = xctxt.getCurrentNode(); // System.err.println("\""+when.getTest().getPatternString()+"\""); // if(when.getTest().getPatternString().equals("COLLECTION/icuser/ictimezone/LITERAL='GMT +13:00 Pacific/Tongatapu'")) // System.err.println("Found COLLECTION/icuser/ictimezone/LITERAL"); if (TransformerImpl.S_DEBUG) { XObject test = when.getTest().execute(xctxt, sourceNode, when); if (TransformerImpl.S_DEBUG) transformer.getTraceManager().fireSelectedEvent(sourceNode, when, "test", when.getTest(), test); if (test.bool()) { transformer.getTraceManager().fireTraceEvent(when); transformer.executeChildTemplates(when, true); transformer.getTraceManager().fireTraceEndEvent(when); return; } } else if (when.getTest().bool(xctxt, sourceNode, when)) { transformer.executeChildTemplates(when, true); return; } } else if (Constants.ELEMNAME_OTHERWISE == type) { found = true; if (TransformerImpl.S_DEBUG) transformer.getTraceManager().fireTraceEvent(childElem); // xsl:otherwise transformer.executeChildTemplates(childElem, true); if (TransformerImpl.S_DEBUG) transformer.getTraceManager().fireTraceEndEvent(childElem); return; } } if (!found) transformer.getMsgMgr().error( this, XSLTErrorResources.ER_CHOOSE_REQUIRES_WHEN); if (TransformerImpl.S_DEBUG) transformer.getTraceManager().fireTraceEndEvent(this); }
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/2d07c253b814672a82d969836d58577bfa628b88/ElemChoose.java/clean/src/org/apache/xalan/templates/ElemChoose.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1836, 12, 8319, 2828, 8360, 13, 1216, 21684, 225, 288, 565, 309, 261, 21523, 18, 588, 2829, 10756, 1377, 8360, 18, 588, 3448, 1318, 7675, 12179, 3448, 1133, 12, 2211, 1769, 565, 1250, 1392, 273, 629, 31, 565, 364, 261, 7498, 2283, 1046, 1151, 7498, 273, 17315, 7498, 5621, 5411, 1151, 7498, 480, 446, 31, 1151, 7498, 273, 1151, 7498, 18, 588, 2134, 10291, 7498, 10756, 565, 288, 1377, 509, 618, 273, 1151, 7498, 18, 588, 60, 4559, 1345, 5621, 1377, 309, 261, 2918, 18, 41, 26817, 1985, 67, 12557, 1157, 422, 618, 13, 1377, 288, 3639, 1392, 273, 638, 31, 3639, 10223, 9434, 1347, 273, 261, 7498, 9434, 13, 1151, 7498, 31, 3639, 368, 1297, 506, 20791, 30, 13723, 3639, 10172, 1042, 25465, 273, 8360, 18, 588, 14124, 1042, 5621, 3639, 509, 26799, 273, 25465, 18, 588, 3935, 907, 5621, 7734, 368, 2332, 18, 370, 18, 8222, 2932, 8530, 15, 13723, 18, 588, 4709, 7675, 588, 3234, 780, 1435, 9078, 8530, 1769, 7734, 368, 309, 12, 13723, 18, 588, 4709, 7675, 588, 3234, 780, 7675, 14963, 2932, 25964, 19, 335, 1355, 19, 933, 494, 3486, 19, 23225, 2218, 25315, 397, 3437, 30, 713, 453, 1077, 1507, 19, 56, 932, 396, 11938, 4970, 3719, 3639, 368, 225, 202, 3163, 18, 370, 18, 8222, 2932, 2043, 5597, 15445, 19, 335, 1355, 19, 933, 494, 3486, 19, 23225, 8863, 3639, 309, 261, 21523, 18, 588, 2829, 10756, 3639, 288, 1850, 1139, 921, 1842, 273, 1347, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1836, 12, 8319, 2828, 8360, 13, 1216, 21684, 225, 288, 565, 309, 261, 21523, 18, 588, 2829, 10756, 1377, 8360, 18, 588, 3448, 1318, 7675, 12179, 3448, 1133, 12, 2211, 1769, 565, 1250, 1392, 273, 629, 31, 565, 364, 261, 7498, 2283, 1046, 1151, 7498, 273, 17315, 7498, 5621, 5411, 1151, 7498, 480, 446, 31, 1151, 7498, 273, 1151, 7498, 18, 588, 2134, 10291, 7498, 10756, 565, 288, 1377, 509, 618, 273, 1151, 7498, 18, 588, 60, 4559, 1345, 5621, 1377, 309, 261, 2918, 18, 41, 26817, 1985, 67, 12557, 1157, 422, 618, 13, 1377, 288, 3639, 1392, 273, 638, 31, 3639, 10223, 9434, 1347, 273, 261, 7498, 9434, 13, 1151, 7498, 31, 3639, 368, 1297, 2 ]
state.setSelf(oldSelf);
public IRubyObject evalSimple(IRubyObject src, String file) { // this is ensured by the callers assert file != null; ThreadContext threadContext = getRuntime().getCurrentContext(); ISourcePosition savedPosition = threadContext.getPosition(); // no binding, just eval in "current" frame (caller's frame) Iter iter = threadContext.getFrameIter(); EvaluationState state = threadContext.getFrameEvalState(); IRubyObject oldSelf = state.getSelf(); IRubyObject result = getRuntime().getNil(); try { // hack to avoid using previous frame if we're the first frame, since this eval is used to start execution too if (threadContext.getPreviousFrame() != null) { threadContext.setFrameIter(threadContext.getPreviousFrameIter()); } state.setSelf(this); result = state.begin(getRuntime().parse(src.toString(), file)); } finally { // return the eval state to its original self state.setSelf(oldSelf); // FIXME: this is broken for Proc, see above threadContext.setFrameIter(iter); // restore position threadContext.setPosition(savedPosition); } return result; }
48072 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48072/6e15491217631472c05c6928672f9c7064a978b3/RubyObject.java/buggy/src/org/jruby/RubyObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 5302, 5784, 12, 7937, 10340, 921, 1705, 16, 514, 585, 13, 288, 3639, 368, 333, 353, 3387, 72, 635, 326, 19932, 3639, 1815, 585, 480, 446, 31, 7734, 4884, 1042, 2650, 1042, 273, 18814, 7675, 588, 3935, 1042, 5621, 7734, 467, 1830, 2555, 5198, 2555, 273, 2650, 1042, 18, 588, 2555, 5621, 3639, 368, 1158, 5085, 16, 2537, 5302, 316, 315, 2972, 6, 2623, 261, 16140, 1807, 2623, 13, 3639, 3016, 1400, 273, 2650, 1042, 18, 588, 3219, 2360, 5621, 3639, 17340, 1119, 919, 273, 2650, 1042, 18, 588, 3219, 13904, 1119, 5621, 3639, 15908, 10340, 921, 1592, 10084, 273, 919, 18, 588, 10084, 5621, 3639, 15908, 10340, 921, 563, 273, 18814, 7675, 588, 12616, 5621, 7734, 775, 288, 5411, 368, 11769, 358, 4543, 1450, 2416, 2623, 309, 732, 4565, 326, 1122, 2623, 16, 3241, 333, 5302, 353, 1399, 358, 787, 4588, 4885, 5411, 309, 261, 5930, 1042, 18, 588, 8351, 3219, 1435, 480, 446, 13, 288, 7734, 2650, 1042, 18, 542, 3219, 2360, 12, 5930, 1042, 18, 588, 8351, 3219, 2360, 10663, 5411, 289, 13491, 919, 18, 542, 10084, 12, 2211, 1769, 13491, 563, 273, 919, 18, 10086, 12, 588, 5576, 7675, 2670, 12, 4816, 18, 10492, 9334, 585, 10019, 3639, 289, 3095, 288, 5411, 368, 327, 326, 5302, 919, 358, 2097, 2282, 365, 4766, 368, 9852, 30, 333, 353, 12933, 364, 18470, 16, 2621, 5721, 5411, 2650, 1042, 18, 542, 3219, 2360, 12, 2165, 1769, 13491, 368, 5217, 1754, 5411, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 5302, 5784, 12, 7937, 10340, 921, 1705, 16, 514, 585, 13, 288, 3639, 368, 333, 353, 3387, 72, 635, 326, 19932, 3639, 1815, 585, 480, 446, 31, 7734, 4884, 1042, 2650, 1042, 273, 18814, 7675, 588, 3935, 1042, 5621, 7734, 467, 1830, 2555, 5198, 2555, 273, 2650, 1042, 18, 588, 2555, 5621, 3639, 368, 1158, 5085, 16, 2537, 5302, 316, 315, 2972, 6, 2623, 261, 16140, 1807, 2623, 13, 3639, 3016, 1400, 273, 2650, 1042, 18, 588, 3219, 2360, 5621, 3639, 17340, 1119, 919, 273, 2650, 1042, 18, 588, 3219, 13904, 1119, 5621, 3639, 15908, 10340, 921, 1592, 10084, 273, 919, 18, 588, 10084, 5621, 3639, 15908, 10340, 921, 563, 273, 18814, 7675, 588, 2 ]
public BaseInspectionVisitor buildVisitor() {
public BaseInspectionVisitor buildVisitor(){
public BaseInspectionVisitor buildVisitor() { return new ClassWithoutConstructorVisitor(); }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/bd57f07c33c419f20715b114b71a7e93425b34c9/ClassWithoutConstructorInspection.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/classlayout/ClassWithoutConstructorInspection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3360, 14985, 7413, 1361, 7413, 1435, 95, 3639, 327, 394, 1659, 8073, 6293, 7413, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3360, 14985, 7413, 1361, 7413, 1435, 95, 3639, 327, 394, 1659, 8073, 6293, 7413, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
row[5] = VersionPrefixString+VersionString+VersionSuffixString;
row[5] = versionPrefixString+versionString+versionSuffixString;
public void handleGet(URI uri, ToadletContext ctx) throws ToadletContextClosedException, IOException, RedirectException { String path = uri.getPath(); if(path.endsWith("myref.txt")) { SimpleFieldSet fs = node.exportPublicFieldSet(); StringWriter sw = new StringWriter(); fs.writeTo(sw); this.writeReply(ctx, 200, "text/plain", "OK", sw.toString()); return; } StringBuffer buf = new StringBuffer(1024); //HTTPRequest request = new HTTPRequest(uri); ctx.getPageMaker().makeHead(buf, "Darknet Peers"); // FIXME! We need some nice images PeerNode[] peerNodes = node.getDarknetConnections(); long now = System.currentTimeMillis(); final boolean advancedEnabled = node.getToadletContainer().isAdvancedDarknetEnabled(); node.alerts.toSummaryHtml(buf); /* node status values */ int bwlimitDelayTime = (int) node.getBwlimitDelayTime(); int nodeAveragePingTime = (int) node.getNodeAveragePingTime(); int networkSizeEstimate = (int) node.getNetworkSizeEstimate( 0 ); String nodeUptimeString = timeIntervalToString(( now - node.startupTime ) / 1000); /* gather connection statistics */ int numberOfConnected = node.getPeerNodeStatusSize(Node.PEER_NODE_STATUS_CONNECTED); int numberOfRoutingBackedOff = node.getPeerNodeStatusSize(Node.PEER_NODE_STATUS_ROUTING_BACKED_OFF); int numberOfTooNew = node.getPeerNodeStatusSize(Node.PEER_NODE_STATUS_TOO_NEW); int numberOfTooOld = node.getPeerNodeStatusSize(Node.PEER_NODE_STATUS_TOO_OLD); int numberOfDisconnected = node.getPeerNodeStatusSize(Node.PEER_NODE_STATUS_DISCONNECTED); int numberOfNeverConnected = node.getPeerNodeStatusSize(Node.PEER_NODE_STATUS_NEVER_CONNECTED); buf.append("<table class=\"column\"><tr><td class=\"first\">"); /* node status overview box */ if(advancedEnabled) { buf.append("<div class=\"infobox\">"); buf.append("<div class=\"infobox-header\">Node status overview</div>"); buf.append("<div class=\"infobox-content\">"); buf.append("<ul>"); buf.append("<li>bwlimitDelayTime:&nbsp;").append(bwlimitDelayTime).append("ms</li>"); buf.append("<li>nodeAveragePingTime:&nbsp;").append(nodeAveragePingTime).append("ms</li>"); buf.append("<li>networkSizeEstimate:&nbsp;").append(networkSizeEstimate).append("&nbsp;nodes</li>"); buf.append("<li>nodeUptime:&nbsp;").append(nodeUptimeString).append("</li>"); buf.append("</ul></div>"); buf.append("</div>\n"); buf.append("</td><td>"); } // Activity box int numInserts = node.getNumInserts(); int numRequests = node.getNumRequests(); int numTransferringRequests = node.getNumTransferringRequests(); int numARKFetchers = node.getNumARKFetchers(); buf.append("<div class=\"infobox\">\n"); buf.append("<div class=\"infobox-header\">\n"); buf.append("Current Activity\n"); buf.append("</div>\n"); buf.append("<div class=\"infobox-content\">\n"); if ((numInserts == 0) && (numRequests == 0) && (numTransferringRequests == 0) && (numARKFetchers == 0)) { buf.append("Your node is not processing any requests right now."); } else { buf.append("<ul id=\"activity\">\n"); if (numInserts > 0) { buf.append("<li>Inserts:&nbsp;").append(numInserts).append("</li>"); } if (numRequests > 0) { buf.append("<li>Requests:&nbsp;").append(numRequests).append("</li>"); } if (numTransferringRequests > 0) { buf.append("<li>Transferring&nbsp;Requests:&nbsp;").append(numTransferringRequests).append("</li>"); } if(advancedEnabled) { if (numARKFetchers > 0) { buf.append("<li>ARK&nbsp;Fetch&nbsp;Requests:&nbsp;").append(numARKFetchers).append("</li>"); } } buf.append("</ul>\n"); } buf.append("</div>\n"); buf.append("</div>\n"); buf.append("</td><td>"); // Peer statistics box buf.append("<div class=\"infobox\">"); buf.append("<div class=\"infobox-header\">Peer statistics</div>"); buf.append("<div class=\"infobox-content\">"); buf.append("<ul>"); if (numberOfConnected > 0) { buf.append("<li><span class=\"peer_connected\">Connected:&nbsp;").append(numberOfConnected).append("</span></li>"); } if (numberOfRoutingBackedOff > 0) { buf.append("<li><span class=\"peer_backedoff\">Backed off:&nbsp;").append(numberOfRoutingBackedOff).append("</span></li>"); } if (numberOfTooNew > 0) { buf.append("<li><span class=\"peer_too_new\">Too new:&nbsp;").append(numberOfTooNew).append("</span></li>"); } if (numberOfTooOld > 0) { buf.append("<li><span class=\"peer_too_old\">Too old:&nbsp;").append(numberOfTooOld).append("</span></li>"); } if (numberOfDisconnected > 0) { buf.append("<li><span class=\"peer_disconnected\">Disconnected:&nbsp;").append(numberOfDisconnected).append("</span></li>"); } if (numberOfNeverConnected > 0) { buf.append("<li><span class=\"peer_never_connected\">Never Connected:&nbsp;").append(numberOfNeverConnected).append("</span></li>"); } buf.append("</ul>"); buf.append("</div>"); buf.append("</div>\n"); // Peer routing backoff reason box if(advancedEnabled) { buf.append("</td><td class=\"last\">"); buf.append("<div class=\"infobox\">"); buf.append("<div class=\"infobox-header\">Peer backoff reasons</div>"); buf.append("<div class=\"infobox-content\">"); String [] routingBackoffReasons = node.getPeerNodeRoutingBackoffReasons(); if(routingBackoffReasons.length == 0) { buf.append("Good, your node is not backed off from any peers!<br/>\n"); } else { buf.append("<ul>\n"); for(int i=0;i<routingBackoffReasons.length;i++) { int reasonCount = node.getPeerNodeRoutingBackoffReasonSize(routingBackoffReasons[i]); if(reasonCount > 0) { buf.append("<li>").append(routingBackoffReasons[i]).append(":&nbsp;").append(reasonCount).append("</li>\n"); } } buf.append("</ul>\n"); } buf.append("</div>"); buf.append("</div>\n"); } buf.append("</td></tr></table>\n"); buf.append("<div class=\"infobox infobox-normal\">\n"); buf.append("<div class=\"infobox-header\">\n"); buf.append("My Peers"); if(advancedEnabled) { if (!path.endsWith("displaymessagetypes.html")) { buf.append(" <a href=\"displaymessagetypes.html\">(more detailed)</a>"); } } buf.append("</div>\n"); buf.append("<div class=\"infobox-content\">\n"); buf.append("<form action=\".\" method=\"post\" enctype=\"multipart/form-data\">\n"); StringBuffer buf2 = new StringBuffer(1024); buf2.append("<table class=\"darknet_connections\">\n"); buf2.append(" <tr>\n"); buf2.append(" <th></th>\n"); buf2.append(" <th>Status</th>\n"); buf2.append(" <th><span title=\"Click on the nodename link to send a N2NTM\" style=\"border-bottom:1px dotted;cursor:help;\">Name</span></th>\n"); if(advancedEnabled) { buf2.append(" <th><span title=\"Address:Port\" style=\"border-bottom:1px dotted;cursor:help;\">Address</span></th>\n"); } buf2.append(" <th>Version</th>\n"); if(advancedEnabled) { buf2.append(" <th>Location</th>\n"); buf2.append(" <th><span title=\"Temporarily disconnected. Other node busy? Wait time(s) remaining/total\" style=\"border-bottom:1px dotted;cursor:help;\">Backoff</span></th>\n"); } buf2.append(" <th><span title=\"How long since the node was last seen\" style=\"border-bottom:1px dotted;cursor:help;\">Idle</span></th>\n"); buf2.append(" </tr>\n"); if (peerNodes.length == 0) { buf2.append("<tr><td colspan=\"8\">Freenet can't work - you have not added any peers so far. <a href=\"/\">Go here</a> and read the top infobox to see how it's done.</td></tr>\n"); buf2.append("</table>\n"); // buf.append(buf2); } else { // Create array Object[][] rows = new Object[peerNodes.length][]; for(int i=0;i<peerNodes.length;i++) { PeerNode pn = peerNodes[i]; long routingBackedOffUntil = pn.getRoutingBackedOffUntil(); int backoff = (int)(Math.max(routingBackedOffUntil - now, 0)); // Don't list the backoff as zero before it's actually zero if(backoff > 0 && backoff < 1000 ) backoff = 1000; // Elements must be HTML encoded. Object[] row = new Object[10]; // where [0] is the pn object and 9 is the node name only for sorting! rows[i] = row; Object status = new Integer(pn.getPeerNodeStatus()); long idle = pn.lastReceivedPacketTime(); if(((Integer) status).intValue() == Node.PEER_NODE_STATUS_NEVER_CONNECTED) idle = pn.getPeerAddedTime(); String lastBackoffReasonOutputString = ""; if(advancedEnabled) { String backoffReason = pn.getLastBackoffReason(); if( backoffReason != null ) { lastBackoffReasonOutputString = "/"+backoffReason; } else { lastBackoffReasonOutputString = "/"; } } String avgPingTimeString = ""; if(advancedEnabled) { if(pn.isConnected()) { avgPingTimeString = " ("+(int) pn.averagePingTime()+"ms)"; } } String VersionPrefixString = ""; String VersionString = ""; String VersionSuffixString = ""; if(pn.publicInvalidVersion() || pn.publicReverseInvalidVersion()) { VersionPrefixString = "<span class=\"peer_version_problem\">"; VersionSuffixString = "</span>"; } String NamePrefixString = ""; String NameSuffixString = ""; if(pn.isConnected()) { NamePrefixString = "<a href=\"/send_n2ntm/?peernode_hashcode="+pn.hashCode()+"\">"; NameSuffixString = "</a>"; } if(advancedEnabled) { VersionString = HTMLEncoder.encode(pn.getVersion()); } else { VersionString = HTMLEncoder.encode(pn.getSimpleVersion()); } row[0] = pn; row[1] = "<input type=\"checkbox\" name=\"delete_node_"+pn.hashCode()+"\" />"; row[2] = status; row[3] = NamePrefixString+HTMLEncoder.encode(pn.getName())+NameSuffixString; row[4] = ( pn.getDetectedPeer() != null ? HTMLEncoder.encode(pn.getDetectedPeer().toString()) : "(address unknown)" ) + avgPingTimeString; row[5] = VersionPrefixString+VersionString+VersionSuffixString; row[6] = new Double(pn.getLocation().getValue()); row[7] = backoff/1000 + "/" + pn.getRoutingBackoffLength()/1000+lastBackoffReasonOutputString; row[8] = idleToString(now, idle, ((Integer) status).intValue()); row[9] = HTMLEncoder.encode(pn.getName()); } // Sort array Arrays.sort(rows, new MyComparator()); // Convert status codes into status strings for(int i=0;i<rows.length;i++) { Object[] row = rows[i]; String arkAsterisk = ""; if(advancedEnabled) { if(((PeerNode) row[0]).isFetchingARK()) { arkAsterisk = "*"; } } row[2] = "<span class=\""+((PeerNode) row[0]).getPeerNodeStatusCSSClassName()+"\">"+((PeerNode) row[0]).getPeerNodeStatusString()+arkAsterisk+"</span>"; } // Turn array into HTML for(int i=0;i<rows.length;i++) { Object[] row = rows[i]; buf2.append("<tr>"); for(int j=1;j<row.length;j++) { // skip index 0 as it's the PeerNode object if(j == 9) { // skip index 9 as it's used for sorting purposes only continue; } if(!advancedEnabled) { // if not in advanced Darknet page output mode if( j == 4 || j == 6 || j == 7 ) { // skip IP address/name, location and backoff times continue; } } buf2.append("<td>"+row[j]+"</td>"); } buf2.append("</tr>\n"); if (path.endsWith("displaymessagetypes.html")) { buf2.append("<tr class=\"messagetypes\"><td colspan=\"8\">\n"); buf2.append("<table class=\"sentmessagetypes\">\n"); buf2.append("<tr><th>Sent Message Type</th><th>Count</th></tr>\n"); for (Enumeration keys=((PeerNode)row[0]).getLocalNodeSentMessagesToStatistic().keys(); keys.hasMoreElements(); ) { Object curkey = keys.nextElement(); buf2.append("<tr><td>"); buf2.append((String)curkey); buf2.append("</td><td>"); buf2.append(((Long)((PeerNode)row[0]).getLocalNodeSentMessagesToStatistic().get(curkey)) + ""); buf2.append("</td></tr>\n"); } buf2.append("</table>\n"); buf2.append("<table class=\"receivedmessagetypes\">\n"); buf2.append("<tr><th>Received Message Type</th><th>Count</th></tr>\n"); for (Enumeration keys=((PeerNode)row[0]).getLocalNodeReceivedMessagesFromStatistic().keys(); keys.hasMoreElements(); ) { Object curkey = keys.nextElement(); buf2.append("<tr><td>"); buf2.append((String)curkey); buf2.append("</td><td>"); buf2.append(((Long)((PeerNode)row[0]).getLocalNodeReceivedMessagesFromStatistic().get(curkey)) + ""); buf2.append("</td></tr>\n"); } buf2.append("</table>\n"); buf2.append("</td></tr>\n"); } } buf2.append("</table>\n"); // buf.append(buf2); // buf.append("<input type=\"submit\" name=\"remove\" value=\"Remove selected peers\" />"); if(advancedEnabled) { buf.append("&nbsp;&nbsp;&nbsp;<span class=\"darknet_connections\">* Requesting ARK</span>\n"); } buf.append("<input type=\"hidden\" name=\"formPassword\" value=\"").append(node.formPassword).append("\" />"); buf.append("</form>\n"); } buf.append("</div>\n"); buf.append("</div>\n"); // new peer addition box buf.append("<div class=\"infobox infobox-normal\">\n"); buf.append("<div class=\"infobox-header\">\n"); buf.append("Add another peer\n"); buf.append("</div>\n"); buf.append("<div class=\"infobox-content\">\n"); buf.append("<form action=\".\" method=\"post\" enctype=\"multipart/form-data\">\n"); buf.append("Reference:<br />\n"); buf.append("<textarea id=\"reftext\" name=\"ref\" rows=\"8\" cols=\"74\"></textarea>\n"); buf.append("<br />\n"); buf.append("or URL:\n"); buf.append("<input id=\"refurl\" type=\"text\" name=\"url\" />\n"); buf.append("<br />\n"); buf.append("or file:\n"); buf.append("<input id=\"reffile\" type=\"file\" name=\"reffile\" />\n"); buf.append("<br />\n"); buf.append("<input type=\"hidden\" name=\"formPassword\" value=\"").append(node.formPassword).append("\" />"); buf.append("<input type=\"submit\" name=\"add\" value=\"Add\" />\n"); buf.append("</form>\n"); buf.append("</div>\n"); buf.append("</div>\n"); // our reference buf.append("<div class=\"infobox infobox-normal\">\n"); buf.append("<div class=\"infobox-header\">\n"); buf.append("<a href=\"myref.txt\">My Reference</a>\n"); buf.append("</div>\n"); buf.append("<div class=\"infobox-content\">\n"); buf.append("<pre id=\"reference\">\n"); buf.append(HTMLEncoder.encode(this.node.exportPublicFieldSet().toString())); buf.append("</pre>\n"); buf.append("</div>\n"); buf.append("</div>\n"); ctx.getPageMaker().makeTail(buf); this.writeReply(ctx, 200, "text/html", "OK", buf.toString()); }
52909 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52909/7504214b3d33c663389e1b6e19d52cddf236c0d8/DarknetConnectionsToadlet.java/clean/src/freenet/clients/http/DarknetConnectionsToadlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1640, 967, 12, 3098, 2003, 16, 2974, 361, 1810, 1042, 1103, 13, 1216, 2974, 361, 1810, 1042, 7395, 503, 16, 1860, 16, 9942, 503, 288, 9506, 202, 780, 589, 273, 2003, 18, 588, 743, 5621, 202, 202, 430, 12, 803, 18, 5839, 1190, 2932, 4811, 1734, 18, 5830, 6, 3719, 288, 1082, 202, 5784, 974, 694, 2662, 273, 756, 18, 6530, 4782, 974, 694, 5621, 1082, 202, 780, 2289, 1352, 273, 394, 17436, 5621, 1082, 202, 2556, 18, 2626, 774, 12, 5328, 1769, 1082, 202, 2211, 18, 2626, 7817, 12, 5900, 16, 4044, 16, 315, 955, 19, 7446, 3113, 315, 3141, 3113, 1352, 18, 10492, 10663, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 780, 1892, 1681, 273, 394, 6674, 12, 2163, 3247, 1769, 9506, 202, 759, 23891, 590, 273, 394, 25238, 12, 1650, 1769, 202, 202, 5900, 18, 588, 1964, 12373, 7675, 6540, 1414, 12, 4385, 16, 315, 40, 1313, 2758, 19622, 414, 8863, 9506, 202, 759, 9852, 5, 1660, 1608, 2690, 13752, 4602, 202, 202, 6813, 907, 8526, 4261, 3205, 273, 756, 18, 588, 40, 1313, 2758, 9314, 5621, 9506, 202, 5748, 2037, 273, 2332, 18, 2972, 28512, 5621, 9506, 202, 6385, 1250, 16111, 1526, 273, 756, 18, 588, 774, 361, 1810, 2170, 7675, 291, 23618, 40, 1313, 2758, 1526, 5621, 9506, 202, 2159, 18, 11798, 87, 18, 869, 4733, 4353, 12, 4385, 1769, 9506, 202, 20308, 756, 1267, 924, 1195, 202, 202, 474, 12986, 3595, 6763, 950, 273, 261, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1640, 967, 12, 3098, 2003, 16, 2974, 361, 1810, 1042, 1103, 13, 1216, 2974, 361, 1810, 1042, 7395, 503, 16, 1860, 16, 9942, 503, 288, 9506, 202, 780, 589, 273, 2003, 18, 588, 743, 5621, 202, 202, 430, 12, 803, 18, 5839, 1190, 2932, 4811, 1734, 18, 5830, 6, 3719, 288, 1082, 202, 5784, 974, 694, 2662, 273, 756, 18, 6530, 4782, 974, 694, 5621, 1082, 202, 780, 2289, 1352, 273, 394, 17436, 5621, 1082, 202, 2556, 18, 2626, 774, 12, 5328, 1769, 1082, 202, 2211, 18, 2626, 7817, 12, 5900, 16, 4044, 16, 315, 955, 19, 7446, 3113, 315, 3141, 3113, 1352, 18, 10492, 10663, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 2 ]
if(keyArray[i].startsWith(key))
if(key.startsWith(keyArray[i]))
private boolean allowableKey(String []keyArray, String key) { for(int i=0; i< keyArray.length; i++) { if(keyArray[i].startsWith(key)) return true; } return false; }
8150 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8150/eb57d9f3b211b458bdc1dba5b6f5ca8ab29fcdb7/PollManager.java/clean/src/org/lockss/poller/PollManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 30727, 653, 12, 780, 5378, 856, 1076, 16, 514, 498, 13, 288, 1377, 364, 12, 474, 277, 33, 20, 31, 277, 32, 498, 1076, 18, 2469, 31, 277, 27245, 288, 3639, 309, 12, 856, 18, 17514, 1190, 12, 856, 1076, 63, 77, 22643, 1850, 327, 638, 31, 1377, 289, 1377, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1250, 30727, 653, 12, 780, 5378, 856, 1076, 16, 514, 498, 13, 288, 1377, 364, 12, 474, 277, 33, 20, 31, 277, 32, 498, 1076, 18, 2469, 31, 277, 27245, 288, 3639, 309, 12, 856, 18, 17514, 1190, 12, 856, 1076, 63, 77, 22643, 1850, 327, 638, 31, 1377, 289, 1377, 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 ]
monitor.beginTask("", expectedProgressCount); runnable.run(); monitor.subTask(WorkbenchMessages.Startup_Done); int remainingWork = expectedProgressCount - Math.min(progressCount, (int)(expectedProgressCount * cutoff)); monitor.worked(remainingWork); Display.getCurrent().update(); monitor.done(); }});
monitor .beginTask( "", expectedProgressCount); runnable.run(); monitor .subTask(WorkbenchMessages.Startup_Done); int remainingWork = expectedProgressCount - Math .min( progressCount, (int) (expectedProgressCount * cutoff)); monitor.worked(remainingWork); Display.getCurrent().update(); monitor.done(); }
public void run(IProgressMonitor monitor) { monitor.beginTask("", expectedProgressCount); //$NON-NLS-1$ runnable.run(); monitor.subTask(WorkbenchMessages.Startup_Done); int remainingWork = expectedProgressCount - Math.min(progressCount, (int)(expectedProgressCount * cutoff)); monitor.worked(remainingWork); Display.getCurrent().update(); monitor.done(); }});
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/ceaf5a592c5c473fe2f2589a6776f6447f9b481f/Workbench.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4405, 202, 482, 918, 1086, 12, 45, 5491, 7187, 6438, 13, 288, 25083, 202, 10259, 18, 10086, 2174, 2932, 3113, 2665, 5491, 1380, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 6862, 202, 2681, 6914, 18, 2681, 5621, 6862, 6862, 9506, 202, 10259, 18, 1717, 2174, 12, 2421, 22144, 5058, 18, 22178, 67, 7387, 1769, 25083, 202, 474, 4463, 2421, 273, 2665, 5491, 1380, 300, 2361, 18, 1154, 12, 8298, 1380, 16, 261, 474, 21433, 3825, 5491, 1380, 380, 13383, 10019, 25083, 202, 10259, 18, 1252, 329, 12, 17956, 2421, 1769, 25083, 202, 4236, 18, 588, 3935, 7675, 2725, 5621, 25083, 202, 10259, 18, 8734, 5621, 6862, 202, 9090, 1769, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4405, 202, 482, 918, 1086, 12, 45, 5491, 7187, 6438, 13, 288, 25083, 202, 10259, 18, 10086, 2174, 2932, 3113, 2665, 5491, 1380, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 6862, 202, 2681, 6914, 18, 2681, 5621, 6862, 6862, 9506, 202, 10259, 18, 1717, 2174, 12, 2421, 22144, 5058, 18, 22178, 67, 7387, 1769, 25083, 202, 474, 4463, 2421, 273, 2665, 5491, 1380, 300, 2361, 18, 1154, 12, 8298, 1380, 16, 261, 474, 21433, 3825, 5491, 1380, 380, 13383, 10019, 25083, 202, 10259, 18, 1252, 329, 12, 17956, 2421, 1769, 25083, 202, 4236, 18, 588, 3935, 7675, 2725, 5621, 25083, 202, 10259, 18, 8734, 5621, 6862, 202, 9090, 1769, 2, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (s == null && canCreate) s = createObjectID(obj);
if (s == null && canCreate) s = createObjectID(obj);
public static String getIDOfObject(Object obj, boolean canCreate) { String s = readObjectID(obj); if (s == null && canCreate) s = createObjectID(obj); return s; }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/ItemUID.java/clean/src_new/org/argouml/cognitive/ItemUID.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 514, 14744, 951, 921, 12, 921, 1081, 16, 1250, 848, 1684, 13, 202, 95, 202, 202, 780, 272, 273, 17362, 734, 12, 2603, 1769, 202, 202, 430, 261, 87, 422, 446, 597, 848, 1684, 13, 1082, 202, 87, 273, 17109, 734, 12, 2603, 1769, 202, 202, 2463, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 482, 760, 514, 14744, 951, 921, 12, 921, 1081, 16, 1250, 848, 1684, 13, 202, 95, 202, 202, 780, 272, 273, 17362, 734, 12, 2603, 1769, 202, 202, 430, 261, 87, 422, 446, 597, 848, 1684, 13, 1082, 202, 87, 273, 17109, 734, 12, 2603, 1769, 202, 202, 2463, 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 ]
private SCManager () { }
private SCManager() { setDefaultServerKey(); }
private SCManager () { // TODO Implante le contructeur }
11039 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11039/42227b086f9b2eb06dfed743179f70361cc75d0d/SCManager.java/clean/trunk/src/de/berlios/jmds/server/SCManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 8795, 1318, 1832, 202, 95, 202, 202, 759, 2660, 2221, 7088, 736, 884, 356, 8813, 73, 295, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 8795, 1318, 1832, 202, 95, 202, 202, 759, 2660, 2221, 7088, 736, 884, 356, 8813, 73, 295, 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 ]
while (queue.size() == 0) {
while (!done && queue.size() == 0) {
private Packet nextPacket() { synchronized(queue) { while (queue.size() == 0) { try { queue.wait(); } catch (InterruptedException ie) { } } return (Packet)queue.removeLast(); } }
4336 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4336/4dfb2b08fad982ad760ed6e1ae56a43ebee809d1/PacketWriter.java/clean/source/org/jivesoftware/smack/PacketWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 11114, 1024, 6667, 1435, 288, 3639, 3852, 12, 4000, 13, 288, 5411, 1323, 16051, 8734, 597, 2389, 18, 1467, 1435, 422, 374, 13, 288, 7734, 775, 288, 10792, 2389, 18, 7048, 5621, 7734, 289, 7734, 1044, 261, 24485, 503, 9228, 13, 288, 289, 5411, 289, 5411, 327, 261, 6667, 13, 4000, 18, 4479, 3024, 5621, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 11114, 1024, 6667, 1435, 288, 3639, 3852, 12, 4000, 13, 288, 5411, 1323, 16051, 8734, 597, 2389, 18, 1467, 1435, 422, 374, 13, 288, 7734, 775, 288, 10792, 2389, 18, 7048, 5621, 7734, 289, 7734, 1044, 261, 24485, 503, 9228, 13, 288, 289, 5411, 289, 5411, 327, 261, 6667, 13, 4000, 18, 4479, 3024, 5621, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
JLabel infoLabel = new JLabel(parent.langpack.getString("PacksPanel.info"), parent.icons.getImageIcon("preferences"), JLabel.TRAILING);
JLabel infoLabel = new JLabel( parent.langpack.getString("PacksPanel.info"), parent.icons.getImageIcon("preferences"), JLabel.TRAILING);
public PacksPanel(InstallerFrame parent, InstallData idata) { super(parent, idata); setLayout(new BoxLayout(this, BoxLayout.Y_AXIS)); JLabel infoLabel = new JLabel(parent.langpack.getString("PacksPanel.info"), parent.icons.getImageIcon("preferences"), JLabel.TRAILING); add(infoLabel); add(Box.createRigidArea(new Dimension(0, 3))); JLabel tipLabel = new JLabel(parent.langpack.getString("PacksPanel.tip"), parent.icons.getImageIcon("tip"), JLabel.TRAILING); add(tipLabel); add(Box.createRigidArea(new Dimension(0, 5))); packsTable = new JTable(); packsTable.setIntercellSpacing(new Dimension(0,0)); packsTable.setBackground(Color.white); packsTable.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); packsTable.getSelectionModel().addListSelectionListener(this); packsTable.setShowGrid(false); tableScroller = new JScrollPane(packsTable); tableScroller.setAlignmentX(LEFT_ALIGNMENT); tableScroller.getViewport().setBackground(Color.white); tableScroller.setPreferredSize(new Dimension(300,(idata.guiPrefs.height/3+30))); add(tableScroller); descriptionArea = new JTextArea(); descriptionArea.setMargin(new Insets(2,2,2,2)); descriptionArea.setAlignmentX(LEFT_ALIGNMENT); descriptionArea.setCaretPosition(0); descriptionArea.setEditable(false); descriptionArea.setEditable(false); descriptionArea.setOpaque(false); descriptionArea.setLineWrap(true); descriptionArea.setWrapStyleWord(true); descriptionArea.setBorder(BorderFactory.createTitledBorder(parent.langpack.getString("PacksPanel.description"))); add(descriptionArea); JPanel spacePanel = new JPanel(); spacePanel.setAlignmentX(LEFT_ALIGNMENT); spacePanel.setLayout(new BoxLayout(spacePanel, BoxLayout.X_AXIS)); spacePanel.add(new JLabel(parent.langpack.getString("PacksPanel.space"))); spacePanel.add(Box.createHorizontalGlue()); spaceLabel = new JLabel("");// spaceLabel.setFont(new Font("Monospaced",Font.PLAIN,11)); spacePanel.add(spaceLabel); add(spacePanel); }
54145 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54145/6e8ab3930a21f787bcd0f3cf0b9937f9d50c80c0/PacksPanel.java/buggy/src/lib/com/izforge/izpack/panels/PacksPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 7930, 87, 5537, 12, 18678, 3219, 982, 16, 10284, 751, 612, 396, 13, 225, 288, 565, 2240, 12, 2938, 16, 612, 396, 1769, 565, 18479, 12, 2704, 8549, 3744, 12, 2211, 16, 8549, 3744, 18, 61, 67, 25614, 10019, 565, 21403, 1123, 2224, 273, 394, 21403, 12, 982, 18, 4936, 2920, 18, 588, 780, 2932, 4420, 87, 5537, 18, 1376, 6, 3631, 982, 18, 14516, 18, 588, 2040, 5554, 2932, 23219, 6, 3631, 21403, 18, 20060, 2627, 1360, 1769, 565, 527, 12, 1376, 2224, 1769, 565, 527, 12, 3514, 18, 2640, 54, 28542, 5484, 12, 2704, 13037, 12, 20, 16, 890, 3719, 1769, 565, 21403, 9529, 2224, 273, 394, 21403, 12, 2938, 18, 4936, 2920, 18, 588, 780, 2932, 4420, 87, 5537, 18, 14587, 6, 3631, 982, 18, 14516, 18, 588, 2040, 5554, 2932, 14587, 6, 3631, 21403, 18, 20060, 2627, 1360, 1769, 565, 527, 12, 14587, 2224, 1769, 565, 527, 12, 3514, 18, 2640, 54, 28542, 5484, 12, 2704, 13037, 12, 20, 16, 1381, 3719, 1769, 565, 2298, 87, 1388, 273, 394, 804, 1388, 5621, 565, 2298, 87, 1388, 18, 542, 2465, 3855, 18006, 12, 2704, 13037, 12, 20, 16, 20, 10019, 565, 2298, 87, 1388, 18, 542, 8199, 12, 2957, 18, 14739, 1769, 565, 2298, 87, 1388, 18, 542, 6233, 2309, 12, 682, 6233, 1488, 18, 20184, 67, 1090, 15445, 1769, 565, 2298, 87, 1388, 18, 588, 6233, 1488, 7675, 1289, 682, 6233, 2223, 12, 2211, 1769, 565, 2298, 87, 1388, 18, 542, 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, 7930, 87, 5537, 12, 18678, 3219, 982, 16, 10284, 751, 612, 396, 13, 225, 288, 565, 2240, 12, 2938, 16, 612, 396, 1769, 565, 18479, 12, 2704, 8549, 3744, 12, 2211, 16, 8549, 3744, 18, 61, 67, 25614, 10019, 565, 21403, 1123, 2224, 273, 394, 21403, 12, 982, 18, 4936, 2920, 18, 588, 780, 2932, 4420, 87, 5537, 18, 1376, 6, 3631, 982, 18, 14516, 18, 588, 2040, 5554, 2932, 23219, 6, 3631, 21403, 18, 20060, 2627, 1360, 1769, 565, 527, 12, 1376, 2224, 1769, 565, 527, 12, 3514, 18, 2640, 54, 28542, 5484, 12, 2704, 13037, 12, 20, 16, 890, 3719, 1769, 565, 21403, 9529, 2224, 273, 394, 21403, 12, 2938, 18, 4936, 2920, 18, 588, 2 ]
broker = brokerPool.get(user);
broker = pool.get(user);
public Date getCreationTime() throws XMLDBException { DBBroker broker = null; try { broker = brokerPool.get(user); DocumentImpl document = getDocument(broker, false); if (!document.getPermissions().validate(user, Permission.READ)) throw new XMLDBException(ErrorCodes.PERMISSION_DENIED, "permission denied to read resource"); return new Date(document.getCreated()); } catch (EXistException e) { throw new XMLDBException(ErrorCodes.UNKNOWN_ERROR, e.getMessage(), e); } finally { brokerPool.release(broker); } }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/7f8b9e1ed7cd1231abcaa3236c78e26e77e01501/LocalXMLResource.java/clean/src/org/exist/xmldb/LocalXMLResource.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2167, 15759, 367, 950, 1435, 1216, 26014, 503, 288, 202, 202, 2290, 11194, 8625, 273, 446, 31, 202, 202, 698, 288, 1082, 202, 21722, 273, 8625, 2864, 18, 588, 12, 1355, 1769, 1082, 202, 2519, 2828, 1668, 273, 9956, 12, 21722, 16, 629, 1769, 1082, 202, 430, 16051, 5457, 18, 588, 6521, 7675, 5662, 12, 1355, 16, 8509, 18, 6949, 3719, 9506, 202, 12849, 394, 26014, 503, 12, 668, 6295, 18, 23330, 67, 13296, 29229, 16, 25083, 202, 6, 9827, 15338, 358, 855, 1058, 8863, 1082, 202, 2463, 394, 2167, 12, 5457, 18, 588, 6119, 10663, 202, 202, 97, 1044, 261, 2294, 376, 503, 425, 13, 288, 1082, 202, 12849, 394, 26014, 503, 12, 668, 6295, 18, 14737, 67, 3589, 16, 425, 18, 24906, 9334, 6862, 202, 73, 1769, 202, 202, 97, 3095, 288, 1082, 202, 21722, 2864, 18, 9340, 12, 21722, 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, 482, 2167, 15759, 367, 950, 1435, 1216, 26014, 503, 288, 202, 202, 2290, 11194, 8625, 273, 446, 31, 202, 202, 698, 288, 1082, 202, 21722, 273, 8625, 2864, 18, 588, 12, 1355, 1769, 1082, 202, 2519, 2828, 1668, 273, 9956, 12, 21722, 16, 629, 1769, 1082, 202, 430, 16051, 5457, 18, 588, 6521, 7675, 5662, 12, 1355, 16, 8509, 18, 6949, 3719, 9506, 202, 12849, 394, 26014, 503, 12, 668, 6295, 18, 23330, 67, 13296, 29229, 16, 25083, 202, 6, 9827, 15338, 358, 855, 1058, 8863, 1082, 202, 2463, 394, 2167, 12, 5457, 18, 588, 6119, 10663, 202, 202, 97, 1044, 261, 2294, 376, 503, 425, 13, 288, 1082, 202, 12849, 394, 26014, 503, 12, 668, 6295, 2 ]
System.err.println("def_class rewrite push "+decl);
public boolean scanForDefinitions (Pair st, java.util.Vector forms, ScopeExp defs, Translator tr) { Pair p; if (! (st.cdr instanceof Pair) || ! ((p = (Pair) st.cdr).car instanceof String)) return super.scanForDefinitions(st, forms, defs, tr); String name = (String) p.car; Declaration decl = new Declaration(name); ClassExp oexp = new ClassExp(); decl.noteValue(oexp); if (isSimple) decl.setFlag(Declaration.STATIC_SPECIFIED); decl.setFlag(Declaration.IS_CONSTANT); decl.setType(Compilation.typeClassType); if (defs instanceof ModuleExp) { tr.mustCompileHere(); tr.mustCompileHere(); tr.push(decl); System.err.println("def_class rewrite push "+decl); } Pair declForm = tr.makePair(p, decl, p.cdr); if (declForm instanceof PairWithPosition) { PairWithPosition declPos = (PairWithPosition) declForm; decl.setFile(declPos.getFile()); decl.setLine(declPos.getLine(), declPos.getColumn()); } System.err.println("cl add decl:"+decl+ " defs:"+defs); defs.addDeclaration(decl); st = tr.makePair(st, this, declForm); forms.addElement (st); return true; }
37648 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37648/2e8c9e19890c6a8b8c6fb458d3c33cce97e9c405/define_class.java/buggy/kawa/standard/define_class.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 4135, 1290, 7130, 261, 4154, 384, 16, 2252, 18, 1367, 18, 5018, 10138, 16, 19694, 5468, 2966, 17588, 16, 18669, 433, 13, 225, 288, 565, 8599, 293, 31, 565, 309, 16051, 261, 334, 18, 71, 3069, 1276, 8599, 13, 3639, 747, 401, 14015, 84, 273, 261, 4154, 13, 384, 18, 71, 3069, 2934, 9815, 1276, 514, 3719, 1377, 327, 2240, 18, 9871, 1290, 7130, 12, 334, 16, 10138, 16, 17588, 16, 433, 1769, 565, 514, 508, 273, 261, 780, 13, 293, 18, 9815, 31, 565, 16110, 4302, 3496, 273, 394, 16110, 4302, 12, 529, 1769, 565, 1659, 2966, 320, 2749, 273, 394, 1659, 2966, 5621, 565, 3496, 18, 7652, 620, 12, 83, 2749, 1769, 565, 309, 261, 291, 5784, 13, 1377, 3496, 18, 542, 4678, 12, 6094, 18, 22741, 67, 13847, 13519, 1769, 565, 3496, 18, 542, 4678, 12, 6094, 18, 5127, 67, 25878, 1769, 565, 3496, 18, 542, 559, 12, 19184, 18, 723, 18328, 1769, 565, 309, 261, 12537, 1276, 5924, 2966, 13, 1377, 288, 3639, 433, 18, 11926, 9937, 26715, 5621, 3639, 433, 18, 11926, 9937, 26715, 5621, 3639, 433, 18, 6206, 12, 8840, 1769, 2398, 289, 565, 8599, 3496, 1204, 273, 433, 18, 6540, 4154, 12, 84, 16, 3496, 16, 293, 18, 71, 3069, 1769, 565, 309, 261, 8840, 1204, 1276, 8599, 1190, 2555, 13, 1377, 288, 3639, 8599, 1190, 2555, 3496, 1616, 273, 261, 4154, 1190, 2555, 13, 3496, 1204, 31, 3639, 3496, 18, 542, 812, 12, 8840, 1616, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 4135, 1290, 7130, 261, 4154, 384, 16, 2252, 18, 1367, 18, 5018, 10138, 16, 19694, 5468, 2966, 17588, 16, 18669, 433, 13, 225, 288, 565, 8599, 293, 31, 565, 309, 16051, 261, 334, 18, 71, 3069, 1276, 8599, 13, 3639, 747, 401, 14015, 84, 273, 261, 4154, 13, 384, 18, 71, 3069, 2934, 9815, 1276, 514, 3719, 1377, 327, 2240, 18, 9871, 1290, 7130, 12, 334, 16, 10138, 16, 17588, 16, 433, 1769, 565, 514, 508, 273, 261, 780, 13, 293, 18, 9815, 31, 565, 16110, 4302, 3496, 273, 394, 16110, 4302, 12, 529, 1769, 565, 1659, 2966, 320, 2749, 273, 394, 1659, 2966, 5621, 565, 3496, 18, 7652, 620, 12, 83, 2749, 1769, 565, 309, 2 ]
public org.quickfix.field.ContraryInstructionIndicator getContraryInstructionIndicator() throws FieldNotFound { org.quickfix.field.ContraryInstructionIndicator value = new org.quickfix.field.ContraryInstructionIndicator();
public quickfix.field.ContraryInstructionIndicator getContraryInstructionIndicator() throws FieldNotFound { quickfix.field.ContraryInstructionIndicator value = new quickfix.field.ContraryInstructionIndicator();
public org.quickfix.field.ContraryInstructionIndicator getContraryInstructionIndicator() throws FieldNotFound { org.quickfix.field.ContraryInstructionIndicator value = new org.quickfix.field.ContraryInstructionIndicator(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/PositionMaintenanceRequest.java/buggy/src/java/src/quickfix/fix44/PositionMaintenanceRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 442, 313, 814, 11983, 13140, 336, 442, 313, 814, 11983, 13140, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 442, 313, 814, 11983, 13140, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 442, 313, 814, 11983, 13140, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 442, 313, 814, 11983, 13140, 336, 442, 313, 814, 11983, 13140, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 442, 313, 814, 11983, 13140, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 442, 313, 814, 11983, 13140, 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 ]
db.setAutoCommit(true);
public void init() { try { db.setAutoCommit(true); stat.executeUpdate("create table images (imgname name,imgoid oid)"); label.setText("Initialised database"); db.commit(); } catch(SQLException ex) { label.setText(ex.toString()); } // This must run outside the previous try{} catch{} segment try { db.setAutoCommit(true); } catch(SQLException ex) { label.setText(ex.toString()); } }
45454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45454/02faee5eaa0ed93364446f5c186fa6904899dca6/ImageViewer.java/clean/src/interfaces/jdbc/example/ImageViewer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1208, 1435, 225, 288, 565, 775, 288, 5411, 610, 18, 8837, 1891, 2932, 2640, 1014, 4602, 261, 6081, 529, 508, 16, 6081, 839, 7764, 2225, 1769, 1377, 1433, 18, 542, 1528, 2932, 4435, 5918, 2063, 8863, 1377, 1319, 18, 7371, 5621, 565, 289, 1044, 12, 23116, 431, 13, 288, 1377, 1433, 18, 542, 1528, 12, 338, 18, 10492, 10663, 565, 289, 3639, 368, 1220, 1297, 1086, 8220, 326, 2416, 775, 2916, 1044, 2916, 3267, 565, 775, 288, 1850, 289, 1044, 12, 23116, 431, 13, 288, 1377, 1433, 18, 542, 1528, 12, 338, 18, 10492, 10663, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1208, 1435, 225, 288, 565, 775, 288, 5411, 610, 18, 8837, 1891, 2932, 2640, 1014, 4602, 261, 6081, 529, 508, 16, 6081, 839, 7764, 2225, 1769, 1377, 1433, 18, 542, 1528, 2932, 4435, 5918, 2063, 8863, 1377, 1319, 18, 7371, 5621, 565, 289, 1044, 12, 23116, 431, 13, 288, 1377, 1433, 18, 542, 1528, 12, 338, 18, 10492, 10663, 565, 289, 3639, 368, 1220, 1297, 1086, 8220, 326, 2416, 775, 2916, 1044, 2916, 3267, 565, 775, 288, 1850, 289, 1044, 12, 23116, 431, 13, 288, 1377, 1433, 18, 542, 1528, 12, 338, 18, 10492, 10663, 565, 289, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void testGetByte() {
public void testGetByte() {
public void testGetByte() { eprop.setProperty("number", "1"); byte oneB = 1, twoB = 2; assertEquals("This returns 1(byte)",eprop.getByte("number"),oneB); assertEquals("This returns 1(byte)",eprop.getByte("number",twoB),oneB); assertEquals("This returns 2(default byte)", eprop.getByte("numberNotInConfig",twoB), twoB); assertEquals("This returns 1(Byte)", eprop.getByte("number",new Byte("2")), new Byte(oneB)); }
56523 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56523/4594b718e65a428a13e16a14d929289d0fa0b744/TestBaseConfiguration.java/buggy/src/test/org/apache/commons/configuration/TestBaseConfiguration.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 967, 3216, 1435, 288, 3639, 425, 5986, 18, 542, 1396, 2932, 2696, 3113, 315, 21, 8863, 3639, 1160, 1245, 38, 273, 404, 16, 2795, 38, 273, 576, 31, 3639, 1815, 8867, 2932, 2503, 1135, 404, 12, 7229, 2225, 16, 73, 5986, 18, 588, 3216, 2932, 2696, 6, 3631, 476, 38, 1769, 3639, 1815, 8867, 2932, 2503, 1135, 404, 12, 7229, 2225, 16, 73, 5986, 18, 588, 3216, 2932, 2696, 3113, 15415, 38, 3631, 476, 38, 1769, 3639, 1815, 8867, 2932, 2503, 1135, 576, 12, 1886, 1160, 2225, 16, 5397, 425, 5986, 18, 588, 3216, 2932, 2696, 21855, 809, 3113, 15415, 38, 3631, 5397, 2795, 38, 1769, 3639, 1815, 8867, 2932, 2503, 1135, 404, 12, 3216, 2225, 16, 5397, 425, 5986, 18, 588, 3216, 2932, 2696, 3113, 2704, 3506, 2932, 22, 7923, 3631, 5397, 394, 3506, 12, 476, 38, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 967, 3216, 1435, 288, 3639, 425, 5986, 18, 542, 1396, 2932, 2696, 3113, 315, 21, 8863, 3639, 1160, 1245, 38, 273, 404, 16, 2795, 38, 273, 576, 31, 3639, 1815, 8867, 2932, 2503, 1135, 404, 12, 7229, 2225, 16, 73, 5986, 18, 588, 3216, 2932, 2696, 6, 3631, 476, 38, 1769, 3639, 1815, 8867, 2932, 2503, 1135, 404, 12, 7229, 2225, 16, 73, 5986, 18, 588, 3216, 2932, 2696, 3113, 15415, 38, 3631, 476, 38, 1769, 3639, 1815, 8867, 2932, 2503, 1135, 576, 12, 1886, 1160, 2225, 16, 5397, 425, 5986, 18, 588, 3216, 2932, 2696, 21855, 809, 3113, 15415, 38, 3631, 5397, 2795, 38, 1769, 3639, 1815, 8867, 2932, 2503, 1135, 404, 12, 3216, 2 ]
public UniversalString(String s) throws CharConversionException { super(s);
public UniversalString(char[] chars) throws CharConversionException { super(chars);
public UniversalString(String s) throws CharConversionException { super(s); }
7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/3634d4d94b208431471fe506f413f97d460c7602/UniversalString.java/buggy/security/jss/org/mozilla/jss/asn1/UniversalString.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 27705, 780, 12, 780, 272, 13, 1216, 3703, 6814, 503, 288, 3639, 2240, 12, 87, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 27705, 780, 12, 780, 272, 13, 1216, 3703, 6814, 503, 288, 3639, 2240, 12, 87, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
protected PopupAction(String title, Icon icon) {
protected PopupAction(String title, Icon icon, final int index) {
protected PopupAction(String title, Icon icon) { myTitle = title; myIcon = icon; }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/e8c07f0da17586b1d1f244e99c2d72796c41b72f/ClasspathPanel.java/buggy/source/com/intellij/openapi/roots/ui/configuration/ClasspathPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 10264, 416, 1803, 12, 780, 2077, 16, 16011, 4126, 16, 727, 509, 770, 13, 288, 1377, 3399, 4247, 273, 2077, 31, 1377, 3399, 5554, 273, 4126, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 10264, 416, 1803, 12, 780, 2077, 16, 16011, 4126, 16, 727, 509, 770, 13, 288, 1377, 3399, 4247, 273, 2077, 31, 1377, 3399, 5554, 273, 4126, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
addByteCode(ByteCode.ALOAD_0);
addByteCode(ByteCode.ALOAD_0);
private void generateInit(Context cx, String methodName, String name) { trivialInit = true; boolean inCtor = false; if (methodName.equals("<init>")) { inCtor = true; setNonTrivialInit(methodName); addByteCode(ByteCode.ALOAD_0); addSpecialInvoke(superClassSlashName, "<init>", "()", "V"); addByteCode(ByteCode.ALOAD_0); addByteCode(ByteCode.ALOAD_1); classFile.add(ByteCode.PUTFIELD, "org/mozilla/javascript/ScriptableObject", "parent", "Lorg/mozilla/javascript/Scriptable;"); } /* * Generate code to initialize functionName field with the name * of the function and argNames string array with the names * of the parameters and the vars. Initialize argCount * to the number of formal parameters. */ if (name.length() != 0) { setNonTrivialInit(methodName); addByteCode(ByteCode.ALOAD_0); classFile.addLoadConstant(name); classFile.add(ByteCode.PUTFIELD, "org/mozilla/javascript/NativeFunction", "functionName", "Ljava/lang/String;"); } int N = scriptOrFn.getParamAndVarCount(); if (N != 0) { setNonTrivialInit(methodName); push(N); addByteCode(ByteCode.ANEWARRAY, "java/lang/String"); for (int i = 0; i != N; i++) { addByteCode(ByteCode.DUP); push(i); push(scriptOrFn.getParamOrVarName(i)); addByteCode(ByteCode.AASTORE); } addByteCode(ByteCode.ALOAD_0); addByteCode(ByteCode.SWAP); classFile.add(ByteCode.PUTFIELD, "org/mozilla/javascript/NativeFunction", "argNames", "[Ljava/lang/String;"); } int parmCount = scriptOrFn.getParamCount(); if (parmCount != 0) { setNonTrivialInit(methodName); addByteCode(ByteCode.ALOAD_0); push(parmCount); classFile.add(ByteCode.PUTFIELD, "org/mozilla/javascript/NativeFunction", "argCount", "S"); } // Initialize NativeFunction.version with Context's version. if (cx.getLanguageVersion() != 0) { setNonTrivialInit(methodName); addByteCode(ByteCode.ALOAD_0); push(cx.getLanguageVersion()); classFile.add(ByteCode.PUTFIELD, "org/mozilla/javascript/NativeFunction", "version", "S"); } // precompile all regexp literals int regexpCount = scriptOrFn.getRegexpCount(); if (regexpCount != 0) { setNonTrivialInit(methodName); generateRegExpLiterals(inCtor); } if (scriptOrFn instanceof OptFunctionNode) { if (fnCurrent.isTargetOfDirectCall()) { setNonTrivialInit(methodName); String className = fnCurrent.getClassName(); String fieldName = className.replace('.', '_'); String fieldType = 'L'+classFile.fullyQualifiedForm(className) +';'; classFile.addField(fieldName, fieldType, (short)(ClassFileWriter.ACC_PUBLIC | ClassFileWriter.ACC_STATIC)); addByteCode(ByteCode.ALOAD_0); classFile.add(ByteCode.PUTSTATIC, className, fieldName, fieldType); } } if (!trivialInit) { addByteCode(ByteCode.RETURN); finishMethod(cx, null); } // Add static method to return encoded source tree for decompilation // which will be called from OptFunction/OptScrript.getSourcesTree // via reflection. See NativeFunction.getSourcesTree for documentation. // Note that nested function decompilation currently depends on the // elements of the fns array being defined in source order. // (per function/script, starting from 0.) // Change Parser if changing ordering. if (cx.isGeneratingSource()) { String source = scriptOrFn.getEncodedSource(); if (source != null && source.length() < 65536) { short flags = ClassFileWriter.ACC_PUBLIC | ClassFileWriter.ACC_STATIC; String getSourceMethodStr = "getSourcesTreeImpl"; classFile.startMethod(getSourceMethodStr, "()Ljava/lang/Object;", (short)flags); int functionCount = scriptOrFn.getFunctionCount(); if (functionCount == 0) { // generate return <source-literal-string>; push(source); } else { // generate // Object[] result = new Object[1 + functionCount]; // result[0] = <source-literal-string> // result[1] = Class1.getSourcesTreeImpl(); // ... // result[functionCount] = ClassN.getSourcesTreeImpl(); // return result; push(1 + functionCount); addByteCode(ByteCode.ANEWARRAY, "java/lang/Object"); addByteCode(ByteCode.DUP); // dup array reference push(0); push(source); addByteCode(ByteCode.AASTORE); for (int i = 0; i != functionCount; ++i) { OptFunctionNode fn; addByteCode(ByteCode.DUP); // dup array reference push(1 + i); fn = (OptFunctionNode)scriptOrFn.getFunctionNode(i); classFile.add(ByteCode.INVOKESTATIC, fn.getClassName(), getSourceMethodStr, "()", "Ljava/lang/Object;"); addByteCode(ByteCode.AASTORE); } } addByteCode(ByteCode.ARETURN); classFile.stopMethod((short)0, null); } } }
19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/e741d0cb339d08bcfa9cb588bcb30951ac0436be/Codegen.java/clean/src/org/mozilla/javascript/optimizer/Codegen.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2103, 2570, 12, 1042, 9494, 16, 514, 4918, 16, 514, 508, 13, 565, 288, 3639, 433, 20109, 2570, 273, 638, 31, 3639, 1250, 14743, 13039, 273, 629, 31, 3639, 309, 261, 2039, 461, 18, 14963, 2932, 32, 2738, 2984, 3719, 288, 5411, 14743, 13039, 273, 638, 31, 5411, 444, 3989, 1070, 20109, 2570, 12, 2039, 461, 1769, 5411, 527, 3216, 1085, 12, 3216, 1085, 18, 1013, 51, 1880, 67, 20, 1769, 5411, 527, 12193, 10969, 12, 9565, 797, 11033, 461, 16, 3532, 2738, 2984, 16, 25605, 3113, 315, 58, 8863, 5411, 527, 3216, 1085, 12, 3216, 1085, 18, 1013, 51, 1880, 67, 20, 1769, 5411, 527, 3216, 1085, 12, 3216, 1085, 18, 1013, 51, 1880, 67, 21, 1769, 5411, 29728, 18, 1289, 12, 3216, 1085, 18, 4762, 6776, 16, 12900, 315, 3341, 19, 8683, 15990, 19, 11242, 19, 3651, 429, 921, 3113, 12900, 315, 2938, 3113, 315, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 3651, 429, 4868, 1769, 3639, 289, 3639, 1748, 540, 380, 6654, 981, 358, 4046, 14117, 652, 598, 326, 508, 540, 380, 434, 326, 445, 471, 1501, 1557, 533, 526, 598, 326, 1257, 540, 380, 434, 326, 1472, 471, 326, 4153, 18, 9190, 1501, 1380, 540, 380, 358, 326, 1300, 434, 25739, 1472, 18, 540, 1195, 3639, 309, 261, 529, 18, 2469, 1435, 480, 374, 13, 288, 5411, 444, 3989, 1070, 20109, 2570, 12, 2039, 461, 1769, 9079, 527, 3216, 1085, 12, 3216, 1085, 18, 1013, 51, 1880, 67, 20, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2103, 2570, 12, 1042, 9494, 16, 514, 4918, 16, 514, 508, 13, 565, 288, 3639, 433, 20109, 2570, 273, 638, 31, 3639, 1250, 14743, 13039, 273, 629, 31, 3639, 309, 261, 2039, 461, 18, 14963, 2932, 32, 2738, 2984, 3719, 288, 5411, 14743, 13039, 273, 638, 31, 5411, 444, 3989, 1070, 20109, 2570, 12, 2039, 461, 1769, 5411, 527, 3216, 1085, 12, 3216, 1085, 18, 1013, 51, 1880, 67, 20, 1769, 5411, 527, 12193, 10969, 12, 9565, 797, 11033, 461, 16, 3532, 2738, 2984, 16, 25605, 3113, 315, 58, 8863, 5411, 527, 3216, 1085, 12, 3216, 1085, 18, 1013, 51, 1880, 67, 20, 1769, 5411, 527, 3216, 1085, 12, 3216, 1085, 18, 1013, 51, 1880, 67, 2 ]
String sig = JavaMembers.liveConnectSignature(ctor.argTypes); this.functionName = "<init>".concat(sig);
public NativeJavaConstructor(MemberBox ctor) { this.ctor = ctor; String sig = JavaMembers.liveConnectSignature(ctor.argTypes); this.functionName = "<init>".concat(sig); }
11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/bcf9f007878d03ecebb8f7a68970dc86c51376f1/NativeJavaConstructor.java/buggy/js/rhino/src/org/mozilla/javascript/NativeJavaConstructor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 16717, 5852, 6293, 12, 4419, 3514, 15120, 13, 565, 288, 3639, 333, 18, 30206, 273, 15120, 31, 3639, 514, 3553, 273, 5110, 6918, 18, 16472, 5215, 5374, 12, 30206, 18, 3175, 2016, 1769, 3639, 333, 18, 915, 461, 273, 3532, 2738, 2984, 18, 16426, 12, 7340, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16717, 5852, 6293, 12, 4419, 3514, 15120, 13, 565, 288, 3639, 333, 18, 30206, 273, 15120, 31, 3639, 514, 3553, 273, 5110, 6918, 18, 16472, 5215, 5374, 12, 30206, 18, 3175, 2016, 1769, 3639, 333, 18, 915, 461, 273, 3532, 2738, 2984, 18, 16426, 12, 7340, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]