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
fValue = CoreUtility.getWritableString(attr.getValue());
fValue = attr.getValue();
public ModelChangeElement(ModelChange parent, Object incoming) { fParent = parent; if (incoming instanceof PluginElementNode) { PluginElementNode elem = (PluginElementNode)incoming; IDocumentTextNode text = elem.getTextNode(); fValue = elem.getText(); generateValidKey(elem.getParent().getName(), elem.getName()); fOffset = text.getOffset(); fLength = text.getLength(); } else if (incoming instanceof PluginAttribute) { PluginAttribute attr = (PluginAttribute)incoming; fValue = CoreUtility.getWritableString(attr.getValue()); generateValidKey(attr.getEnclosingElement().getXMLTagName(), attr.getName()); fOffset = attr.getValueOffset(); fLength = attr.getValueLength(); } else if (incoming instanceof PluginExtensionPointNode) { PluginExtensionPointNode extP = (PluginExtensionPointNode)incoming; fValue = extP.getName(); generateValidKey("extension-point", "name"); //$NON-NLS-1$ //$NON-NLS-2$ IDocumentAttribute attr = extP.getDocumentAttribute("name"); //$NON-NLS-1$ fOffset = attr.getValueOffset(); fLength = attr.getValueLength(); } else if (incoming instanceof ManifestHeader) { ManifestHeader header = (ManifestHeader)incoming; fValue = header.getValue(); generateValidKey(header.getName()); fLength = fValue.length(); fOffset = header.getOffset() + header.getLength() - header.getLineLimiter().length() - fLength; } }
8783 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8783/48465be144ef032cde90fb2a04a836121ecd224c/ModelChangeElement.java/buggy/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/nls/ModelChangeElement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3164, 3043, 1046, 12, 1488, 3043, 982, 16, 1033, 6935, 13, 288, 202, 202, 74, 3054, 273, 982, 31, 202, 202, 430, 261, 31033, 1276, 6258, 1046, 907, 13, 288, 1082, 202, 3773, 1046, 907, 3659, 273, 261, 3773, 1046, 907, 13, 31033, 31, 1082, 202, 734, 504, 650, 17299, 977, 273, 3659, 18, 588, 17299, 5621, 1082, 202, 74, 620, 273, 3659, 18, 588, 1528, 5621, 1082, 202, 7163, 1556, 653, 12, 10037, 18, 588, 3054, 7675, 17994, 9334, 3659, 18, 17994, 10663, 1082, 202, 74, 2335, 273, 977, 18, 588, 2335, 5621, 1082, 202, 74, 1782, 273, 977, 18, 588, 1782, 5621, 202, 202, 97, 469, 309, 261, 31033, 1276, 6258, 1499, 13, 288, 1082, 202, 3773, 1499, 1604, 273, 261, 3773, 1499, 13, 31033, 31, 1082, 202, 74, 620, 273, 4586, 6497, 18, 588, 12061, 780, 12, 1747, 18, 24805, 10663, 1082, 202, 7163, 1556, 653, 12, 1747, 18, 588, 21594, 1046, 7675, 588, 4201, 8520, 9334, 1604, 18, 17994, 10663, 1082, 202, 74, 2335, 273, 1604, 18, 24805, 2335, 5621, 1082, 202, 74, 1782, 273, 1604, 18, 24805, 1782, 5621, 202, 202, 97, 469, 309, 261, 31033, 1276, 6258, 3625, 2148, 907, 13, 288, 1082, 202, 3773, 3625, 2148, 907, 1110, 52, 273, 261, 3773, 3625, 2148, 907, 13, 31033, 31, 1082, 202, 74, 620, 273, 1110, 52, 18, 17994, 5621, 1082, 202, 7163, 1556, 653, 2932, 6447, 17, 1153, 3113, 315, 529, 8863, 4329, 3993, 17, 5106, 17, 21, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3164, 3043, 1046, 12, 1488, 3043, 982, 16, 1033, 6935, 13, 288, 202, 202, 74, 3054, 273, 982, 31, 202, 202, 430, 261, 31033, 1276, 6258, 1046, 907, 13, 288, 1082, 202, 3773, 1046, 907, 3659, 273, 261, 3773, 1046, 907, 13, 31033, 31, 1082, 202, 734, 504, 650, 17299, 977, 273, 3659, 18, 588, 17299, 5621, 1082, 202, 74, 620, 273, 3659, 18, 588, 1528, 5621, 1082, 202, 7163, 1556, 653, 12, 10037, 18, 588, 3054, 7675, 17994, 9334, 3659, 18, 17994, 10663, 1082, 202, 74, 2335, 273, 977, 18, 588, 2335, 5621, 1082, 202, 74, 1782, 273, 977, 18, 588, 1782, 5621, 202, 202, 97, 469, 309, 261, 31033, 1276, 6258, 1499, 13, 288, 2 ]
addProperties(ctx.getProperties());
for (Iterator iterator = ctx.getMessage().getPropertyNames(); iterator.hasNext();) { Object o = iterator.next(); setProperty(o, ctx.getMessage().getProperty(o)); }
public ExceptionMessage(Object message, UMOEndpoint endpoint, Throwable exception, UMOEventContext ctx) { super(message); this.exception = exception; timeStamp = new Date(); componentName = ctx.getComponentDescriptor().getName(); if (endpoint != null) { endpointUri = endpoint.getEndpointURI(); } else { endpointUri = ctx.getEndpointURI(); } addProperties(ctx.getProperties()); }
28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/1c16135aeffdc8654133a2cfd4e29e2561335937/ExceptionMessage.java/buggy/mule/src/java/org/mule/impl/message/ExceptionMessage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1185, 1079, 12, 921, 883, 16, 587, 5980, 3293, 2494, 16, 4206, 1520, 16, 587, 5980, 1133, 1042, 1103, 13, 565, 288, 3639, 2240, 12, 2150, 1769, 3639, 333, 18, 4064, 273, 1520, 31, 3639, 18198, 273, 394, 2167, 5621, 3639, 20577, 273, 1103, 18, 588, 1841, 3187, 7675, 17994, 5621, 3639, 309, 261, 8003, 480, 446, 13, 288, 5411, 2494, 3006, 273, 2494, 18, 588, 3293, 3098, 5621, 3639, 289, 469, 288, 5411, 2494, 3006, 273, 1103, 18, 588, 3293, 3098, 5621, 3639, 289, 3639, 364, 261, 3198, 2775, 273, 1103, 18, 24906, 7675, 588, 29932, 5621, 2775, 18, 5332, 2134, 5621, 13, 288, 1033, 320, 273, 225, 2775, 18, 4285, 5621, 7486, 12, 83, 16, 1103, 18, 24906, 7675, 588, 1396, 12, 83, 10019, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1185, 1079, 12, 921, 883, 16, 587, 5980, 3293, 2494, 16, 4206, 1520, 16, 587, 5980, 1133, 1042, 1103, 13, 565, 288, 3639, 2240, 12, 2150, 1769, 3639, 333, 18, 4064, 273, 1520, 31, 3639, 18198, 273, 394, 2167, 5621, 3639, 20577, 273, 1103, 18, 588, 1841, 3187, 7675, 17994, 5621, 3639, 309, 261, 8003, 480, 446, 13, 288, 5411, 2494, 3006, 273, 2494, 18, 588, 3293, 3098, 5621, 3639, 289, 469, 288, 5411, 2494, 3006, 273, 1103, 18, 588, 3293, 3098, 5621, 3639, 289, 3639, 364, 261, 3198, 2775, 273, 1103, 18, 24906, 7675, 588, 29932, 5621, 2775, 18, 5332, 2134, 5621, 13, 288, 1033, 320, 273, 225, 2775, 18, 4285, 5621, 7486, 12, 83, 16, 2 ]
Map<String,Object> description = new HashMap<String,Object>();
private static Map<String,Object> setAllInterestingProperties(SQLObject target, Set<String> propertiesToIgnore) throws Exception { Map<String,Object> description = new HashMap<String,Object>(); PropertyDescriptor props[] = PropertyUtils.getPropertyDescriptors(target); for (int i = 0; i < props.length; i++) { Object oldVal = null; if (PropertyUtils.isReadable(target, props[i].getName()) && props[i].getReadMethod() != null && !propertiesToIgnore.contains(props[i].getName())) { oldVal = PropertyUtils.getProperty(target, props[i].getName()); } if (PropertyUtils.isWriteable(target, props[i].getName()) && props[i].getWriteMethod() != null && !propertiesToIgnore.contains(props[i].getName())) { // XXX: factor this (and the same thing in SQLTestCase) // out into a changeValue() method in some util class. Object newVal; // don't init here so compiler can warn if the following code doesn't always give it a value if (props[i].getPropertyType() == Integer.TYPE) { newVal = ((Integer)oldVal)+1; } else if (props[i].getPropertyType() == Integer.class) { if (oldVal == null) { newVal = new Integer(1); } else { newVal = new Integer((Integer)oldVal+1); } } else if (props[i].getPropertyType() == String.class) { // make sure it's unique newVal ="new " + oldVal; } else if (props[i].getPropertyType() == Boolean.TYPE){ newVal = new Boolean(! ((Boolean) oldVal).booleanValue()); } else if (props[i].getPropertyType() == SQLColumn.class) { newVal = new SQLColumn(); ((SQLColumn) newVal).setName("testing!"); } else { throw new RuntimeException("This test case lacks a value for "+ props[i].getName()+ " (type "+props[i].getPropertyType().getName()+")"); } PropertyUtils.setProperty(target, props[i].getName(), newVal); } } // read them all back at the end in case there were dependencies between properties return getAllInterestingProperties(target, propertiesToIgnore); }
53257 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53257/9f02dde8edeec34661e5cc475c6897e2ec6b3376/TestSwingUIProject.java/buggy/regress/ca/sqlpower/architect/swingui/TestSwingUIProject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 1635, 32, 780, 16, 921, 34, 30213, 2465, 10100, 2297, 12, 3997, 921, 1018, 16, 1082, 202, 694, 32, 780, 34, 1790, 774, 3777, 13, 1216, 1185, 288, 9506, 202, 863, 32, 780, 16, 921, 34, 2477, 273, 394, 4317, 32, 780, 16, 921, 34, 5621, 202, 202, 1396, 3187, 3458, 8526, 273, 4276, 1989, 18, 588, 1396, 12705, 12, 3299, 1769, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 3458, 18, 2469, 31, 277, 27245, 288, 1082, 202, 921, 1592, 3053, 273, 446, 31, 1082, 202, 430, 261, 1396, 1989, 18, 291, 14151, 12, 3299, 16, 3458, 63, 77, 8009, 17994, 10756, 597, 6862, 202, 9693, 63, 77, 8009, 588, 1994, 1305, 1435, 480, 446, 597, 6862, 202, 5, 4738, 774, 3777, 18, 12298, 12, 9693, 63, 77, 8009, 17994, 1435, 3719, 288, 9506, 202, 1673, 3053, 273, 4276, 1989, 18, 588, 1396, 12, 3299, 16, 3458, 63, 77, 8009, 17994, 10663, 1082, 202, 97, 1082, 202, 430, 261, 1396, 1989, 18, 291, 3067, 429, 12, 3299, 16, 3458, 63, 77, 8009, 17994, 10756, 597, 6862, 202, 9693, 63, 77, 8009, 588, 3067, 1305, 1435, 480, 446, 597, 6862, 202, 5, 4738, 774, 3777, 18, 12298, 12, 9693, 63, 77, 8009, 17994, 1435, 3719, 288, 6862, 9506, 202, 759, 11329, 30, 5578, 333, 261, 464, 326, 1967, 7757, 316, 3063, 4709, 2449, 13, 4697, 202, 759, 1377, 596, 1368, 279, 2549, 620, 1435, 707, 316, 2690, 1709, 667, 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, 1635, 32, 780, 16, 921, 34, 30213, 2465, 10100, 2297, 12, 3997, 921, 1018, 16, 1082, 202, 694, 32, 780, 34, 1790, 774, 3777, 13, 1216, 1185, 288, 9506, 202, 863, 32, 780, 16, 921, 34, 2477, 273, 394, 4317, 32, 780, 16, 921, 34, 5621, 202, 202, 1396, 3187, 3458, 8526, 273, 4276, 1989, 18, 588, 1396, 12705, 12, 3299, 1769, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 3458, 18, 2469, 31, 277, 27245, 288, 1082, 202, 921, 1592, 3053, 273, 446, 31, 1082, 202, 430, 261, 1396, 1989, 18, 291, 14151, 12, 3299, 16, 3458, 63, 77, 8009, 17994, 10756, 597, 6862, 202, 9693, 63, 77, 8009, 588, 1994, 2 ]
String addressString = address.getProtocol() + ":
String addressString = address.toString(); if (addressString.startsWith("file:/")) { String suffix = addressString.substring("file:/".length(), addressString.length()); addressString = "file: }
public boolean openURL(URL address) { // First, try to delegate up. if (super.openURL(address)) { return true; } else { try { // Mac doesn't like how Java formats URLs: // "file:/Users/dir/file.html" isn't legal. // Instead, we need to put more slashes in the protocol: // "file:///Users/dir/file.html" String addressString = address.getProtocol() + ":///" + address.getPath(); // If there is no command specified, or it won't work, try using "open". //Process proc = Runtime.getRuntime().exec(new String[] { "open", addressString }); } catch (Throwable t) { // If there was any kind of problem, ignore it and report failure. return false; } } // Otherwise, trust that it worked. return true; }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/01b502b2a5bf789c694d87ab9322d4852a16603d/MacPlatform.java/clean/drjava/src/src-mac14/edu/rice/cs/drjava/platform/MacPlatform.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 1696, 1785, 12, 1785, 1758, 13, 288, 565, 368, 5783, 16, 775, 358, 7152, 731, 18, 565, 309, 261, 9565, 18, 3190, 1785, 12, 2867, 3719, 288, 1377, 327, 638, 31, 565, 289, 565, 469, 288, 1377, 775, 288, 3639, 368, 13217, 3302, 1404, 3007, 3661, 5110, 6449, 10414, 30, 3639, 368, 225, 315, 768, 27824, 6588, 19, 1214, 19, 768, 18, 2620, 6, 5177, 1404, 19286, 18, 3639, 368, 17561, 16, 732, 1608, 358, 1378, 1898, 19034, 316, 326, 1771, 30, 3639, 368, 225, 315, 768, 2207, 19, 6588, 19, 1214, 19, 768, 18, 2620, 6, 3639, 514, 1758, 780, 273, 1758, 18, 588, 5752, 1435, 397, 315, 2207, 4898, 397, 1758, 18, 588, 743, 5621, 7734, 368, 971, 1915, 353, 1158, 1296, 1269, 16, 578, 518, 8462, 1404, 1440, 16, 775, 1450, 315, 3190, 9654, 3639, 368, 2227, 5418, 273, 540, 2509, 18, 588, 5576, 7675, 4177, 12, 2704, 514, 8526, 288, 315, 3190, 3113, 1758, 780, 15549, 1377, 289, 1377, 1044, 261, 15155, 268, 13, 288, 3639, 368, 971, 1915, 1703, 1281, 3846, 434, 6199, 16, 2305, 518, 471, 2605, 5166, 18, 3639, 327, 629, 31, 1377, 289, 565, 289, 3639, 368, 5272, 16, 10267, 716, 518, 28613, 18, 565, 327, 638, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 282, 1071, 1250, 1696, 1785, 12, 1785, 1758, 13, 288, 565, 368, 5783, 16, 775, 358, 7152, 731, 18, 565, 309, 261, 9565, 18, 3190, 1785, 12, 2867, 3719, 288, 1377, 327, 638, 31, 565, 289, 565, 469, 288, 1377, 775, 288, 3639, 368, 13217, 3302, 1404, 3007, 3661, 5110, 6449, 10414, 30, 3639, 368, 225, 315, 768, 27824, 6588, 19, 1214, 19, 768, 18, 2620, 6, 5177, 1404, 19286, 18, 3639, 368, 17561, 16, 732, 1608, 358, 1378, 1898, 19034, 316, 326, 1771, 30, 3639, 368, 225, 315, 768, 2207, 19, 6588, 19, 1214, 19, 768, 18, 2620, 6, 3639, 514, 1758, 780, 273, 1758, 18, 588, 5752, 1435, 397, 315, 2207, 4898, 397, 1758, 18, 588, 743, 2 ]
for (int i=0; i<obj.length; i++) { selected[i] = obj[i].isSelected(); obj[i].setSelected(false);
for (int i=0; i<obj.length; i++) { selected[i] = obj[i].isSelected(); obj[i].setSelected(false); }
public void valueChanged(ListSelectionEvent e) { if (ignoreEvents) return; OverlayObject[] obj = overlay.getObjects(); boolean[] selected = new boolean[obj.length]; // deselect all previously selected overlays for (int i=0; i<obj.length; i++) { selected[i] = obj[i].isSelected(); obj[i].setSelected(false); } // select highlighted overlays Object[] sel = overlayList.getSelectedValues(); for (int i=0; i<sel.length; i++) { ((OverlayObject) sel[i]).setSelected(true); } boolean changed = false; for (int i=0; i<obj.length; i++) { if (selected[i] != obj[i].isSelected()) { changed = true; break; } } if (changed) { needRefresh = true; remove.setEnabled(sel.length > 0); notifyListeners(true); } }
55303 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55303/d319e20f640031daaa9e60c1d6cee40aee043c38/OverlayWidget.java/clean/loci/visbio/overlays/OverlayWidget.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 460, 5033, 12, 682, 6233, 1133, 425, 13, 288, 565, 309, 261, 6185, 3783, 13, 327, 31, 565, 26834, 921, 8526, 1081, 273, 9218, 18, 588, 4710, 5621, 565, 1250, 8526, 3170, 273, 394, 1250, 63, 2603, 18, 2469, 15533, 565, 368, 2832, 13759, 777, 7243, 3170, 9218, 87, 565, 364, 261, 474, 277, 33, 20, 31, 277, 32, 2603, 18, 2469, 31, 277, 27245, 288, 1377, 3170, 63, 77, 65, 273, 1081, 63, 77, 8009, 291, 7416, 5621, 1377, 1081, 63, 77, 8009, 542, 7416, 12, 5743, 1769, 565, 289, 565, 368, 2027, 24375, 9218, 87, 565, 1033, 8526, 357, 273, 9218, 682, 18, 588, 7416, 1972, 5621, 565, 364, 261, 474, 277, 33, 20, 31, 277, 32, 1786, 18, 2469, 31, 277, 27245, 288, 1377, 14015, 11627, 921, 13, 357, 63, 77, 65, 2934, 542, 7416, 12, 3767, 1769, 565, 289, 565, 1250, 3550, 273, 629, 31, 565, 364, 261, 474, 277, 33, 20, 31, 277, 32, 2603, 18, 2469, 31, 277, 27245, 288, 1377, 309, 261, 8109, 63, 77, 65, 480, 1081, 63, 77, 8009, 291, 7416, 10756, 288, 3639, 3550, 273, 638, 31, 3639, 898, 31, 1377, 289, 565, 289, 565, 309, 261, 6703, 13, 288, 1377, 1608, 8323, 273, 638, 31, 1377, 1206, 18, 542, 1526, 12, 1786, 18, 2469, 405, 374, 1769, 1377, 5066, 5583, 12, 3767, 1769, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 460, 5033, 12, 682, 6233, 1133, 425, 13, 288, 565, 309, 261, 6185, 3783, 13, 327, 31, 565, 26834, 921, 8526, 1081, 273, 9218, 18, 588, 4710, 5621, 565, 1250, 8526, 3170, 273, 394, 1250, 63, 2603, 18, 2469, 15533, 565, 368, 2832, 13759, 777, 7243, 3170, 9218, 87, 565, 364, 261, 474, 277, 33, 20, 31, 277, 32, 2603, 18, 2469, 31, 277, 27245, 288, 1377, 3170, 63, 77, 65, 273, 1081, 63, 77, 8009, 291, 7416, 5621, 1377, 1081, 63, 77, 8009, 542, 7416, 12, 5743, 1769, 565, 289, 565, 368, 2027, 24375, 9218, 87, 565, 1033, 8526, 357, 273, 9218, 682, 18, 588, 7416, 1972, 5621, 565, 364, 261, 474, 277, 33, 20, 2 ]
super.setUp(); bag = new ReturnObjectBag(getName()); }
super.setUp(); bag = new ReturnObjectBag(getName()); }
protected void setUp() throws Exception { super.setUp(); bag = new ReturnObjectBag(getName()); }
2796 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2796/065d08edd62599d5d244a9317db470157690f4f9/ReturnObjectBagTest.java/buggy/jmock/core/src/test/jmock/expectation/ReturnObjectBagTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 24292, 1435, 1216, 1185, 288, 3639, 2240, 18, 542, 1211, 5621, 3639, 13189, 273, 394, 2000, 921, 5013, 12, 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, 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, 377, 4750, 918, 24292, 1435, 1216, 1185, 288, 3639, 2240, 18, 542, 1211, 5621, 3639, 13189, 273, 394, 2000, 921, 5013, 12, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
boolean isRequired, boolean isProhibited, NutchConf nutchConf) { this(term, isRequired, isProhibited, nutchConf);
boolean isRequired, boolean isProhibited, Configuration conf) { this(term, isRequired, isProhibited, conf);
public Clause(Term term, String field, boolean isRequired, boolean isProhibited, NutchConf nutchConf) { this(term, isRequired, isProhibited, nutchConf); this.field = field; }
1316 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1316/25437bc825d50715dcc9a289a1b4c8fbbc6aced1/Query.java/buggy/src/java/org/apache/nutch/searcher/Query.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3905, 1579, 12, 4065, 2481, 16, 514, 652, 16, 5375, 1250, 14967, 16, 1250, 353, 626, 29993, 16, 423, 322, 343, 3976, 290, 322, 343, 3976, 13, 288, 1377, 333, 12, 6408, 16, 14967, 16, 353, 626, 29993, 16, 290, 322, 343, 3976, 1769, 1377, 333, 18, 1518, 273, 652, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3905, 1579, 12, 4065, 2481, 16, 514, 652, 16, 5375, 1250, 14967, 16, 1250, 353, 626, 29993, 16, 423, 322, 343, 3976, 290, 322, 343, 3976, 13, 288, 1377, 333, 12, 6408, 16, 14967, 16, 353, 626, 29993, 16, 290, 322, 343, 3976, 1769, 1377, 333, 18, 1518, 273, 652, 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 ]
public org.quickfix.field.UnderlyingSymbolSfx getUnderlyingSymbolSfx() throws FieldNotFound { org.quickfix.field.UnderlyingSymbolSfx value = new org.quickfix.field.UnderlyingSymbolSfx();
public quickfix.field.UnderlyingSymbolSfx getUnderlyingSymbolSfx() throws FieldNotFound { quickfix.field.UnderlyingSymbolSfx value = new quickfix.field.UnderlyingSymbolSfx();
public org.quickfix.field.UnderlyingSymbolSfx getUnderlyingSymbolSfx() throws FieldNotFound { org.quickfix.field.UnderlyingSymbolSfx value = new org.quickfix.field.UnderlyingSymbolSfx(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/ListStrikePrice.java/clean/src/java/src/quickfix/fix44/ListStrikePrice.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 5335, 55, 19595, 10833, 765, 6291, 5335, 55, 19595, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 5335, 55, 19595, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 5335, 55, 19595, 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, 14655, 6291, 5335, 55, 19595, 10833, 765, 6291, 5335, 55, 19595, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 5335, 55, 19595, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 5335, 55, 19595, 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 ]
return top(indentTop); }
return top(indentTop); }
private int indentTop() { return top(indentTop); }
3506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3506/d86be836ae8aa756c59274eabbdd4c1d4b34ea4e/PdfDocument.java/buggy/itext/src/com/lowagie/text/pdf/PdfDocument.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 509, 3504, 3401, 1435, 288, 202, 202, 2463, 1760, 12, 9355, 3401, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 509, 3504, 3401, 1435, 288, 202, 202, 2463, 1760, 12, 9355, 3401, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return RubyFloat.m_newFloat(getRuby(), getDoubleValue() - getDoubleValue());
return RubyFloat.m_newFloat(getRuby(), getDoubleValue() - other.getDoubleValue());
public RubyNumeric op_minus(RubyNumeric other) { return RubyFloat.m_newFloat(getRuby(), getDoubleValue() - getDoubleValue()); }
46258 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46258/09d14a481cf7e28332c61c038c7d4b468854d38d/RubyFloat.java/clean/org/jruby/RubyFloat.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 9902, 1061, 67, 19601, 12, 54, 10340, 9902, 1308, 13, 288, 3639, 327, 19817, 4723, 18, 81, 67, 2704, 4723, 12, 588, 54, 10340, 9334, 16097, 620, 1435, 300, 1308, 18, 588, 5265, 620, 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, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 9902, 1061, 67, 19601, 12, 54, 10340, 9902, 1308, 13, 288, 3639, 327, 19817, 4723, 18, 81, 67, 2704, 4723, 12, 588, 54, 10340, 9334, 16097, 620, 1435, 300, 1308, 18, 588, 5265, 620, 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, -100, -100, -100, -100, -100, -100, -100, -100 ]
return make.Literal(pos, value).setType(definitions.JAVA_STRING_TYPE);
return make.Literal(pos, value).setType(nextTypeOf(STRING));
public Tree mkStringLit(int pos, String value) { return make.Literal(pos, value).setType(definitions.JAVA_STRING_TYPE); }
5590 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5590/f2c3f53208b870e37d77d45d735220c8a4cd6298/TreeGen.java/buggy/sources/scalac/ast/TreeGen.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4902, 5028, 780, 23707, 12, 474, 949, 16, 514, 460, 13, 288, 3639, 327, 1221, 18, 6177, 12, 917, 16, 460, 2934, 542, 559, 12, 4285, 559, 951, 12, 5804, 10019, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4902, 5028, 780, 23707, 12, 474, 949, 16, 514, 460, 13, 288, 3639, 327, 1221, 18, 6177, 12, 917, 16, 460, 2934, 542, 559, 12, 4285, 559, 951, 12, 5804, 10019, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (comment != null) { report.addComment(comment);
if (taskComment != null) { report.addComment(taskComment);
public void endElement(String uri, String localName, String qName) throws SAXException { String parsedText = HtmlStreamTokenizer.unescape(characters.toString()); BugzillaReportElement tag = BugzillaReportElement.UNKNOWN; try { tag = BugzillaReportElement.valueOf(localName.trim().toUpperCase()); } catch (RuntimeException e) { if (e instanceof IllegalArgumentException) { // ignore unrecognized tags return; } throw e; } switch (tag) { case BUG_ID: { try { if (!report.getId().equals(parsedText)) { errorMessage = "Requested report number does not match returned report number."; } } catch (Exception e) { errorMessage = "Bug id from server did not match requested id."; } RepositoryTaskAttribute attr = report.getAttribute(tag.getKeyString()); if (attr == null) { attr = attributeFactory.createAttribute(tag.getKeyString()); report.addAttribute(tag.getKeyString(), attr); } attr.setValue(parsedText); break; } // Comment attributes case WHO: case BUG_WHEN: if (comment != null) { RepositoryTaskAttribute attr = attributeFactory.createAttribute(tag.getKeyString()); attr.setValue(parsedText); comment.addAttribute(tag.getKeyString(), attr); } break; case THETEXT: if (comment != null) { RepositoryTaskAttribute attr = attributeFactory.createAttribute(tag.getKeyString()); attr.setValue(parsedText); comment.addAttribute(tag.getKeyString(), attr); // Check for attachment parseAttachment(comment, parsedText); } break; case LONG_DESC: if (comment != null) { report.addComment(comment); } break; // Attachment attributes case ATTACHID: case DATE: case DESC: case FILENAME: case CTYPE: case TYPE: if (attachment != null) { RepositoryTaskAttribute attr = attributeFactory.createAttribute(tag.getKeyString()); attr.setValue(parsedText); attachment.addAttribute(tag.getKeyString(), attr); } break; case DATA: // TODO: Need to figure out under what circumstanceswhen attachments // are inline and // what to do with them. // jpound - if data gets stored here, the attachment actions in the // task editor // should be updated to use this data instead of retrieving from // server. break; case ATTACHMENT: if (attachment != null) { report.addAttachment(attachment); } break; // IGNORED ELEMENTS case REPORTER_ACCESSIBLE: case CLASSIFICATION_ID: case CLASSIFICATION: case CCLIST_ACCESSIBLE: case EVERCONFIRMED: case BUGZILLA: break; case BUG: // Reached end of bug. Need to set LONGDESCLENGTH to number of // comments RepositoryTaskAttribute numCommentsAttribute = report.getAttribute(BugzillaReportElement.LONGDESCLENGTH .getKeyString()); if (numCommentsAttribute == null) { numCommentsAttribute = attributeFactory.createAttribute(BugzillaReportElement.LONGDESCLENGTH .getKeyString()); numCommentsAttribute.setValue("" + report.getComments().size()); report.addAttribute(BugzillaReportElement.LONGDESCLENGTH.getKeyString(), numCommentsAttribute); } else { numCommentsAttribute.setValue("" + report.getComments().size()); } // Set the creator name on all attachments for (RepositoryAttachment attachment : report.getAttachments()) { Comment comment = (Comment) attachIdToComment.get(attachment.getId()); if (comment != null) { attachment.setCreator(comment.getAuthor()); } } break; // All others added as report attribute default: RepositoryTaskAttribute attribute = report.getAttribute(tag.getKeyString()); if (attribute == null) { attribute = attributeFactory.createAttribute(tag.getKeyString()); attribute.setValue(parsedText); report.addAttribute(tag.getKeyString(), attribute); } else { attribute.addValue(parsedText); } break; } }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/bb57294d5136ab3c4d634a89c7815c55a6e0145f/SaxBugReportContentHandler.java/clean/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/SaxBugReportContentHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 14840, 12, 780, 2003, 16, 514, 11927, 16, 514, 22914, 13, 1216, 14366, 288, 202, 202, 780, 2707, 1528, 273, 5430, 1228, 10524, 18, 318, 6939, 12, 20558, 18, 10492, 10663, 202, 202, 19865, 15990, 4820, 1046, 1047, 273, 16907, 15990, 4820, 1046, 18, 14737, 31, 202, 202, 698, 288, 1082, 202, 2692, 273, 16907, 15990, 4820, 1046, 18, 1132, 951, 12, 3729, 461, 18, 5290, 7675, 869, 8915, 10663, 202, 202, 97, 1044, 261, 11949, 425, 13, 288, 1082, 202, 430, 261, 73, 1276, 2754, 13, 288, 9506, 202, 759, 2305, 28333, 2342, 9506, 202, 2463, 31, 1082, 202, 97, 1082, 202, 12849, 425, 31, 202, 202, 97, 202, 202, 9610, 261, 2692, 13, 288, 202, 202, 3593, 10937, 43, 67, 734, 30, 288, 1082, 202, 698, 288, 9506, 202, 430, 16051, 6006, 18, 26321, 7675, 14963, 12, 10817, 1528, 3719, 288, 6862, 202, 1636, 1079, 273, 315, 11244, 2605, 1300, 1552, 486, 845, 2106, 2605, 1300, 1199, 31, 9506, 202, 97, 1082, 202, 97, 1044, 261, 503, 425, 13, 288, 9506, 202, 1636, 1079, 273, 315, 19865, 612, 628, 1438, 5061, 486, 845, 3764, 612, 1199, 31, 1082, 202, 97, 1082, 202, 3305, 2174, 1499, 1604, 273, 2605, 18, 588, 1499, 12, 2692, 18, 588, 653, 780, 10663, 1082, 202, 430, 261, 1747, 422, 446, 13, 288, 9506, 202, 1747, 273, 1566, 1733, 18, 2640, 1499, 12, 2692, 18, 588, 653, 780, 10663, 9506, 202, 6006, 18, 1289, 1499, 12, 2692, 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, 14840, 12, 780, 2003, 16, 514, 11927, 16, 514, 22914, 13, 1216, 14366, 288, 202, 202, 780, 2707, 1528, 273, 5430, 1228, 10524, 18, 318, 6939, 12, 20558, 18, 10492, 10663, 202, 202, 19865, 15990, 4820, 1046, 1047, 273, 16907, 15990, 4820, 1046, 18, 14737, 31, 202, 202, 698, 288, 1082, 202, 2692, 273, 16907, 15990, 4820, 1046, 18, 1132, 951, 12, 3729, 461, 18, 5290, 7675, 869, 8915, 10663, 202, 202, 97, 1044, 261, 11949, 425, 13, 288, 1082, 202, 430, 261, 73, 1276, 2754, 13, 288, 9506, 202, 759, 2305, 28333, 2342, 9506, 202, 2463, 31, 1082, 202, 97, 1082, 202, 12849, 425, 31, 202, 202, 97, 202, 202, 9610, 261, 2692, 13, 2 ]
LOG.assertTrue(vFile.isValid());
LOG.assertTrue(vFile.isValid(), vFile.getName());
public PsiDirectory findDirectory(VirtualFile vFile) { LOG.assertTrue(myInitialized, "Access to psi files should be performed only after startup activity"); LOG.assertTrue(!myDisposed); ApplicationManager.getApplication().assertReadAccessAllowed(); LOG.assertTrue(vFile.isValid()); if (!vFile.isDirectory()) return null; dispatchPendingEvents(); synchronized (PsiLock.LOCK) { PsiDirectory psiDir = myVFileToPsiDirMap.get(vFile); if (psiDir != null) return psiDir; if (myProjectRootManager.getFileIndex().isIgnored(vFile)) return null; VirtualFile parent = vFile.getParent(); if (parent != null) { //? findDirectory(parent);// need to cache parent directory - used for firing events } psiDir = new PsiDirectoryImpl(myManager, vFile); myVFileToPsiDirMap.put(vFile, psiDir); return psiDir; } }
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/a49b5318bd72fbf3e3be8631872394dfb312363e/FileManagerImpl.java/buggy/source/com/intellij/psi/impl/file/impl/FileManagerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 453, 7722, 2853, 1104, 2853, 12, 6466, 812, 331, 812, 13, 288, 565, 2018, 18, 11231, 5510, 12, 4811, 11459, 16, 315, 1862, 358, 23921, 1390, 1410, 506, 9591, 1338, 1839, 11850, 5728, 8863, 565, 2018, 18, 11231, 5510, 12, 5, 4811, 1669, 7423, 1769, 565, 4257, 1318, 18, 588, 3208, 7675, 11231, 1994, 1862, 5042, 5621, 565, 2018, 18, 11231, 5510, 12, 90, 812, 18, 26810, 9334, 331, 812, 18, 17994, 10663, 565, 309, 16051, 90, 812, 18, 291, 2853, 10756, 327, 446, 31, 565, 3435, 8579, 3783, 5621, 565, 3852, 261, 52, 7722, 2531, 18, 6589, 13, 288, 1377, 453, 7722, 2853, 23921, 1621, 273, 3399, 58, 812, 774, 52, 7722, 1621, 863, 18, 588, 12, 90, 812, 1769, 1377, 309, 261, 24275, 1621, 480, 446, 13, 327, 23921, 1621, 31, 1377, 309, 261, 4811, 4109, 2375, 1318, 18, 29925, 1016, 7675, 291, 15596, 12, 90, 812, 3719, 327, 446, 31, 1377, 7269, 812, 982, 273, 331, 812, 18, 588, 3054, 5621, 1377, 309, 261, 2938, 480, 446, 13, 288, 368, 35, 3639, 1104, 2853, 12, 2938, 1769, 759, 1608, 358, 1247, 982, 1867, 300, 1399, 364, 30253, 2641, 1377, 289, 1377, 23921, 1621, 273, 394, 453, 7722, 2853, 2828, 12, 4811, 1318, 16, 331, 812, 1769, 1377, 3399, 58, 812, 774, 52, 7722, 1621, 863, 18, 458, 12, 90, 812, 16, 23921, 1621, 1769, 1377, 327, 23921, 1621, 31, 565, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 453, 7722, 2853, 1104, 2853, 12, 6466, 812, 331, 812, 13, 288, 565, 2018, 18, 11231, 5510, 12, 4811, 11459, 16, 315, 1862, 358, 23921, 1390, 1410, 506, 9591, 1338, 1839, 11850, 5728, 8863, 565, 2018, 18, 11231, 5510, 12, 5, 4811, 1669, 7423, 1769, 565, 4257, 1318, 18, 588, 3208, 7675, 11231, 1994, 1862, 5042, 5621, 565, 2018, 18, 11231, 5510, 12, 90, 812, 18, 26810, 9334, 331, 812, 18, 17994, 10663, 565, 309, 16051, 90, 812, 18, 291, 2853, 10756, 327, 446, 31, 565, 3435, 8579, 3783, 5621, 565, 3852, 261, 52, 7722, 2531, 18, 6589, 13, 288, 1377, 453, 7722, 2853, 23921, 1621, 273, 3399, 58, 812, 774, 52, 7722, 1621, 863, 18, 588, 2 ]
}else{
} else {
public void menuSelectionChanged(boolean isIncluded){ super.menuSelectionChanged(isIncluded); IdeFrame frame = (IdeFrame)SwingUtilities.getAncestorOfClass(IdeFrame.class, this); if (frame != null) { StatusBar statusBar = frame.getStatusBar(); if(isIncluded){ statusBar.setInfo(myPresentation.getDescription()); }else{ statusBar.setInfo(null); } } }
56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/f1ef520e896ad18420fde80fe64e28b57c5a9de6/ActionMenu.java/clean/action-system/impl/com/intellij/openapi/actionSystem/impl/ActionMenu.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 3824, 6233, 5033, 12, 6494, 8048, 7908, 15329, 565, 2240, 18, 5414, 6233, 5033, 12, 291, 19323, 1769, 565, 23062, 3219, 2623, 273, 261, 45, 323, 3219, 13, 6050, 310, 11864, 18, 588, 15637, 951, 797, 12, 45, 323, 3219, 18, 1106, 16, 333, 1769, 565, 309, 261, 3789, 480, 446, 13, 288, 1377, 2685, 5190, 1267, 5190, 273, 2623, 18, 588, 1482, 5190, 5621, 1377, 309, 12, 291, 19323, 15329, 3639, 1267, 5190, 18, 542, 966, 12, 4811, 6351, 367, 18, 588, 3291, 10663, 1377, 289, 469, 288, 3639, 1267, 5190, 18, 542, 966, 12, 2011, 1769, 1377, 289, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 3824, 6233, 5033, 12, 6494, 8048, 7908, 15329, 565, 2240, 18, 5414, 6233, 5033, 12, 291, 19323, 1769, 565, 23062, 3219, 2623, 273, 261, 45, 323, 3219, 13, 6050, 310, 11864, 18, 588, 15637, 951, 797, 12, 45, 323, 3219, 18, 1106, 16, 333, 1769, 565, 309, 261, 3789, 480, 446, 13, 288, 1377, 2685, 5190, 1267, 5190, 273, 2623, 18, 588, 1482, 5190, 5621, 1377, 309, 12, 291, 19323, 15329, 3639, 1267, 5190, 18, 542, 966, 12, 4811, 6351, 367, 18, 588, 3291, 10663, 1377, 289, 469, 288, 3639, 1267, 5190, 18, 542, 966, 12, 2011, 1769, 1377, 289, 565, 289, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
for (int i=0; i < interfaces.length; i++) if (interfaces[i] != sig.interfaces[i])
JavaAdapterSignature sig = (JavaAdapterSignature) obj; if (superClass != sig.superClass) return false; if (interfaces != sig.interfaces) { if (interfaces.length != sig.interfaces.length)
public boolean equals(Object obj) { if (!(obj instanceof JavaAdapterSignature)) return false; JavaAdapterSignature sig = (JavaAdapterSignature) obj; if (superClass != sig.superClass) return false; if (interfaces != sig.interfaces) { if (interfaces.length != sig.interfaces.length) return false; for (int i=0; i < interfaces.length; i++) if (interfaces[i] != sig.interfaces[i]) return false; } if (names.size() != sig.names.size()) return false; ObjToIntMap.Iterator iter = new ObjToIntMap.Iterator(names); for (iter.start(); !iter.done(); iter.next()) { String name = (String)iter.getKey(); int arity = iter.getValue(); if (arity != names.get(name, arity + 1)) return false; } return true; }
51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/a80d67208db8029f3323f99ef005d09358bde48f/JavaAdapter.java/buggy/js/rhino/src/org/mozilla/javascript/JavaAdapter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1606, 12, 921, 1081, 13, 565, 288, 3639, 309, 16051, 12, 2603, 1276, 5110, 4216, 5374, 3719, 5411, 327, 629, 31, 3639, 5110, 4216, 5374, 3553, 273, 261, 5852, 4216, 5374, 13, 1081, 31, 3639, 309, 261, 9565, 797, 480, 3553, 18, 9565, 797, 13, 5411, 327, 629, 31, 3639, 309, 261, 15898, 480, 3553, 18, 15898, 13, 288, 5411, 309, 261, 15898, 18, 2469, 480, 3553, 18, 15898, 18, 2469, 13, 7734, 327, 629, 31, 5411, 364, 261, 474, 277, 33, 20, 31, 277, 411, 7349, 18, 2469, 31, 277, 27245, 7734, 309, 261, 15898, 63, 77, 65, 480, 3553, 18, 15898, 63, 77, 5717, 10792, 327, 629, 31, 3639, 289, 3639, 309, 261, 1973, 18, 1467, 1435, 480, 3553, 18, 1973, 18, 1467, 10756, 5411, 327, 629, 31, 3639, 18760, 17864, 863, 18, 3198, 1400, 273, 394, 18760, 17864, 863, 18, 3198, 12, 1973, 1769, 3639, 364, 261, 2165, 18, 1937, 5621, 401, 2165, 18, 8734, 5621, 1400, 18, 4285, 10756, 288, 5411, 514, 508, 273, 261, 780, 13, 2165, 18, 588, 653, 5621, 5411, 509, 19353, 273, 1400, 18, 24805, 5621, 5411, 309, 261, 20498, 480, 1257, 18, 588, 12, 529, 16, 19353, 397, 404, 3719, 7734, 327, 629, 31, 3639, 289, 3639, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1606, 12, 921, 1081, 13, 565, 288, 3639, 309, 16051, 12, 2603, 1276, 5110, 4216, 5374, 3719, 5411, 327, 629, 31, 3639, 5110, 4216, 5374, 3553, 273, 261, 5852, 4216, 5374, 13, 1081, 31, 3639, 309, 261, 9565, 797, 480, 3553, 18, 9565, 797, 13, 5411, 327, 629, 31, 3639, 309, 261, 15898, 480, 3553, 18, 15898, 13, 288, 5411, 309, 261, 15898, 18, 2469, 480, 3553, 18, 15898, 18, 2469, 13, 7734, 327, 629, 31, 5411, 364, 261, 474, 277, 33, 20, 31, 277, 411, 7349, 18, 2469, 31, 277, 27245, 7734, 309, 261, 15898, 63, 77, 65, 480, 3553, 18, 15898, 63, 77, 5717, 10792, 327, 629, 31, 3639, 289, 3639, 309, 261, 1973, 2 ]
if (args != null && args.length == 0) {
if (args == null || args.length == 0) {
public IRubyObject insert(RubyNumeric index, IRubyObject[] args) { // ruby does not bother to bounds check index, if no elements are // to be added. if (args != null && args.length == 0) { return this; } // too negative of an offset will throw an IndexError long offset = index.getLongValue(); if (offset < 0 && getLength() + offset < 0) { throw new IndexError(getRuntime(), "index " + (getLength() + offset) + " out of array"); } // An offset larger than the current length will pad with nils // to length if (offset > getLength()) { long difference = offset - getLength(); IRubyObject nil = getRuntime().getNil(); for (long i = 0; i < difference; i++) { list.add(nil); } } if (offset < 0) { offset += getLength() + 1; } for (int i = 0; i < args.length; i++) { list.add((int) (offset + i), args[i]); } return this; }
47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/e0528a07eb03eecc6125079c5ce22e3246ea0358/RubyArray.java/clean/src/org/jruby/RubyArray.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 15908, 10340, 921, 2243, 12, 54, 10340, 9902, 770, 16, 15908, 10340, 921, 8526, 833, 13, 288, 377, 202, 759, 22155, 1552, 486, 23440, 358, 4972, 866, 770, 16, 309, 1158, 2186, 854, 377, 202, 759, 358, 506, 3096, 18, 377, 202, 430, 261, 1968, 422, 446, 747, 833, 18, 2469, 422, 374, 13, 288, 377, 202, 202, 2463, 333, 31, 377, 202, 97, 377, 202, 377, 202, 759, 4885, 6092, 434, 392, 1384, 903, 604, 392, 10195, 377, 202, 5748, 1384, 273, 770, 18, 588, 3708, 620, 5621, 377, 202, 430, 261, 3348, 411, 374, 597, 9888, 1435, 397, 1384, 411, 374, 13, 288, 377, 202, 202, 12849, 394, 10195, 12, 588, 5576, 9334, 315, 1615, 315, 397, 1377, 9506, 202, 12, 588, 1782, 1435, 397, 1384, 13, 397, 315, 596, 434, 526, 8863, 377, 202, 97, 377, 202, 377, 202, 759, 1922, 1384, 10974, 2353, 326, 783, 769, 903, 4627, 598, 515, 87, 377, 202, 759, 358, 769, 377, 202, 430, 261, 3348, 405, 9888, 10756, 288, 377, 202, 202, 5748, 7114, 273, 1384, 300, 9888, 5621, 377, 202, 202, 7937, 10340, 921, 515, 273, 18814, 7675, 588, 12616, 5621, 377, 202, 202, 1884, 261, 5748, 277, 273, 374, 31, 277, 411, 7114, 31, 277, 27245, 288, 377, 1082, 202, 1098, 18, 1289, 12, 20154, 1769, 377, 202, 202, 97, 377, 202, 97, 377, 202, 377, 202, 430, 261, 3348, 411, 374, 13, 288, 377, 202, 202, 3348, 1011, 9888, 1435, 397, 404, 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, 2243, 12, 54, 10340, 9902, 770, 16, 15908, 10340, 921, 8526, 833, 13, 288, 377, 202, 759, 22155, 1552, 486, 23440, 358, 4972, 866, 770, 16, 309, 1158, 2186, 854, 377, 202, 759, 358, 506, 3096, 18, 377, 202, 430, 261, 1968, 422, 446, 747, 833, 18, 2469, 422, 374, 13, 288, 377, 202, 202, 2463, 333, 31, 377, 202, 97, 377, 202, 377, 202, 759, 4885, 6092, 434, 392, 1384, 903, 604, 392, 10195, 377, 202, 5748, 1384, 273, 770, 18, 588, 3708, 620, 5621, 377, 202, 430, 261, 3348, 411, 374, 597, 9888, 1435, 397, 1384, 411, 374, 13, 288, 377, 202, 202, 12849, 394, 10195, 12, 588, 5576, 9334, 315, 1615, 2 ]
for (int i = 0; i < elements.length; i++) { RefElement element = elements[i];
for (RefElement element : elements) {
public ProblemDescriptor[] getSelectedDescriptors() { if (myTree.getSelectionCount() == 0 || !(getSelectedTool() instanceof DescriptorProviderInspection)) return EMPTY_DESCRIPTORS; final TreePath[] paths = myTree.getSelectionPaths(); Set<ProblemDescriptor> descriptors = new HashSet<ProblemDescriptor>(); for (int i = 0; i < paths.length; i++) { Object node = paths[i].getLastPathComponent(); if (node instanceof ProblemDescriptionNode) { final ProblemDescriptionNode problemNode = (ProblemDescriptionNode)node; descriptors.add(problemNode.getDescriptor()); } } final RefElement[] elements = getSelectedElements(); final DescriptorProviderInspection tool = (DescriptorProviderInspection)getSelectedTool(); for (int i = 0; i < elements.length; i++) { RefElement element = elements[i]; final ProblemDescriptor[] descriptions = tool.getDescriptions(element); if (descriptions != null) descriptors.addAll(Arrays.asList(descriptions)); } return descriptors.toArray(new ProblemDescriptor[descriptors.size()]); }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/44b1444ef611a7223c4ad1fa4fc69f6017017008/InspectionResultsView.java/buggy/source/com/intellij/codeInspection/ui/InspectionResultsView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 21685, 3187, 8526, 16625, 12705, 1435, 288, 565, 309, 261, 4811, 2471, 18, 588, 6233, 1380, 1435, 422, 374, 747, 401, 12, 588, 7416, 6364, 1435, 1276, 12823, 2249, 14985, 3719, 327, 8984, 67, 1639, 10885, 14006, 31, 565, 727, 4902, 743, 8526, 2953, 273, 3399, 2471, 18, 588, 6233, 4466, 5621, 565, 1000, 32, 13719, 3187, 34, 14215, 273, 394, 6847, 32, 13719, 3187, 34, 5621, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2953, 18, 2469, 31, 277, 27245, 288, 1377, 1033, 756, 273, 2953, 63, 77, 8009, 588, 3024, 743, 1841, 5621, 1377, 309, 261, 2159, 1276, 21685, 3291, 907, 13, 288, 3639, 727, 21685, 3291, 907, 6199, 907, 273, 261, 13719, 3291, 907, 13, 2159, 31, 3639, 14215, 18, 1289, 12, 18968, 907, 18, 588, 3187, 10663, 1377, 289, 565, 289, 565, 727, 3941, 1046, 8526, 2186, 273, 16625, 3471, 5621, 565, 727, 12823, 2249, 14985, 5226, 273, 261, 3187, 2249, 14985, 13, 588, 7416, 6364, 5621, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2186, 18, 2469, 31, 277, 27245, 288, 1377, 3941, 1046, 930, 273, 2186, 63, 77, 15533, 1377, 727, 21685, 3187, 8526, 15550, 273, 5226, 18, 588, 16844, 12, 2956, 1769, 1377, 309, 261, 30288, 480, 446, 13, 14215, 18, 1289, 1595, 12, 12726, 18, 345, 682, 12, 30288, 10019, 565, 289, 565, 327, 14215, 18, 31447, 12, 2704, 21685, 3187, 63, 72, 8379, 18, 1467, 1435, 19226, 225, 289, 2, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 21685, 3187, 8526, 16625, 12705, 1435, 288, 565, 309, 261, 4811, 2471, 18, 588, 6233, 1380, 1435, 422, 374, 747, 401, 12, 588, 7416, 6364, 1435, 1276, 12823, 2249, 14985, 3719, 327, 8984, 67, 1639, 10885, 14006, 31, 565, 727, 4902, 743, 8526, 2953, 273, 3399, 2471, 18, 588, 6233, 4466, 5621, 565, 1000, 32, 13719, 3187, 34, 14215, 273, 394, 6847, 32, 13719, 3187, 34, 5621, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2953, 18, 2469, 31, 277, 27245, 288, 1377, 1033, 756, 273, 2953, 63, 77, 8009, 588, 3024, 743, 1841, 5621, 1377, 309, 261, 2159, 1276, 21685, 3291, 907, 13, 288, 3639, 727, 21685, 3291, 907, 6199, 907, 273, 261, 13719, 2 ]
public ODEReaction transferReaction(Reaction p_reaction, SystemSnapshot p_beginStatus, Temperature p_temperature, Pressure p_pressure) { //#[ operation transferReaction(Reaction,SystemSnapshot,Temperature,Pressure) double dT = 1; Temperature Tup = new Temperature(p_temperature.getStandard()+dT, Temperature.getStandardUnit()); Temperature Tlow = new Temperature(p_temperature.getStandard()-dT, Temperature.getStandardUnit()); int rnum = p_reaction.getReactantNumber(); int pnum = p_reaction.getProductNumber(); int [] rid = new int[rnum]; int index = 0; for (Iterator r_iter = p_reaction.getReactants(); r_iter.hasNext(); ) { Species s = ((ChemGraph)r_iter.next()).getSpecies(); rid[index] = getRealID(s); index++; } int [] pid = new int[pnum]; index = 0; for (Iterator p_iter = p_reaction.getProducts(); p_iter.hasNext(); ) { Species s = ((ChemGraph)p_iter.next()).getSpecies(); pid[index] = getRealID(s); index++; } //ODEReaction or; if(p_reaction instanceof PDepNetReaction) { double rate = ((PDepNetReaction)p_reaction).getRate(); ODEReaction or = new ODEReaction(rnum, pnum, rid, pid, rate); return or; } else { double rate = 0; if (p_reaction instanceof TemplateReaction) { rate = ((TemplateReaction)p_reaction).calculatePDepRate(p_temperature); ODEReaction or = new ODEReaction(rnum, pnum, rid, pid, rate); return or; } else if (p_reaction instanceof TROEReaction){//svp HashMap weightMap = ((ThirdBodyReaction)p_reaction).getWeightMap(); int weightMapSize = weightMap.size(); int [] colliders = new int[weightMapSize]; double [] efficiency = new double[weightMapSize]; Iterator colliderIter = weightMap.keySet().iterator(); int numCollider =0; for (int i=0; i<weightMapSize; i++){ String name = (String)colliderIter.next(); Species spe = SpeciesDictionary.getInstance().getSpeciesFromName(name); if (spe != null){ colliders[numCollider] = getRealID(spe); efficiency[numCollider] = ((Double)weightMap.get(name)).doubleValue(); numCollider++; } } double T2star, T3star, Tstar, a; T2star = ((TROEReaction)p_reaction).getT2star(); T3star = ((TROEReaction)p_reaction).getT3star(); Tstar = ((TROEReaction)p_reaction).getTstar(); a = ((TROEReaction)p_reaction).getA(); int direction = p_reaction.getDirection(); double Keq = p_reaction.calculateKeq(p_temperature); double lowRate = ((TROEReaction)p_reaction).getLow().calculateRate(p_temperature, -1); double highRate = ((TROEReaction)p_reaction).getKinetics().calculateRate(p_temperature, -1); double inertColliderEfficiency = ((ThirdBodyReaction)p_reaction).calculateThirdBodyCoefficientForInerts(p_beginStatus); boolean troe7 = ((TROEReaction)p_reaction).getTroe7(); TROEODEReaction or = new TROEODEReaction(rnum, pnum, rid, pid, direction, Keq, colliders, efficiency, numCollider, inertColliderEfficiency, T2star, T3star, Tstar, a, highRate, lowRate, troe7); return or; } else if (p_reaction instanceof ThirdBodyReaction){//svp HashMap weightMap = ((ThirdBodyReaction)p_reaction).getWeightMap(); int weightMapSize = weightMap.size(); int [] colliders = new int[weightMapSize]; double [] efficiency = new double[weightMapSize]; Iterator colliderIter = weightMap.keySet().iterator(); int numCollider =0; for (int i=0; i<weightMapSize; i++){ String name = (String)colliderIter.next(); Species spe = SpeciesDictionary.getInstance().getSpeciesFromName(name); if (spe != null){ colliders[numCollider] = getRealID(spe); efficiency[numCollider] = ((Double)weightMap.get(name)).doubleValue(); numCollider++; } } rate = p_reaction.calculateRate(p_temperature); double inertColliderEfficiency = ((ThirdBodyReaction)p_reaction).calculateThirdBodyCoefficientForInerts(p_beginStatus); ThirdBodyODEReaction or = new ThirdBodyODEReaction(rnum, pnum, rid, pid, rate, colliders, efficiency,numCollider, inertColliderEfficiency); return or; } else{ rate = p_reaction.calculateRate(p_temperature); ODEReaction or = new ODEReaction(rnum, pnum, rid, pid, rate); return or; } } //#] }
58381 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58381/f535dfbbe9b4499d90bf09b749aff992198aac05/JDASPK.java/clean/jing/rxnSys/JDASPK.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 531, 1639, 21581, 7412, 21581, 12, 21581, 293, 67, 266, 1128, 16, 2332, 4568, 293, 67, 10086, 1482, 16, 3955, 9289, 293, 67, 19557, 16, 29806, 594, 293, 67, 17103, 13, 288, 3639, 368, 7, 63, 1674, 7412, 21581, 12, 21581, 16, 3163, 4568, 16, 1837, 9289, 16, 31783, 13, 3639, 1645, 302, 56, 273, 404, 31, 3639, 3955, 9289, 399, 416, 273, 394, 3955, 9289, 12, 84, 67, 19557, 18, 588, 8336, 1435, 15, 23148, 16, 3955, 9289, 18, 588, 8336, 2802, 10663, 3639, 3955, 9289, 399, 821, 273, 394, 3955, 9289, 12, 84, 67, 19557, 18, 588, 8336, 1435, 17, 23148, 16, 3955, 9289, 18, 588, 8336, 2802, 10663, 3639, 509, 436, 2107, 273, 293, 67, 266, 1128, 18, 588, 23469, 970, 1854, 5621, 3639, 509, 293, 2107, 273, 293, 67, 266, 1128, 18, 588, 4133, 1854, 5621, 3639, 509, 5378, 10911, 273, 394, 509, 63, 86, 2107, 15533, 3639, 509, 770, 273, 374, 31, 3639, 364, 261, 3198, 436, 67, 2165, 273, 293, 67, 266, 1128, 18, 588, 23469, 4388, 5621, 436, 67, 2165, 18, 5332, 2134, 5621, 262, 288, 540, 202, 1990, 606, 272, 273, 14015, 20200, 4137, 13, 86, 67, 2165, 18, 4285, 1435, 2934, 588, 1990, 606, 5621, 540, 202, 1691, 63, 1615, 65, 273, 12361, 734, 12, 87, 1769, 540, 202, 1615, 9904, 31, 3639, 289, 3639, 509, 5378, 4231, 273, 394, 509, 63, 84, 2107, 15533, 3639, 770, 273, 374, 31, 3639, 364, 261, 3198, 293, 67, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 531, 1639, 21581, 7412, 21581, 12, 21581, 293, 67, 266, 1128, 16, 2332, 4568, 293, 67, 10086, 1482, 16, 3955, 9289, 293, 67, 19557, 16, 29806, 594, 293, 67, 17103, 13, 288, 3639, 368, 7, 63, 1674, 7412, 21581, 12, 21581, 16, 3163, 4568, 16, 1837, 9289, 16, 31783, 13, 3639, 1645, 302, 56, 273, 404, 31, 3639, 3955, 9289, 399, 416, 273, 394, 3955, 9289, 12, 84, 67, 19557, 18, 588, 8336, 1435, 15, 23148, 16, 3955, 9289, 18, 588, 8336, 2802, 10663, 3639, 3955, 9289, 399, 821, 273, 394, 3955, 9289, 12, 84, 67, 19557, 18, 588, 8336, 1435, 17, 23148, 16, 3955, 9289, 18, 588, 8336, 2802, 10663, 3639, 509, 436, 2107, 273, 293, 2 ]
buf.append( ',' ); caption = iMetaData.getColumnLabel( i ); if ( caption != null ) { buf.append( caption ); } else { buf.append( iMetaData.getColumnName( i ) ); }
buf.append( ',' ); buf.append( columnNames[i] );
public void extractData( IReportDocument document, String resultSetName, Collection columns, Locale locale, ServletOutputStream outputStream ) throws RemoteException { assert document != null; assert resultSetName != null && resultSetName.length( ) > 0; assert columns != null && !columns.isEmpty( ); String[] columnNames = new String[columns.size( )]; Iterator iSelectedColumns = columns.iterator( ); for ( int i = 0; iSelectedColumns.hasNext( ); i++ ) { columnNames[i] = (String) iSelectedColumns.next( ); } IDataExtractionTask dataTask = null; IExtractionResults result = null; IDataIterator iData = null; try { synchronized ( this.getClass( ) ) { dataTask = engine.createDataExtractionTask( document ); } dataTask.selectResultSet( resultSetName ); dataTask.selectColumns( columnNames ); dataTask.setLocale( locale ); result = dataTask.extract( ); if ( result != null ) { IResultMetaData iMetaData = result.getResultMetaData( ); iData = result.nextResultIterator( ); if ( iData != null && iMetaData != null ) { StringBuffer buf = new StringBuffer( ); // Captions String caption = iMetaData.getColumnLabel( 0 ); if ( caption != null ) { buf.append( caption ); } else { buf.append( iMetaData.getColumnName( 0 ) ); } for ( int i = 1; i < columnNames.length; i++ ) { buf.append( ',' ); //$NON-NLS-1$ caption = iMetaData.getColumnLabel( i ); if ( caption != null ) { buf.append( caption ); } else { buf.append( iMetaData.getColumnName( i ) ); } } outputStream.println( buf.toString( ) ); buf.delete( 0, buf.length( ) ); // Data while ( iData.next( ) ) { String value = null; try { value = cvsConvertor( (String) DataTypeUtil .convert( iData.getValue( columnNames[0] ), DataType.STRING_TYPE ) ); } catch ( Exception e ) { value = null; } if ( value != null ) { buf.append( value ); } for ( int i = 1; i < columnNames.length; i++ ) { buf.append( ',' ); //$NON-NLS-1$ try { value = cvsConvertor( (String) DataTypeUtil .convert( iData .getValue( columnNames[i] ), DataType.STRING_TYPE ) ); } catch ( Exception e ) { value = null; } if ( value != null ) { buf.append( value ); } } outputStream.println( buf.toString( ) ); buf.delete( 0, buf.length( ) ); } } } } catch ( Exception e ) { AxisFault fault = new AxisFault( ); fault .setFaultCode( new QName( "ReportEngineService.extractData( )" ) ); //$NON-NLS-1$ fault.setFaultString( e.getLocalizedMessage( ) ); throw fault; } finally { if ( iData != null ) { iData.close( ); } if ( result != null ) { result.close( ); } if ( dataTask != null ) { dataTask.close( ); } } }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/a69e6f06e65856358f34cc1f53d437cb6cdee88c/ReportEngineService.java/buggy/viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ReportEngineService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 2608, 751, 12, 467, 4820, 2519, 1668, 16, 514, 563, 11924, 16, 1082, 202, 2532, 2168, 16, 6458, 2573, 16, 7971, 4632, 14956, 262, 1082, 202, 15069, 18361, 202, 95, 202, 202, 11231, 1668, 480, 446, 31, 202, 202, 11231, 563, 11924, 480, 446, 597, 563, 11924, 18, 2469, 12, 262, 405, 374, 31, 202, 202, 11231, 2168, 480, 446, 597, 401, 5112, 18, 291, 1921, 12, 11272, 202, 202, 780, 8526, 19975, 273, 394, 514, 63, 5112, 18, 1467, 12, 262, 15533, 202, 202, 3198, 277, 7416, 3380, 273, 2168, 18, 9838, 12, 11272, 202, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 7416, 3380, 18, 5332, 2134, 12, 11272, 277, 9904, 262, 202, 202, 95, 1082, 202, 2827, 1557, 63, 77, 65, 273, 261, 780, 13, 277, 7416, 3380, 18, 4285, 12, 11272, 202, 202, 97, 202, 202, 734, 396, 25757, 2174, 501, 2174, 273, 446, 31, 202, 202, 45, 25757, 3447, 563, 273, 446, 31, 202, 202, 734, 396, 3198, 277, 751, 273, 446, 31, 202, 202, 698, 202, 202, 95, 1082, 202, 22043, 261, 333, 18, 588, 797, 12, 262, 262, 1082, 202, 95, 9506, 202, 892, 2174, 273, 4073, 18, 2640, 751, 25757, 2174, 12, 1668, 11272, 1082, 202, 97, 1082, 202, 892, 2174, 18, 4025, 13198, 12, 563, 11924, 11272, 1082, 202, 892, 2174, 18, 4025, 3380, 12, 19975, 11272, 1082, 202, 892, 2174, 18, 542, 3916, 12, 2573, 11272, 1082, 202, 2088, 273, 501, 2174, 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, 2608, 751, 12, 467, 4820, 2519, 1668, 16, 514, 563, 11924, 16, 1082, 202, 2532, 2168, 16, 6458, 2573, 16, 7971, 4632, 14956, 262, 1082, 202, 15069, 18361, 202, 95, 202, 202, 11231, 1668, 480, 446, 31, 202, 202, 11231, 563, 11924, 480, 446, 597, 563, 11924, 18, 2469, 12, 262, 405, 374, 31, 202, 202, 11231, 2168, 480, 446, 597, 401, 5112, 18, 291, 1921, 12, 11272, 202, 202, 780, 8526, 19975, 273, 394, 514, 63, 5112, 18, 1467, 12, 262, 15533, 202, 202, 3198, 277, 7416, 3380, 273, 2168, 18, 9838, 12, 11272, 202, 202, 1884, 261, 509, 277, 273, 374, 31, 277, 7416, 3380, 18, 5332, 2134, 12, 11272, 277, 9904, 262, 2 ]
*/
public void windowActivated(java.awt.event.WindowEvent e) { InspectorManager.getInstance().fucusGained(this); /* if (inspectedObject != null) { if (inspectedObject instanceof VisibleObject) { ViewState.getInstance().setAsHilited((VisibleObject) inspectedObject); DrawingSurface.getInstance().repaint(true); } } */}
8177 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8177/beeef966f772ad76c36e07c2d6d246f830fdb8a7/Inspector.java/clean/src/com/cosylab/vdct/inspector/Inspector.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 2742, 28724, 12, 6290, 18, 2219, 88, 18, 2575, 18, 3829, 1133, 425, 13, 288, 202, 19443, 1318, 18, 588, 1442, 7675, 74, 5286, 407, 43, 8707, 12, 2211, 1769, 202, 20308, 202, 430, 261, 2679, 1789, 921, 480, 446, 13, 288, 202, 565, 309, 261, 2679, 1789, 921, 1276, 24132, 921, 13, 288, 202, 3639, 4441, 1119, 18, 588, 1442, 7675, 542, 1463, 44, 330, 16261, 12443, 6207, 921, 13, 2763, 1789, 921, 1769, 202, 3639, 10184, 310, 11508, 18, 588, 1442, 7675, 14462, 1598, 12, 3767, 1769, 202, 565, 289, 202, 97, 202, 5549, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 2742, 28724, 12, 6290, 18, 2219, 88, 18, 2575, 18, 3829, 1133, 425, 13, 288, 202, 19443, 1318, 18, 588, 1442, 7675, 74, 5286, 407, 43, 8707, 12, 2211, 1769, 202, 20308, 202, 430, 261, 2679, 1789, 921, 480, 446, 13, 288, 202, 565, 309, 261, 2679, 1789, 921, 1276, 24132, 921, 13, 288, 202, 3639, 4441, 1119, 18, 588, 1442, 7675, 542, 1463, 44, 330, 16261, 12443, 6207, 921, 13, 2763, 1789, 921, 1769, 202, 3639, 10184, 310, 11508, 18, 588, 1442, 7675, 14462, 1598, 12, 3767, 1769, 202, 565, 289, 202, 97, 202, 5549, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
ConfigurationContext configContext = createNewConfigurationContext();
public void testOneWay() throws Exception { ConfigurationContext configContext = createNewConfigurationContext(); ServiceDescription service = new ServiceDescription(serviceName); OperationDescription operation = new OperationDescription(operationName); operation.setMessageReciever(new MessageReceiver() { public void recieve(MessageContext messgeCtx) throws AxisFault { envelope = messgeCtx.getEnvelope(); } }); service.addOperation(operation); configContext.getAxisConfiguration().addService(service); Utils.resolvePhases(configContext.getAxisConfiguration(), service); ServiceContext serviceContext = configContext.createServiceContext(serviceName); SOAPFactory fac = OMAbstractFactory.getSOAP11Factory(); OMElement payload = createEnvelope(); MessageSender sender = new MessageSender(serviceContext); sender.setTo(targetEPR); sender.setSenderTransport(Constants.TRANSPORT_MAIL); sender.send(operationName.getLocalPart(), payload); while (envelope == null) { Thread.sleep(4000); } }
49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/997faff3fd5d8fc8dd9d23101e213339437a6a23/MailOneWayRawXMLTest.java/buggy/modules/samples/test/org/apache/axis/mail/MailOneWayRawXMLTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 3335, 21831, 1435, 1216, 1185, 288, 9079, 1956, 3291, 1156, 273, 394, 1956, 3291, 12, 15423, 1769, 3639, 4189, 3291, 1674, 273, 394, 4189, 3291, 12, 7624, 461, 1769, 3639, 1674, 18, 542, 1079, 5650, 1385, 502, 12, 2704, 2350, 12952, 1435, 288, 5411, 1071, 918, 1950, 21271, 12, 1079, 1042, 12755, 908, 6442, 13, 1216, 15509, 7083, 288, 7734, 9045, 273, 12755, 908, 6442, 18, 588, 10862, 5621, 5411, 289, 3639, 15549, 3639, 1156, 18, 1289, 2988, 12, 7624, 1769, 3639, 642, 1042, 18, 588, 6558, 1750, 7675, 1289, 1179, 12, 3278, 1769, 3639, 6091, 18, 10828, 3731, 3304, 12, 1425, 1042, 18, 588, 6558, 1750, 9334, 1156, 1769, 3639, 1956, 1042, 1156, 1042, 273, 642, 1042, 18, 2640, 1179, 1042, 12, 15423, 1769, 3639, 16434, 1733, 5853, 273, 531, 5535, 3336, 1733, 18, 588, 27952, 2499, 1733, 5621, 3639, 531, 12310, 2385, 273, 752, 10862, 5621, 3639, 2350, 12021, 5793, 273, 394, 2350, 12021, 12, 3278, 1042, 1769, 3639, 5793, 18, 542, 774, 12, 3299, 41, 8025, 1769, 3639, 5793, 18, 542, 12021, 6568, 12, 2918, 18, 8989, 31943, 67, 18191, 1769, 3639, 5793, 18, 4661, 12, 7624, 461, 18, 588, 2042, 1988, 9334, 2385, 1769, 3639, 1323, 261, 30290, 422, 446, 13, 288, 5411, 4884, 18, 19607, 12, 24, 3784, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 3335, 21831, 1435, 1216, 1185, 288, 9079, 1956, 3291, 1156, 273, 394, 1956, 3291, 12, 15423, 1769, 3639, 4189, 3291, 1674, 273, 394, 4189, 3291, 12, 7624, 461, 1769, 3639, 1674, 18, 542, 1079, 5650, 1385, 502, 12, 2704, 2350, 12952, 1435, 288, 5411, 1071, 918, 1950, 21271, 12, 1079, 1042, 12755, 908, 6442, 13, 1216, 15509, 7083, 288, 7734, 9045, 273, 12755, 908, 6442, 18, 588, 10862, 5621, 5411, 289, 3639, 15549, 3639, 1156, 18, 1289, 2988, 12, 7624, 1769, 3639, 642, 1042, 18, 588, 6558, 1750, 7675, 1289, 1179, 12, 3278, 1769, 3639, 6091, 18, 10828, 3731, 3304, 12, 1425, 1042, 18, 588, 6558, 1750, 9334, 1156, 1769, 3639, 1956, 1042, 1156, 1042, 2 ]
((MarkerAdapter) getViewerInput()).scheduleMarkerCalculation();
getViewer().refresh();
private IAction getHierarchalAction() { IAction hierarchalAction = new Action() { /* * (non-Javadoc) * * @see org.eclipse.jface.action.Action#getStyle() */ public int getStyle() { return AS_RADIO_BUTTON; } /* * (non-Javadoc) * * @see org.eclipse.jface.action.Action#getText() */ public String getText() { return MarkerMessages.ProblemView_hierarchyMenu; } /* * (non-Javadoc) * * @see org.eclipse.jface.action.Action#getImageDescriptor() */ public ImageDescriptor getImageDescriptor() { return IDEInternalWorkbenchImages .getImageDescriptor(IDEInternalWorkbenchImages.IMG_LCL_HIERARCHICAL_LAYOUT); } /* * (non-Javadoc) * * @see org.eclipse.jface.action.Action#runWithEvent(org.eclipse.swt.widgets.Event) */ public void runWithEvent(Event event) { if (isChecked()) { IDEWorkbenchPlugin .getDefault() .getPluginPreferences() .setValue( IDEInternalPreferences.PROBLEMS_HIERARCHAL_MODE, true); regenerateLayout(); getViewer().setSorter(buildSorter()); ((MarkerAdapter) getViewerInput()).scheduleMarkerCalculation(); } } }; hierarchalAction.setChecked(isHierarchalMode()); return hierarchalAction; }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/97da45b298c8fc6737c257bdf9b28c993ca2458c/ProblemView.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/ProblemView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 467, 1803, 7628, 5148, 287, 1803, 1435, 288, 202, 202, 45, 1803, 366, 5148, 287, 1803, 273, 394, 4382, 1435, 288, 1082, 202, 20308, 9506, 380, 261, 5836, 17, 24060, 13, 9506, 380, 4697, 380, 632, 5946, 2358, 18, 20416, 18, 78, 865, 18, 1128, 18, 1803, 7, 588, 2885, 1435, 9506, 1195, 1082, 202, 482, 509, 14210, 1435, 288, 9506, 202, 2463, 5355, 67, 28829, 4294, 67, 20068, 31, 1082, 202, 97, 1082, 202, 20308, 9506, 380, 261, 5836, 17, 24060, 13, 9506, 380, 4697, 380, 632, 5946, 2358, 18, 20416, 18, 78, 865, 18, 1128, 18, 1803, 7, 588, 1528, 1435, 9506, 1195, 1082, 202, 482, 514, 6701, 1435, 288, 9506, 202, 2463, 14742, 5058, 18, 13719, 1767, 67, 17937, 4599, 31, 1082, 202, 97, 1082, 202, 20308, 9506, 380, 261, 5836, 17, 24060, 13, 9506, 380, 4697, 380, 632, 5946, 2358, 18, 20416, 18, 78, 865, 18, 1128, 18, 1803, 7, 588, 2040, 3187, 1435, 9506, 1195, 1082, 202, 482, 3421, 3187, 10567, 3187, 1435, 288, 9506, 202, 2463, 1599, 41, 3061, 2421, 22144, 8946, 25083, 202, 18, 588, 2040, 3187, 12, 10385, 3061, 2421, 22144, 8946, 18, 3445, 43, 67, 48, 5017, 67, 29994, 654, 10586, 10109, 67, 7868, 5069, 1769, 1082, 202, 97, 1082, 202, 20308, 9506, 380, 261, 5836, 17, 24060, 13, 9506, 380, 4697, 380, 632, 5946, 2358, 18, 20416, 18, 78, 865, 18, 1128, 18, 1803, 7, 2681, 1190, 1133, 12, 3341, 18, 20416, 18, 5328, 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, 467, 1803, 7628, 5148, 287, 1803, 1435, 288, 202, 202, 45, 1803, 366, 5148, 287, 1803, 273, 394, 4382, 1435, 288, 1082, 202, 20308, 9506, 380, 261, 5836, 17, 24060, 13, 9506, 380, 4697, 380, 632, 5946, 2358, 18, 20416, 18, 78, 865, 18, 1128, 18, 1803, 7, 588, 2885, 1435, 9506, 1195, 1082, 202, 482, 509, 14210, 1435, 288, 9506, 202, 2463, 5355, 67, 28829, 4294, 67, 20068, 31, 1082, 202, 97, 1082, 202, 20308, 9506, 380, 261, 5836, 17, 24060, 13, 9506, 380, 4697, 380, 632, 5946, 2358, 18, 20416, 18, 78, 865, 18, 1128, 18, 1803, 7, 588, 1528, 1435, 9506, 1195, 1082, 202, 482, 514, 6701, 1435, 288, 9506, 202, 2463, 14742, 2 ]
String className = childOc.getLongName(); int ind = className.lastIndexOf("."); className = className.substring(ind + 1); String packageName = className.substring(0, ind);
String s = childOc.getLongName(); int ind = s.lastIndexOf("."); String className = s.substring(ind + 1); String packageName = s.substring(0, ind);
public void newGeneralization(NewGeneralizationEvent event) { ObjectClassRelationship ocr = DomainObjectFactory.newObjectClassRelationship(); ObjectClass oc = DomainObjectFactory.newObjectClass(); List ocs = elements.getElements(oc.getClass()); for(Iterator it = ocs.iterator(); it.hasNext(); ) { ObjectClass o = (ObjectClass) it.next(); if (o.getLongName().equals(event.getParentClassName())) { ocr.setTarget(o); } else if (o.getLongName().equals(event.getChildClassName())) { ocr.setSource(o); } } ocr.setType(ObjectClassRelationship.TYPE_IS); // Inherit all attributes // Find all DECs: ObjectClass parentOc = ocr.getTarget(), childOc = ocr.getSource(); List newElts = new ArrayList(); List des = elements.getElements(DomainObjectFactory.newDataElement().getClass()); if(des != null) for(Iterator it = des.iterator(); it.hasNext(); ) { DataElement de = (DataElement)it.next(); DataElementConcept dec = de.getDataElementConcept(); if(dec.getObjectClass() == parentOc) { // We found property belonging to parent // Duplicate it for child. Property newProp = DomainObjectFactory.newProperty(); newProp.setLongName(dec.getProperty().getLongName()); newProp.setPreferredName(dec.getProperty().getPreferredName()); DataElementConcept newDec = DomainObjectFactory.newDataElementConcept(); newDec.setProperty(dec.getProperty()); newDec.setObjectClass(childOc); for(Iterator it2 = dec.getDefinitions().iterator(); it2.hasNext();) { Definition def = (Definition)it2.next(); newDec.addDefinition(def); } String propName = newDec.getProperty().getLongName(); String className = childOc.getLongName(); int ind = className.lastIndexOf("."); className = className.substring(ind + 1); String packageName = className.substring(0, ind); newDec.setLongName(className + ":" + propName); DataElement newDe = DomainObjectFactory.newDataElement(); newDe.setDataElementConcept(newDec); newDe.setValueDomain(de.getValueDomain()); newDe.setLongName(newDec.getLongName() + de.getValueDomain().getPreferredName()); for(Iterator it2 = de.getDefinitions().iterator(); it2.hasNext();) { Definition def = (Definition)it2.next(); newDe.addDefinition(def); } AlternateName fullName = DomainObjectFactory.newAlternateName(); fullName.setType(AlternateName.TYPE_FULL_NAME); fullName.setName(packageName + "." + className + "." + propName); de.addAlternateName(fullName); // Store alt Name for DE: // ClassName:PropertyName fullName = DomainObjectFactory.newAlternateName(); fullName.setType(AlternateName.TYPE_UML_DE); fullName.setName(className + ":" + propName); de.addAlternateName(fullName);// for(Iterator it2 = de.getAlternateNames().iterator(); it2.hasNext();) {// AlternateName an = (AlternateName)it2.next();// newDe.addAlternateName(an);// } newDe.setAcCsCsis(parentOc.getAcCsCsis()); newDec.setAcCsCsis(parentOc.getAcCsCsis()); newProp.setAcCsCsis(parentOc.getAcCsCsis()); newElts.add(newProp); newElts.add(newDe); newElts.add(newDec); } } for(Iterator it = newElts.iterator(); it.hasNext(); elements.addElement(it.next())); elements.addElement(ocr); logger.debug("Generalization: "); logger.debug("Source:"); logger.debug("-- " + ocr.getSource().getLongName()); logger.debug("Target: "); if(ocr.getTarget() != null) logger.debug("-- " + ocr.getTarget().getLongName()); else { logger.error("Target does not exist: "); logger.error("Parent: " + event.getParentClassName()); } }
55019 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55019/a240806d1906a60c82d39ddd1fa998f22e2817ea/UMLDefaultHandler.java/buggy/src/gov/nih/nci/ncicb/cadsr/loader/event/UMLDefaultHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 394, 12580, 1588, 12, 1908, 12580, 1588, 1133, 871, 13, 288, 565, 1033, 797, 8180, 320, 3353, 273, 6648, 921, 1733, 18, 2704, 921, 797, 8180, 5621, 565, 1033, 797, 13345, 273, 6648, 921, 1733, 18, 2704, 921, 797, 5621, 565, 987, 320, 2143, 273, 2186, 18, 588, 3471, 12, 504, 18, 588, 797, 10663, 565, 364, 12, 3198, 518, 273, 320, 2143, 18, 9838, 5621, 518, 18, 5332, 2134, 5621, 262, 288, 1377, 1033, 797, 320, 273, 261, 921, 797, 13, 518, 18, 4285, 5621, 5411, 309, 261, 83, 18, 588, 3708, 461, 7675, 14963, 12, 2575, 18, 588, 3054, 3834, 1435, 3719, 288, 3639, 320, 3353, 18, 542, 2326, 12, 83, 1769, 1377, 289, 469, 309, 261, 83, 18, 588, 3708, 461, 7675, 14963, 12, 2575, 18, 588, 1763, 3834, 1435, 3719, 288, 3639, 320, 3353, 18, 542, 1830, 12, 83, 1769, 1377, 289, 1850, 289, 565, 320, 3353, 18, 542, 559, 12, 921, 797, 8180, 18, 2399, 67, 5127, 1769, 565, 368, 25953, 777, 1677, 565, 368, 4163, 777, 2030, 14272, 30, 565, 1033, 797, 982, 51, 71, 273, 320, 3353, 18, 588, 2326, 9334, 1377, 1151, 51, 71, 273, 320, 3353, 18, 588, 1830, 5621, 565, 987, 394, 4958, 3428, 273, 394, 2407, 5621, 565, 987, 2832, 273, 2186, 18, 588, 3471, 12, 3748, 921, 1733, 18, 2704, 751, 1046, 7675, 588, 797, 10663, 565, 309, 12, 5489, 480, 446, 13, 1377, 364, 12, 3198, 518, 273, 2832, 18, 9838, 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, 394, 12580, 1588, 12, 1908, 12580, 1588, 1133, 871, 13, 288, 565, 1033, 797, 8180, 320, 3353, 273, 6648, 921, 1733, 18, 2704, 921, 797, 8180, 5621, 565, 1033, 797, 13345, 273, 6648, 921, 1733, 18, 2704, 921, 797, 5621, 565, 987, 320, 2143, 273, 2186, 18, 588, 3471, 12, 504, 18, 588, 797, 10663, 565, 364, 12, 3198, 518, 273, 320, 2143, 18, 9838, 5621, 518, 18, 5332, 2134, 5621, 262, 288, 1377, 1033, 797, 320, 273, 261, 921, 797, 13, 518, 18, 4285, 5621, 5411, 309, 261, 83, 18, 588, 3708, 461, 7675, 14963, 12, 2575, 18, 588, 3054, 3834, 1435, 3719, 288, 3639, 320, 3353, 18, 542, 2326, 12, 83, 1769, 1377, 289, 2 ]
public org.quickfix.field.SymbolSfx getSymbolSfx() throws FieldNotFound { org.quickfix.field.SymbolSfx value = new org.quickfix.field.SymbolSfx();
public quickfix.field.SymbolSfx getSymbolSfx() throws FieldNotFound { quickfix.field.SymbolSfx value = new quickfix.field.SymbolSfx();
public org.quickfix.field.SymbolSfx getSymbolSfx() throws FieldNotFound { org.quickfix.field.SymbolSfx value = new org.quickfix.field.SymbolSfx(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/QuoteRequest.java/buggy/src/java/src/quickfix/fix43/QuoteRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 5335, 55, 19595, 18712, 55, 19595, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 5335, 55, 19595, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 5335, 55, 19595, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 5335, 55, 19595, 18712, 55, 19595, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 5335, 55, 19595, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 5335, 55, 19595, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
_t = __t2309;
_t = __t2310;
public final void grant_rev_opt(AST _t) throws RecognitionException { AST grant_rev_opt_AST_in = (_t == ASTNULL) ? null : (AST)_t; if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ALL: { AST __t2306 = _t; AST tmp2469_AST_in = (AST)_t; match(_t,ALL); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case PRIVILEGES: { AST tmp2470_AST_in = (AST)_t; match(_t,PRIVILEGES); _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t2306; _t = _t.getNextSibling(); break; } case DELETE_KW: case INSERT: case SELECT: case UPDATE: case COMMA: { { int _cnt2314=0; _loop2314: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case SELECT: { AST tmp2471_AST_in = (AST)_t; match(_t,SELECT); _t = _t.getNextSibling(); break; } case INSERT: { AST tmp2472_AST_in = (AST)_t; match(_t,INSERT); _t = _t.getNextSibling(); break; } case DELETE_KW: { AST tmp2473_AST_in = (AST)_t; match(_t,DELETE_KW); _t = _t.getNextSibling(); break; } case UPDATE: { AST __t2309 = _t; AST tmp2474_AST_in = (AST)_t; match(_t,UPDATE); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case Field_list: { AST __t2311 = _t; AST tmp2475_AST_in = (AST)_t; match(_t,Field_list); _t = _t.getFirstChild(); AST tmp2476_AST_in = (AST)_t; match(_t,LEFTPAREN); _t = _t.getNextSibling(); field(_t); _t = _retTree; { _loop2313: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==COMMA)) { AST tmp2477_AST_in = (AST)_t; match(_t,COMMA); _t = _t.getNextSibling(); field(_t); _t = _retTree; } else { break _loop2313; } } while (true); } AST tmp2478_AST_in = (AST)_t; match(_t,RIGHTPAREN); _t = _t.getNextSibling(); _t = __t2311; _t = _t.getNextSibling(); break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t2309; _t = _t.getNextSibling(); break; } case COMMA: { AST tmp2479_AST_in = (AST)_t; match(_t,COMMA); _t = _t.getNextSibling(); break; } default: { if ( _cnt2314>=1 ) { break _loop2314; } else {throw new NoViableAltException(_t);} } } _cnt2314++; } while (true); } break; } default: { throw new NoViableAltException(_t); } } _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/865876f0e6319c071fef156818ff116c276cfdff/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, 7936, 67, 9083, 67, 3838, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 7936, 67, 9083, 67, 3838, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 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, 8061, 30, 202, 202, 95, 1082, 202, 9053, 1001, 88, 4366, 7677, 273, 389, 88, 31, 1082, 202, 9053, 1853, 3247, 8148, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 4685, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 1082, 202, 95, 1082, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 1082, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 1082, 202, 3593, 10365, 4136, 19384, 3991, 30, 1082, 202, 95, 9506, 202, 9053, 1853, 3247, 7301, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 9506, 202, 1916, 24899, 88, 16, 7698, 4136, 19384, 3991, 1769, 9506, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 9506, 202, 8820, 31, 1082, 202, 97, 1082, 202, 3593, 890, 30, 1082, 202, 95, 9506, 202, 8820, 31, 1082, 202, 97, 1082, 202, 1886, 30, 1082, 202, 95, 9506, 202, 12849, 394, 17114, 24899, 88, 1769, 1082, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 7936, 67, 9083, 67, 3838, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 7936, 67, 9083, 67, 3838, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 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, 8061, 30, 202, 202, 95, 1082, 202, 9053, 1001, 88, 4366, 7677, 273, 389, 88, 31, 1082, 202, 9053, 1853, 3247, 8148, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 4685, 1769, 1082, 202, 2 ]
void innerUpdate(){ Logger.minor(this, "Update() called"); synchronized(this) { if((result == null) || hasBeenBlown) { Logger.minor(this, "Returning: result="+result+", isAutoUpdateAllowed="+isAutoUpdateAllowed+", hasBeenBlown="+hasBeenBlown); return; } this.revocationDNFCounter = 0; this.finalCheck = true; } System.err.println("Searching for revocation key"); this.queueFetchRevocation(100); synchronized(this) { while(revocationDNFCounter < 3) { System.err.println("Revocation counter: "+revocationDNFCounter); if(this.hasBeenBlown) { Logger.error(this, "The revocation key has been found on the network : blocking auto-update"); return; } try { wait(100*1000); } catch (InterruptedException e) { // Ignore } } } System.err.println("Update in progress"); Logger.normal(this, "Update in progress"); try{ ArrayBucket bucket = (ArrayBucket) result.asBucket(); byte[] data = bucket.toByteArray(); File fRunning = new File("freenet-cvs-snapshot.jar"); File fNew = new File("freenet-cvs-snapshot.jar.new"); boolean nastyRestart = false; if(File.separatorChar != '\\') { // Do nothing. } else { nastyRestart = true; Properties p = WrapperManager.getProperties(); String cp1 = p.getProperty("wrapper.java.classpath.1"); if(cp1.equals("freenet-cvs-snapshot.jar")) { // Cool! } else if(cp1.equals("freenet-cvs-snapshot.jar.new")) { // Swapped; we are running .new File tmp = fRunning; fRunning = fNew; fNew = tmp; } else { cp1 = p.getProperty("wrapper.java.classpath.2"); if(cp1.equals("freenet-cvs-snapshot.jar")) { // Cool! } else if(cp1.equals("freenet-cvs-snapshot.jar.new")) { // Swapped; we are running .new File tmp = fRunning; fRunning = fNew; fNew = tmp; } else { Logger.error(this, "Cannot restart on Windows due to non-standard config file!"); System.err.println("Cannot restart on Windows due to non-standard config file!"); return; } } } fNew.delete(); FileOutputStream fos = new FileOutputStream(fNew); fos.write(data); fos.flush(); fos.close(); System.out.println("################## File written! "+cg.getURI().getSuggestedEdition()+ " " +fNew.getAbsolutePath()); if(!nastyRestart) { // Easy way. if(!fNew.renameTo(fRunning)) { fRunning.delete(); if(!fNew.renameTo(fRunning)) { System.err.println("ERROR renaming the file!"); return; } } } else { // Hard way. if(!WrapperManager.isControlledByNativeWrapper()) { Logger.error(this, "Cannot update because not running under wrapper"); System.err.println("Cannot update because not running under wrapper"); return; } try { File oldConfig = new File("wrapper.conf"); File newConfig = new File("wrapper.conf.new"); FileInputStream fis = new FileInputStream(oldConfig); BufferedInputStream bis = new BufferedInputStream(fis); InputStreamReader isr = new InputStreamReader(bis); BufferedReader br = new BufferedReader(isr); fos = new FileOutputStream(newConfig); OutputStreamWriter osw = new OutputStreamWriter(fos); BufferedWriter bw = new BufferedWriter(osw); String line; boolean succeeded = false; boolean stillSucceeded = false; while((line = br.readLine()) != null) { if(line.equals("wrapper.java.classpath.1="+fRunning.getName())) { bw.write("wrapper.java.classpath.1="+fNew.getName()+"\r\n"); succeeded = true; } else if(line.equals("wrapper.java.classpath.2="+fRunning.getName())) { bw.write("wrapper.java.classpath.2="+fNew.getName()+"\r\n"); succeeded = true; } else { if(line.equals("wrapper.restart.reload_configuration=TRUE")) stillSucceeded = true; bw.write(line+"\r\n"); } } bw.close(); br.close(); if(!succeeded) { System.err.println("Not able to update because of non-standard config"); Logger.error(this, "Not able to update because of non-standard config"); return; } if(!stillSucceeded) { System.err.println("Not able to update because of non-standard or old config, add a line saying \"wrapper.restart.reload_configuration=TRUE\""); Logger.error(this, "Not able to update because of non-standard or old config, add a line saying \"wrapper.restart.reload_configuration=TRUE\""); return; } if(!newConfig.renameTo(oldConfig)) { oldConfig.delete(); if(!newConfig.renameTo(oldConfig)) { System.err.println("Failed to rename over old config: update failed."); Logger.error(this, "Failed to rename over old config: update failed."); return; } } // New config installed. } catch (IOException e) { Logger.error(this, "Not able to update because of I/O error: "+e, e); System.err.println("Not able to update because of I/O error: "+e); } } if(node.getNodeStarter()!=null) { System.err.println("Restarting because of update"); node.getNodeStarter().restart(); } else{ System.out.println("New version has been downloaded: please restart your node!"); node.exit(); } System.err.println("WTF? Restart returned!?"); }catch(Exception e){ Logger.error(this, "Error while updating the node : "+e); System.out.println("Exception : "+e); e.printStackTrace(); } }
50653 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50653/0ce52e9ff1e0048c34e8d11f2ad596bc8936f6e9/NodeUpdater.java/clean/src/freenet/node/updater/NodeUpdater.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 3443, 1891, 1435, 95, 202, 202, 3328, 18, 17364, 12, 2211, 16, 315, 1891, 1435, 2566, 8863, 202, 202, 22043, 12, 2211, 13, 288, 1082, 202, 430, 12443, 2088, 422, 446, 13, 747, 711, 25931, 38, 821, 82, 13, 288, 9506, 202, 3328, 18, 17364, 12, 2211, 16, 315, 28365, 30, 563, 1546, 15, 2088, 15, 3113, 27079, 1891, 5042, 1546, 15, 291, 4965, 1891, 5042, 15, 3113, 711, 25931, 38, 821, 82, 1546, 15, 5332, 25931, 38, 821, 82, 1769, 9506, 202, 2463, 31, 1082, 202, 97, 25083, 202, 2211, 18, 9083, 4431, 8609, 4488, 2096, 273, 374, 31, 1082, 202, 2211, 18, 6385, 1564, 273, 638, 31, 202, 202, 97, 9506, 202, 3163, 18, 370, 18, 8222, 2932, 2979, 310, 364, 24158, 498, 8863, 202, 202, 2211, 18, 4000, 5005, 28691, 12, 6625, 1769, 202, 202, 22043, 12, 2211, 13, 288, 1082, 202, 17523, 12, 9083, 4431, 8609, 4488, 2096, 411, 890, 13, 288, 9506, 202, 3163, 18, 370, 18, 8222, 2932, 28691, 3895, 30, 13773, 9083, 4431, 8609, 4488, 2096, 1769, 9506, 202, 430, 12, 2211, 18, 5332, 25931, 38, 821, 82, 13, 288, 6862, 202, 3328, 18, 1636, 12, 2211, 16, 315, 1986, 24158, 498, 711, 2118, 1392, 603, 326, 2483, 294, 9445, 3656, 17, 2725, 8863, 6862, 202, 2463, 31, 9506, 202, 97, 9506, 202, 698, 288, 6862, 202, 7048, 12, 6625, 14, 18088, 1769, 9506, 202, 97, 1044, 261, 24485, 503, 425, 13, 288, 6862, 202, 759, 8049, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 3443, 1891, 1435, 95, 202, 202, 3328, 18, 17364, 12, 2211, 16, 315, 1891, 1435, 2566, 8863, 202, 202, 22043, 12, 2211, 13, 288, 1082, 202, 430, 12443, 2088, 422, 446, 13, 747, 711, 25931, 38, 821, 82, 13, 288, 9506, 202, 3328, 18, 17364, 12, 2211, 16, 315, 28365, 30, 563, 1546, 15, 2088, 15, 3113, 27079, 1891, 5042, 1546, 15, 291, 4965, 1891, 5042, 15, 3113, 711, 25931, 38, 821, 82, 1546, 15, 5332, 25931, 38, 821, 82, 1769, 9506, 202, 2463, 31, 1082, 202, 97, 25083, 202, 2211, 18, 9083, 4431, 8609, 4488, 2096, 273, 374, 31, 1082, 202, 2211, 18, 6385, 1564, 273, 638, 31, 202, 202, 97, 9506, 202, 3163, 18, 2 ]
int labelX = (int) (atom.getPoint2d().x - 2); int labelY = (int) (atom.getPoint2d().y + 2);
int labelX = (int) (r2dm.getRenderingCoordinate(atom).x - 2); int labelY = (int) (r2dm.getRenderingCoordinate(atom).y + 2);
public void paintAtomSymbol(IAtom atom, Color backColor, Graphics2D graphics, int alignment, int atomNumber, boolean isRadical) { if (atom.getPoint2d() == null) { logger.warn("Cannot draw atom without 2D coordinate"); return; } //This is for the compact version just with a square in the right color if (r2dm.getIsCompact()) { if (!atom.getSymbol().equals("C")) { int labelX = (int) (atom.getPoint2d().x - 2); int labelY = (int) (atom.getPoint2d().y + 2); try{ AtomTypeFactory factory = AtomTypeFactory.getInstance("org/openscience/cdk/config/jmol_atomtypes.txt", atom.getBuilder()); factory.configure(atom); }catch(Exception ex){ //We choose black if reading not possible logger.debug(ex); } Color atomColor = (Color)atom.getProperty("org.openscience.cdk.renderer.color"); if(atomColor==null) atomColor=Color.BLACK; paintEmptySpace(labelX, labelY, 5, 5, 0, atomColor, graphics); } return; } // The fonts for calculating geometries float subscriptFraction = 0.7f; Font normalFont = r2dm.getFont(); if (normalFont == null) { normalFont = graphics.getFont(); } int normalFontSize = normalFont.getSize(); Font subscriptFont = normalFont.deriveFont( normalFontSize * subscriptFraction); // get drawing fonts float normalScreenFontSize = getScreenSize(normalFontSize); Font normalScreenFont = normalFont.deriveFont(normalScreenFontSize); Font subscriptScreenFont = normalScreenFont.deriveFont( normalScreenFontSize * subscriptFraction); // STEP 1: calculate widths and heights for all parts in the label // calculate SYMBOL width, height String atomSymbol = atom.getSymbol(); if (r2dm.drawNumbers()) { if (atomSymbol.equals("C")) { atomSymbol = "" + atomNumber; } else if (atomNumber != 0 && !atomSymbol.equals("")) { atomSymbol += "-" + atomNumber; } } if (isRadical) { logger.debug(" atom is radical, adding \u00B7"); atomSymbol += "\u00B7"; } graphics.setFont(normalFont); FontMetrics fm = graphics.getFontMetrics(); int atomSymbolW = (new Integer(fm.stringWidth(atomSymbol))).intValue(); int atomSymbolFirstCharW = (new Integer(fm.stringWidth(atomSymbol.substring(0, 1)))).intValue(); int atomSymbolH = (new Integer(fm.getAscent())).intValue(); int atomSymbolXOffset = atomSymbolFirstCharW / 2; int atomSymbolYOffset = atomSymbolH / 2; // calculate IMPLICIT H width, height int implicitHydrogenCount = atom.getHydrogenCount(); int hSymbolW = 0; // unless next condition, this is the default int hSymbolH = 0; // unless next condition, this is the default String hSymbol = "H"; String hMultiplierString = new Integer(implicitHydrogenCount).toString(); if (implicitHydrogenCount > 0) { // fm is identical, don't change hSymbolW = (new Integer(fm.stringWidth(hSymbol))).intValue(); hSymbolH = atomSymbolH; } graphics.setFont(subscriptFont); fm = graphics.getFontMetrics(); int hMultiplierW = 0; int hMultiplierH = 0; if (implicitHydrogenCount > 1) { // fm is identical, don't change hMultiplierW = (new Integer(fm.stringWidth(hMultiplierString))).intValue(); hMultiplierH = (new Integer(fm.getAscent())).intValue(); } // calculate CHARGE width, height // font is still subscript, that's fine int formalCharge = atom.getFormalCharge(); int formalChargeW = 0; // unless next condition, this is the default int formalChargeH = 0; String formalChargeString = ""; // if charge == 0, then don't print anything if (formalCharge != 0) { if (formalCharge > 1) { formalChargeString = new Integer(formalCharge).toString() + "+"; } else if (formalCharge > 0) { formalChargeString = "+"; } else if (formalCharge < -1) { formalChargeString = new Integer(formalCharge * -1).toString() + "-"; } else if (formalCharge < 0) { formalChargeString = "-"; } graphics.setFont(subscriptFont); fm = graphics.getFontMetrics(); formalChargeW = (new Integer(fm.stringWidth(formalChargeString))).intValue(); formalChargeH = (new Integer(fm.getAscent())).intValue(); } // calculate ISOTOPE width, height // font is still subscript, that's fine int atomicMassNumber = atom.getMassNumber(); int isotopeW = 0; // unless next condition, this is the default int isotopeH = 0; String isotopeString = ""; if (atomicMassNumber != 0 && isotopeFactory != null) { IIsotope majorIsotope = isotopeFactory.getMajorIsotope(atom.getSymbol()); if (majorIsotope != null && atomicMassNumber != majorIsotope.getMassNumber()) { graphics.setFont(subscriptFont); fm = graphics.getFontMetrics(); isotopeString = new Integer(atomicMassNumber).toString(); isotopeW = (new Integer(fm.stringWidth(isotopeString))).intValue(); isotopeH = (new Integer(fm.getAscent())).intValue(); } } // STEP 2: calculate x's and y's for all parts in the label int labelX = 0; int labelY = 0; if (alignment == 1) { // left alignment labelX = (int) (atom.getPoint2d().x - (atomSymbolXOffset + isotopeW)); } else { // right alignment labelX = (int) (atom.getPoint2d().x - (atomSymbolXOffset + Math.max(isotopeW, hMultiplierW) + hSymbolW)); } // labelY and labelH are the same for both left/right aligned labelY = (int) (atom.getPoint2d().y + (atomSymbolYOffset + isotopeH)); // xy for atom symbol int[] atomSymbolCoords = new int[2]; if (alignment == 1) { // left alignment atomSymbolCoords[0] = labelX + isotopeW; } else { // right alignment atomSymbolCoords[0] = labelX + hSymbolW + Math.max(isotopeW, hMultiplierW); } atomSymbolCoords[1] = labelY - isotopeH - atomSymbolH; //Check if this is inside the tooltiptextarea int[] tipcoords = getScreenCoordinates(atomSymbolCoords); if (tooltiparea != null && tipcoords[0] > tooltiparea[0] && tipcoords[0] < tooltiparea[2] && tipcoords[1] > tooltiparea[1] && tipcoords[1] < tooltiparea[3]) { return; } // xy for implicit hydrogens int[] hSymbolCoords = new int[2]; if (alignment == 1) { // left alignment hSymbolCoords[0] = labelX + isotopeW + atomSymbolW; } else { // right alignment hSymbolCoords[0] = labelX; } hSymbolCoords[1] = labelY - isotopeH - atomSymbolH; // xy for implicit hydrogens multiplier int[] hMultiplierCoords = new int[2]; if (alignment == 1) { // left alignment hMultiplierCoords[0] = labelX + isotopeW + atomSymbolW + hSymbolW; } else { // right alignment hMultiplierCoords[0] = labelX + hSymbolW; } hMultiplierCoords[1] = labelY - isotopeH - atomSymbolH - hMultiplierH / 2; // xy for charge int[] chargeCoords = new int[2]; if (alignment == 1) { // left alignment chargeCoords[0] = labelX + isotopeW + atomSymbolW + hSymbolW; } else { // right alignment chargeCoords[0] = labelX + hSymbolW + Math.max(isotopeW, hMultiplierW) + atomSymbolW; } chargeCoords[1] = labelY - isotopeH; //xy for isotope int[] isotopeCoords = new int[2]; if (alignment == 1) { // left alignment isotopeCoords[0] = labelX; } else { // right alignment isotopeCoords[0] = labelX + hSymbolW; } isotopeCoords[1] = labelY - isotopeH; // STEP 3: draw empty backgrounds for all parts in the label int border = 2; // border for clearing background in pixels paintEmptySpace(atomSymbolCoords[0], atomSymbolCoords[1] + atomSymbolH, atomSymbolW, atomSymbolH, border, backColor, graphics); paintEmptySpace(hSymbolCoords[0], hSymbolCoords[1] + hSymbolH, hSymbolW, hSymbolH, border, backColor, graphics); paintEmptySpace(hMultiplierCoords[0], hMultiplierCoords[1] + hMultiplierH, hMultiplierW, hMultiplierH, border, backColor, graphics); paintEmptySpace(chargeCoords[0], chargeCoords[1] + formalChargeH, formalChargeW, formalChargeH, border, backColor, graphics); paintEmptySpace(isotopeCoords[0], isotopeCoords[1] + isotopeH, isotopeW, isotopeH, border, backColor, graphics); // STEP 4: draw all parts in the label Color atomColor = r2dm.getAtomColor(atom, r2dm.getForeColor()); { // draw SYMBOL int[] screenCoords = getScreenCoordinates(atomSymbolCoords); graphics.setColor(atomColor); graphics.setFont(normalScreenFont); graphics.drawString(atomSymbol, screenCoords[0], screenCoords[1]); // possibly underline SYMBOL if (atom.getProperty(ProblemMarker.ERROR_MARKER) != null || atom.getProperty(ProblemMarker.WARNING_MARKER) != null) { // RED for error, ORANGE for warnings if (atom.getProperty(ProblemMarker.ERROR_MARKER) != null) { graphics.setColor(Color.red); } else if (atom.getProperty(ProblemMarker.WARNING_MARKER) != null) { graphics.setColor(Color.orange); } // make zig zag bond int symbolLength = atom.getSymbol().length(); int zigzags = 1 + (2 * symbolLength); int spacing = atomSymbolW / zigzags; int width = atomSymbolH / 3; for (int i = -symbolLength; i <= symbolLength; i++) { int[] lineCoords = new int[6]; int halfspacing = spacing / 2; lineCoords[0] = atomSymbolCoords[0] + (atomSymbolW / 2) + (i * spacing) - halfspacing; lineCoords[1] = atomSymbolCoords[1] - 1 * width; lineCoords[2] = lineCoords[0] + halfspacing; lineCoords[3] = atomSymbolCoords[1] - 2 * width; lineCoords[4] = lineCoords[2] + halfspacing; lineCoords[5] = lineCoords[1]; int[] lineScreenCoords = getScreenCoordinates(lineCoords); graphics.drawLine(lineScreenCoords[0], lineScreenCoords[1], lineScreenCoords[2], lineScreenCoords[3]); graphics.drawLine(lineScreenCoords[2], lineScreenCoords[3], lineScreenCoords[4], lineScreenCoords[5]); } } } // draw IMPLICIT H's if (implicitHydrogenCount > 0 && r2dm.getShowImplicitHydrogens()) { int[] screenCoords = getScreenCoordinates(hSymbolCoords); graphics.setColor(atomColor); graphics.setFont(normalScreenFont); graphics.drawString(hSymbol, screenCoords[0], screenCoords[1]); if (implicitHydrogenCount > 1) { // draw number of hydrogens screenCoords = getScreenCoordinates(hMultiplierCoords); graphics.setColor(atomColor); graphics.setFont(subscriptScreenFont); graphics.drawString(hMultiplierString, screenCoords[0], screenCoords[1]); } } // draw CHARGE if (formalCharge != 0) { int[] screenCoords = getScreenCoordinates(chargeCoords); graphics.setColor(atomColor); graphics.setFont(normalScreenFont); graphics.drawString(formalChargeString, screenCoords[0], screenCoords[1]); } // draw ISOTOPE if (isotopeString.length() > 0) { int[] screenCoords = getScreenCoordinates(isotopeCoords); graphics.setColor(atomColor); graphics.setFont(subscriptScreenFont); graphics.drawString(isotopeString, screenCoords[0], screenCoords[1]); } // reset old font & color graphics.setFont(normalFont); graphics.setColor(r2dm.getForeColor()); }
46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/948cfaa939b42d113ae5ceb65b72ea94d1b4e017/AbstractRenderer2D.java/buggy/src/org/openscience/cdk/renderer/AbstractRenderer2D.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 12574, 3641, 5335, 12, 45, 3641, 3179, 16, 5563, 1473, 2957, 16, 16830, 22, 40, 17313, 16, 1082, 202, 474, 8710, 16, 509, 3179, 1854, 16, 1250, 353, 6621, 1706, 13, 202, 95, 202, 202, 430, 261, 7466, 18, 588, 2148, 22, 72, 1435, 422, 446, 13, 202, 202, 95, 1082, 202, 4901, 18, 8935, 2932, 4515, 3724, 3179, 2887, 576, 40, 7799, 8863, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 759, 2503, 353, 364, 326, 6739, 1177, 2537, 598, 279, 8576, 316, 326, 2145, 2036, 202, 202, 430, 261, 86, 22, 10956, 18, 588, 2520, 16863, 10756, 202, 202, 95, 1082, 202, 430, 16051, 7466, 18, 588, 5335, 7675, 14963, 2932, 39, 6, 3719, 1082, 202, 95, 9506, 202, 474, 1433, 60, 273, 261, 474, 13, 261, 7466, 18, 588, 2148, 22, 72, 7675, 92, 300, 576, 1769, 9506, 202, 474, 1433, 61, 273, 261, 474, 13, 261, 7466, 18, 588, 2148, 22, 72, 7675, 93, 397, 576, 1769, 3639, 775, 95, 1850, 7149, 559, 1733, 3272, 273, 7149, 559, 1733, 18, 588, 1442, 2932, 3341, 19, 20346, 71, 6254, 19, 71, 2883, 19, 1425, 19, 78, 21260, 67, 7466, 2352, 18, 5830, 3113, 2868, 3179, 18, 588, 1263, 10663, 1850, 3272, 18, 14895, 12, 7466, 1769, 3639, 289, 14683, 12, 503, 431, 15329, 6647, 368, 3218, 9876, 7721, 309, 6453, 486, 3323, 6647, 1194, 18, 4148, 12, 338, 1769, 3639, 289, 3639, 5563, 3179, 2957, 273, 261, 2957, 13, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 12574, 3641, 5335, 12, 45, 3641, 3179, 16, 5563, 1473, 2957, 16, 16830, 22, 40, 17313, 16, 1082, 202, 474, 8710, 16, 509, 3179, 1854, 16, 1250, 353, 6621, 1706, 13, 202, 95, 202, 202, 430, 261, 7466, 18, 588, 2148, 22, 72, 1435, 422, 446, 13, 202, 202, 95, 1082, 202, 4901, 18, 8935, 2932, 4515, 3724, 3179, 2887, 576, 40, 7799, 8863, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 759, 2503, 353, 364, 326, 6739, 1177, 2537, 598, 279, 8576, 316, 326, 2145, 2036, 202, 202, 430, 261, 86, 22, 10956, 18, 588, 2520, 16863, 10756, 202, 202, 95, 1082, 202, 430, 16051, 7466, 18, 588, 5335, 7675, 14963, 2932, 39, 2 ]
tabPane.addTab("Info", makeInfoPane(r));
tabPane.addTab("Roster Entry", makeInfoPane(r));
void readConfig(Element root, RosterEntry r) { // check for "programmer" element at start Element base; if ( (base = root.getChild("programmer")) == null) { log.error("xml file top element is not programmer"); return; } // add the Info tab tabPane.addTab("Info", makeInfoPane(r)); // for all "pane" elements ... List paneList = base.getChildren("pane"); if (log.isDebugEnabled()) log.debug("will process "+paneList.size()+" pane definitions"); for (int i=0; i<paneList.size(); i++) { // load each pane String name = ((Element)(paneList.get(i))).getAttribute("name").getValue(); newPane( name, ((Element)(paneList.get(i)))); } }
2652 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2652/9f98f3a8ba0fc81445fcec3404df6f934351025d/PaneProgFrame.java/buggy/jmrit/symbolicprog/tabbedframe/PaneProgFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 855, 809, 12, 1046, 1365, 16, 534, 29811, 1622, 436, 13, 288, 202, 202, 759, 866, 364, 315, 12890, 6592, 6, 930, 622, 787, 202, 202, 1046, 1026, 31, 1082, 202, 430, 261, 261, 1969, 273, 1365, 18, 588, 1763, 2932, 12890, 6592, 6, 3719, 422, 446, 13, 288, 1082, 202, 1330, 18, 1636, 2932, 2902, 585, 1760, 930, 353, 486, 5402, 6592, 8863, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 759, 527, 326, 3807, 3246, 202, 202, 7032, 8485, 18, 1289, 5661, 2932, 966, 3113, 1221, 966, 8485, 12, 86, 10019, 9506, 202, 759, 364, 777, 315, 29009, 6, 2186, 1372, 202, 202, 682, 13618, 682, 273, 1026, 18, 588, 4212, 2932, 29009, 8863, 202, 202, 430, 261, 1330, 18, 291, 2829, 1526, 10756, 613, 18, 4148, 2932, 20194, 1207, 13773, 29009, 682, 18, 1467, 1435, 9078, 13618, 6377, 8863, 202, 202, 1884, 261, 474, 277, 33, 20, 31, 277, 32, 29009, 682, 18, 1467, 5621, 277, 27245, 288, 1082, 202, 759, 1262, 1517, 13618, 1082, 202, 780, 508, 273, 14015, 1046, 21433, 29009, 682, 18, 588, 12, 77, 3719, 2934, 588, 1499, 2932, 529, 20387, 24805, 5621, 1082, 202, 2704, 8485, 12, 508, 16, 14015, 1046, 21433, 29009, 682, 18, 588, 12, 77, 3719, 10019, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6459, 855, 809, 12, 1046, 1365, 16, 534, 29811, 1622, 436, 13, 288, 202, 202, 759, 866, 364, 315, 12890, 6592, 6, 930, 622, 787, 202, 202, 1046, 1026, 31, 1082, 202, 430, 261, 261, 1969, 273, 1365, 18, 588, 1763, 2932, 12890, 6592, 6, 3719, 422, 446, 13, 288, 1082, 202, 1330, 18, 1636, 2932, 2902, 585, 1760, 930, 353, 486, 5402, 6592, 8863, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 759, 527, 326, 3807, 3246, 202, 202, 7032, 8485, 18, 1289, 5661, 2932, 966, 3113, 1221, 966, 8485, 12, 86, 10019, 9506, 202, 759, 364, 777, 315, 29009, 6, 2186, 1372, 202, 202, 682, 13618, 682, 273, 1026, 18, 588, 4212, 2932, 29009, 2 ]
if (browseAuthors)
if (browseAuthors || browseSubjects)
protected void doDSGet(Context context, HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException, SQLException, AuthorizeException { // We will resolve the HTTP request parameters into a scope BrowseScope scope = new BrowseScope(context); // Will need to know whether to highlight the "focus" point boolean highlight = false; // Build up log information String logInfo = ""; // For browse by date, we'll need to work out the URL query string to // use when the user swaps the ordering, so that they stay at the same // point in the index String flipOrderingQuery = ""; // Grab HTTP request parameters String focus = request.getParameter("focus"); String startsWith = request.getParameter("starts_with"); String top = request.getParameter("top"); String bottom = request.getParameter("bottom"); // The following three are specific to browsing items by date String month = request.getParameter("month"); String year = request.getParameter("year"); String order = request.getParameter("order"); // For browse by date: oldest item first? boolean oldestFirst = false; if ((order != null) && order.equalsIgnoreCase("oldestfirst")) { oldestFirst = true; } if (browseDates && (year != null) && !year.equals("") && ((startsWith == null) || startsWith.equals(""))) { // We're browsing items by date, the user hasn't typed anything // into the "year" text box, and they've selected a year from // the drop-down list. From this we work out where to start // the browse. startsWith = year; if ((month != null) & !month.equals("-1")) { // They've selected a month as well if (month.length() == 1) { // Ensure double-digit month number month = "0" + month; } startsWith = year + "-" + month; } } // Set the scope according to the parameters passed in if (focus != null) { // ---------------------------------------------- // Browse should start at a specified focus point // ---------------------------------------------- if (browseAuthors) { // For browsing authors, focus is just a text value scope.setFocus(focus); } else { // For browsing items by title or date, focus is a Handle Item item = (Item) HandleManager .resolveToObject(context, focus); if (item == null) { // Handle is invalid one. Show an error. JSPManager.showInvalidIDError(request, response, focus, Constants.ITEM); return; } scope.setFocus(item); } // Will need to highlight the focus highlight = true; logInfo = "focus=" + focus + ","; if (browseDates) { // if the date order is flipped, we'll keep the same focus flipOrderingQuery = "focus=" + URLEncoder.encode(focus, Constants.DEFAULT_ENCODING) + "&amp;"; } } else if (startsWith != null) { // ---------------------------------------------- // Start the browse using user-specified text // ---------------------------------------------- if (browseDates) { // if the date order is flipped, we'll keep the same focus flipOrderingQuery = "starts_with=" + URLEncoder.encode(startsWith, Constants.DEFAULT_ENCODING) + "&amp;"; /* * When the user is browsing with the most recent items first, * the browse code algorithm doesn't quite do what some people * might expect. For example, if in the index there are entries: * * Mar-2000 15-Feb-2000 6-Feb-2000 15-Jan-2000 * * and the user has selected "Feb 2000" as the start point for * the browse, the browse algorithm will start at the first * point in that index *after* "Feb 2000". "Feb 2000" would * appear in the index above between 6-Feb-2000 and 15-Jan-2000. * So, the browse code in this case will start the browse at * "15-Jan-2000". This isn't really what users are likely to * want: They're more likely to want the browse to start at the * first Feb 2000 date, i.e. 15-Feb-2000. A similar scenario * occurs when the user enters just a year. Our quick hack to * produce this behaviour is to add "-32" to the startsWith * variable, when sorting with most recent items first. This * means the browse code starts at the topmost item in the index * that matches the user's input, rather than the point in the * index where the user's input would appear. */ if (!oldestFirst) { startsWith = startsWith + "-32"; } } scope.setFocus(startsWith); highlight = true; logInfo = "starts_with=" + startsWith + ","; } else if ((top != null) || (bottom != null)) { // ---------------------------------------------- // Paginating: put specified entry at top or bottom // ---------------------------------------------- // Use a single value and a boolean to simplify the code below String val = bottom; boolean isTop = false; if (top != null) { val = top; isTop = true; } if (browseAuthors) { // Value will be a text value for author browse scope.setFocus(val); } else { // Value is Handle if we're browsing items by title or date Item item = (Item) HandleManager.resolveToObject(context, val); if (item == null) { // Handle is invalid one. Show an error. JSPManager.showInvalidIDError(request, response, focus, Constants.ITEM); return; } scope.setFocus(item); } // This entry appears at the top or bottom, and so needs to have // 0 or 20 entries shown before it scope.setNumberBefore(isTop ? 0 : 20); logInfo = (isTop ? "top" : "bottom") + "=" + val + ","; if (browseDates) { // If the date order is flipped, we'll flip the table upside // down - i.e. the top will become the bottom and the bottom // the top. if (top != null) { flipOrderingQuery = "bottom=" + URLEncoder .encode(top, Constants.DEFAULT_ENCODING) + "&amp;"; } else { flipOrderingQuery = "top=" + URLEncoder.encode(bottom, Constants.DEFAULT_ENCODING) + "&amp;"; } } } // ---------------------------------------------- // If none of the above apply, no positioning parameters // set - use start of index // ---------------------------------------------- // Are we in a community or collection? Community community = UIUtil.getCommunityLocation(request); Collection collection = UIUtil.getCollectionLocation(request); if (collection != null) { logInfo = logInfo + ",collection_id=" + collection.getID() + ","; scope.setScope(collection); } else if (community != null) { logInfo = logInfo + ",community_id=" + community.getID() + ","; scope.setScope(community); } BrowseInfo browseInfo; // Query the browse index if (browseAuthors) { browseInfo = Browse.getAuthors(scope); } else if (browseDates) { browseInfo = Browse.getItemsByDate(scope, oldestFirst); } else { browseInfo = Browse.getItemsByTitle(scope); } // Write log entry String what = "title"; if (browseAuthors) { what = "author"; } else if (browseDates) { what = "date"; } log.info(LogManager.getHeader(context, "browse_" + what, logInfo + "results=" + browseInfo.getResultCount())); if (browseInfo.getResultCount() == 0) { // No results! request.setAttribute("community", community); request.setAttribute("collection", collection); JSPManager.showJSP(request, response, "/browse/no-results.jsp"); } else { // Work out what the query strings will be for the previous // and next pages if (!browseInfo.isFirst()) { // Not the first page, so we'll need a "previous page" button // The top entry of the current page becomes the bottom // entry of the "previous page" String s; if (browseAuthors) { s = (browseInfo.getStringResults())[0]; } else { Item firstItem = (browseInfo.getItemResults())[0]; s = firstItem.getHandle(); } if (browseDates && oldestFirst) { // For browsing by date, oldest first, we need // to add the ordering parameter request.setAttribute("previous.query", "order=oldestfirst&amp;bottom=" + URLEncoder.encode(s, Constants.DEFAULT_ENCODING)); } else { request.setAttribute("previous.query", "bottom=" + URLEncoder.encode(s, Constants.DEFAULT_ENCODING)); } } if (!browseInfo.isLast()) { // Not the last page, so we'll need a "next page" button // The bottom entry of the current page will be the top // entry in the next page String s; if (browseAuthors) { String[] authors = browseInfo.getStringResults(); s = authors[authors.length - 1]; } else { Item[] items = browseInfo.getItemResults(); Item lastItem = items[items.length - 1]; s = lastItem.getHandle(); } if (browseDates && oldestFirst) { // For browsing by date, oldest first, we need // to add the ordering parameter request.setAttribute("next.query", "order=oldestfirst&amp;top=" + URLEncoder.encode(s, Constants.DEFAULT_ENCODING)); } else { request.setAttribute("next.query", "top=" + URLEncoder.encode(s, Constants.DEFAULT_ENCODING)); } } // Set appropriate attributes and forward to results page request.setAttribute("community", community); request.setAttribute("collection", collection); request.setAttribute("browse.info", browseInfo); request.setAttribute("highlight", new Boolean(highlight)); if (browseAuthors) { JSPManager.showJSP(request, response, "/browse/authors.jsp"); } else if (browseDates) { request.setAttribute("oldest.first", new Boolean(oldestFirst)); request.setAttribute("flip.ordering.query", flipOrderingQuery); JSPManager.showJSP(request, response, "/browse/items-by-date.jsp"); } else { JSPManager.showJSP(request, response, "/browse/items-by-title.jsp"); } } }
52457 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52457/9e4cb86aae7d6516b7b40cd755b2d5c214997bd4/BrowseServlet.java/clean/dspace/src/org/dspace/app/webui/servlet/BrowseServlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 741, 3948, 967, 12, 1042, 819, 16, 9984, 590, 16, 5411, 12446, 766, 13, 1216, 16517, 16, 1860, 16, 5411, 6483, 16, 23859, 503, 565, 288, 3639, 368, 1660, 903, 2245, 326, 2239, 590, 1472, 1368, 279, 2146, 3639, 605, 12481, 3876, 2146, 273, 394, 605, 12481, 3876, 12, 2472, 1769, 3639, 368, 9980, 1608, 358, 5055, 2856, 358, 8839, 326, 315, 13923, 6, 1634, 3639, 1250, 8839, 273, 629, 31, 3639, 368, 3998, 731, 613, 1779, 3639, 514, 613, 966, 273, 1408, 31, 3639, 368, 2457, 21670, 635, 1509, 16, 732, 5614, 1608, 358, 1440, 596, 326, 1976, 843, 533, 358, 3639, 368, 999, 1347, 326, 729, 1352, 6679, 326, 9543, 16, 1427, 716, 2898, 23449, 622, 326, 1967, 3639, 368, 1634, 316, 326, 770, 3639, 514, 9668, 20493, 1138, 273, 1408, 31, 3639, 368, 17150, 2239, 590, 1472, 3639, 514, 7155, 273, 590, 18, 588, 1662, 2932, 13923, 8863, 3639, 514, 4969, 273, 590, 18, 588, 1662, 2932, 17514, 67, 1918, 8863, 3639, 514, 1760, 273, 590, 18, 588, 1662, 2932, 3669, 8863, 3639, 514, 5469, 273, 590, 18, 588, 1662, 2932, 9176, 8863, 3639, 368, 1021, 3751, 8925, 854, 2923, 358, 324, 492, 2470, 1516, 635, 1509, 3639, 514, 3138, 273, 590, 18, 588, 1662, 2932, 7496, 8863, 3639, 514, 3286, 273, 590, 18, 588, 1662, 2932, 6874, 8863, 3639, 514, 1353, 273, 590, 18, 588, 1662, 2932, 1019, 8863, 3639, 368, 2457, 21670, 635, 1509, 30, 17067, 761, 1122, 35, 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, 741, 3948, 967, 12, 1042, 819, 16, 9984, 590, 16, 5411, 12446, 766, 13, 1216, 16517, 16, 1860, 16, 5411, 6483, 16, 23859, 503, 565, 288, 3639, 368, 1660, 903, 2245, 326, 2239, 590, 1472, 1368, 279, 2146, 3639, 605, 12481, 3876, 2146, 273, 394, 605, 12481, 3876, 12, 2472, 1769, 3639, 368, 9980, 1608, 358, 5055, 2856, 358, 8839, 326, 315, 13923, 6, 1634, 3639, 1250, 8839, 273, 629, 31, 3639, 368, 3998, 731, 613, 1779, 3639, 514, 613, 966, 273, 1408, 31, 3639, 368, 2457, 21670, 635, 1509, 16, 732, 5614, 1608, 358, 1440, 596, 326, 1976, 843, 533, 358, 3639, 368, 999, 1347, 326, 729, 1352, 6679, 326, 9543, 16, 1427, 716, 2898, 2 ]
if (useDeclPool) {
if (fUseDeclPool) {
public void reset () { fGrammarBucket.reset(); //we should retreive the initial grammar set given by the application //to the parser and put it in local grammar bucket. // make sure error reporter knows about schemas... if(fErrorReporter.getMessageFormatter(XSMessageFormatter.SCHEMA_DOMAIN) == null) { fErrorReporter.putMessageFormatter(XSMessageFormatter.SCHEMA_DOMAIN, new XSMessageFormatter()); } if(fGrammarPool != null) { Grammar [] initialGrammars = fGrammarPool.retrieveInitialGrammarSet(XMLGrammarDescription.XML_SCHEMA); for (int i = 0; i < initialGrammars.length; i++) { // put this grammar into the bucket, along with grammars // imported by it (directly or indirectly) if (!fGrammarBucket.putGrammar((SchemaGrammar)(initialGrammars[i]), true)) { // REVISIT: a conflict between new grammar(s) and grammars // in the bucket. What to do? A warning? An exception? fErrorReporter.reportError(XSMessageFormatter.SCHEMA_DOMAIN, "GrammarConflict", null, XMLErrorReporter.SEVERITY_WARNING); } } } if (useDeclPool) { fDeclPool.reset(); fCMBuilder.setDeclPool(fDeclPool); fSchemaHandler.setDeclPool(fDeclPool); } else { fCMBuilder.setDeclPool(null); fSchemaHandler.setDeclPool(null); } fSchemaHandler.reset(fErrorReporter, fEntityResolver, fSymbolTable, fGrammarPool, fAllowJavaEncodings, fStrictURI); fSubGroupHandler.reset(); fJAXPProcessed = false; } // reset()
1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/5ce105ef999bcab13bd25efab178481f270e77c1/XMLSchemaLoader.java/clean/src/org/apache/xerces/impl/xs/XMLSchemaLoader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2715, 1832, 288, 3639, 284, 18576, 4103, 18, 6208, 5621, 3639, 368, 1814, 1410, 325, 266, 688, 326, 2172, 6473, 444, 864, 635, 326, 2521, 3639, 368, 869, 326, 2082, 471, 1378, 518, 316, 1191, 6473, 2783, 18, 3639, 368, 1221, 3071, 555, 11528, 21739, 2973, 12783, 2777, 3639, 309, 12, 74, 668, 13289, 18, 24906, 5074, 12, 60, 55, 1079, 5074, 18, 14233, 67, 18192, 13, 422, 446, 13, 288, 5411, 284, 668, 13289, 18, 458, 1079, 5074, 12, 60, 55, 1079, 5074, 18, 14233, 67, 18192, 16, 394, 1139, 55, 1079, 5074, 10663, 3639, 289, 3639, 309, 12, 74, 18576, 2864, 480, 446, 13, 288, 5411, 27809, 5378, 2172, 18576, 87, 273, 284, 18576, 2864, 18, 17466, 4435, 18576, 694, 12, 4201, 18576, 3291, 18, 4201, 67, 14233, 1769, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2172, 18576, 87, 18, 2469, 31, 277, 27245, 288, 7734, 368, 1378, 333, 6473, 1368, 326, 2783, 16, 7563, 598, 6473, 87, 7734, 368, 9101, 635, 518, 261, 7205, 715, 578, 16807, 715, 13, 7734, 309, 16051, 74, 18576, 4103, 18, 458, 18576, 12443, 3078, 18576, 21433, 6769, 18576, 87, 63, 77, 65, 3631, 638, 3719, 288, 10792, 368, 2438, 26780, 1285, 30, 279, 7546, 3086, 394, 6473, 12, 87, 13, 471, 6473, 87, 10792, 368, 316, 326, 2783, 18, 18734, 358, 741, 35, 432, 3436, 35, 1922, 1520, 35, 10792, 284, 668, 13289, 18, 6006, 668, 12, 60, 55, 1079, 5074, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2715, 1832, 288, 3639, 284, 18576, 4103, 18, 6208, 5621, 3639, 368, 1814, 1410, 325, 266, 688, 326, 2172, 6473, 444, 864, 635, 326, 2521, 3639, 368, 869, 326, 2082, 471, 1378, 518, 316, 1191, 6473, 2783, 18, 3639, 368, 1221, 3071, 555, 11528, 21739, 2973, 12783, 2777, 3639, 309, 12, 74, 668, 13289, 18, 24906, 5074, 12, 60, 55, 1079, 5074, 18, 14233, 67, 18192, 13, 422, 446, 13, 288, 5411, 284, 668, 13289, 18, 458, 1079, 5074, 12, 60, 55, 1079, 5074, 18, 14233, 67, 18192, 16, 394, 1139, 55, 1079, 5074, 10663, 3639, 289, 3639, 309, 12, 74, 18576, 2864, 480, 446, 13, 288, 5411, 27809, 5378, 2172, 18576, 87, 273, 284, 18576, 2 ]
public InetAddress getAddress(String preferedAddress) { return getAddress(0, preferedAddress);
public InetAddress getAddress() { return getAddress(0, null);
public InetAddress getAddress(String preferedAddress) { return getAddress(0, preferedAddress); }
51738 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51738/93585a4287840af4604c16ade9dc1a7071e6960a/IPAddressDetector.java/clean/src/freenet/transport/IPAddressDetector.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 14218, 14808, 12, 780, 13256, 329, 1887, 13, 288, 202, 202, 2463, 14808, 12, 20, 16, 13256, 329, 1887, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14218, 14808, 12, 780, 13256, 329, 1887, 13, 288, 202, 202, 2463, 14808, 12, 20, 16, 13256, 329, 1887, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (result != null)
if (!result.isOK())
protected ValidationError fireBindingEvent(BindingEvent event) { ValidationError result = null; IBindingListener[] listeners; synchronized (bindingEventListeners) { listeners = (IBindingListener[]) bindingEventListeners .toArray(new IBindingListener[bindingEventListeners.size()]); } for (int i = 0; i < listeners.length; i++) { IBindingListener listener = listeners[i]; result = listener.bindingEvent(event); if (result != null) break; } if (result == null) result = context.fireBindingEvent(event); return result; }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/646de6c1228ca0820a97e225df84d75e3993e272/Binding.java/buggy/bundles/org.eclipse.core.databinding/src/org/eclipse/core/databinding/Binding.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 13167, 4452, 5250, 1133, 12, 5250, 1133, 871, 13, 288, 202, 202, 12101, 563, 273, 446, 31, 202, 202, 45, 5250, 2223, 8526, 4679, 31, 202, 202, 22043, 261, 7374, 30275, 13, 288, 1082, 202, 16072, 273, 261, 45, 5250, 2223, 63, 5717, 5085, 30275, 6862, 202, 18, 31447, 12, 2704, 467, 5250, 2223, 63, 7374, 30275, 18, 1467, 1435, 19226, 202, 202, 97, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 4679, 18, 2469, 31, 277, 27245, 288, 1082, 202, 45, 5250, 2223, 2991, 273, 4679, 63, 77, 15533, 1082, 202, 2088, 273, 2991, 18, 7374, 1133, 12, 2575, 1769, 1082, 202, 430, 261, 2088, 480, 446, 13, 9506, 202, 8820, 31, 202, 202, 97, 202, 202, 430, 261, 2088, 422, 446, 13, 1082, 202, 2088, 273, 819, 18, 12179, 5250, 1133, 12, 2575, 1769, 202, 202, 2463, 563, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 13167, 4452, 5250, 1133, 12, 5250, 1133, 871, 13, 288, 202, 202, 12101, 563, 273, 446, 31, 202, 202, 45, 5250, 2223, 8526, 4679, 31, 202, 202, 22043, 261, 7374, 30275, 13, 288, 1082, 202, 16072, 273, 261, 45, 5250, 2223, 63, 5717, 5085, 30275, 6862, 202, 18, 31447, 12, 2704, 467, 5250, 2223, 63, 7374, 30275, 18, 1467, 1435, 19226, 202, 202, 97, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 4679, 18, 2469, 31, 277, 27245, 288, 1082, 202, 45, 5250, 2223, 2991, 273, 4679, 63, 77, 15533, 1082, 202, 2088, 273, 2991, 18, 7374, 1133, 12, 2575, 1769, 1082, 202, 430, 261, 2088, 480, 446, 13, 9506, 202, 8820, 31, 2 ]
if (actionHandlers == null)
if (actionHandlers == null) {
public void setGlobalActionHandler(String actionID, IAction handler) { if (handler != null) { // Update the action handlers. if (actionHandlers == null) actionHandlers = new HashMap(11); actionHandlers.put(actionID, handler); // Add a mapping from this action id to the command id. if (serviceLocator != null) { final IActionCommandMappingService mappingService = (IActionCommandMappingService) serviceLocator .getService(IActionCommandMappingService.class); final String commandId = mappingService.getCommandId(actionID); // Update the handler activations. final IHandlerService service = (IHandlerService) serviceLocator .getService(IHandlerService.class); Map activationsByActionId = null; if (activationsByActionIdByServiceLocator == null) { activationsByActionIdByServiceLocator = new WeakHashMap(); activationsByActionId = new HashMap(); activationsByActionIdByServiceLocator.put(serviceLocator, activationsByActionId); } else { activationsByActionId = (Map) activationsByActionIdByServiceLocator .get(serviceLocator); if (activationsByActionId == null) { activationsByActionId = new HashMap(); activationsByActionIdByServiceLocator.put( serviceLocator, activationsByActionId); } else if (activationsByActionId.containsKey(actionID)) { final Object value = activationsByActionId .remove(actionID); if (value instanceof IHandlerActivation) { final IHandlerActivation activation = (IHandlerActivation) value; service.deactivateHandler(activation); activation.getHandler().dispose(); } } } if (commandId != null) { // Register this as a handler with the given definition id. // the expression gives the setGlobalActionHandler() a // priority. final IHandler actionHandler = new ActionHandler(handler); final IHandlerActivation activation = service .activateHandler(commandId, actionHandler, EXPRESSION); activationsByActionId.put(actionID, activation); } } } else { if (actionHandlers != null) actionHandlers.remove(actionID); // Remove the handler activation. if (serviceLocator != null) { final IHandlerService service = (IHandlerService) serviceLocator .getService(IHandlerService.class); if (activationsByActionIdByServiceLocator != null) { final Map activationsByActionId = (Map) activationsByActionIdByServiceLocator .get(serviceLocator); if ((activationsByActionId != null) && (activationsByActionId.containsKey(actionID))) { final Object value = activationsByActionId .remove(actionID); if (value instanceof IHandlerActivation) { final IHandlerActivation activation = (IHandlerActivation) value; service.deactivateHandler(activation); activation.getHandler().dispose(); } } } } } actionHandlersChanged = true; }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/SubActionBars.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/SubActionBars.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 5160, 1803, 1503, 12, 780, 1301, 734, 16, 467, 1803, 1838, 13, 288, 202, 202, 430, 261, 4176, 480, 446, 13, 288, 1082, 202, 759, 2315, 326, 1301, 4919, 18, 1082, 202, 430, 261, 1128, 6919, 422, 446, 13, 9506, 202, 1128, 6919, 273, 394, 4317, 12, 2499, 1769, 1082, 202, 1128, 6919, 18, 458, 12, 1128, 734, 16, 1838, 1769, 1082, 202, 759, 1436, 279, 2874, 628, 333, 1301, 612, 358, 326, 1296, 612, 18, 1082, 202, 430, 261, 3278, 5786, 480, 446, 13, 288, 9506, 202, 6385, 467, 1803, 2189, 3233, 1179, 2874, 1179, 273, 261, 45, 1803, 2189, 3233, 1179, 13, 13580, 25083, 202, 18, 588, 1179, 12, 45, 1803, 2189, 3233, 1179, 18, 1106, 1769, 9506, 202, 6385, 514, 1296, 548, 273, 2874, 1179, 18, 588, 2189, 548, 12, 1128, 734, 1769, 9506, 202, 759, 2315, 326, 1838, 25751, 18, 9506, 202, 6385, 467, 1503, 1179, 1156, 273, 261, 45, 1503, 1179, 13, 13580, 25083, 202, 18, 588, 1179, 12, 45, 1503, 1179, 18, 1106, 1769, 9506, 202, 863, 25751, 858, 1803, 548, 273, 446, 31, 9506, 202, 430, 261, 11422, 1012, 858, 1803, 548, 858, 1179, 5786, 422, 446, 13, 288, 6862, 202, 11422, 1012, 858, 1803, 548, 858, 1179, 5786, 273, 394, 23632, 8658, 5621, 6862, 202, 11422, 1012, 858, 1803, 548, 273, 394, 4317, 5621, 6862, 202, 11422, 1012, 858, 1803, 548, 858, 1179, 5786, 18, 458, 12, 3278, 5786, 16, 6862, 1082, 202, 11422, 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, 444, 5160, 1803, 1503, 12, 780, 1301, 734, 16, 467, 1803, 1838, 13, 288, 202, 202, 430, 261, 4176, 480, 446, 13, 288, 1082, 202, 759, 2315, 326, 1301, 4919, 18, 1082, 202, 430, 261, 1128, 6919, 422, 446, 13, 9506, 202, 1128, 6919, 273, 394, 4317, 12, 2499, 1769, 1082, 202, 1128, 6919, 18, 458, 12, 1128, 734, 16, 1838, 1769, 1082, 202, 759, 1436, 279, 2874, 628, 333, 1301, 612, 358, 326, 1296, 612, 18, 1082, 202, 430, 261, 3278, 5786, 480, 446, 13, 288, 9506, 202, 6385, 467, 1803, 2189, 3233, 1179, 2874, 1179, 273, 261, 45, 1803, 2189, 3233, 1179, 13, 13580, 25083, 202, 18, 588, 1179, 12, 45, 1803, 2189, 2 ]
item.add(new AbstractBehavior()
item.add(new AbstractBehavior()
protected void populateTreeItem(WebMarkupContainer<TreeNode> item, int level) { final TreeNode node = item.getModelObject(); int i = 0; // add side columns SideColumnsView sideColumns = new SideColumnsView(item, "sideColumns", node); for (IColumn column: columns) { if (column.getLocation().getAlignment() == Alignment.LEFT || column.getLocation().getAlignment() == Alignment.RIGHT) { Component component; // first try to create a renderable IRenderable renderable = column.createCell(node, level); if (renderable == null) { // if renderable failed, try to create a regular component component = column.createCell(sideColumns, "" + i++, node, level); } else { component = null; } sideColumns.addColumn(column, component, renderable); } } i = 0; // add middle columns MiddleColumnsView middleColumns = new MiddleColumnsView(item, "middleColumns", node); for (IColumn column: columns) { if (column.getLocation().getAlignment() == Alignment.MIDDLE) { Component component; // first try to create a renderable IRenderable renderable = column.createCell(node, level); if (renderable == null) { // if renderable failed, try to create a regular component component = column.createCell(middleColumns, "" + i++, node, level); } else { component = null; } middleColumns.addColumn(column, component, renderable); } } // do distinguish between selected and unselected rows we add an behavior // that modifies row css class. item.add(new AbstractBehavior() { /** * */ private static final long serialVersionUID = 1L; @Override public void onComponentTag(Component component, ComponentTag tag) { super.onComponentTag(component, tag); if (getTreeState().isNodeSelected(node)) tag.put("class", "row-selected"); else tag.put("class", "row"); } }); }
46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/234acdada6bb523025df2bf64c707be9ba3f57d5/TreeTable.java/buggy/wicket/src/java/wicket/markup/html/tree/table/TreeTable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 6490, 2471, 1180, 12, 4079, 13111, 2170, 32, 12513, 34, 761, 16, 509, 1801, 13, 225, 202, 95, 1082, 202, 6385, 20270, 756, 273, 761, 18, 588, 1488, 921, 5621, 202, 202, 474, 277, 273, 374, 31, 9506, 202, 759, 527, 4889, 2168, 202, 202, 8895, 3380, 1767, 4889, 3380, 273, 394, 26248, 3380, 1767, 12, 1726, 16, 315, 5564, 3380, 3113, 756, 1769, 202, 202, 1884, 261, 45, 1494, 1057, 30, 2168, 13, 202, 202, 95, 1082, 202, 430, 261, 2827, 18, 588, 2735, 7675, 588, 11535, 1435, 422, 17804, 18, 10066, 747, 9506, 202, 2827, 18, 588, 2735, 7675, 588, 11535, 1435, 422, 17804, 18, 11847, 13, 1082, 202, 95, 9506, 202, 1841, 1794, 31, 9506, 202, 759, 1122, 775, 358, 752, 279, 25875, 9506, 202, 45, 3420, 429, 25875, 273, 1057, 18, 2640, 4020, 12, 2159, 16, 1801, 1769, 6862, 6862, 1082, 202, 430, 261, 5902, 429, 422, 446, 13, 9506, 202, 95, 6862, 202, 759, 309, 25875, 2535, 16, 775, 358, 752, 279, 6736, 1794, 6862, 25083, 202, 4652, 273, 1057, 18, 2640, 4020, 12, 5564, 3380, 16, 1408, 397, 277, 9904, 16, 756, 16, 1801, 1769, 9506, 202, 97, 9506, 202, 12107, 9506, 202, 95, 6862, 202, 4652, 273, 446, 31, 9506, 202, 97, 6862, 9506, 202, 5564, 3380, 18, 1289, 1494, 12, 2827, 16, 1794, 16, 25875, 1769, 1082, 202, 97, 202, 202, 97, 9506, 202, 77, 273, 374, 31, 9506, 202, 759, 527, 7689, 2168, 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, 1117, 918, 6490, 2471, 1180, 12, 4079, 13111, 2170, 32, 12513, 34, 761, 16, 509, 1801, 13, 225, 202, 95, 1082, 202, 6385, 20270, 756, 273, 761, 18, 588, 1488, 921, 5621, 202, 202, 474, 277, 273, 374, 31, 9506, 202, 759, 527, 4889, 2168, 202, 202, 8895, 3380, 1767, 4889, 3380, 273, 394, 26248, 3380, 1767, 12, 1726, 16, 315, 5564, 3380, 3113, 756, 1769, 202, 202, 1884, 261, 45, 1494, 1057, 30, 2168, 13, 202, 202, 95, 1082, 202, 430, 261, 2827, 18, 588, 2735, 7675, 588, 11535, 1435, 422, 17804, 18, 10066, 747, 9506, 202, 2827, 18, 588, 2735, 7675, 588, 11535, 1435, 422, 17804, 18, 11847, 13, 1082, 202, 95, 9506, 202, 1841, 2 ]
} file.mkdir( );
}
public static String createSessionTempDir( String tempRootDirStr ) { String sessionTempDirStr; final String prefix = "session_"; synchronized ( cacheCounter ) { //Here we use complex algorithm so that to avoid the repeating of //dir names in 1.same jvm but different threads 2.different jvm. sessionTempDirStr = tempRootDirStr + File.separator + prefix + System.currentTimeMillis( ) + cacheCounter.intValue( ); cacheCounter = new Integer(cacheCounter.intValue( )+1); File file = new File( sessionTempDirStr ); int i = 0; while ( file.exists( ) ) { i++; sessionTempDirStr = sessionTempDirStr + "_" + i; file = new File( sessionTempDirStr ); } file.mkdir( ); } return sessionTempDirStr; }
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/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, 752, 2157, 7185, 1621, 12, 514, 1906, 27322, 1585, 262, 202, 95, 202, 202, 780, 1339, 7185, 1621, 1585, 31, 202, 202, 6385, 514, 1633, 273, 315, 3184, 9548, 31, 202, 202, 22043, 261, 1247, 4789, 262, 202, 202, 95, 1082, 202, 759, 26715, 732, 999, 7233, 4886, 1427, 716, 358, 4543, 326, 30571, 434, 1875, 202, 759, 1214, 1257, 316, 404, 18, 14307, 13555, 1496, 3775, 7403, 576, 18, 30738, 13555, 18, 1082, 202, 3184, 7185, 1621, 1585, 273, 1906, 27322, 1585, 6862, 202, 15, 1387, 18, 11287, 397, 1633, 397, 2332, 18, 2972, 28512, 12, 262, 6862, 202, 15, 1247, 4789, 18, 474, 620, 12, 11272, 1082, 202, 2493, 4789, 273, 394, 2144, 12, 2493, 4789, 18, 474, 620, 12, 27462, 21, 1769, 1082, 202, 812, 585, 273, 394, 1387, 12, 1339, 7185, 1621, 1585, 11272, 25083, 202, 474, 277, 273, 374, 31, 1082, 202, 17523, 261, 585, 18, 1808, 12, 262, 262, 1082, 202, 95, 9506, 202, 77, 9904, 31, 9506, 202, 3184, 7185, 1621, 1585, 273, 1339, 7185, 1621, 1585, 397, 8802, 397, 277, 31, 9506, 202, 768, 273, 394, 1387, 12, 1339, 7185, 1621, 1585, 11272, 1082, 202, 97, 1082, 202, 768, 18, 26686, 12, 11272, 202, 202, 97, 202, 202, 2463, 1339, 7185, 1621, 1585, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 202, 482, 760, 514, 752, 2157, 7185, 1621, 12, 514, 1906, 27322, 1585, 262, 202, 95, 202, 202, 780, 1339, 7185, 1621, 1585, 31, 202, 202, 6385, 514, 1633, 273, 315, 3184, 9548, 31, 202, 202, 22043, 261, 1247, 4789, 262, 202, 202, 95, 1082, 202, 759, 26715, 732, 999, 7233, 4886, 1427, 716, 358, 4543, 326, 30571, 434, 1875, 202, 759, 1214, 1257, 316, 404, 18, 14307, 13555, 1496, 3775, 7403, 576, 18, 30738, 13555, 18, 1082, 202, 3184, 7185, 1621, 1585, 273, 1906, 27322, 1585, 6862, 202, 15, 1387, 18, 11287, 397, 1633, 397, 2332, 18, 2972, 28512, 12, 262, 6862, 202, 15, 1247, 4789, 18, 474, 620, 12, 11272, 1082, 202, 2493, 4789, 273, 394, 2 ]
try { java.lang.Object _resp = _call.invoke(new java.lang.Object[]{}); if (_resp instanceof java.rmi.RemoteException) { throw(java.rmi.RemoteException) _resp; } else { extractAttachments(_call); try { return (TaskInfo[]) _resp; } catch (java.lang.Exception _exception) { return (TaskInfo[]) org.apache.axis.utils.JavaUtils.convert(_resp, TaskInfo[].class); }
try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {}); if (_resp instanceof java.rmi.RemoteException) { throw (java.rmi.RemoteException)_resp; } else { extractAttachments(_call); try { return (TaskInfo[]) _resp; } catch (java.lang.Exception _exception) { return (TaskInfo[]) org.apache.axis.utils.JavaUtils.convert(_resp, TaskInfo[].class);
public TaskInfo[] getTasks() throws java.rmi.RemoteException, org.genepattern.webservice.WebServiceException { if (super.cachedEndpoint == null) { throw new org.apache.axis.NoEndPointException(); } org.apache.axis.client.Call _call = createCall(); _call.setOperation(_operations[1]); _call.setUseSOAPAction(true); _call.setSOAPActionURI(""); _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); _call.setOperationName( new javax.xml.namespace.QName("http://server.webservice.server.genepattern.org", "getTasks")); setRequestHeaders(_call); setAttachments(_call); try { java.lang.Object _resp = _call.invoke(new java.lang.Object[]{}); if (_resp instanceof java.rmi.RemoteException) { throw(java.rmi.RemoteException) _resp; } else { extractAttachments(_call); try { return (TaskInfo[]) _resp; } catch (java.lang.Exception _exception) { return (TaskInfo[]) org.apache.axis.utils.JavaUtils.convert(_resp, TaskInfo[].class); } } } catch (org.apache.axis.AxisFault axisFaultException) { if (axisFaultException.detail != null) { if (axisFaultException.detail instanceof java.rmi.RemoteException) { throw(java.rmi.RemoteException) axisFaultException.detail; } if (axisFaultException.detail instanceof org.genepattern.webservice.WebServiceException) { throw(org.genepattern.webservice.WebServiceException) axisFaultException.detail; } } throw axisFaultException; } }
57344 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57344/a0155594d89ec195e6c5da1587aba6dc217a6f24/AnalysisSoapBindingStub.java/buggy/src/org/genepattern/webservice/AnalysisSoapBindingStub.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3837, 966, 8526, 336, 6685, 1435, 1216, 2252, 18, 8864, 77, 18, 5169, 503, 16, 2358, 18, 4507, 881, 1344, 18, 1814, 20015, 18, 4079, 15133, 288, 3639, 309, 261, 9565, 18, 7097, 3293, 422, 446, 13, 288, 5411, 604, 394, 2358, 18, 19211, 18, 4890, 18, 2279, 27185, 503, 5621, 3639, 289, 3639, 2358, 18, 19211, 18, 4890, 18, 2625, 18, 1477, 389, 1991, 273, 752, 1477, 5621, 3639, 389, 1991, 18, 542, 2988, 24899, 17542, 63, 21, 19226, 3639, 389, 1991, 18, 542, 3727, 27952, 1803, 12, 3767, 1769, 3639, 389, 1991, 18, 542, 27952, 1803, 3098, 2932, 8863, 3639, 389, 1991, 18, 542, 27952, 1444, 12, 3341, 18, 19211, 18, 4890, 18, 19215, 18, 27952, 2918, 18, 27952, 2499, 67, 25878, 55, 1769, 3639, 389, 1991, 18, 542, 2988, 461, 12, 7734, 394, 6863, 18, 2902, 18, 4937, 18, 13688, 2932, 2505, 2207, 3567, 18, 1814, 20015, 18, 3567, 18, 4507, 881, 1344, 18, 3341, 3113, 315, 588, 6685, 7923, 1769, 3639, 12475, 3121, 24899, 1991, 1769, 3639, 444, 12961, 24899, 1991, 1769, 3639, 775, 288, 5411, 2252, 18, 4936, 18, 921, 389, 12243, 273, 389, 1991, 18, 14407, 12, 2704, 2252, 18, 4936, 18, 921, 8526, 2916, 1769, 5411, 309, 261, 67, 12243, 1276, 2252, 18, 8864, 77, 18, 5169, 503, 13, 288, 7734, 604, 12, 6290, 18, 8864, 77, 18, 5169, 503, 13, 389, 12243, 31, 5411, 289, 469, 288, 7734, 2608, 12961, 24899, 1991, 1769, 7734, 775, 288, 10792, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3837, 966, 8526, 336, 6685, 1435, 1216, 2252, 18, 8864, 77, 18, 5169, 503, 16, 2358, 18, 4507, 881, 1344, 18, 1814, 20015, 18, 4079, 15133, 288, 3639, 309, 261, 9565, 18, 7097, 3293, 422, 446, 13, 288, 5411, 604, 394, 2358, 18, 19211, 18, 4890, 18, 2279, 27185, 503, 5621, 3639, 289, 3639, 2358, 18, 19211, 18, 4890, 18, 2625, 18, 1477, 389, 1991, 273, 752, 1477, 5621, 3639, 389, 1991, 18, 542, 2988, 24899, 17542, 63, 21, 19226, 3639, 389, 1991, 18, 542, 3727, 27952, 1803, 12, 3767, 1769, 3639, 389, 1991, 18, 542, 27952, 1803, 3098, 2932, 8863, 3639, 389, 1991, 18, 542, 27952, 1444, 12, 3341, 18, 19211, 18, 4890, 18, 19215, 18, 2 ]
IAtomContainer container = builder.newAtomContainer(); IAtom atom1 = builder.newAtom("N"); container.addAtom(atom1); IAtom atom2 = builder.newAtom("C"); container.addAtom(atom2); IAtom atom3 = builder.newAtom("C"); container.addAtom(atom3); IAtom atom4 = builder.newAtom("O"); container.addAtom(atom4); IAtom atom5 = builder.newAtom("O"); container.addAtom(atom5); container.addBond(builder.newBond(atom1, atom2, CDKConstants.BONDORDER_SINGLE)); container.addBond(builder.newBond(atom2, atom3, CDKConstants.BONDORDER_SINGLE)); container.addBond(builder.newBond(atom3, atom4, CDKConstants.BONDORDER_DOUBLE)); container.addBond(builder.newBond(atom3, atom5, CDKConstants.BONDORDER_SINGLE)); return container; }
IAtomContainer container = builder.newAtomContainer(); IAtom atom1 = builder.newAtom("N"); container.addAtom(atom1); IAtom atom2 = builder.newAtom("C"); container.addAtom(atom2); IAtom atom3 = builder.newAtom("C"); container.addAtom(atom3); IAtom atom4 = builder.newAtom("O"); container.addAtom(atom4); IAtom atom5 = builder.newAtom("O"); container.addAtom(atom5); container.addBond(builder.newBond(atom1, atom2, CDKConstants.BONDORDER_SINGLE)); container.addBond(builder.newBond(atom2, atom3, CDKConstants.BONDORDER_SINGLE)); container.addBond(builder.newBond(atom3, atom4, CDKConstants.BONDORDER_DOUBLE)); container.addBond(builder.newBond(atom3, atom5, CDKConstants.BONDORDER_SINGLE)); return container; }
private IAtomContainer createAminoAcid(IChemObjectBuilder builder) { // SMILES NCC(=O)O IAtomContainer container = builder.newAtomContainer(); IAtom atom1 = builder.newAtom("N"); container.addAtom(atom1); IAtom atom2 = builder.newAtom("C"); container.addAtom(atom2); IAtom atom3 = builder.newAtom("C"); // carbonyl container.addAtom(atom3); IAtom atom4 = builder.newAtom("O"); // carbonyl container.addAtom(atom4); IAtom atom5 = builder.newAtom("O"); container.addAtom(atom5); container.addBond(builder.newBond(atom1, atom2, CDKConstants.BONDORDER_SINGLE)); container.addBond(builder.newBond(atom2, atom3, CDKConstants.BONDORDER_SINGLE)); container.addBond(builder.newBond(atom3, atom4, CDKConstants.BONDORDER_DOUBLE)); container.addBond(builder.newBond(atom3, atom5, CDKConstants.BONDORDER_SINGLE)); return container; }
1306 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1306/76f1c3db1c889a4fd7bd9dd2e93ee1e9a39ec301/XLogPDescriptor.java/clean/src/org/openscience/cdk/qsar/descriptors/molecular/XLogPDescriptor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 13922, 752, 37, 19544, 9988, 350, 12, 45, 20200, 921, 1263, 2089, 13, 288, 202, 202, 759, 348, 7492, 11386, 423, 6743, 12, 33, 51, 13, 51, 202, 202, 45, 3641, 2170, 1478, 273, 2089, 18, 2704, 3641, 2170, 5621, 202, 202, 45, 3641, 3179, 21, 273, 2089, 18, 2704, 3641, 2932, 50, 8863, 202, 202, 3782, 18, 1289, 3641, 12, 7466, 21, 1769, 202, 202, 45, 3641, 3179, 22, 273, 2089, 18, 2704, 3641, 2932, 39, 8863, 202, 202, 3782, 18, 1289, 3641, 12, 7466, 22, 1769, 202, 202, 45, 3641, 3179, 23, 273, 2089, 18, 2704, 3641, 2932, 39, 8863, 368, 5926, 70, 6598, 80, 202, 202, 3782, 18, 1289, 3641, 12, 7466, 23, 1769, 202, 202, 45, 3641, 3179, 24, 273, 2089, 18, 2704, 3641, 2932, 51, 8863, 368, 5926, 70, 6598, 80, 202, 202, 3782, 18, 1289, 3641, 12, 7466, 24, 1769, 202, 202, 45, 3641, 3179, 25, 273, 2089, 18, 2704, 3641, 2932, 51, 8863, 202, 202, 3782, 18, 1289, 3641, 12, 7466, 25, 1769, 202, 202, 3782, 18, 1289, 9807, 12, 9574, 18, 2704, 9807, 12, 7466, 21, 16, 3179, 22, 16, 27030, 18, 38, 673, 40, 7954, 67, 20184, 10019, 202, 202, 3782, 18, 1289, 9807, 12, 9574, 18, 2704, 9807, 12, 7466, 22, 16, 3179, 23, 16, 27030, 18, 38, 673, 40, 7954, 67, 20184, 10019, 202, 202, 3782, 18, 1289, 9807, 12, 9574, 18, 2704, 9807, 12, 7466, 23, 16, 3179, 24, 16, 27030, 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, 13922, 752, 37, 19544, 9988, 350, 12, 45, 20200, 921, 1263, 2089, 13, 288, 202, 202, 759, 348, 7492, 11386, 423, 6743, 12, 33, 51, 13, 51, 202, 202, 45, 3641, 2170, 1478, 273, 2089, 18, 2704, 3641, 2170, 5621, 202, 202, 45, 3641, 3179, 21, 273, 2089, 18, 2704, 3641, 2932, 50, 8863, 202, 202, 3782, 18, 1289, 3641, 12, 7466, 21, 1769, 202, 202, 45, 3641, 3179, 22, 273, 2089, 18, 2704, 3641, 2932, 39, 8863, 202, 202, 3782, 18, 1289, 3641, 12, 7466, 22, 1769, 202, 202, 45, 3641, 3179, 23, 273, 2089, 18, 2704, 3641, 2932, 39, 8863, 368, 5926, 70, 6598, 80, 202, 202, 3782, 18, 1289, 3641, 12, 7466, 23, 2 ]
private ICUResourceWriter.Resource parseCurrencyRegion(Node root, StringBuffer xpath){ ICUResourceWriter.ResourceTable table = new ICUResourceWriter.ResourceTable(); ICUResourceWriter.Resource current = null; if(isDraft(root, xpath)&& !writeDraft){ return null; } //the alt atrribute is set .. so ignore the resource if(isAlternate(root)){ return null; } int savedLength = xpath.length(); getXPath(root, xpath); int oldLength = xpath.length(); table.name = (String) keyNameMap.get(root.getNodeName()); for(Node node=root.getFirstChild(); node!=null; node=node.getNextSibling()){ if(node.getNodeType()!=Node.ELEMENT_NODE){ continue; } String name = node.getNodeName(); ICUResourceWriter.Resource res = null; getXPath(node, xpath); if(name.equals(LDMLConstants.ALIAS)){ res = parseAliasResource(node, xpath); res.name = name; return res; }else if(name.equals(LDMLConstants.DEFAULT)){ ICUResourceWriter.ResourceString str = new ICUResourceWriter.ResourceString(); str.name = name; str.val = LDMLUtilities.getAttributeValue(node,LDMLConstants.TYPE); res = str; }else if(name.equals(LDMLConstants.REGION)){ if(isDraft(node, xpath)&& !writeDraft){ continue; } //the alt atrribute is set .. so ignore the resource if(isAlternate(node)){ continue; } ICUResourceWriter.ResourceIntVector vector = new ICUResourceWriter.ResourceIntVector(); vector.name = LDMLUtilities.getAttributeValue(node, LDMLConstants.ISO_3166); ICUResourceWriter.ResourceInt zero = new ICUResourceWriter.ResourceInt(); ICUResourceWriter.ResourceInt one = new ICUResourceWriter.ResourceInt(); zero.val = LDMLUtilities.getAttributeValue(node, LDMLConstants.DIGITS); one.val = LDMLUtilities.getAttributeValue(node, LDMLConstants.ROUNDING); vector.first = zero; zero.next = one; }else{ System.err.println("Encountered unknown <"+root.getNodeName()+"> subelement: "+name); System.exit(-1); } if(res!=null){ if(current == null){ table.first = res; current = findLast(res); }else{ current.next = res; current = findLast(res); } res = null; } xpath.delete(oldLength, xpath.length()); } xpath.delete(savedLength, xpath.length()); if(table.first!=null){ return table; } return null; }
27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/90d357a7612a0fee1860528005a32007392efc2a/LDML2ICUConverter.java/clean/tools/java/org/unicode/cldr/icu/LDML2ICUConverter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 28009, 1420, 2289, 18, 1420, 1109, 7623, 5165, 12, 907, 1365, 16, 6674, 6748, 15329, 3639, 28009, 1420, 2289, 18, 1420, 1388, 1014, 273, 394, 28009, 1420, 2289, 18, 1420, 1388, 5621, 3639, 28009, 1420, 2289, 18, 1420, 783, 273, 446, 31, 3639, 309, 12, 291, 12714, 12, 3085, 16, 6748, 13, 10, 10, 401, 2626, 12714, 15329, 5411, 327, 446, 31, 3639, 289, 3639, 368, 5787, 3770, 622, 523, 495, 624, 353, 444, 6116, 1427, 2305, 326, 1058, 3639, 309, 12, 291, 25265, 12, 3085, 3719, 95, 5411, 327, 446, 31, 3639, 289, 3639, 509, 5198, 1782, 273, 6748, 18, 2469, 5621, 3639, 6538, 743, 12, 3085, 16, 6748, 1769, 3639, 509, 1592, 1782, 273, 6748, 18, 2469, 5621, 3639, 1014, 18, 529, 273, 261, 780, 13, 13564, 863, 18, 588, 12, 3085, 18, 588, 18948, 10663, 7734, 364, 12, 907, 756, 33, 3085, 18, 588, 3759, 1763, 5621, 756, 5, 33, 2011, 31, 756, 33, 2159, 18, 588, 2134, 10291, 10756, 95, 5411, 309, 12, 2159, 18, 588, 15101, 1435, 5, 33, 907, 18, 10976, 67, 8744, 15329, 7734, 1324, 31, 5411, 289, 5411, 514, 508, 273, 756, 18, 588, 18948, 5621, 5411, 28009, 1420, 2289, 18, 1420, 400, 273, 446, 31, 5411, 6538, 743, 12, 2159, 16, 6748, 1769, 5411, 309, 12, 529, 18, 14963, 12, 12069, 1495, 2918, 18, 23784, 3719, 95, 7734, 400, 273, 1109, 2936, 1420, 12, 2159, 16, 6748, 1769, 7734, 400, 18, 529, 273, 508, 31, 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, 3238, 28009, 1420, 2289, 18, 1420, 1109, 7623, 5165, 12, 907, 1365, 16, 6674, 6748, 15329, 3639, 28009, 1420, 2289, 18, 1420, 1388, 1014, 273, 394, 28009, 1420, 2289, 18, 1420, 1388, 5621, 3639, 28009, 1420, 2289, 18, 1420, 783, 273, 446, 31, 3639, 309, 12, 291, 12714, 12, 3085, 16, 6748, 13, 10, 10, 401, 2626, 12714, 15329, 5411, 327, 446, 31, 3639, 289, 3639, 368, 5787, 3770, 622, 523, 495, 624, 353, 444, 6116, 1427, 2305, 326, 1058, 3639, 309, 12, 291, 25265, 12, 3085, 3719, 95, 5411, 327, 446, 31, 3639, 289, 3639, 509, 5198, 1782, 273, 6748, 18, 2469, 5621, 3639, 6538, 743, 12, 3085, 16, 6748, 1769, 3639, 509, 1592, 1782, 273, 6748, 2 ]
AST __t2186 = _t;
AST __t2190 = _t;
public final void updatestatement(AST _t) throws RecognitionException { AST updatestatement_AST_in = (_t == ASTNULL) ? null : (AST)_t; boolean synPredMatched2187 = false; if (_t==null) _t=ASTNULL; if (((_t.getType()==UPDATE))) { AST __t2187 = _t; synPredMatched2187 = true; inputState.guessing++; try { { AST __t2186 = _t; AST tmp1375_AST_in = (AST)_t; match(_t,UPDATE); _t = _t.getFirstChild(); AST tmp1376_AST_in = (AST)_t; match(_t,RECORD_NAME); _t = _t.getNextSibling(); AST tmp1377_AST_in = (AST)_t; match(_t,SET); _t = _t.getNextSibling(); _t = __t2186; _t = _t.getNextSibling(); } } catch (RecognitionException pe) { synPredMatched2187 = false; } _t = __t2187;inputState.guessing--; } if ( synPredMatched2187 ) { sqlupdatestate(_t); _t = _retTree; } else if ((_t.getType()==UPDATE)) { updatestate(_t); _t = _retTree; } else { throw new NoViableAltException(_t); } _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, 2166, 270, 395, 340, 475, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 2166, 270, 395, 340, 475, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 6494, 6194, 10391, 15400, 22, 2643, 27, 273, 629, 31, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 430, 261, 12443, 67, 88, 18, 588, 559, 1435, 631, 8217, 20349, 288, 1082, 202, 9053, 1001, 88, 22, 2643, 27, 273, 389, 88, 31, 1082, 202, 11982, 10391, 15400, 22, 2643, 27, 273, 638, 31, 1082, 202, 2630, 1119, 18, 20885, 310, 9904, 31, 1082, 202, 698, 288, 9506, 202, 95, 9506, 202, 9053, 1001, 88, 22, 2643, 26, 273, 389, 88, 31, 9506, 202, 9053, 1853, 3437, 5877, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 9506, 202, 1916, 24899, 88, 16, 8217, 1769, 9506, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 9506, 202, 9053, 1853, 3437, 6669, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 9506, 202, 1916, 24899, 88, 16, 22261, 67, 1985, 1769, 9506, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 9506, 202, 9053, 1853, 3437, 4700, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 9506, 202, 1916, 24899, 88, 16, 4043, 1769, 9506, 202, 67, 88, 273, 389, 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, 2166, 270, 395, 340, 475, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 2166, 270, 395, 340, 475, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 6494, 6194, 10391, 15400, 22, 2643, 27, 273, 629, 31, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 430, 261, 12443, 67, 88, 18, 588, 559, 1435, 631, 8217, 20349, 288, 1082, 202, 9053, 1001, 88, 22, 2643, 27, 273, 389, 88, 31, 1082, 202, 11982, 10391, 15400, 22, 2643, 27, 273, 638, 31, 1082, 202, 2630, 1119, 18, 20885, 310, 2 ]
double[] in = input.getValues();
double[] in = input.getValues();
private void process(DoubleData input) throws DataProcessingException { currentCollectTime = input.getCollectTime(); double[] in = input.getValues(); int length = overflowBuffer.getOccupancy() + in.length; List dataList = new LinkedList(); dataList.add(input); Data utteranceEnd = null; // read in more Data if we have under one window's length of data while (length < cosineWindow.length) { Data next = getPredecessor().getData(); if (next instanceof DoubleData) { dataList.add(next); length += ((DoubleData) next).getValues().length; } else if (next instanceof DataEndSignal) { utteranceEnd = next; break; } } double[] allSamples = in; // prepend overflow samples if (length != in.length) { allSamples = new double[length]; int start = 0; // copy overflow samples to allSamples buffer System.arraycopy(overflowBuffer.getBuffer(), 0, allSamples, start, overflowBuffer.getOccupancy()); start = overflowBuffer.getOccupancy(); // copy input samples to allSamples buffer for (Iterator i = dataList.iterator(); i.hasNext(); ) { DoubleData next = (DoubleData) i.next(); double[] samples = next.getValues(); System.arraycopy(samples, 0, allSamples, start, samples.length); start += samples.length; } } // apply Hamming window int residual = applyRaisedCosineWindow(allSamples, length); // save elements that also belong to the next window overflowBuffer.reset(); if (length - residual > 0) { overflowBuffer.append(allSamples, residual, length - residual); } if (utteranceEnd != null) { // end of utterance handling processUtteranceEnd(); outputQueue.add(utteranceEnd); } }
7874 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7874/b92cd7d1b30dfe032af79a340c4e5877f0e4ec0e/RaisedCosineWindower.java/buggy/src/sphinx4/edu/cmu/sphinx/frontend/window/RaisedCosineWindower.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1207, 12, 5265, 751, 810, 13, 1216, 1910, 23684, 288, 3639, 783, 10808, 950, 273, 810, 18, 588, 10808, 950, 5621, 540, 202, 9056, 8526, 316, 273, 810, 18, 588, 1972, 5621, 3639, 509, 769, 273, 9391, 1892, 18, 588, 24269, 416, 12514, 1435, 397, 316, 18, 2469, 31, 3639, 987, 501, 682, 273, 394, 10688, 5621, 3639, 501, 682, 18, 1289, 12, 2630, 1769, 7734, 1910, 31297, 1638, 273, 446, 31, 7734, 368, 855, 316, 1898, 1910, 309, 732, 1240, 3613, 1245, 2742, 1807, 769, 434, 501, 3639, 1323, 261, 2469, 411, 31633, 3829, 18, 2469, 13, 288, 5411, 1910, 1024, 273, 12822, 14258, 280, 7675, 588, 751, 5621, 5411, 309, 261, 4285, 1276, 3698, 751, 13, 288, 7734, 501, 682, 18, 1289, 12, 4285, 1769, 7734, 769, 1011, 14015, 5265, 751, 13, 1024, 2934, 588, 1972, 7675, 2469, 31, 5411, 289, 469, 309, 261, 4285, 1276, 1910, 1638, 11208, 13, 288, 7734, 31297, 1638, 273, 1024, 31, 7734, 898, 31, 5411, 289, 3639, 289, 202, 9056, 8526, 777, 13239, 273, 316, 31, 3639, 368, 8254, 9391, 5216, 3639, 309, 261, 2469, 480, 316, 18, 2469, 13, 288, 5411, 777, 13239, 273, 394, 1645, 63, 2469, 15533, 5411, 509, 787, 273, 374, 31, 202, 377, 202, 565, 368, 1610, 9391, 5216, 358, 777, 13239, 1613, 202, 565, 2332, 18, 1126, 3530, 12, 11512, 1892, 18, 588, 1892, 9334, 374, 16, 9506, 377, 777, 13239, 16, 787, 16, 9391, 1892, 18, 588, 24269, 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, 1207, 12, 5265, 751, 810, 13, 1216, 1910, 23684, 288, 3639, 783, 10808, 950, 273, 810, 18, 588, 10808, 950, 5621, 540, 202, 9056, 8526, 316, 273, 810, 18, 588, 1972, 5621, 3639, 509, 769, 273, 9391, 1892, 18, 588, 24269, 416, 12514, 1435, 397, 316, 18, 2469, 31, 3639, 987, 501, 682, 273, 394, 10688, 5621, 3639, 501, 682, 18, 1289, 12, 2630, 1769, 7734, 1910, 31297, 1638, 273, 446, 31, 7734, 368, 855, 316, 1898, 1910, 309, 732, 1240, 3613, 1245, 2742, 1807, 769, 434, 501, 3639, 1323, 261, 2469, 411, 31633, 3829, 18, 2469, 13, 288, 5411, 1910, 1024, 273, 12822, 14258, 280, 7675, 588, 751, 5621, 5411, 309, 261, 4285, 1276, 3698, 2 ]
cs.gridy++;
cs.gridy++;
public Component getRep(String format) { // put together a new panel in scroll pane JPanel j = new JPanel(); GridBagLayout g = new GridBagLayout(); GridBagConstraints cs = new GridBagConstraints(); j.setLayout(g); for (int i=0; i<nValues; i++) { cs.gridy = 0; cs.gridx = i; CvValue cv = (CvValue)_cvVector.elementAt(getCvNum()+i); JSlider s = new VarSlider(models[i], cv); s.setOrientation(JSlider.VERTICAL); s.addChangeListener(this); int currentState = cv.getState(); int currentValue = cv.getValue(); DecVariableValue decVal = new DecVariableValue("val"+i,"", false, getCvNum()+i, "VVVVVVVV", 0, 255, _cvVector, _status, ""); decVal.setValue(currentValue); decVal.setState(currentState); Component v = decVal.getValue(); g.setConstraints(v, cs); try { if (i==0) log.debug("Font size "+v.getFont().getSize()); float newSize = v.getFont().getSize() * 0.8f; v.setFont(v.getFont().deriveFont(newSize)); } catch (NoSuchMethodError e) {} // just carry on with larger fonts j.add ( v ); cs.gridy++; g.setConstraints(s, cs); j.add(s); } // add control buttons JPanel k = new JPanel(); JButton b; k.add(b = new JButton("Force Straight")); k.setToolTipText("Insert straight line between min and max"); b.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent e) { doForceStraight(e); } }); k.add(b = new JButton("Match ends")); k.setToolTipText("Insert a straight line between existing endpoints"); b.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent e) { doMatchEnds(e); } }); k.add(b = new JButton("Constant ratio curve")); k.setToolTipText("Insert a constant ratio curve between existing endpoints"); b.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent e) { doRatioCurve(e); } }); k.add(b = new JButton("Log curve")); k.setToolTipText("Insert a logarithmic curve between existing endpoints"); b.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent e) { doLogCurve(e); } }); cs.gridy=2; cs.gridx = 0; cs.gridwidth = GridBagConstraints.RELATIVE; g.setConstraints(k, cs); j.add(k); return j; }
213 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/213/4f9cb306d33727f0798702eae371e1668dfeb564/SpeedTableVarValue.java/clean/jmri/jmrit/symbolicprog/SpeedTableVarValue.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 5435, 5561, 84, 12, 780, 740, 13, 225, 288, 202, 202, 759, 1378, 9475, 279, 394, 6594, 316, 5532, 13618, 202, 202, 46, 5537, 525, 273, 394, 24048, 5621, 202, 202, 6313, 5013, 3744, 314, 273, 394, 7145, 5013, 3744, 5621, 202, 202, 6313, 6852, 2873, 273, 394, 13075, 5621, 202, 202, 78, 18, 542, 3744, 12, 75, 1769, 202, 202, 1884, 261, 474, 277, 33, 20, 31, 277, 32, 82, 1972, 31, 277, 27245, 288, 1082, 202, 2143, 18, 5222, 93, 273, 374, 31, 1082, 202, 2143, 18, 5222, 92, 273, 277, 31, 5411, 385, 90, 620, 8951, 273, 261, 39, 90, 620, 13, 67, 19774, 5018, 18, 2956, 861, 12, 588, 39, 90, 2578, 1435, 15, 77, 1769, 1082, 202, 46, 21824, 272, 273, 394, 4562, 21824, 12, 7665, 63, 77, 6487, 8951, 1769, 1082, 202, 87, 18, 542, 14097, 12, 46, 21824, 18, 21654, 10109, 1769, 1082, 202, 87, 18, 1289, 15744, 12, 2211, 1769, 5411, 509, 17773, 273, 8951, 18, 588, 1119, 5621, 5411, 509, 14794, 273, 8951, 18, 24805, 5621, 5411, 3416, 3092, 620, 2109, 3053, 273, 394, 3416, 3092, 620, 2932, 1125, 6, 15, 77, 10837, 3113, 629, 16, 6862, 1082, 202, 588, 39, 90, 2578, 1435, 15, 77, 16, 315, 58, 58, 58, 58, 58, 58, 58, 58, 3113, 374, 16, 4561, 16, 6862, 1082, 202, 67, 19774, 5018, 16, 389, 2327, 16, 1408, 1769, 5411, 2109, 3053, 18, 542, 620, 12, 2972, 620, 1769, 5411, 2109, 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, 5435, 5561, 84, 12, 780, 740, 13, 225, 288, 202, 202, 759, 1378, 9475, 279, 394, 6594, 316, 5532, 13618, 202, 202, 46, 5537, 525, 273, 394, 24048, 5621, 202, 202, 6313, 5013, 3744, 314, 273, 394, 7145, 5013, 3744, 5621, 202, 202, 6313, 6852, 2873, 273, 394, 13075, 5621, 202, 202, 78, 18, 542, 3744, 12, 75, 1769, 202, 202, 1884, 261, 474, 277, 33, 20, 31, 277, 32, 82, 1972, 31, 277, 27245, 288, 1082, 202, 2143, 18, 5222, 93, 273, 374, 31, 1082, 202, 2143, 18, 5222, 92, 273, 277, 31, 5411, 385, 90, 620, 8951, 273, 261, 39, 90, 620, 13, 67, 19774, 5018, 18, 2956, 861, 12, 588, 39, 90, 2578, 2 ]
if (root == null) return null; Object image = null; try { R.setVar("ome", root); R.setVar("name", name); R.setVar("creationDate", creationDate); R.setVar("description", description); image = getChild(root, "Image"); R.setVar("image", image); R.exec("image.setName(name)"); R.exec("image.setCreated(creationDate)"); R.exec("image.setDescription(description)"); } catch (ReflectException exc) { exc.printStackTrace(); } return image;
return setImage(root, name, creationDate, description, 0);
public static Object setImage(Object root, String name, String creationDate, String description) { if (root == null) return null; Object image = null; try { R.setVar("ome", root); R.setVar("name", name); R.setVar("creationDate", creationDate); R.setVar("description", description); image = getChild(root, "Image"); R.setVar("image", image); R.exec("image.setName(name)"); R.exec("image.setCreated(creationDate)"); R.exec("image.setDescription(description)"); } catch (ReflectException exc) { exc.printStackTrace(); } return image; }
55303 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55303/91859a26506b8a1d312b398da2c3ecd94e02fa60/OMETools.java/buggy/loci/formats/OMETools.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 1033, 18893, 12, 921, 1365, 16, 514, 508, 16, 565, 514, 6710, 1626, 16, 514, 2477, 13, 225, 288, 565, 309, 261, 3085, 422, 446, 13, 327, 446, 31, 565, 1033, 1316, 273, 446, 31, 565, 775, 288, 1377, 534, 18, 542, 1537, 2932, 1742, 3113, 1365, 1769, 1377, 534, 18, 542, 1537, 2932, 529, 3113, 508, 1769, 1377, 534, 18, 542, 1537, 2932, 17169, 1626, 3113, 6710, 1626, 1769, 1377, 534, 18, 542, 1537, 2932, 3384, 3113, 2477, 1769, 1377, 1316, 273, 8154, 12, 3085, 16, 315, 2040, 8863, 1377, 534, 18, 542, 1537, 2932, 2730, 3113, 1316, 1769, 1377, 534, 18, 4177, 2932, 2730, 18, 542, 461, 12, 529, 2225, 1769, 1377, 534, 18, 4177, 2932, 2730, 18, 542, 6119, 12, 17169, 1626, 2225, 1769, 1377, 534, 18, 4177, 2932, 2730, 18, 542, 3291, 12, 3384, 2225, 1769, 565, 289, 565, 1044, 261, 24452, 503, 3533, 13, 288, 3533, 18, 1188, 6332, 5621, 289, 565, 327, 1316, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 1033, 18893, 12, 921, 1365, 16, 514, 508, 16, 565, 514, 6710, 1626, 16, 514, 2477, 13, 225, 288, 565, 309, 261, 3085, 422, 446, 13, 327, 446, 31, 565, 1033, 1316, 273, 446, 31, 565, 775, 288, 1377, 534, 18, 542, 1537, 2932, 1742, 3113, 1365, 1769, 1377, 534, 18, 542, 1537, 2932, 529, 3113, 508, 1769, 1377, 534, 18, 542, 1537, 2932, 17169, 1626, 3113, 6710, 1626, 1769, 1377, 534, 18, 542, 1537, 2932, 3384, 3113, 2477, 1769, 1377, 1316, 273, 8154, 12, 3085, 16, 315, 2040, 8863, 1377, 534, 18, 542, 1537, 2932, 2730, 3113, 1316, 1769, 1377, 534, 18, 4177, 2932, 2730, 18, 542, 461, 12, 529, 2225, 1769, 1377, 534, 18, 2 ]
private List setCheckOutPaymentInternal(Map selectedPaymentMethods, List singleUsePayments, String billingAccountId, Double billingAccountAmt) {
public List setCheckOutPaymentInternal(Map selectedPaymentMethods, List singleUsePayments, String billingAccountId, Double billingAccountAmt) {
private List setCheckOutPaymentInternal(Map selectedPaymentMethods, List singleUsePayments, String billingAccountId, Double billingAccountAmt) { List errorMessages = new ArrayList(); String errMsg = null; if (singleUsePayments == null) { singleUsePayments = new ArrayList(); } // set the payment method option if (selectedPaymentMethods != null && selectedPaymentMethods.size() > 0) { // clear out the old payments cart.clearPayments(); // if checkoutPaymentId == EXT_BILLACT, then we have billing account only, so make sure we have enough credit if (selectedPaymentMethods.containsKey("EXT_BILLACT")) { double accountCredit = this.availableAccountBalance(cart.getBillingAccountId()); // make sure we have enough to cover; if this is selected we don't have other payment methods if (cart.getGrandTotal() > accountCredit) { errMsg = UtilProperties.getMessage(resource,"checkhelper.insufficient_credit_available_on_account", (cart != null ? cart.getLocale() : Locale.getDefault())); errorMessages.add(errMsg); } } if (billingAccountId != null && billingAccountAmt != null && !billingAccountId.equals("_NA_")) { // set cart billing account data and generate a payment method containing the amount we will be charging cart.setBillingAccount(billingAccountId, billingAccountAmt.doubleValue()); selectedPaymentMethods.put("EXT_BILLACT", new Double(cart.getBillingAccountAmount())); } else if ("_NA_".equals(billingAccountId)) { // if _NA_ was supplied, erase all billing account data cart.setBillingAccount(null, 0.0); cart.clearPayment("EXT_BILLACT"); } Set paymentMethods = selectedPaymentMethods.keySet(); Iterator i = paymentMethods.iterator(); while (i.hasNext()) { String checkOutPaymentId = (String) i.next(); // get the selected amount to use Double paymentAmount = null; if (selectedPaymentMethods.get(checkOutPaymentId) != null) { paymentAmount = (Double) selectedPaymentMethods.get(checkOutPaymentId); } boolean singleUse = singleUsePayments.contains(checkOutPaymentId); cart.addPaymentAmount(checkOutPaymentId, paymentAmount, singleUse); } } else if (cart.getGrandTotal() != 0.00) { // only return an error if the order total is not 0.00 errMsg = UtilProperties.getMessage(resource,"checkhelper.select_method_of_payment", (cart != null ? cart.getLocale() : Locale.getDefault())); errorMessages.add(errMsg); } return errorMessages; }
45953 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45953/72323451c84f7460f054bb56ff964ed7f2e3940b/CheckOutHelper.java/clean/applications/order/src/org/ofbiz/order/shoppingcart/CheckOutHelper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 987, 444, 1564, 1182, 6032, 3061, 12, 863, 3170, 6032, 4712, 16, 987, 2202, 3727, 23725, 16, 514, 10709, 14594, 16, 3698, 25940, 31787, 13, 288, 3639, 987, 22241, 273, 394, 2407, 5621, 3639, 514, 12412, 273, 446, 31, 3639, 309, 261, 7526, 3727, 23725, 422, 446, 13, 288, 5411, 2202, 3727, 23725, 273, 394, 2407, 5621, 3639, 289, 3639, 368, 444, 326, 5184, 707, 1456, 3639, 309, 261, 8109, 6032, 4712, 480, 446, 597, 3170, 6032, 4712, 18, 1467, 1435, 405, 374, 13, 288, 5411, 368, 2424, 596, 326, 1592, 25754, 5411, 7035, 18, 8507, 23725, 5621, 5411, 368, 309, 13926, 6032, 548, 422, 11112, 67, 38, 2627, 2534, 1268, 16, 1508, 732, 1240, 10709, 2236, 1338, 16, 1427, 1221, 3071, 732, 1240, 7304, 12896, 5411, 309, 261, 8109, 6032, 4712, 18, 12298, 653, 2932, 4142, 67, 38, 2627, 2534, 1268, 6, 3719, 288, 7734, 1645, 2236, 16520, 273, 333, 18, 5699, 3032, 13937, 12, 11848, 18, 588, 13105, 14594, 10663, 7734, 368, 1221, 3071, 732, 1240, 7304, 358, 5590, 31, 309, 333, 353, 3170, 732, 2727, 1404, 1240, 1308, 5184, 2590, 7734, 309, 261, 11848, 18, 588, 43, 7884, 5269, 1435, 405, 2236, 16520, 13, 288, 10792, 12412, 273, 3564, 2297, 18, 24906, 12, 3146, 10837, 1893, 4759, 18, 2679, 11339, 67, 20688, 67, 5699, 67, 265, 67, 4631, 3113, 18701, 261, 11848, 480, 446, 692, 7035, 18, 588, 3916, 1435, 294, 6458, 18, 588, 1868, 1435, 10019, 10792, 22241, 18, 1289, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 987, 444, 1564, 1182, 6032, 3061, 12, 863, 3170, 6032, 4712, 16, 987, 2202, 3727, 23725, 16, 514, 10709, 14594, 16, 3698, 25940, 31787, 13, 288, 3639, 987, 22241, 273, 394, 2407, 5621, 3639, 514, 12412, 273, 446, 31, 3639, 309, 261, 7526, 3727, 23725, 422, 446, 13, 288, 5411, 2202, 3727, 23725, 273, 394, 2407, 5621, 3639, 289, 3639, 368, 444, 326, 5184, 707, 1456, 3639, 309, 261, 8109, 6032, 4712, 480, 446, 597, 3170, 6032, 4712, 18, 1467, 1435, 405, 374, 13, 288, 5411, 368, 2424, 596, 326, 1592, 25754, 5411, 7035, 18, 8507, 23725, 5621, 5411, 368, 309, 13926, 6032, 548, 422, 11112, 67, 38, 2627, 2534, 1268, 16, 1508, 732, 1240, 10709, 2236, 2 ]
if (sql_type == -1) { ResultSet result = (postgresql.ResultSet)conn.ExecSQL("select typname from pg_type where oid = " + oid); if (result.getColumnCount() != 1 || result.getTupleCount() != 1) throw new SQLException("Unexpected return from query for type"); result.next(); type_name = result.getString(1); if (type_name.equals("int2")) sql_type = Types.SMALLINT; else if (type_name.equals("int4")) sql_type = Types.INTEGER; else if (type_name.equals("int8")) sql_type = Types.BIGINT; else if (type_name.equals("cash")) sql_type = Types.DECIMAL; else if (type_name.equals("money")) sql_type = Types.DECIMAL; else if (type_name.equals("float4")) sql_type = Types.REAL; else if (type_name.equals("float8")) sql_type = Types.DOUBLE; else if (type_name.equals("bpchar")) sql_type = Types.CHAR; else if (type_name.equals("varchar")) sql_type = Types.VARCHAR; else if (type_name.equals("bool")) sql_type = Types.BIT; else if (type_name.equals("date")) sql_type = Types.DATE; else if (type_name.equals("time")) sql_type = Types.TIME; else if (type_name.equals("abstime")) sql_type = Types.TIMESTAMP; else if (type_name.equals("timestamp")) sql_type = Types.TIMESTAMP; else sql_type = Types.OTHER; }
if(sql_type == -1) { ResultSet result = (postgresql.ResultSet)conn.ExecSQL("select typname from pg_type where oid = " + oid); if (result.getColumnCount() != 1 || result.getTupleCount() != 1) throw new SQLException("Unexpected return from query for type"); result.next(); sql_type = getSQLType(result.getString(1)); result.close(); }
public int getSQLType() throws SQLException { if (sql_type == -1) { ResultSet result = (postgresql.ResultSet)conn.ExecSQL("select typname from pg_type where oid = " + oid); if (result.getColumnCount() != 1 || result.getTupleCount() != 1) throw new SQLException("Unexpected return from query for type"); result.next(); type_name = result.getString(1); if (type_name.equals("int2")) sql_type = Types.SMALLINT; else if (type_name.equals("int4")) sql_type = Types.INTEGER; else if (type_name.equals("int8")) sql_type = Types.BIGINT; else if (type_name.equals("cash")) sql_type = Types.DECIMAL; else if (type_name.equals("money")) sql_type = Types.DECIMAL; else if (type_name.equals("float4")) sql_type = Types.REAL; else if (type_name.equals("float8")) sql_type = Types.DOUBLE; else if (type_name.equals("bpchar")) sql_type = Types.CHAR; else if (type_name.equals("varchar")) sql_type = Types.VARCHAR; else if (type_name.equals("bool")) sql_type = Types.BIT; else if (type_name.equals("date")) sql_type = Types.DATE; else if (type_name.equals("time")) sql_type = Types.TIME; else if (type_name.equals("abstime")) sql_type = Types.TIMESTAMP; else if (type_name.equals("timestamp")) sql_type = Types.TIMESTAMP; else sql_type = Types.OTHER; } return sql_type; }
45534 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45534/ba977c086c01726affcc96219a79584a11ccc78e/Field.java/buggy/src/interfaces/jdbc/postgresql/Field.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 21708, 559, 1435, 1216, 6483, 225, 288, 565, 309, 261, 4669, 67, 723, 422, 300, 21, 13, 1377, 288, 202, 13198, 563, 273, 261, 2767, 24330, 18, 13198, 13, 4646, 18, 1905, 3997, 2932, 4025, 3815, 529, 628, 7184, 67, 723, 1625, 7764, 273, 315, 397, 7764, 1769, 202, 430, 261, 2088, 18, 588, 1494, 1380, 1435, 480, 404, 747, 563, 18, 588, 9038, 1380, 1435, 480, 404, 13, 202, 225, 604, 394, 6483, 2932, 7762, 327, 628, 843, 364, 618, 8863, 202, 2088, 18, 4285, 5621, 202, 723, 67, 529, 273, 563, 18, 588, 780, 12, 21, 1769, 202, 430, 261, 723, 67, 529, 18, 14963, 2932, 474, 22, 6, 3719, 202, 225, 1847, 67, 723, 273, 7658, 18, 23882, 3217, 31, 202, 12107, 309, 261, 723, 67, 529, 18, 14963, 2932, 474, 24, 6, 3719, 202, 225, 1847, 67, 723, 273, 7658, 18, 14217, 31, 202, 12107, 309, 261, 723, 67, 529, 18, 14963, 2932, 474, 28, 6, 3719, 202, 225, 1847, 67, 723, 273, 7658, 18, 19044, 3217, 31, 202, 12107, 309, 261, 723, 67, 529, 18, 14963, 2932, 71, 961, 6, 3719, 202, 225, 1847, 67, 723, 273, 7658, 18, 23816, 31, 202, 12107, 309, 261, 723, 67, 529, 18, 14963, 2932, 2586, 402, 6, 3719, 202, 225, 1847, 67, 723, 273, 7658, 18, 23816, 31, 202, 12107, 309, 261, 723, 67, 529, 18, 14963, 2932, 5659, 24, 6, 3719, 202, 225, 1847, 67, 723, 273, 7658, 18, 31052, 31, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 21708, 559, 1435, 1216, 6483, 225, 288, 565, 309, 261, 4669, 67, 723, 422, 300, 21, 13, 1377, 288, 202, 13198, 563, 273, 261, 2767, 24330, 18, 13198, 13, 4646, 18, 1905, 3997, 2932, 4025, 3815, 529, 628, 7184, 67, 723, 1625, 7764, 273, 315, 397, 7764, 1769, 202, 430, 261, 2088, 18, 588, 1494, 1380, 1435, 480, 404, 747, 563, 18, 588, 9038, 1380, 1435, 480, 404, 13, 202, 225, 604, 394, 6483, 2932, 7762, 327, 628, 843, 364, 618, 8863, 202, 2088, 18, 4285, 5621, 202, 723, 67, 529, 273, 563, 18, 588, 780, 12, 21, 1769, 202, 430, 261, 723, 67, 529, 18, 14963, 2932, 474, 22, 6, 3719, 202, 225, 1847, 67, 2 ]
AST tmp134_AST = null; tmp134_AST = astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp134_AST);
AST tmp183_AST = null; tmp183_AST = astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp183_AST);
public final String reservedKeywords() throws RecognitionException, TokenStreamException { String name; returnAST = null; ASTPair currentAST = new ASTPair(); AST reservedKeywords_AST = null; name = null; switch ( LA(1)) { case LITERAL_div: { AST tmp126_AST = null; tmp126_AST = astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp126_AST); match(LITERAL_div); if ( inputState.guessing==0 ) { name = "div"; } reservedKeywords_AST = (AST)currentAST.root; break; } case LITERAL_mod: { AST tmp127_AST = null; tmp127_AST = astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp127_AST); match(LITERAL_mod); if ( inputState.guessing==0 ) { name = "mod"; } reservedKeywords_AST = (AST)currentAST.root; break; } case LITERAL_text: { AST tmp128_AST = null; tmp128_AST = astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp128_AST); match(LITERAL_text); if ( inputState.guessing==0 ) { name = "text"; } reservedKeywords_AST = (AST)currentAST.root; break; } case LITERAL_node: { AST tmp129_AST = null; tmp129_AST = astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp129_AST); match(LITERAL_node); if ( inputState.guessing==0 ) { name = "node"; } reservedKeywords_AST = (AST)currentAST.root; break; } case LITERAL_or: { AST tmp130_AST = null; tmp130_AST = astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp130_AST); match(LITERAL_or); if ( inputState.guessing==0 ) { name = "or"; } reservedKeywords_AST = (AST)currentAST.root; break; } case LITERAL_and: { AST tmp131_AST = null; tmp131_AST = astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp131_AST); match(LITERAL_and); if ( inputState.guessing==0 ) { name = "and"; } reservedKeywords_AST = (AST)currentAST.root; break; } case LITERAL_child: { AST tmp132_AST = null; tmp132_AST = astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp132_AST); match(LITERAL_child); if ( inputState.guessing==0 ) { name = "child"; } reservedKeywords_AST = (AST)currentAST.root; break; } case LITERAL_parent: { AST tmp133_AST = null; tmp133_AST = astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp133_AST); match(LITERAL_parent); if ( inputState.guessing==0 ) { name = "parent"; } reservedKeywords_AST = (AST)currentAST.root; break; } case LITERAL_self: { AST tmp134_AST = null; tmp134_AST = astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp134_AST); match(LITERAL_self); if ( inputState.guessing==0 ) { name = "self"; } reservedKeywords_AST = (AST)currentAST.root; break; } case LITERAL_attribute: { AST tmp135_AST = null; tmp135_AST = astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp135_AST); match(LITERAL_attribute); if ( inputState.guessing==0 ) { name = "attribute"; } reservedKeywords_AST = (AST)currentAST.root; break; } case LITERAL_ancestor: { AST tmp136_AST = null; tmp136_AST = astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp136_AST); match(LITERAL_ancestor); if ( inputState.guessing==0 ) { name = "ancestor"; } reservedKeywords_AST = (AST)currentAST.root; break; } case LITERAL_descendant: { AST tmp137_AST = null; tmp137_AST = astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp137_AST); match(LITERAL_descendant); if ( inputState.guessing==0 ) { name = "descendant"; } reservedKeywords_AST = (AST)currentAST.root; break; } case 51: { AST tmp138_AST = null; tmp138_AST = astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp138_AST); match(51); if ( inputState.guessing==0 ) { name = "descendant-or-self"; } reservedKeywords_AST = (AST)currentAST.root; break; } case 55: { AST tmp139_AST = null; tmp139_AST = astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp139_AST); match(55); if ( inputState.guessing==0 ) { name = "ancestor-or-self"; } reservedKeywords_AST = (AST)currentAST.root; break; } case 56: { AST tmp140_AST = null; tmp140_AST = astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp140_AST); match(56); if ( inputState.guessing==0 ) { name = "preceding-sibling"; } reservedKeywords_AST = (AST)currentAST.root; break; } case 52: { AST tmp141_AST = null; tmp141_AST = astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp141_AST); match(52); if ( inputState.guessing==0 ) { name = "following-sibling"; } reservedKeywords_AST = (AST)currentAST.root; break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } returnAST = reservedKeywords_AST; return name; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/ad9d55f515de2cb1fa50cf09c9e42150efc8374f/XPathParser2.java/buggy/src/org/exist/parser/XPathParser2.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 514, 225, 8735, 14149, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 202, 202, 780, 508, 31, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 9053, 8735, 14149, 67, 9053, 273, 446, 31, 6862, 202, 529, 273, 446, 31, 25083, 202, 9610, 261, 2928, 12, 21, 3719, 288, 202, 202, 3593, 511, 18454, 67, 2892, 30, 202, 202, 95, 1082, 202, 9053, 1853, 25452, 67, 9053, 273, 446, 31, 1082, 202, 5645, 25452, 67, 9053, 273, 3364, 1733, 18, 2640, 12, 12050, 12, 21, 10019, 1082, 202, 689, 1733, 18, 1289, 9053, 1763, 12, 2972, 9053, 16, 1853, 25452, 67, 9053, 1769, 1082, 202, 1916, 12, 23225, 67, 2892, 1769, 1082, 202, 430, 261, 810, 1119, 18, 20885, 310, 631, 20, 262, 288, 9506, 202, 529, 273, 315, 2892, 14432, 1082, 202, 97, 1082, 202, 18898, 14149, 67, 9053, 273, 261, 9053, 13, 2972, 9053, 18, 3085, 31, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 511, 18454, 67, 1711, 30, 202, 202, 95, 1082, 202, 9053, 1853, 14260, 67, 9053, 273, 446, 31, 1082, 202, 5645, 14260, 67, 9053, 273, 3364, 1733, 18, 2640, 12, 12050, 12, 21, 10019, 1082, 202, 689, 1733, 18, 1289, 9053, 1763, 12, 2972, 9053, 16, 1853, 14260, 67, 9053, 1769, 1082, 202, 1916, 12, 23225, 67, 1711, 1769, 1082, 202, 430, 261, 810, 1119, 18, 20885, 310, 631, 20, 262, 288, 9506, 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, 514, 225, 8735, 14149, 1435, 1216, 9539, 16, 3155, 1228, 503, 288, 202, 202, 780, 508, 31, 9506, 202, 2463, 9053, 273, 446, 31, 202, 202, 9053, 4154, 783, 9053, 273, 394, 9183, 4154, 5621, 202, 202, 9053, 8735, 14149, 67, 9053, 273, 446, 31, 6862, 202, 529, 273, 446, 31, 25083, 202, 9610, 261, 2928, 12, 21, 3719, 288, 202, 202, 3593, 511, 18454, 67, 2892, 30, 202, 202, 95, 1082, 202, 9053, 1853, 25452, 67, 9053, 273, 446, 31, 1082, 202, 5645, 25452, 67, 9053, 273, 3364, 1733, 18, 2640, 12, 12050, 12, 21, 10019, 1082, 202, 689, 1733, 18, 1289, 9053, 1763, 12, 2972, 9053, 16, 1853, 25452, 67, 9053, 1769, 1082, 2 ]
superuser.getWorkspace().restore(new Version[]{rootVersion}, true);
superuser.getWorkspace().restore(new Version[]{version}, true);
public void testWorkspaceRestoreOnCheckedOutNode() throws RepositoryException { if (!versionableNode.isCheckedOut()) { versionableNode.checkout(); } superuser.getWorkspace().restore(new Version[]{rootVersion}, true); }
48761 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48761/1069a8afc952b1e302ad75adc805a55d8f357f5f/WorkspaceRestoreTest.java/buggy/src/test/org/apache/jackrabbit/test/api/version/WorkspaceRestoreTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 8241, 10874, 1398, 11454, 1182, 907, 1435, 1216, 13367, 288, 3639, 309, 16051, 1589, 429, 907, 18, 291, 11454, 1182, 10756, 288, 5411, 1177, 429, 907, 18, 17300, 5621, 3639, 289, 3639, 2240, 1355, 18, 588, 8241, 7675, 13991, 12, 2704, 4049, 63, 7073, 1589, 5779, 638, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 8241, 10874, 1398, 11454, 1182, 907, 1435, 1216, 13367, 288, 3639, 309, 16051, 1589, 429, 907, 18, 291, 11454, 1182, 10756, 288, 5411, 1177, 429, 907, 18, 17300, 5621, 3639, 289, 3639, 2240, 1355, 18, 588, 8241, 7675, 13991, 12, 2704, 4049, 63, 7073, 1589, 5779, 638, 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 ]
if (sendConnectEvent)
if (sendProtocolIdentifierReceivedEvent)
public void setSocket(SocketConnectionFacade socket) { if (sendConnectEvent) { ConnectEvent connectEvent; connectEvent = new ConnectEvent(asteriskServer); connectEvent.setProtocolIdentifier("Asterisk Call Manager/1.0"); dispatcher.dispatchEvent(connectEvent); } }
25582 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25582/9623bac6222d2c995b3c6752368c9961e4f8e6d3/ManagerWriterMock.java/buggy/src/test/java/org/asteriskjava/manager/ManagerWriterMock.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 4534, 12, 4534, 1952, 12467, 2987, 13, 565, 288, 3639, 309, 261, 4661, 5752, 3004, 8872, 1133, 13, 3639, 288, 5411, 8289, 1133, 3077, 1133, 31, 5411, 3077, 1133, 273, 394, 8289, 1133, 12, 2440, 10175, 2081, 1769, 5411, 3077, 1133, 18, 542, 5752, 3004, 2932, 37, 8190, 10175, 3049, 8558, 19, 21, 18, 20, 8863, 5411, 7393, 18, 10739, 1133, 12, 3612, 1133, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 444, 4534, 12, 4534, 1952, 12467, 2987, 13, 565, 288, 3639, 309, 261, 4661, 5752, 3004, 8872, 1133, 13, 3639, 288, 5411, 8289, 1133, 3077, 1133, 31, 5411, 3077, 1133, 273, 394, 8289, 1133, 12, 2440, 10175, 2081, 1769, 5411, 3077, 1133, 18, 542, 5752, 3004, 2932, 37, 8190, 10175, 3049, 8558, 19, 21, 18, 20, 8863, 5411, 7393, 18, 10739, 1133, 12, 3612, 1133, 1769, 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 ]
fragmentId = (fragments != null && fragments.isEmpty())?(String) fragments.keySet().toArray()[0]:"";
fragmentId = (fragments != null && !fragments.isEmpty())?(String) fragments.keySet().toArray()[0]:"";
protected void analyzeParameters( XSLT xslt ) throws PortalException { String fragmentId = CommonUtils.nvl(runtimeData.getParameter("uPcFM_selectedID")); String action = CommonUtils.nvl(runtimeData.getParameter("uPcFM_action")); if (action.equals("save_new")) { String fragmentName = runtimeData.getParameter("fragment_name"); String funcName = runtimeData.getParameter("fragment_fname"); String fragmentDesc = runtimeData.getParameter("fragment_desc"); String fragmentType = runtimeData.getParameter("fragment_type"); String fragmentFolder = runtimeData.getParameter("fragment_add_folder"); boolean isPushedFragment = ("pushed".equals(fragmentType))?true:false; fragmentId = alm.createFragment(CommonUtils.nvl(funcName),CommonUtils.nvl(fragmentDesc),CommonUtils.nvl(fragmentName)); ALFragment newFragment = (ALFragment) alm.getFragment(fragmentId); if ( newFragment != null ) { if ( isPushedFragment ) newFragment.setPushedFragment(); else newFragment.setPulledFragment(); // Saving the changes in the database alm.saveFragment(newFragment); // Updating the fragments map fragments.put(fragmentId,newFragment); // Check if we need to create an additional folder on the fragment root if ( "true".equals(fragmentFolder) ) { alm.loadFragment(fragmentId); createFolder(newFragment); alm.saveFragment(); } } } else if (action.equals("save")) { String funcName = runtimeData.getParameter("fragment_fname"); String fragmentName = runtimeData.getParameter("fragment_name"); String fragmentDesc = runtimeData.getParameter("fragment_desc"); String fragmentType = runtimeData.getParameter("fragment_type"); boolean isPushedFragment = ("pushed".equals(fragmentType))?true:false; ALFragment fragment = (ALFragment) fragments.get(fragmentId); if ( fragment != null ) { if ( isPushedFragment ) fragment.setPushedFragment(); else fragment.setPulledFragment(); fragment.setFunctionalName(CommonUtils.nvl(funcName)); fragment.setDescription(CommonUtils.nvl(fragmentDesc)); String fragmentRootId = getFragmentRootId(fragmentId); ALNode fragmentRoot = fragment.getNode(fragmentRootId); fragmentRoot.getNodeDescription().setName(fragmentName); // Saving the changes in the database alm.saveFragment(fragment); } } else if (action.equals("delete")) { if (CommonUtils.parseInt(fragmentId) > 0) { alm.deleteFragment(fragmentId); // Updating the fragments map fragments.remove(fragmentId); fragmentId = (fragments != null && fragments.isEmpty())?(String) fragments.keySet().toArray()[0]:""; } else new PortalException ( "Invalid fragment ID="+fragmentId); } else if (action.equals("publish")) { servantRender = true; servantFragmentId = fragmentId; } else if (action.equals("publish_finish")) { IGroupMember[] gms = (IGroupMember[]) getGroupServant().getResults(); for ( int i = 0; i < gms.length; i++ ) System.out.println ( "group key: " + gms[i].getKey()); servantRender = false; } if ( getGroupServant().isFinished() ) { IGroupMember[] gms = (IGroupMember[]) getGroupServant().getResults(); if ( gms != null && "Done".equals(runtimeData.getParameter("grpCommand"))) alm.setPublishGroups(gms,servantFragmentId); servants.remove(getServantKey()); servantRender = false; } boolean noAction = action.equals(""); if ( servantRender && noAction ) { fragmentId = servantFragmentId; action = "publish"; } // Loading the default layout if the fragment is loaded in the theme if ( "default".equals(action) && alm.isFragmentLoaded() ) alm.loadUserLayout(); xslt.setStylesheetParameter("uPcFM_selectedID",fragmentId); xslt.setStylesheetParameter("uPcFM_action",action); }
1895 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1895/7a3efc74a4bb07159c31bd0bc0a9aac6dcfc0b79/CFragmentManager.java/buggy/source/org/jasig/portal/layout/channels/CFragmentManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 12375, 2402, 12, 20751, 31399, 262, 1216, 25478, 503, 288, 9506, 202, 780, 5481, 548, 273, 5658, 1989, 18, 82, 10872, 12, 9448, 751, 18, 588, 1662, 2932, 89, 28136, 42, 49, 67, 8109, 734, 7923, 1769, 202, 202, 780, 1301, 273, 5658, 1989, 18, 82, 10872, 12, 9448, 751, 18, 588, 1662, 2932, 89, 28136, 42, 49, 67, 1128, 7923, 1769, 1082, 282, 9506, 202, 430, 261, 1128, 18, 14963, 2932, 5688, 67, 2704, 6, 3719, 288, 6862, 202, 780, 5481, 461, 273, 3099, 751, 18, 588, 1662, 2932, 11956, 67, 529, 8863, 6862, 202, 780, 20810, 273, 3099, 751, 18, 588, 1662, 2932, 11956, 67, 12749, 8863, 6862, 202, 780, 5481, 4217, 273, 3099, 751, 18, 588, 1662, 2932, 11956, 67, 5569, 8863, 6862, 202, 780, 5481, 559, 273, 3099, 751, 18, 588, 1662, 2932, 11956, 67, 723, 8863, 6862, 202, 780, 5481, 3899, 273, 3099, 751, 18, 588, 1662, 2932, 11956, 67, 1289, 67, 5609, 8863, 6862, 202, 6494, 353, 7621, 329, 7456, 273, 7566, 6206, 329, 9654, 14963, 12, 11956, 559, 24783, 3767, 30, 5743, 31, 6862, 202, 11956, 548, 273, 524, 81, 18, 2640, 7456, 12, 6517, 1989, 18, 82, 10872, 12, 644, 461, 3631, 6517, 1989, 18, 82, 10872, 12, 11956, 4217, 3631, 6517, 1989, 18, 82, 10872, 12, 11956, 461, 10019, 6862, 202, 1013, 7456, 394, 7456, 273, 261, 1013, 7456, 13, 524, 81, 18, 588, 7456, 12, 11956, 548, 1769, 6862, 202, 430, 261, 394, 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, 12375, 2402, 12, 20751, 31399, 262, 1216, 25478, 503, 288, 9506, 202, 780, 5481, 548, 273, 5658, 1989, 18, 82, 10872, 12, 9448, 751, 18, 588, 1662, 2932, 89, 28136, 42, 49, 67, 8109, 734, 7923, 1769, 202, 202, 780, 1301, 273, 5658, 1989, 18, 82, 10872, 12, 9448, 751, 18, 588, 1662, 2932, 89, 28136, 42, 49, 67, 1128, 7923, 1769, 1082, 282, 9506, 202, 430, 261, 1128, 18, 14963, 2932, 5688, 67, 2704, 6, 3719, 288, 6862, 202, 780, 5481, 461, 273, 3099, 751, 18, 588, 1662, 2932, 11956, 67, 529, 8863, 6862, 202, 780, 20810, 273, 3099, 751, 18, 588, 1662, 2932, 11956, 67, 12749, 8863, 6862, 202, 780, 5481, 4217, 273, 2 ]
HttpSession session = req.getSession(true); String metaId = ( (String) session.getAttribute("BillBoard.meta_id")==null) ? "" : ((String) session.getAttribute("BillBoard.meta_id")) ; String parentId = ( (String) session.getAttribute("BillBoard.parent_meta_id")==null) ? "" : ((String) session.getAttribute("BillBoard.parent_meta_id")) ; String cookieId = ( (String) session.getAttribute("BillBoard.cookie_id")==null) ? "" : ((String) session.getAttribute("BillBoard.cookie_id")) ;
HttpSession session = req.getSession(true); String metaId = ( (String) session.getAttribute("BillBoard.meta_id")==null) ? "" : ((String) session.getAttribute("BillBoard.meta_id")) ; String parentId = ( (String) session.getAttribute("BillBoard.parent_meta_id")==null) ? "" : ((String) session.getAttribute("BillBoard.parent_meta_id")) ; String cookieId = ( (String) session.getAttribute("BillBoard.cookie_id")==null) ? "" : ((String) session.getAttribute("BillBoard.cookie_id")) ;
public Properties getSessionParameters( HttpServletRequest req) throws ServletException, IOException { // Get the session HttpSession session = req.getSession(true); String metaId = ( (String) session.getAttribute("BillBoard.meta_id")==null) ? "" : ((String) session.getAttribute("BillBoard.meta_id")) ;//Conference.meta_id String parentId = ( (String) session.getAttribute("BillBoard.parent_meta_id")==null) ? "" : ((String) session.getAttribute("BillBoard.parent_meta_id")) ;//Conference.parent_meta_id String cookieId = ( (String) session.getAttribute("BillBoard.cookie_id")==null) ? "" : ((String) session.getAttribute("BillBoard.cookie_id")) ;//Conference.cookie_id Properties reqParams= new Properties() ; reqParams.setProperty("META_ID", metaId) ; reqParams.setProperty("PARENT_META_ID", parentId) ; reqParams.setProperty("COOKIE_ID", cookieId) ; return reqParams ; }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/a270627916b37a677a391dd9f45c54d3d6f12503/BillBoard.java/buggy/servlets/billBoard/BillBoard.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 6183, 7183, 2402, 12, 9984, 1111, 13, 202, 15069, 16517, 16, 1860, 202, 95, 202, 202, 759, 968, 326, 1339, 202, 202, 2940, 2157, 1339, 273, 1111, 18, 588, 2157, 12, 3767, 1769, 202, 202, 780, 2191, 548, 273, 261, 202, 12, 780, 13, 1339, 18, 588, 1499, 2932, 38, 737, 22233, 18, 3901, 67, 350, 7923, 631, 2011, 13, 692, 1408, 294, 14015, 780, 13, 1339, 18, 588, 1499, 2932, 38, 737, 22233, 18, 3901, 67, 350, 6, 3719, 274, 759, 23870, 18, 3901, 67, 350, 202, 202, 780, 11582, 273, 261, 202, 12, 780, 13, 1339, 18, 588, 1499, 2932, 38, 737, 22233, 18, 2938, 67, 3901, 67, 350, 7923, 631, 2011, 13, 692, 1408, 294, 14015, 780, 13, 1339, 18, 588, 1499, 2932, 38, 737, 22233, 18, 2938, 67, 3901, 67, 350, 6, 3719, 274, 759, 23870, 18, 2938, 67, 3901, 67, 350, 202, 202, 780, 3878, 548, 273, 261, 202, 12, 780, 13, 1339, 18, 588, 1499, 2932, 38, 737, 22233, 18, 8417, 67, 350, 7923, 631, 2011, 13, 692, 1408, 294, 14015, 780, 13, 1339, 18, 588, 1499, 2932, 38, 737, 22233, 18, 8417, 67, 350, 6, 3719, 274, 759, 23870, 18, 8417, 67, 350, 202, 202, 2297, 1111, 1370, 33, 394, 6183, 1435, 274, 202, 202, 3658, 1370, 18, 542, 1396, 2932, 19294, 67, 734, 3113, 2191, 548, 13, 274, 202, 202, 3658, 1370, 18, 542, 1396, 2932, 14943, 67, 19294, 67, 734, 3113, 11582, 13, 274, 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, 6183, 7183, 2402, 12, 9984, 1111, 13, 202, 15069, 16517, 16, 1860, 202, 95, 202, 202, 759, 968, 326, 1339, 202, 202, 2940, 2157, 1339, 273, 1111, 18, 588, 2157, 12, 3767, 1769, 202, 202, 780, 2191, 548, 273, 261, 202, 12, 780, 13, 1339, 18, 588, 1499, 2932, 38, 737, 22233, 18, 3901, 67, 350, 7923, 631, 2011, 13, 692, 1408, 294, 14015, 780, 13, 1339, 18, 588, 1499, 2932, 38, 737, 22233, 18, 3901, 67, 350, 6, 3719, 274, 759, 23870, 18, 3901, 67, 350, 202, 202, 780, 11582, 273, 261, 202, 12, 780, 13, 1339, 18, 588, 1499, 2932, 38, 737, 22233, 18, 2938, 67, 3901, 67, 350, 7923, 631, 2011, 13, 692, 2 ]
return jsGet_elements().jsGet_length();
return jsGet_elements().jsGet_length() - getHtmlForm().getHtmlElementsByAttribute("input", "type", "image").size();
public int jsGet_length() { return jsGet_elements().jsGet_length(); }
47843 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47843/ff26bf99a6f351600e046227072e8cc34ce1f970/Form.java/buggy/htmlunit/src/java/com/gargoylesoftware/htmlunit/javascript/host/Form.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 3828, 967, 67, 2469, 1435, 288, 3639, 327, 3828, 967, 67, 6274, 7675, 2924, 967, 67, 2469, 1435, 300, 19633, 1204, 7675, 588, 4353, 3471, 858, 1499, 2932, 2630, 3113, 315, 723, 3113, 315, 2730, 20387, 1467, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 3828, 967, 67, 2469, 1435, 288, 3639, 327, 3828, 967, 67, 6274, 7675, 2924, 967, 67, 2469, 1435, 300, 19633, 1204, 7675, 588, 4353, 3471, 858, 1499, 2932, 2630, 3113, 315, 723, 3113, 315, 2730, 20387, 1467, 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 ]
if (todo.equals("BOTTOM"))
if ("BOTTOM".equals(todo))
public void startGridBagLayout() { if (gridBagLayoutStarted) return; gridBagLayoutStarted = true; GridBagLayout layout = new GridBagLayout(); defaultGridBagConstraints.insets = new Insets(0, 0, 20, 0); defaultGridBagConstraints.anchor = GridBagConstraints.WEST; setLayout(layout); String todo = idata.getVariable("IzPanel.LayoutType"); if (todo == null) // No command, no work. return; if (todo.equals("BOTTOM")) { // Make a header to push the rest to the bottom. Filler dummy = new Filler(); GridBagConstraints gbConstraint = getNextYGridBagConstraints(); gbConstraint.weighty = 1.0; gbConstraint.fill = GridBagConstraints.BOTH; gbConstraint.anchor = GridBagConstraints.WEST; this.add(dummy, gbConstraint); } // TODO: impl for layout type CENTER, ... }
54145 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54145/9619b3a25f43787dc92011111668210e06c00c71/IzPanel.java/clean/src/lib/com/izforge/izpack/installer/IzPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 787, 6313, 5013, 3744, 1435, 565, 288, 3639, 309, 261, 5222, 5013, 3744, 9217, 13, 327, 31, 3639, 3068, 5013, 3744, 9217, 273, 638, 31, 3639, 7145, 5013, 3744, 3511, 273, 394, 7145, 5013, 3744, 5621, 3639, 805, 6313, 6852, 18, 267, 4424, 273, 394, 22300, 12, 20, 16, 374, 16, 4200, 16, 374, 1769, 3639, 805, 6313, 6852, 18, 16215, 273, 13075, 18, 31285, 31, 3639, 18479, 12, 6741, 1769, 3639, 514, 10621, 273, 612, 396, 18, 588, 3092, 2932, 45, 94, 5537, 18, 3744, 559, 8863, 3639, 309, 261, 9012, 422, 446, 13, 368, 2631, 1296, 16, 1158, 1440, 18, 5411, 327, 31, 3639, 309, 7566, 28891, 9654, 14963, 12, 9012, 3719, 3639, 288, 368, 4344, 279, 1446, 358, 1817, 326, 3127, 358, 326, 5469, 18, 5411, 14192, 264, 9609, 273, 394, 14192, 264, 5621, 5411, 13075, 21649, 5806, 273, 6927, 61, 6313, 6852, 5621, 5411, 21649, 5806, 18, 4865, 93, 273, 404, 18, 20, 31, 5411, 21649, 5806, 18, 5935, 273, 13075, 18, 38, 18307, 31, 5411, 21649, 5806, 18, 16215, 273, 13075, 18, 31285, 31, 5411, 333, 18, 1289, 12, 21050, 16, 21649, 5806, 1769, 3639, 289, 3639, 368, 2660, 30, 9380, 364, 3511, 618, 20198, 16, 1372, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 787, 6313, 5013, 3744, 1435, 565, 288, 3639, 309, 261, 5222, 5013, 3744, 9217, 13, 327, 31, 3639, 3068, 5013, 3744, 9217, 273, 638, 31, 3639, 7145, 5013, 3744, 3511, 273, 394, 7145, 5013, 3744, 5621, 3639, 805, 6313, 6852, 18, 267, 4424, 273, 394, 22300, 12, 20, 16, 374, 16, 4200, 16, 374, 1769, 3639, 805, 6313, 6852, 18, 16215, 273, 13075, 18, 31285, 31, 3639, 18479, 12, 6741, 1769, 3639, 514, 10621, 273, 612, 396, 18, 588, 3092, 2932, 45, 94, 5537, 18, 3744, 559, 8863, 3639, 309, 261, 9012, 422, 446, 13, 368, 2631, 1296, 16, 1158, 1440, 18, 5411, 327, 31, 3639, 309, 7566, 28891, 9654, 14963, 12, 9012, 3719, 3639, 288, 2 ]
setStringProperty( Module.DESCRIPTION_PROP, description );
setStringProperty( IModuleModel.DESCRIPTION_PROP, description );
public void setDescription( String description ) throws SemanticException { setStringProperty( Module.DESCRIPTION_PROP, description ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/d802c33711e0d111551ae23575895cd060f085b6/ModuleHandle.java/buggy/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/ModuleHandle.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 13812, 12, 514, 2477, 262, 1216, 24747, 503, 202, 95, 202, 202, 542, 780, 1396, 12, 5924, 18, 15911, 67, 15811, 16, 2477, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 13812, 12, 514, 2477, 262, 1216, 24747, 503, 202, 95, 202, 202, 542, 780, 1396, 12, 5924, 18, 15911, 67, 15811, 16, 2477, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
Error ("IOException while loading from ziparchive \"" + name + "\": " + ex.toString ());
ClassNotFoundException ("IOException while loading " + member_name + " from ziparchive \"" + name + "\": " + ex.toString ());
public Class loadClass (String name, boolean resolve) throws ClassNotFoundException { Class clas; int index = loadedClasses.indexOf(name); if (index >= 0) clas = (Class) loadedClasses.elementAt(index+1); else if (zar == null) clas = findSystemClass (name); else { String member_name = name.replace ('.', '/') + ".class"; java.util.zip.ZipEntry member = zar.getEntry(member_name); if (member == null) clas = findSystemClass (name); else { try { int member_size = (int) member.getSize(); java.io.InputStream strm = zar.getInputStream(member); byte[] bytes = new byte[member_size]; strm.read(bytes); clas = defineClass (name, bytes, 0, member_size); loadedClasses.addElement(name); loadedClasses.addElement(clas); if (2 * size == loadedClasses.size()) { zar.close (); zar = null; } } catch (java.io.IOException ex) { throw new Error ("IOException while loading from ziparchive \"" + name + "\": " + ex.toString ()); } } } if (resolve) resolveClass (clas); return clas; }
36952 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/36952/9c62f3dd03edb136c6af76c05b2c8e244c295165/ZipLoader.java/buggy/gnu/bytecode/ZipLoader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1659, 16038, 261, 780, 508, 16, 1250, 2245, 13, 4202, 1216, 10403, 225, 288, 565, 1659, 23268, 31, 565, 509, 770, 273, 4203, 4818, 18, 31806, 12, 529, 1769, 565, 309, 261, 1615, 1545, 374, 13, 1377, 23268, 273, 261, 797, 13, 4203, 4818, 18, 2956, 861, 12, 1615, 15, 21, 1769, 565, 469, 309, 261, 94, 297, 422, 446, 13, 1377, 23268, 273, 1104, 3163, 797, 261, 529, 1769, 565, 469, 1377, 288, 202, 780, 3140, 67, 529, 273, 508, 18, 2079, 7707, 1093, 16, 2023, 13, 397, 3552, 1106, 14432, 202, 6290, 18, 1367, 18, 4450, 18, 9141, 1622, 3140, 273, 998, 297, 18, 588, 1622, 12, 5990, 67, 529, 1769, 202, 430, 261, 5990, 422, 446, 13, 202, 225, 23268, 273, 1104, 3163, 797, 261, 529, 1769, 202, 12107, 202, 225, 288, 202, 565, 775, 202, 1377, 288, 202, 202, 474, 3140, 67, 1467, 273, 261, 474, 13, 3140, 18, 588, 1225, 5621, 202, 202, 6290, 18, 1594, 18, 4348, 609, 81, 273, 998, 297, 18, 588, 4348, 12, 5990, 1769, 202, 202, 7229, 8526, 1731, 273, 394, 1160, 63, 5990, 67, 1467, 15533, 202, 202, 701, 81, 18, 896, 12, 3890, 1769, 202, 202, 830, 345, 273, 4426, 797, 261, 529, 16, 1731, 16, 374, 16, 3140, 67, 1467, 1769, 202, 202, 4230, 4818, 18, 1289, 1046, 12, 529, 1769, 202, 202, 4230, 4818, 18, 1289, 1046, 12, 830, 345, 1769, 202, 202, 430, 261, 22, 380, 963, 422, 4203, 4818, 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, 1659, 16038, 261, 780, 508, 16, 1250, 2245, 13, 4202, 1216, 10403, 225, 288, 565, 1659, 23268, 31, 565, 509, 770, 273, 4203, 4818, 18, 31806, 12, 529, 1769, 565, 309, 261, 1615, 1545, 374, 13, 1377, 23268, 273, 261, 797, 13, 4203, 4818, 18, 2956, 861, 12, 1615, 15, 21, 1769, 565, 469, 309, 261, 94, 297, 422, 446, 13, 1377, 23268, 273, 1104, 3163, 797, 261, 529, 1769, 565, 469, 1377, 288, 202, 780, 3140, 67, 529, 273, 508, 18, 2079, 7707, 1093, 16, 2023, 13, 397, 3552, 1106, 14432, 202, 6290, 18, 1367, 18, 4450, 18, 9141, 1622, 3140, 273, 998, 297, 18, 588, 1622, 12, 5990, 67, 529, 1769, 202, 430, 261, 5990, 2 ]
public org.quickfix.field.MassStatusReqID getMassStatusReqID() throws FieldNotFound { org.quickfix.field.MassStatusReqID value = new org.quickfix.field.MassStatusReqID();
public quickfix.field.MassStatusReqID getMassStatusReqID() throws FieldNotFound { quickfix.field.MassStatusReqID value = new quickfix.field.MassStatusReqID();
public org.quickfix.field.MassStatusReqID getMassStatusReqID() throws FieldNotFound { org.quickfix.field.MassStatusReqID value = new org.quickfix.field.MassStatusReqID(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/OrderMassStatusRequest.java/clean/src/java/src/quickfix/fix43/OrderMassStatusRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 18060, 1482, 6113, 734, 2108, 428, 1482, 6113, 734, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 18060, 1482, 6113, 734, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 18060, 1482, 6113, 734, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 18060, 1482, 6113, 734, 2108, 428, 1482, 6113, 734, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 18060, 1482, 6113, 734, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 18060, 1482, 6113, 734, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (jj_scan_token(LBRACKET)) return true; if (jj_3R_107()) return true; if (jj_scan_token(RBRACKET)) return true;
Token xsp; xsp = jj_scanpos; if (jj_scan_token(30)) jj_scanpos = xsp; if (jj_3R_79()) return true; if (jj_scan_token(IDENTIFIER)) return true;
final private boolean jj_3_55() { if (jj_scan_token(LBRACKET)) return true; if (jj_3R_107()) return true; if (jj_scan_token(RBRACKET)) return true; return false; }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/9aa0c6bec51662a685ea4b86bc02a52c9e593d8a/Parser.java/clean/dynamicjava/src/koala/dynamicjava/parser/Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 3238, 1250, 10684, 67, 23, 67, 2539, 1435, 288, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 48, 21217, 3719, 327, 638, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 23054, 10756, 327, 638, 31, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 54, 21217, 3719, 327, 638, 31, 565, 327, 629, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 727, 3238, 1250, 10684, 67, 23, 67, 2539, 1435, 288, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 48, 21217, 3719, 327, 638, 31, 565, 309, 261, 78, 78, 67, 23, 54, 67, 23054, 10756, 327, 638, 31, 565, 309, 261, 78, 78, 67, 9871, 67, 2316, 12, 54, 21217, 3719, 327, 638, 31, 565, 327, 629, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return newStruct(rbClass, values);
RubyStruct result = newStruct(rbClass, values); input.register(result); return result;
public static RubyStruct unmarshalFrom(UnmarshalStream input) throws java.io.IOException { Ruby ruby = input.getRuntime(); RubySymbol className = (RubySymbol) input.unmarshalObject(); RubyClass rbClass = pathToClass(ruby, className.toId()); if (rbClass == null) { throw new NameError(ruby, "uninitialized constant " + className); } int size = input.unmarshalInt(); IRubyObject[] values = new IRubyObject[size]; for (int i = 0; i < size; i++) { input.unmarshalObject(); // Read and discard a Symbol, which is the name values[i] = input.unmarshalObject(); } return newStruct(rbClass, values); }
45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/9db4d278a734c4fdfd9a83ed95575a45577f1e1b/RubyStruct.java/buggy/org/jruby/RubyStruct.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 3823, 11401, 1265, 12, 9593, 1228, 810, 13, 1216, 2252, 18, 1594, 18, 14106, 288, 3639, 19817, 22155, 273, 810, 18, 588, 5576, 5621, 3639, 19817, 5335, 2658, 273, 261, 54, 10340, 5335, 13, 810, 18, 318, 3108, 921, 5621, 3639, 19817, 797, 7138, 797, 273, 12221, 797, 12, 27768, 16, 2658, 18, 869, 548, 10663, 3639, 309, 261, 6731, 797, 422, 446, 13, 288, 5411, 604, 394, 25473, 12, 27768, 16, 315, 318, 13227, 5381, 315, 397, 2658, 1769, 3639, 289, 3639, 509, 963, 273, 810, 18, 318, 3108, 1702, 5621, 3639, 15908, 10340, 921, 8526, 924, 273, 394, 15908, 10340, 921, 63, 1467, 15533, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 963, 31, 277, 27245, 288, 5411, 810, 18, 318, 3108, 921, 5621, 368, 2720, 471, 10388, 279, 8565, 16, 1492, 353, 326, 508, 5411, 924, 63, 77, 65, 273, 810, 18, 318, 3108, 921, 5621, 3639, 289, 7734, 19817, 3823, 563, 273, 394, 3823, 12, 6731, 797, 16, 924, 1769, 810, 18, 4861, 12, 2088, 1769, 327, 563, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 3823, 11401, 1265, 12, 9593, 1228, 810, 13, 1216, 2252, 18, 1594, 18, 14106, 288, 3639, 19817, 22155, 273, 810, 18, 588, 5576, 5621, 3639, 19817, 5335, 2658, 273, 261, 54, 10340, 5335, 13, 810, 18, 318, 3108, 921, 5621, 3639, 19817, 797, 7138, 797, 273, 12221, 797, 12, 27768, 16, 2658, 18, 869, 548, 10663, 3639, 309, 261, 6731, 797, 422, 446, 13, 288, 5411, 604, 394, 25473, 12, 27768, 16, 315, 318, 13227, 5381, 315, 397, 2658, 1769, 3639, 289, 3639, 509, 963, 273, 810, 18, 318, 3108, 1702, 5621, 3639, 15908, 10340, 921, 8526, 924, 273, 394, 15908, 10340, 921, 63, 1467, 15533, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 2 ]
total_header_type=in.readInt(); seq_id=in.readLong(); }
total_header_type=in.readInt(); seq_id=in.readLong(); }
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { total_header_type=in.readInt(); seq_id=in.readLong(); }
50160 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50160/13de68466e3cf7fde6ee0bde0cee09a33e837e89/TOTAL_OLD.java/clean/src/org/jgroups/protocols/TOTAL_OLD.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 855, 6841, 12, 921, 1210, 316, 13, 1216, 1860, 16, 10403, 288, 202, 565, 2078, 67, 3374, 67, 723, 33, 267, 18, 896, 1702, 5621, 202, 565, 3833, 67, 350, 33, 267, 18, 896, 3708, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 855, 6841, 12, 921, 1210, 316, 13, 1216, 1860, 16, 10403, 288, 202, 565, 2078, 67, 3374, 67, 723, 33, 267, 18, 896, 1702, 5621, 202, 565, 3833, 67, 350, 33, 267, 18, 896, 3708, 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 ]
if (i4msg == null)
i4msg.setGhost(true); i4list.add(i4msg); if (++i % ImapCopyOperation.SUGGESTED_BATCH_SIZE != 0 && i != i4set.size())
boolean doCOPY(String tag, String sequenceSet, String folderName, boolean byUID) throws IOException { if (!checkState(tag, ImapSession.STATE_SELECTED)) return CONTINUE_PROCESSING; folderName = ImapFolder.importPath(folderName, mSession); String command = (byUID ? "UID COPY" : "COPY"); String copyuid = ""; List<MailItem> movedMessages = new ArrayList<MailItem>(); try { GetFolderOperation gfOp = new GetFolderOperation(mSession, getContext(), mMailbox, Requester.IMAP, folderName); gfOp.schedule(); Folder folder = gfOp.getFolder(); if (!ImapFolder.isFolderVisible(folder, mSession)) { ZimbraLog.imap.info(command + " failed: folder is hidden: " + folderName); sendNO(tag, command + " failed"); return CONTINUE_PROCESSING; } else if (!ImapFolder.isFolderWritable(folder, mSession)) { ZimbraLog.imap.info(command + " failed: folder is READ-ONLY: " + folderName); sendNO(tag, command + " failed: target mailbox is READ-ONLY"); return CONTINUE_PROCESSING; } Set<ImapMessage> i4set; synchronized (mMailbox) { i4set = mSession.getFolder().getSubsequence(sequenceSet, byUID); } // RFC 2180 4.4.1: "The server MAY disallow the COPY of messages in a multi- // accessed mailbox that contains expunged messages." if (!byUID && i4set.contains(null)) { sendNO(tag, "COPY rejected because some of the requested messages were expunged"); return CONTINUE_PROCESSING; } List<Integer> srcUIDs = new ArrayList<Integer>(), copyUIDs = new ArrayList<Integer>(); long checkpoint = System.currentTimeMillis(); for (ImapMessage i4msg : i4set) { if (i4msg == null) continue; i4msg.setGhost(true); ImapCopyOperation op = new ImapCopyOperation(mSession, getContext(), mMailbox, Requester.IMAP, i4msg.msgId, i4msg.getType(), folder.getId()); op.schedule(); MailItem moved = op.getSource(); if (moved == null) continue; movedMessages.add(moved); srcUIDs.add(i4msg.imapUid); copyUIDs.add(moved.getImapUid()); // send a gratuitous untagged response to keep pissy clients from closing the socket from inactivity long now = System.currentTimeMillis(); if (now - checkpoint > MAXIMUM_IDLE_PROCESSING_MILLIS) { sendIdleUntagged(); checkpoint = now; } } if (srcUIDs.size() > 0) copyuid = "[COPYUID " + ImapFolder.getUIDValidity(folder) + ' ' + ImapFolder.encodeSubsequence(srcUIDs) + ' ' + ImapFolder.encodeSubsequence(copyUIDs) + "] "; } catch (IOException e) { // 6.4.7: "If the COPY command is unsuccessful for any reason, server implementations // MUST restore the destination mailbox to its state before the COPY attempt."// deleteMessages(movedMessages); ZimbraLog.imap.warn(command + " failed", e); sendNO(tag, command + " failed"); return CONTINUE_PROCESSING; } catch (ServiceException e) { // 6.4.7: "If the COPY command is unsuccessful for any reason, server implementations // MUST restore the destination mailbox to its state before the COPY attempt."// deleteMessages(movedMessages); String rcode = ""; if (e.getCode() == MailServiceException.NO_SUCH_FOLDER) { ZimbraLog.imap.info(command + " failed: no such folder: " + folderName); if (ImapFolder.isPathCreatable('/' + folderName)) rcode = "[TRYCREATE] "; } else ZimbraLog.imap.warn(command + " failed", e); sendNO(tag, rcode + command + " failed"); return canContinue(e); } // RFC 2180 4.4: "COPY is the only IMAP4 sequence number command that is safe to allow // an EXPUNGE response on. This is because a client is not permitted // to cascade several COPY commands together." sendNotifications(true, false); sendOK(tag, copyuid + command + " completed"); return CONTINUE_PROCESSING; }
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/f10ba7974d00f1b4c21022892fecda9262ef0735/ImapHandler.java/clean/ZimbraServer/src/java/com/zimbra/cs/imap/ImapHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1250, 741, 24875, 12, 780, 1047, 16, 514, 3102, 694, 16, 514, 31814, 16, 1250, 635, 3060, 13, 1216, 1860, 288, 3639, 309, 16051, 1893, 1119, 12, 2692, 16, 467, 1458, 2157, 18, 7998, 67, 4803, 2056, 3719, 5411, 327, 8020, 26725, 67, 16560, 1360, 31, 3639, 31814, 273, 467, 1458, 3899, 18, 5666, 743, 12, 5609, 461, 16, 312, 2157, 1769, 3639, 514, 1296, 273, 261, 1637, 3060, 692, 315, 3060, 27776, 6, 294, 315, 24875, 8863, 3639, 514, 1610, 1911, 273, 1408, 31, 3639, 987, 32, 6759, 1180, 34, 10456, 5058, 273, 394, 2407, 32, 6759, 1180, 34, 5621, 3639, 775, 288, 5411, 968, 3899, 2988, 13828, 3817, 273, 394, 968, 3899, 2988, 12, 81, 2157, 16, 6474, 9334, 312, 30239, 16, 868, 21207, 18, 3445, 2203, 16, 31814, 1769, 5411, 13828, 3817, 18, 10676, 5621, 5411, 12623, 3009, 273, 13828, 3817, 18, 588, 3899, 5621, 13491, 309, 16051, 20827, 3899, 18, 291, 3899, 6207, 12, 5609, 16, 312, 2157, 3719, 288, 7734, 2285, 381, 15397, 1343, 18, 12161, 18, 1376, 12, 3076, 397, 315, 2535, 30, 3009, 353, 5949, 30, 315, 397, 31814, 1769, 7734, 1366, 3417, 12, 2692, 16, 1296, 397, 315, 2535, 8863, 7734, 327, 8020, 26725, 67, 16560, 1360, 31, 5411, 289, 469, 309, 16051, 20827, 3899, 18, 291, 3899, 12061, 12, 5609, 16, 312, 2157, 3719, 288, 7734, 2285, 381, 15397, 1343, 18, 12161, 18, 1376, 12, 3076, 397, 315, 2535, 30, 3009, 353, 10746, 17, 10857, 30, 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, 377, 1250, 741, 24875, 12, 780, 1047, 16, 514, 3102, 694, 16, 514, 31814, 16, 1250, 635, 3060, 13, 1216, 1860, 288, 3639, 309, 16051, 1893, 1119, 12, 2692, 16, 467, 1458, 2157, 18, 7998, 67, 4803, 2056, 3719, 5411, 327, 8020, 26725, 67, 16560, 1360, 31, 3639, 31814, 273, 467, 1458, 3899, 18, 5666, 743, 12, 5609, 461, 16, 312, 2157, 1769, 3639, 514, 1296, 273, 261, 1637, 3060, 692, 315, 3060, 27776, 6, 294, 315, 24875, 8863, 3639, 514, 1610, 1911, 273, 1408, 31, 3639, 987, 32, 6759, 1180, 34, 10456, 5058, 273, 394, 2407, 32, 6759, 1180, 34, 5621, 3639, 775, 288, 5411, 968, 3899, 2988, 13828, 3817, 273, 394, 968, 3899, 2988, 12, 81, 2157, 2 ]
List newList = ((RubyArray)value).getList().subList(varLen, valueLen);
ArrayList newList = new ArrayList(((RubyArray)value).getList().subList(varLen, valueLen));
public void visitMultipleAsgnNode(MultipleAsgnNode iVisited) { // Make sure value is an array. if (value == null) { value = RubyArray.newArray(ruby, 0); } else if (!(value instanceof RubyArray)) { RubyObject newValue = value.convertToType("Array", "to_ary", false); if (newValue.isNil()) { newValue = RubyArray.newArray(ruby, value); } value = newValue; } // Assign the values. int valueLen = ((RubyArray)value).getLength(); int varLen = ListNodeUtil.getLength(iVisited.getHeadNode()); Iterator iter = iVisited.getHeadNode() != null ? iVisited.getHeadNode().iterator() : Collections.EMPTY_LIST.iterator(); for (int i = 0; i < valueLen && iter.hasNext(); i++) { new AssignmentVisitor(ruby, self).assign((INode)iter.next(), ((RubyArray)value).entry(i), check); } if (check && varLen > valueLen) { throw new ArgumentError(ruby, "Wrong # of arguments (" + valueLen + " for " + varLen + ")"); } if (iVisited.getArgsNode() != null) { if (iVisited.getArgsNode() instanceof StarNode) { // no check for '*' } else if (varLen < valueLen) { List newList = ((RubyArray)value).getList().subList(varLen, valueLen); new AssignmentVisitor(ruby, self).assign(iVisited.getArgsNode(), RubyArray.newArray(ruby, newList), check); } else { new AssignmentVisitor(ruby, self).assign(iVisited.getArgsNode(), RubyArray.newArray(ruby, 0), check); } } else if (check && valueLen < varLen) { throw new ArgumentError(ruby, "Wrong # of arguments (" + valueLen + " for " + varLen + ")"); } while (iter.hasNext()) { new AssignmentVisitor(ruby, self).assign((INode)iter.next(), ruby.getNil(), check); } result = value; }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a42a5780d9d19f5b3f27bdc079684319c5596e54/AssignmentVisitor.java/clean/org/jruby/evaluator/AssignmentVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3757, 8438, 37, 1055, 82, 907, 12, 8438, 37, 1055, 82, 907, 277, 30019, 13, 288, 3639, 368, 4344, 3071, 460, 353, 392, 526, 18, 3639, 309, 261, 1132, 422, 446, 13, 288, 5411, 460, 273, 19817, 1076, 18, 2704, 1076, 12, 27768, 16, 374, 1769, 3639, 289, 469, 309, 16051, 12, 1132, 1276, 19817, 1076, 3719, 288, 5411, 19817, 921, 6129, 273, 460, 18, 6283, 31616, 2932, 1076, 3113, 315, 869, 67, 814, 3113, 629, 1769, 5411, 309, 261, 2704, 620, 18, 291, 12616, 10756, 288, 7734, 6129, 273, 19817, 1076, 18, 2704, 1076, 12, 27768, 16, 460, 1769, 5411, 289, 5411, 460, 273, 6129, 31, 3639, 289, 7734, 368, 12093, 326, 924, 18, 3639, 509, 460, 2891, 273, 14015, 54, 10340, 1076, 13, 1132, 2934, 588, 1782, 5621, 3639, 509, 569, 2891, 273, 987, 907, 1304, 18, 588, 1782, 12, 77, 30019, 18, 588, 1414, 907, 10663, 7734, 4498, 1400, 273, 277, 30019, 18, 588, 1414, 907, 1435, 480, 446, 692, 277, 30019, 18, 588, 1414, 907, 7675, 9838, 1435, 294, 5737, 18, 13625, 67, 7085, 18, 9838, 5621, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 460, 2891, 597, 1400, 18, 5332, 2134, 5621, 277, 27245, 288, 5411, 394, 15499, 7413, 12, 27768, 16, 365, 2934, 6145, 12443, 23184, 13, 2165, 18, 4285, 9334, 14015, 54, 10340, 1076, 13, 1132, 2934, 4099, 12, 77, 3631, 866, 1769, 3639, 289, 3639, 309, 261, 1893, 597, 569, 2891, 405, 460, 2891, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3757, 8438, 37, 1055, 82, 907, 12, 8438, 37, 1055, 82, 907, 277, 30019, 13, 288, 3639, 368, 4344, 3071, 460, 353, 392, 526, 18, 3639, 309, 261, 1132, 422, 446, 13, 288, 5411, 460, 273, 19817, 1076, 18, 2704, 1076, 12, 27768, 16, 374, 1769, 3639, 289, 469, 309, 16051, 12, 1132, 1276, 19817, 1076, 3719, 288, 5411, 19817, 921, 6129, 273, 460, 18, 6283, 31616, 2932, 1076, 3113, 315, 869, 67, 814, 3113, 629, 1769, 5411, 309, 261, 2704, 620, 18, 291, 12616, 10756, 288, 7734, 6129, 273, 19817, 1076, 18, 2704, 1076, 12, 27768, 16, 460, 1769, 5411, 289, 5411, 460, 273, 6129, 31, 3639, 289, 7734, 368, 12093, 326, 924, 18, 3639, 2 ]
public org.quickfix.field.CollInquiryQualifier getCollInquiryQualifier() throws FieldNotFound { org.quickfix.field.CollInquiryQualifier value = new org.quickfix.field.CollInquiryQualifier();
public quickfix.field.CollInquiryQualifier getCollInquiryQualifier() throws FieldNotFound { quickfix.field.CollInquiryQualifier value = new quickfix.field.CollInquiryQualifier();
public org.quickfix.field.CollInquiryQualifier getCollInquiryQualifier() throws FieldNotFound { org.quickfix.field.CollInquiryQualifier value = new org.quickfix.field.CollInquiryQualifier(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/CollateralInquiryAck.java/buggy/src/java/src/quickfix/fix44/CollateralInquiryAck.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 13535, 382, 372, 6913, 16185, 336, 13535, 382, 372, 6913, 16185, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 13535, 382, 372, 6913, 16185, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 13535, 382, 372, 6913, 16185, 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, 13535, 382, 372, 6913, 16185, 336, 13535, 382, 372, 6913, 16185, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 13535, 382, 372, 6913, 16185, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 13535, 382, 372, 6913, 16185, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public RubyNumeric op_minus(IRubyObject num) { RubyNumeric other = numericValue(num);
public RubyNumeric op_minus(RubyNumeric other) {
public RubyNumeric op_minus(IRubyObject num) { RubyNumeric other = numericValue(num); if (other instanceof RubyFloat) { return RubyFloat.newFloat(getRuntime(), getDoubleValue()).op_minus(other); } return bigNorm(getRuntime(), getValue().subtract(bigIntValue(other))); }
50993 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50993/1c602493a83e2050f401fa6925ec7e9269b45e4e/RubyBignum.java/clean/src/org/jruby/RubyBignum.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 9902, 1061, 67, 19601, 12, 7937, 10340, 921, 818, 13, 288, 3639, 19817, 9902, 1308, 273, 6389, 620, 12, 2107, 1769, 3639, 309, 261, 3011, 1276, 19817, 4723, 13, 288, 5411, 327, 19817, 4723, 18, 2704, 4723, 12, 588, 5576, 9334, 16097, 620, 1435, 2934, 556, 67, 19601, 12, 3011, 1769, 3639, 289, 3639, 327, 5446, 14624, 12, 588, 5576, 9334, 2366, 7675, 1717, 1575, 12, 14002, 1702, 620, 12, 3011, 3719, 1769, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 9902, 1061, 67, 19601, 12, 7937, 10340, 921, 818, 13, 288, 3639, 19817, 9902, 1308, 273, 6389, 620, 12, 2107, 1769, 3639, 309, 261, 3011, 1276, 19817, 4723, 13, 288, 5411, 327, 19817, 4723, 18, 2704, 4723, 12, 588, 5576, 9334, 16097, 620, 1435, 2934, 556, 67, 19601, 12, 3011, 1769, 3639, 289, 3639, 327, 5446, 14624, 12, 588, 5576, 9334, 2366, 7675, 1717, 1575, 12, 14002, 1702, 620, 12, 3011, 3719, 1769, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public org.quickfix.field.LegSymbol get(org.quickfix.field.LegSymbol value)
public quickfix.field.LegSymbol get(quickfix.field.LegSymbol value)
public org.quickfix.field.LegSymbol get(org.quickfix.field.LegSymbol value) throws FieldNotFound { getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/RFQRequest.java/clean/src/java/src/quickfix/fix44/RFQRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 9549, 904, 18, 1518, 18, 8329, 5335, 336, 12, 19525, 904, 18, 1518, 18, 8329, 5335, 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, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 9549, 904, 18, 1518, 18, 8329, 5335, 336, 12, 19525, 904, 18, 1518, 18, 8329, 5335, 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, -100, -100 ]
z4 = z4 << 25 | z4 >>> -25;
z4 = z4 << 25 | z4 >>> (32 - 25);
private void block(final int p, final int x0, final int x1) { if (DEBUG) { debug("block ("+block+") x0="+x0+" x1="+x1+" p="+p); } z0 += z3; z3 = z3 << 15 | z3 >>> -15; z1 += z4; z4 = z4 << 25 | z4 >>> -25; z2 ^= z0; z0 = z0 << 9 | z0 >>> -9; z3 ^= z1; z1 = z1 << 10 | z1 >>> -10; z4 += z2; z2 = z2 << 17 | z2 >>> -17; z0 ^= z3 + x0; z3 = z3 << 30 | z3 >>> -30; z1 ^= z4; z4 = z4 << 13 | z4 >>> -13; z2 += z0; z0 = z0 << 20 | z0 >>> -20; z3 += z1; z1 = z1 << 11 | z1 >>> -11; z4 ^= z2; z2 = z2 << 5 | z2 >>> -5; z0 += z3 ^ p; z3 = z3 << 15 | z3 >>> -15; z1 += z4; z4 = z4 << 25 | z4 >>> -25; z2 ^= z0; z0 = z0 << 9 | z0 >>> -9; z3 ^= z1; z1 = z1 << 10 | z1 >>> -10; z4 += z2; z2 = z2 << 17 | z2 >>> -17; z0 ^= z3 + x1; z3 = z3 << 30 | z3 >>> -30; z1 ^= z4; z4 = z4 << 13 | z4 >>> -13; z2 += z0; z0 = z0 << 20 | z0 >>> -20; z3 += z1; z1 = z1 << 11 | z1 >>> -11; z4 ^= z2; z2 = z2 << 5 | z2 >>> -5; }
45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/fc02ca698d90e3be595a4ac315bc39890c8510f1/Helix.java/buggy/libraries/javalib/gnu/crypto/exp/Helix.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 918, 1203, 12, 6385, 509, 293, 16, 727, 509, 619, 20, 16, 727, 509, 619, 21, 13, 288, 1377, 309, 261, 9394, 13, 288, 540, 1198, 2932, 2629, 7566, 15, 2629, 15, 7923, 619, 20, 1546, 15, 92, 20, 9078, 619, 21, 1546, 15, 92, 21, 9078, 293, 1546, 15, 84, 1769, 1377, 289, 1377, 998, 20, 1011, 998, 23, 31, 1377, 998, 23, 273, 998, 23, 2296, 4711, 571, 998, 23, 4080, 300, 3600, 31, 1377, 998, 21, 1011, 998, 24, 31, 1377, 998, 24, 273, 998, 24, 2296, 6969, 571, 998, 24, 4080, 261, 1578, 300, 6969, 1769, 1377, 998, 22, 10352, 998, 20, 31, 1377, 998, 20, 273, 998, 20, 2296, 225, 2468, 571, 998, 20, 4080, 225, 300, 29, 31, 1377, 998, 23, 10352, 998, 21, 31, 1377, 998, 21, 273, 998, 21, 2296, 1728, 571, 998, 21, 4080, 300, 2163, 31, 1377, 998, 24, 1011, 998, 22, 31, 1377, 998, 22, 273, 998, 22, 2296, 8043, 571, 998, 22, 4080, 300, 4033, 31, 1377, 998, 20, 10352, 998, 23, 397, 619, 20, 31, 1377, 998, 23, 273, 998, 23, 2296, 5196, 571, 998, 23, 4080, 300, 5082, 31, 1377, 998, 21, 10352, 998, 24, 31, 1377, 998, 24, 273, 998, 24, 2296, 5958, 571, 998, 24, 4080, 300, 3437, 31, 1377, 998, 22, 1011, 998, 20, 31, 1377, 998, 20, 273, 998, 20, 2296, 4200, 571, 998, 20, 4080, 300, 3462, 31, 1377, 998, 23, 1011, 998, 21, 31, 1377, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 3238, 918, 1203, 12, 6385, 509, 293, 16, 727, 509, 619, 20, 16, 727, 509, 619, 21, 13, 288, 1377, 309, 261, 9394, 13, 288, 540, 1198, 2932, 2629, 7566, 15, 2629, 15, 7923, 619, 20, 1546, 15, 92, 20, 9078, 619, 21, 1546, 15, 92, 21, 9078, 293, 1546, 15, 84, 1769, 1377, 289, 1377, 998, 20, 1011, 998, 23, 31, 1377, 998, 23, 273, 998, 23, 2296, 4711, 571, 998, 23, 4080, 300, 3600, 31, 1377, 998, 21, 1011, 998, 24, 31, 1377, 998, 24, 273, 998, 24, 2296, 6969, 571, 998, 24, 4080, 261, 1578, 300, 6969, 1769, 1377, 998, 22, 10352, 998, 20, 31, 1377, 998, 20, 273, 998, 20, 2296, 225, 2468, 571, 2 ]
if (lastMethod != null && lastClass != null && lastClass.getSuperClass().isMethodBound(lastMethod, 0)) {
if (lastMethod != null && lastClass != null && lastClass.getSuperClass().isMethodBound(lastMethod, false)) {
public void visitSuperNode(SuperNode iVisited) { String lastMethod = ruby.getCurrentFrame().getLastFunc(); RubyModule lastClass = ruby.getCurrentFrame().getLastClass(); if (lastMethod != null && lastClass != null && lastClass.getSuperClass().isMethodBound(lastMethod, 0)) { definition = getArgumentDefinition(iVisited.getArgsNode(), "super"); } }
46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/f05423516c2d1bfe54c4363eedb9654f7cfb6898/DefinedVisitor.java/buggy/org/jruby/evaluator/DefinedVisitor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3757, 8051, 907, 12, 8051, 907, 277, 30019, 13, 288, 3639, 514, 1142, 1305, 273, 22155, 18, 588, 3935, 3219, 7675, 588, 3024, 2622, 5621, 3639, 19817, 3120, 1142, 797, 273, 22155, 18, 588, 3935, 3219, 7675, 588, 3024, 797, 5621, 3639, 309, 261, 2722, 1305, 480, 446, 597, 1142, 797, 480, 446, 597, 1142, 797, 18, 588, 8051, 797, 7675, 291, 1305, 3499, 12, 2722, 1305, 16, 629, 3719, 288, 5411, 2379, 273, 11950, 1852, 12, 77, 30019, 18, 588, 2615, 907, 9334, 315, 9565, 8863, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 3757, 8051, 907, 12, 8051, 907, 277, 30019, 13, 288, 3639, 514, 1142, 1305, 273, 22155, 18, 588, 3935, 3219, 7675, 588, 3024, 2622, 5621, 3639, 19817, 3120, 1142, 797, 273, 22155, 18, 588, 3935, 3219, 7675, 588, 3024, 797, 5621, 3639, 309, 261, 2722, 1305, 480, 446, 597, 1142, 797, 480, 446, 597, 1142, 797, 18, 588, 8051, 797, 7675, 291, 1305, 3499, 12, 2722, 1305, 16, 629, 3719, 288, 5411, 2379, 273, 11950, 1852, 12, 77, 30019, 18, 588, 2615, 907, 9334, 315, 9565, 8863, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
buf.append(formatPct(recvDupPct));
buf.append(peer.getPacketsReceivedDuplicate());
public void renderStatusHTML(Writer out) throws IOException { TreeSet peers = new TreeSet(AlphaComparator.instance()); synchronized (_peersByIdent) { peers.addAll(_peersByIdent.values()); } long offsetTotal = 0; StringBuffer buf = new StringBuffer(512); buf.append("<b id=\"udpcon\">UDP connections: ").append(peers.size()).append("</b><br />\n"); buf.append("<table border=\"1\">\n"); buf.append(" <tr><td><b>peer</b></td><td><b>idle</b></td>"); buf.append(" <td><b>in/out</b></td>\n"); buf.append(" <td><b>up</b></td><td><b>skew</b></td>\n"); buf.append(" <td><b>cwnd</b></td><td><b>ssthresh</b></td>\n"); buf.append(" <td><b>rtt</b></td><td><b>dev</b></td><td><b>rto</b></td>\n"); buf.append(" <td><b>send</b></td><td><b>recv</b></td>\n"); buf.append(" <td><b>resent</b></td><td><b>dupRecv</b></td>\n"); buf.append(" </tr>\n"); out.write(buf.toString()); buf.setLength(0); long now = _context.clock().now(); for (Iterator iter = peers.iterator(); iter.hasNext(); ) { PeerState peer = (PeerState)iter.next(); if (now-peer.getLastReceiveTime() > 60*60*1000) continue; // don't include old peers buf.append("<tr>"); String name = peer.getRemotePeer().toBase64().substring(0,6); buf.append("<td valign=\"top\" nowrap=\"nowrap\"><code>"); buf.append("<a href=\"netdb.jsp#"); buf.append(name); buf.append("\">"); buf.append(name).append("@"); byte ip[] = peer.getRemoteIP(); for (int j = 0; j < ip.length; j++) { int num = ip[j] & 0xFF; if (num < 10) buf.append("00"); else if (num < 100) buf.append("0"); buf.append(num); if (j + 1 < ip.length) buf.append('.'); } buf.append(':'); int port = peer.getRemotePort(); if (port < 10) buf.append("0000"); else if (port < 100) buf.append("000"); else if (port < 1000) buf.append("00"); else if (port < 10000) buf.append("0"); buf.append(port); buf.append("</a>"); if (peer.getWeRelayToThemAs() > 0) buf.append("&gt;"); else buf.append("&nbsp;"); if (peer.getTheyRelayToUsAs() > 0) buf.append("&lt;"); else buf.append("&nbsp;"); boolean appended = false; if (_activeThrottle.isChoked(peer.getRemotePeer())) { if (!appended) buf.append("<br />"); buf.append(" [choked]"); appended = true; } if (peer.getConsecutiveFailedSends() > 0) { if (!appended) buf.append("<br />"); buf.append(" [").append(peer.getConsecutiveFailedSends()).append(" failures]"); appended = true; } if (_context.shitlist().isShitlisted(peer.getRemotePeer())) { if (!appended) buf.append("<br />"); buf.append(" [shitlisted]"); appended = true; } buf.append("</code></td>"); buf.append("<td valign=\"top\" ><code>"); buf.append((now-peer.getLastReceiveTime())/1000); buf.append("s/"); buf.append((now-peer.getLastSendTime())/1000); buf.append("s</code></td>"); buf.append("<td valign=\"top\" ><code>"); buf.append(formatKBps(peer.getReceiveBps())); buf.append("KBps/"); buf.append(formatKBps(peer.getSendBps())); buf.append("KBps "); //buf.append(formatKBps(peer.getReceiveACKBps())); //buf.append("KBps/"); //buf.append(formatKBps(peer.getSendACKBps())); //buf.append("KBps "); buf.append("</code></td>"); buf.append("<td valign=\"top\" ><code>"); buf.append(DataHelper.formatDuration(now-peer.getKeyEstablishedTime())); buf.append("</code></td>"); buf.append("<td valign=\"top\" ><code>"); buf.append(peer.getClockSkew()/1000); buf.append("s</code></td>"); offsetTotal = offsetTotal + peer.getClockSkew(); buf.append("<td valign=\"top\" ><code>"); buf.append(peer.getSendWindowBytes()/1024); buf.append("K</code></td>"); buf.append("<td valign=\"top\" ><code>"); buf.append(peer.getSlowStartThreshold()/1024); buf.append("K</code></td>"); buf.append("<td valign=\"top\" ><code>"); buf.append(peer.getRTT()); buf.append("</code></td>"); buf.append("<td valign=\"top\" ><code>"); buf.append(peer.getRTTDeviation()); buf.append("</code></td>"); buf.append("<td valign=\"top\" ><code>"); buf.append(peer.getRTO()); buf.append("</code></td>"); buf.append("<td valign=\"top\" ><code>"); buf.append(peer.getPacketsTransmitted()); buf.append("</code></td>"); buf.append("<td valign=\"top\" ><code>"); buf.append(peer.getPacketsReceived()); buf.append("</code></td>"); double sent = (double)peer.getPacketsPeriodTransmitted(); double sendLostPct = 0; if (sent > 0) sendLostPct = (double)peer.getPacketsRetransmitted()/(sent); buf.append("<td valign=\"top\" ><code>"); //buf.append(formatPct(sendLostPct)); buf.append(peer.getPacketsRetransmitted()); // + "/" + peer.getPacketsPeriodRetransmitted() + "/" + sent); //buf.append(peer.getPacketRetransmissionRate()); buf.append("</code></td>"); double recvDupPct = (double)peer.getPacketsReceivedDuplicate()/(double)peer.getPacketsReceived(); buf.append("<td valign=\"top\" ><code>"); buf.append(formatPct(recvDupPct)); buf.append("</code></td>"); buf.append("</tr>"); out.write(buf.toString()); buf.setLength(0); } out.write("</table>\n"); buf.append("<b>Average clock skew, UDP peers:"); if (peers.size() > 0) buf.append(offsetTotal / peers.size()).append("ms</b><br><br>\n"); else buf.append("n/a</b><br><br>\n"); out.write(buf.toString()); buf.setLength(0); }
3808 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3808/24bad8e4bbb44f0148e118f584047e5149fff555/UDPTransport.java/buggy/router/java/src/net/i2p/router/transport/udp/UDPTransport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1743, 1482, 4870, 12, 2289, 596, 13, 1216, 1860, 288, 3639, 19461, 10082, 273, 394, 19461, 12, 9690, 5559, 18, 1336, 10663, 3639, 3852, 261, 67, 30502, 5132, 319, 13, 288, 5411, 10082, 18, 1289, 1595, 24899, 30502, 5132, 319, 18, 2372, 10663, 3639, 289, 3639, 1525, 1384, 5269, 273, 374, 31, 7734, 6674, 1681, 273, 394, 6674, 12, 13757, 1769, 3639, 1681, 18, 6923, 2932, 32, 70, 612, 5189, 26029, 591, 24735, 20352, 5921, 30, 315, 2934, 6923, 12, 30502, 18, 1467, 1435, 2934, 6923, 2932, 1757, 70, 4438, 2848, 342, 5333, 82, 8863, 3639, 1681, 18, 6923, 2932, 32, 2121, 5795, 5189, 21, 28219, 82, 8863, 3639, 1681, 18, 6923, 2932, 411, 313, 4438, 4465, 4438, 70, 34, 12210, 1757, 70, 4695, 4465, 4438, 4465, 4438, 70, 34, 20390, 1757, 70, 4695, 4465, 2984, 1769, 3639, 1681, 18, 6923, 2932, 377, 411, 4465, 4438, 70, 34, 267, 19, 659, 1757, 70, 4695, 4465, 5333, 82, 8863, 3639, 1681, 18, 6923, 2932, 377, 411, 4465, 4438, 70, 34, 416, 1757, 70, 4695, 4465, 4438, 4465, 4438, 70, 34, 7771, 359, 1757, 70, 4695, 4465, 5333, 82, 8863, 3639, 1681, 18, 6923, 2932, 377, 411, 4465, 4438, 70, 34, 71, 91, 4880, 1757, 70, 4695, 4465, 4438, 4465, 4438, 70, 34, 87, 20244, 1955, 1757, 70, 4695, 4465, 5333, 82, 8863, 3639, 1681, 18, 6923, 2932, 377, 411, 4465, 4438, 70, 34, 86, 748, 1757, 70, 4695, 4465, 4438, 4465, 4438, 70, 34, 5206, 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, 1743, 1482, 4870, 12, 2289, 596, 13, 1216, 1860, 288, 3639, 19461, 10082, 273, 394, 19461, 12, 9690, 5559, 18, 1336, 10663, 3639, 3852, 261, 67, 30502, 5132, 319, 13, 288, 5411, 10082, 18, 1289, 1595, 24899, 30502, 5132, 319, 18, 2372, 10663, 3639, 289, 3639, 1525, 1384, 5269, 273, 374, 31, 7734, 6674, 1681, 273, 394, 6674, 12, 13757, 1769, 3639, 1681, 18, 6923, 2932, 32, 70, 612, 5189, 26029, 591, 24735, 20352, 5921, 30, 315, 2934, 6923, 12, 30502, 18, 1467, 1435, 2934, 6923, 2932, 1757, 70, 4438, 2848, 342, 5333, 82, 8863, 3639, 1681, 18, 6923, 2932, 32, 2121, 5795, 5189, 21, 28219, 82, 8863, 3639, 1681, 18, 6923, 2932, 411, 313, 4438, 2 ]
if(client_sock != null) { try { client_sock.close(); } catch(Exception ex) { } client_sock=null; }
Util.close(client_sock); client_sock=null;
void closeClientSocket() { synchronized(mutex) { if(client_sock != null) { try { client_sock.close(); } catch(Exception ex) { } client_sock=null; } } }
3550 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3550/87060ba56ffd3be3e449afa753756e5aefc422c8/FD_SOCK.java/clean/src/org/jgroups/protocols/FD_SOCK.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 918, 1746, 1227, 4534, 1435, 288, 5411, 3852, 12, 29946, 13, 288, 7734, 309, 12, 2625, 67, 15031, 480, 446, 13, 288, 10792, 775, 288, 13491, 1004, 67, 15031, 18, 4412, 5621, 10792, 289, 10792, 1044, 12, 503, 431, 13, 288, 10792, 289, 10792, 1004, 67, 15031, 33, 2011, 31, 7734, 289, 5411, 289, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 918, 1746, 1227, 4534, 1435, 288, 5411, 3852, 12, 29946, 13, 288, 7734, 309, 12, 2625, 67, 15031, 480, 446, 13, 288, 10792, 775, 288, 13491, 1004, 67, 15031, 18, 4412, 5621, 10792, 289, 10792, 1044, 12, 503, 431, 13, 288, 10792, 289, 10792, 1004, 67, 15031, 33, 2011, 31, 7734, 289, 5411, 289, 3639, 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 ]
int frameIndex = this.frameSequence[ 0 ];
public void setFrameSequence(int[] sequence) { int[] newSequence = new int[ sequence.length ]; System.arraycopy( sequence, 0, newSequence, 0, sequence.length ); this.frameSequence = newSequence; this.frameSequenceIndex = 0; int frameIndex = this.frameSequence[ 0 ]; this.column = frameIndex % this.numberOfColumns; this.row = frameIndex / this.numberOfColumns; }
9804 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9804/d403fed87c81165b5b2856c6f5ab16234f257af1/Sprite.java/clean/j2me/source/src/de/enough/polish/ui/game/Sprite.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 3219, 4021, 12, 474, 8526, 3102, 13, 202, 95, 202, 202, 474, 8526, 394, 4021, 273, 394, 509, 63, 3102, 18, 2469, 308, 31, 202, 202, 3163, 18, 1126, 3530, 12, 3102, 16, 374, 16, 394, 4021, 16, 374, 16, 3102, 18, 2469, 11272, 202, 202, 2211, 18, 3789, 4021, 273, 394, 4021, 31, 202, 202, 2211, 18, 3789, 4021, 1016, 273, 374, 31, 202, 202, 474, 2623, 1016, 273, 333, 18, 3789, 4021, 63, 374, 308, 31, 202, 202, 2211, 18, 2827, 273, 2623, 1016, 738, 333, 18, 2696, 951, 3380, 31, 202, 202, 2211, 18, 492, 273, 2623, 1016, 342, 333, 18, 2696, 951, 3380, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 444, 3219, 4021, 12, 474, 8526, 3102, 13, 202, 95, 202, 202, 474, 8526, 394, 4021, 273, 394, 509, 63, 3102, 18, 2469, 308, 31, 202, 202, 3163, 18, 1126, 3530, 12, 3102, 16, 374, 16, 394, 4021, 16, 374, 16, 3102, 18, 2469, 11272, 202, 202, 2211, 18, 3789, 4021, 273, 394, 4021, 31, 202, 202, 2211, 18, 3789, 4021, 1016, 273, 374, 31, 202, 202, 474, 2623, 1016, 273, 333, 18, 3789, 4021, 63, 374, 308, 31, 202, 202, 2211, 18, 2827, 273, 2623, 1016, 738, 333, 18, 2696, 951, 3380, 31, 202, 202, 2211, 18, 492, 273, 2623, 1016, 342, 333, 18, 2696, 951, 3380, 31, 202, 97, 2, -100, -100, -100, -100 ]
final Role oldRole = this.role;
final Role oldRole = this.role;
public void setRole(Role role) { if (this.role == role) return; final Role oldRole = this.role; // blocage de la r?cursivit? this.role = null; // suppression de l'ancienne liaison si existante if (oldRole != null) oldRole.removeActivity(this); // cr?ation de la nouvelle liaison if (role != null) { this.role = role; role.addActivity(this); } }
9158 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9158/88cad782b83b46c0da446a014eb9483e7c05b304/Activity.java/buggy/PAGOD/src/pagod/common/model/Activity.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 2996, 12, 2996, 2478, 13, 565, 288, 3639, 309, 261, 2211, 18, 4615, 422, 2478, 13, 5411, 327, 31, 3639, 727, 6204, 1592, 2996, 273, 333, 18, 4615, 31, 3639, 368, 324, 1829, 410, 443, 7125, 436, 35, 2789, 427, 305, 35, 3639, 333, 18, 4615, 273, 446, 31, 3639, 368, 1169, 1337, 443, 328, 11, 304, 8450, 275, 4644, 328, 1155, 4530, 7533, 1005, 7974, 3639, 309, 261, 1673, 2996, 480, 446, 13, 5411, 1592, 2996, 18, 4479, 6193, 12, 2211, 1769, 3639, 368, 4422, 35, 367, 443, 7125, 1158, 89, 941, 298, 328, 1155, 4530, 3639, 309, 261, 4615, 480, 446, 13, 3639, 288, 5411, 333, 18, 4615, 273, 2478, 31, 5411, 2478, 18, 1289, 6193, 12, 2211, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 444, 2996, 12, 2996, 2478, 13, 565, 288, 3639, 309, 261, 2211, 18, 4615, 422, 2478, 13, 5411, 327, 31, 3639, 727, 6204, 1592, 2996, 273, 333, 18, 4615, 31, 3639, 368, 324, 1829, 410, 443, 7125, 436, 35, 2789, 427, 305, 35, 3639, 333, 18, 4615, 273, 446, 31, 3639, 368, 1169, 1337, 443, 328, 11, 304, 8450, 275, 4644, 328, 1155, 4530, 7533, 1005, 7974, 3639, 309, 261, 1673, 2996, 480, 446, 13, 5411, 1592, 2996, 18, 4479, 6193, 12, 2211, 1769, 3639, 368, 4422, 35, 367, 443, 7125, 1158, 89, 941, 298, 328, 1155, 4530, 3639, 309, 261, 4615, 480, 446, 13, 3639, 288, 5411, 333, 18, 4615, 273, 2478, 31, 5411, 2478, 2 ]
loginName = loginName.trim();
loginName = loginName.trim();
public UserDomainObject getUser( String loginName ) { loginName = loginName.trim(); UserDomainObject result = null; String[] user_data = service.sqlProcedure( SPROC_GET_USER_BY_LOGIN, new String[]{loginName} ); // if resultSet > 0 a result is found if( user_data.length > 0 ) { result = staticExtractUserFromStringArray( user_data ); if( null == result.getLangPrefix() ) { result.setLangPrefix( service.getLanguage() ); } String[][] phoneNbr = service.sqlProcedureMulti( SPROC_GET_USER_PHONE_NUMBERS + user_data[0] ); String workPhone = ""; String mobilePhone = ""; String homePhone = ""; if( phoneNbr != null ) { for( int i = 0; i < phoneNbr.length; i++ ) { if( ("2").equals( phoneNbr[i][3] ) ) { workPhone = phoneNbr[i][1]; } else if( ("3").equals( phoneNbr[i][3] ) ) { mobilePhone = phoneNbr[i][1]; } else if( ("1").equals( phoneNbr[i][3] ) ) { homePhone = phoneNbr[i][1]; } } } result.setWorkPhone( workPhone ); result.setMobilePhone( mobilePhone ); result.setHomePhone( homePhone ); } else { result = null; } return result; }
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/671372d8a7c3cefbd034e382b73e3e9a9681cd19/ImcmsAuthenticatorAndUserMapper.java/clean/server/src/imcode/server/user/ImcmsAuthenticatorAndUserMapper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 2177, 3748, 921, 4735, 12, 514, 3925, 461, 262, 288, 1377, 3925, 461, 273, 3925, 461, 18, 5290, 5621, 1377, 2177, 3748, 921, 563, 273, 446, 31, 1377, 514, 8526, 729, 67, 892, 273, 1156, 18, 4669, 17213, 12, 348, 3373, 39, 67, 3264, 67, 4714, 67, 6486, 67, 19022, 16, 394, 514, 63, 7073, 5819, 461, 97, 11272, 1377, 368, 309, 12168, 405, 374, 279, 563, 353, 1392, 1377, 309, 12, 729, 67, 892, 18, 2469, 405, 374, 262, 288, 540, 563, 273, 760, 4976, 1299, 9193, 1076, 12, 729, 67, 892, 11272, 540, 309, 12, 446, 422, 563, 18, 588, 7275, 2244, 1435, 262, 288, 5411, 563, 18, 542, 7275, 2244, 12, 1156, 18, 588, 3779, 1435, 11272, 540, 289, 540, 514, 63, 6362, 65, 7353, 50, 2848, 273, 1156, 18, 4669, 17213, 5002, 12, 348, 3373, 39, 67, 3264, 67, 4714, 67, 8939, 5998, 67, 9931, 55, 397, 729, 67, 892, 63, 20, 65, 11272, 540, 514, 1440, 9451, 273, 1408, 31, 540, 514, 13411, 9451, 273, 1408, 31, 540, 514, 6382, 9451, 273, 1408, 31, 540, 309, 12, 7353, 50, 2848, 480, 446, 262, 288, 5411, 364, 12, 509, 277, 273, 374, 31, 277, 411, 7353, 50, 2848, 18, 2469, 31, 277, 9904, 262, 288, 9079, 309, 12, 7566, 22, 20387, 14963, 12, 7353, 50, 2848, 63, 77, 6362, 23, 65, 262, 262, 288, 5375, 1440, 9451, 273, 7353, 50, 2848, 63, 77, 6362, 21, 15533, 9079, 289, 469, 309, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 2177, 3748, 921, 4735, 12, 514, 3925, 461, 262, 288, 1377, 3925, 461, 273, 3925, 461, 18, 5290, 5621, 1377, 2177, 3748, 921, 563, 273, 446, 31, 1377, 514, 8526, 729, 67, 892, 273, 1156, 18, 4669, 17213, 12, 348, 3373, 39, 67, 3264, 67, 4714, 67, 6486, 67, 19022, 16, 394, 514, 63, 7073, 5819, 461, 97, 11272, 1377, 368, 309, 12168, 405, 374, 279, 563, 353, 1392, 1377, 309, 12, 729, 67, 892, 18, 2469, 405, 374, 262, 288, 540, 563, 273, 760, 4976, 1299, 9193, 1076, 12, 729, 67, 892, 11272, 540, 309, 12, 446, 422, 563, 18, 588, 7275, 2244, 1435, 262, 288, 5411, 563, 18, 542, 7275, 2244, 12, 1156, 18, 588, 2 ]
gms.castViewChange(join_rsp.getView(), null);
public synchronized void handleJoin(Address mbr) { View v; Digest d, tmp; JoinRsp join_rsp; if(mbr == null) { if(log.isErrorEnabled()) log.error("mbr is null"); return; } if(gms.local_addr.equals(mbr)) { if(log.isErrorEnabled()) log.error("cannot join myself !"); return; } if(log.isDebugEnabled()) log.debug("mbr=" + mbr); if(gms.members.contains(mbr)) { // already joined: return current digest and membership if(log.isWarnEnabled()) log.warn(mbr + " already present; returning existing view " + gms.view); join_rsp=new JoinRsp(new View(gms.view_id, gms.members.getMembers()), gms.getDigest()); sendJoinResponse(join_rsp, mbr); return; } try { // we cannot garbage collect during joining a new member *if* we're the only member // Example: {A}, B joins, after returning JoinRsp to B, A garbage collects messages higher than those in the // digest returned to the client, so the client will *not* be able to ask for retransmission of those // messages if he misses them gms.passDown(new Event(Event.SUSPEND_STABLE, MAX_SUSPEND_TIMEOUT)); Vector new_mbrs=new Vector(1); new_mbrs.addElement(mbr); tmp=gms.getDigest(); // get existing digest if(tmp == null) { if(log.isErrorEnabled()) log.error("received null digest from GET_DIGEST: will cause JOIN to fail"); return; } d=new Digest(tmp.size() + 1); // create a new digest, which contains 1 more member d.add(tmp); // add the existing digest to the new one d.add(mbr, 0, 0); // ... and add the new member. it's first seqno will be 1 v=gms.getNextView(new_mbrs, null, null); if(log.isDebugEnabled()) log.debug("joined member " + mbr + ", view is " + v); join_rsp=new JoinRsp(v, d); // 2. Send down a local TMP_VIEW event. This is needed by certain layers (e.g. NAKACK) to compute correct digest // in case client's next request (e.g. getState()) reaches us *before* our own view change multicast. // Check NAKACK's TMP_VIEW handling for details if(join_rsp.getView() != null) gms.passDown(new Event(Event.TMP_VIEW, join_rsp.getView())); // 3. Return result to client sendJoinResponse(join_rsp, mbr); // 4. Broadcast the new view gms.castViewChange(join_rsp.getView(), null); } finally { gms.passDown(new Event(Event.RESUME_STABLE)); } }
3550 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3550/519caa088a3b118832f4b6fd00a20252813194c7/CoordGmsImpl.java/buggy/src/org/jgroups/protocols/pbcast/CoordGmsImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 918, 1640, 4572, 12, 1887, 312, 2848, 13, 288, 3639, 4441, 331, 31, 3639, 15864, 302, 16, 1853, 31, 3639, 4214, 54, 1752, 1233, 67, 86, 1752, 31, 3639, 309, 12, 1627, 86, 422, 446, 13, 288, 5411, 309, 12, 1330, 18, 291, 668, 1526, 10756, 613, 18, 1636, 2932, 1627, 86, 353, 446, 8863, 5411, 327, 31, 3639, 289, 3639, 309, 12, 75, 959, 18, 3729, 67, 4793, 18, 14963, 12, 1627, 86, 3719, 288, 5411, 309, 12, 1330, 18, 291, 668, 1526, 10756, 613, 18, 1636, 2932, 12892, 1233, 3399, 2890, 401, 8863, 5411, 327, 31, 3639, 289, 3639, 309, 12, 1330, 18, 291, 2829, 1526, 10756, 613, 18, 4148, 2932, 1627, 86, 1546, 397, 312, 2848, 1769, 3639, 309, 12, 75, 959, 18, 7640, 18, 12298, 12, 1627, 86, 3719, 288, 368, 1818, 12114, 30, 327, 783, 5403, 471, 12459, 5411, 309, 12, 1330, 18, 291, 3160, 1526, 10756, 7734, 613, 18, 8935, 12, 1627, 86, 397, 315, 1818, 3430, 31, 5785, 2062, 1476, 315, 397, 314, 959, 18, 1945, 1769, 5411, 1233, 67, 86, 1752, 33, 2704, 4214, 54, 1752, 12, 2704, 4441, 12, 75, 959, 18, 1945, 67, 350, 16, 314, 959, 18, 7640, 18, 588, 6918, 1435, 3631, 314, 959, 18, 588, 9568, 10663, 5411, 1366, 4572, 1064, 12, 5701, 67, 86, 1752, 16, 312, 2848, 1769, 5411, 327, 31, 3639, 289, 3639, 775, 288, 5411, 368, 732, 2780, 15340, 3274, 4982, 21239, 279, 394, 3140, 380, 430, 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, 1640, 4572, 12, 1887, 312, 2848, 13, 288, 3639, 4441, 331, 31, 3639, 15864, 302, 16, 1853, 31, 3639, 4214, 54, 1752, 1233, 67, 86, 1752, 31, 3639, 309, 12, 1627, 86, 422, 446, 13, 288, 5411, 309, 12, 1330, 18, 291, 668, 1526, 10756, 613, 18, 1636, 2932, 1627, 86, 353, 446, 8863, 5411, 327, 31, 3639, 289, 3639, 309, 12, 75, 959, 18, 3729, 67, 4793, 18, 14963, 12, 1627, 86, 3719, 288, 5411, 309, 12, 1330, 18, 291, 668, 1526, 10756, 613, 18, 1636, 2932, 12892, 1233, 3399, 2890, 401, 8863, 5411, 327, 31, 3639, 289, 3639, 309, 12, 1330, 18, 291, 2829, 1526, 10756, 613, 18, 4148, 2932, 1627, 86, 1546, 2 ]
if (input.length > 0 && input[input.length - 1] == SU) return input;
if (input.length > 0 && input[input.length - 1] == SU) return input;
private static byte[] normalize(byte[] input) { if (input.length > 0 && input[input.length - 1] == SU) return input; byte[] bytes = new byte[input.length + 1]; System.arraycopy(input, 0, bytes, 0, input.length); bytes[input.length] = SU; return bytes; }
10130 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10130/536624347c30f58b8363c007a3a8090b5583cead/SourceFile.java/clean/sources/ch/epfl/lamp/util/SourceFile.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 1160, 8526, 3883, 12, 7229, 8526, 810, 13, 288, 3639, 309, 261, 2630, 18, 2469, 405, 374, 597, 810, 63, 2630, 18, 2469, 300, 404, 65, 422, 11726, 13, 327, 810, 31, 3639, 1160, 8526, 1731, 273, 394, 1160, 63, 2630, 18, 2469, 397, 404, 15533, 3639, 2332, 18, 1126, 3530, 12, 2630, 16, 374, 16, 1731, 16, 374, 16, 810, 18, 2469, 1769, 3639, 1731, 63, 2630, 18, 2469, 65, 273, 11726, 31, 3639, 327, 1731, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 760, 1160, 8526, 3883, 12, 7229, 8526, 810, 13, 288, 3639, 309, 261, 2630, 18, 2469, 405, 374, 597, 810, 63, 2630, 18, 2469, 300, 404, 65, 422, 11726, 13, 327, 810, 31, 3639, 1160, 8526, 1731, 273, 394, 1160, 63, 2630, 18, 2469, 397, 404, 15533, 3639, 2332, 18, 1126, 3530, 12, 2630, 16, 374, 16, 1731, 16, 374, 16, 810, 18, 2469, 1769, 3639, 1731, 63, 2630, 18, 2469, 65, 273, 11726, 31, 3639, 327, 1731, 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 ]
if (inOperation != null)
if (inOperation != null) {
public boolean store(IWContext iwc) { Group group; try { group = (Group) (((GroupHome) com.idega.data.IDOLookup .getHome(Group.class)).findByPrimaryKey(new Integer( getGroupId()))); String number = (String) fieldValues.get(_numberFieldName); String ssn = (String) fieldValues.get(_ssnFieldName); String founded = (String) fieldValues.get(_foundedFieldName); String type = (String) fieldValues.get(_typeFieldName); Boolean memberUMFI = (Boolean) fieldValues .get(_memberUMFIFieldName); String make = (String) fieldValues.get(_makeFieldName); String connection = (String) fieldValues .get(_connectionToSpecialFieldName); String status = (String) fieldValues.get(_statusFieldName); Boolean inOperation = (Boolean) fieldValues .get(_inOperationFieldName); Boolean usingSystem = (Boolean) fieldValues .get(_usingMemberSystemFieldName); group.setMetaData(IWMemberConstants.META_DATA_CLUB_NUMBER, number); group.setMetaData(IWMemberConstants.META_DATA_CLUB_SSN, ssn); group .setMetaData(IWMemberConstants.META_DATA_CLUB_FOUNDED, founded); group.setMetaData(IWMemberConstants.META_DATA_CLUB_TYPE, type); if (memberUMFI != null) { group.setMetaData(IWMemberConstants.META_DATA_CLUB_IN_UMFI, memberUMFI.toString()); } group.setMetaData(IWMemberConstants.META_DATA_CLUB_MAKE, make); if (make .equals(IWMemberConstants.META_DATA_CLUB_STATUS_SINGLE_DIVISION_CLUB)) { String oldConnection = group .getMetaData(IWMemberConstants.META_DATA_CLUB_LEAGUE_CONNECTION); if (oldConnection == null && connection != null) { getClubInformationPluginBusiness(iwc) .createSpecialConnection(connection, getGroupId(), group.getName(), iwc); } group.setMetaData( IWMemberConstants.META_DATA_CLUB_LEAGUE_CONNECTION, connection); } else group.setMetaData( IWMemberConstants.META_DATA_CLUB_LEAGUE_CONNECTION, ""); group.setMetaData(IWMemberConstants.META_DATA_CLUB_STATUS, status); if (inOperation != null) group.setMetaData(IWMemberConstants.META_DATA_CLUB_OPERATION, inOperation.toString()); else group.setMetaData(IWMemberConstants.META_DATA_CLUB_OPERATION, Boolean.FALSE.toString()); if (usingSystem != null) group.setMetaData( IWMemberConstants.META_DATA_CLUB_USING_SYSTEM, usingSystem.toString()); else group.setMetaData( IWMemberConstants.META_DATA_CLUB_USING_SYSTEM, Boolean.FALSE.toString()); group.store(); } catch (RemoteException e) { e.printStackTrace(System.err); return false; } catch (FinderException e) { e.printStackTrace(System.err); return false; } return true; }
57353 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57353/a8e696ea15f7a8c73ea4f784d75e22f66910d400/ClubInformationTab.java/clean/src/java/is/idega/idegaweb/member/presentation/ClubInformationTab.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 1707, 12, 45, 59, 1042, 25522, 71, 13, 288, 3639, 3756, 1041, 31, 3639, 775, 288, 5411, 1041, 273, 261, 1114, 13, 261, 12443, 1114, 8684, 13, 532, 18, 831, 15833, 18, 892, 18, 734, 1741, 4909, 10792, 263, 588, 8684, 12, 1114, 18, 1106, 13, 2934, 4720, 858, 11575, 12, 2704, 2144, 12, 10792, 27968, 1435, 3719, 1769, 5411, 514, 1300, 273, 261, 780, 13, 24976, 18, 588, 24899, 2696, 7287, 1769, 5411, 514, 5202, 82, 273, 261, 780, 13, 24976, 18, 588, 24899, 1049, 82, 7287, 1769, 5411, 514, 284, 12002, 273, 261, 780, 13, 24976, 18, 588, 24899, 74, 12002, 7287, 1769, 5411, 514, 618, 273, 261, 780, 13, 24976, 18, 588, 24899, 723, 7287, 1769, 5411, 3411, 3140, 2799, 1653, 273, 261, 5507, 13, 24976, 10792, 263, 588, 24899, 5990, 2799, 1653, 7287, 1769, 5411, 514, 1221, 273, 261, 780, 13, 24976, 18, 588, 24899, 6540, 7287, 1769, 5411, 514, 1459, 273, 261, 780, 13, 24976, 10792, 263, 588, 24899, 4071, 774, 12193, 7287, 1769, 5411, 514, 1267, 273, 261, 780, 13, 24976, 18, 588, 24899, 2327, 7287, 1769, 5411, 3411, 316, 2988, 273, 261, 5507, 13, 24976, 10792, 263, 588, 24899, 267, 2988, 7287, 1769, 5411, 3411, 1450, 3163, 273, 261, 5507, 13, 24976, 10792, 263, 588, 24899, 9940, 4419, 3163, 7287, 1769, 5411, 1041, 18, 542, 6998, 12, 45, 59, 4419, 2918, 18, 19294, 67, 4883, 67, 5017, 3457, 67, 9931, 16, 1300, 1769, 5411, 1041, 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, 377, 1071, 1250, 1707, 12, 45, 59, 1042, 25522, 71, 13, 288, 3639, 3756, 1041, 31, 3639, 775, 288, 5411, 1041, 273, 261, 1114, 13, 261, 12443, 1114, 8684, 13, 532, 18, 831, 15833, 18, 892, 18, 734, 1741, 4909, 10792, 263, 588, 8684, 12, 1114, 18, 1106, 13, 2934, 4720, 858, 11575, 12, 2704, 2144, 12, 10792, 27968, 1435, 3719, 1769, 5411, 514, 1300, 273, 261, 780, 13, 24976, 18, 588, 24899, 2696, 7287, 1769, 5411, 514, 5202, 82, 273, 261, 780, 13, 24976, 18, 588, 24899, 1049, 82, 7287, 1769, 5411, 514, 284, 12002, 273, 261, 780, 13, 24976, 18, 588, 24899, 74, 12002, 7287, 1769, 5411, 514, 618, 273, 261, 780, 13, 24976, 18, 588, 24899, 2 ]
assertTrue(!GeometryTools.has3DCoordinates(mol));
assertTrue(GeometryTools.has3DCoordinates(mol));
public void testAnimation() { String filename = "data/cmltest/SN1_reaction.cml"; try { File f = new File(filename); if (f.canRead()) { // read the file CMLReader reader = new CMLReader(new FileReader(f)); ChemFile chemFile = (ChemFile)reader.read((ChemObject)new ChemFile()); // test the resulting ChemFile content assertNotNull(chemFile); assertTrue(chemFile.getChemSequenceCount()>0); System.out.println("NO sequences: " + chemFile.getChemSequenceCount()); ChemSequence seq = chemFile.getChemSequence(0); assertNotNull(seq); assertEquals(seq.getChemModelCount(), 1); System.out.println("NO models: " + seq.getChemModelCount()); ChemModel model = seq.getChemModel(0); assertNotNull(model); assertEquals(model.getSetOfMolecules().getMoleculeCount(), 1); // test the molecule Molecule mol = model.getSetOfMolecules().getMolecule(0); assertNotNull(mol); assertEquals(mol.getAtomCount(), 25); assertTrue(!GeometryTools.has3DCoordinates(mol)); } else { System.out.println("The CMLReader was not tested with a CML file."); System.out.println("Due to missing file: " + filename); } } catch (Exception e) { fail(e.toString()); } }
1306 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1306/64b199b9fd86f880a4395f9945479864c22c2fd8/JmolTest.java/buggy/org/openscience/cdk/test/io/cml/JmolTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 10816, 1435, 288, 3639, 514, 1544, 273, 315, 892, 19, 71, 781, 3813, 19, 13653, 21, 67, 266, 1128, 18, 71, 781, 14432, 3639, 775, 288, 5411, 1387, 284, 273, 394, 1387, 12, 3459, 1769, 5411, 309, 261, 74, 18, 4169, 1994, 10756, 288, 7734, 368, 855, 326, 585, 7734, 385, 1495, 2514, 2949, 273, 394, 385, 1495, 2514, 12, 2704, 23010, 12, 74, 10019, 7734, 26542, 812, 19028, 812, 273, 261, 20200, 812, 13, 10530, 18, 896, 12443, 20200, 921, 13, 2704, 26542, 812, 10663, 7734, 368, 1842, 326, 8156, 26542, 812, 913, 7734, 25395, 12, 1036, 812, 1769, 7734, 1815, 5510, 12, 1036, 812, 18, 588, 20200, 4021, 1380, 1435, 34, 20, 1769, 7734, 2332, 18, 659, 18, 8222, 2932, 3417, 8463, 30, 315, 397, 19028, 812, 18, 588, 20200, 4021, 1380, 10663, 7734, 26542, 4021, 3833, 273, 19028, 812, 18, 588, 20200, 4021, 12, 20, 1769, 7734, 25395, 12, 5436, 1769, 7734, 1815, 8867, 12, 5436, 18, 588, 20200, 1488, 1380, 9334, 404, 1769, 7734, 2332, 18, 659, 18, 8222, 2932, 3417, 3679, 30, 315, 397, 3833, 18, 588, 20200, 1488, 1380, 10663, 7734, 26542, 1488, 938, 273, 3833, 18, 588, 20200, 1488, 12, 20, 1769, 7734, 25395, 12, 2284, 1769, 7734, 1815, 8867, 12, 2284, 18, 588, 694, 951, 49, 29466, 7675, 588, 29669, 1380, 9334, 404, 1769, 7734, 368, 1842, 326, 13661, 7734, 490, 10545, 12629, 273, 938, 18, 588, 694, 951, 49, 29466, 7675, 588, 29669, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 10816, 1435, 288, 3639, 514, 1544, 273, 315, 892, 19, 71, 781, 3813, 19, 13653, 21, 67, 266, 1128, 18, 71, 781, 14432, 3639, 775, 288, 5411, 1387, 284, 273, 394, 1387, 12, 3459, 1769, 5411, 309, 261, 74, 18, 4169, 1994, 10756, 288, 7734, 368, 855, 326, 585, 7734, 385, 1495, 2514, 2949, 273, 394, 385, 1495, 2514, 12, 2704, 23010, 12, 74, 10019, 7734, 26542, 812, 19028, 812, 273, 261, 20200, 812, 13, 10530, 18, 896, 12443, 20200, 921, 13, 2704, 26542, 812, 10663, 7734, 368, 1842, 326, 8156, 26542, 812, 913, 7734, 25395, 12, 1036, 812, 1769, 7734, 1815, 5510, 12, 1036, 812, 18, 588, 20200, 4021, 1380, 1435, 34, 20, 1769, 2 ]
result = (IWizard) connWizElement.createExecutableExtension();
result = descriptor.createWizard();
protected IWizard createWizard() { IWizard result = null; WorkbenchWizardElement connWizElement = new NewWizardsRegistryReader().findWizard("org.eclipse.jst.j2ee.internal.internal.jca.ui.internal.wizard.JCAProjectWizard"); //$NON-NLS-1$ try { result = (IWizard) connWizElement.createExecutableExtension(); } catch (CoreException ce) { Logger.getLogger().log(ce); } return result; }
8196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8196/c04f82b28fa9e8fb26fa0bf1134246dc3bce57ce/NewModuleProjectSelectionPage.java/clean/plugins/org.eclipse.jst.j2ee.ui/j2ee_ui/org/eclipse/jst/j2ee/internal/wizard/NewModuleProjectSelectionPage.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4697, 202, 1117, 467, 27130, 752, 27130, 1435, 288, 6862, 202, 45, 27130, 563, 273, 446, 31, 6862, 202, 2421, 22144, 27130, 1046, 1487, 59, 452, 1046, 273, 394, 1166, 27130, 87, 4243, 2514, 7675, 4720, 27130, 2932, 3341, 18, 20416, 18, 78, 334, 18, 78, 22, 1340, 18, 7236, 18, 7236, 18, 78, 5353, 18, 4881, 18, 7236, 18, 31837, 18, 46, 3587, 4109, 27130, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 202, 698, 288, 25083, 202, 2088, 273, 261, 45, 27130, 13, 1487, 59, 452, 1046, 18, 2640, 17709, 3625, 5621, 6862, 202, 97, 1044, 261, 25341, 5898, 13, 288, 25083, 202, 3328, 18, 588, 3328, 7675, 1330, 12, 311, 1769, 6862, 202, 97, 6862, 202, 2463, 563, 31, 9506, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4697, 202, 1117, 467, 27130, 752, 27130, 1435, 288, 6862, 202, 45, 27130, 563, 273, 446, 31, 6862, 202, 2421, 22144, 27130, 1046, 1487, 59, 452, 1046, 273, 394, 1166, 27130, 87, 4243, 2514, 7675, 4720, 27130, 2932, 3341, 18, 20416, 18, 78, 334, 18, 78, 22, 1340, 18, 7236, 18, 7236, 18, 78, 5353, 18, 4881, 18, 7236, 18, 31837, 18, 46, 3587, 4109, 27130, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 202, 698, 288, 25083, 202, 2088, 273, 261, 45, 27130, 13, 1487, 59, 452, 1046, 18, 2640, 17709, 3625, 5621, 6862, 202, 97, 1044, 261, 25341, 5898, 13, 288, 25083, 202, 3328, 18, 588, 3328, 7675, 1330, 12, 311, 1769, 6862, 202, 97, 6862, 2 ]
&& varDefAST.getType() != TokenTypes.VARIABLE_DEF)
&& varDefAST.getType() != TokenTypes.VARIABLE_DEF && varDefAST.getType() != TokenTypes.ENUM_CONSTANT_DEF)
private DetailAST findContainingConstantDef(DetailAST aAST) { DetailAST varDefAST = aAST; while (varDefAST != null && varDefAST.getType() != TokenTypes.VARIABLE_DEF) { varDefAST = varDefAST.getParent(); } // no containing variable definition? if (varDefAST == null) { return null; } // implicit constant? if (ScopeUtils.inInterfaceOrAnnotationBlock(varDefAST)) { return varDefAST; } // explicit constant final DetailAST modifiersAST = varDefAST.findFirstToken(TokenTypes.MODIFIERS); if (modifiersAST.branchContains(TokenTypes.FINAL)) { return varDefAST; } return null; }
50482 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50482/8fdf8a5c4cade0f015e6ed36cd7fcf10f38e55db/MagicNumberCheck.java/clean/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/coding/MagicNumberCheck.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 27931, 9053, 1104, 24344, 6902, 3262, 12, 6109, 9053, 279, 9053, 13, 565, 288, 3639, 27931, 9053, 569, 3262, 9053, 273, 279, 9053, 31, 3639, 1323, 261, 1401, 3262, 9053, 480, 446, 7734, 597, 569, 3262, 9053, 18, 588, 559, 1435, 480, 3155, 2016, 18, 16444, 67, 12904, 597, 569, 3262, 9053, 18, 588, 559, 1435, 480, 3155, 2016, 18, 16509, 67, 25878, 67, 12904, 13, 3639, 288, 5411, 569, 3262, 9053, 273, 569, 3262, 9053, 18, 588, 3054, 5621, 3639, 289, 3639, 368, 1158, 4191, 2190, 2379, 35, 3639, 309, 261, 1401, 3262, 9053, 422, 446, 13, 288, 5411, 327, 446, 31, 3639, 289, 3639, 368, 10592, 5381, 35, 3639, 309, 261, 3876, 1989, 18, 267, 1358, 1162, 3257, 1768, 12, 1401, 3262, 9053, 3719, 288, 5411, 327, 569, 3262, 9053, 31, 3639, 289, 3639, 368, 5515, 5381, 3639, 727, 27931, 9053, 10429, 9053, 273, 7734, 569, 3262, 9053, 18, 4720, 3759, 1345, 12, 1345, 2016, 18, 6720, 10591, 55, 1769, 3639, 309, 261, 15432, 9053, 18, 7500, 10846, 12, 1345, 2016, 18, 7263, 1013, 3719, 288, 5411, 327, 569, 3262, 9053, 31, 3639, 289, 3639, 327, 446, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 27931, 9053, 1104, 24344, 6902, 3262, 12, 6109, 9053, 279, 9053, 13, 565, 288, 3639, 27931, 9053, 569, 3262, 9053, 273, 279, 9053, 31, 3639, 1323, 261, 1401, 3262, 9053, 480, 446, 7734, 597, 569, 3262, 9053, 18, 588, 559, 1435, 480, 3155, 2016, 18, 16444, 67, 12904, 597, 569, 3262, 9053, 18, 588, 559, 1435, 480, 3155, 2016, 18, 16509, 67, 25878, 67, 12904, 13, 3639, 288, 5411, 569, 3262, 9053, 273, 569, 3262, 9053, 18, 588, 3054, 5621, 3639, 289, 3639, 368, 1158, 4191, 2190, 2379, 35, 3639, 309, 261, 1401, 3262, 9053, 422, 446, 13, 288, 5411, 327, 446, 31, 3639, 289, 3639, 368, 10592, 5381, 35, 3639, 309, 261, 3876, 1989, 18, 267, 2 ]
if (icon != null) { getOut().print("<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0>" + "<TR><TD NOWRAP VALIGN=CENTER>"); if (link_url != null) getOut().print("<A HREF=\"" + link_url + "\">"); getOut().print("<IMG SRC=\"" + icon + "\" BORDER=0 ALIGN=MIDDLE ALT=\"\">"); if (link_url != null) getOut().print("</A>"); getOut().print("</TD><TD VALIGN=CENTER>"); }
if (icon != null) { getOut().print("<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0>" + "<TR><TD NOWRAP VALIGN=CENTER>"); if (link_url != null) getOut().print("<A HREF=\"" + link_url + "\">"); getOut().print("<IMG SRC=\"" + icon + "\" BORDER=0 ALIGN=MIDDLE ALT=\"\">"); if (link_url != null) getOut().print("</A>"); getOut().print("</TD><TD VALIGN=CENTER>"); }
void formatAttachmentBox(InternetHeaders headers, String type, String link_name, String link_url, String body, boolean all_headers_p) { String icon = "internal-gopher-binary"; // #### getOut().print("<CENTER>" + "<TABLE CELLPADDING=8 CELLSPACING=1 BORDER=1>" + "<TR><TD NOWRAP>");//#### Temporarily removed because the current renderer doesn't get it --Edwin if (icon != null) { getOut().print("<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0>" + "<TR><TD NOWRAP VALIGN=CENTER>"); if (link_url != null) getOut().print("<A HREF=\"" + link_url + "\">"); getOut().print("<IMG SRC=\"" + icon + "\" BORDER=0 ALIGN=MIDDLE ALT=\"\">"); if (link_url != null) getOut().print("</A>"); getOut().print("</TD><TD VALIGN=CENTER>"); }//#### End of temporarily removed block --Edwin if (link_url != null) getOut().print("<A HREF=\"" + link_url + "\">"); getOut().print(link_name); if (link_url != null) getOut().print("</A>");//#### Temporarily removed because the current renderer doesn't get it --Edwin if (icon != null) getOut().print("</TD></TR></TABLE>");//#### End of temporarily removed block --Edwin getOut().print("</TD><TD>"); if (all_headers_p) { FullHeaderFormatter formatter = new FullHeaderFormatter(); StringBuffer output = new StringBuffer(200); formatter.formatHeaders(headers, output); getOut().print(output.toString()); } else { String cde[] = headers.getHeader("Content-Description"); String desc = (cde == null || cde.length == 0 ? null : cde[0]); String name = null; ByteBuf buf = new ByteBuf(50); String cdi[] = headers.getHeader("Content-Disposition"); String disp = (cdi == null || cdi.length == 0 ? null : cdi[0]);// #### if (disp != null) name = headers.getHeader("filename", "\n"); if (name == null) if ((type = headers.getHeader("Content-Type", "\n")) != null) name = headers.getHeader("name", "\n"); if (name == null) { String n[] = headers.getHeader("Content-Name"); if (n != null && n.length != 0) name = n[0]; }//#### Temporarily removed because the current renderer doesn't get it --Edwin// getOut().print("<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0>");//// if (name != null)// getOut().print("<TR><TH VALIGN=BASELINE ALIGN=RIGHT NOWRAP>" +// "Name" + // #### l10n// ": </TH><TD>" +// name +// "</TD></TR>");//// if (type != null)// getOut().print("<TR><TH VALIGN=BASELINE ALIGN=RIGHT NOWRAP>" +// "Type" + // #### l10n// ": </TH><TD>" +// type +// "</TD></TR>");//// if (desc != null)// getOut().print("<TR><TH VALIGN=BASELINE ALIGN=RIGHT NOWRAP>" +// "Description" + // #### l10n// ": </TH><TD>" +// desc +// "</TD></TR>");//// getOut().print("</TABLE>");//#### End of temporarily removed block --Edwin//#### Temporarily inserted to get rendering working --Edwin if (name != null) getOut().print("<B>Name: </B>" + name + "<BR>"); if (type != null) getOut().print("<B>Type: </B>" + type + "<BR>"); if (desc != null) getOut().print("<B>Description: </B>" + desc + "<BR>");//#### End of temporarily inserted block --Edwin } if (body != null) {// getOut().print("<P><PRE>"); // #### quote HTML getOut().print(body);// getOut().print("</PRE>"); }// getOut().print("</TD></TR></TABLE></CENTER>"); }
47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/0cc63cb388a13f01532486f9d178811914e6d71b/MimeExternalObjectOperator.java/buggy/grendel/sources/grendel/mime/html/MimeExternalObjectOperator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 918, 740, 6803, 3514, 12, 26562, 3121, 1607, 16, 514, 618, 16, 21821, 514, 1692, 67, 529, 16, 514, 1692, 67, 718, 16, 514, 1417, 16, 21821, 1250, 777, 67, 2485, 67, 84, 13, 288, 565, 514, 4126, 273, 315, 7236, 17, 75, 556, 1614, 17, 8578, 14432, 377, 368, 11849, 7, 565, 23141, 7675, 1188, 2932, 32, 19835, 2984, 397, 5397, 3532, 7775, 385, 2247, 14461, 26710, 33, 28, 385, 2247, 3045, 52, 2226, 1360, 33, 21, 605, 7954, 33, 21, 2984, 397, 5397, 3532, 4349, 4438, 23409, 3741, 27664, 2984, 1769, 759, 1970, 3955, 3831, 10243, 3723, 2724, 326, 783, 5690, 3302, 1404, 336, 518, 1493, 2671, 8082, 565, 309, 261, 3950, 480, 446, 13, 288, 1377, 23141, 7675, 1188, 2932, 32, 7775, 605, 7954, 33, 20, 385, 2247, 14461, 26710, 33, 20, 385, 2247, 3045, 52, 2226, 1360, 33, 20, 2984, 397, 15604, 3532, 4349, 4438, 23409, 3741, 27664, 5143, 10452, 33, 19835, 2984, 1769, 1377, 309, 261, 1232, 67, 718, 480, 446, 13, 3639, 23141, 7675, 1188, 2932, 32, 37, 670, 10771, 13186, 397, 1692, 67, 718, 397, 7023, 2984, 1769, 1377, 23141, 7675, 1188, 2932, 32, 3445, 43, 348, 11529, 13186, 397, 4126, 397, 15604, 7023, 605, 7954, 33, 20, 21892, 33, 49, 25578, 30939, 5189, 21121, 1769, 1377, 309, 261, 1232, 67, 718, 480, 446, 13, 23141, 7675, 1188, 2932, 1757, 37, 2984, 1769, 1377, 23141, 7675, 1188, 2932, 1757, 23409, 4438, 23409, 5143, 10452, 33, 19835, 2984, 1769, 565, 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, 918, 740, 6803, 3514, 12, 26562, 3121, 1607, 16, 514, 618, 16, 21821, 514, 1692, 67, 529, 16, 514, 1692, 67, 718, 16, 514, 1417, 16, 21821, 1250, 777, 67, 2485, 67, 84, 13, 288, 565, 514, 4126, 273, 315, 7236, 17, 75, 556, 1614, 17, 8578, 14432, 377, 368, 11849, 7, 565, 23141, 7675, 1188, 2932, 32, 19835, 2984, 397, 5397, 3532, 7775, 385, 2247, 14461, 26710, 33, 28, 385, 2247, 3045, 52, 2226, 1360, 33, 21, 605, 7954, 33, 21, 2984, 397, 5397, 3532, 4349, 4438, 23409, 3741, 27664, 2984, 1769, 759, 1970, 3955, 3831, 10243, 3723, 2724, 326, 783, 5690, 3302, 1404, 336, 518, 1493, 2671, 8082, 565, 309, 261, 3950, 480, 446, 13, 288, 2 ]
return new String[] { "unijdbc.jar", "asjava_p.zip" };
return new String[] { "unijdbc.jar", "asjava.zip" };
public String[] getUsedLibraries() { return new String[] { "unijdbc.jar", "asjava_p.zip" }; }
58146 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58146/eec2f4bb38a367984e86af258e76d91733bdd923/UniVerseDatabaseMeta.java/clean/kettle/src/be/ibridge/kettle/core/database/UniVerseDatabaseMeta.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 8526, 336, 6668, 31909, 1435, 565, 288, 3639, 327, 394, 514, 8526, 288, 315, 318, 8302, 9137, 18, 11930, 3113, 315, 345, 6290, 18, 4450, 6, 289, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 8526, 336, 6668, 31909, 1435, 565, 288, 3639, 327, 394, 514, 8526, 288, 315, 318, 8302, 9137, 18, 11930, 3113, 315, 345, 6290, 18, 4450, 6, 289, 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 ]
FieldImpl lines = new FieldImpl(lines_type, channel_set);
FieldImpl lines = new FieldImpl(linesType, channelSet);
public void doAction() throws VisADException, RemoteException { Set cell_set = (Set) line_ref.getData(); if (cell_set == null) return; float[][] samples = cell_set.getSamples(); if (samples == null) return; // System.out.println("box (" + samples[0][0] + ", " + samples[1][0] + // ") to (" + samples[0][1] + ", " + samples[1][1] + ")"); float x1 = samples[0][0]; float y1 = samples[1][0]; float x2 = samples[0][1]; float y2 = samples[1][1]; double dist = Math.sqrt((x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2)); int nsamp = (int) (dist + 1.0); if (nsamp < 2) nsamp = 2; float[][] ss = new float[2][nsamp]; for (int i=0; i<nsamp; i++) { float a = ((float) i) / (nsamp - 1.0f); ss[0][i] = x1 + a * (x2 - x1); ss[1][i] = y1 + a * (y2 - y1); } Gridded2DSet line = new Gridded2DSet(fdomain, ss, nsamp); xref.setData(line); FlatField line_field = (FlatField) // big_data.resample(line, Data.WEIGHTED_AVERAGE, Data.NO_ERRORS); big_data.resample(line, Data.NEAREST_NEIGHBOR, Data.NO_ERRORS); float[][] line_samples = line_field.getFloats(false); // [NFILES][nsamp] Linear1DSet point_set = new Linear1DSet(point, 0.0, 1.0, nsamp); Integer1DSet channel_set = new Integer1DSet(channel, NFILES); FieldImpl spectra = new FieldImpl(spectra_type, point_set); for (int i=0; i<nsamp; i++) { FlatField spectrum = new FlatField(spectrum_type, channel_set); float[][] temp = new float[1][NFILES]; for (int j=0; j<NFILES; j++) { temp[0][j] = line_samples[j][i]; } spectrum.setSamples(temp, false); spectra.setSample(i, spectrum); } FieldImpl lines = new FieldImpl(lines_type, channel_set); for (int j=0; j<NFILES; j++) { FlatField linex = new FlatField(line_type, point_set); float[][] temp = new float[1][nsamp]; for (int i=0; i<nsamp; i++) { temp[0][i] = line_samples[j][i]; } linex.setSamples(temp, false); lines.setSample(j, linex); } ref2.setData(new Tuple(new Data[] {spectra, lines})); }
55303 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55303/d3560cf43f33592c964cabbb057bed37fea39a07/MultiLUT.java/clean/loci/MultiLUT.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 918, 741, 1803, 1435, 1216, 8077, 1880, 503, 16, 18361, 288, 3639, 1000, 2484, 67, 542, 273, 261, 694, 13, 980, 67, 1734, 18, 588, 751, 5621, 3639, 309, 261, 3855, 67, 542, 422, 446, 13, 327, 31, 3639, 1431, 63, 6362, 65, 5216, 273, 2484, 67, 542, 18, 588, 13239, 5621, 3639, 309, 261, 7319, 422, 446, 13, 327, 31, 3639, 368, 2332, 18, 659, 18, 8222, 2932, 2147, 7566, 397, 5216, 63, 20, 6362, 20, 65, 397, 3104, 315, 397, 5216, 63, 21, 6362, 20, 65, 397, 3639, 368, 282, 9369, 358, 7566, 397, 5216, 63, 20, 6362, 21, 65, 397, 3104, 315, 397, 5216, 63, 21, 6362, 21, 65, 397, 7310, 1769, 3639, 1431, 619, 21, 273, 5216, 63, 20, 6362, 20, 15533, 3639, 1431, 677, 21, 273, 5216, 63, 21, 6362, 20, 15533, 3639, 1431, 619, 22, 273, 5216, 63, 20, 6362, 21, 15533, 3639, 1431, 677, 22, 273, 5216, 63, 21, 6362, 21, 15533, 3639, 1645, 2411, 273, 2361, 18, 24492, 12443, 92, 21, 300, 619, 22, 13, 380, 261, 92, 21, 300, 619, 22, 13, 397, 261, 93, 21, 300, 677, 22, 13, 380, 261, 93, 21, 300, 677, 22, 10019, 3639, 509, 3153, 931, 273, 261, 474, 13, 261, 4413, 397, 404, 18, 20, 1769, 3639, 309, 261, 2387, 931, 411, 576, 13, 3153, 931, 273, 576, 31, 3639, 1431, 63, 6362, 65, 5202, 273, 394, 1431, 63, 22, 6362, 2387, 931, 15533, 3639, 364, 261, 474, 277, 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, 4202, 1071, 918, 741, 1803, 1435, 1216, 8077, 1880, 503, 16, 18361, 288, 3639, 1000, 2484, 67, 542, 273, 261, 694, 13, 980, 67, 1734, 18, 588, 751, 5621, 3639, 309, 261, 3855, 67, 542, 422, 446, 13, 327, 31, 3639, 1431, 63, 6362, 65, 5216, 273, 2484, 67, 542, 18, 588, 13239, 5621, 3639, 309, 261, 7319, 422, 446, 13, 327, 31, 3639, 368, 2332, 18, 659, 18, 8222, 2932, 2147, 7566, 397, 5216, 63, 20, 6362, 20, 65, 397, 3104, 315, 397, 5216, 63, 21, 6362, 20, 65, 397, 3639, 368, 282, 9369, 358, 7566, 397, 5216, 63, 20, 6362, 21, 65, 397, 3104, 315, 397, 5216, 63, 21, 6362, 21, 65, 397, 7310, 1769, 3639, 1431, 2 ]
if (this == obj) { return getRuby().getTrue(); } else { return (RubyBoolean)funcall(getRuby().intern("=="), obj); } }
if (this == obj) { return getRuby().getTrue(); } else { return (RubyBoolean) funcall(getRuby().intern("=="), obj); } }
public RubyBoolean m_equal(RubyObject obj) { if (this == obj) { return getRuby().getTrue(); } else { return (RubyBoolean)funcall(getRuby().intern("=="), obj); } }
1060 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1060/addcb75d5d86d9b1fd628d84d22b74cfc41f078e/RubyObject.java/buggy/org/jruby/RubyObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 5507, 312, 67, 9729, 12, 54, 10340, 921, 1081, 13, 288, 3639, 309, 261, 2211, 422, 1081, 13, 288, 5411, 327, 4170, 10340, 7675, 588, 5510, 5621, 3639, 289, 469, 288, 5411, 327, 261, 54, 10340, 5507, 13, 644, 454, 12, 588, 54, 10340, 7675, 267, 798, 2932, 31713, 3631, 1081, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 5507, 312, 67, 9729, 12, 54, 10340, 921, 1081, 13, 288, 3639, 309, 261, 2211, 422, 1081, 13, 288, 5411, 327, 4170, 10340, 7675, 588, 5510, 5621, 3639, 289, 469, 288, 5411, 327, 261, 54, 10340, 5507, 13, 644, 454, 12, 588, 54, 10340, 7675, 267, 798, 2932, 31713, 3631, 1081, 1769, 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 ]
public Symbol linkedModule() { return NONE;
public ModuleSymbol linkedModule() { assert isClassType(): "not a class: " + Debug.show(this); return null;
public Symbol linkedModule() { return NONE; }
9617 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9617/8848757a0d9ca8537e72eb29178cb4dbd7142626/Symbol.java/buggy/sources/scalac/symtab/Symbol.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8565, 8459, 3120, 1435, 288, 3639, 327, 11829, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8565, 8459, 3120, 1435, 288, 3639, 327, 11829, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return RubyFloat.m_newFloat(getRuby(), Math.pow(getDoubleValue(), getDoubleValue()));
return RubyFloat.m_newFloat(getRuby(), Math.pow(getDoubleValue(), other.getDoubleValue()));
public RubyNumeric op_pow(RubyNumeric other) { return RubyFloat.m_newFloat(getRuby(), Math.pow(getDoubleValue(), getDoubleValue())); }
47134 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47134/09d14a481cf7e28332c61c038c7d4b468854d38d/RubyFloat.java/clean/org/jruby/RubyFloat.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 9902, 1061, 67, 23509, 12, 54, 10340, 9902, 1308, 13, 288, 3639, 327, 19817, 4723, 18, 81, 67, 2704, 4723, 12, 588, 54, 10340, 9334, 2361, 18, 23509, 12, 588, 5265, 620, 9334, 1308, 18, 588, 5265, 620, 1435, 10019, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 19817, 9902, 1061, 67, 23509, 12, 54, 10340, 9902, 1308, 13, 288, 3639, 327, 19817, 4723, 18, 81, 67, 2704, 4723, 12, 588, 54, 10340, 9334, 2361, 18, 23509, 12, 588, 5265, 620, 9334, 1308, 18, 588, 5265, 620, 1435, 10019, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
}
}
public void logic() { Log4J.startMethod(logger, "logic"); if(aiProfiles.containsKey("heal")) { String[] healing=aiProfiles.get("heal").split(","); int amount=Integer.parseInt(healing[0]); int frequency=Integer.parseInt(healing[1]); if(rp.getTurn()%frequency==0 && getHP()!=getBaseHP()) { if(getHP()+amount<getBaseHP()) { setHP(getHP()+amount); } else { setHP(getBaseHP()); } } } if (getNearestPlayer(30) == null) // if there is no player near and none will see us... { // sleep so we don't waste cpu resources stopAttack(); stop(); if (Debug.CREATURES_DEBUG_SERVER) put("debug","sleep"); aiState = AiState.SLEEP; world.modify(this); return; } // this will keep track of the logic so the client can display it StringBuilder debug = new StringBuilder(100); // are we attacked and we don't attack ourself? if(isAttacked() && target == null) { // Yep, we're attacked clearPath(); // hit the attacker, but prefer players target = getNearestPlayer(8); if (target == null) { target = this.getAttackSource(0); } if (Debug.CREATURES_DEBUG_SERVER) debug.append("attacked;").append(target.getID().getObjectID()).append('|'); logger.debug("Creature("+get("type")+") has been attacked by "+target.get("type")); } else if(target==null || (!target.get("zoneid").equals(get("zoneid")) && world.has(target.getID())) || !world.has(target.getID())) { // no target or current target left the zone (or is dead) if(isAttacking()) { // stop the attack... if (Debug.CREATURES_DEBUG_SERVER) debug.append("cancelattack|"); target=null; clearPath(); stopAttack(); waitRounds = 0; } // ...and find another target target = getNearestPlayer(8); if(target!=null) { logger.debug("Creature("+get("type")+") gets a new target."); if (Debug.CREATURES_DEBUG_SERVER) debug.append("newtarget;").append(target.getID().getObjectID()).append('|'); } } // now we check our current target if (target == null) { // No target, so patrol along if (aiState != AiState.PATROL || !hasPath()) { // Create a patrolpath logger.debug("Creating Path for this entity"); List<Path.Node> nodes = new LinkedList<Path.Node>(); int size = patrolPath.size(); long time = System.nanoTime(); for(int i=0; i<size;i++) { Path.Node actual=patrolPath.get(i); Path.Node next=patrolPath.get((i+1)%size); nodes.addAll(Path.searchPath(this,actual.x+getx(),actual.y+gety(),new Rectangle2D.Double(next.x+getx(),next.y+gety(),1.0,1.0))); } long time2 = System.nanoTime()-time; setPath(nodes,true); if (Debug.CREATURES_DEBUG_SERVER) debug.append("generatepatrolpath;").append(time2).append("|"); } logger.debug("Following path"); if(hasPath()) Path.followPath(this,getSpeed()); aiState = AiState.PATROL; if (Debug.CREATURES_DEBUG_SERVER) debug.append("patrol;").append(pathToString()).append('|'); } else if(distance(target)>18*18) { // target out of reach logger.debug("Attacker is too far. Creature stops attack"); target=null; clearPath(); stopAttack(); stop(); if (Debug.CREATURES_DEBUG_SERVER) debug.append("outofreachstopped|"); } else if(!nextto(target,0.25) && !target.stopped()) { // target not near but in reach and is moving logger.debug("Moving to target. Searching new path"); clearPath(); setMovement(target,0,0, 20.0); moveto(getSpeed()); waitRounds = 0; // clear waitrounds aiState = AiState.APPROACHING_MOVING_TARGET; // update ai state if (Debug.CREATURES_DEBUG_SERVER) { List path = getPath(); if (path != null) { debug.append("targetmoved;").append(pathToString()).append("|"); } } } else if(nextto(target,0.25)) { if (Debug.CREATURES_DEBUG_SERVER) debug.append("attacking|"); // target is near logger.debug("Next to target. Creature stops and attacks"); stop(); attack(target); faceto(target); aiState = AiState.ATTACKING; } else { // target in reach and not moving logger.debug("Moving to target. Creature attacks"); if (Debug.CREATURES_DEBUG_SERVER) debug.append("movetotarget"); // our current Path is blocked...mostly by the target or another attacker if(collided()) { if (Debug.CREATURES_DEBUG_SERVER) debug.append(";blocked"); // invalidate the path and stop clearPath(); stop(); // wait some rounds so the path can be cleared by other creatures // (either they move away or die) waitRounds = WAIT_ROUNDS_BECAUSE_TARGET_IS_BLOCKED; } aiState = AiState.APPROACHING_STOPPED_TARGET; attack(target); faceto(target); // be sure to let the blocking creatures pass before trying to find a // new path if (waitRounds > 0) { if (Debug.CREATURES_DEBUG_SERVER) debug.append(";waiting"); waitRounds--; // HACK: remove collision flag (we're not moving after all) collides(false); clearPath(); } else { // Are we still patrol'ing? if (isPathLoop() || aiState == AiState.PATROL) { // yep, so clear the patrol path clearPath(); } setMovement(target,0,0, 20.0); moveto(getSpeed()); if (Debug.CREATURES_DEBUG_SERVER) debug.append(";newpath"); if (getPath() == null || getPath().size() == 0) // If creature is blocked choose a new target { if (Debug.CREATURES_DEBUG_SERVER) debug.append(";blocked"); logger.debug("Blocked. Choosing a new target."); target=null; clearPath(); stopAttack(); stop(); waitRounds = WAIT_ROUNDS_BECAUSE_TARGET_IS_BLOCKED; } else { if (Debug.CREATURES_DEBUG_SERVER) debug.append(';').append(getPath()); } } if (Debug.CREATURES_DEBUG_SERVER) debug.append(";dummy|"); } if(!stopped()) { StendhalRPAction.move(this); } if(rp.getTurn()%5==attackTurn && isAttacking()) { StendhalRPAction.attack(this,getAttackTarget()); if( getAttackTarget()!=null && nextto(getAttackTarget(),0.25)) { if(aiProfiles.containsKey("poisonous")) { int roll=Rand.roll1D100(); String[] poison=aiProfiles.get("poisonous").split(","); int prob= Integer.parseInt(poison[0]); String poisonType=poison[1]; if(roll<=prob) { ConsumableItem item=(ConsumableItem)world.getRuleManager().getEntityManager().getItem(poisonType); if(item==null) { logger.error("Creature unable to poisoning with "+poisonType); } else { RPEntity entity=getAttackTarget(); if(entity instanceof Player) { Player player=(Player)entity; if(!player.isPoisoned() && player.poison(item)) { rp.addGameEvent(getName(),"poison",player.getName()); player.setPrivateText("You have been poisoned by a "+getName()); rp.removePlayerText(player); } } } } } } } if(Rand.roll1D100()==1 && noises.size()>0) { // Random sound noises. int pos=Rand.rand(noises.size()); say(noises.get(pos)); } if (Debug.CREATURES_DEBUG_SERVER) put("debug",debug.toString()); world.modify(this); Log4J.finishMethod(logger, "logic"); }
4438 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4438/2fde1e280a947dddab3f2a402a2927ea6b087d81/Creature.java/buggy/src/games/stendhal/server/entity/creature/Creature.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 4058, 1435, 565, 288, 565, 1827, 24, 46, 18, 1937, 1305, 12, 4901, 16, 315, 28339, 8863, 565, 309, 12, 10658, 12450, 18, 12298, 653, 2932, 580, 287, 6, 3719, 1377, 288, 1377, 514, 8526, 3904, 287, 310, 33, 10658, 12450, 18, 588, 2932, 580, 287, 20387, 4939, 2932, 16, 8863, 1377, 509, 3844, 33, 4522, 18, 2670, 1702, 12, 580, 287, 310, 63, 20, 19226, 1377, 509, 8670, 33, 4522, 18, 2670, 1702, 12, 580, 287, 310, 63, 21, 19226, 5411, 309, 12, 13832, 18, 588, 15858, 1435, 9, 14092, 631, 20, 597, 336, 2500, 1435, 5, 33, 588, 2171, 2500, 10756, 3639, 288, 3639, 309, 12, 588, 2500, 1435, 15, 8949, 32, 588, 2171, 2500, 10756, 1850, 288, 1850, 444, 2500, 12, 588, 2500, 1435, 15, 8949, 1769, 5397, 289, 540, 469, 1850, 288, 1850, 444, 2500, 12, 588, 2171, 2500, 10663, 6647, 289, 1850, 289, 3639, 289, 377, 309, 261, 588, 28031, 12148, 12, 5082, 13, 422, 446, 13, 368, 309, 1915, 353, 1158, 7291, 13378, 471, 6555, 903, 2621, 584, 2777, 4202, 288, 1377, 368, 5329, 1427, 732, 2727, 1404, 341, 14725, 8326, 2703, 1377, 2132, 3075, 484, 5621, 1377, 2132, 5621, 1377, 309, 261, 2829, 18, 5458, 10511, 55, 67, 9394, 67, 4370, 13, 3639, 1378, 2932, 4148, 15937, 19607, 8863, 1377, 14679, 1119, 273, 432, 77, 1119, 18, 55, 900, 10541, 31, 1377, 9117, 18, 17042, 12, 2211, 1769, 1377, 327, 31, 4202, 289, 377, 368, 333, 903, 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, 4058, 1435, 565, 288, 565, 1827, 24, 46, 18, 1937, 1305, 12, 4901, 16, 315, 28339, 8863, 565, 309, 12, 10658, 12450, 18, 12298, 653, 2932, 580, 287, 6, 3719, 1377, 288, 1377, 514, 8526, 3904, 287, 310, 33, 10658, 12450, 18, 588, 2932, 580, 287, 20387, 4939, 2932, 16, 8863, 1377, 509, 3844, 33, 4522, 18, 2670, 1702, 12, 580, 287, 310, 63, 20, 19226, 1377, 509, 8670, 33, 4522, 18, 2670, 1702, 12, 580, 287, 310, 63, 21, 19226, 5411, 309, 12, 13832, 18, 588, 15858, 1435, 9, 14092, 631, 20, 597, 336, 2500, 1435, 5, 33, 588, 2171, 2500, 10756, 3639, 288, 3639, 309, 12, 588, 2500, 1435, 15, 8949, 32, 588, 2171, 2 ]
if(Policy.TRACING_PAGE_CLOSE)
if ( Policy.TRACING_PAGE_CLOSE )
protected void finalize( ) throws Throwable { if(Policy.TRACING_PAGE_CLOSE) { System.out.println("Report multi page finalized" ); //$NON-NLS-1$ } super.finalize( ); }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/6f2bf55f121981dcb9b70c8145124efef6d7ada0/MultiPageReportEditor.java/clean/UI/org.eclipse.birt.report.designer.ui.editors/src/org/eclipse/birt/report/designer/ui/editors/MultiPageReportEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 12409, 12, 262, 1216, 4206, 202, 95, 202, 202, 430, 12, 2582, 18, 4349, 2226, 1360, 67, 11219, 67, 13384, 13, 202, 202, 95, 1082, 202, 3163, 18, 659, 18, 8222, 2932, 4820, 3309, 1363, 727, 1235, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 202, 202, 9565, 18, 30343, 12, 11272, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 918, 12409, 12, 262, 1216, 4206, 202, 95, 202, 202, 430, 12, 2582, 18, 4349, 2226, 1360, 67, 11219, 67, 13384, 13, 202, 202, 95, 1082, 202, 3163, 18, 659, 18, 8222, 2932, 4820, 3309, 1363, 727, 1235, 6, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 202, 202, 9565, 18, 30343, 12, 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, -100 ]
public org.quickfix.field.UnderlyingInstrRegistry getUnderlyingInstrRegistry() throws FieldNotFound { org.quickfix.field.UnderlyingInstrRegistry value = new org.quickfix.field.UnderlyingInstrRegistry();
public quickfix.field.UnderlyingInstrRegistry getUnderlyingInstrRegistry() throws FieldNotFound { quickfix.field.UnderlyingInstrRegistry value = new quickfix.field.UnderlyingInstrRegistry();
public org.quickfix.field.UnderlyingInstrRegistry getUnderlyingInstrRegistry() throws FieldNotFound { org.quickfix.field.UnderlyingInstrRegistry value = new org.quickfix.field.UnderlyingInstrRegistry(); getField(value); return value; }
5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/CollateralRequest.java/clean/src/java/src/quickfix/fix44/CollateralRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 382, 701, 4243, 10833, 765, 6291, 382, 701, 4243, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 382, 701, 4243, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 382, 701, 4243, 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, 14655, 6291, 382, 701, 4243, 10833, 765, 6291, 382, 701, 4243, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 382, 701, 4243, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 14655, 6291, 382, 701, 4243, 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 ]
assertTrue("Created incorrect HashSet", hs2.size() == 0);
assertEquals("Created incorrect HashSet", 0, hs2.size());
public void test_ConstructorIF() { // Test for method java.util.HashSet(int, float) HashSet hs2 = new HashSet(5, (float) 0.5); assertTrue("Created incorrect HashSet", hs2.size() == 0); try { new HashSet(0, 0); } catch (IllegalArgumentException e) { return; } fail( "Failed to throw IllegalArgumentException for initial load factor <= 0"); }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/181e940cd92dfff67639d98e991206d375a987ea/HashSetTest.java/buggy/modules/luni/src/test/java/tests/api/java/util/HashSetTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 67, 6293, 5501, 1435, 288, 202, 202, 759, 7766, 364, 707, 2252, 18, 1367, 18, 13482, 12, 474, 16, 1431, 13, 202, 202, 13482, 12670, 22, 273, 394, 6847, 12, 25, 16, 261, 5659, 13, 374, 18, 25, 1769, 202, 202, 11231, 5510, 2932, 6119, 11332, 6847, 3113, 12670, 22, 18, 1467, 1435, 422, 374, 1769, 202, 202, 698, 288, 1082, 202, 2704, 6847, 12, 20, 16, 374, 1769, 202, 202, 97, 1044, 261, 31237, 425, 13, 288, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 6870, 12, 9506, 202, 6, 2925, 358, 604, 2754, 364, 2172, 1262, 5578, 1648, 374, 8863, 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, 918, 1842, 67, 6293, 5501, 1435, 288, 202, 202, 759, 7766, 364, 707, 2252, 18, 1367, 18, 13482, 12, 474, 16, 1431, 13, 202, 202, 13482, 12670, 22, 273, 394, 6847, 12, 25, 16, 261, 5659, 13, 374, 18, 25, 1769, 202, 202, 11231, 5510, 2932, 6119, 11332, 6847, 3113, 12670, 22, 18, 1467, 1435, 422, 374, 1769, 202, 202, 698, 288, 1082, 202, 2704, 6847, 12, 20, 16, 374, 1769, 202, 202, 97, 1044, 261, 31237, 425, 13, 288, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 6870, 12, 9506, 202, 6, 2925, 358, 604, 2754, 364, 2172, 1262, 5578, 1648, 374, 8863, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
XmlDataDAO var = scope.getVariable(varName); if (var == null) { throw new InvalidRequestException("VarNotFound:" + varName); }
XmlDataDAO var = scope.getVariable(varName); if (var == null) { throw new InvalidRequestException("VarNotFound:" + varName); }
public VariableInfoDocument getVariableInfo(final String scopeId, final String varName) throws ManagementException { VariableInfoDocument ret = VariableInfoDocument.Factory.newInstance(); final TVariableInfo vinf = ret.addNewVariableInfo(); final TVariableRef sref = vinf.addNewSelf(); dbexec(new BpelDatabase.Callable<Object>() { public Object run(BpelDAOConnection session) throws Exception { ScopeDAO scope = session.getScope(new Long(scopeId)); if (scope == null) { throw new InvalidRequestException("ScopeNotFound:" + scopeId); } sref.setSiid(scopeId); sref.setIid(scope.getProcessInstance().getInstanceId().toString()); sref.setName(varName ); XmlDataDAO var = scope.getVariable(varName); if (var == null) { throw new InvalidRequestException("VarNotFound:" + varName); } Node nval = var.get(); if (nval != null) { TVariableInfo.Value val = vinf.addNewValue(); val.getDomNode().appendChild( val.getDomNode().getOwnerDocument().importNode(nval,true)); } return null; } }); return ret; }
45373 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45373/40604da2488c0e0e9de3a307e5a05bd456b9a02a/ProcessAndInstanceManagementImpl.java/buggy/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/ProcessAndInstanceManagementImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 7110, 966, 2519, 13522, 966, 12, 6385, 514, 2146, 548, 16, 727, 514, 13722, 13, 1850, 1216, 13303, 503, 288, 565, 7110, 966, 2519, 325, 273, 7110, 966, 2519, 18, 1733, 18, 2704, 1442, 5621, 565, 727, 399, 3092, 966, 331, 10625, 273, 325, 18, 1289, 1908, 3092, 966, 5621, 565, 727, 399, 3092, 1957, 272, 1734, 273, 331, 10625, 18, 1289, 1908, 10084, 5621, 565, 1319, 4177, 12, 2704, 605, 84, 292, 4254, 18, 11452, 32, 921, 34, 1435, 225, 288, 1377, 1071, 1033, 1086, 12, 38, 84, 292, 18485, 1952, 1339, 13, 1216, 1185, 288, 3639, 5468, 18485, 2146, 273, 1339, 18, 588, 3876, 12, 2704, 3407, 12, 4887, 548, 10019, 3639, 309, 261, 4887, 422, 446, 13, 288, 1850, 604, 394, 22636, 2932, 3876, 2768, 2773, 397, 2146, 548, 1769, 3639, 289, 3639, 272, 1734, 18, 542, 55, 77, 350, 12, 4887, 548, 1769, 3639, 272, 1734, 18, 542, 45, 350, 12, 4887, 18, 588, 2227, 1442, 7675, 588, 15327, 7675, 10492, 10663, 3639, 272, 1734, 18, 542, 461, 12, 1401, 461, 11272, 3639, 5714, 751, 18485, 569, 273, 2146, 18, 588, 3092, 12, 1401, 461, 1769, 3639, 309, 261, 1401, 422, 446, 13, 288, 1850, 604, 394, 22636, 2932, 1537, 2768, 2773, 397, 13722, 1769, 3639, 289, 3639, 2029, 290, 1125, 273, 569, 18, 588, 5621, 3639, 309, 261, 82, 1125, 480, 446, 13, 288, 1850, 399, 3092, 966, 18, 620, 1244, 273, 331, 10625, 18, 1289, 1908, 620, 5621, 1850, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 7110, 966, 2519, 13522, 966, 12, 6385, 514, 2146, 548, 16, 727, 514, 13722, 13, 1850, 1216, 13303, 503, 288, 565, 7110, 966, 2519, 325, 273, 7110, 966, 2519, 18, 1733, 18, 2704, 1442, 5621, 565, 727, 399, 3092, 966, 331, 10625, 273, 325, 18, 1289, 1908, 3092, 966, 5621, 565, 727, 399, 3092, 1957, 272, 1734, 273, 331, 10625, 18, 1289, 1908, 10084, 5621, 565, 1319, 4177, 12, 2704, 605, 84, 292, 4254, 18, 11452, 32, 921, 34, 1435, 225, 288, 1377, 1071, 1033, 1086, 12, 38, 84, 292, 18485, 1952, 1339, 13, 1216, 1185, 288, 3639, 5468, 18485, 2146, 273, 1339, 18, 588, 3876, 12, 2704, 3407, 12, 4887, 548, 10019, 3639, 309, 261, 4887, 2 ]
evaluator.getSourceName(), evaluator.getLineNumber());
evaluator.sourceName(), evaluator.lineNumber());
public static Object getCatchObject(Context cx, Scriptable scope, Throwable t) throws JavaScriptException { EvaluatorException evaluator = null; if (t instanceof EvaluatorException) { evaluator = (EvaluatorException)t; while (t instanceof WrappedException) { t = ((WrappedException)t).getWrappedException(); } } if (t instanceof JavaScriptException) { return ((JavaScriptException)t).getValue(); } else if (t instanceof EcmaError) { EcmaError ee = (EcmaError)t; String errorName = ee.getName(); return makeErrorObject(cx, scope, errorName, ee.getErrorMessage(), ee.getSourceName(), ee.getLineNumber()); } else if (evaluator == null) { // Script can catch only instances of JavaScriptException, // EcmaError and EvaluatorException Kit.codeBug(); } if (t != evaluator && t instanceof EvaluatorException) { // ALERT: it should not happen as throwAsUncheckedException // takes care about it when exception is propagated through Java // reflection calls, but for now check for it evaluator = (EvaluatorException)t; } String errorName; String message; if (t == evaluator) { // Pure evaluator exception if (evaluator instanceof WrappedException) Kit.codeBug(); message = evaluator.getMessage(); errorName = "InternalError"; } else { errorName = "JavaException"; message = t.getClass().getName()+": "+t.getMessage(); } Scriptable errorObject = makeErrorObject(cx, scope, errorName, message, evaluator.getSourceName(), evaluator.getLineNumber()); if (t != evaluator) { Object twrap = cx.getWrapFactory().wrap(cx, scope, t, null); ScriptableObject.putProperty(errorObject, "javaException", twrap); } return errorObject; }
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/b538849b5b431bc21e58fb6e0fc818f0a017ed10/ScriptRuntime.java/buggy/js/rhino/src/org/mozilla/javascript/ScriptRuntime.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1033, 1927, 505, 921, 12, 1042, 9494, 16, 22780, 2146, 16, 4766, 3639, 4206, 268, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 31956, 503, 18256, 273, 446, 31, 3639, 309, 261, 88, 1276, 31956, 503, 13, 288, 5411, 18256, 273, 261, 15876, 503, 13, 88, 31, 5411, 1323, 261, 88, 1276, 24506, 503, 13, 288, 7734, 268, 273, 14015, 17665, 503, 13, 88, 2934, 588, 17665, 503, 5621, 5411, 289, 3639, 289, 3639, 309, 261, 88, 1276, 11905, 503, 13, 288, 5411, 327, 14015, 16634, 503, 13, 88, 2934, 24805, 5621, 3639, 289, 469, 309, 261, 88, 1276, 20840, 2540, 668, 13, 288, 5411, 20840, 2540, 668, 14657, 273, 261, 23057, 2540, 668, 13, 88, 31, 5411, 514, 555, 461, 273, 14657, 18, 17994, 5621, 5411, 327, 25873, 921, 12, 71, 92, 16, 2146, 16, 555, 461, 16, 14657, 18, 588, 14935, 9334, 4766, 282, 14657, 18, 588, 1830, 461, 9334, 14657, 18, 588, 31063, 10663, 3639, 289, 469, 309, 261, 14168, 639, 422, 446, 13, 288, 5411, 368, 7739, 848, 1044, 1338, 3884, 434, 11905, 503, 16, 5411, 368, 20840, 2540, 668, 471, 31956, 503, 5411, 1475, 305, 18, 710, 19865, 5621, 3639, 289, 3639, 309, 261, 88, 480, 18256, 597, 268, 1276, 31956, 503, 13, 288, 5411, 368, 7981, 11539, 30, 518, 1410, 486, 5865, 487, 604, 1463, 984, 4532, 503, 5411, 368, 5530, 7671, 2973, 518, 1347, 1520, 353, 29786, 3059, 5110, 5411, 368, 5463, 4097, 16, 1496, 364, 2037, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1033, 1927, 505, 921, 12, 1042, 9494, 16, 22780, 2146, 16, 4766, 3639, 4206, 268, 13, 3639, 1216, 11905, 503, 565, 288, 3639, 31956, 503, 18256, 273, 446, 31, 3639, 309, 261, 88, 1276, 31956, 503, 13, 288, 5411, 18256, 273, 261, 15876, 503, 13, 88, 31, 5411, 1323, 261, 88, 1276, 24506, 503, 13, 288, 7734, 268, 273, 14015, 17665, 503, 13, 88, 2934, 588, 17665, 503, 5621, 5411, 289, 3639, 289, 3639, 309, 261, 88, 1276, 11905, 503, 13, 288, 5411, 327, 14015, 16634, 503, 13, 88, 2934, 24805, 5621, 3639, 289, 469, 309, 261, 88, 1276, 20840, 2540, 668, 13, 288, 5411, 20840, 2540, 668, 14657, 273, 261, 23057, 2540, 668, 13, 88, 2 ]
AST tmp1932_AST_in = (AST)_t;
AST tmp1935_AST_in = (AST)_t;
public final void datatype_var(AST _t) throws RecognitionException { AST datatype_var_AST_in = (_t == ASTNULL) ? null : (AST)_t; if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case CHARACTER: { AST tmp1921_AST_in = (AST)_t; match(_t,CHARACTER); _t = _t.getNextSibling(); break; } case COMHANDLE: { AST tmp1922_AST_in = (AST)_t; match(_t,COMHANDLE); _t = _t.getNextSibling(); break; } case DATE: { AST tmp1923_AST_in = (AST)_t; match(_t,DATE); _t = _t.getNextSibling(); break; } case DATETIME: { AST tmp1924_AST_in = (AST)_t; match(_t,DATETIME); _t = _t.getNextSibling(); break; } case DATETIMETZ: { AST tmp1925_AST_in = (AST)_t; match(_t,DATETIMETZ); _t = _t.getNextSibling(); break; } case DECIMAL: { AST tmp1926_AST_in = (AST)_t; match(_t,DECIMAL); _t = _t.getNextSibling(); break; } case HANDLE: { AST tmp1927_AST_in = (AST)_t; match(_t,HANDLE); _t = _t.getNextSibling(); break; } case INTEGER: { AST tmp1928_AST_in = (AST)_t; match(_t,INTEGER); _t = _t.getNextSibling(); break; } case LOGICAL: { AST tmp1929_AST_in = (AST)_t; match(_t,LOGICAL); _t = _t.getNextSibling(); break; } case LONGCHAR: { AST tmp1930_AST_in = (AST)_t; match(_t,LONGCHAR); _t = _t.getNextSibling(); break; } case MEMPTR: { AST tmp1931_AST_in = (AST)_t; match(_t,MEMPTR); _t = _t.getNextSibling(); break; } case RAW: { AST tmp1932_AST_in = (AST)_t; match(_t,RAW); _t = _t.getNextSibling(); break; } case RECID: { AST tmp1933_AST_in = (AST)_t; match(_t,RECID); _t = _t.getNextSibling(); break; } case ROWID: { AST tmp1934_AST_in = (AST)_t; match(_t,ROWID); _t = _t.getNextSibling(); break; } case TYPE_NAME: { AST tmp1935_AST_in = (AST)_t; match(_t,TYPE_NAME); _t = _t.getNextSibling(); break; } case WIDGETHANDLE: { AST tmp1936_AST_in = (AST)_t; match(_t,WIDGETHANDLE); _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/TreeParser03.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparser03/TreeParser03.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 11172, 67, 1401, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 11172, 67, 1401, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 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, 27517, 30, 202, 202, 95, 1082, 202, 9053, 1853, 3657, 5340, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 27858, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 5423, 23056, 30, 202, 202, 95, 1082, 202, 9053, 1853, 3657, 3787, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 4208, 23056, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 11457, 30, 202, 202, 95, 1082, 202, 9053, 1853, 3657, 4366, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 4594, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 1082, 202, 8820, 31, 202, 202, 97, 202, 202, 3593, 31337, 30, 202, 202, 95, 1082, 202, 9053, 1853, 3657, 3247, 67, 9053, 67, 267, 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, 727, 918, 11172, 67, 1401, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 11172, 67, 1401, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 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, 27517, 30, 202, 202, 95, 1082, 202, 9053, 1853, 3657, 5340, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 1082, 202, 1916, 24899, 88, 16, 27858, 1769, 1082, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 1082, 202, 8820, 31, 202, 2 ]
private void cleanIterator(Iterator<? extends OsmPrimitive> it, Collection<OsmPrimitive> processed) { OsmPrimitive osm = it.next();
private void cleanIterator(final Iterator<? extends OsmPrimitive> it, final Collection<OsmPrimitive> processed) { final OsmPrimitive osm = it.next();
private void cleanIterator(Iterator<? extends OsmPrimitive> it, Collection<OsmPrimitive> processed) { OsmPrimitive osm = it.next(); if (!processed.remove(osm)) return; osm.modified = false; if (osm.deleted) it.remove(); }
2204 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2204/65d8ba1e1c7192a02b1c996304587a81a85155f1/OsmDataLayer.java/buggy/src/org/openstreetmap/josm/gui/layer/OsmDataLayer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 2721, 3198, 12, 3198, 12880, 3231, 531, 4808, 9840, 34, 518, 16, 2200, 32, 51, 4808, 9840, 34, 5204, 13, 288, 202, 202, 51, 4808, 9840, 1140, 81, 273, 518, 18, 4285, 5621, 202, 202, 430, 16051, 11005, 18, 4479, 12, 538, 81, 3719, 1082, 202, 2463, 31, 202, 202, 538, 81, 18, 7342, 273, 629, 31, 202, 202, 430, 261, 538, 81, 18, 8600, 13, 1082, 202, 305, 18, 4479, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 2721, 3198, 12, 3198, 12880, 3231, 531, 4808, 9840, 34, 518, 16, 2200, 32, 51, 4808, 9840, 34, 5204, 13, 288, 202, 202, 51, 4808, 9840, 1140, 81, 273, 518, 18, 4285, 5621, 202, 202, 430, 16051, 11005, 18, 4479, 12, 538, 81, 3719, 1082, 202, 2463, 31, 202, 202, 538, 81, 18, 7342, 273, 629, 31, 202, 202, 430, 261, 538, 81, 18, 8600, 13, 1082, 202, 305, 18, 4479, 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 ]
float logScore = scoreable.calculateScore(data, false);
float logScore = scoreable.calculateScore(data, false, 1.0f);
public Scoreable calculateScores(List scoreableList) { assert scoreableList.size() > 0; try { FrontEnd frontEnd = getFrontEnd(scoreableList); Data data = frontEnd.getData(); if (data == null) { return null; } if (data instanceof DataStartSignal) { data = frontEnd.getData(); if (data == null) { return null; } } if (data instanceof DataEndSignal) { return null; } if (data instanceof Signal) { throw new Error("trying to score non-content feature"); } float logMaxScore = -Float.MAX_VALUE; Scoreable bestScoreable = null; for (Iterator i = scoreableList.iterator(); i.hasNext(); ) { Scoreable scoreable = (Scoreable) i.next(); float logScore = scoreable.calculateScore(data, false); if (logScore > logMaxScore) { logMaxScore = logScore; bestScoreable = scoreable; } } return bestScoreable; } catch (DataProcessingException dpe) { dpe.printStackTrace(); return null; } }
8350 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8350/cb6b96cc5b3f2ae97409e47ec9a31c2ca75d4087/ParallelAcousticScorer.java/buggy/edu/cmu/sphinx/research/parallel/ParallelAcousticScorer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 20671, 429, 4604, 20037, 12, 682, 4462, 429, 682, 13, 288, 3639, 1815, 4462, 429, 682, 18, 1467, 1435, 405, 374, 31, 540, 202, 202, 698, 288, 202, 565, 16465, 1638, 6641, 1638, 273, 2812, 86, 1580, 1638, 12, 6355, 429, 682, 1769, 202, 565, 1910, 501, 273, 6641, 1638, 18, 588, 751, 5621, 202, 3196, 565, 309, 261, 892, 422, 446, 13, 288, 7734, 327, 446, 31, 5411, 289, 202, 565, 309, 261, 892, 1276, 1910, 1685, 11208, 13, 288, 7734, 501, 273, 6641, 1638, 18, 588, 751, 5621, 7734, 309, 261, 892, 422, 446, 13, 288, 10792, 327, 446, 31, 7734, 289, 202, 565, 289, 202, 565, 309, 261, 892, 1276, 1910, 1638, 11208, 13, 288, 202, 202, 2463, 446, 31, 202, 565, 289, 5411, 309, 261, 892, 1276, 12032, 13, 288, 7734, 604, 394, 1068, 2932, 698, 310, 358, 4462, 1661, 17, 1745, 2572, 8863, 5411, 289, 5411, 1431, 613, 2747, 7295, 273, 300, 4723, 18, 6694, 67, 4051, 31, 202, 565, 20671, 429, 3796, 7295, 429, 273, 446, 31, 202, 565, 364, 261, 3198, 277, 273, 4462, 429, 682, 18, 9838, 5621, 277, 18, 5332, 2134, 5621, 262, 288, 7734, 20671, 429, 4462, 429, 273, 261, 7295, 429, 13, 277, 18, 4285, 5621, 7734, 1431, 613, 7295, 273, 225, 4462, 429, 18, 11162, 7295, 12, 892, 16, 629, 16, 404, 18, 20, 74, 1769, 7734, 309, 261, 1330, 7295, 405, 613, 2747, 7295, 13, 288, 10792, 613, 2747, 7295, 273, 613, 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, 20671, 429, 4604, 20037, 12, 682, 4462, 429, 682, 13, 288, 3639, 1815, 4462, 429, 682, 18, 1467, 1435, 405, 374, 31, 540, 202, 202, 698, 288, 202, 565, 16465, 1638, 6641, 1638, 273, 2812, 86, 1580, 1638, 12, 6355, 429, 682, 1769, 202, 565, 1910, 501, 273, 6641, 1638, 18, 588, 751, 5621, 202, 3196, 565, 309, 261, 892, 422, 446, 13, 288, 7734, 327, 446, 31, 5411, 289, 202, 565, 309, 261, 892, 1276, 1910, 1685, 11208, 13, 288, 7734, 501, 273, 6641, 1638, 18, 588, 751, 5621, 7734, 309, 261, 892, 422, 446, 13, 288, 10792, 327, 446, 31, 7734, 289, 202, 565, 289, 202, 565, 309, 261, 892, 1276, 1910, 1638, 11208, 13, 2 ]
listBytes -= (((byte[]) o).length + 16);
listBytes -= (((byte[]) o).length + LINE_OVERHEAD);
public void run() { File currentFilename = null; Object o = null; long thisTime = System.currentTimeMillis(); long lastTime = -1; long startTime = -1; long nextHour = -1; GregorianCalendar gc = null; String filename = null; if (baseFilename != null) { latestFile = new File(baseFilename+"-latest.log"); previousFile = new File(baseFilename+"-previous.log"); findOldLogFiles(); gc = new GregorianCalendar(); switch (INTERVAL) { case Calendar.YEAR : gc.set(Calendar.MONTH, 0); case Calendar.MONTH : gc.set(Calendar.DAY_OF_MONTH, 0); case Calendar.WEEK_OF_YEAR : if (INTERVAL == Calendar.WEEK_OF_YEAR) gc.set(Calendar.DAY_OF_WEEK, 0); case Calendar.DAY_OF_MONTH : gc.set(Calendar.HOUR, 0); case Calendar.HOUR : gc.set(Calendar.MINUTE, 0); case Calendar.MINUTE : gc.set(Calendar.SECOND, 0); gc.set(Calendar.MILLISECOND, 0); } if(INTERVAL_MULTIPLIER > 1) { int x = gc.get(INTERVAL); gc.set(INTERVAL, (x / INTERVAL_MULTIPLIER) * INTERVAL_MULTIPLIER); } filename = getHourLogName(gc, true); currentFilename = new File(filename); synchronized(logFiles) { if((!logFiles.isEmpty()) && ((OldLogFile)logFiles.getLast()).filename.equals(currentFilename)) { logFiles.removeLast(); } } logStream = openNewLogFile(currentFilename, true); if(latestFile != null) { altLogStream = openNewLogFile(latestFile, false); } System.err.println("Created log files"); startTime = gc.getTimeInMillis(); if(Logger.shouldLog(Logger.MINOR, this)) Logger.minor(this, "Start time: "+gc+" -> "+startTime); lastTime = startTime; gc.add(INTERVAL, INTERVAL_MULTIPLIER); nextHour = gc.getTimeInMillis(); } while (true) { try { thisTime = System.currentTimeMillis(); if (baseFilename != null) { if ((thisTime > nextHour) || switchedBaseFilename) { // Switch logs try { logStream.flush(); if(altLogStream != null) altLogStream.flush(); } catch (IOException e) { System.err.println( "Flushing on change caught " + e); } try { logStream.close(); } catch (IOException e) { System.err.println( "Closing on change caught " + e); } long length = currentFilename.length(); OldLogFile olf = new OldLogFile(currentFilename, lastTime, nextHour, length); lastTime = nextHour; synchronized(logFiles) { logFiles.addLast(olf); } oldLogFilesDiskSpaceUsage += length; trimOldLogFiles(); // Rotate primary log stream filename = getHourLogName(gc, true); currentFilename = new File(filename); logStream = openNewLogFile(new File(filename), true); if(latestFile != null) { try { altLogStream.close(); } catch (IOException e) { System.err.println( "Closing alt on change caught " + e); } if(previousFile != null) { previousFile.delete(); latestFile.renameTo(previousFile); latestFile.delete(); } else { latestFile.delete(); } altLogStream = openNewLogFile(latestFile, false); } //System.err.println("Rotated log files: "+filename); //System.err.println("Almost rotated"); gc.add(INTERVAL, INTERVAL_MULTIPLIER); nextHour = gc.getTimeInMillis(); //System.err.println("Rotated"); if(switchedBaseFilename) { synchronized(FileLoggerHook.class) { switchedBaseFilename = false; } } } } if(list.size() == 0) { if(currentFilename == null) myWrite(logStream, null); if(altLogStream != null) myWrite(altLogStream, null); } synchronized (list) { while (list.size() == 0) { if (closed) { return; } try { list.wait(500); } catch (InterruptedException e) { // Ignored. } } o = list.removeFirst(); listBytes -= (((byte[]) o).length + 16); } myWrite(logStream, ((byte[]) o)); if(altLogStream != null) myWrite(altLogStream, (byte[]) o); } catch (OutOfMemoryError e) { // FIXME //freenet.node.Main.dumpInterestingObjects(); } catch (Throwable t) { System.err.println("FileLoggerHook log writer caught " + t); t.printStackTrace(System.err); } } }
46731 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46731/9b1bb1a9ad1d6588e535ae5c7c88adc48f5f751d/FileLoggerHook.java/buggy/src/freenet/support/FileLoggerHook.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 1086, 1435, 288, 1082, 202, 812, 783, 5359, 273, 446, 31, 1082, 202, 921, 320, 273, 446, 31, 1082, 202, 5748, 333, 950, 273, 2332, 18, 2972, 28512, 5621, 1082, 202, 5748, 31323, 273, 300, 21, 31, 1082, 202, 5748, 8657, 273, 300, 21, 31, 1082, 202, 5748, 1024, 13433, 273, 300, 21, 31, 1082, 202, 31560, 7335, 8859, 273, 446, 31, 1082, 202, 780, 1544, 273, 446, 31, 1082, 202, 430, 261, 1969, 5359, 480, 446, 13, 288, 9506, 202, 13550, 812, 273, 394, 1387, 12, 1969, 5359, 9078, 17, 13550, 18, 1330, 8863, 9506, 202, 11515, 812, 273, 394, 1387, 12, 1969, 5359, 9078, 17, 11515, 18, 1330, 8863, 9506, 202, 4720, 7617, 1343, 2697, 5621, 9506, 202, 13241, 273, 394, 28033, 5621, 9506, 202, 9610, 261, 16435, 13, 288, 6862, 202, 3593, 5542, 18, 15137, 294, 25083, 202, 13241, 18, 542, 12, 7335, 18, 13942, 16, 374, 1769, 6862, 202, 3593, 5542, 18, 13942, 294, 25083, 202, 13241, 18, 542, 12, 7335, 18, 10339, 67, 3932, 67, 13942, 16, 374, 1769, 6862, 202, 3593, 5542, 18, 20274, 67, 3932, 67, 15137, 294, 25083, 202, 430, 261, 16435, 422, 5542, 18, 20274, 67, 3932, 67, 15137, 13, 6862, 1082, 202, 13241, 18, 542, 12, 7335, 18, 10339, 67, 3932, 67, 20274, 16, 374, 1769, 6862, 202, 3593, 5542, 18, 10339, 67, 3932, 67, 13942, 294, 25083, 202, 13241, 18, 542, 12, 7335, 18, 21372, 16, 374, 1769, 6862, 202, 3593, 5542, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 918, 1086, 1435, 288, 1082, 202, 812, 783, 5359, 273, 446, 31, 1082, 202, 921, 320, 273, 446, 31, 1082, 202, 5748, 333, 950, 273, 2332, 18, 2972, 28512, 5621, 1082, 202, 5748, 31323, 273, 300, 21, 31, 1082, 202, 5748, 8657, 273, 300, 21, 31, 1082, 202, 5748, 1024, 13433, 273, 300, 21, 31, 1082, 202, 31560, 7335, 8859, 273, 446, 31, 1082, 202, 780, 1544, 273, 446, 31, 1082, 202, 430, 261, 1969, 5359, 480, 446, 13, 288, 9506, 202, 13550, 812, 273, 394, 1387, 12, 1969, 5359, 9078, 17, 13550, 18, 1330, 8863, 9506, 202, 11515, 812, 273, 394, 1387, 12, 1969, 5359, 9078, 17, 11515, 18, 1330, 8863, 9506, 202, 4720, 7617, 2 ]
public Document doLogin( String login, String password, String client) throws XmlRpcException, IOException, DocumentException
public Document doLogin( String login, String password, HttpServletRequest request ) throws XmlRpcException, IOException, DocumentException
public Document doLogin( String login, String password, String client) throws XmlRpcException, IOException, DocumentException { Vector params = new Vector(3); params.add( login ); params.add( password ); params.add( client ); return execute( "doLogin", params ); }
12154 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12154/2d65205da647882dda2f0adedbd4749237e027ca/IQuiverDelegate.java/clean/infoquiver-web/WEB-INF/src/net/sf/iquiver/web/IQuiverDelegate.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4319, 741, 5358, 12, 514, 3925, 16, 514, 2201, 16, 9984, 590, 262, 1216, 5714, 11647, 503, 16, 1860, 16, 4319, 503, 565, 288, 3639, 5589, 859, 273, 394, 5589, 12, 23, 1769, 3639, 859, 18, 1289, 12, 3925, 11272, 3639, 859, 18, 1289, 12, 2201, 11272, 3639, 859, 18, 1289, 12, 1004, 11272, 3639, 327, 1836, 12, 315, 2896, 5358, 3113, 859, 11272, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4319, 741, 5358, 12, 514, 3925, 16, 514, 2201, 16, 9984, 590, 262, 1216, 5714, 11647, 503, 16, 1860, 16, 4319, 503, 565, 288, 3639, 5589, 859, 273, 394, 5589, 12, 23, 1769, 3639, 859, 18, 1289, 12, 3925, 11272, 3639, 859, 18, 1289, 12, 2201, 11272, 3639, 859, 18, 1289, 12, 1004, 11272, 3639, 327, 1836, 12, 315, 2896, 5358, 3113, 859, 11272, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
this.parserMode = parserMode;
public Scanner2(CodeReader reader, IScannerInfo info, ISourceElementRequestor requestor, ParserMode parserMode, ParserLanguage language, IParserLogService log, IScannerExtension extension, List workingCopies) { this.scannerExtension = extension; this.requestor = requestor;// this.parserMode = parserMode; this.language = language; this.log = log;// this.workingCopies = workingCopies; if (reader.filename != null) fileCache.put(reader.filename, reader); pushContext(reader.buffer, reader); setupBuiltInMacros(); if (info.getDefinedSymbols() != null) { Map symbols = info.getDefinedSymbols(); String[] keys = (String[])symbols.keySet().toArray(emptyStringArray); for (int i = 0; i < keys.length; ++i) { String symbolName = keys[i]; Object value = symbols.get(symbolName); if( value instanceof String ) { //TODO add in check here for '(' and ')' addDefinition( symbolName, scannerExtension.initializeMacroValue(this, (String) value)); } else if( value instanceof IMacroDescriptor ) addDefinition( symbolName, (IMacroDescriptor)value); } } includePaths = info.getIncludePaths(); }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/dbd947fc1dc146597838c2d0718358fe143fc900/Scanner2.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner2/Scanner2.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 84, 440, 933, 76, 291, 18, 4288, 2309, 273, 2082, 2309, 31, 19074, 22, 12, 1085, 2514, 2211, 18, 4288, 2309, 273, 2082, 2309, 31, 2949, 16, 6862, 202, 45, 11338, 13149, 10370, 291, 18, 4288, 2309, 273, 2082, 2309, 31, 1123, 16, 6862, 202, 45, 1830, 1046, 691, 280, 2211, 18, 4288, 2309, 273, 2082, 2309, 31, 590, 280, 16, 6862, 202, 2678, 1739, 546, 291, 18, 4288, 2309, 273, 2082, 2309, 31, 2082, 2309, 16, 6862, 202, 2678, 48, 1563, 346, 546, 291, 18, 4288, 2309, 273, 2082, 2309, 31, 2653, 16, 6862, 202, 45, 2678, 1343, 827, 90, 335, 546, 291, 18, 4288, 2309, 273, 2082, 2309, 31, 613, 16, 6862, 202, 45, 11338, 3625, 2211, 18, 4288, 2309, 273, 2082, 2309, 31, 2710, 16, 6862, 202, 682, 2211, 18, 4288, 2309, 273, 2082, 2309, 31, 5960, 15670, 13, 2211, 18, 4288, 2309, 273, 2082, 2309, 31, 288, 202, 202, 2211, 18, 26842, 3625, 2211, 18, 4288, 2309, 273, 2082, 2309, 31, 273, 2211, 18, 4288, 2309, 273, 2082, 2309, 31, 2710, 31, 202, 202, 2211, 18, 2293, 280, 2211, 18, 4288, 2309, 273, 2082, 2309, 31, 273, 2211, 18, 4288, 2309, 273, 2082, 2309, 31, 590, 280, 31, 759, 202, 202, 2211, 18, 4288, 1739, 546, 291, 18, 4288, 2309, 273, 2082, 2309, 31, 273, 2211, 18, 4288, 2309, 273, 2082, 2309, 31, 2082, 2309, 31, 202, 202, 2211, 18, 80, 1563, 346, 546, 291, 18, 4288, 2309, 273, 2082, 2309, 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, 84, 440, 933, 76, 291, 18, 4288, 2309, 273, 2082, 2309, 31, 19074, 22, 12, 1085, 2514, 2211, 18, 4288, 2309, 273, 2082, 2309, 31, 2949, 16, 6862, 202, 45, 11338, 13149, 10370, 291, 18, 4288, 2309, 273, 2082, 2309, 31, 1123, 16, 6862, 202, 45, 1830, 1046, 691, 280, 2211, 18, 4288, 2309, 273, 2082, 2309, 31, 590, 280, 16, 6862, 202, 2678, 1739, 546, 291, 18, 4288, 2309, 273, 2082, 2309, 31, 2082, 2309, 16, 6862, 202, 2678, 48, 1563, 346, 546, 291, 18, 4288, 2309, 273, 2082, 2309, 31, 2653, 16, 6862, 202, 45, 2678, 1343, 827, 90, 335, 546, 291, 18, 4288, 2309, 273, 2082, 2309, 31, 613, 16, 6862, 202, 45, 11338, 2 ]
tableTreeViewer.addTreeListener(new ITreeViewerListener() { public void treeCollapsed(TreeExpansionEvent event) { applyFonts(); } public void treeExpanded(TreeExpansionEvent event) { applyFonts(); } });
fTreeViewer.setInput(this);
private void createViewer(TableTree tableTree) { tableTreeViewer = new TableTreeViewer(tableTree); tableTreeViewer.setContentProvider(new LogViewContentProvider(this)); tableTreeViewer.setLabelProvider(new LogViewLabelProvider()); tableTreeViewer.addSelectionChangedListener(new ISelectionChangedListener() { public void selectionChanged(SelectionChangedEvent e) { handleSelectionChanged(e.getSelection()); if (propertiesAction.isEnabled()) ((EventDetailsDialogAction) propertiesAction).resetSelection(); } }); tableTreeViewer.addDoubleClickListener(new IDoubleClickListener() { public void doubleClick(DoubleClickEvent event) { ((EventDetailsDialogAction) propertiesAction).setComparator(comparator); propertiesAction.run(); } }); tableTreeViewer.addTreeListener(new ITreeViewerListener() { public void treeCollapsed(TreeExpansionEvent event) { applyFonts(); } public void treeExpanded(TreeExpansionEvent event) { applyFonts(); } }); addMouseListeners(); tableTreeViewer.setInput(Platform.class); }
8783 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8783/2e07d224260b7c85a3fc6f6d4184a1f695d7e1a5/LogView.java/clean/ui/org.eclipse.pde.runtime/src/org/eclipse/pde/internal/runtime/logview/LogView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 15193, 264, 12, 1388, 2471, 1014, 2471, 13, 288, 3639, 1014, 2471, 18415, 273, 394, 3555, 2471, 18415, 12, 2121, 2471, 1769, 3639, 1014, 2471, 18415, 18, 542, 1350, 2249, 12, 2704, 1827, 1767, 1350, 2249, 12, 2211, 10019, 3639, 1014, 2471, 18415, 18, 542, 2224, 2249, 12, 2704, 1827, 1767, 2224, 2249, 10663, 3639, 1014, 2471, 18415, 18, 1289, 6233, 5033, 2223, 12, 2704, 467, 6233, 5033, 2223, 1435, 288, 5411, 1071, 918, 4421, 5033, 12, 6233, 27553, 425, 13, 288, 7734, 1640, 6233, 5033, 12, 73, 18, 588, 6233, 10663, 7734, 309, 261, 4738, 1803, 18, 291, 1526, 10756, 10792, 14015, 28487, 6353, 1803, 13, 1790, 1803, 2934, 6208, 6233, 5621, 5411, 289, 3639, 15549, 3639, 1014, 2471, 18415, 18, 1289, 5265, 22092, 12, 2704, 1599, 83, 1255, 22092, 1435, 288, 5411, 1071, 918, 1645, 6563, 12, 5265, 6563, 1133, 871, 13, 288, 7734, 14015, 28487, 6353, 1803, 13, 1790, 1803, 2934, 542, 5559, 12, 832, 2528, 1769, 7734, 1790, 1803, 18, 2681, 5621, 5411, 289, 3639, 15549, 3639, 1014, 2471, 18415, 18, 1289, 2471, 2223, 12, 2704, 467, 2471, 18415, 2223, 1435, 288, 5411, 1071, 918, 2151, 28084, 12, 2471, 2966, 12162, 1133, 871, 13, 288, 7734, 2230, 5711, 87, 5621, 5411, 289, 5411, 1071, 918, 2151, 17957, 12, 2471, 2966, 12162, 1133, 871, 13, 288, 7734, 2230, 5711, 87, 5621, 5411, 289, 3639, 15549, 3639, 527, 9186, 5583, 5621, 3639, 1014, 2471, 18415, 18, 542, 1210, 12, 8201, 18, 1106, 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, 15193, 264, 12, 1388, 2471, 1014, 2471, 13, 288, 3639, 1014, 2471, 18415, 273, 394, 3555, 2471, 18415, 12, 2121, 2471, 1769, 3639, 1014, 2471, 18415, 18, 542, 1350, 2249, 12, 2704, 1827, 1767, 1350, 2249, 12, 2211, 10019, 3639, 1014, 2471, 18415, 18, 542, 2224, 2249, 12, 2704, 1827, 1767, 2224, 2249, 10663, 3639, 1014, 2471, 18415, 18, 1289, 6233, 5033, 2223, 12, 2704, 467, 6233, 5033, 2223, 1435, 288, 5411, 1071, 918, 4421, 5033, 12, 6233, 27553, 425, 13, 288, 7734, 1640, 6233, 5033, 12, 73, 18, 588, 6233, 10663, 7734, 309, 261, 4738, 1803, 18, 291, 1526, 10756, 10792, 14015, 28487, 6353, 1803, 13, 1790, 1803, 2934, 6208, 6233, 5621, 5411, 289, 3639, 2 ]
public ActionMenu getContextMenuActions(final Program program) { ContextMenuAction menu = new ContextMenuAction(); PluginAccess[] plugin = program.getMarkedByPlugins(); boolean marked = false; ArrayList favorites = new ArrayList(); ArrayList blackFavorites = new ArrayList(); for(int i = 0; i < mFavoriteArr.length; i++) { Program[] programs = mFavoriteArr[i].getPrograms(); for(int j = 0; j < programs.length; j++) if(programs[j].equals(program) && !mFavoriteArr[i].getBlackList().contains(program)) { favorites.add(mFavoriteArr[i]); break; } if(mFavoriteArr[i].getBlackList().contains(program)) blackFavorites.add(mFavoriteArr[i]); } if (favorites.isEmpty() && blackFavorites.isEmpty()) { menu.setText(mLocalizer.msg("contextMenuText", "Add to favorite programs")); menu.setActionListener(new ActionListener() { public void actionPerformed(ActionEvent event) { showEditFavoriteDialog(program); } }); } else { menu.setText(mLocalizer.msg("manageFavorites","Favorites")); ActionMenu[] submenu = new ActionMenu[2]; ContextMenuAction add = new ContextMenuAction(); add.setText(mLocalizer.msg("contextMenuRemove", "Remove program from favorite programs")); ContextMenuAction del = new ContextMenuAction(); del.setText(mLocalizer.msg("contextMenuAdd", "Reactivate as favorite")); Action[] addAction = new AbstractAction[favorites.size() + ((favorites.size() > 1) ? 1 : 0)]; Action[] delAction = new AbstractAction[blackFavorites.size() + ((blackFavorites.size() > 1) ? 1 : 0)]; for (int i = 0; i < favorites.size(); i++) { final Favorite fav = (Favorite)favorites.get(i); addAction[i] = new AbstractAction() { public void actionPerformed(ActionEvent e) { fav.getBlackList().add(program); Program[] p = {program}; program.unmark(FavoritesPlugin.getInstance()); for (int i = 0; i < mFavoriteArr.length; i++) mFavoriteArr[i].handleContainingPrograms(p); if(ManageFavoritesDialog.getInstance() != null) ManageFavoritesDialog.getInstance().favoriteSelectionChanged(); updateTree(); } }; addAction[i].putValue(Action.NAME,fav.getTitle()); } if(favorites.size() > 1) { addAction[favorites.size()] = new AbstractAction() { public void actionPerformed(ActionEvent e) { for (int i = 0; i < mFavoriteArr.length; i++) mFavoriteArr[i].getBlackList().add(program); program.unmark(FavoritesPlugin.getInstance()); if(ManageFavoritesDialog.getInstance() != null) ManageFavoritesDialog.getInstance().favoriteSelectionChanged(); updateTree(); } }; addAction[favorites.size()].putValue(Action.NAME,mLocalizer.msg("ActionFromAll","From All")); } for (int i = 0; i < blackFavorites.size(); i++) { final Favorite fav = (Favorite)blackFavorites.get(i); delAction[i] = new AbstractAction() { public void actionPerformed(ActionEvent e) { fav.getBlackList().remove(program); program.mark(FavoritesPlugin.getInstance()); if(ManageFavoritesDialog.getInstance() != null) ManageFavoritesDialog.getInstance().favoriteSelectionChanged(); updateTree(); } }; delAction[i].putValue(Action.NAME,fav.getTitle()); } if(blackFavorites.size() > 1) { delAction[blackFavorites.size()] = new AbstractAction() { public void actionPerformed(ActionEvent e) { for (int i = 0; i < mFavoriteArr.length; i++) { if(mFavoriteArr[i].getBlackList().contains(program)) mFavoriteArr[i].getBlackList().remove(program); } program.mark(FavoritesPlugin.getInstance()); if(ManageFavoritesDialog.getInstance() != null) ManageFavoritesDialog.getInstance().favoriteSelectionChanged(); updateTree(); } }; delAction[blackFavorites.size()].putValue(Action.NAME,mLocalizer.msg("ActionInAll","For all")); } if(!favorites.isEmpty() && !blackFavorites.isEmpty()) { menu.setSmallIcon(createImageIcon("favoritesplugin/ThumbUp16.gif")); submenu[0] = new ActionMenu(add,addAction); submenu[1] = new ActionMenu(del,delAction); return new ActionMenu(menu,submenu); } else if (!favorites.isEmpty() && blackFavorites.isEmpty()) { add.setSmallIcon(createImageIcon("favoritesplugin/ThumbUp16.gif")); return new ActionMenu(add,addAction); } else if (favorites.isEmpty() && !blackFavorites.isEmpty()){ del.setSmallIcon(createImageIcon("favoritesplugin/ThumbUp16.gif")); return new ActionMenu(del,delAction); } } menu.setSmallIcon(createImageIcon("favoritesplugin/ThumbUp16.gif")); return new ActionMenu(menu); }
9266 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9266/42776e50b8b8f1c0f1a744654fd9b8d731846022/FavoritesPlugin.java/buggy/tvbrowser/src/favoritesplugin/FavoritesPlugin.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 4382, 4599, 6474, 4599, 6100, 12, 6385, 13586, 5402, 13, 288, 565, 1772, 4599, 1803, 3824, 273, 394, 1772, 4599, 1803, 5621, 565, 6258, 1862, 8526, 1909, 273, 5402, 18, 588, 3882, 18696, 9461, 5621, 565, 1250, 9350, 273, 629, 31, 565, 2407, 18552, 2997, 273, 394, 2407, 5621, 565, 2407, 7721, 31745, 2997, 273, 394, 2407, 5621, 3639, 364, 12, 474, 277, 273, 374, 31, 277, 411, 312, 31745, 1137, 5715, 18, 2469, 31, 277, 27245, 288, 1377, 13586, 8526, 25038, 273, 312, 31745, 1137, 5715, 63, 77, 8009, 588, 9459, 87, 5621, 1377, 364, 12, 474, 525, 273, 374, 31, 525, 411, 25038, 18, 2469, 31, 525, 27245, 3639, 309, 12, 12890, 87, 63, 78, 8009, 14963, 12, 12890, 13, 597, 401, 81, 31745, 1137, 5715, 63, 77, 8009, 588, 13155, 682, 7675, 12298, 12, 12890, 3719, 288, 1850, 18552, 2997, 18, 1289, 12, 81, 31745, 1137, 5715, 63, 77, 19226, 10792, 898, 31, 3639, 289, 1377, 309, 12, 81, 31745, 1137, 5715, 63, 77, 8009, 588, 13155, 682, 7675, 12298, 12, 12890, 3719, 3639, 7721, 31745, 2997, 18, 1289, 12, 81, 31745, 1137, 5715, 63, 77, 19226, 565, 289, 565, 309, 261, 19731, 280, 2997, 18, 291, 1921, 1435, 597, 7721, 31745, 2997, 18, 291, 1921, 10756, 288, 1377, 3824, 18, 542, 1528, 12, 81, 2042, 1824, 18, 3576, 2932, 2472, 4599, 1528, 3113, 1850, 315, 986, 358, 30705, 25038, 7923, 1769, 1377, 3824, 18, 542, 1803, 2223, 12, 2704, 25962, 1435, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 4382, 4599, 6474, 4599, 6100, 12, 6385, 13586, 5402, 13, 288, 565, 1772, 4599, 1803, 3824, 273, 394, 1772, 4599, 1803, 5621, 565, 6258, 1862, 8526, 1909, 273, 5402, 18, 588, 3882, 18696, 9461, 5621, 565, 1250, 9350, 273, 629, 31, 565, 2407, 18552, 2997, 273, 394, 2407, 5621, 565, 2407, 7721, 31745, 2997, 273, 394, 2407, 5621, 3639, 364, 12, 474, 277, 273, 374, 31, 277, 411, 312, 31745, 1137, 5715, 18, 2469, 31, 277, 27245, 288, 1377, 13586, 8526, 25038, 273, 312, 31745, 1137, 5715, 63, 77, 8009, 588, 9459, 87, 5621, 1377, 364, 12, 474, 525, 273, 374, 31, 525, 411, 25038, 18, 2469, 31, 525, 27245, 3639, 309, 12, 12890, 87, 63, 78, 2 ]
return (c == '\n' || c == '\r' || c == 0x2028 || c == 0x2029);
return c == '\n' || c == '\r' || c == 0x2028 || c == 0x2029;
public static boolean isJSLineTerminator(int c) { return (c == '\n' || c == '\r' || c == 0x2028 || c == 0x2029); }
13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/8d78476dde863807579dcd20202decfcfcc9f7f1/TokenStream.java/clean/js/rhino/src/org/mozilla/javascript/TokenStream.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1250, 353, 6479, 1670, 31868, 12, 474, 276, 13, 288, 3639, 327, 261, 71, 422, 2337, 82, 11, 747, 276, 422, 2337, 86, 11, 7734, 747, 276, 422, 374, 92, 18212, 28, 747, 276, 422, 374, 92, 18212, 29, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1250, 353, 6479, 1670, 31868, 12, 474, 276, 13, 288, 3639, 327, 261, 71, 422, 2337, 82, 11, 747, 276, 422, 2337, 86, 11, 7734, 747, 276, 422, 374, 92, 18212, 28, 747, 276, 422, 374, 92, 18212, 29, 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 ]
String[] field = line.split(PATTERN_CSV); Call call; CallType calltype; Date calldate; PhoneNumber number;
String[] field = line.split(PATTERN_CSV); Call call; CallType calltype; Date calldate; PhoneNumber number;
public Call parseCallFritzboxCSV(String line, boolean isPushFile) { String[] field = line.split(PATTERN_CSV); Call call; CallType calltype; Date calldate; PhoneNumber number; // check if line has correct amount of entries if (field.length != 6) { if (field.length != 1) Debug.err("Invalid CSV format, incorrect number of fields!"); //if you find an error here, its not because return null; // jfritz is broken, the fritz box exports things } // with an extra empty line for whatever reason // Call type // Why would they change the cvs format in the Push service??? if ((field[0].equals("1") && !isPushFile) //$NON-NLS-1$ || (field[0].equals("2") && isPushFile)) { //$NON-NLS-1$ calltype = new CallType("call_in"); //$NON-NLS-1$ } else if ((field[0].equals("2") && !isPushFile) //$NON-NLS-1$ || (field[0].equals("3") && isPushFile)) { //$NON-NLS-1$ calltype = new CallType("call_in_failed"); //$NON-NLS-1$ } else if ((field[0].equals("3") && !isPushFile) //$NON-NLS-1$ || (field[0].equals("1") && isPushFile)) { //$NON-NLS-1$ calltype = new CallType("call_out"); //$NON-NLS-1$ } else { Debug.err("Invalid Call type in CSV entry!"); //$NON-NLS-1$ return null; } // Call date and time if (field[1] != null) { try { calldate = new SimpleDateFormat("dd.MM.yy HH:mm").parse(field[1]); //$NON-NLS-1$ } catch (ParseException e) { Debug.err("Invalid date format in csv entry!"); //$NON-NLS-1$ return null; } } else { Debug.err("Invalid date format in csv entry!"); //$NON-NLS-1$ return null; } // Phone number if (!field[2].equals("")) number = new PhoneNumber(field[2], JFritz.getProperty("option.activateDialPrefix").toLowerCase().equals("true") && (calltype.toInt() == CallType.CALLOUT) && !field[4].startsWith("Internet")); else number = null; // split the duration into two stings, hours:minutes String[] time = field[5].split(":"); // change the port to fit the jfritz naming convention if (field[3].equals("FON 1")) { field[3] = "0"; } else if (field[3].equals("FON 2")) { field[3] = "1"; } else if (field[3].equals("FON 3")) { field[3] = "2"; } else if (field[3].equals("Durchwahl")) { field[3] = "3"; } else if (field[3].equals("FON S0")) { field[3] = "4"; } else if (field[3].equals("DATA S0")) { field[3] = "36"; } // make the call object and exit call = new Call(calltype, calldate, number, field[3], field[4], Integer.parseInt(time[0]) * 3600 + Integer.parseInt(time[1]) * 60); return call; }
7476 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7476/01f8aec31f0d408a977de26cc5f242ec8ba1e32f/CallerList.java/buggy/jfritz/src/de/moonflower/jfritz/callerlist/CallerList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3049, 1109, 1477, 42, 583, 94, 2147, 16570, 12, 780, 980, 16, 1250, 353, 7621, 812, 13, 288, 202, 202, 780, 8526, 652, 273, 980, 18, 4939, 12, 10831, 67, 16570, 1769, 202, 202, 1477, 745, 31, 202, 202, 1477, 559, 745, 723, 31, 202, 202, 1626, 745, 712, 31, 202, 202, 16943, 1300, 31, 202, 202, 759, 866, 309, 980, 711, 3434, 3844, 434, 3222, 202, 202, 430, 261, 1518, 18, 2469, 480, 1666, 13, 288, 1082, 202, 430, 261, 1518, 18, 2469, 480, 404, 13, 1082, 377, 202, 202, 2829, 18, 370, 2932, 1941, 10381, 740, 16, 11332, 1300, 434, 1466, 4442, 1769, 202, 202, 759, 430, 1846, 1104, 392, 555, 2674, 16, 2097, 486, 2724, 1082, 202, 2463, 446, 31, 368, 525, 74, 583, 94, 353, 12933, 16, 326, 284, 583, 94, 3919, 8095, 9198, 202, 202, 97, 368, 598, 392, 2870, 1008, 980, 364, 15098, 3971, 202, 202, 759, 3049, 618, 202, 202, 759, 3497, 93, 4102, 2898, 2549, 326, 276, 6904, 740, 316, 326, 8547, 1156, 14646, 35, 202, 202, 430, 14015, 1518, 63, 20, 8009, 14963, 2932, 21, 7923, 597, 401, 291, 7621, 812, 13, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 20081, 261, 1518, 63, 20, 8009, 14963, 2932, 22, 7923, 597, 353, 7621, 812, 3719, 288, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 1991, 723, 273, 394, 3049, 559, 2932, 1991, 67, 267, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 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, 3049, 1109, 1477, 42, 583, 94, 2147, 16570, 12, 780, 980, 16, 1250, 353, 7621, 812, 13, 288, 202, 202, 780, 8526, 652, 273, 980, 18, 4939, 12, 10831, 67, 16570, 1769, 202, 202, 1477, 745, 31, 202, 202, 1477, 559, 745, 723, 31, 202, 202, 1626, 745, 712, 31, 202, 202, 16943, 1300, 31, 202, 202, 759, 866, 309, 980, 711, 3434, 3844, 434, 3222, 202, 202, 430, 261, 1518, 18, 2469, 480, 1666, 13, 288, 1082, 202, 430, 261, 1518, 18, 2469, 480, 404, 13, 1082, 377, 202, 202, 2829, 18, 370, 2932, 1941, 10381, 740, 16, 11332, 1300, 434, 1466, 4442, 1769, 202, 202, 759, 430, 1846, 1104, 392, 555, 2674, 16, 2097, 2 ]
DataTools.writeInt(out, 50, false);
DataTools.writeInt(out, (timeScale / fps), false);
public void save(String id, Image image, boolean last) throws FormatException, IOException { if (image == null) { throw new FormatException("Image is null"); } BufferedImage img = ImageTools.makeBuffered(image); // get the width and height of the image int width = img.getWidth(); int height = img.getHeight(); // retrieve pixel data for this plane byte[][] byteData = ImageTools.getBytes(img); // need to check if the width is a multiple of 8 // if it is, great; if not, we need to pad each scanline with enough // bytes to make the width a multiple of 8 int pad = width % 4; pad = (4 - pad) % 4; byte[][] temp = byteData; byteData = new byte[temp.length][temp[0].length + height*pad]; int newScanline = height - 1; for (int oldScanline=0; oldScanline<height; oldScanline++) { for (int k=0; k<temp.length; k++) { System.arraycopy(temp[k], oldScanline*width, byteData[k], oldScanline*(width+pad), width); // add padding bytes for (int i=0; i<pad; i++) { byteData[k][oldScanline*(width+pad) + width + i] = 0; } } } // invert each pixel // this will makes the colors look right in other readers (e.g. xine), // but needs to be reversed in QTReader if (byteData.length == 1) { for (int i=0; i<byteData.length; i++) { for (int k=0; k<byteData[0].length; k++) { byteData[i][k] = (byte) (255 - byteData[i][k]); } } } if (!id.equals(currentId)) { // -- write the header -- offsets = new Vector(); currentId = id; out = new RandomAccessFile(id, "rw"); created = (int) System.currentTimeMillis(); numWritten = 1; // -- write the first header -- DataTools.writeInt(out, 8, false); DataTools.writeString(out, "wide"); // -- write the first plane of pixel data (mdat) -- numBytes = byteData[0].length * byteData.length; byteCountOffset = out.getFilePointer(); DataTools.writeInt(out, numBytes + 8, false); DataTools.writeString(out, "mdat"); for (int i=0; i<byteData[0].length; i++) { for (int j=0; j<byteData.length; j++) { out.write(byteData[j][i]); } } offsets.add(new Integer(16)); } else { // update the number of pixel bytes written int planeOffset = numBytes; numBytes += (byteData.length * byteData[0].length); out.seek(byteCountOffset); DataTools.writeInt(out, numBytes + 8, false); // write this plane's pixel data out.seek(out.length()); for (int i=0; i<byteData[0].length; i++) { for (int j=0; j<byteData.length; j++) { out.write(byteData[j][i]); } } offsets.add(new Integer(planeOffset + 16)); numWritten++; } if (last) { int duration = numWritten * 50; int timeScale = 100; int bitsPerPixel = (byteData.length > 1) ? 24 : 40; int channels = (bitsPerPixel == 40) ? 1 : 3; // -- write moov atom -- int atomLength = 685 + 8*numWritten; DataTools.writeInt(out, atomLength, false); DataTools.writeString(out, "moov"); // -- write mvhd atom -- DataTools.writeInt(out, 108, false); DataTools.writeString(out, "mvhd"); DataTools.writeShort(out, 0, false); // version DataTools.writeShort(out, 0, false); // flags DataTools.writeInt(out, created, false); // creation time DataTools.writeInt(out, (int) System.currentTimeMillis(), false); DataTools.writeInt(out, timeScale, false); // time scale DataTools.writeInt(out, duration, false); // duration out.write(new byte[] {0, 1, 0, 0}); // preferred rate & volume out.write(new byte[] {0, -1, 0, 0, 0, 0, 0, 0, 0, 0}); // reserved // 3x3 matrix - unsure of significance DataTools.writeInt(out, 1, false); DataTools.writeInt(out, 0, false); DataTools.writeInt(out, 0, false); DataTools.writeInt(out, 0, false); DataTools.writeInt(out, 1, false); DataTools.writeInt(out, 0, false); DataTools.writeInt(out, 0, false); DataTools.writeInt(out, 0, false); DataTools.writeInt(out, 16384, false); DataTools.writeShort(out, 0, false); // not sure what this is DataTools.writeInt(out, 0, false); // preview duration DataTools.writeInt(out, 0, false); // preview time DataTools.writeInt(out, 0, false); // poster time DataTools.writeInt(out, 0, false); // selection time DataTools.writeInt(out, 0, false); // selection duration DataTools.writeInt(out, 0, false); // current time DataTools.writeInt(out, 2, false); // next track's id // -- write trak atom -- atomLength -= 116; DataTools.writeInt(out, atomLength, false); DataTools.writeString(out, "trak"); // -- write tkhd atom -- DataTools.writeInt(out, 92, false); DataTools.writeString(out, "tkhd"); DataTools.writeShort(out, 0, false); // version DataTools.writeShort(out, 15, false); // flags DataTools.writeInt(out, created, false); // creation time DataTools.writeInt(out, (int) System.currentTimeMillis(), false); DataTools.writeInt(out, 1, false); // track id DataTools.writeInt(out, 0, false); // reserved DataTools.writeInt(out, duration, false); // duration DataTools.writeInt(out, 0, false); // reserved DataTools.writeInt(out, 0, false); // reserved DataTools.writeShort(out, 0, false); // reserved DataTools.writeInt(out, 0, false); // unknown // 3x3 matrix - unsure of significance DataTools.writeInt(out, 1, false); DataTools.writeInt(out, 0, false); DataTools.writeInt(out, 0, false); DataTools.writeInt(out, 0, false); DataTools.writeInt(out, 1, false); DataTools.writeInt(out, 0, false); DataTools.writeInt(out, 0, false); DataTools.writeInt(out, 0, false); DataTools.writeInt(out, 16384, false); DataTools.writeInt(out, width, false); // image width DataTools.writeInt(out, height, false); // image height DataTools.writeShort(out, 0, false); // reserved // -- write edts atom -- DataTools.writeInt(out, 36, false); DataTools.writeString(out, "edts"); // -- write elst atom -- DataTools.writeInt(out, 28, false); DataTools.writeString(out, "elst"); DataTools.writeShort(out, 0, false); // version DataTools.writeShort(out, 0, false); // flags DataTools.writeInt(out, 1, false); // number of entries in the table DataTools.writeInt(out, duration, false); // duration DataTools.writeShort(out, 0, false); // time DataTools.writeInt(out, 1, false); // rate DataTools.writeShort(out, 0, false); // unknown // -- write mdia atom -- atomLength -= 136; DataTools.writeInt(out, atomLength, false); DataTools.writeString(out, "mdia"); // -- write mdhd atom -- DataTools.writeInt(out, 32, false); DataTools.writeString(out, "mdhd"); DataTools.writeShort(out, 0, false); // version DataTools.writeShort(out, 0, false); // flags DataTools.writeInt(out, created, false); // creation time DataTools.writeInt(out, (int) System.currentTimeMillis(), false); DataTools.writeInt(out, timeScale, false); // time scale DataTools.writeInt(out, duration, false); // duration DataTools.writeShort(out, 0, false); // language DataTools.writeShort(out, 0, false); // quality // -- write hdlr atom -- DataTools.writeInt(out, 58, false); DataTools.writeString(out, "hdlr"); DataTools.writeShort(out, 0, false); // version DataTools.writeShort(out, 0, false); // flags DataTools.writeString(out, "mhlr"); DataTools.writeString(out, "vide"); DataTools.writeString(out, "appl"); out.write(new byte[] {16, 0, 0, 0, 0, 1, 1, 11, 25}); DataTools.writeString(out, "Apple Video Media Handler"); // -- write minf atom -- atomLength -= 98; DataTools.writeInt(out, atomLength, false); DataTools.writeString(out, "minf"); // -- write vmhd atom -- DataTools.writeInt(out, 20, false); DataTools.writeString(out, "vmhd"); DataTools.writeShort(out, 0, false); // version DataTools.writeShort(out, 1, false); // flags DataTools.writeShort(out, 64, false); // graphics mode DataTools.writeShort(out, 32768, false); // opcolor 1 DataTools.writeShort(out, 32768, false); // opcolor 2 DataTools.writeShort(out, 32768, false); // opcolor 3 // -- write hdlr atom -- DataTools.writeInt(out, 57, false); DataTools.writeString(out, "hdlr"); DataTools.writeShort(out, 0, false); // version DataTools.writeShort(out, 0, false); // flags DataTools.writeString(out, "dhlr"); DataTools.writeString(out, "alis"); DataTools.writeString(out, "appl"); out.write(new byte[] {16, 0, 0, 1, 0, 1, 1, 31, 24}); DataTools.writeString(out, "Apple Alias Data Handler"); // -- write dinf atom -- DataTools.writeInt(out, 36, false); DataTools.writeString(out, "dinf"); // -- write dref atom -- DataTools.writeInt(out, 28, false); DataTools.writeString(out, "dref"); DataTools.writeShort(out, 0, false); // version DataTools.writeShort(out, 0, false); // flags DataTools.writeShort(out, 0, false); // version 2 DataTools.writeShort(out, 1, false); // flags 2 out.write(new byte[] {0, 0, 0, 12}); DataTools.writeString(out, "alis"); DataTools.writeShort(out, 0, false); // version 3 DataTools.writeShort(out, 1, false); // flags 3 // -- write stbl atom -- atomLength -= 121; DataTools.writeInt(out, atomLength, false); DataTools.writeString(out, "stbl"); // -- write stsd atom -- DataTools.writeInt(out, 118, false); DataTools.writeString(out, "stsd"); DataTools.writeShort(out, 0, false); // version DataTools.writeShort(out, 0, false); // flags DataTools.writeInt(out, 1, false); // number of entries in the table out.write(new byte[] {0, 0, 0, 102}); DataTools.writeString(out, "raw "); // codec out.write(new byte[] {0, 0, 0, 0, 0, 0}); // reserved DataTools.writeShort(out, 1, false); // data reference DataTools.writeShort(out, 1, false); // version DataTools.writeShort(out, 1, false); // revision DataTools.writeString(out, "appl"); DataTools.writeInt(out, 0, false); // temporal quality DataTools.writeInt(out, 768, false); // spatial quality DataTools.writeShort(out, width, false); // image width DataTools.writeShort(out, height, false); // image height out.write(new byte[] {0, 72, 0, 0}); // horizontal dpi out.write(new byte[] {0, 72, 0, 0}); // vertical dpi DataTools.writeInt(out, 0, false); // data size DataTools.writeShort(out, 1, false); // frames per sample DataTools.writeShort(out, 12, false); // length of compressor name DataTools.writeString(out, "Uncompressed"); // compressor name DataTools.writeInt(out, bitsPerPixel, false); // unknown DataTools.writeInt(out, bitsPerPixel, false); // unknown DataTools.writeInt(out, bitsPerPixel, false); // unknown DataTools.writeInt(out, bitsPerPixel, false); // unknown DataTools.writeInt(out, bitsPerPixel, false); // unknown DataTools.writeShort(out, bitsPerPixel, false); // bits per pixel DataTools.writeInt(out, 65535, false); // ctab ID out.write(new byte[] {12, 103, 97, 108}); // gamma out.write(new byte[] {97, 1, -52, -52, 0, 0, 0, 0}); // unknown // -- write stts atom -- DataTools.writeInt(out, 24, false); DataTools.writeString(out, "stts"); DataTools.writeShort(out, 0, false); // version DataTools.writeShort(out, 0, false); // flags DataTools.writeInt(out, 1, false); // number of entries in the table DataTools.writeInt(out, numWritten, false); // number of planes DataTools.writeInt(out, 50, false); // duration // -- write stsc atom -- DataTools.writeInt(out, 28, false); DataTools.writeString(out, "stsc"); DataTools.writeShort(out, 0, false); // version DataTools.writeShort(out, 0, false); // flags DataTools.writeInt(out, 1, false); // number of entries in the table DataTools.writeInt(out, 1, false); // chunk DataTools.writeInt(out, 1, false); // samples DataTools.writeInt(out, 1, false); // id // -- write stsz atom -- DataTools.writeInt(out, 20 + 4*numWritten, false); DataTools.writeString(out, "stsz"); DataTools.writeShort(out, 0, false); // version DataTools.writeShort(out, 0, false); // flags DataTools.writeInt(out, 0, false); // sample size DataTools.writeInt(out, numWritten, false); // number of planes for (int i=0; i<numWritten; i++) { // sample size DataTools.writeInt(out, channels*height*(width+pad), false); } // -- write stco atom -- DataTools.writeInt(out, 16 + 4*numWritten, false); DataTools.writeString(out, "stco"); DataTools.writeShort(out, 0, false); // version DataTools.writeShort(out, 0, false); // flags DataTools.writeInt(out, numWritten, false); // number of planes for (int i=0; i<numWritten; i++) { // write the plane offset DataTools.writeInt(out, ((Integer) offsets.get(i)).intValue(), false); } out.close(); } }
11426 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11426/8ced8c91f1c22d8269e597adbbbfc4259c035f65/QTWriter.java/buggy/loci/formats/QTWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1923, 12, 780, 612, 16, 3421, 1316, 16, 1250, 1142, 13, 565, 1216, 4077, 503, 16, 1860, 225, 288, 565, 309, 261, 2730, 422, 446, 13, 288, 1377, 604, 394, 4077, 503, 2932, 2040, 353, 446, 8863, 565, 289, 565, 12362, 3774, 273, 3421, 10348, 18, 6540, 17947, 12, 2730, 1769, 565, 368, 336, 326, 1835, 471, 2072, 434, 326, 1316, 565, 509, 1835, 273, 3774, 18, 588, 2384, 5621, 565, 509, 2072, 273, 3774, 18, 588, 2686, 5621, 565, 368, 4614, 4957, 501, 364, 333, 11017, 565, 1160, 63, 6362, 65, 1160, 751, 273, 3421, 10348, 18, 588, 2160, 12, 6081, 1769, 565, 368, 1608, 358, 866, 309, 326, 1835, 353, 279, 3229, 434, 1725, 565, 368, 309, 518, 353, 16, 18825, 31, 309, 486, 16, 732, 1608, 358, 4627, 1517, 4135, 1369, 598, 7304, 565, 368, 1731, 358, 1221, 326, 1835, 279, 3229, 434, 1725, 565, 509, 4627, 273, 1835, 738, 1059, 31, 565, 4627, 273, 261, 24, 300, 4627, 13, 738, 1059, 31, 565, 1160, 63, 6362, 65, 1906, 273, 1160, 751, 31, 565, 1160, 751, 273, 394, 1160, 63, 5814, 18, 2469, 6362, 5814, 63, 20, 8009, 2469, 397, 2072, 14, 6982, 15533, 565, 509, 394, 7972, 1369, 273, 2072, 300, 404, 31, 565, 364, 261, 474, 1592, 7972, 1369, 33, 20, 31, 1592, 7972, 1369, 32, 4210, 31, 1592, 7972, 1369, 27245, 288, 1377, 364, 261, 474, 417, 33, 20, 31, 417, 32, 5814, 18, 2469, 31, 417, 27245, 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, 1923, 12, 780, 612, 16, 3421, 1316, 16, 1250, 1142, 13, 565, 1216, 4077, 503, 16, 1860, 225, 288, 565, 309, 261, 2730, 422, 446, 13, 288, 1377, 604, 394, 4077, 503, 2932, 2040, 353, 446, 8863, 565, 289, 565, 12362, 3774, 273, 3421, 10348, 18, 6540, 17947, 12, 2730, 1769, 565, 368, 336, 326, 1835, 471, 2072, 434, 326, 1316, 565, 509, 1835, 273, 3774, 18, 588, 2384, 5621, 565, 509, 2072, 273, 3774, 18, 588, 2686, 5621, 565, 368, 4614, 4957, 501, 364, 333, 11017, 565, 1160, 63, 6362, 65, 1160, 751, 273, 3421, 10348, 18, 588, 2160, 12, 6081, 1769, 565, 368, 1608, 358, 866, 309, 326, 1835, 353, 279, 3229, 434, 1725, 2 ]
createLabel(container, toolkit, BUNDLE_SYMBOLIC_NAME_LABEL, BUNDLE_SYMBOLIC_NAME_TOOLTIP);
wSymbolicNameStatusLabel = createLabel(container, toolkit, BUNDLE_SYMBOLIC_NAME_LABEL, BUNDLE_SYMBOLIC_NAME_TOOLTIP);
private void createClient(Section section, FormToolkit toolkit) { // Set section layout GridData data = new GridData(SWT.FILL); data.grabExcessHorizontalSpace = true; data.horizontalAlignment = SWT.FILL; data.verticalAlignment = SWT.TOP; data.verticalSpan = 2; section.setLayoutData(data); // Create section client Composite container = toolkit.createComposite(section); TableWrapLayout layout = new TableWrapLayout(); layout.numColumns = 3; container.setLayout(layout); // Basic Information section FormText basicText = toolkit.createFormText(container, false); basicText.setText("<form><p><b>Basic Information</b></p></form>", true, true); TableWrapData td = new TableWrapData(); td.align = TableWrapData.FILL; td.grabHorizontal = true; td.colspan = 3; basicText.setLayoutData(td); createLabel(container, toolkit, BUNDLE_SYMBOLIC_NAME_LABEL, BUNDLE_SYMBOLIC_NAME_TOOLTIP); wSymbolicNameText = createText(container, toolkit, 2); wVersionStatusLabel = createLabel(container, toolkit, BUNDLE_VERSION_LABEL, BUNDLE_VERSION_TOOLTIP); wVersionText = createText(container, toolkit, 2); wNameStatusLabel = createLabel(container, toolkit, BUNDLE_NAME_LABEL, BUNDLE_NAME_TOOLTIP); wNameText = createText(container, toolkit, 2); wUpdateLocationStatusLabel = createLabel(container, toolkit, BUNDLE_UPDATELOCATION_LABEL, BUNDLE_UPDATELOCATION_TOOLTIP); wUpdateLocationText = createText(container, toolkit, 2); wActivatorStatusLabel = createLabel(container, toolkit, BUNDLE_ACTIVATOR_LABEL, BUNDLE_ACTIVATOR_TOOLTIP); wActivatorText = createText(container, toolkit, 1); Button wBrowseActivatorButton = toolkit.createButton(container, "Browse...", SWT.PUSH); wBrowseActivatorButton.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent event) { IType[] activators = project.getBundleActivators(); TypeSelectionDialog dialog = new TypeSelectionDialog(Display.getCurrent().getActiveShell(), activators, "BundleActivator"); if (dialog.open() == Window.OK && dialog.getResult() != null && dialog.getResult().length > 0) { // Set activator TypeSelectionDialog.Selection selection = (TypeSelectionDialog.Selection) dialog.getResult()[0]; IType activator = selection.getType(); if (activator != null) { wActivatorText.setText(activator.getFullyQualifiedName()); } else { wActivatorText.setText(""); } markDirty(); } } }); td = new TableWrapData(); wBrowseActivatorButton.setLayoutData(td); // Documentation section FormText docText = toolkit.createFormText(container, false); docText.setText("<form><p><b>Documentation</b></p></form>", true, true); td = new TableWrapData(); td.align = TableWrapData.FILL; td.grabHorizontal = true; td.colspan = 3; docText.setLayoutData(td); createLabel(container, toolkit, BUNDLE_DESCRIPTION_LABEL, BUNDLE_DESCRIPTION_TOOLTIP); wDescriptionText = createText(container, toolkit, 2); wDocUrlStatusLabel = createLabel(container, toolkit, BUNDLE_DOCURL_LABEL, BUNDLE_DOCURL_TOOLTIP); wDocUrlText = createText(container, toolkit, 2); // Vendor Information section FormText vendorText = toolkit.createFormText(container, false); vendorText.setText("<form><p><b>Vendor Information</b></p></form>", true, true); td = new TableWrapData(); td.align = TableWrapData.FILL; td.grabHorizontal = true; td.colspan = 3; vendorText.setLayoutData(td); createLabel(container, toolkit, BUNDLE_VENDOR_LABEL, BUNDLE_VENDOR_TOOLTIP); wVendorText = createText(container, toolkit, 2); createLabel(container, toolkit, BUNDLE_CONTACT_LABEL, BUNDLE_CONTACT_TOOLTIP); wContactText = createText(container, toolkit, 2); createLabel(container, toolkit, BUNDLE_COPYRIGHT_LABEL, BUNDLE_COPYRIGHT_TOOLTIP); wCopyrightText = createText(container, toolkit, 2); // Categories section FormText catText = toolkit.createFormText(container, false); catText.setText( "<form><p><b>Categories</b><br/>"+ "List of category names.</p></form>", true, true); td = new TableWrapData(); td.align = TableWrapData.FILL; td.grabHorizontal = true; td.colspan = 3; catText.setLayoutData(td); Composite wCategoryComposite = toolkit.createComposite(container); td = new TableWrapData(); td.align = TableWrapData.FILL; td.grabHorizontal = true; td.colspan = 3; wCategoryComposite.setLayoutData(td); layout = new TableWrapLayout(); layout.numColumns = 2; wCategoryComposite.setLayout(layout); // Create widgets Table wCategoryTable = toolkit.createTable(wCategoryComposite, SWT.MULTI | SWT.FULL_SELECTION); wCategoryTable.setData(FormToolkit.KEY_DRAW_BORDER, FormToolkit.TEXT_BORDER); wCategoryTableViewer = new TableViewer(wCategoryTable); wCategoryTableViewer.setContentProvider(new CategoryContentProvider()); wCategoryTableViewer.addSelectionChangedListener(new ISelectionChangedListener() { public void selectionChanged(SelectionChangedEvent event) { IStructuredSelection selection = (IStructuredSelection) wCategoryTableViewer.getSelection(); // Enable/disable remove button boolean enable = false; if (selection != null && !selection.isEmpty()) { enable = true; } wCategoryRemoveButton.setEnabled(enable); } }); new TableColumn(wCategoryTable, SWT.LEFT); TableWrapData wd = new TableWrapData(); wd.rowspan = 2; wd.grabHorizontal = true; wd.grabVertical = true; wd.align = TableWrapData.FILL; wd.valign = TableWrapData.FILL; wd.heightHint = UiUtils.convertHeightInCharsToPixels(wCategoryTable, NUM_CATEGORY_TABLE_ROWS); wCategoryTable.setLayoutData(wd); wCategoryRemoveButton = toolkit.createButton(wCategoryComposite, "Remove", SWT.PUSH); wCategoryRemoveButton.setEnabled(false); wCategoryRemoveButton.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { IStructuredSelection selection = (IStructuredSelection) wCategoryTableViewer.getSelection(); if (selection == null || selection.isEmpty()) return; List categories = new ArrayList(Arrays.asList(manifest.getCategories())); for (Iterator i = selection.iterator(); i.hasNext(); ) { String name = ((String) i.next()).trim(); categories.remove(name); } manifest.setCategories((String[]) categories.toArray(new String[categories.size()])); wCategoryTableViewer.refresh(); markDirty(); } }); wd = new TableWrapData(); wd.align = TableWrapData.FILL; wCategoryRemoveButton.setLayoutData(wd); wCategoryAddButton = toolkit.createButton(wCategoryComposite, "Add...", SWT.PUSH); wCategoryAddButton.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { HashMap map = new HashMap(); String key = "category"; PropertyDialog.Property p = new PropertyDialog.Property(key) { public boolean isValid(String value) { if (value.indexOf(",")!= -1) { return false; } return true; } }; p.setLabel("Category:"); map.put(key, p); PropertyDialog dialog = new PropertyDialog(((Button) e.widget).getShell(), map, TITLE_ADD_CATEGORY); if (dialog.open() == Window.OK) { map = dialog.getValues(); p = (PropertyDialog.Property) map.get(key); List categories = new ArrayList(Arrays.asList(manifest.getCategories())); if (p.getValue() != null && !categories.contains(p.getValue())) { categories.add(p.getValue()); manifest.setCategories((String[]) categories.toArray(new String[categories.size()])); wCategoryTableViewer.refresh(); UiUtils.packTableColumns(wCategoryTableViewer.getTable()); markDirty(); } } } }); wd = new TableWrapData(); wd.align = TableWrapData.FILL; wCategoryAddButton.setLayoutData(wd); // Execution environment section FormText environmentText = toolkit.createFormText(container, false); environmentText.setText( "<form><p><b>Execution Environment</b><br/>"+ "List of execution environments that must be present on the Service Platform.</p></form>", true, true); td = new TableWrapData(); td.align = TableWrapData.FILL; td.grabHorizontal = true; td.colspan = 3; environmentText.setLayoutData(td); Composite wEnvironmentComposite = toolkit.createComposite(container); td = new TableWrapData(); td.align = TableWrapData.FILL; td.grabHorizontal = true; td.colspan = 3; wEnvironmentComposite.setLayoutData(td); layout = new TableWrapLayout(); layout.numColumns = 2; wEnvironmentComposite.setLayout(layout); // Create widgets Table wEnvironmentTable = toolkit.createTable(wEnvironmentComposite, SWT.MULTI | SWT.FULL_SELECTION); wEnvironmentTable.setData(FormToolkit.KEY_DRAW_BORDER, FormToolkit.TEXT_BORDER); wEnvironmentTableViewer = new TableViewer(wEnvironmentTable); EnvironmentContentProvider environmentProvider = new EnvironmentContentProvider(); wEnvironmentTableViewer.setContentProvider(environmentProvider); wEnvironmentTableViewer.setLabelProvider(environmentProvider); wEnvironmentTableViewer.addSelectionChangedListener(new ISelectionChangedListener() { public void selectionChanged(SelectionChangedEvent event) { IStructuredSelection selection = (IStructuredSelection) wEnvironmentTableViewer.getSelection(); // Enable/disable remove button boolean enable = false; if (selection != null && !selection.isEmpty()) { enable = true; } wEnvironmentRemoveButton.setEnabled(enable); } }); new TableColumn(wEnvironmentTable, SWT.LEFT); wd = new TableWrapData(); wd.rowspan = 2; wd.grabHorizontal = true; wd.grabVertical = true; wd.align = TableWrapData.FILL; wd.valign = TableWrapData.FILL; wd.heightHint = UiUtils.convertHeightInCharsToPixels(wEnvironmentTable, NUM_ENVIRONMENT_TABLE_ROWS); wEnvironmentTable.setLayoutData(wd); wEnvironmentRemoveButton = toolkit.createButton(wEnvironmentComposite, "Remove", SWT.PUSH); wEnvironmentRemoveButton.setEnabled(false); wEnvironmentRemoveButton.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { IStructuredSelection selection = (IStructuredSelection) wEnvironmentTableViewer.getSelection(); if (selection == null || selection.isEmpty()) return; List environments = new ArrayList(Arrays.asList(manifest.getExecutionEnvironments())); for (Iterator i = selection.iterator(); i.hasNext(); ) { String name = ((String) i.next()).trim(); environments.remove(name); } manifest.setExecutionEnvironments((String[]) environments.toArray(new String[environments.size()])); wEnvironmentTableViewer.refresh(); markDirty(); } }); wd = new TableWrapData(); wd.align = TableWrapData.FILL; wEnvironmentRemoveButton.setLayoutData(wd); wEnvironmentAddButton = toolkit.createButton(wEnvironmentComposite, "Add...", SWT.PUSH); wEnvironmentAddButton.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { EnvironmentPreference[] prefEnvironments = OsgiPreferences.getExecutionEnvironments(); TreeSet dialogEnvironments = new TreeSet(); for (int i=0; i<prefEnvironments.length;i++){ if (prefEnvironments[i].getType() != EnvironmentPreference.TYPE_JRE) { dialogEnvironments.add(prefEnvironments[i].getName()); } } // Remove already selected environments ArrayList environments = new ArrayList(Arrays.asList(manifest.getExecutionEnvironments())); dialogEnvironments.removeAll(environments); EnvironmentContentProvider environmentProvider = new EnvironmentContentProvider(); ElementListSelectionDialog dialog = new ElementListSelectionDialog( Display.getDefault().getActiveShell(), environmentProvider); dialog.setElements(dialogEnvironments.toArray()); dialog.setMultipleSelection(true); dialog.setTitle(TITLE_ADD_ENVIRONMENT); dialog.setImage(JavaUI.getSharedImages().getImage(org.eclipse.jdt.ui.ISharedImages.IMG_OBJS_LIBRARY)); dialog.setMessage("Select the execution environments to add."); if (dialog.open() == Window.OK) { Object [] result = dialog.getResult(); for (int i=0; i<result.length;i++) { environments.add(result[i]); } if (result.length > 0) { manifest.setExecutionEnvironments((String[]) environments.toArray(new String[environments.size()])); wEnvironmentTableViewer.refresh(); UiUtils.packTableColumns(wEnvironmentTableViewer.getTable()); markDirty(); } } } }); wd = new TableWrapData(); wd.align = TableWrapData.FILL; wEnvironmentAddButton.setLayoutData(wd); container.pack(true); container.layout(true); toolkit.paintBordersFor(container); toolkit.paintBordersFor(wCategoryComposite); toolkit.paintBordersFor(wEnvironmentComposite); section.setClient(container); }
14547 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14547/6b38c17be0ab5d381469e1995246a060267163d9/GeneralSection.java/buggy/org.knopflerfish.eclipse.core.ui/src/org/knopflerfish/eclipse/core/ui/editors/manifest/GeneralSection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 30872, 12, 5285, 2442, 16, 2748, 6364, 8691, 5226, 8691, 13, 288, 3639, 368, 1000, 2442, 3511, 565, 7145, 751, 501, 273, 394, 7145, 751, 12, 55, 8588, 18, 29818, 1769, 565, 501, 18, 2752, 70, 424, 614, 14457, 3819, 273, 638, 31, 565, 501, 18, 18396, 11535, 273, 348, 8588, 18, 29818, 31, 565, 501, 18, 17824, 11535, 273, 348, 8588, 18, 10462, 31, 565, 501, 18, 17824, 6952, 273, 576, 31, 565, 2442, 18, 542, 3744, 751, 12, 892, 1769, 3639, 368, 1788, 2442, 1004, 565, 14728, 1478, 273, 5226, 8691, 18, 2640, 9400, 12, 3464, 1769, 565, 3555, 2964, 3744, 3511, 273, 394, 3555, 2964, 3744, 5621, 565, 3511, 18, 2107, 3380, 273, 890, 31, 565, 1478, 18, 542, 3744, 12, 6741, 1769, 3639, 368, 7651, 15353, 2442, 565, 2748, 1528, 5337, 1528, 273, 5226, 8691, 18, 2640, 1204, 1528, 12, 3782, 16, 629, 1769, 565, 5337, 1528, 18, 542, 1528, 2932, 32, 687, 4438, 84, 4438, 70, 34, 8252, 15353, 1757, 70, 4695, 84, 4695, 687, 2984, 16, 638, 16, 638, 1769, 565, 3555, 2964, 751, 6655, 273, 394, 3555, 2964, 751, 5621, 565, 6655, 18, 7989, 273, 3555, 2964, 751, 18, 29818, 31, 565, 6655, 18, 2752, 70, 14457, 273, 638, 31, 565, 6655, 18, 1293, 3969, 273, 890, 31, 565, 5337, 1528, 18, 542, 3744, 751, 12, 4465, 1769, 3639, 341, 10876, 12164, 461, 1482, 2224, 273, 752, 2224, 12, 3782, 16, 5226, 8691, 16, 605, 21371, 67, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 918, 30872, 12, 5285, 2442, 16, 2748, 6364, 8691, 5226, 8691, 13, 288, 3639, 368, 1000, 2442, 3511, 565, 7145, 751, 501, 273, 394, 7145, 751, 12, 55, 8588, 18, 29818, 1769, 565, 501, 18, 2752, 70, 424, 614, 14457, 3819, 273, 638, 31, 565, 501, 18, 18396, 11535, 273, 348, 8588, 18, 29818, 31, 565, 501, 18, 17824, 11535, 273, 348, 8588, 18, 10462, 31, 565, 501, 18, 17824, 6952, 273, 576, 31, 565, 2442, 18, 542, 3744, 751, 12, 892, 1769, 3639, 368, 1788, 2442, 1004, 565, 14728, 1478, 273, 5226, 8691, 18, 2640, 9400, 12, 3464, 1769, 565, 3555, 2964, 3744, 3511, 273, 394, 3555, 2964, 3744, 5621, 565, 3511, 18, 2107, 3380, 273, 2 ]
public NodeSet findElementsByTagName(byte type, DocumentSet docs, QName qname) { //final long start = System.currentTimeMillis(); //final ArraySet result = new ArraySet(10000); final ExtArrayNodeSet result = new ExtArrayNodeSet(256); DocumentImpl doc; int docId; int len; short collectionId; long gid, address; VariableByteInputStream is; ElementValue ref; byte[] data; InputStream dis; short sym, nsSym; Collection collection; final short nodeType = (type == ElementValue.ATTRIBUTE ? Node.ATTRIBUTE_NODE : Node.ELEMENT_NODE); final Lock lock = elementsDb.getLock(); for (Iterator i = docs.getCollectionIterator(); i.hasNext();) { collection = (Collection) i.next(); collectionId = collection.getId(); if (type == ElementValue.ATTRIBUTE_ID) { ref = new ElementValue((byte) type, collectionId, qname.getLocalName()); } else { sym = NativeBroker.getSymbols().getSymbol(qname.getLocalName()); nsSym = NativeBroker.getSymbols().getNSSymbol(qname.getNamespaceURI()); ref = new ElementValue((byte) type, collectionId, sym, nsSym); } try { lock.acquire(Lock.READ_LOCK); dis = elementsDb.getAsStream(ref); } catch (LockException e) { LOG.warn("failed to acquire lock", e); dis = null; } catch (IOException e) { LOG.warn("io exception while reading elements for " + qname, e); dis = null; } finally { lock.release(); } if (dis == null) continue; is = new VariableByteInputStream(dis); try { while (is.available() > 0) { docId = is.readInt(); len = is.readInt(); if ((doc = docs.getDoc(docId)) == null) { is.skip(len * 4); continue; } gid = 0; for (int k = 0; k < len; k++) { gid = gid + is.readLong(); result.add( new NodeProxy(doc, gid, nodeType, StorageAddress.read(is)), len); } } } catch (EOFException e) { } catch (IOException e) { LOG.warn("unexpected io error", e); } } result.sort(); // LOG.debug( // "found " // + qname // + ": " // + result.getLength() // + " in " // + (System.currentTimeMillis() - start) // + "ms."); return result; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/96a020d1e295b0656cc0cf89c67a713d91bb61ad/NativeBroker.java/buggy/src/org/exist/storage/NativeBroker.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2029, 694, 1104, 3471, 10401, 12, 7229, 618, 16, 4319, 694, 3270, 16, 16723, 12621, 13, 288, 202, 202, 759, 6385, 1525, 787, 273, 2332, 18, 2972, 28512, 5621, 202, 202, 759, 6385, 1510, 694, 563, 273, 394, 1510, 694, 12, 23899, 1769, 202, 202, 6385, 6419, 1076, 907, 694, 563, 273, 394, 6419, 1076, 907, 694, 12, 5034, 1769, 202, 202, 2519, 2828, 997, 31, 202, 202, 474, 20111, 31, 202, 202, 474, 562, 31, 202, 202, 6620, 1849, 548, 31, 202, 202, 5748, 11399, 16, 1758, 31, 202, 202, 3092, 3216, 4348, 353, 31, 202, 202, 1046, 620, 1278, 31, 202, 202, 7229, 8526, 501, 31, 202, 202, 4348, 1015, 31, 202, 202, 6620, 5382, 16, 3153, 11901, 31, 202, 202, 2532, 1849, 31, 202, 202, 6385, 3025, 9507, 273, 1082, 202, 12, 723, 422, 3010, 620, 18, 11616, 692, 2029, 18, 11616, 67, 8744, 294, 2029, 18, 10976, 67, 8744, 1769, 202, 202, 6385, 3488, 2176, 273, 2186, 4331, 18, 588, 2531, 5621, 202, 202, 1884, 261, 3198, 277, 273, 3270, 18, 588, 2532, 3198, 5621, 277, 18, 5332, 2134, 5621, 13, 288, 1082, 202, 5548, 273, 261, 2532, 13, 277, 18, 4285, 5621, 1082, 202, 5548, 548, 273, 1849, 18, 26321, 5621, 1082, 202, 430, 261, 723, 422, 3010, 620, 18, 11616, 67, 734, 13, 288, 9506, 202, 1734, 273, 394, 3010, 620, 12443, 7229, 13, 618, 16, 1849, 548, 16, 12621, 18, 588, 29583, 10663, 1082, 202, 97, 469, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2029, 694, 1104, 3471, 10401, 12, 7229, 618, 16, 4319, 694, 3270, 16, 16723, 12621, 13, 288, 202, 202, 759, 6385, 1525, 787, 273, 2332, 18, 2972, 28512, 5621, 202, 202, 759, 6385, 1510, 694, 563, 273, 394, 1510, 694, 12, 23899, 1769, 202, 202, 6385, 6419, 1076, 907, 694, 563, 273, 394, 6419, 1076, 907, 694, 12, 5034, 1769, 202, 202, 2519, 2828, 997, 31, 202, 202, 474, 20111, 31, 202, 202, 474, 562, 31, 202, 202, 6620, 1849, 548, 31, 202, 202, 5748, 11399, 16, 1758, 31, 202, 202, 3092, 3216, 4348, 353, 31, 202, 202, 1046, 620, 1278, 31, 202, 202, 7229, 8526, 501, 31, 202, 202, 4348, 1015, 31, 202, 202, 6620, 2 ]