rem
stringlengths
1
226k
add
stringlengths
0
227k
context
stringlengths
6
326k
meta
stringlengths
143
403
input_ids
listlengths
256
256
attention_mask
listlengths
256
256
labels
listlengths
128
128
return haveMinimumServerVersion("7.1");
return connection.haveMinimumServerVersion("7.1");
public boolean supportsUnionAll() throws SQLException { return haveMinimumServerVersion("7.1"); }
45672 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45672/184505bbfc2484103083728601999f8b7cb87944/DatabaseMetaData.java/clean/src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1250, 6146, 14325, 1595, 1435, 1216, 6483, 225, 288, 1377, 327, 1459, 18, 21516, 13042, 2081, 1444, 2932, 27, 18, 21, 8863, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 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, 6146, 14325, 1595, 1435, 1216, 6483, 225, 288, 1377, 327, 1459, 18, 21516, 13042, 2081, 1444, 2932, 27, 18, 21, 8863, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -1...
checkParserStateNs(xpp, 0, xpp.END_DOCUMENT, null, 0, null, null, null, false, -1);
checkParserStateNs(xpp, 0, XmlPullParser.END_DOCUMENT, null, 0, null, null, null, false, -1);
public void testMultipleOverlappingNamespaces() throws Exception { XmlSerializer ser = factory.newSerializer(); //<section xmlns='urn:com:books-r-us'> // <!-- 2 --> <title>Book-Signing Event</title> // <!-- 3 --> <signing> // <!-- 4 --> <author title="Mr" name="...
3949 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3949/25be6df80154469aacea3441a8e7758596d46574/TestSerializeWithNs.java/clean/src/java/tests/org/xmlpull/v1/tests/TestSerializeWithNs.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 8438, 17411, 1382, 13180, 1435, 1216, 1185, 288, 3639, 5714, 6306, 703, 273, 3272, 18, 2704, 6306, 5621, 7734, 368, 32, 3464, 12302, 2218, 321, 30, 832, 30, 12567, 17, 86...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8438, 17411, 1382, 13180, 1435, 1216, 1185, 288, 3639, 5714, 6306, 703, 273, 3272, 18, 2704, 6306, 5621, 7734, 368, 32, 3464, 12302, 2218, 321, 30, 832, 30, 12567, 17, 86...
protected void addNewSeriesDefinition( ) { // Create a series definition without data definition SeriesDefinition sdTmp = SeriesDefinitionImpl.create( ); sdTmp.getSeriesPalette( ).update( -seriesDefns.size( ) ); sdTmp.getSeries( ) .add( EcoreUtil.copy( ( (SeriesDefinition) seriesDefns.get( 0 ) ).getDesignTimeSe...
12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/4f9bd23f1146330eb005988c0b90159876d3d104/DataDefinitionSelector.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/wizard/data/DataDefinitionSelector.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 6459, 1289, 1908, 6485, 1852, 1435, 202, 95, 202, 202, 759, 1684, 345, 3924, 6907, 13299, 892, 6907, 202, 202, 6485, 1852, 6427, 9161, 33, 6485, 1852, 2828, 18, 2640, 5621, 202...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6459, 1289, 1908, 6485, 1852, 1435, 202, 95, 202, 202, 759, 1684, 345, 3924, 6907, 13299, 892, 6907, 202, 202, 6485, 1852, 6427, 9161, 33, 6485, 1852, 2828, 18, 2640, 5621, 202...
fs.put("routingBackoff", Long.toString((Math.max(routingBackedOffUntil - now, 0))));
fs.put("routingBackoff", Long.toString((Math.max(getRoutingBackedOffUntil() - now, 0))));
public SimpleFieldSet exportVolatileFieldSet() { SimpleFieldSet fs = new SimpleFieldSet(true); fs.put("averagePingTime", Double.toString(averagePingTime())); long now = System.currentTimeMillis(); long idle = now - lastReceivedPacketTime(); if(idle > (60 * 1000)) { // 1 minute fs.put("idle", Long.toStrin...
56348 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56348/7575bc3fb32360236cef62f655076b5de182f7d4/PeerNode.java/buggy/src/freenet/node/PeerNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4477, 974, 694, 3359, 17431, 20295, 974, 694, 1435, 288, 377, 202, 5784, 974, 694, 2662, 273, 394, 4477, 974, 694, 12, 3767, 1769, 202, 202, 2556, 18, 458, 2932, 15621, 17223, 950, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4477, 974, 694, 3359, 17431, 20295, 974, 694, 1435, 288, 377, 202, 5784, 974, 694, 2662, 273, 394, 4477, 974, 694, 12, 3767, 1769, 202, 202, 2556, 18, 458, 2932, 15621, 17223, 950, ...
fDocumentHandler.emptyElement(element, attributes, augs);
fDocumentHandler.emptyElement(element, attributes, modifiedAugs);
public void emptyElement(QName element, XMLAttributes attributes, Augmentations augs) throws XNIException { handleStartElement(element, attributes, augs); // in the case where there is a {value constraint}, and the element // doesn't have any text content, change emptyElement call to ...
6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/760ff9e68c2dd10dbc9982f043ce891f1aa6dbb1/XMLSchemaValidator.java/buggy/src/org/apache/xerces/impl/xs/XMLSchemaValidator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1008, 1046, 12, 13688, 930, 16, 3167, 2498, 1677, 16, 432, 14870, 1012, 279, 9024, 13, 565, 1216, 1139, 50, 45, 503, 288, 3639, 1640, 1685, 1046, 12, 2956, 16, 1677, 16, 279,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1008, 1046, 12, 13688, 930, 16, 3167, 2498, 1677, 16, 432, 14870, 1012, 279, 9024, 13, 565, 1216, 1139, 50, 45, 503, 288, 3639, 1640, 1685, 1046, 12, 2956, 16, 1677, 16, 279,...
getTickStyle( axaOverlayOrthogonal[i], MAJOR ) ),
switchTickStyle( getTickStyle( axaOverlayOrthogonal[i], MAJOR ) ) ),
final void buildAxes( ) throws IllegalArgumentException, ChartException { final Axis[] axa = cwa.getPrimaryBaseAxes( ); final Axis axPrimaryBase = axa[0]; // NOTE: FOR REL 1 AXIS RENDERS, WE // SUPPORT A SINGLE PRIMARY BASE AXIS // ONLY if ( !axPrimaryBase.isSetOrientation( ) ) { axPrimaryBase.setOrientation( ...
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/536b54a46b25aa99e427a2fbd8217e09108c905a/PlotWith2DAxes.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/withaxes/PlotWith2DAxes.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 6385, 918, 1361, 26494, 12, 262, 1216, 2754, 16, 14804, 503, 202, 95, 202, 202, 6385, 15509, 8526, 1740, 69, 273, 14098, 69, 18, 588, 6793, 2171, 26494, 12, 11272, 202, 202, 6385, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6385, 918, 1361, 26494, 12, 262, 1216, 2754, 16, 14804, 503, 202, 95, 202, 202, 6385, 15509, 8526, 1740, 69, 273, 14098, 69, 18, 588, 6793, 2171, 26494, 12, 11272, 202, 202, 6385, ...
Map result = new HashMap(); getRuleParameters(result, ((RuleDescr) rules.get(0)).getLhs().getDescrs()); Iterator iterator2 = result.keySet().iterator(); while (iterator2.hasNext()) { String name = (String) iterator2.next(); RuleCompletionProposal proposal = new RuleCompletionProposal(prefix.length(), name); proposal.se...
getRuleParameters(params, ((RuleDescr) rules.get(0)).getLhs().getDescrs());
private void addLHSCompletionProposals(ITextViewer viewer, final List list, DSLAdapter adapter, final String prefix, String backText) throws CoreException, DroolsParserException { Iterator iterator; Image droolsIcon = DroolsPluginImages.getImage(DroolsPluginImages.DROOLS); if (!adapter.hasConditions()) { // deter...
56149 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56149/83f56cf259fd6ab63e77ac79f470f41aede5ecca/RuleCompletionProcessor.java/buggy/drools-ide/src/main/java/org/drools/ide/editors/completion/RuleCompletionProcessor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 527, 48, 13173, 11238, 626, 22536, 12, 1285, 408, 18415, 14157, 16, 727, 987, 666, 16, 28053, 4216, 4516, 16, 727, 514, 1633, 16, 514, 1473, 1528, 13, 1216, 30015, 16, 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, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 527, 48, 13173, 11238, 626, 22536, 12, 1285, 408, 18415, 14157, 16, 727, 987, 666, 16, 28053, 4216, 4516, 16, 727, 514, 1633, 16, 514, 1473, 1528, 13, 1216, 30015, 16, 2...
public void fireTableCellUpdated(int row, int column) { fireTableChanged(new TableModelEvent(this, row, row, column)); }
public void fireTableCellUpdated (int row, int column) { fireTableChanged (new TableModelEvent (this, row, row, column)); }
public void fireTableCellUpdated(int row, int column) { fireTableChanged(new TableModelEvent(this, row, row, column)); } // fireTableCellUpdated()
56365 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56365/fab59a31bd9990444e42708fa321ad9450bd4564/AbstractTableModel.java/clean/libjava/javax/swing/table/AbstractTableModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 4452, 1388, 4020, 7381, 12, 474, 1027, 16, 509, 1057, 13, 288, 202, 202, 12179, 1388, 5033, 12, 2704, 3555, 1488, 1133, 12, 2211, 16, 1027, 16, 1027, 16, 1057, 10019, 202...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 4452, 1388, 4020, 7381, 12, 474, 1027, 16, 509, 1057, 13, 288, 202, 202, 12179, 1388, 5033, 12, 2704, 3555, 1488, 1133, 12, 2211, 16, 1027, 16, 1027, 16, 1057, 10019, 202...
for (int i= 0; i < m1Parameters.length; i++) { if ( ! (equals(m2Parameters[i], m1Parameters[i]) || equals(m2Parameters[i].getErasure(), m1Parameters[i])))
if (equals(m1Params, m2Params)) return true; for (int i= 0; i < m1Params.length; i++) { ITypeBinding m1Param= m1Params[i]; if (m1Param.isRawType()) m1Param= m1Param.getTypeDeclaration(); if (! (equals(m1Param, m2Params[i].getErasure())))
public static boolean isSubsignature(IMethodBinding m1, IMethodBinding m2) { //TODO: use IMethodBinding#isSubsignature(..) once it is tested and fixed (only erasure of m1's parameter types, considering type variable counts, doing type variable substitution if (! m1.getName().equals(m2.getName())) return false; ...
9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/c2828d491ccaa3d00dac87cfda6a3cc5e5057d29/Bindings.java/buggy/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/Bindings.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 1250, 16523, 8195, 12, 45, 1305, 5250, 312, 21, 16, 467, 1305, 5250, 312, 22, 13, 288, 202, 202, 759, 6241, 30, 999, 467, 1305, 5250, 7, 291, 1676, 8195, 12, 838, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 1250, 16523, 8195, 12, 45, 1305, 5250, 312, 21, 16, 467, 1305, 5250, 312, 22, 13, 288, 202, 202, 759, 6241, 30, 999, 467, 1305, 5250, 7, 291, 1676, 8195, 12, 838, 13, ...
for (int i = 0 ; i < compileList.length ; i++) {
for (int i = 0; i < compileList.length; i++) {
protected void compile() { String compilerImpl = getCompiler(); if (compileList.length > 0) { log("Compiling " + compileList.length + " source file" + (compileList.length == 1 ? "" : "s") + (destDir != null ? " to " + destDir : "")); i...
17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/29b5568d6053aa7b9b7fba411ef77242b170f634/Javac.java/buggy/src/main/org/apache/tools/ant/taskdefs/Javac.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 4074, 1435, 288, 3639, 514, 5274, 2828, 273, 336, 9213, 5621, 3639, 309, 261, 11100, 682, 18, 2469, 405, 374, 13, 288, 5411, 613, 2932, 2945, 4973, 315, 397, 4074, 682, 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, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 4074, 1435, 288, 3639, 514, 5274, 2828, 273, 336, 9213, 5621, 3639, 309, 261, 11100, 682, 18, 2469, 405, 374, 13, 288, 5411, 613, 2932, 2945, 4973, 315, 397, 4074, 682, 18, 2...
void startElement (String elname)
void startElement(String elname)
void startElement (String elname) throws SAXException { ContentHandler handler = contentHandler; // // NOTE: this implementation of namespace support adds something // like six percent to parsing CPU time, in a large (~50 MB) // document that doesn't use namespaces at all. (Measured by PC // sampling, with ...
5916 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5916/7fb7568e63c3fe14af521de4699cb37898923ca7/SAXDriver.java/buggy/libjava/gnu/xml/aelfred2/SAXDriver.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 13591, 12, 780, 415, 529, 13, 565, 1216, 14366, 565, 288, 202, 1350, 1503, 1838, 273, 913, 1503, 31, 202, 759, 202, 759, 5219, 30, 225, 333, 4471, 434, 1981, 2865, 4831, 5943, 202,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 918, 13591, 12, 780, 415, 529, 13, 565, 1216, 14366, 565, 288, 202, 1350, 1503, 1838, 273, 913, 1503, 31, 202, 759, 202, 759, 5219, 30, 225, 333, 4471, 434, 1981, 2865, 4831, 5943, 202,...
public org.quickfix.field.LegDatedDate getLegDatedDate() throws FieldNotFound { org.quickfix.field.LegDatedDate value = new org.quickfix.field.LegDatedDate();
public quickfix.field.LegDatedDate getLegDatedDate() throws FieldNotFound { quickfix.field.LegDatedDate value = new quickfix.field.LegDatedDate();
public org.quickfix.field.LegDatedDate getLegDatedDate() throws FieldNotFound { org.quickfix.field.LegDatedDate value = new org.quickfix.field.LegDatedDate(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/News.java/clean/src/java/src/quickfix/fix44/News.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 40, 690, 1626, 336, 8329, 40, 690, 1626, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 40, 690, 1626, 460, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 40, 690, 1626, 336, 8329, 40, 690, 1626, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 40, 690, 1626, 460, ...
public void ruleAction(int ruleNumber) { switch (ruleNumber) { // // Rule 1: TypeName ::= TypeName . ErrorId // case 1: { //#line 6 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" ...
1832 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1832/f8e1720cd66996a6339b992bf154aa0d019240a3/X10Parser.java/clean/x10.compiler/src/x10/parser/X10Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1720, 1803, 12, 474, 1720, 1854, 13, 565, 288, 3639, 1620, 261, 5345, 1854, 13, 3639, 288, 2398, 368, 5411, 368, 6781, 404, 30, 225, 21036, 493, 33, 21036, 263, 1068, 548, 54...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1720, 1803, 12, 474, 1720, 1854, 13, 565, 288, 3639, 1620, 261, 5345, 1854, 13, 3639, 288, 2398, 368, 5411, 368, 6781, 404, 30, 225, 21036, 493, 33, 21036, 263, 1068, 548, 54...
String supplyType = pg.getSupplyType();
String supplyType = pg.getSupplyType();
public static String getUnitForAsset(Asset invAsset) { SupplyClassPG pg = (SupplyClassPG)invAsset.searchForPropertyGroup(SupplyClassPG.class); String supplyType = pg.getSupplyType(); if(supplyType.equals(SUBSISTENCE_SUPPLY_TYPE)) { return SUBSISTENCE_UNIT; } else if(supplyType.equals(BULK_POL_SUPPLY_TYPE)) { ...
11319 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11319/3c5da4a17db473b8f1094089e88e37b446b21e3b/LogisticsInventoryFormatter.java/buggy/bbn/src/org/cougaar/logistics/plugin/inventory/LogisticsInventoryFormatter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 19194, 1290, 6672, 12, 6672, 2198, 6672, 13, 288, 202, 3088, 1283, 797, 18679, 7184, 273, 261, 3088, 1283, 797, 18679, 13, 5768, 6672, 18, 3072, 1290, 1396, 1114, 12, 3088...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 514, 19194, 1290, 6672, 12, 6672, 2198, 6672, 13, 288, 202, 3088, 1283, 797, 18679, 7184, 273, 261, 3088, 1283, 797, 18679, 13, 5768, 6672, 18, 3072, 1290, 1396, 1114, 12, 3088...
final DimensionCalc dimensionCalc = compiler.compileDimension(call.getArg(0)); return new AbstractStringCalc(call, new Calc[] {dimensionCalc}) {
final MemberCalc memberCalc = compiler.compileMember(call.getArg(0)); return new AbstractStringCalc(call, new Calc[] {memberCalc}) {
public Calc compileCall(ResolvedFunCall call, ExpCompiler compiler) { final DimensionCalc dimensionCalc = compiler.compileDimension(call.getArg(0)); return new AbstractStringCalc(call, new Calc[] {dimensionCalc}) { public String evaluat...
4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/759b141925c76c1aa0aaf89d93dc38bfe19d7c5a/BuiltinFunTable.java/clean/src/main/mondrian/olap/fun/BuiltinFunTable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 29128, 4074, 1477, 12, 12793, 22783, 1477, 745, 16, 7784, 9213, 5274, 13, 288, 7734, 727, 13037, 25779, 4968, 25779, 273, 13491, 5274, 18, 11100, 8611, 12, 1991, 18, 588, 4117, 12, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2398, 1071, 29128, 4074, 1477, 12, 12793, 22783, 1477, 745, 16, 7784, 9213, 5274, 13, 288, 7734, 727, 13037, 25779, 4968, 25779, 273, 13491, 5274, 18, 11100, 8611, 12, 1991, 18, 588, 4117, 12, ...
logProbability -= curState.getProbability();
private SearchStateArc createNextWordState(LexTreeState curState, LexTree.WordLexNode nextWord) { WordSequence wordSequence = curState.getWordSequence(); float logProbability = logOne; if (!nextWord.isSilence()) { wordSequence = wordSequence.addWord (nextWor...
47105 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47105/12665f28fef69d23bc1e1366e494499ca406a5ba/LexTreeLinguist.java/clean/sphinx4/edu/cmu/sphinx/decoder/linguist/lextree/LexTreeLinguist.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 5167, 1119, 14598, 752, 2134, 3944, 1119, 12, 14756, 2471, 1119, 5411, 662, 1119, 16, 15123, 2471, 18, 3944, 14756, 907, 1024, 3944, 13, 288, 3639, 9926, 4021, 2076, 4021, 273, 662, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5167, 1119, 14598, 752, 2134, 3944, 1119, 12, 14756, 2471, 1119, 5411, 662, 1119, 16, 15123, 2471, 18, 3944, 14756, 907, 1024, 3944, 13, 288, 3639, 9926, 4021, 2076, 4021, 273, 662, ...
+ Integer.toHexString(tds.peek()&0xff));
+ Integer.toHexString(actTds.peek()&0xff));
public java.sql.ResultSet getResultSet() throws SQLException { try { if (tds == null) { throw new SQLException("Statement is closed"); } closeResults(); if (tds.peek()==TdsDefinitions.TDS_DONEINPROC) { PacketResult tmp = tds.processSub...
5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/ba5b8f497b6d03c346efa441c78b79f7041f00ff/TdsStatement.java/clean/src.old/main/com/internetcds/jdbc/tds/TdsStatement.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 2252, 18, 4669, 18, 13198, 8601, 694, 1435, 1216, 6483, 282, 288, 1377, 775, 1377, 288, 540, 309, 261, 88, 2377, 422, 446, 13, 540, 288, 5411, 604, 394, 6483, 2932, 3406, 353, 437...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2252, 18, 4669, 18, 13198, 8601, 694, 1435, 1216, 6483, 282, 288, 1377, 775, 1377, 288, 540, 309, 261, 88, 2377, 422, 446, 13, 540, 288, 5411, 604, 394, 6483, 2932, 3406, 353, 437...
public NameNode() throws IOException { this(new File(NutchConf.get().get("ndfs.name.dir",
public NameNode(NutchConf nutchConf) throws IOException { this(new File(nutchConf.get("ndfs.name.dir",
public NameNode() throws IOException { this(new File(NutchConf.get().get("ndfs.name.dir", "/tmp/nutch/ndfs/name")), DataNode.createSocketAddr (NutchConf.get().get("fs.default.name", "local")).getPort()); }
1316 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1316/329ff64e9d7295aff108f85e9a8103f5e5f8f398/NameNode.java/buggy/src/java/org/apache/nutch/ndfs/NameNode.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1770, 907, 1435, 1216, 1860, 288, 3639, 333, 12, 2704, 1387, 12, 50, 322, 343, 3976, 18, 588, 7675, 588, 2932, 82, 12381, 18, 529, 18, 1214, 3113, 4766, 1850, 2206, 5645, 19, 82, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1770, 907, 1435, 1216, 1860, 288, 3639, 333, 12, 2704, 1387, 12, 50, 322, 343, 3976, 18, 588, 7675, 588, 2932, 82, 12381, 18, 529, 18, 1214, 3113, 4766, 1850, 2206, 5645, 19, 82, ...
public org.quickfix.field.WaveNo getWaveNo() throws FieldNotFound { org.quickfix.field.WaveNo value = new org.quickfix.field.WaveNo();
public quickfix.field.WaveNo getWaveNo() throws FieldNotFound { quickfix.field.WaveNo value = new quickfix.field.WaveNo();
public org.quickfix.field.WaveNo getWaveNo() throws FieldNotFound { org.quickfix.field.WaveNo value = new org.quickfix.field.WaveNo(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/ListStatusRequest.java/buggy/src/java/src/quickfix/fix40/ListStatusRequest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 22368, 2279, 13876, 836, 2279, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 22368, 2279, 460, 273, 394, 2358, 18, 19525,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 22368, 2279, 13876, 836, 2279, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 22368, 2279, 460, 273, 394, 2358, 18, 19525,...
this.informationmemory = new InformationMemory(administrator, caadminsession, raadminsession, authorizationsession, signsession, certificatestoresession, hardtokensession, publishersession, globalconfiguration);
this.informationmemory = new InformationMemory(administrator, caadminsession, raadminsession, authorizationsession, certificatestoresession, hardtokensession, publishersession, globalconfiguration);
private void commonInit() throws Exception { ServiceLocator locator = ServiceLocator.getInstance(); ISignSessionLocalHome signsessionhome = (ISignSessionLocalHome) locator.getLocalHome(ISignSessionLocalHome.COMP_NAME); ISignSessionLocal signsession = signsessionhome.create(); IRaAdminSessio...
4109 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4109/7252922d8cb9bfc101faf67e3ecd4ab689b85a9e/EjbcaWebBean.java/buggy/src/java/se/anatom/ejbca/webdist/webconfiguration/EjbcaWebBean.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2975, 2570, 1435, 1216, 1185, 288, 3639, 21443, 8871, 273, 21443, 18, 588, 1442, 5621, 3639, 467, 2766, 2157, 2042, 8684, 1573, 3184, 8712, 273, 261, 45, 2766, 2157, 2042, 8684, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2975, 2570, 1435, 1216, 1185, 288, 3639, 21443, 8871, 273, 21443, 18, 588, 1442, 5621, 3639, 467, 2766, 2157, 2042, 8684, 1573, 3184, 8712, 273, 261, 45, 2766, 2157, 2042, 8684, ...
public ActionForward editEvaluationMethod(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws FenixActionException, FenixFilterException { HttpSession session = request.getSession(false); Integer objectCode = getObjectCode(requ...
2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/f1790994e90150a41f878ae3110bab38ce01b720/TeacherAdministrationViewerDispatchAction.java/clean/src/net/sourceforge/fenixedu/presentationTier/Action/teacher/TeacherAdministrationViewerDispatchAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 4382, 8514, 3874, 13468, 1305, 12, 1803, 3233, 2874, 16, 4382, 1204, 646, 16, 5411, 9984, 590, 16, 12446, 766, 13, 1216, 478, 275, 697, 1803, 503, 16, 5411, 478, 275, 697, 1586, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4382, 8514, 3874, 13468, 1305, 12, 1803, 3233, 2874, 16, 4382, 1204, 646, 16, 5411, 9984, 590, 16, 12446, 766, 13, 1216, 478, 275, 697, 1803, 503, 16, 5411, 478, 275, 697, 1586, 5...
Column(Table table, MondrianDef.Expression expression,
Column(Table table, MondrianDef.Expression expression,
Column(Table table, MondrianDef.Expression expression, boolean isNumeric) { this.table = table; this.expression = expression; this.isNumeric = isNumeric; }
37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/07361d134494edaf7e47eaedb40351c66d2a28b0/RolapStar.java/buggy/src/main/mondrian/rolap/RolapStar.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 4753, 12, 1388, 1014, 16, 7734, 490, 1434, 566, 304, 3262, 18, 2300, 2652, 16, 7734, 1250, 26434, 13, 288, 5411, 333, 18, 2121, 273, 1014, 31, 5411, 333, 18, 8692, 273, 2652, 31, 5411, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 4753, 12, 1388, 1014, 16, 7734, 490, 1434, 566, 304, 3262, 18, 2300, 2652, 16, 7734, 1250, 26434, 13, 288, 5411, 333, 18, 2121, 273, 1014, 31, 5411, 333, 18, 8692, 273, 2652, 31, 5411, ...
return downloadTask(url, taskIntegrator, len);
return downloadTask(url, null, len);
protected static String downloadPatch(String url, ITaskIntegrator taskIntegrator, String contentLength) throws IOException { try { long len = -1; try { len = Long.parseLong(contentLength); } catch (NullPointerException npe) { // ignore } catch (NumberFormatException nfe) { // ignore } return down...
57344 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57344/0a5905d1e16953ac0266e03dc507eb5c39d03194/GenePatternAnalysisTask.java/buggy/src/org/genepattern/server/genepattern/GenePatternAnalysisTask.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 760, 514, 4224, 7332, 12, 780, 880, 16, 467, 2174, 11476, 639, 1562, 11476, 639, 16, 514, 17117, 13, 1216, 1860, 288, 202, 202, 698, 288, 1082, 202, 5748, 562, 273, 300, 21, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 760, 514, 4224, 7332, 12, 780, 880, 16, 467, 2174, 11476, 639, 1562, 11476, 639, 16, 514, 17117, 13, 1216, 1860, 288, 202, 202, 698, 288, 1082, 202, 5748, 562, 273, 300, 21, ...
runOperatorTest(); }
runOperatorTest(); }
public void testDividesLeftSubexpressionByRightSubexpression() throws Exception { runOperatorTest(); }
2796 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2796/a917aff361c58c31c5dce12a5e8052df6803dbe1/DivisionTest.java/buggy/jmock/examples/calculator/src/test/jmock/examples/calculator/expression/DivisionTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 7244, 4369, 3910, 1676, 8692, 858, 4726, 1676, 8692, 1435, 1216, 1185, 288, 202, 202, 2681, 5592, 4709, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 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, 7244, 4369, 3910, 1676, 8692, 858, 4726, 1676, 8692, 1435, 1216, 1185, 288, 202, 202, 2681, 5592, 4709, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -1...
public synchronized void setRemoteSettings( RemoteSettings remote )
public synchronized void setRemoteSettings( RemoteSettings newSettings )
public synchronized void setRemoteSettings( RemoteSettings remote ) throws NetworkException { /* XXXXXXXXX Implement me */ NetworkUtilPriv nup = NetworkUtilPriv.getPrivInstance(); String pa = nup.getPublicAddress( this.networkSettings, remote, this.ddnsSettings ); this.remote =...
49954 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49954/bfa06245f14532c14cc907ac81911f02de9e264f/NetworkManagerImpl.java/buggy/mvvm/main/com/metavize/mvvm/networking/NetworkManagerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 918, 444, 5169, 2628, 12, 6304, 2628, 394, 2628, 262, 3639, 1216, 5128, 503, 565, 288, 3639, 1748, 11329, 24303, 5619, 10886, 1791, 1195, 3639, 5128, 1304, 15475, 290, 416, 273,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 444, 5169, 2628, 12, 6304, 2628, 394, 2628, 262, 3639, 1216, 5128, 503, 565, 288, 3639, 1748, 11329, 24303, 5619, 10886, 1791, 1195, 3639, 5128, 1304, 15475, 290, 416, 273,...
}else if(sample<0 || sample>=sample3D.length){ return; }else{
} else if (sample < 0 || sample >= sample3D.length) { return; } else {
public static void setSamplePosition(int sample, float x, float y, float z){ if(sample3D==null){ return; }else if(sample<0 || sample>=sample3D.length){ return; }else{ sample3D[sample].setPosition(x, y, z); } }
19503 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19503/6aaba14bb39fd6af9aea6f599180d9ac7dbd923d/SoundSystem.java/buggy/src/com/jmex/sound/fmod/SoundSystem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 444, 8504, 2555, 12, 474, 3296, 16, 1431, 619, 16, 1431, 677, 16, 1431, 998, 15329, 3639, 309, 12, 6358, 23, 40, 631, 2011, 15329, 5411, 327, 31, 3639, 289, 12107, 309, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 444, 8504, 2555, 12, 474, 3296, 16, 1431, 619, 16, 1431, 677, 16, 1431, 998, 15329, 3639, 309, 12, 6358, 23, 40, 631, 2011, 15329, 5411, 327, 31, 3639, 289, 12107, 309, ...
public void ruleAction(int ruleNumber) { if (bad_rule != 0) return; switch (ruleNumber) { // // Rule 1: identifier ::= IDENTIFIER // case 1: { if (prsStream.getKind(btParser.getToken(1)) != X10Parsersym.TK_IDENTIFIER) ...
1832 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1832/a0ef25c366453f5aff64a3c99c145987b17c8f23/X10Parser.java/buggy/x10.compiler/src/x10/parser/X10Parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1720, 1803, 12, 474, 1720, 1854, 13, 565, 288, 3639, 309, 261, 8759, 67, 5345, 480, 374, 13, 5411, 327, 31, 3639, 1620, 261, 5345, 1854, 13, 3639, 288, 2398, 368, 5411, 368, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1720, 1803, 12, 474, 1720, 1854, 13, 565, 288, 3639, 309, 261, 8759, 67, 5345, 480, 374, 13, 5411, 327, 31, 3639, 1620, 261, 5345, 1854, 13, 3639, 288, 2398, 368, 5411, 368, ...
100); expected = "\"string 104, with comma\",102,\"string 103\",101\n" + "\"string 204\t with tab\",202,\"string 203\",201\n";
100, objectFormatter); expected = "\"string 104, with comma\",\"\t,\",\"string 103\",101\n" + "\"string 204\t with tab\",\"\t,\",\"string 203\",201\n";
public void testWriteCommaDelimitedTable() throws Exception { ByteArrayOutputStream baos; String expected; String results; baos = new ByteArrayOutputStream(); TextFileUtil.writeCSVTable(baos, getTestRows(), new int[] {0, 1, 2, 3}, ...
7196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7196/7315fcfe98d91ec34c5da0374768d1b027fe7425/TextFileUtilTest.java/clean/intermine/objectstore/test/src/org/intermine/util/TextFileUtilTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 3067, 15594, 23531, 329, 1388, 1435, 1216, 1185, 288, 3639, 11559, 17548, 31, 3639, 514, 2665, 31, 3639, 514, 1686, 31, 3639, 17548, 273, 394, 11559, 5621, 3639, 3867, 812,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3067, 15594, 23531, 329, 1388, 1435, 1216, 1185, 288, 3639, 11559, 17548, 31, 3639, 514, 2665, 31, 3639, 514, 1686, 31, 3639, 17548, 273, 394, 11559, 5621, 3639, 3867, 812,...
if ( probeSetId.startsWith( "Search" ) ) return null;
if ( probeId.startsWith( "Search" ) ) return null;
public Object parseOneLine( String line ) { String[] sArray = line.split( "\t" ); if ( sArray.length == 0 ) throw new IllegalArgumentException( "Line format is not valid" ); String probeSetId = sArray[0]; if ( probeSetId == null || probeSetId.length() == 0 ) throw new IllegalArgumentExce...
4335 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4335/f4cdb5edf8b8b0404d281e44cd8c66bead326fda/IlluminaProbeReader.java/buggy/src/impl/edu/columbia/gemma/loader/arraydesign/IlluminaProbeReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 1109, 3335, 1670, 12, 514, 980, 262, 288, 3639, 514, 8526, 272, 1076, 273, 980, 18, 4939, 12, 1548, 88, 6, 11272, 3639, 309, 261, 272, 1076, 18, 2469, 422, 374, 262, 604, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 1109, 3335, 1670, 12, 514, 980, 262, 288, 3639, 514, 8526, 272, 1076, 273, 980, 18, 4939, 12, 1548, 88, 6, 11272, 3639, 309, 261, 272, 1076, 18, 2469, 422, 374, 262, 604, ...
ZimbraSoapContext lc = getZimbraContext(context);
ZimbraSoapContext lc = getZimbraSoapContext(context);
public Element handle(Element request, Map context) throws ServiceException { ZimbraSoapContext lc = getZimbraContext(context); Provisioning prov = Provisioning.getInstance(); Element d = request.getElement(AdminService.E_COS); String key = d.getAttribute(AdminService.A_BY); String...
6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/73c7a43f58826ebd459515a85e8460518f31e6cc/GetCos.java/buggy/ZimbraServer/src/java/com/zimbra/cs/service/admin/GetCos.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 3010, 1640, 12, 1046, 590, 16, 1635, 819, 13, 1216, 16489, 288, 202, 5411, 2285, 381, 15397, 20601, 1042, 9109, 273, 23448, 381, 15397, 20601, 1042, 12, 2472, 1769, 3639, 26423, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3010, 1640, 12, 1046, 590, 16, 1635, 819, 13, 1216, 16489, 288, 202, 5411, 2285, 381, 15397, 20601, 1042, 9109, 273, 23448, 381, 15397, 20601, 1042, 12, 2472, 1769, 3639, 26423, ...
int currentLineNumber = reader.getLineNumber(); if(currentLineNumber == this.lineNumber) { buf.append(currentLineNumber); buf.append(": "); buf.append(currentLine); buf.append("\n"); } else if(currentLineNumber == this.lineNumber + 1) { buf.append(currentLineNumber); buf.append(": "); buf.append(currentLine); break; } ...
StringWriter sw = new StringWriter(); PrintWriter pw = new PrintWriter(sw); this.t.printStackTrace(pw); this.stackTrace = sw.toString(); Pattern extractDetails = Pattern.compile("\\((\\w+)\\.groovy:(\\d+)\\)"); Matcher matcher = extractDetails.matcher(stackTrace); if(matcher.find()) { this.className = matcher.group(1)...
public GrailsWrappedRuntimeException(GroovyRuntimeException gre) { super(gre.getMessage(), gre); this.gre = gre; if(gre.getModule() == null) { StringWriter sw = new StringWriter(); PrintWriter pw = new PrintWriter(sw); gre.printStackTrace(pw); this.stackTrace = sw.toString(); Pattern extractDetails = P...
50129 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50129/a1cfacbb56e963e9c5c30b98fb844509dee7e0b1/GrailsWrappedRuntimeException.java/buggy/src/web/org/codehaus/groovy/grails/web/errors/GrailsWrappedRuntimeException.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 10812, 14573, 17665, 11949, 12, 43, 12859, 11949, 5174, 13, 288, 202, 202, 9565, 12, 11556, 18, 24906, 9334, 5174, 1769, 202, 202, 2211, 18, 11556, 273, 5174, 31, 9506, 202, 430...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10812, 14573, 17665, 11949, 12, 43, 12859, 11949, 5174, 13, 288, 202, 202, 9565, 12, 11556, 18, 24906, 9334, 5174, 1769, 202, 202, 2211, 18, 11556, 273, 5174, 31, 9506, 202, 430...
public org.quickfix.field.LegMaturityMonthYear getLegMaturityMonthYear() throws FieldNotFound { org.quickfix.field.LegMaturityMonthYear value = new org.quickfix.field.LegMaturityMonthYear();
public quickfix.field.LegMaturityMonthYear getLegMaturityMonthYear() throws FieldNotFound { quickfix.field.LegMaturityMonthYear value = new quickfix.field.LegMaturityMonthYear();
public org.quickfix.field.LegMaturityMonthYear getLegMaturityMonthYear() throws FieldNotFound { org.quickfix.field.LegMaturityMonthYear value = new org.quickfix.field.LegMaturityMonthYear(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/SecurityList.java/clean/src/java/src/quickfix/fix43/SecurityList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 15947, 2336, 5445, 5593, 336, 8329, 15947, 2336, 5445, 5593, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 15...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 15947, 2336, 5445, 5593, 336, 8329, 15947, 2336, 5445, 5593, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 15...
System.out.println("Input class list: " + classList); System.out.println("Output class list: " + this.classList); System.out.println("indx: " + indx); System.out.println("Method: " + method);
public FollowMethod(Method method, ClassList classList) { this.method = method; Class methodClass = method.getDeclaringClass(); Class[] paramTypes = method.getParameterTypes(); Class returnType = method.getReturnType(); this.indx = classList.size() - paramTypes.length; ...
50115 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50115/16e211b30f2de853621b0c083c1e7d659c54cfd1/Tuple.java/clean/src/org/biojava/utils/query/Tuple.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 16093, 1305, 12, 1305, 707, 16, 1659, 682, 16035, 13, 288, 1377, 333, 18, 2039, 273, 707, 31, 1377, 1659, 707, 797, 273, 707, 18, 588, 3456, 14682, 5621, 5411, 1659, 8526, 21265, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16093, 1305, 12, 1305, 707, 16, 1659, 682, 16035, 13, 288, 1377, 333, 18, 2039, 273, 707, 31, 1377, 1659, 707, 797, 273, 707, 18, 588, 3456, 14682, 5621, 5411, 1659, 8526, 21265, ...
if (reference != null) { reference.clear(); } } }
} } if (reference != null) { reference.clear(); } } }
public final void run() { while (true) { // Get the next reference to dispose. Reference reference = null; try { reference = referenceQueue.remove(); } catch (final InterruptedException e) { // Reference will be null. } // Check to see if we've been told to stop. if (reference == endMar...
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/c2f95a0909f2eb15cc65bbc902b893fdf7b3dc8d/ImageCache.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/resource/ImageCache.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 482, 727, 918, 1086, 1435, 288, 1082, 202, 17523, 261, 3767, 13, 288, 9506, 202, 759, 968, 326, 1024, 2114, 358, 15825, 18, 9506, 202, 2404, 2114, 273, 446, 31, 9506, 202, 698, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 727, 918, 1086, 1435, 288, 1082, 202, 17523, 261, 3767, 13, 288, 9506, 202, 759, 968, 326, 1024, 2114, 358, 15825, 18, 9506, 202, 2404, 2114, 273, 446, 31, 9506, 202, 698, 28...
.getUnionTableSchema()).getDatabaseSchema(); final String tableName = action.getUnionTableName();
.getTargetTableSchema()).getDatabaseSchema(); final String tableName = action.getTargetTableName();
public void doUnion(final Union action, final List statements) throws Exception { final String schemaName = action.getUnionTableSchema() == null ? action .getDataSetSchemaName() : ((JDBCSchema) action .getUnionTableSchema()).getDatabaseSchema(); final String tableName = action.getUnionTableName(); final Str...
2000 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2000/697fc52b912bb5a1524113edc0e15bf091f78336/OracleDialect.java/buggy/src/java/org/biomart/builder/controller/dialects/OracleDialect.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 741, 14325, 12, 6385, 9589, 1301, 16, 727, 987, 6317, 13, 1082, 202, 15069, 1185, 288, 202, 202, 6385, 514, 21960, 273, 1301, 18, 588, 14325, 1388, 3078, 1435, 422, 446, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 741, 14325, 12, 6385, 9589, 1301, 16, 727, 987, 6317, 13, 1082, 202, 15069, 1185, 288, 202, 202, 6385, 514, 21960, 273, 1301, 18, 588, 14325, 1388, 3078, 1435, 422, 446, ...
int big_base = MPN.big_base (base);
public static int set_str (int dest[], byte[] str, int str_len, int base) { int big_base = MPN.big_base (base); int size = 0; if ((base & (base - 1)) == 0) { // The base is a power of 2. Read the input string from // least to most significant character/digit. */ int next_bitpos = 0; int bits_per_ind...
36870 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/36870/7acadb672b61196e62c8342f649887d92b6e82b1/MPN.java/clean/gnu/math/MPN.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 509, 444, 67, 701, 261, 474, 1570, 63, 6487, 1160, 8526, 609, 16, 509, 609, 67, 1897, 16, 509, 1026, 13, 225, 288, 4202, 509, 963, 273, 374, 31, 565, 309, 14015, 1969, 473,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 509, 444, 67, 701, 261, 474, 1570, 63, 6487, 1160, 8526, 609, 16, 509, 609, 67, 1897, 16, 509, 1026, 13, 225, 288, 4202, 509, 963, 273, 374, 31, 565, 309, 14015, 1969, 473,...
long count = 0; while (count != nBytes) { long nRequired = nBytes - count; if (nRequired > buffer.length) { nRequired = buffer.length; } long nRead = in.read(buffer, 0, (int) nRequired); if (nRead == -1) { throw new IOException("Not enough data in source bucket."); } out.write(buffer, 0, (int) nRead); count += nRead; }...
try {
public final static void paddedCopy( Bucket from, Bucket to, long nBytes, int blockSize) throws IOException { if (nBytes > blockSize) { throw new IllegalArgumentException("nBytes > blockSize"); } OutputStream out = to.getOutputStream(); byte[] buffer = new byte[16384]; InputStream in = from.getInputStream(...
51738 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51738/fbdde7654afdefd24ae4365520a38c1c680248a7/BucketTools.java/buggy/src/freenet/support/BucketTools.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 760, 918, 14426, 2951, 12, 202, 202, 4103, 628, 16, 202, 202, 4103, 358, 16, 202, 202, 5748, 290, 2160, 16, 202, 202, 474, 13766, 13, 202, 202, 15069, 1860, 288, 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, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 760, 918, 14426, 2951, 12, 202, 202, 4103, 628, 16, 202, 202, 4103, 358, 16, 202, 202, 5748, 290, 2160, 16, 202, 202, 474, 13766, 13, 202, 202, 15069, 1860, 288, 202, 2...
myKeys.addExpected(key);
myKeys.addExpected(key);
public void addExpectedMissing( Object key ) { myKeys.addExpected(key); }
57371 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57371/c26c57f3ac4851e6bc9c5df8515ac73f4045eebf/ExpectationMap.java/buggy/jmock/core/src/org/jmock/expectation/ExpectationMap.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 527, 6861, 4841, 12, 1033, 498, 262, 288, 202, 202, 4811, 2396, 18, 1289, 6861, 12, 856, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 527, 6861, 4841, 12, 1033, 498, 262, 288, 202, 202, 4811, 2396, 18, 1289, 6861, 12, 856, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
public static CdrOutputStream getInstanceForEncapsulation() {
public static CdrOutputStream getInstanceForEncapsulation() {
public static CdrOutputStream getInstanceForEncapsulation() { CdrOutputStream output = getInstance(); output.write_boolean(false); // byte order: big endian return output; }
12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/5c788225030ea2bb15cb5f3f9696c52b755b6d54/CdrOutputStream.java/buggy/modules/interop/src/java/org/apache/geronimo/interop/rmi/iiop/CdrOutputStream.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 385, 3069, 4632, 3694, 1290, 4280, 6679, 6234, 1435, 288, 3639, 385, 3069, 4632, 876, 273, 3694, 5621, 3639, 876, 18, 2626, 67, 6494, 12, 5743, 1769, 368, 1160, 1353, 30, 5446,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 385, 3069, 4632, 3694, 1290, 4280, 6679, 6234, 1435, 288, 3639, 385, 3069, 4632, 876, 273, 3694, 5621, 3639, 876, 18, 2626, 67, 6494, 12, 5743, 1769, 368, 1160, 1353, 30, 5446,...
protected boolean isAccessible(MemberInstance mi, ClassType ctc) {
public boolean isAccessible(MemberInstance mi, ClassType ctc) {
protected boolean isAccessible(MemberInstance mi, ClassType ctc) { if (mi instanceof InterTypeMemberInstance) { // the following code has been copied from TypeSystem_c.isAccessible // the only change is the definition of target ReferenceType target = ((InterTypeMemberInstance) mi).origin();...
236 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/236/c907dc17bb2d6f090110592db4d237d088698b6e/AspectJTypeSystem_c.java/clean/aop/abc/src/abc/aspectj/types/AspectJTypeSystem_c.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 353, 10451, 12, 4419, 1442, 12837, 16, 1659, 559, 276, 5111, 13, 288, 3639, 309, 261, 9197, 1276, 5294, 559, 4419, 1442, 13, 288, 540, 202, 759, 326, 3751, 981, 711, 2118, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 353, 10451, 12, 4419, 1442, 12837, 16, 1659, 559, 276, 5111, 13, 288, 3639, 309, 261, 9197, 1276, 5294, 559, 4419, 1442, 13, 288, 540, 202, 759, 326, 3751, 981, 711, 2118, 9...
protected boolean compare( BaseMessage expected0, BaseMessage actual0 ) { LogEntryMessage expected = ( LogEntryMessage ) expected0; LogEntryMessage actual = ( LogEntryMessage ) actual0; // We don't compare operation here because it is {@link OperationCodec}'s // duty to serialize...
10677 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10677/cfc1e0db255153cb8ed18cd1e735fa4815ad666b/LogEntryMessageCodecTest.java/clean/mitosis/src/test/java/org/apache/directory/mitosis/service/protocol/codec/LogEntryMessageCodecTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 1250, 3400, 12, 3360, 1079, 2665, 20, 16, 3360, 1079, 3214, 20, 262, 288, 3639, 30039, 1079, 2665, 273, 261, 30039, 1079, 262, 2665, 20, 31, 3639, 30039, 1079, 3214, 273, 261, 30039...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1250, 3400, 12, 3360, 1079, 2665, 20, 16, 3360, 1079, 3214, 20, 262, 288, 3639, 30039, 1079, 2665, 273, 261, 30039, 1079, 262, 2665, 20, 31, 3639, 30039, 1079, 3214, 273, 261, 30039...
for (int read; -1 != (read = in.read(buffer,0,BUFFERLENGTH));) { file_buffer.append(buffer, 0, read) ; } ;
String line ; String revision = null ; String date_time = null ; try { BufferedReader in = new BufferedReader(new InputStreamReader(new CheckedInputStream(new FileInputStream(files[i]), checksum), "8859_1")) ; while (null != (line = in.readLine())) { if (null == revision && perl.match("/\\$"+"Revision: (\\d+(?:\\.\\d+...
public void checksumDirectory(File parent_dir, String sub_dir, ServletOutputStream out) throws java.io.IOException { Perl5Util perl = new Perl5Util() ; File dir = new File(parent_dir,sub_dir) ; File[] files = dir.listFiles(new NotDirectoryFilter()) ; // Loop through the files and get a checksum for each. for (int i...
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/f81c5fdda80d9402cb2a888c75959ea02397b70f/Version.java/clean/servlets/Version.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 6697, 2853, 12, 812, 982, 67, 1214, 16, 514, 720, 67, 1214, 16, 7971, 4632, 596, 13, 1216, 2252, 18, 1594, 18, 14106, 288, 202, 2173, 80, 25, 1304, 1534, 80, 273, 394, 5722...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6697, 2853, 12, 812, 982, 67, 1214, 16, 514, 720, 67, 1214, 16, 7971, 4632, 596, 13, 1216, 2252, 18, 1594, 18, 14106, 288, 202, 2173, 80, 25, 1304, 1534, 80, 273, 394, 5722...
IntroductionContainer container = (IntroductionContainer)constructor. newInstance(new Object[]{implClass}); return container;
return (IntroductionContainer)constructor.newInstance(new Object[]{implClass});
public static IntroductionContainer createIntroductionContainer(final Class implClass) { if (implClass == null) return null; // interface introduction; skip try { Class klass = ContextClassLoader.loadClass(INTRODUCTION_CONTAINER_IMPLEMENTATION_CLASS); Constructor constructor = kl...
7954 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7954/a963297246be4fe2dccc15b9a0d970317687b6f3/DefinitionManager.java/clean/aspectwerkz/src/main/org/codehaus/aspectwerkz/definition/DefinitionManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 3094, 303, 2544, 349, 2170, 752, 1702, 303, 2544, 349, 2170, 12, 6385, 1659, 9380, 797, 13, 288, 3639, 309, 261, 11299, 797, 422, 446, 13, 327, 446, 31, 368, 1560, 16658, 349...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3094, 303, 2544, 349, 2170, 752, 1702, 303, 2544, 349, 2170, 12, 6385, 1659, 9380, 797, 13, 288, 3639, 309, 261, 11299, 797, 422, 446, 13, 327, 446, 31, 368, 1560, 16658, 349...
if (type.isAssignableFrom(getClass())) { return this; } RubyObject result = null; try { result = funcall(getRuby().intern(method)); } catch (RubyNameException rnExcptn) { throw new RubyTypeException( getRuby(), "failed to convert " + getRubyClass().toName() + " into " + className); } if (!type.isAssignableFrom(resu...
if (type.isAssignableFrom(getClass())) { return this; } RubyObject result = null; try { result = funcall(getRuby().intern(method)); } catch (RubyNameException rnExcptn) { throw new RubyTypeException( getRuby(), "failed to convert " + getRubyClass().toName() + " into " + className); } if (!type.isAssignableFrom(resu...
public RubyObject convertType(Class type, String className, String method) { if (type.isAssignableFrom(getClass())) { return this; } RubyObject result = null; try { result = funcall(getRuby().intern(method)); } catch (RubyNameException rnExcptn) { throw new RubyTypeException( getRuby(), "failed to con...
46258 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46258/0a7181933af700ea8025a4197f3a5ebcc08333c3/RubyObject.java/clean/org/jruby/RubyObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 19817, 921, 1765, 559, 12, 797, 618, 16, 514, 2658, 16, 514, 707, 13, 288, 202, 202, 430, 261, 723, 18, 291, 7961, 1265, 12, 588, 797, 1435, 3719, 288, 1082, 202, 2463, 333,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19817, 921, 1765, 559, 12, 797, 618, 16, 514, 2658, 16, 514, 707, 13, 288, 202, 202, 430, 261, 723, 18, 291, 7961, 1265, 12, 588, 797, 1435, 3719, 288, 1082, 202, 2463, 333,...
}
public boolean absolute(int index) throws SQLException { // index is 1-based, but internally we use 0-based indices int internalIndex; if (index==0) throw new SQLException("Cannot move to index of 0"); //if index<0, count from the end of the result set, but check //to be sure that it is not beyond the first...
46312 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46312/960c18618486bf1815003d3ebe766f50a5fb2c55/ResultSet.java/clean/src/interfaces/jdbc/org/postgresql/jdbc2/ResultSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 4967, 12, 474, 770, 13, 1216, 6483, 565, 288, 202, 759, 770, 353, 404, 17, 12261, 16, 1496, 12963, 732, 999, 374, 17, 12261, 4295, 202, 474, 2713, 1016, 31, 202, 430, 261, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4967, 12, 474, 770, 13, 1216, 6483, 565, 288, 202, 759, 770, 353, 404, 17, 12261, 16, 1496, 12963, 732, 999, 374, 17, 12261, 4295, 202, 474, 2713, 1016, 31, 202, 430, 261, ...
String superClassName; this.scriptOrFn = scriptOrFn; if (scriptOrFn.getType() == Token.FUNCTION) { fnCurrent = (OptFunctionNode)scriptOrFn; generatedClassName = fnCurrent.getClassName(); superClassName = FUNCTION_SUPER_CLASS_NAME; } else { if (scriptOrFn.getType() != Token.SCRIPT) badTree(); fnCurrent = null; boolean ...
String sourceFile = null; if (generateDebugInfo) { sourceFile = scriptOrFnNodes[0].getSourceName();
private void generateCode(Context cx, ScriptOrFnNode scriptOrFn, ObjArray names, ObjArray classFiles) { String superClassName; this.scriptOrFn = scriptOrFn; if (scriptOrFn.getType() == Token.FUNCTION) { fnCurrent = (OptFunctionNode)scriptOrFn; ...
19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/7de4ae25f0fd144cbc3ddabc47e7a327a747af5a/Codegen.java/clean/src/org/mozilla/javascript/optimizer/Codegen.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2103, 1085, 12, 1042, 9494, 16, 7739, 1162, 5372, 907, 2728, 1162, 5372, 16, 17311, 18760, 1076, 1257, 16, 18760, 1076, 667, 2697, 13, 565, 288, 3639, 514, 2240, 3834, 31, 3639...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 2103, 1085, 12, 1042, 9494, 16, 7739, 1162, 5372, 907, 2728, 1162, 5372, 16, 17311, 18760, 1076, 1257, 16, 18760, 1076, 667, 2697, 13, 565, 288, 3639, 514, 2240, 3834, 31, 3639...
public boolean add(IndexItem item){
public synchronized boolean add(IndexItem item){
public boolean add(IndexItem item){ addLast(item); return true; }
17032 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17032/5367f1ecb078074ac02e673a8a911d8aed6ed3ec/DiskIndexLinkedList.java/clean/activemq-core/src/main/java/org/apache/activemq/kaha/impl/index/DiskIndexLinkedList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 1250, 527, 12, 1016, 1180, 761, 15329, 3639, 28426, 12, 1726, 1769, 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, ...
[ 1, 1, 1, 1, 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3852, 1250, 527, 12, 1016, 1180, 761, 15329, 3639, 28426, 12, 1726, 1769, 3639, 327, 638, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
logError( "Cannot add stress "
if ( _logger.isErrorEnabled() ) _logger.error( "Cannot add stress "
public void addThreatType( ThreatModelInterface threat_mi ) { logDetail( "==== Start: Add Threat Model ====" ); if ( threat_mi == null ) { logDebug( "addThreatType() sent NULL ThreatModelInterface. " ); return; } // Here we need to walk the threat model to...
11869 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11869/b46bccd9c04fcb2db618966e6d9b5841c1fc8c6b/ModelManager.java/clean/believability/src/org/cougaar/coordinator/believability/ModelManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 1315, 6150, 559, 12, 935, 6150, 1488, 1358, 286, 6150, 67, 9197, 262, 565, 288, 3639, 613, 6109, 12, 315, 894, 3603, 30, 1436, 935, 6150, 3164, 422, 31713, 11272, 3639, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 1315, 6150, 559, 12, 935, 6150, 1488, 1358, 286, 6150, 67, 9197, 262, 565, 288, 3639, 613, 6109, 12, 315, 894, 3603, 30, 1436, 935, 6150, 3164, 422, 31713, 11272, 3639, ...
selectable.addListener(SWT.KeyDown, selectionListener); selectable.addListener(SWT.KeyUp, selectionListener);
selectable.getDisplay().addListener(SWT.KeyDown, selectionListener); selectable.getDisplay().addListener(SWT.KeyUp, selectionListener);
SelectionList(EventList source, Selectable selectable) { super(source); deselectedList = new DeselectedList(source); this.selectable = selectable; barcode = new Barcode(); source.addListEventListener(this); selectionListener = new AdvancedSelectionListener(); selecta...
10062 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10062/df11e8b5092352ab79c73ed627d468c1b45a6716/SelectionList.java/buggy/source/ca/odell/glazedlists/swt/SelectionList.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 12977, 682, 12, 1133, 682, 1084, 16, 6766, 429, 26208, 13, 288, 3639, 2240, 12, 3168, 1769, 3639, 2832, 292, 828, 682, 273, 394, 10597, 292, 828, 682, 12, 3168, 1769, 3639, 333, 18, 402...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12977, 682, 12, 1133, 682, 1084, 16, 6766, 429, 26208, 13, 288, 3639, 2240, 12, 3168, 1769, 3639, 2832, 292, 828, 682, 273, 394, 10597, 292, 828, 682, 12, 3168, 1769, 3639, 333, 18, 402...
fileSet = mgfau.makeCachedUrlSet(rSpec);
fileSet = plugin.makeCachedUrlSet(mgfau, rSpec);
public void testIrregularHashStorage() throws Exception { // check that estimation isn't changed for single node sets createLeaf("http://www.example.com/testDir", null, null); CachedUrlSetSpec sSpec = new SingleNodeCachedUrlSetSpec("http://www.example.com/testDir"); CachedUrlSet fileSet = mgfau.mak...
8150 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8150/dd9e1f3ab8106b03ae4df6121efd05be279ecb66/TestGenericFileCachedUrlSet.java/buggy/test/src/org/lockss/plugin/TestGenericFileCachedUrlSet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 45, 86, 16819, 2310, 3245, 1435, 1216, 1185, 288, 565, 368, 866, 716, 29284, 5177, 1404, 3550, 364, 2202, 756, 1678, 565, 752, 9858, 2932, 2505, 2207, 5591, 18, 8236, 18,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1842, 45, 86, 16819, 2310, 3245, 1435, 1216, 1185, 288, 565, 368, 866, 716, 29284, 5177, 1404, 3550, 364, 2202, 756, 1678, 565, 752, 9858, 2932, 2505, 2207, 5591, 18, 8236, 18,...
private SerialContext writeOpeningTag(Object child, String childtagname, SAXAccessMethod topgetmethod) { SerialContext top = null; try { SerialContext oldtop = getDeSAXingObject(); if (oldtop != null && !oldtop.writtenchild) { xmlw.writeRaw(">"); if (indentlevel != COMPACT_MODE) { ...
50671 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50671/2c7054522a7f60f579308717c49cc3ec2fc0d2cf/DeSAXalizer.java/buggy/src/uk/org/ponder/saxalizer/DeSAXalizer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 225, 7366, 1042, 225, 1045, 21378, 1805, 12, 921, 225, 1151, 16, 225, 514, 225, 1151, 2692, 529, 16, 225, 10168, 1862, 1305, 225, 1760, 588, 2039, 13, 225, 288, 3639, 7366, 1042, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 7366, 1042, 225, 1045, 21378, 1805, 12, 921, 225, 1151, 16, 225, 514, 225, 1151, 2692, 529, 16, 225, 10168, 1862, 1305, 225, 1760, 588, 2039, 13, 225, 288, 3639, 7366, 1042, ...
categoryBuilder.addOutageService(monitoredService.getNodeId(), ipInterface.getId(), ipInterface.getIpAddress(), ipInterface.getNode().getLabel(), monitoredService.getServiceType().getName());
categoryBuilder.addOutageService( monitoredService.getNodeId(), ipInterface.getId(), ipInterface.getIpAddress(), ipInterface.getNode().getLabel(), serviceType.getName());
private StatusCategory createCategory(String category) { Collection <OnmsOutage>outages; CategoryBuilder categoryBuilder = new CategoryBuilder(); StatusCategory statusCategory = new StatusCategory(); Category categoryDetail = m_categorydao.getCategoryByLabel(category); //statusCategory.setComment(category...
25465 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25465/93cf3b4c64d485c130096445564b205a02ae07fd/DefaultCategoryStatusService.java/clean/opennms-webapp/src/main/java/org/opennms/web/svclayer/catstatus/support/DefaultCategoryStatusService.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 2685, 4457, 752, 4457, 12, 780, 3150, 13, 288, 202, 202, 2532, 411, 1398, 959, 1182, 410, 34, 659, 1023, 31, 4697, 202, 4457, 1263, 3150, 1263, 273, 394, 9856, 1263, 5621, 95...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2685, 4457, 752, 4457, 12, 780, 3150, 13, 288, 202, 202, 2532, 411, 1398, 959, 1182, 410, 34, 659, 1023, 31, 4697, 202, 4457, 1263, 3150, 1263, 273, 394, 9856, 1263, 5621, 95...
if (definingElement.getAttribute(DecoratorDefinition.ATT_CLASS) == null) decorator = new DeclarativeDecorator(definingElement, getIconLocation()); else {
if (definingElement.getAttribute(DecoratorDefinition.ATT_CLASS) == null) decorator = new DeclarativeDecorator(definingElement, getIconLocation()); else {
protected ILightweightLabelDecorator internalGetDecorator() throws CoreException { if (labelProviderCreationFailed) return null; final CoreException[] exceptions = new CoreException[1]; if (decorator == null) { if (definingElement.getAttribute(DecoratorDefinitio...
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/8f66eec23d7a08f4aa505a2195f540c4639b8038/LightweightDecoratorDefinition.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/decorators/LightweightDecoratorDefinition.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 467, 12128, 4865, 2224, 10361, 2713, 967, 10361, 1435, 5411, 1216, 30015, 288, 3639, 309, 261, 1925, 2249, 9906, 2925, 13, 5411, 327, 446, 31, 3639, 727, 30015, 8526, 4798, 273, 394, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 467, 12128, 4865, 2224, 10361, 2713, 967, 10361, 1435, 5411, 1216, 30015, 288, 3639, 309, 261, 1925, 2249, 9906, 2925, 13, 5411, 327, 446, 31, 3639, 727, 30015, 8526, 4798, 273, 394, ...
public Dimension getPreferredSize ();
Dimension getPreferredSize();
public Dimension getPreferredSize ();
1043 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1043/42de8277e53eabea04a48598c12ed6d488412a7b/ComponentPeer.java/buggy/libjava/java/awt/peer/ComponentPeer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 13037, 12822, 4193, 1225, 261, 1769, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 13037, 12822, 4193, 1225, 261, 1769, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
catch (IOException io) { io.printStackTrace(); }
catch (IOException io) { }
@Test public void testByteArrayDimensions() { boolean success = true; try { int imageCount = reader.getImageCount(currentFile); int sizeX = reader.getSizeX(currentFile); int sizeY = reader.getSizeY(currentFile); int bytesPerPixel = FormatReader.getBytesPerPixel(reader.getPixelType(cu...
11426 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11426/099f018499f749c51c5b9b2e744efa18eb5b8045/ReaderTest.java/clean/loci/formats/test/ReaderTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 632, 4709, 1071, 918, 1842, 8826, 10796, 1435, 288, 565, 1250, 2216, 273, 638, 31, 565, 775, 288, 1377, 509, 1316, 1380, 273, 2949, 18, 588, 2040, 1380, 12, 2972, 812, 1769, 1377, 509, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 632, 4709, 1071, 918, 1842, 8826, 10796, 1435, 288, 565, 1250, 2216, 273, 638, 31, 565, 775, 288, 1377, 509, 1316, 1380, 273, 2949, 18, 588, 2040, 1380, 12, 2972, 812, 1769, 1377, 509, ...
WorkbenchBrowserSupport.getInstance().createBrowser(flags, "org.eclipse.mylar.tasklist", "Browser", "tasktooltip");
browser = WorkbenchBrowserSupport.getInstance().createBrowser(flags, "org.eclipse.mylar.tasklist", "Browser", ""); browser.openURL(null);
public void run(IAction action) { String url = ""; try {// IWebBrowser browser = null; int flags = 0; if (WorkbenchBrowserSupport.getInstance().isInternalWebBrowserAvailable()) { flags = WorkbenchBrowserSupport.AS_EDITOR | WorkbenchBrowserSupport.LOCATION_BAR | WorkbenchBrowserSupport.NAVIGATION_BAR; ...
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/7209f0cda61e8ca7b3502aaf520755e3f5374bc8/NewWebBrowserAction.java/buggy/sandbox/org.eclipse.mylyn.web.ui/src/org/eclipse/mylyn/internal/web/ui/NewWebBrowserAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1086, 12, 45, 1803, 1301, 13, 288, 202, 202, 780, 880, 273, 1408, 31, 3196, 202, 698, 288, 759, 1082, 202, 45, 4079, 9132, 4748, 273, 446, 31, 1082, 202, 474, 2943, 273...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1086, 12, 45, 1803, 1301, 13, 288, 202, 202, 780, 880, 273, 1408, 31, 3196, 202, 698, 288, 759, 1082, 202, 45, 4079, 9132, 4748, 273, 446, 31, 1082, 202, 474, 2943, 273...
((PEforCollections) pe).setReceivedResult(ar); logplan.change(pe, null);
} catch (RuntimeException re) { logger.error("Caught exception while processing DelayedAggregateResults for "+pe+"("+id+")", re);
public void execute(LogPlanServesLogicProvider logplan) { Workflow wf = pe.getWorkflow(); // compute the new result from the subtask results. AllocationResult ar = wf.aggregateAllocationResults(); if (ar != null) { // if the aggragation is defined: // get the TaskScoreTable used in the a...
7981 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7981/d64a1b2a6f1c62758df813345c826defeb9261e6/ReceiveNotificationLP.java/clean/core/src/org/cougaar/planning/ldm/lps/ReceiveNotificationLP.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1836, 12, 1343, 5365, 827, 3324, 20556, 2249, 613, 7088, 13, 288, 1377, 11363, 11578, 273, 2804, 18, 588, 8484, 5621, 1377, 368, 3671, 326, 394, 563, 628, 326, 720, 4146, 1686,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1836, 12, 1343, 5365, 827, 3324, 20556, 2249, 613, 7088, 13, 288, 1377, 11363, 11578, 273, 2804, 18, 588, 8484, 5621, 1377, 368, 3671, 326, 394, 563, 628, 326, 720, 4146, 1686,...
context.put("tlang", rb);
protected String build_instructor_new_edit_assignment_context(VelocityPortlet portlet, Context context, RunData data, SessionState state) { context.put("tlang", rb); // is the assignment an new assignment String assignmentId = (String) state.getAttribute(EDIT_ASSIGNMENT_ID); if (assignmentId != null) { try ...
2021 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2021/6ca0d5287110aec4df5d576206868efddee66ef0/AssignmentAction.java/clean/assignment/assignment-tool/tool/src/java/org/sakaiproject/assignment/tool/AssignmentAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 514, 1361, 67, 267, 2732, 67, 2704, 67, 4619, 67, 12960, 67, 2472, 12, 27522, 18566, 13114, 16, 1772, 819, 16, 1939, 751, 501, 16, 1082, 202, 2157, 1119, 919, 13, 202, 95, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 514, 1361, 67, 267, 2732, 67, 2704, 67, 4619, 67, 12960, 67, 2472, 12, 27522, 18566, 13114, 16, 1772, 819, 16, 1939, 751, 501, 16, 1082, 202, 2157, 1119, 919, 13, 202, 95, ...
Set days = new HashSet();
Set days = new HashSet();
public Set getDays(int month, int year) { String start = toKey(year, month, 1); String end = toKey(year, month, 31); List snips = SnipSpace.getInstance().getByDate(start, end); Iterator iterator = snips.iterator(); Set days = new HashSet(); while (iterator.hasNext()) { Snip snip = (Snip) iterat...
6853 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6853/ce40bc073404655fdd633d72fd1b9e545d632e66/Month.java/clean/src/org/snipsnap/date/Month.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 1000, 2343, 8271, 12, 474, 3138, 16, 509, 3286, 13, 288, 565, 514, 787, 273, 358, 653, 12, 6874, 16, 3138, 16, 404, 1769, 565, 514, 679, 273, 358, 653, 12, 6874, 16, 3138, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1000, 2343, 8271, 12, 474, 3138, 16, 509, 3286, 13, 288, 565, 514, 787, 273, 358, 653, 12, 6874, 16, 3138, 16, 404, 1769, 565, 514, 679, 273, 358, 653, 12, 6874, 16, 3138, 16, ...
public Address getUsersMainAddress(int userID) throws EJBException,RemoteException;
public com.idega.core.data.Address getUsersMainAddress(com.idega.user.data.User p0)throws java.rmi.RemoteException, java.rmi.RemoteException;
public Address getUsersMainAddress(int userID) throws EJBException,RemoteException;
52001 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52001/3f876363b0289328621279dffae1cb2048136b83/UserBusiness.java/buggy/src/java/com/idega/user/business/UserBusiness.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 5267, 27564, 6376, 1887, 12, 474, 16299, 13, 1216, 12157, 503, 16, 5169, 503, 31, 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, ...
[ 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 5267, 27564, 6376, 1887, 12, 474, 16299, 13, 1216, 12157, 503, 16, 5169, 503, 31, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
LongCounter(String name, boolean start, boolean gconly) { super(name, start, gconly); count = new long[Stats.MAX_PHASES];
LongCounter(String name) { this(name, true, false);
LongCounter(String name, boolean start, boolean gconly) { super(name, start, gconly); count = new long[Stats.MAX_PHASES]; }
49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/b1d602e0bc7fd879df0cc80e1fa0af2ca44c69e3/LongCounter.java/buggy/MMTk/src/org/mmtk/utility/statistics/LongCounter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3407, 4789, 12, 780, 508, 16, 1250, 787, 16, 1250, 314, 591, 715, 13, 288, 565, 2240, 12, 529, 16, 787, 16, 314, 591, 715, 1769, 565, 1056, 273, 394, 1525, 63, 4195, 18, 6694, 67, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3407, 4789, 12, 780, 508, 16, 1250, 787, 16, 1250, 314, 591, 715, 13, 288, 565, 2240, 12, 529, 16, 787, 16, 314, 591, 715, 1769, 565, 1056, 273, 394, 1525, 63, 4195, 18, 6694, 67, 8...
Interval theDay = new Interval(date, Period.days(1));
Interval theDay = date.toInterval(timeZone);
public List getEvents() throws CalendarException { Interval theDay = new Interval(date, Period.days(1)); if (events == null) { if (calendar == null) return Collections.EMPTY_LIST; events = calendar.findEvents(theDay); Collections.sort(events, n...
18469 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/18469/03bf0462052e16faf8bdc800ea80217bb2752cfb/Day.java/buggy/src/java/com/atlassian/confluence/extra/calendar/display/Day.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 987, 31215, 1435, 1216, 5542, 503, 565, 288, 3639, 10803, 326, 4245, 273, 1509, 18, 869, 4006, 12, 957, 4226, 1769, 3639, 309, 261, 5989, 422, 446, 13, 3639, 288, 5411, 309, 261, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 31215, 1435, 1216, 5542, 503, 565, 288, 3639, 10803, 326, 4245, 273, 1509, 18, 869, 4006, 12, 957, 4226, 1769, 3639, 309, 261, 5989, 422, 446, 13, 3639, 288, 5411, 309, 261, ...
File file = new File ( PLUGIN_PATH + getClassFolder( ) + INPUT_FOLDER + fileName );
File file = new File ( getClassFolder( ) + INPUT_FOLDER + fileName );
public void testOpendesign7() throws Exception { openDesign( fileName ); File file = new File ( PLUGIN_PATH + getClassFolder( ) + INPUT_FOLDER + fileName ); InputStream is = new FileInputStream( file ); assertTrue( is != null ); String s7 = PLUGIN_PATH + getClassFolder( ) + INPUT_FOLDER; openDesign( s7 , is...
58644 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58644/bc2117a51472c9631803fa1f26c58ab34da73d07/OpenDesignTest.java/clean/plugins/org.eclipse.birt.report.tests.model/src/org/eclipse/birt/report/tests/model/api/OpenDesignTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 51, 1302, 281, 724, 27, 1435, 1216, 1185, 225, 202, 95, 202, 202, 3190, 15478, 12, 3968, 11272, 202, 202, 812, 585, 273, 394, 1387, 261, 22704, 67, 4211, 397, 2900,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 51, 1302, 281, 724, 27, 1435, 1216, 1185, 225, 202, 95, 202, 202, 3190, 15478, 12, 3968, 11272, 202, 202, 812, 585, 273, 394, 1387, 261, 22704, 67, 4211, 397, 2900,...
if (matcher.matches())
if (matcher.matches())
public String getExternalApiDocRoot(String className) { for (Iterator iter = apiDocMap.entrySet().iterator(); iter.hasNext();) { Map.Entry mapEntry = (Map.Entry)iter.next(); Pattern regex = (Pattern)mapEntry.getKey(); Matcher matcher = regex.matcher(className); if (matcher.matches()) return (String)mapEntr...
47201 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47201/79a8c001740f08d96264606e9d548d69f12a9fbf/ClassGraph.java/buggy/src/org/umlgraph/doclet/ClassGraph.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 22319, 3064, 1759, 2375, 12, 780, 2658, 13, 288, 202, 202, 1884, 261, 3198, 1400, 273, 1536, 1759, 863, 18, 4099, 694, 7675, 9838, 5621, 1400, 18, 5332, 2134, 5621, 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, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 22319, 3064, 1759, 2375, 12, 780, 2658, 13, 288, 202, 202, 1884, 261, 3198, 1400, 273, 1536, 1759, 863, 18, 4099, 694, 7675, 9838, 5621, 1400, 18, 5332, 2134, 5621, 13, 2...
if (determineShouldBeWhiteChecked(treeElement)) setWhiteChecked(treeElement, true);
if (determineShouldBeWhiteChecked(treeElement)) { setWhiteChecked(treeElement, true); }
protected void determineWhiteCheckedDescendents(Object treeElement) { // always go through all children first since their white-checked // statuses will be needed to determine the white-checked status for // this tree element Object[] children = treeContentProvider.getElements(treeElemen...
56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/CheckboxTreeAndListGroup.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/misc/CheckboxTreeAndListGroup.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 4199, 13407, 11454, 18225, 4877, 12, 921, 2151, 1046, 13, 288, 3639, 368, 3712, 1960, 3059, 777, 2325, 1122, 3241, 3675, 9578, 17, 4532, 3639, 368, 13516, 903, 506, 3577, 358, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4199, 13407, 11454, 18225, 4877, 12, 921, 2151, 1046, 13, 288, 3639, 368, 3712, 1960, 3059, 777, 2325, 1122, 3241, 3675, 9578, 17, 4532, 3639, 368, 13516, 903, 506, 3577, 358, ...
match(input,35,FOLLOW_35_in_auto_focus1012);
match(input,35,FOLLOW_35_in_auto_focus1058);
public AttributeDescr auto_focus() throws RecognitionException { AttributeDescr d; Token loc=null; Token t=null; d = null; try { // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:320:17: ( (loc= 'auto-focus' opt_eo...
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/9c6423b7a31fdc4a1317e71a6d2850c94e2140e0/RuleParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3601, 16198, 3656, 67, 13923, 1435, 1216, 9539, 288, 6647, 3601, 16198, 302, 31, 3639, 3155, 1515, 33, 2011, 31, 3639, 3155, 268, 33, 2011, 31, 1171, 202, 202, 72, 273, 446, 31, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3601, 16198, 3656, 67, 13923, 1435, 1216, 9539, 288, 6647, 3601, 16198, 302, 31, 3639, 3155, 1515, 33, 2011, 31, 3639, 3155, 268, 33, 2011, 31, 1171, 202, 202, 72, 273, 446, 31, 5...
office1 = createClusteredPostOffice("node1", "testgroup"); office2 = createClusteredPostOffice("node2", "testgroup"); office3 = createClusteredPostOffice("node3", "testgroup");
office1 = createClusteredPostOffice(1, "testgroup"); office2 = createClusteredPostOffice(2, "testgroup"); office3 = createClusteredPostOffice(3, "testgroup");
public final void testClusteredBindUnbind() throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; try { //Start one office office1 = createClusteredPostOffice("node1...
3806 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3806/f54f55cea0aabacd10797be5e0ff1d3bd3f8db88/DefaultClusteredPostOfficeTest.java/buggy/tests/src/org/jboss/test/messaging/core/plugin/postoffice/cluster/DefaultClusteredPostOfficeTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 727, 918, 1842, 3629, 329, 3357, 984, 4376, 1435, 1216, 4206, 282, 288, 1377, 5584, 329, 3349, 30126, 3397, 1812, 21, 273, 446, 31, 5411, 5584, 329, 3349, 30126, 3397, 1812, 22, 273...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 727, 918, 1842, 3629, 329, 3357, 984, 4376, 1435, 1216, 4206, 282, 288, 1377, 5584, 329, 3349, 30126, 3397, 1812, 21, 273, 446, 31, 5411, 5584, 329, 3349, 30126, 3397, 1812, 22, 273...
if (this.pattern != null) { this.hatch.setPatternID(this.pattern.getId()); } }
if (this.pattern != null) { this.hatch.setDXFHatchPatternID(this.pattern.getID()); } }
public void endDXFEntity() { if (this.linePattern != null) { this.linePattern.setPattern(this.parameters); } if (this.pattern != null) { this.hatch.setPatternID(this.pattern.getId()); } }
4096 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4096/97da13d420d72405018ba732b60712bffbfe3482/DXFHatchHandler.java/clean/src/java/org/kabeja/parser/entities/DXFHatchHandler.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 679, 28826, 42, 1943, 1435, 288, 3639, 309, 261, 2211, 18, 1369, 3234, 480, 446, 13, 288, 5411, 333, 18, 1369, 3234, 18, 542, 3234, 12, 2211, 18, 3977, 1769, 3639, 289, 3639,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 679, 28826, 42, 1943, 1435, 288, 3639, 309, 261, 2211, 18, 1369, 3234, 480, 446, 13, 288, 5411, 333, 18, 1369, 3234, 18, 542, 3234, 12, 2211, 18, 3977, 1769, 3639, 289, 3639,...
LayoutCacheUtil.putLayoutCacheResponseData( _companyId, key, data);
if (data.getData().length > 0) { LayoutCacheUtil.putLayoutCacheResponseData( _companyId, key, data); }
public void doFilter( ServletRequest req, ServletResponse res, FilterChain chain) throws IOException, ServletException { if (USE_LAYOUT_CACHE_FILTER) { _log.debug("Layout cache is enabled"); } else { _log.debug("Layout cache is disabled"); } HttpServletRequest request = (HttpServletRequest)req; HttpServle...
57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/9bf311c23d7e8d0ff9d9d1d4e311f822d9559fc9/LayoutCacheFilter.java/buggy/portal-ejb/src/com/liferay/portal/servlet/filters/layoutcache/LayoutCacheFilter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 741, 1586, 12, 1082, 202, 18572, 1111, 16, 7971, 1064, 400, 16, 4008, 3893, 2687, 13, 202, 202, 15069, 1860, 16, 16517, 288, 202, 202, 430, 261, 8001, 67, 7868, 5069, 67,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 741, 1586, 12, 1082, 202, 18572, 1111, 16, 7971, 1064, 400, 16, 4008, 3893, 2687, 13, 202, 202, 15069, 1860, 16, 16517, 288, 202, 202, 430, 261, 8001, 67, 7868, 5069, 67,...
public void mMISC() throws RecognitionException { int MISC_StartIndex = input.index(); try { int type = MISC; int start = getCharIndex(); int line = getLine(); int charPosition = getCharPositionInLine(); int channel = Token.DEFAULT_CHANNEL; ...
31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/cdf6cb875caeaced53629d36cdc1a31cdc22d9ca/RuleParserLexer.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParserLexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 312, 7492, 2312, 1435, 1216, 9539, 288, 3639, 509, 20806, 2312, 67, 16792, 273, 810, 18, 1615, 5621, 3639, 775, 288, 5411, 509, 618, 273, 20806, 2312, 31, 5411, 509, 787, 273, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 312, 7492, 2312, 1435, 1216, 9539, 288, 3639, 509, 20806, 2312, 67, 16792, 273, 810, 18, 1615, 5621, 3639, 775, 288, 5411, 509, 618, 273, 20806, 2312, 31, 5411, 509, 787, 273, ...
cmd.createArg().setValue(jarSource);
cmd.createArg().setValue( jarSource.toString() );
private void doOneJar(String jarSource, String jarTarget) throws BuildException { if (project.getJavaVersion().equals(Project.JAVA_1_1)) { throw new BuildException("The signjar task is only available on JDK versions 1.2 or greater"); } if (null == alias) { throw new BuildE...
17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/d33d5f77d38d48e5728316c0515aaa85f8905990/SignJar.java/buggy/src/main/org/apache/tools/ant/taskdefs/SignJar.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 741, 3335, 10813, 12, 780, 7334, 1830, 16, 514, 7334, 2326, 13, 1216, 18463, 288, 3639, 309, 261, 4406, 18, 588, 5852, 1444, 7675, 14963, 12, 4109, 18, 27264, 67, 21, 67, 21,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 741, 3335, 10813, 12, 780, 7334, 1830, 16, 514, 7334, 2326, 13, 1216, 18463, 288, 3639, 309, 261, 4406, 18, 588, 5852, 1444, 7675, 14963, 12, 4109, 18, 27264, 67, 21, 67, 21,...
ContextManager.getScalingFactors().setInteresting(scaleDoiSelection(doiScale.getSelection()));
MylarContextManager.getScalingFactors().setInteresting(scaleDoiSelection(doiScale.getSelection()));
public MylarControlPanel(ViewPart part, Composite parent, int style) { super(parent, style); final GridLayout gridLayout_3 = new GridLayout(); gridLayout_3.verticalSpacing = 2; gridLayout_3.marginWidth = 0; gridLayout_3.marginHeight = 0; gridLayout_3.horizontalSpacing = 1; ...
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/5580c363c05d4cd90dae04ce7d09ff123911c303/MylarControlPanel.java/buggy/org.eclipse.mylyn.context.ui/src/org/eclipse/mylyn/ui/views/MylarControlPanel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 8005, 7901, 3367, 5537, 12, 1767, 1988, 1087, 16, 14728, 982, 16, 509, 2154, 13, 288, 3639, 2240, 12, 2938, 16, 2154, 1769, 3639, 727, 7145, 3744, 3068, 3744, 67, 23, 273, 394, 71...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8005, 7901, 3367, 5537, 12, 1767, 1988, 1087, 16, 14728, 982, 16, 509, 2154, 13, 288, 3639, 2240, 12, 2938, 16, 2154, 1769, 3639, 727, 7145, 3744, 3068, 3744, 67, 23, 273, 394, 71...
rsp_list=_req.getResults(); if(rsp_list.size() == 0) { if(log.isWarnEnabled()) log.warn(" response list is empty"); return null;
rsp_list = _req.getResults(); if (rsp_list.size() == 0) { if (log.isWarnEnabled()) { log.warn(" response list is empty"); } return null;
public Object sendMessage(Message msg, int mode, long timeout) throws TimeoutException, SuspectedException { Vector mbrs=new Vector(); RspList rsp_list=null; Object dest=msg.getDest(); Rsp rsp; GroupRequest _req=null; if(dest == null) { ...
47927 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47927/146a9f744cbe901c4fe56f6ceb2100ee15e7e898/MessageDispatcher.java/clean/src/org/jgroups/blocks/MessageDispatcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 15399, 12, 1079, 1234, 16, 509, 1965, 16, 1525, 2021, 13, 1216, 23334, 16, 348, 407, 1789, 503, 288, 3639, 5589, 3639, 312, 2848, 87, 33, 2704, 5589, 5621, 3639, 534, 1752, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 15399, 12, 1079, 1234, 16, 509, 1965, 16, 1525, 2021, 13, 1216, 23334, 16, 348, 407, 1789, 503, 288, 3639, 5589, 3639, 312, 2848, 87, 33, 2704, 5589, 5621, 3639, 534, 1752, ...
if (args.length == 0 || args[0].equals("write")) {
if ((args.length == 0) || args[0].equals("write")) {
public static void main(String[] args) throws Exception { if (args.length == 0 || args[0].equals("write")) { writeMPI(new BigInteger("9"), System.out); writeMPI(new BigInteger("1234567890123456789"), System.out); writeMPI(new BigInteger("100200300400500600700800900"), System.out); } else if (args[0].equals("re...
49933 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49933/ca136843ae9ecb30cadada58a33a5dc2cf8ad064/Util.java/buggy/src/freenet/crypt/Util.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 2774, 12, 780, 8526, 833, 13, 1216, 1185, 288, 202, 202, 430, 261, 1968, 18, 2469, 422, 374, 747, 833, 63, 20, 8009, 14963, 2932, 2626, 6, 3719, 288, 1082, 202, 26...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 2774, 12, 780, 8526, 833, 13, 1216, 1185, 288, 202, 202, 430, 261, 1968, 18, 2469, 422, 374, 747, 833, 63, 20, 8009, 14963, 2932, 2626, 6, 3719, 288, 1082, 202, 26...
String message = request.getPartAsString("message", 2000);
String message = request.getPartAsString("message", 5*1024);
public void handlePost(URI uri, Bucket data, ToadletContext ctx) throws ToadletContextClosedException, IOException, RedirectException { if(data.size() > 1024*1024) { this.writeReply(ctx, 400, "text/plain", "Too big", "Too much data, N2NTM toadlet limited to 1MB"); return; } HTTPRequest request = new HT...
51738 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51738/73ddfd0db1daa02b0880536dcbb3e653a614d21d/N2NTMToadlet.java/buggy/src/freenet/clients/http/N2NTMToadlet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1640, 3349, 12, 3098, 2003, 16, 7408, 501, 16, 2974, 361, 1810, 1042, 1103, 13, 1216, 2974, 361, 1810, 1042, 7395, 503, 16, 1860, 16, 9942, 503, 288, 202, 225, 309, 12, 892, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1640, 3349, 12, 3098, 2003, 16, 7408, 501, 16, 2974, 361, 1810, 1042, 1103, 13, 1216, 2974, 361, 1810, 1042, 7395, 503, 16, 1860, 16, 9942, 503, 288, 202, 225, 309, 12, 892, ...
return UNCHANGED;
return DefUseEffect.UNCHANGED;
private static byte longCondMove(OPT_Instruction s) { { OPT_Operand val1 = CondMove.getVal1(s); OPT_Operand val2 = CondMove.getVal2(s); int cond = CondMove.getCond(s).evaluate(val1, val2); if (cond != OPT_ConditionOperand.UNKNOWN) { // BOTH CONSTANTS OR SIMILAR: FOLD OPT_Operand va...
5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/4f52a59569c48e68010a63e605ee6691083a9e97/OPT_Simplifier.java/buggy/rvm/src/com/ibm/jikesrvm/opt/OPT_Simplifier.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 1160, 1525, 12441, 7607, 12, 15620, 67, 11983, 272, 13, 288, 282, 288, 1377, 16456, 67, 10265, 1244, 21, 273, 735, 72, 7607, 18, 588, 3053, 21, 12, 87, 1769, 1377, 16456, 67,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 760, 1160, 1525, 12441, 7607, 12, 15620, 67, 11983, 272, 13, 288, 282, 288, 1377, 16456, 67, 10265, 1244, 21, 273, 735, 72, 7607, 18, 588, 3053, 21, 12, 87, 1769, 1377, 16456, 67,...
System.out.println(
log.warn(
public String nextKeyStroke() { String s = ""; boolean gotOne = false; int start = index; if(length > index) { sb.setLength(0); char c = keyStrokes.charAt(index); switch(c) { case '[': sb.append(c); index++; // we need t...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/KeyStrokenizer.java/buggy/tn5250j/src/org/tn5250j/KeyStrokenizer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 565, 1071, 514, 1024, 653, 14602, 1435, 288, 1377, 514, 272, 273, 1408, 31, 1377, 1250, 2363, 3335, 273, 629, 31, 1377, 509, 787, 273, 770, 31, 1377, 309, 12, 2469, 405, 770, 13, 288, 540, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 514, 1024, 653, 14602, 1435, 288, 1377, 514, 272, 273, 1408, 31, 1377, 1250, 2363, 3335, 273, 629, 31, 1377, 509, 787, 273, 770, 31, 1377, 309, 12, 2469, 405, 770, 13, 288, 540, ...
Vector xpaths = parse(reference);
Vector xpaths = new Vector(); Vector namespaces = new Vector(); parse(reference, xpaths, namespaces);
public Vector select(Node node, String reference) throws Exception { Vector xpaths = parse(reference); Vector nodes = new Vector(); for (int i = 0; i < xpaths.size(); i++) { Vector n = xpointer.select(node, (String) xpaths.elementAt(i)); for (int j = 0; j < n.size(); j++) ...
45951 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45951/285613cd01981da9ba84bfce21fd52077cc60d79/XPointerFactory.java/buggy/src/java/org/apache/lenya/xml/XPointerFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 5589, 2027, 12, 907, 756, 16, 514, 2114, 13, 1216, 1185, 288, 3639, 5589, 619, 4481, 273, 394, 5589, 5621, 5589, 7728, 273, 394, 5589, 5621, 1109, 12, 6180, 16, 619, 4481, 16, 772...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5589, 2027, 12, 907, 756, 16, 514, 2114, 13, 1216, 1185, 288, 3639, 5589, 619, 4481, 273, 394, 5589, 5621, 5589, 7728, 273, 394, 5589, 5621, 1109, 12, 6180, 16, 619, 4481, 16, 772...
public void begin(InterpretationContext ec, String name, Attributes attributes) throws ActionException { inError = false; try { ec.pushObject(context); } catch (Exception oops) { inError = true; addError( "Could not push context", oops); throw new ActionException(ActionEx...
53733 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53733/cd5686d976f1993d6cc606a0b2d7b9f8ae6f1a31/FruitContextAction.java/clean/logback-core/src/test/java/ch/qos/logback/core/joran/ia/FruitContextAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 10086, 12, 2465, 15089, 367, 1042, 557, 16, 780, 529, 16, 2498, 4350, 13, 15069, 1803, 503, 95, 267, 668, 33, 5743, 31, 698, 95, 557, 18, 6206, 921, 12, 2472, 1769, 97, 14683, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 6459, 10086, 12, 2465, 15089, 367, 1042, 557, 16, 780, 529, 16, 2498, 4350, 13, 15069, 1803, 503, 95, 267, 668, 33, 5743, 31, 698, 95, 557, 18, 6206, 921, 12, 2472, 1769, 97, 14683, ...
EncryptionKey signKey = net.suberic.pooka.gui.crypto.CryptoKeySelector.selectPrivateKey();
java.security.Key signKey = net.suberic.pooka.gui.crypto.CryptoKeySelector.selectPrivateKey();
public void actionPerformed(ActionEvent e) { getNewMessageInfo().setSignMessage(NewMessageInfo.CRYPTO_YES); if (getNewMessageInfo().getSignatureKey() == null && (getDefaultProfile() == null || getDefaultProfile().getEncryptionKey() == null)) { try { EncryptionKey signKey = net.suberic.pooka.gui.crypto.C...
967 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/967/28d383fe52e093c1e6630b8de08c3e36e0dc36ac/NewMessageProxy.java/clean/net/suberic/pooka/gui/NewMessageProxy.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 26100, 12, 1803, 1133, 425, 13, 288, 1377, 12654, 1079, 966, 7675, 542, 2766, 1079, 12, 1908, 1079, 966, 18, 14306, 51, 67, 29081, 1769, 1377, 309, 261, 588, 1908, 1079, 966, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 26100, 12, 1803, 1133, 425, 13, 288, 1377, 12654, 1079, 966, 7675, 542, 2766, 1079, 12, 1908, 1079, 966, 18, 14306, 51, 67, 29081, 1769, 1377, 309, 261, 588, 1908, 1079, 966, ...
if (props != null) ctx = new InitialContext(props); else ctx = new InitialContext();
ctx = (props != null) ? new InitialContext(props) : new InitialContext();
private void init() { if (!isAlwaysLookup()) { Context ctx = null; try { if (props != null) ctx = new InitialContext(props); else ctx = new InitialContext(); datasource = (DataSource) ctx.lookup(url); } catch (Ex...
55677 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55677/cf7f5f77ce5bb6364145230d302b86f1cdadea88/JNDIConnectionProvider.java/buggy/src/java/org/quartz/utils/JNDIConnectionProvider.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1208, 1435, 288, 3639, 309, 16051, 291, 18806, 6609, 10756, 288, 5411, 1772, 1103, 273, 446, 31, 5411, 775, 288, 7734, 309, 261, 9693, 480, 446, 13, 1103, 273, 394, 10188, 1042...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1208, 1435, 288, 3639, 309, 16051, 291, 18806, 6609, 10756, 288, 5411, 1772, 1103, 273, 446, 31, 5411, 775, 288, 7734, 309, 261, 9693, 480, 446, 13, 1103, 273, 394, 10188, 1042...
if ( token==null ) {emit(type,line,charPosition,channel,start,getCharIndex()-1);}
finally { }
public void mBXOR_ASSIGN() throws RecognitionException { int type = BXOR_ASSIGN; int start = getCharIndex(); int line = getLine(); int charPosition = getCharPositionInLine(); int channel = Token.DEFAULT_CHANNEL; // /Users/bob/Documents/workspace/jbossrules/drools-compiler/s...
6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/7e425814ce563fcc662b266adb2a4dc8e1a95d19/JavaParserLexer.java/buggy/drools-compiler/src/main/java/org/drools/semantics/java/parser/JavaParserLexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 312, 38, 60, 916, 67, 23289, 1435, 1216, 9539, 288, 3639, 509, 618, 273, 605, 60, 916, 67, 23289, 31, 3639, 509, 787, 273, 23577, 1016, 5621, 3639, 509, 980, 273, 9851, 5621,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 312, 38, 60, 916, 67, 23289, 1435, 1216, 9539, 288, 3639, 509, 618, 273, 605, 60, 916, 67, 23289, 31, 3639, 509, 787, 273, 23577, 1016, 5621, 3639, 509, 980, 273, 9851, 5621,...
if (rs.getInt(2) != 0){
if (rs.getInt(2) != 0) {
public static void main (String [] args) throws Exception{ String USAGE = "Usage: java JobFlagReport [options] <date (YYYY-MM-DD)> Enter -help for a list of options\n"; String HELP = "Where [options] are:\n"+ " -help Displays help\n"+ " -step <day|month> Speci...
8754 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8754/efb83d08bf3214ba362adb9486345c128a00bae7/ErrorReport.java/clean/usage/java/reports/source/src/org/globus/usage/report/gram/ErrorReport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 261, 780, 5378, 833, 13, 1216, 1185, 95, 3639, 514, 11836, 2833, 273, 315, 5357, 30, 2252, 3956, 4678, 4820, 306, 2116, 65, 411, 712, 261, 26287, 17, 8206, 17, 569...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 2774, 261, 780, 5378, 833, 13, 1216, 1185, 95, 3639, 514, 11836, 2833, 273, 315, 5357, 30, 2252, 3956, 4678, 4820, 306, 2116, 65, 411, 712, 261, 26287, 17, 8206, 17, 569...
boolean virtual = VIRTUAL;
public void run(String arg) { OpenDialog od = new OpenDialog("Open Sequence of Image Stacks:", ""); String directory = od.getDirectory(); String name = od.getFileName(); if (name == null) return; // find all the files having similar names (using FilePattern class) String pattern = FilePattern.findPa...
55303 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55303/ea45cb2276f32a54ab285c305c9b15d667479193/LociDataBrowser.java/buggy/loci/browser/LociDataBrowser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 1086, 12, 780, 1501, 13, 288, 565, 3502, 6353, 28541, 273, 394, 3502, 6353, 2932, 3678, 8370, 434, 3421, 7283, 87, 2773, 16, 1408, 1769, 565, 514, 1867, 273, 28541, 18, 588, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1086, 12, 780, 1501, 13, 288, 565, 3502, 6353, 28541, 273, 394, 3502, 6353, 2932, 3678, 8370, 434, 3421, 7283, 87, 2773, 16, 1408, 1769, 565, 514, 1867, 273, 28541, 18, 588, ...
sendElementEvent("references");
sendIndentedElement("attribute"); sendElementEvent("namespaceName", DOMUtil.getNamespaceURI(att)); sendElementEvent("localName", DOMUtil.getLocalName(att)); sendElementEvent("prefix", att.getPrefix()); sendElementEvent("normalizedValue", att.getValue()); sendElementEvent( "specified", String.valueOf(att.getSpecified())...
private void processDOMAttributes(Element elem, String tagName) { Attr[] atts = elem == null ? null : DOMUtil.getAttrs(elem); if (atts == null || atts.length == 0) { sendEmptyElementEvent(tagName); } else { sendIndentedElement(tagName); for (int i = 0; i ...
4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/41ad82c91d65cd350427ad97bcf1253b29ac4227/PSVIWriter.java/buggy/samples/xni/PSVIWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1207, 8168, 2498, 12, 1046, 3659, 16, 514, 7196, 13, 288, 3639, 11289, 8526, 15687, 273, 3659, 422, 446, 692, 446, 294, 4703, 1304, 18, 588, 8262, 12, 10037, 1769, 3639, 309, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8168, 2498, 12, 1046, 3659, 16, 514, 7196, 13, 288, 3639, 11289, 8526, 15687, 273, 3659, 422, 446, 692, 446, 294, 4703, 1304, 18, 588, 8262, 12, 10037, 1769, 3639, 309, ...
setupBufferedIO();
public void putc(int c) throws IOException, BadDescriptorException { checkWritable(); setupBufferedIO(); if (!outBuffer.hasRemaining()) { outBuffer.flip(); flushOutBuffer(); } outBuffer.put((byte) (c & 0xff)); }
48300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48300/a6049d13f9eab0fce512fac5890ac20bf9ba9a27/IOHandlerNio.java/clean/src/org/jruby/util/IOHandlerNio.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1378, 71, 12, 474, 276, 13, 1216, 1860, 16, 6107, 3187, 503, 288, 3639, 866, 12061, 5621, 9079, 309, 16051, 659, 1892, 18, 5332, 11429, 10756, 288, 5411, 596, 1892, 18, 12357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1378, 71, 12, 474, 276, 13, 1216, 1860, 16, 6107, 3187, 503, 288, 3639, 866, 12061, 5621, 9079, 309, 16051, 659, 1892, 18, 5332, 11429, 10756, 288, 5411, 596, 1892, 18, 12357, ...
AST __t805 = _t; AST tmp59_AST_in = (AST)_t;
AST __t312 = _t; AST tmp61_AST_in = (AST)_t;
public final Expression primaryExpr(AST _t, PathExpr path ) throws RecognitionException, PermissionDeniedException,EXistException,XPathException { Expression step; AST primaryExpr_AST_in = (AST)_t; AST v = null; step = null; if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ELEMENT: case TEXT:...
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/722cca774247887cf67fef993c71f848a05e075f/XPathTreeParser2.java/clean/src/org/exist/parser/XPathTreeParser2.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 5371, 225, 3354, 4742, 12, 9053, 389, 88, 16, 202, 202, 743, 4742, 589, 202, 13, 1216, 9539, 16, 8509, 15877, 16, 2294, 376, 503, 16, 14124, 503, 288, 202, 202, 2300, 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, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 5371, 225, 3354, 4742, 12, 9053, 389, 88, 16, 202, 202, 743, 4742, 589, 202, 13, 1216, 9539, 16, 8509, 15877, 16, 2294, 376, 503, 16, 14124, 503, 288, 202, 202, 2300, 2...
if (tostdout) { System.out.print("DEBUG: "); System.out.println(s); } else { ((org.apache.log4j.Category)logger).debug(s);
if (debug) { if (tostdout) { System.out.print("DEBUG: "); System.out.println(s); } else { ((org.apache.log4j.Category)logger).debug(s); }
public void debug(String s) { if (tostdout) { System.out.print("DEBUG: "); System.out.println(s); } else { ((org.apache.log4j.Category)logger).debug(s); } }
1306 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1306/342447ed2924bc955b0db9bbbd7e9fab61f13432/LoggingTool.java/buggy/org/openscience/cdk/tools/LoggingTool.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1198, 12, 780, 272, 13, 288, 3639, 309, 261, 88, 669, 72, 659, 13, 288, 5411, 2332, 18, 659, 18, 1188, 2932, 9394, 30, 315, 1769, 5411, 2332, 18, 659, 18, 8222, 12, 87, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1198, 12, 780, 272, 13, 288, 3639, 309, 261, 88, 669, 72, 659, 13, 288, 5411, 2332, 18, 659, 18, 1188, 2932, 9394, 30, 315, 1769, 5411, 2332, 18, 659, 18, 8222, 12, 87, 1...
if (lhsType.equals(PsiType.BOOLEAN) || lhsType.equalsToText("java.lang.Boolean")) {
if(lhsType.equals(PsiType.BOOLEAN) || lhsType.equalsToText("java.lang.Boolean")){
public void visitBinaryExpression(@NotNull PsiBinaryExpression expression) { super.visitBinaryExpression(expression); final PsiJavaToken sign = expression.getOperationSign(); final IElementType tokenType = sign.getTokenType(); if(!bitwiseTokens.contains(tokenType)) ...
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/e4dba42c27333ff3aa3a021da7c8754469f669b6/PointlessBitwiseExpressionInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/bitwise/PointlessBitwiseExpressionInspection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 3757, 5905, 2300, 26964, 5962, 453, 7722, 5905, 2300, 2652, 13, 288, 5411, 2240, 18, 11658, 5905, 2300, 12, 8692, 1769, 5411, 727, 453, 7722, 5852, 1345, 1573, 273, 2652, 18, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 3757, 5905, 2300, 26964, 5962, 453, 7722, 5905, 2300, 2652, 13, 288, 5411, 2240, 18, 11658, 5905, 2300, 12, 8692, 1769, 5411, 727, 453, 7722, 5852, 1345, 1573, 273, 2652, 18, 5...
try {
try {
public GaussiansCalculationTest(String inFile) { try { ChemObjectReader reader; System.out.println("Loading: " + inFile); if (inFile.endsWith(".xyz")) { reader = new XYZReader(new FileReader(inFile)); System.out.println("Expecting XYZ format..."); } else if...
45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/74df8d45578e9c9645db883b90d7f0ef6b883f08/GaussiansCalculationTest.java/clean/src/org/openscience/cdk/test/math/qm/GaussiansCalculationTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 611, 10325, 19657, 13989, 4709, 12, 780, 316, 812, 13, 225, 288, 377, 775, 1850, 288, 2868, 26542, 921, 2514, 2949, 31, 1377, 2332, 18, 659, 18, 8222, 2932, 10515, 30, 315, 39...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 611, 10325, 19657, 13989, 4709, 12, 780, 316, 812, 13, 225, 288, 377, 775, 1850, 288, 2868, 26542, 921, 2514, 2949, 31, 1377, 2332, 18, 659, 18, 8222, 2932, 10515, 30, 315, 39...
int x=toReturn.length(); return toReturn.delete(x-3, x).append("]").toString();
return toReturn.append("]").toString();
public String toString() { StringBuffer toReturn=new StringBuffer("["); for (int i=0; i < elementCount; i++) { toReturn.append(elementData[i].toString()).append(", "); } int x=toReturn.length(); return toReturn.delete(x-3, x).append("]").toString(); }
47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/1df96197c4c8fb26050c36349c9fc20bf46740a8/Vector.java/buggy/java/util/Vector.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 514, 1762, 1435, 288, 565, 6674, 24029, 33, 2704, 6674, 2932, 63, 8863, 565, 364, 261, 474, 277, 33, 20, 31, 277, 411, 930, 1380, 31, 277, 27245, 288, 1377, 24029, 18, 6923, 12, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 514, 1762, 1435, 288, 565, 6674, 24029, 33, 2704, 6674, 2932, 63, 8863, 565, 364, 261, 474, 277, 33, 20, 31, 277, 411, 930, 1380, 31, 277, 27245, 288, 1377, 24029, 18, 6923, 12, ...
if (optionArray[i].indexOf('"') != -1) {
if (optionArray[i].indexOf(' ') != -1) {
public static String joinOptions(String [] optionArray) { String optionString = ""; for (int i = 0; i < optionArray.length; i++) { if (optionArray[i].equals("")) { continue; } if (optionArray[i].indexOf('"') != -1) { optionString += '"' + optionArray[i] + '"'; } else { optionString += option...
4773 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4773/90002065f6b173c0ae6b7aca3333e9369b76b5ae/Utils.java/buggy/weka/core/Utils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 514, 1233, 1320, 12, 780, 5378, 1456, 1076, 13, 288, 565, 514, 1456, 780, 273, 1408, 31, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1456, 1076, 18, 2469, 31, 277, 272...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 514, 1233, 1320, 12, 780, 5378, 1456, 1076, 13, 288, 565, 514, 1456, 780, 273, 1408, 31, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1456, 1076, 18, 2469, 31, 277, 272...
_t = __t2090;
_t = __t2094;
public final void systemhelpstate(AST _t) throws RecognitionException { AST systemhelpstate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t2078 = _t; AST tmp1301_AST_in = (AST)_t; match(_t,SYSTEMHELP); _t = _t.getFirstChild(); expression(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getT...
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, 2619, 5201, 2019, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 2619, 5201, 2019, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 29...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2619, 5201, 2019, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 2619, 5201, 2019, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 29...
String[] replyId = (req.getParameterValues("REPLY_DEL_BOX")) ; /* for(int j=i; j<i+nbrOfCols ; j++) { dataV.add(DBArr[j]) ; } */return replyId ; }
String[] replyId = (req.getParameterValues("REPLY_DEL_BOX")) ; return replyId ; }
public String[] getDelReplyParameters( HttpServletRequest req ) throws ServletException, IOException { // Lets get the standard discussion_id to delete String[] replyId = (req.getParameterValues("REPLY_DEL_BOX")) ;//REPLY_DEL_BOX /* for(int j=i; j<i+nbrOfCols ; j++) { dataV.add(DBArr[j]) ; //log("VRDE: "...
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/a270627916b37a677a391dd9f45c54d3d6f12503/BillBoardAdmin.java/buggy/servlets/billBoard/BillBoardAdmin.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 514, 8526, 18531, 7817, 2402, 12, 9984, 1111, 262, 202, 15069, 16517, 16, 1860, 288, 202, 202, 759, 511, 2413, 336, 326, 4529, 14716, 67, 350, 358, 1430, 202, 202, 780, 8526, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 514, 8526, 18531, 7817, 2402, 12, 9984, 1111, 262, 202, 15069, 16517, 16, 1860, 288, 202, 202, 759, 511, 2413, 336, 326, 4529, 14716, 67, 350, 358, 1430, 202, 202, 780, 8526, ...
if (roleClassName != null) {
Method method = getMethod(system.personJAASPrincipleClass, personMethodFirstName, "person first name", name, id); if (method != null) { system.personMethodAttributes.put(Person.AttrName.FirstName, method); } method = getMethod(system.personJAASPrincipleClass, personMethodLastName, "person last name", name, id); if (...
public static void initialise(final Context _context) throws Exception { ConnectionResource con = null; try { con = _context.getConnectionResource(); Statement stmt = null; try { stmt = con.getConnection().createStatement(); ResultSet rs = stmt.executeQuery(SQL_SELECT); wh...
55506 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55506/96977fc9ae5e623fdd2932609194ee26c2038250/JAASSystem.java/buggy/trunk/kernel/src/main/java/org/efaps/admin/user/JAASSystem.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 21301, 12, 6385, 1772, 389, 2472, 13, 1216, 1185, 225, 288, 565, 4050, 1420, 356, 273, 446, 31, 565, 775, 225, 288, 1377, 356, 273, 389, 2472, 18, 588, 1952, 1420, 5621,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 918, 21301, 12, 6385, 1772, 389, 2472, 13, 1216, 1185, 225, 288, 565, 4050, 1420, 356, 273, 446, 31, 565, 775, 225, 288, 1377, 356, 273, 389, 2472, 18, 588, 1952, 1420, 5621,...
String lat = "5123.1569"; String lon = "00645.0726";
int sats = random.nextInt(6); int fix = sats > 0 ? 1 : 0; float lat = basepos.getLatitudeAsFloat(); float lon = basepos.getLongitudeAsFloat(); if (fix > 0) { lon += random.nextFloat()*2*DEVIATION-DEVIATION; lat += random.nextFloat()*2*DEVIATION-DEVIATION; } basepos = new Position(lat, lon); String slat = for...
public void run() { while (simulating) { // $GPGGA,125532.146,5123.1569,N,00645.0726,E,1,04,09.5,29.0,M,45.7,M,,*52 // TODO extract coordinates from Position object // TODO vary the position randomly String lat = "5123.1569"; String lon = "00645.0726"; // TODO insert the correct time String time = "...
56438 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56438/b860160be5c05cd56b2a482deaf4b6b73677d78b/NMEASimulator.java/buggy/MoVadis/gps/NMEASimulator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1086, 1435, 288, 202, 202, 17523, 261, 9812, 27967, 13, 288, 1082, 202, 759, 271, 9681, 19491, 37, 16, 2138, 2539, 1578, 18, 27879, 16, 25, 12936, 18, 3600, 8148, 16, 50,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1086, 1435, 288, 202, 202, 17523, 261, 9812, 27967, 13, 288, 1082, 202, 759, 271, 9681, 19491, 37, 16, 2138, 2539, 1578, 18, 27879, 16, 25, 12936, 18, 3600, 8148, 16, 50,...
public void testIsAdmin() { Message message = new Message(); message.getHeader().setString(MsgType.FIELD, MsgType.HEARTBEAT); assertTrue(message.isAdmin()); message.getHeader().setString(MsgType.FIELD, MsgType.LOGON); assertTrue(message.isAdmin()); message.getHeader().setSt...
52526 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52526/586397aa1fd3345ca33694c092ffcd7b16ba0607/MessageTest.java/buggy/core/src/test/java/quickfix/MessageTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 2520, 4446, 1435, 288, 3639, 2350, 883, 273, 394, 2350, 5621, 3639, 883, 18, 588, 1864, 7675, 542, 780, 12, 3332, 559, 18, 6776, 16, 8671, 559, 18, 3900, 4928, 5948, 78...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2520, 4446, 1435, 288, 3639, 2350, 883, 273, 394, 2350, 5621, 3639, 883, 18, 588, 1864, 7675, 542, 780, 12, 3332, 559, 18, 6776, 16, 8671, 559, 18, 3900, 4928, 5948, 78...
this.tid = tid;
public NatSettings( Tid tid ) { this.tid = tid; }
49954 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49954/1152554dbc4fa7e994c68368b90bf238d9757ee4/NatSettings.java/buggy/tran/nat/main/com/metavize/tran/nat/NatSettings.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 423, 270, 2628, 12, 399, 350, 11594, 262, 565, 288, 6647, 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, ...
[ 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 423, 270, 2628, 12, 399, 350, 11594, 262, 565, 288, 6647, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
if ((evt.getID() == MouseEvent.MOUSE_ENTERED) || (evt.getID() == MouseEvent.MOUSE_RELEASED)){
if (/*(evt.getID() == MouseEvent.MOUSE_ENTERED) || */ (evt.getID() == MouseEvent.MOUSE_RELEASED)){
protected void processMouseEvent(MouseEvent evt){ updateClickCount(evt); // We want to handle events where clickCount >= 2 ourselves if (evt.getClickCount() < 2) super.processMouseEvent(evt); int pressedLoc = viewToModel(evt.getPoint()); int selectionStart = getSelectionStart(); int selectionEn...
1161 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1161/07ecf58dd1f1ca6636c798113285c80dff5aa49f/ConsoleTextPane.java/buggy/src/free/jin/console/ConsoleTextPane.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1207, 9186, 1133, 12, 9186, 1133, 6324, 15329, 565, 1089, 6563, 1380, 12, 73, 11734, 1769, 565, 368, 1660, 2545, 358, 1640, 2641, 1625, 4682, 1380, 1545, 576, 19801, 565, 309, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 1207, 9186, 1133, 12, 9186, 1133, 6324, 15329, 565, 1089, 6563, 1380, 12, 73, 11734, 1769, 565, 368, 1660, 2545, 358, 1640, 2641, 1625, 4682, 1380, 1545, 576, 19801, 565, 309, ...
name = adapter.getCategorySorter().getCategoryField().getValue( markerAdapter.lastMarkers.toArray()[startIndex]);
name = categoryName;
MarkerCategory(MarkerAdapter adapter, int startIndex, int endIndex) { markerAdapter = adapter; start = startIndex; end = endIndex; name = adapter.getCategorySorter().getCategoryField().getValue( markerAdapter.lastMarkers.toArray()[startIndex]); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/463fb046537cc5974ca1c2e10d796b2225e725a8/MarkerAdapter.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerAdapter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3196, 202, 7078, 4457, 12, 7078, 4216, 4516, 16, 509, 10588, 16, 509, 13818, 13, 288, 1082, 202, 11145, 4216, 273, 4516, 31, 1082, 202, 1937, 273, 10588, 31, 1082, 202, 409, 273, 13818, 31, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7078, 4457, 12, 7078, 4216, 4516, 16, 509, 10588, 16, 509, 13818, 13, 288, 1082, 202, 11145, 4216, 273, 4516, 31, 1082, 202, 1937, 273, 10588, 31, 1082, 202, 409, 273, 13818, 31, ...