rem stringlengths 1 53.3k | add stringlengths 0 80.5k | context stringlengths 6 326k | meta stringlengths 141 403 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|---|
int u = 0; | public NodePanel() { addMouseListener(new MouseAdapter() { public void mousePressed(MouseEvent e) { if (!m_stopped) { return; } if ((e.getModifiers() & e.BUTTON1_MASK) == e.BUTTON1_MASK && !e.isAltDown()) { Graphics g = NodePanel.this.getGraphics(); int x = e.get... | 6866 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6866/cd962793826db37348322a62c5c01adc9613fe7a/MultilayerPerceptron.java/buggy/classifiers/functions/MultilayerPerceptron.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2029,
5537,
1435,
288,
5411,
527,
9186,
2223,
12,
2704,
17013,
4216,
1435,
288,
202,
21114,
225,
1071,
918,
7644,
24624,
12,
9186,
1133,
425,
13,
288,
202,
377,
202,
565,
309,
16051... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2029,
5537,
1435,
288,
5411,
527,
9186,
2223,
12,
2704,
17013,
4216,
1435,
288,
202,
21114,
225,
1071,
918,
7644,
24624,
12,
9186,
1133,
425,
13,
288,
202,
377,
202,
565,
309,
16051... | |
IParserEditStatus valid = (IParserEditStatus) getEditingDomain() .runExclusive(new RunnableWithResult.Impl() { | IParserEditStatus valid = (IParserEditStatus) getEditingDomain().runExclusive(new RunnableWithResult.Impl() { | public ICellEditorValidator getEditTextValidator() { return new ICellEditorValidator() { public String isValid(final Object value) { if (value instanceof String) { final EObject element = getParserElement(); final IParser parser = getParser(); try { IParserEditStatus valid = (IParserEditStatus) ... | 56962 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56962/816096641504ba96db7bef449fe01a4b67ff0d37/AddStructuralFeatureValueActionName2EditPart.java/buggy/plugins/org.eclipse.uml2.diagram.activity/src/org/eclipse/uml2/diagram/activity/edit/parts/AddStructuralFeatureValueActionName2EditPart.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
4020,
6946,
5126,
21221,
1528,
5126,
1435,
288,
202,
202,
2463,
394,
467,
4020,
6946,
5126,
1435,
288,
1082,
202,
482,
514,
4908,
12,
6385,
1033,
460,
13,
288,
9506,
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,
482,
467,
4020,
6946,
5126,
21221,
1528,
5126,
1435,
288,
202,
202,
2463,
394,
467,
4020,
6946,
5126,
1435,
288,
1082,
202,
482,
514,
4908,
12,
6385,
1033,
460,
13,
288,
9506,
202,
... |
Root root = SessionManager.getSession().getMetadataRoot().getRoot(); ObjectMap om = root.getObjectMap (root.getObjectType(p.getContainer().getQualifiedName())); Mapping m = om.getMapping(Path.get(p.getName())); if (m instanceof Value) { return ((Value) m).getColumn(); } else { return null; } | Root root = SessionManager.getSession().getMetadataRoot().getRoot(); ObjectMap om = root.getObjectMap (root.getObjectType(p.getContainer().getQualifiedName())); Mapping m = om.getMapping(Path.get(p.getName())); if (m instanceof Value) { return ((Value) m).getColumn(); } else { return null; } | private static final Column getColumn(Property p) { Root root = SessionManager.getSession().getMetadataRoot().getRoot(); ObjectMap om = root.getObjectMap (root.getObjectType(p.getContainer().getQualifiedName())); Mapping m = om.getMapping(Path.get(p.getName())); if (m instanceof Value) { return ((Value) m).... | 12196 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12196/cb1364ac6f640a6ad163932b5427367d994b50b6/DataObjectManipulator.java/clean/archive/packaging/test/src/com/arsdigita/persistence/DataObjectManipulator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
727,
4753,
6716,
12,
1396,
293,
13,
288,
202,
2375,
1365,
273,
3877,
1318,
18,
588,
2157,
7675,
588,
2277,
2375,
7675,
588,
2375,
5621,
202,
921,
863,
8068,
273,
1365,
18,
58... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
760,
727,
4753,
6716,
12,
1396,
293,
13,
288,
202,
2375,
1365,
273,
3877,
1318,
18,
588,
2157,
7675,
588,
2277,
2375,
7675,
588,
2375,
5621,
202,
921,
863,
8068,
273,
1365,
18,
58... |
int dummy = 0; | protected void setHandlersAndRoles(RuntimeEndpointInfo rei, XMLStreamReader reader) { // first check for handler-chain element if (XMLStreamReaderUtil.nextElementContent(reader) == XMLStreamConstants.END_ELEMENT || !reader.getName().equals(QNAME_HANDLER_CHAIN)) { ... | 9667 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9667/4377e5be970fb72891008aaf0b1420e53a6e777e/JAXRPCRuntimeInfoParser.java/buggy/jaxws-ri/rt/src/com/sun/xml/ws/transport/http/servlet/JAXRPCRuntimeInfoParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
444,
6919,
1876,
6898,
12,
5576,
3293,
966,
283,
77,
16,
3639,
15595,
2514,
2949,
13,
288,
3639,
368,
1122,
866,
364,
1838,
17,
5639,
930,
3639,
309,
261,
4201,
31495,
1304,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
444,
6919,
1876,
6898,
12,
5576,
3293,
966,
283,
77,
16,
3639,
15595,
2514,
2949,
13,
288,
3639,
368,
1122,
866,
364,
1838,
17,
5639,
930,
3639,
309,
261,
4201,
31495,
1304,
... | |
return typeName; | return typeName.toString(); | private String genAnonTypeName(Element complexTypeDecl) { // Generate a unique name for the anonymous type by concatenating together the // names of parent nodes // The name is quite good for debugging/error purposes, but we may want to // revisit how this is done for performance reasons... | 1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/a65c217949d360eeb058e5050dec507f86d8d487/XSDComplexTypeTraverser.java/buggy/src/org/apache/xerces/impl/xs/traversers/XSDComplexTypeTraverser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
514,
3157,
979,
265,
7947,
12,
1046,
7233,
559,
3456,
13,
288,
3639,
368,
6654,
279,
3089,
508,
364,
326,
13236,
618,
635,
8311,
1776,
9475,
326,
3639,
368,
1257,
434,
982,
2199,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
514,
3157,
979,
265,
7947,
12,
1046,
7233,
559,
3456,
13,
288,
3639,
368,
6654,
279,
3089,
508,
364,
326,
13236,
618,
635,
8311,
1776,
9475,
326,
3639,
368,
1257,
434,
982,
2199,
... |
return ProgressManager.getInstance().errorManager; } | return ProgressManager.getInstance().errorManager; } | private ErrorNotificationManager getManager() { return ProgressManager.getInstance().errorManager; } | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/3a0562fdabac5839be163527744a56eaeeb31ec5/JobErrorDialog.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/JobErrorDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1068,
4386,
1318,
14154,
1435,
288,
3639,
327,
10980,
1318,
18,
588,
1442,
7675,
1636,
1318,
31,
565,
289,
2,
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,
3238,
1068,
4386,
1318,
14154,
1435,
288,
3639,
327,
10980,
1318,
18,
588,
1442,
7675,
1636,
1318,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
HashMap paramBindingCandidates = new HashMap( ); Iterator elmtIter = modelDataSet.parametersIterator( ); if ( elmtIter != null ) { while ( elmtIter.hasNext( ) ) { DataSetParameterHandle modelParam = ( DataSetParameterHandle ) elmtIter .next( ); dteDataSet.addParameter( new ParameterAdapter( modelParam ) ); if ( m... | public static void adaptBaseDataSet( DataSetHandle modelDataSet, BaseDataSetDesign dteDataSet ) throws BirtException { if ( ( !( modelDataSet instanceof JointDataSetHandle ) ) && modelDataSet.getDataSource( ) == null ) { throw new AdapterException( ResourceConstants.DATASOURCE_NULL_ERROR ); } if ( !( mode... | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/ee2ff427f987c42816a9d91d4e0166ee88c0ff0e/DataAdapterUtil.java/clean/data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/internal/adapter/DataAdapterUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
5855,
2171,
13676,
12,
14065,
3259,
938,
13676,
16,
1082,
202,
2171,
13676,
15478,
302,
736,
13676,
262,
1216,
605,
2714,
503,
202,
95,
202,
202,
430,
261,
261,
401,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5855,
2171,
13676,
12,
14065,
3259,
938,
13676,
16,
1082,
202,
2171,
13676,
15478,
302,
736,
13676,
262,
1216,
605,
2714,
503,
202,
95,
202,
202,
430,
261,
261,
401,
... | |
String[] keywords) throws UnsupportedOperationException { return null; } | String[] keywords) throws UnsupportedOperationException { return null; } | public QueryResultSet findByText(Date startDate, Date endDate, String[] keywords) throws UnsupportedOperationException { return null;// return this.historyReader.findByText(startDate, endDate, keywords); } | 43455 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/43455/dd511f0f97892bf31dc2a7a1989480bf6b6b5308/MessageHistoryServiceImpl.java/buggy/src/net/java/sip/communicator/impl/msghistory/MessageHistoryServiceImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2770,
13198,
6224,
1528,
12,
1626,
12572,
16,
2167,
13202,
16,
1082,
202,
780,
8526,
7093,
13,
1216,
13172,
288,
202,
202,
2463,
446,
31,
759,
202,
202,
2463,
333,
18,
8189,
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,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2770,
13198,
6224,
1528,
12,
1626,
12572,
16,
2167,
13202,
16,
1082,
202,
780,
8526,
7093,
13,
1216,
13172,
288,
202,
202,
2463,
446,
31,
759,
202,
202,
2463,
333,
18,
8189,
2... |
default_templates = getDefaultTemplateOptionList(imcserver, user, temp_default_templates, meta_id, lang_prefix, true ); ftr.add("#default_templates#");ftr.add(default_templates); | String[] current_permissions = IMCServiceRMI.sqlProcedure(imcserver, "GetUserPermissionSet "+meta_id+", "+user.getInt("user_id")) ; int user_set_id = Integer.parseInt(current_permissions[0]) ; int currentdoc_perms = Integer.parseInt(current_permissions[2]) ; | static public void getRolesFromDb( String meta_id, User user, String host, Vector vec ) throws IOException { final String imcserver = Utility.getDomainPref("adminserver",host) ; // Lets get the langprefix final String lang_prefix = IMCServiceRMI.sqlQueryStr(imcserver, "select lang_prefix from lang_prefixes where la... | 8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/a591f63fbb91a4626a469c31cba230ca018b8c4e/MetaDataParser.java/buggy/server/src/imcode/util/MetaDataParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
3845,
1071,
918,
21787,
1265,
4331,
12,
514,
2191,
67,
350,
16,
2177,
729,
16,
514,
1479,
16,
5589,
7062,
202,
13,
1216,
1860,
202,
95,
202,
202,
6385,
514,
709,
71,
3567,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
3845,
1071,
918,
21787,
1265,
4331,
12,
514,
2191,
67,
350,
16,
2177,
729,
16,
514,
1479,
16,
5589,
7062,
202,
13,
1216,
1860,
202,
95,
202,
202,
6385,
514,
709,
71,
3567,
273,
1... |
} | } | public JobErrorDialog(Shell parentShell, String title, String msg, ErrorInfo errorInfo, int displayMask) { super(parentShell, title == null ? errorInfo.getJob().getName() : title, msg, errorInfo.getErrorStatus(), displayMask); setShellStyle(SWT.DIALOG_TRIM | SWT.MODELESS | SWT.RESIZE |SWT.MIN | getDef... | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/c0c37a41b014b226a67487a6b458de03b8825f9f/JobErrorDialog.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/JobErrorDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3956,
668,
6353,
12,
13220,
982,
13220,
16,
514,
2077,
16,
514,
1234,
16,
1068,
966,
23280,
16,
509,
2562,
5796,
13,
288,
3639,
2240,
12,
2938,
13220,
16,
2077,
422,
446,
692,
232... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3956,
668,
6353,
12,
13220,
982,
13220,
16,
514,
2077,
16,
514,
1234,
16,
1068,
966,
23280,
16,
509,
2562,
5796,
13,
288,
3639,
2240,
12,
2938,
13220,
16,
2077,
422,
446,
692,
232... |
yaccValue = getInteger(tokenBuffer.toString(), 8); | yaccValue = new Token(getInteger(tokenBuffer.toString(), 8), getPosition(null, false)); | private int parseNumber(char c) { lex_state = LexState.EXPR_END; tokenBuffer.setLength(0); if (c == '-') { tokenBuffer.append(c); c = src.read(); } else if (c == '+') { // We don't append '+' since Java number parser gets confused c = src.read(); ... | 48300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48300/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/buggy/src/org/jruby/lexer/yacc/RubyYaccLexer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
1109,
1854,
12,
3001,
276,
13,
288,
3639,
5275,
67,
2019,
273,
15123,
1119,
18,
2294,
8025,
67,
4415,
31,
3639,
1147,
1892,
18,
542,
1782,
12,
20,
1769,
3639,
309,
261,
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,
3238,
509,
1109,
1854,
12,
3001,
276,
13,
288,
3639,
5275,
67,
2019,
273,
15123,
1119,
18,
2294,
8025,
67,
4415,
31,
3639,
1147,
1892,
18,
542,
1782,
12,
20,
1769,
3639,
309,
261,
71,
... |
if (ENABLE_EARLY_BINDING) { Class rc = rightExpression.getTypeClass(); if (rc != null && rc.isArray()) { Class elemType = rc.getComponentType(); if (elemType.isPrimitive()) { visitClassExpression(new ClassExpression(elemType)); convertPrimitiveArray.call(cv); cast(loadClass(BytecodeHelper.formatNameForClassLoading(el... | protected void evaluateEqual(BinaryExpression expression) { if (ENABLE_EARLY_BINDING) { expression.resolve(this); if (expression.isTypeResolved()) { if (expression.getRightExpression().getTypeClass() == Void.TYPE) { throwException("void value appeared o... | 6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/0e621fdecf3e8ab9db2fe9eea10bae5d2dc4b695/AsmClassGenerator.java/buggy/src/main/org/codehaus/groovy/classgen/AsmClassGenerator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
5956,
5812,
12,
5905,
2300,
2652,
13,
288,
3639,
309,
261,
29377,
67,
9250,
7076,
67,
2739,
13,
288,
5411,
2652,
18,
10828,
12,
2211,
1769,
5411,
309,
261,
8692,
18,
291,
559... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5956,
5812,
12,
5905,
2300,
2652,
13,
288,
3639,
309,
261,
29377,
67,
9250,
7076,
67,
2739,
13,
288,
5411,
2652,
18,
10828,
12,
2211,
1769,
5411,
309,
261,
8692,
18,
291,
559... | |
protected java.sql.ResultSet getImportedExportedKeys(String catalog, String schema, String primaryTable, String foreignTable) throws SQLException { Field f[] = new Field[14]; f[0] = new Field(connection, "PKTABLE_CAT", iVarcharOid, NAME_SIZE); f[1] = new Field(connection, "PKTABLE_SCHEM", iVarcharOid, NAME_SIZE); ... | 46409 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46409/7c553901d7ab010ad1cb5bf44f9ca2fdae83909a/AbstractJdbc1DatabaseMetaData.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
6290,
18,
4669,
18,
13198,
588,
24934,
31140,
2396,
12,
780,
7199,
16,
780,
4821,
16,
780,
8258,
1388,
16,
780,
12774,
1388,
13,
15069,
23116,
202,
95,
202,
202,
974,
74,
852... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6290,
18,
4669,
18,
13198,
588,
24934,
31140,
2396,
12,
780,
7199,
16,
780,
4821,
16,
780,
8258,
1388,
16,
780,
12774,
1388,
13,
15069,
23116,
202,
95,
202,
202,
974,
74,
852... | ||
if (_tunnelCount != null) { config.setProperty("option.inbound.quantity", _tunnelCount); config.setProperty("option.outbound.quantity", _tunnelCount); | if (_tunnelQuantity != null) { config.setProperty("option.inbound.quantity", _tunnelQuantity); config.setProperty("option.outbound.quantity", _tunnelQuantity); | private void updateConfigGeneric(Properties config) { config.setProperty("type", _type); if (_name != null) config.setProperty("name", _name); if (_description != null) config.setProperty("description", _description); if (_i2cpHost != null) config.setProp... | 3808 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3808/b222cd43f4571f4e4923e1cf9516f44a31b57aab/IndexBean.java/buggy/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/web/IndexBean.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1089,
809,
7014,
12,
2297,
642,
13,
288,
3639,
642,
18,
542,
1396,
2932,
723,
3113,
389,
723,
1769,
3639,
309,
261,
67,
529,
480,
446,
13,
5411,
642,
18,
542,
1396,
2932,
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,
3238,
918,
1089,
809,
7014,
12,
2297,
642,
13,
288,
3639,
642,
18,
542,
1396,
2932,
723,
3113,
389,
723,
1769,
3639,
309,
261,
67,
529,
480,
446,
13,
5411,
642,
18,
542,
1396,
2932,
5... |
db.set_h_ffactor(args.ffactor); | db.setHashFillFactor(args.ffactor); | public void set_h_ffactor(DbDispatcher server, __db_h_ffactor_msg args, __db_h_ffactor_reply reply) { try { db.set_h_ffactor(args.ffactor); reply.status = 0; } catch(DbException e) { e.printStackTrace(DbServer.err); reply.status = e.get_errno(); } } | 9203 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9203/1765c2598bb92e59ff55807fab4076d1b5d838f2/RpcDb.java/buggy/db/rpc_server/java/RpcDb.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
225,
918,
444,
67,
76,
67,
74,
6812,
12,
4331,
6681,
1438,
16,
202,
202,
972,
1966,
67,
76,
67,
74,
6812,
67,
3576,
833,
16,
1001,
1966,
67,
76,
67,
74,
6812,
67,
10629,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
225,
918,
444,
67,
76,
67,
74,
6812,
12,
4331,
6681,
1438,
16,
202,
202,
972,
1966,
67,
76,
67,
74,
6812,
67,
3576,
833,
16,
1001,
1966,
67,
76,
67,
74,
6812,
67,
10629,
... |
public static ClientKey getBaseKey(FreenetURI origURI) { return null; | public static ClientKey getBaseKey(FreenetURI origURI) throws MalformedURLException { if(origURI.getKeyType().equals("CHK")) return new ClientCHK(origURI); throw new UnsupportedOperationException(); | public static ClientKey getBaseKey(FreenetURI origURI) { // TODO Auto-generated method stub return null; } | 51834 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51834/8d002621bf8fa6f968dadbeff67dc57cea479e65/ClientKey.java/buggy/src/freenet/keys/ClientKey.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
2445,
653,
8297,
653,
12,
42,
2842,
278,
3098,
1647,
3098,
13,
288,
202,
202,
759,
2660,
8064,
17,
11168,
707,
7168,
202,
202,
2463,
446,
31,
202,
97,
2,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
2445,
653,
8297,
653,
12,
42,
2842,
278,
3098,
1647,
3098,
13,
288,
202,
202,
759,
2660,
8064,
17,
11168,
707,
7168,
202,
202,
2463,
446,
31,
202,
97,
2,
-100,
-100,
-1... |
public ListaObjetoBean dameCursosCumplan(ObjetoBean curso,ObjetoBean aula,ObjetoBean horario ){ try{ //primera hacemos una consulta para ver los cursos que cumplen los criterios del bean curso ObjetoBBDD iscurso= ConversorBeanBBDD.convierteBeanABBDD(curso); ObjetoCriterio critCurso = this.crearObjetoCriterioAde... | 55528 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55528/2c1a036540e065020fa7098b6791c6ed0af491d9/BBDDFachada.java/buggy/virtuaula/src/subSistemaBBDD/BBDDFachada.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
682,
69,
2675,
11453,
1919,
464,
339,
2408,
87,
538,
39,
379,
7088,
12,
2675,
11453,
3381,
1397,
2048,
16,
2675,
11453,
3381,
69,
5552,
16,
2675,
11453,
3381,
76,
280,
25124,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
682,
69,
2675,
11453,
1919,
464,
339,
2408,
87,
538,
39,
379,
7088,
12,
2675,
11453,
3381,
1397,
2048,
16,
2675,
11453,
3381,
69,
5552,
16,
2675,
11453,
3381,
76,
280,
25124,
... | ||
public AbstractFormatterFactory getFormatterFactory () | public AbstractFormatterFactory getFormatterFactory() | public AbstractFormatterFactory getFormatterFactory () { return formatterFactory; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JFormattedTextField.java/buggy/core/src/classpath/javax/javax/swing/JFormattedTextField.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
4115,
5074,
1733,
25127,
1733,
1435,
225,
288,
565,
327,
4453,
1733,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
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,
4115,
5074,
1733,
25127,
1733,
1435,
225,
288,
565,
327,
4453,
1733,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
bookmarkList.addChild("li").addChild("a", "href", "/" + b.getKey(), b.getDesc()); | bookmarkList.addChild("li").addChild("a", "href", '/' + b.getKey(), b.getDesc()); | public void handleGet(URI uri, ToadletContext ctx) throws ToadletContextClosedException, IOException { boolean advancedDarknetOutputEnabled = core.getToadletContainer().isAdvancedDarknetEnabled(); HTTPRequest request = new HTTPRequest(uri); if (request.getParam("newbookmark").length() > 0) { HTMLNode pageNode =... | 51834 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51834/62fd59041864b4ed1f43adc676de6bfb5ea977f3/WelcomeToadlet.java/clean/src/freenet/clients/http/WelcomeToadlet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1640,
967,
12,
3098,
2003,
16,
2974,
361,
1810,
1042,
1103,
13,
1216,
2974,
361,
1810,
1042,
7395,
503,
16,
1860,
288,
202,
202,
6494,
16111,
40,
1313,
2758,
1447,
1526,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1640,
967,
12,
3098,
2003,
16,
2974,
361,
1810,
1042,
1103,
13,
1216,
2974,
361,
1810,
1042,
7395,
503,
16,
1860,
288,
202,
202,
6494,
16111,
40,
1313,
2758,
1447,
1526,
... |
sn = (SimpleNode)parser.parse(new StringReader(expr)); | sn = parser.parse(new StringReader(expr)); | public static void main(String[] args) throws IOException { List expressions = generateTestCases(); FileWriter fw = new FileWriter( "c:\\Program files\\eclipse\\workspace\\contractTaglets\\expr.html"); fw.write("<html>"); fw.write("\n<style type='text/css'>"); fw.write("\n.contract_contractK... | 14797 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14797/a7568eedab2e778695ffa0ce0ee31759b0d5cc5f/_Test_JexlExpression.java/buggy/contractTaglets/src/test/be/peopleware/taglet/_Test_JexlExpression.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
1216,
1860,
288,
3639,
987,
8041,
273,
2103,
4709,
30744,
5621,
3639,
24639,
7600,
273,
394,
24639,
12,
565,
315,
71,
31027,
9459,
1390,
1695... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2774,
12,
780,
8526,
833,
13,
1216,
1860,
288,
3639,
987,
8041,
273,
2103,
4709,
30744,
5621,
3639,
24639,
7600,
273,
394,
24639,
12,
565,
315,
71,
31027,
9459,
1390,
1695... |
boolean ret = false; | private boolean doSingleUpload(Uploader uploader, Socket socket, String host, int index) throws IOException { long startTime=-1; debug(uploader+ " starting single upload"); // note if this is a Browse Host Upload... boolean isBHUploader=(uploader.getSta... | 5134 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5134/79ca939dc72c6841572968a8a8c3639144e78318/UploadManager.java/clean/components/gnutella-core/src/main/java/com/limegroup/gnutella/UploadManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
741,
5281,
4777,
12,
28161,
25062,
16,
8758,
2987,
16,
4766,
565,
514,
1479,
16,
509,
770,
13,
1216,
1860,
288,
3639,
1525,
8657,
29711,
21,
31,
3639,
1198,
12,
6327,
264,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
741,
5281,
4777,
12,
28161,
25062,
16,
8758,
2987,
16,
4766,
565,
514,
1479,
16,
509,
770,
13,
1216,
1860,
288,
3639,
1525,
8657,
29711,
21,
31,
3639,
1198,
12,
6327,
264,
1... | |
for( int i = 0; i < 256; i++ ) | for( int i = 0; i < 256; i++ ) { | private void initBlock() { // blockNo++; mCrc.initialiseCRC(); last = -1; // ch = 0; for( int i = 0; i < 256; i++ ) inUse[ i ] = false; /* * 20 is just a paranoia constant */ allowableBlockSize = BASE_BLOCK_SIZE * blockSize... | 17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/b95d90a13da3fb8d362982bc84652f1e03e8325e/CBZip2OutputStream.java/clean/proposal/myrmidon/src/java/org/apache/aut/bzip2/CBZip2OutputStream.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1208,
1768,
1435,
565,
288,
3639,
368,
3639,
1203,
2279,
9904,
31,
3639,
312,
39,
1310,
18,
6769,
784,
26803,
5621,
3639,
1142,
273,
300,
21,
31,
3639,
368,
3639,
462,
273,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1768,
1435,
565,
288,
3639,
368,
3639,
1203,
2279,
9904,
31,
3639,
312,
39,
1310,
18,
6769,
784,
26803,
5621,
3639,
1142,
273,
300,
21,
31,
3639,
368,
3639,
462,
273,
3... |
final ErrorInfo errorInfo = new ErrorInfo(prop == null ? null : prop.getName(), errorMessage, | final ErrorInfo errorInfo = new ErrorInfo(myComponent, prop == null ? null : prop.getName(), errorMessage, | public void addError(final String inspectionId, @Nullable IProperty prop, @NotNull String errorMessage, @Nullable EditorQuickFixProvider editorQuickFixProvider) { if (myResults == null) { myResults = new ArrayList<ErrorInfo>(); } QuickFix... | 56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/6a384c23ca74b732817b78c9169186710a7d1d75/FormEditorErrorCollector.java/buggy/ui-designer/impl/com/intellij/uiDesigner/inspections/FormEditorErrorCollector.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
9501,
12,
6385,
514,
2763,
7017,
548,
16,
15604,
632,
13349,
467,
1396,
2270,
16,
15604,
632,
5962,
514,
9324,
16,
15604,
632,
13349,
18451,
13663,
8585,
2249,
4858,
13663,
8585,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9501,
12,
6385,
514,
2763,
7017,
548,
16,
15604,
632,
13349,
467,
1396,
2270,
16,
15604,
632,
5962,
514,
9324,
16,
15604,
632,
13349,
18451,
13663,
8585,
2249,
4858,
13663,
8585,... |
bind(parameterIndex, "'" + x.toString() + "'", PG_NUMERIC); | bind(parameterIndex, x.toString(), PG_NUMERIC); | public void setBigDecimal(int parameterIndex, BigDecimal x) throws SQLException { if (x == null) setNull(parameterIndex, Types.OTHER); else { //Note this should be fixed //as soon as the backend correctly supports int8 type //comparisons bind(parameterIndex, "'" + x.toString() + "'", PG_NUMERIC); } } | 52628 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52628/ba7c2d2b00566dd943a2eb40b6a68faba7d3662d/AbstractJdbc1Statement.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
29436,
12,
474,
25412,
16,
8150,
619,
13,
1216,
6483,
202,
95,
202,
202,
430,
261,
92,
422,
446,
13,
1082,
202,
542,
2041,
12,
6775,
1016,
16,
7658,
18,
23940,
176... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
29436,
12,
474,
25412,
16,
8150,
619,
13,
1216,
6483,
202,
95,
202,
202,
430,
261,
92,
422,
446,
13,
1082,
202,
542,
2041,
12,
6775,
1016,
16,
7658,
18,
23940,
176... |
super.init(site, memento); if (memento == null) this.memento = XMLMemento.createWriteRoot("LOGVIEW"); else this.memento = memento; initializeMemento(); } | super.init(site, memento); if (memento == null) this.memento = XMLMemento.createWriteRoot("LOGVIEW"); else this.memento = memento; initializeMemento(); } | public void init(IViewSite site, IMemento memento) throws PartInitException { super.init(site, memento); if (memento == null) this.memento = XMLMemento.createWriteRoot("LOGVIEW"); //$NON-NLS-1$ else this.memento = memento; initializeMemento(); } | 8783 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8783/41ac366d1ca0139d2f29944bdb1d85249adfff32/LogView.java/clean/ui/org.eclipse.pde.runtime/src/org/eclipse/pde/internal/runtime/logview/LogView.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1208,
12,
45,
1767,
4956,
2834,
16,
6246,
820,
83,
312,
820,
83,
13,
1216,
6393,
2570,
503,
288,
202,
202,
9565,
18,
2738,
12,
4256,
16,
312,
820,
83,
1769,
202,
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,
482,
918,
1208,
12,
45,
1767,
4956,
2834,
16,
6246,
820,
83,
312,
820,
83,
13,
1216,
6393,
2570,
503,
288,
202,
202,
9565,
18,
2738,
12,
4256,
16,
312,
820,
83,
1769,
202,
202,
... |
assertEquals(180,activities.size()); | assertEquals(177,activities.size()); | public void testUpdateAddingActivities() throws Exception{ RolesPermissionsPersistence RolesPermissionsPersistence = new RolesPermissionsPersistence(); List<ActivityEntity> activities = RolesPermissionsPersistence.getActivities(); assertEquals(180,activities.size()); ActivityEntity activity_1=activities.get(0); a... | 45468 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45468/7695bb2c99774a79c149907e421311a9580f475b/TestRoleBO.java/clean/mifos/test/org/mifos/application/rolesandpermission/business/TestRoleBO.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
1891,
13962,
21101,
1435,
1216,
1185,
95,
202,
202,
6898,
6521,
13182,
19576,
6521,
13182,
273,
394,
19576,
6521,
13182,
5621,
202,
202,
682,
32,
6193,
1943,
34,
17259,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1891,
13962,
21101,
1435,
1216,
1185,
95,
202,
202,
6898,
6521,
13182,
19576,
6521,
13182,
273,
394,
19576,
6521,
13182,
5621,
202,
202,
682,
32,
6193,
1943,
34,
17259,... |
throws Throwable { Class returnType = invocation.invokedMethod.getReturnType(); | throws Throwable { Class returnType = invocation.invokedMethod.getReturnType(); | public Object invoke( Invocation invocation ) throws Throwable { Class returnType = invocation.invokedMethod.getReturnType(); if (resultValuesByType.containsKey(returnType)) { return resultValuesByType.get(returnType); } else if (returnType.isArray()) { return Array.newInstance(returnType.getComponentTy... | 54028 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54028/c26c57f3ac4851e6bc9c5df8515ac73f4045eebf/DefaultResultStub.java/clean/jmock/core/src/org/jmock/core/stub/DefaultResultStub.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
4356,
12,
11298,
9495,
262,
202,
3639,
1216,
4206,
288,
202,
202,
797,
9424,
273,
9495,
18,
5768,
14276,
1305,
18,
588,
9102,
5621,
202,
202,
430,
261,
2088,
1972,
14145,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1033,
4356,
12,
11298,
9495,
262,
202,
3639,
1216,
4206,
288,
202,
202,
797,
9424,
273,
9495,
18,
5768,
14276,
1305,
18,
588,
9102,
5621,
202,
202,
430,
261,
2088,
1972,
14145,
... |
if (checkIfUnicode) { isWhiteSpace = jumpOverUnicodeWhiteSpace(); offset = 6; } else { offset = 1; if ((this.currentCharacter == '\r') || (this.currentCharacter == '\n')) { if (this.recordLineSeparator) { pushLineSeparator(); } } isWhiteSpace = (this.currentCharacter == ' ') || CharOperation.isWhitespace(this.currentC... | break; case TokenNameLPAREN : case TokenNameLBRACE : if (this.currentToken == TokenNameIdentifier) { this.removePotentialNamesAt(this.currentTokenStart); | public int getNextToken() throws InvalidInputException { this.wasAcr = false; this.unicodeCharSize = 0; if (this.diet) { jumpOverMethodBody(); this.diet = false; return this.currentPosition > this.source.length ? TokenNameEOF : TokenNameRBRACE; } int whiteStart = 0; try { while (true) { //loop for jumping over comm... | 10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/a49b0379fae683770f815e7e32d76b4ebea892ec/CompletionScanner.java/clean/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionScanner.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
509,
22616,
1435,
1216,
31989,
288,
202,
2211,
18,
17416,
37,
3353,
273,
629,
31,
202,
2211,
18,
9124,
2156,
1225,
273,
374,
31,
202,
430,
261,
2211,
18,
3211,
278,
13,
288,
202,
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,
1071,
509,
22616,
1435,
1216,
31989,
288,
202,
2211,
18,
17416,
37,
3353,
273,
629,
31,
202,
2211,
18,
9124,
2156,
1225,
273,
374,
31,
202,
430,
261,
2211,
18,
3211,
278,
13,
288,
202,
202,
... |
return super.methodArity(methodId); | return super.methodArity(f); | public int methodArity(int methodId) { if (prototypeFlag) { if (methodId == Id_constructor) return 1; if (methodId == Id_toString) return 0; if (methodId == Id_toSource) return 0; if (methodId == Id_valueOf) return 0; } return super.methodArity(method... | 12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/4ab02a82029cd37abeb37ef8a90e5c06586ae4f3/NativeBoolean.java/clean/js/rhino/src/org/mozilla/javascript/NativeBoolean.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
707,
686,
560,
12,
474,
707,
548,
13,
288,
3639,
309,
261,
18541,
4678,
13,
288,
5411,
309,
261,
2039,
548,
422,
3124,
67,
12316,
13,
327,
404,
31,
5411,
309,
261,
2039,
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,
509,
707,
686,
560,
12,
474,
707,
548,
13,
288,
3639,
309,
261,
18541,
4678,
13,
288,
5411,
309,
261,
2039,
548,
422,
3124,
67,
12316,
13,
327,
404,
31,
5411,
309,
261,
2039,
54... |
public BooleanWeight(Searcher searcher) { this.searcher = searcher; for (int i = 0 ; i < clauses.size(); i++) { BooleanClause c = (BooleanClause)clauses.elementAt(i); weights.add(c.getQuery().createWeight(searcher)); } //System.out.println("Creating " + getClass().getName()); } | 50125 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50125/e4bd7151061f409e2881de2fd0cde649af13e7c5/BooleanQuery.java/clean/src/java/org/apache/lucene/search/BooleanQuery.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
5507,
6544,
12,
2979,
264,
3072,
264,
15329,
2211,
18,
3072,
264,
33,
3072,
264,
31,
1884,
12,
474,
77,
33,
20,
31,
77,
32,
830,
9608,
18,
1467,
5621,
77,
27245,
95,
5507,
7044,
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,
1071,
5507,
6544,
12,
2979,
264,
3072,
264,
15329,
2211,
18,
3072,
264,
33,
3072,
264,
31,
1884,
12,
474,
77,
33,
20,
31,
77,
32,
830,
9608,
18,
1467,
5621,
77,
27245,
95,
5507,
7044,
71,
... | ||
Query restrictingQuery = new TermQuery( new Term( DocumentIndex.FIELD__CREATOR_ID, loggedOnUser.getId()+"" ) ); | Query restrictingQuery = new TermQuery( new Term( DocumentIndex.FIELD__CREATOR_ID, loggedOnUser.getId() + "" ) ); | public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { ImcmsServices service = Imcms.getServices(); UserDomainObject loggedOnUser = Utility.getLoggedOnUser(req); String whichButton = req.getParameter("AdminTask"); if ( null !... | 8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/15d70408e151e5aaa1d66d5d73056b4a9e757ed4/AdminManager.java/clean/server/src/com/imcode/imcms/servlet/superadmin/AdminManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
741,
3349,
12,
2940,
18572,
1111,
16,
12446,
400,
13,
5411,
1216,
16517,
16,
1860,
288,
3639,
2221,
6851,
5676,
1156,
273,
2221,
6851,
18,
588,
5676,
5621,
3639,
2177,
3748,
92... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
741,
3349,
12,
2940,
18572,
1111,
16,
12446,
400,
13,
5411,
1216,
16517,
16,
1860,
288,
3639,
2221,
6851,
5676,
1156,
273,
2221,
6851,
18,
588,
5676,
5621,
3639,
2177,
3748,
92... |
if (jj_3_47()) { | if (jj_3_49()) { | final private boolean jj_3R_41() { Token xsp; xsp = jj_scanpos; if (jj_3_47()) { jj_scanpos = xsp; if (jj_3_48()) { jj_scanpos = xsp; if (jj_3_49()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } e... | 47007 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47007/febc6aa07cc9db7fe8accccebc781a6bba1e9a18/SoarParser.java/clean/OldSoar/trunk/visualsoar/Source/edu/umich/visualsoar/parser/SoarParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
3238,
1250,
10684,
67,
23,
54,
67,
9803,
1435,
288,
565,
3155,
619,
1752,
31,
565,
619,
1752,
273,
10684,
67,
9871,
917,
31,
565,
309,
261,
78,
78,
67,
23,
67,
7616,
10756,
288,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
3238,
1250,
10684,
67,
23,
54,
67,
9803,
1435,
288,
565,
3155,
619,
1752,
31,
565,
619,
1752,
273,
10684,
67,
9871,
917,
31,
565,
309,
261,
78,
78,
67,
23,
67,
7616,
10756,
288,
... |
fs = new SimpleFieldSet(lis, 4096, 128); | fs = new SimpleFieldSet(lis, 4096, 128, false); | public void realRun() throws IOException { InputStream is = handler.sock.getInputStream(); LineReadingInputStream lis = new LineReadingInputStream(is); boolean firstMessage = true; while(true) { SimpleFieldSet fs; // Read a message String messageType = lis.readLine(64, 64); if(messageType.equals("")) c... | 49933 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49933/2d2b5012400f5bab60d65d3d26d67efa9cf7d1d6/FCPConnectionInputHandler.java/clean/src/freenet/node/fcp/FCPConnectionInputHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
2863,
1997,
1435,
1216,
1860,
288,
202,
202,
4348,
353,
273,
1838,
18,
15031,
18,
588,
4348,
5621,
202,
202,
1670,
15714,
4348,
328,
291,
273,
394,
5377,
15714,
4348,
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,
225,
202,
482,
918,
2863,
1997,
1435,
1216,
1860,
288,
202,
202,
4348,
353,
273,
1838,
18,
15031,
18,
588,
4348,
5621,
202,
202,
1670,
15714,
4348,
328,
291,
273,
394,
5377,
15714,
4348,
12,
... |
public JointDataSet( String theName ) | public JointDataSet( ) | public JointDataSet( String theName ) { super( theName ); } | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/13807447c2b92e5c2c0d1067fa8f2de960030f4b/JointDataSet.java/buggy/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/elements/JointDataSet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
804,
763,
13676,
12,
514,
326,
461,
262,
202,
95,
202,
202,
9565,
12,
326,
461,
11272,
202,
97,
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,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
804,
763,
13676,
12,
514,
326,
461,
262,
202,
95,
202,
202,
9565,
12,
326,
461,
11272,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
public CmsFieldItem() { m_label = ""; m_isSelected = false; m_value = ""; } | 8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/41dcaa9d1a1b8f8fa6c1dd9a04fc8532eb83ebb7/CmsFieldItem.java/clean/src-modules/org/opencms/frontend/templateone/form/CmsFieldItem.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2149,
974,
1180,
1435,
288,
7734,
312,
67,
1925,
273,
1408,
31,
3639,
312,
67,
291,
7416,
273,
629,
31,
3639,
312,
67,
1132,
273,
1408,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2149,
974,
1180,
1435,
288,
7734,
312,
67,
1925,
273,
1408,
31,
3639,
312,
67,
291,
7416,
273,
629,
31,
3639,
312,
67,
1132,
273,
1408,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
... | ||
new String[] { cfg.className() }, | interfaces, | protected void emitAllFileHeaders() throws IOException { try { if (cfg.allStatic() || cfg.emitInterface()) { String[] interfaces; if (cfg.emitInterface()) { List userSpecifiedInterfaces = cfg.extendedInterfaces(cfg.className()); interfaces = new String[userSpecifiedInte... | 53985 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53985/0a7c6d77aab5b922f3225ed8ed6076f8ee984ab6/JavaEmitter.java/clean/src/net/java/games/gluegen/JavaEmitter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
3626,
1595,
812,
3121,
1435,
1216,
1860,
288,
3639,
775,
288,
1850,
309,
261,
7066,
18,
454,
5788,
1435,
747,
2776,
18,
18356,
1358,
10756,
288,
3639,
514,
8526,
7349,
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,
282,
4750,
918,
3626,
1595,
812,
3121,
1435,
1216,
1860,
288,
3639,
775,
288,
1850,
309,
261,
7066,
18,
454,
5788,
1435,
747,
2776,
18,
18356,
1358,
10756,
288,
3639,
514,
8526,
7349,
31,
3639... |
} | } | MarkerFilter[] getEnabledFilters(){ if(enabledFilters == null){ MarkerFilter[] allFilters = getFilters(); ArrayList filters = new ArrayList(0); for (int i = 0; i < allFilters.length; i++) { if(allFilters[i].isEnabled()) filters.add(allFilters[i]); } enabledFilters = new MarkerFilter[filters.siz... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/09a4c864bb83fb62a685d497a2df9ce5451376bd/MarkerView.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerView.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
7078,
1586,
8526,
336,
1526,
5422,
1435,
95,
9506,
202,
430,
12,
5745,
5422,
422,
446,
15329,
1082,
202,
7078,
1586,
8526,
777,
5422,
273,
25175,
5621,
1082,
202,
19558,
3415,
273,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7078,
1586,
8526,
336,
1526,
5422,
1435,
95,
9506,
202,
430,
12,
5745,
5422,
422,
446,
15329,
1082,
202,
7078,
1586,
8526,
777,
5422,
273,
25175,
5621,
1082,
202,
19558,
3415,
273,
3... |
String s = st.nextToken(); if (s.equals("/")) { obj[i] = null; } else { obj[i] = s; st.nextToken(); } log.debug("is: " + (String) obj[i]); } if (!st.hasMoreTokens()) { throw new BadResumptionTokenException(); } try { | private Object[] decodeResumptionToken(String token) throws BadResumptionTokenException { Object[] obj = new Object[5]; StringTokenizer st = new StringTokenizer(token, "/", true); // Extract from, until, set, prefix for (int i = 0; i < 4; i++) { if (!s... | 31338 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31338/ed96b43cce9bf9d55ba71b42e476a3d381bcda26/DSpaceOAICatalog.java/clean/dspace/src/org/dspace/app/oai/DSpaceOAICatalog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1033,
8526,
2495,
607,
379,
375,
1345,
12,
780,
1147,
13,
3639,
1216,
6107,
607,
379,
375,
1345,
503,
565,
288,
3639,
1033,
8526,
1081,
273,
394,
1033,
63,
25,
15533,
3639,
16370,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1033,
8526,
2495,
607,
379,
375,
1345,
12,
780,
1147,
13,
3639,
1216,
6107,
607,
379,
375,
1345,
503,
565,
288,
3639,
1033,
8526,
1081,
273,
394,
1033,
63,
25,
15533,
3639,
16370,
... | |
fDocumentHandler.characters(fString, null); | fDocumentHandler.characters(fStringBuffer, null); | protected boolean scanCDATASection(boolean complete) throws IOException, XNIException { // call handler if (fDocumentHandler != null) { fDocumentHandler.startCDATA(null); } while (true) { if (!fEntityScanner.scanData("]]", fString)) { ... | 4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/cdba1c2853ebaf1aa71a656c0afa1f677ba54204/XMLDocumentFragmentScannerImpl.java/buggy/src/org/apache/xerces/impl/XMLDocumentFragmentScannerImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
1250,
4135,
10160,
789,
3033,
794,
12,
6494,
3912,
13,
540,
1216,
1860,
16,
1139,
50,
45,
503,
288,
7734,
368,
745,
1838,
3639,
309,
261,
74,
2519,
1503,
480,
446,
13,
288,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
1250,
4135,
10160,
789,
3033,
794,
12,
6494,
3912,
13,
540,
1216,
1860,
16,
1139,
50,
45,
503,
288,
7734,
368,
745,
1838,
3639,
309,
261,
74,
2519,
1503,
480,
446,
13,
288,
5411,
... |
Edge<Object> e = g.addEdge(v1, v2); | DefaultEdge e = g.addEdge(v1, v2); | public void testGraphListener() { init(); ListenableGraph<Object,Edge<Object>> g = new ListenableUndirectedGraph<Object, Edge<Object>>(); GraphListener<Object, Edge<Object>> listener = new MyGraphListner(); g.addGraphListener(listener); String v1 = new String("v1"); Stri... | 4188 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4188/c3e5aa9fad3b9e0927939b2a916ae5049377758b/ListenableGraphTest.java/buggy/testsrc/org/jgrapht/graph/ListenableGraphTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
4137,
2223,
1435,
565,
288,
3639,
1208,
5621,
3639,
987,
7589,
4137,
32,
921,
16,
6098,
32,
921,
9778,
314,
273,
394,
987,
7589,
984,
26830,
4137,
32,
921,
16,
11342,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4137,
2223,
1435,
565,
288,
3639,
1208,
5621,
3639,
987,
7589,
4137,
32,
921,
16,
6098,
32,
921,
9778,
314,
273,
394,
987,
7589,
984,
26830,
4137,
32,
921,
16,
11342,
3... |
getEditor().doSave( null ); | getEditor( ).doSave( null ); | public boolean canLeaveThePage( ) { if ( isDirty( ) ) { MessageDialog prefDialog = new MessageDialog( UIUtil.getDefaultShell( ), Messages.getString( "XMLSourcePage.Error.Dialog.title" ),//$NON-NLS-1$ null, Messages.getString( "XMLSourcePage.Error.Dialog.Message.PromptMsg" ),//$NON-NLS-1$ MessageDia... | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/de51515e53777662a4fa3d863c7e053886a56bc6/ReportXMLSourceEditorFormPage.java/clean/UI/org.eclipse.birt.report.designer.ui.editors.schematic/src/org/eclipse/birt/report/designer/ui/editors/pages/ReportXMLSourceEditorFormPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
848,
21300,
1986,
1964,
12,
262,
202,
95,
202,
202,
430,
261,
25206,
12,
262,
262,
202,
202,
95,
1082,
202,
1079,
6353,
11307,
6353,
273,
394,
2350,
6353,
12,
6484,
1304... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
848,
21300,
1986,
1964,
12,
262,
202,
95,
202,
202,
430,
261,
25206,
12,
262,
262,
202,
202,
95,
1082,
202,
1079,
6353,
11307,
6353,
273,
394,
2350,
6353,
12,
6484,
1304... |
if(bindTo != get()) | if(!bindTo.equals(get())) | public void set(String bindTo) throws InvalidConfigValueException { if(bindTo != get()) throw new InvalidConfigValueException("Cannot change FProxy bind address on the fly"); } | 52909 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52909/344365449d05d9c31812fb984ef314991878f09a/SimpleToadletServer.java/buggy/src/freenet/clients/http/SimpleToadletServer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
444,
12,
780,
1993,
774,
13,
1216,
1962,
809,
9738,
288,
1082,
202,
430,
12,
4376,
774,
480,
336,
10756,
9506,
202,
12849,
394,
1962,
809,
9738,
2932,
4515,
2549,
478,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3196,
202,
482,
918,
444,
12,
780,
1993,
774,
13,
1216,
1962,
809,
9738,
288,
1082,
202,
430,
12,
4376,
774,
480,
336,
10756,
9506,
202,
12849,
394,
1962,
809,
9738,
2932,
4515,
2549,
478,
3... |
if (DEBUG_ELEMENT_CHILDREN) { System.out.println("charDataInContent()"); } if (fElementChildren.length <= fElementChildrenLength) { QName[] newarray = new QName[fElementChildren.length * 2]; System.arraycopy(fElementChildren, 0, newarray, 0, fElementChildren.length); fElementChildren = newarray; } QName qname = fElemen... | if (DEBUG_ELEMENT_CHILDREN) { System.out.println("charDataInContent()"); } if (fElementChildren.length <= fElementChildrenLength) { QName[] newarray = new QName[fElementChildren.length * 2]; System.arraycopy(fElementChildren, 0, newarray, 0, fElementChildren.length); fElementChildren = newarray; } QName qname = fElemen... | private void charDataInContent() { if (DEBUG_ELEMENT_CHILDREN) { System.out.println("charDataInContent()"); } if (fElementChildren.length <= fElementChildrenLength) { QName[] newarray = new QName[fElementChildren.length * 2]; System.arraycopy(fElementChildren, 0... | 6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/b36768aae85d6d13bc8c8289ca78efb212c8fb8f/XMLValidator.java/clean/src/org/apache/xerces/validators/common/XMLValidator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1149,
751,
382,
1350,
1435,
288,
3639,
309,
261,
9394,
67,
10976,
67,
27043,
24296,
13,
288,
5411,
2332,
18,
659,
18,
8222,
2932,
3001,
751,
382,
1350,
1435,
8863,
3639,
289,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1149,
751,
382,
1350,
1435,
288,
3639,
309,
261,
9394,
67,
10976,
67,
27043,
24296,
13,
288,
5411,
2332,
18,
659,
18,
8222,
2932,
3001,
751,
382,
1350,
1435,
8863,
3639,
289,
... |
return source.length == currentPosition; | return this.source.length == this.currentPosition; | public final boolean atEnd() { // This code is not relevant if source is // Only a part of the real stream input return source.length == currentPosition;} | 10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/bd0b42da240c9e3160dab0f23f741fededbd0813/Scanner.java/clean/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Scanner.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
225,
727,
1250,
622,
1638,
1435,
288,
202,
759,
1220,
981,
353,
486,
9368,
309,
1084,
353,
225,
202,
759,
5098,
279,
1087,
434,
326,
2863,
1407,
810,
202,
2463,
1084,
18,
2469,
422,
22... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
225,
727,
1250,
622,
1638,
1435,
288,
202,
759,
1220,
981,
353,
486,
9368,
309,
1084,
353,
225,
202,
759,
5098,
279,
1087,
434,
326,
2863,
1407,
810,
202,
2463,
1084,
18,
2469,
422,
22... |
throw new ProgrammingError(message); | throw new ProgrammingError(DETAIL); | protected FunctionRequest convertRequestImpl(HttpServletRequest httpRequest) throws InvalidRequestException, FunctionNotSpecifiedException { String contentType = httpRequest.getContentType(); if (!contentType.startsWith("text/xml;") && !contentType.endsWith("charset=UTF-8")) { throw new ... | 45757 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45757/2242683bb1a436b47d10c085f0ecdcc4307f35b1/XMLCallingConvention.java/clean/src/java-server-framework/org/xins/server/XMLCallingConvention.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
4750,
4284,
691,
1765,
691,
2828,
12,
2940,
18572,
12189,
13,
282,
1216,
22636,
16,
1850,
4284,
1248,
17068,
503,
288,
1377,
514,
5064,
273,
12189,
18,
588,
8046,
5621,
1377,
309,
16051,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4750,
4284,
691,
1765,
691,
2828,
12,
2940,
18572,
12189,
13,
282,
1216,
22636,
16,
1850,
4284,
1248,
17068,
503,
288,
1377,
514,
5064,
273,
12189,
18,
588,
8046,
5621,
1377,
309,
16051,
... |
public void run() { frame.status.progress(0); frame.status.setStatus(""); File files[] = new File(YAMM.home + "/servers/").listFiles(); for (int i = 0; i < files.length; i++) { /* load the config */ try { InputStream in = new FileInputStream(files[i]); props.load(in); in.close(); } catch (IOExceptio... | 3248 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3248/d34f0b921d886e2ea79ca1692b8cb4efbc3811c5/SHMail.java/buggy/SHMail.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
6459,
2681,
1435,
95,
202,
202,
3789,
18,
2327,
18,
8298,
12,
20,
1769,
202,
202,
3789,
18,
2327,
18,
542,
1482,
2932,
8863,
202,
202,
812,
2354,
8526,
33,
2704,
812,
12,
61... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6459,
2681,
1435,
95,
202,
202,
3789,
18,
2327,
18,
8298,
12,
20,
1769,
202,
202,
3789,
18,
2327,
18,
542,
1482,
2932,
8863,
202,
202,
812,
2354,
8526,
33,
2704,
812,
12,
61... | ||
this.portletMode = portletMode; String thismode = SportletProperties.PORTLET_MODE_JSR; req.setAttribute(thismode, portletMode); | req.setAttribute(SportletProperties.PORTLET_MODE, portletMode.toString()); | public void setPortletMode(PortletMode portletMode) throws PortletModeException { if (redirected) { throw new IllegalStateException("it is not allowed to invoke setPortletMode after sendRedirect has been called"); } //Portlet.Mode mode = Portlet.Mode.VIEW; List allo... | 49343 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49343/cfe877ddc52e22630ecb28267339cf855ef79387/ActionResponseImpl.java/clean/src/org/gridlab/gridsphere/portlet/jsrimpl/ActionResponseImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
18566,
2309,
12,
18566,
2309,
13114,
2309,
13,
5411,
1216,
21305,
2309,
503,
288,
3639,
309,
261,
7590,
329,
13,
288,
5411,
604,
394,
5477,
2932,
305,
353,
486,
2935,
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,
1071,
918,
444,
18566,
2309,
12,
18566,
2309,
13114,
2309,
13,
5411,
1216,
21305,
2309,
503,
288,
3639,
309,
261,
7590,
329,
13,
288,
5411,
604,
394,
5477,
2932,
305,
353,
486,
2935,
358,... |
int idx = key.indexOf(MULTI_LEVEL_CHAR); | int idx = key.lastIndexOf(MULTI_LEVEL_CHAR); | public String get(String key) { if(multiLevel) { int idx = key.indexOf(MULTI_LEVEL_CHAR); if(idx == -1) return (String) map.get(key); else { String before = key.substring(0, idx); String after = key.substring(idx+1); SimpleFieldSet fs = (SimpleFieldSet) (map.get(before)); ... | 50287 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50287/58d2b8bb1b32d43b8dd885e377df3db97de08f50/SimpleFieldSet.java/clean/src/freenet/support/SimpleFieldSet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
336,
12,
780,
498,
13,
288,
377,
202,
430,
12,
7027,
2355,
13,
288,
377,
202,
202,
474,
2067,
273,
498,
18,
2722,
31985,
12,
26588,
67,
10398,
67,
7305,
1769,
377,
202,
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,
1071,
514,
336,
12,
780,
498,
13,
288,
377,
202,
430,
12,
7027,
2355,
13,
288,
377,
202,
202,
474,
2067,
273,
498,
18,
2722,
31985,
12,
26588,
67,
10398,
67,
7305,
1769,
377,
202,
202... |
public static DateMidnight getFirstWeekOfYear(int year, int firstDay) | public static LocalDate getFirstWeekOfYear(int year, int firstDay) | public static DateMidnight getFirstWeekOfYear(int year, int firstDay) { DateMidnight yearStart = new DateMidnight(year, 1, 1); final int daysPerWeek = yearStart.dayOfWeek().getMaximumValue(); int diff = (yearStart.getDayOfWeek() + daysPerWeek - firstDay) % daysPerWeek; if (diff > (day... | 18469 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/18469/03bf0462052e16faf8bdc800ea80217bb2752cfb/CalendarUtils.java/buggy/src/java/com/atlassian/confluence/extra/calendar/CalendarUtils.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
15815,
7521,
6630,
19091,
12,
474,
3286,
16,
509,
1122,
4245,
13,
565,
288,
3639,
2167,
20711,
18840,
3286,
1685,
273,
394,
2167,
20711,
18840,
12,
6874,
16,
404,
16,
404,
1769... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15815,
7521,
6630,
19091,
12,
474,
3286,
16,
509,
1122,
4245,
13,
565,
288,
3639,
2167,
20711,
18840,
3286,
1685,
273,
394,
2167,
20711,
18840,
12,
6874,
16,
404,
16,
404,
1769... |
String ccsidMBCEncoding = currentStatement.ccsidMBCEncoding; if (length == 0) return null; byte [] byteStr = reader.readBytes(length); if (ccsidMBCEncoding != null) { try { strVal = new String(byteStr, 0, length, ccsidMBCEncoding); } catch (UnsupportedEncodingException e) { agentError("Unsupported encoding " + ccsidMB... | } else agentError("Attempt to decode mixed byte string without CCSID being set"); return strVal; } | private String parseCcsidMBC(int length) throws DRDAProtocolException { String strVal = null; DRDAStatement currentStatement; currentStatement = database.getCurrentStatement(); if (currentStatement == null) { currentStatement = database.getDefaultStatement(); currentStatement.initialize(); } String ccsidMB... | 56322 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56322/9ab36fe5be3632bbd1703a025618a585f0db4a57/DRDAConnThread.java/buggy/java/drda/org/apache/derby/impl/drda/DRDAConnThread.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
514,
1109,
39,
2143,
350,
7969,
39,
12,
474,
769,
13,
1216,
16801,
9793,
5752,
503,
202,
95,
202,
202,
780,
609,
3053,
273,
446,
31,
202,
202,
6331,
9793,
3406,
225,
783,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
514,
1109,
39,
2143,
350,
7969,
39,
12,
474,
769,
13,
1216,
16801,
9793,
5752,
503,
202,
95,
202,
202,
780,
609,
3053,
273,
446,
31,
202,
202,
6331,
9793,
3406,
225,
783,
3... |
public Map getAppContext() { | public Map getAppContext( ) { | public Map getAppContext() { return appContext; } | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/b900dee3dd264c71eb7ed27f88571d5b40a336c0/ExecutionContext.java/clean/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/ExecutionContext.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1635,
13697,
1042,
1435,
288,
202,
202,
2463,
595,
1042,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1635,
13697,
1042,
1435,
288,
202,
202,
2463,
595,
1042,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
return storage[0]; | return (Context)storage[0]; | public static Context getCurrentContext() { Context[] storage = getThreadContextStorage(); if (storage != null) { return storage[0]; } return getCurrentContext_jdk11(); } | 19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/2b0cb3267d6abd2ba6d59d1a21e8da9fd746d5bd/Context.java/clean/src/org/mozilla/javascript/Context.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1772,
5175,
1042,
1435,
565,
288,
3639,
1772,
8526,
2502,
273,
24459,
1042,
3245,
5621,
3639,
309,
261,
5697,
480,
446,
13,
288,
5411,
327,
261,
1042,
13,
5697,
63,
20,
15533,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1772,
5175,
1042,
1435,
565,
288,
3639,
1772,
8526,
2502,
273,
24459,
1042,
3245,
5621,
3639,
309,
261,
5697,
480,
446,
13,
288,
5411,
327,
261,
1042,
13,
5697,
63,
20,
15533,
... |
this.allowOverwrite = true; this.silentlyRename = false; | this.allowOverwrite = true; this.silentlyRename = false; | public void init(PortletConfig conf) throws PortletException { String value; super.init(conf); this.portletContext = conf.getPortletContext(); this.envPortletContext = new PortletContext(this.portletContext); this.portletContextPath = this.portletContext.getRealPath("/"); i... | 46428 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46428/68e85db773c775cc7468d1171c7a5179d754d3c6/ManagedCocoonPortlet.java/clean/src/blocks/portal/java/org/apache/cocoon/portlet/ManagedCocoonPortlet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1208,
12,
18566,
809,
2195,
13,
1216,
21305,
503,
288,
3639,
514,
460,
31,
3639,
2240,
18,
2738,
12,
3923,
1769,
3639,
333,
18,
655,
1810,
1042,
273,
2195,
18,
588,
18566,
10... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1208,
12,
18566,
809,
2195,
13,
1216,
21305,
503,
288,
3639,
514,
460,
31,
3639,
2240,
18,
2738,
12,
3923,
1769,
3639,
333,
18,
655,
1810,
1042,
273,
2195,
18,
588,
18566,
10... |
} | public boolean isSubsetOf(XSWildcardDecl superWildcard) { // For a namespace constraint (call it sub) to be an intensional subset of another namespace // constraint (call it super) one of the following must be true: // 1 super must be any. if (superWildcard.fType == WILDCARD_ANY) { re... | 4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/50e0e90474f17c2340a8b62bc80ec175f34e9416/XSWildcardDecl.java/clean/src/org/apache/xerces/impl/v2/XSWildcardDecl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
16523,
542,
951,
12,
60,
55,
12121,
3456,
2240,
12121,
13,
288,
3639,
368,
2457,
279,
1981,
4954,
261,
1991,
518,
720,
13,
358,
506,
392,
509,
1451,
287,
7931,
434,
4042,
19... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
16523,
542,
951,
12,
60,
55,
12121,
3456,
2240,
12121,
13,
288,
3639,
368,
2457,
279,
1981,
4954,
261,
1991,
518,
720,
13,
358,
506,
392,
509,
1451,
287,
7931,
434,
4042,
19... | |
cost=mascTonnage*entity.getOriginalWalkMP()*(int)entity.getWeight()*1000; | } else if(this.hasFlag(MiscType.F_JUMP_BOOSTER)) { cost = (int)(entity.getWeight() * entity.getOriginalJumpMP() * entity.getOriginalJumpMP() * 150); } else if(this.hasFlag(MiscType.F_JUMP_JET)) { int multi = 200; if(this.name=="Improved Jump Jet") multi = 500; cost = (int)(entity.getWeight() * entity.getOriginalJumpMP(... | public int resolveVariableCost(Entity entity) { //TODO implement this! int cost=0; if(this instanceof MiscType) { if(this.hasFlag(MiscType.F_MASC)) { //masc=engine rating*masc tonnage*1000 int mascTonnage=0; if (this.getInternalName().equa... | 4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/172078b8adefbe88f7423178b650065ed6db8c6a/EquipmentType.java/buggy/megamek/src/megamek/common/EquipmentType.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
2245,
3092,
8018,
12,
1943,
1522,
13,
288,
3639,
368,
6241,
2348,
333,
5,
3639,
509,
6991,
33,
20,
31,
3639,
309,
12,
2211,
1276,
16584,
71,
559,
13,
288,
5411,
309,
12,
22... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
509,
2245,
3092,
8018,
12,
1943,
1522,
13,
288,
3639,
368,
6241,
2348,
333,
5,
3639,
509,
6991,
33,
20,
31,
3639,
309,
12,
2211,
1276,
16584,
71,
559,
13,
288,
5411,
309,
12,
22... |
res = new EncodingHelper("Cp" + encodingName); | if (encodingName.toLowerCase().startsWith("cp") && encodingName.length() > 2) { res = new EncodingHelper("Cp" + encodingName.substring(2)); } else { res = new EncodingHelper("Cp" + encodingName); } | public static EncodingHelper getHelper(String encodingName) { EncodingHelper res = (EncodingHelper) knownEncodings.get(encodingName); if (res == null) { try { res = new EncodingHelper(encodingName); } catch (UnsupportedEncodingException e) { } } ... | 439 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/439/3e2f69a5cf4d16d71f62fa46e50587a17139ea79/EncodingHelper.java/buggy/trunk/jtds/src/main/net/sourceforge/jtds/jdbc/EncodingHelper.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
13400,
2276,
22205,
12,
780,
2688,
461,
13,
288,
3639,
13400,
2276,
400,
273,
261,
4705,
2276,
13,
4846,
25100,
899,
18,
588,
12,
5999,
461,
1769,
3639,
309,
261,
455,
422,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13400,
2276,
22205,
12,
780,
2688,
461,
13,
288,
3639,
13400,
2276,
400,
273,
261,
4705,
2276,
13,
4846,
25100,
899,
18,
588,
12,
5999,
461,
1769,
3639,
309,
261,
455,
422,
4... |
pc = finallyStack[tryStackTop]; | pc = finallyStack[tryStackTop - 1]; | public static Object interpret(InterpreterData theData) throws JavaScriptException { Object lhs; Object[] stack = new Object[theData.itsMaxStack]; int stackTop = -1; byte[] iCode = theData.itsICode; int pc = 0; int iCodeLength = theData.itsICodeTop; ... | 12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/cc732387b7980624f0d89f395455cca40b08f9cd/Interpreter.java/buggy/js/rhino/src/org/mozilla/javascript/Interpreter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1033,
10634,
12,
30010,
751,
326,
751,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
1033,
8499,
31,
3639,
1033,
8526,
2110,
273,
394,
1033,
63,
5787,
751,
18,
1282,
2747,
2624,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1033,
10634,
12,
30010,
751,
326,
751,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
1033,
8499,
31,
3639,
1033,
8526,
2110,
273,
394,
1033,
63,
5787,
751,
18,
1282,
2747,
2624,
... |
" | " | public void testReplace2() { String s1 = "package com.www.xxx.yyy;\n" + "\n" + "import javax.swing.*;\n" + "\n" + "public class Test {\n" + " public static void main(String[] args) {\n" + " if (1==1)\n" + "... | 56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/837c5d5cad8028ba5422e30a73d5cf2577c74e36/StructuralReplaceTest.java/buggy/plugins/structuralsearch/testSource/com/intellij/structuralsearch/StructuralReplaceTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1842,
5729,
22,
1435,
288,
565,
514,
272,
21,
273,
315,
5610,
532,
18,
5591,
18,
18310,
18,
6795,
93,
9747,
82,
6,
397,
7734,
1548,
82,
6,
397,
7734,
315,
5666,
6863,
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,
5729,
22,
1435,
288,
565,
514,
272,
21,
273,
315,
5610,
532,
18,
5591,
18,
18310,
18,
6795,
93,
9747,
82,
6,
397,
7734,
1548,
82,
6,
397,
7734,
315,
5666,
6863,
18,
... |
Block tmpBlock = ArgsUtil.beginCallArgs(runtime); IRubyObject recv = eval(iVisited.getIterNode()); ArgsUtil.endCallArgs(runtime, tmpBlock); threadContext.setPosition(position); | IRubyObject recv = null; try { recv = eval(iVisited.getIterNode()); } finally { threadContext.setPosition(position); ArgsUtil.endCallArgs(runtime, tmpBlock); } | public void visitForNode(ForNode iVisited) { runtime.getBlockStack().push(iVisited.getVarNode(), new EvaluateMethod(iVisited.getBodyNode()), self); runtime.getIterStack().push(Iter.ITER_PRE); try { while (true) { try { ISourcePosition position = thre... | 46258 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46258/aa3fe2195e86c2c426f4012089ef8c66a66e925c/EvaluateVisitor.java/clean/org/jruby/evaluator/EvaluateVisitor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3757,
31058,
12,
31058,
277,
30019,
13,
288,
3639,
3099,
18,
588,
1768,
2624,
7675,
6206,
12,
77,
30019,
18,
588,
1537,
907,
9334,
394,
18176,
1305,
12,
77,
30019,
18,
588,
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,
1071,
918,
3757,
31058,
12,
31058,
277,
30019,
13,
288,
3639,
3099,
18,
588,
1768,
2624,
7675,
6206,
12,
77,
30019,
18,
588,
1537,
907,
9334,
394,
18176,
1305,
12,
77,
30019,
18,
588,
2... |
values[k] = o; } | values[k] = o; } | void set(int k, Object o) { values[k] = o; } | 4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/b5b5168edc3af09cb74945a80b0c36e6630ed502/DenseSegmentDataset.java/clean/src/main/mondrian/rolap/agg/DenseSegmentDataset.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6459,
444,
12,
474,
417,
16,
1033,
320,
13,
288,
202,
202,
2372,
63,
79,
65,
273,
320,
31,
202,
97,
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,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6459,
444,
12,
474,
417,
16,
1033,
320,
13,
288,
202,
202,
2372,
63,
79,
65,
273,
320,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
super.copy(state); | synchronized (state) { super.copy(state); | protected synchronized void copy(ItemState state) { super.copy(state); NodeState nodeState = (NodeState) state; nodeTypeName = nodeState.getNodeTypeName(); mixinTypeNames = new HashSet(nodeState.getMixinTypeNames()); defId = nodeState.getDefinitionId(); uuid = nodeState.get... | 49304 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49304/95ef338d98dce2177341c4cf9e559dee019cafc4/NodeState.java/clean/core/src/java/org/apache/jackrabbit/core/state/NodeState.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
3852,
918,
1610,
12,
1180,
1119,
919,
13,
288,
3639,
3852,
261,
2019,
13,
288,
2240,
18,
3530,
12,
2019,
1769,
3639,
2029,
1119,
756,
1119,
273,
261,
907,
1119,
13,
919,
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,
4750,
3852,
918,
1610,
12,
1180,
1119,
919,
13,
288,
3639,
3852,
261,
2019,
13,
288,
2240,
18,
3530,
12,
2019,
1769,
3639,
2029,
1119,
756,
1119,
273,
261,
907,
1119,
13,
919,
31,
3639,... |
if (tryStackTop > 0) { --tryStackTop; | int handlerOffset = getExceptionHandler(idata.itsExceptionTable, exceptionPC); if (handlerOffset >= 0) { | static Object interpret(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, double[] argsDbl, int argShift, int argCount, NativeFunction fnOrScript, InterpreterData idata) throws JavaScrip... | 47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/de20fd274f68c94b45f11175f334fba3b0254dbe/Interpreter.java/buggy/src/org/mozilla/javascript/Interpreter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
1033,
10634,
12,
1042,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
18701,
1033,
8526,
833,
16,
1645,
8526,
833,
40,
3083,
16,
18701,
509,
1501,
10544,
16,
509,
1501,
1380,
16,
18701... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
760,
1033,
10634,
12,
1042,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
18701,
1033,
8526,
833,
16,
1645,
8526,
833,
40,
3083,
16,
18701,
509,
1501,
10544,
16,
509,
1501,
1380,
16,
18701... |
waload(JvmType.INT); } | waload(JvmType.INT); } | public final void visit_iaload() { waload(JvmType.INT); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4c9e1b93fdcd3878abf615621ec6a36bf839ab10/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
3757,
67,
649,
6189,
1435,
288,
202,
202,
91,
287,
6189,
12,
6071,
559,
18,
3217,
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,
727,
918,
3757,
67,
649,
6189,
1435,
288,
202,
202,
91,
287,
6189,
12,
6071,
559,
18,
3217,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
value = StyleDesign.getDefaultValue( name ); setStyleProperty( nonInheritableReportStyle, name, getStrColorValue( value ) ); | value = getStrColorValue( StyleDesign.getDefaultValue( name ) ); setStyleProperty( nonInheritableReportStyle, name, value ); | protected void addReportColorStyleProperty( StyleHandle handle, String name ) { Object value = null; if( StyleDesign.canInherit( name ) ) { if( handle != null ) { value = handle.getProperty( name ); } if( getColorValue( value ) == -1 ) { value = StyleDesign.getDefaultValue( name ); } setStylePro... | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/72ef136b489c89c0ad7e3c18e455bac267b6d962/EngineIRVisitor.java/clean/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/parser/EngineIRVisitor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
527,
4820,
2957,
2885,
1396,
12,
9767,
3259,
1640,
16,
514,
508,
262,
202,
95,
202,
202,
921,
460,
273,
446,
31,
202,
202,
430,
12,
9767,
15478,
18,
4169,
14216,
12,
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,
225,
202,
1117,
918,
527,
4820,
2957,
2885,
1396,
12,
9767,
3259,
1640,
16,
514,
508,
262,
202,
95,
202,
202,
921,
460,
273,
446,
31,
202,
202,
430,
12,
9767,
15478,
18,
4169,
14216,
12,
5... |
return blocksCompleted > dataBlocks.length; | return blocksCompleted >= dataBlocks.length; | public synchronized boolean isFetchable() { return blocksCompleted > dataBlocks.length; } | 48807 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48807/0591129065b7962994e34d81ea2689620fae16ff/SplitFileInserterSegment.java/buggy/src/freenet/client/async/SplitFileInserterSegment.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3852,
1250,
353,
5005,
429,
1435,
288,
202,
202,
2463,
4398,
9556,
405,
501,
6450,
18,
2469,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
3852,
1250,
353,
5005,
429,
1435,
288,
202,
202,
2463,
4398,
9556,
405,
501,
6450,
18,
2469,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
if(!pn.isReallyConnected()) throw new NotConnectedException(); | if(!pn.isConnected()) throw new NotConnectedException(); | public int allocateOutgoingPacketNumberNeverBlock() throws KeyChangedException, NotConnectedException, WouldBlockException { int packetNumber; if(!pn.isReallyConnected()) throw new NotConnectedException(); synchronized(this) { packetNumber = nextPacketNumber; if(isDeprecat... | 50287 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50287/f18d01b1fb86ddf4053d90e1f337f99ccd2ec255/KeyTracker.java/clean/src/freenet/node/KeyTracker.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
10101,
24866,
6667,
1854,
50,
6084,
1768,
1435,
1216,
1929,
5033,
503,
16,
31541,
503,
16,
678,
1006,
1768,
503,
288,
3639,
509,
4414,
1854,
31,
3639,
309,
12,
5,
7449,
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,
1071,
509,
10101,
24866,
6667,
1854,
50,
6084,
1768,
1435,
1216,
1929,
5033,
503,
16,
31541,
503,
16,
678,
1006,
1768,
503,
288,
3639,
509,
4414,
1854,
31,
3639,
309,
12,
5,
7449,
18,
2... |
if (childActivityId == null || parentActivityId == null) return null; | if (childActivityId == null || parentActivityId == null) { return null; } | static ActivityRequirementBindingDefinition readActivityRequirementBindingDefinition( IMemento memento, String sourceIdOverride) { if (memento == null) throw new NullPointerException(); String childActivityId = memento.getString(TAG_REQUIRED_ACTIVITY_ID); String parentActi... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/Persistence.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/activities/Persistence.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
9621,
18599,
5250,
1852,
855,
6193,
18599,
5250,
1852,
12,
5411,
6246,
820,
83,
312,
820,
83,
16,
514,
27572,
6618,
13,
288,
3639,
309,
261,
81,
820,
83,
422,
446,
13,
5411,
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,
760,
9621,
18599,
5250,
1852,
855,
6193,
18599,
5250,
1852,
12,
5411,
6246,
820,
83,
312,
820,
83,
16,
514,
27572,
6618,
13,
288,
3639,
309,
261,
81,
820,
83,
422,
446,
13,
5411,
604,
... |
if (e != null) { prev.next = e.next; --n; } | public void remove(EventListener listener) { if (first == null) { return; } else if (first.listener == listener) { first = first.next; --n; } else { Entry prev = first; Entry e = first.next; while (e != null && e.listener != listener) { prev = e; e = e.next; } if (e != null) { pre... | 46680 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46680/50d9678412df39bd7a013ca39536708449f50f77/EventListenerList.java/clean/sources/org/apache/batik/dom/events/EventListenerList.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1206,
12,
7375,
2991,
13,
288,
202,
430,
261,
3645,
422,
446,
13,
288,
202,
565,
327,
31,
202,
97,
469,
309,
261,
3645,
18,
12757,
422,
2991,
13,
288,
202,
565,
1122,
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,
1206,
12,
7375,
2991,
13,
288,
202,
430,
261,
3645,
422,
446,
13,
288,
202,
565,
327,
31,
202,
97,
469,
309,
261,
3645,
18,
12757,
422,
2991,
13,
288,
202,
565,
1122,
273,
... | |
private void doFocusChanged(Widget control) { | void doFocusChanged(Widget control) { | private void doFocusChanged(Widget control) { for (int i= 0; i < fViewers.length; i++) { if (fViewers[i].getControl() == control) { propagateFocusChanged(fViewers[i]); return; } } } | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/9766cb70c62b71c3d08bd2866ef0736046c8b83b/SelectionProviderMediator.java/clean/core/org.eclipse.cdt.ui/browser/org/eclipse/cdt/internal/ui/browser/typehierarchy/SelectionProviderMediator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
741,
9233,
5033,
12,
4609,
3325,
13,
288,
202,
202,
1884,
261,
474,
277,
33,
374,
31,
277,
411,
284,
1767,
414,
18,
2469,
31,
277,
27245,
288,
1082,
202,
430,
261,
74,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
741,
9233,
5033,
12,
4609,
3325,
13,
288,
202,
202,
1884,
261,
474,
277,
33,
374,
31,
277,
411,
284,
1767,
414,
18,
2469,
31,
277,
27245,
288,
1082,
202,
430,
261,
74,... |
PartPane pane = ((ViewReference) ref).getPane(); if (pane == null) { pane = new ViewPane(ref, page); ((ViewReference) ref).setPane(pane); } site.setPane(pane); site.setActionBars(new ViewActionBars(page.getActionBars(), (ViewPane) pane)); | public IStatus busyRestoreView(final IViewReference ref) { if (ref.getPart(false) != null) return new Status(IStatus.OK, PlatformUI.PLUGIN_ID, 0, "", null); //$NON-NLS-1$ final String viewID = ref.getId(); final IMemento stateMem = (IMemento) mementoTable.get(viewID); mementoTable.remove(viewID); final boolean ... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/96af4262cad027895bf57a2834dffc2993670f12/ViewFactory.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ViewFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
1482,
21697,
10874,
1767,
12,
6385,
467,
1767,
2404,
1278,
13,
288,
202,
202,
430,
261,
1734,
18,
588,
1988,
12,
5743,
13,
480,
446,
13,
1082,
202,
2463,
394,
2685,
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,
225,
202,
482,
467,
1482,
21697,
10874,
1767,
12,
6385,
467,
1767,
2404,
1278,
13,
288,
202,
202,
430,
261,
1734,
18,
588,
1988,
12,
5743,
13,
480,
446,
13,
1082,
202,
2463,
394,
2685,
12,
... | |
IPath path = WorkbenchPlugin.getDefault().getDataLocation(); if(path==null) return null; path = path.append(DEFAULT_WORKBENCH_STATE_FILENAME); return path.toFile(); } | IPath path = WorkbenchPlugin.getDefault().getDataLocation(); if (path == null) return null; path = path.append(DEFAULT_WORKBENCH_STATE_FILENAME); return path.toFile(); } | private File getWorkbenchStateFile() { IPath path = WorkbenchPlugin.getDefault().getDataLocation(); if(path==null) return null; path = path.append(DEFAULT_WORKBENCH_STATE_FILENAME); return path.toFile(); } | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/9337b828e86179850647141c34d497be28275ed2/Workbench.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1387,
29026,
22144,
1119,
812,
1435,
288,
3639,
467,
743,
589,
273,
4147,
22144,
3773,
18,
588,
1868,
7675,
588,
751,
2735,
5621,
3639,
309,
12,
803,
631,
2011,
13,
327,
446,
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,
377,
3238,
1387,
29026,
22144,
1119,
812,
1435,
288,
3639,
467,
743,
589,
273,
4147,
22144,
3773,
18,
588,
1868,
7675,
588,
751,
2735,
5621,
3639,
309,
12,
803,
631,
2011,
13,
327,
446,
31,
... |
if (jLabel.getDisplayedMnemonicIndex() < 0) { DialogUtil.registerMnemonic(jLabel, null); } | DialogUtil.registerMnemonic(jLabel, null); | protected void processComponent(Component parentComponent) { if (parentComponent instanceof AbstractButton) { final AbstractButton abstractButton = ((AbstractButton)parentComponent); abstractButton.addPropertyChangeListener(AbstractButton.TEXT_CHANGED_PROPERTY, TEXT_LISTENER); if (abstractButton.get... | 17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/6936d86dca5697001b8571f63e85d92d8ed6b7df/MnemonicHelper.java/buggy/openapi/src/com/intellij/openapi/MnemonicHelper.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1207,
1841,
12,
1841,
982,
1841,
13,
288,
565,
309,
261,
2938,
1841,
1276,
4115,
3616,
13,
288,
1377,
727,
4115,
3616,
8770,
3616,
273,
14015,
7469,
3616,
13,
2938,
1841,
1769,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1841,
12,
1841,
982,
1841,
13,
288,
565,
309,
261,
2938,
1841,
1276,
4115,
3616,
13,
288,
1377,
727,
4115,
3616,
8770,
3616,
273,
14015,
7469,
3616,
13,
2938,
1841,
1769,... |
public OMEXMLMetadataStore() throws MetadataStoreException { } | public OMEXMLMetadataStore() { } | public OMEXMLMetadataStore() throws MetadataStoreException { } | 11426 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11426/6f36000247679fc3797d04b50f95bd3b4c2aeb07/OMEXMLMetadataStore.java/clean/loci/formats/OMEXMLMetadataStore.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
531,
958,
4201,
2277,
2257,
1435,
1216,
6912,
21151,
288,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
531,
958,
4201,
2277,
2257,
1435,
1216,
6912,
21151,
288,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
if ( prop.getTypeCode( ) == PropertyType.XML_TYPE ) | parent = (ExtendedItem) parent.getExtendsElement( ); } } else { this.extensionPropValues.remove( propDefn.getName( ) ); } if ( value != null ) { byte[] raw = null; try | public void initializeReportItem( Module module ) throws ExtendedElementException { if ( reportItem != null ) return; PeerExtensionElementDefn extDefn = (PeerExtensionElementDefn) getExtDefn( ); if ( extDefn == null ) throw new ExtendedElementException( ExtendedElementException.PLUGIN_ID, SemanticErro... | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/da44fecb5c6e05db9ce8a4fda5141c73c044f818/PeerExtensibilityProvider.java/clean/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/extension/PeerExtensibilityProvider.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
4046,
4820,
1180,
12,
5924,
1605,
262,
1082,
202,
15069,
14094,
20826,
202,
95,
202,
202,
430,
261,
2605,
1180,
480,
446,
262,
1082,
202,
2463,
31,
202,
202,
6813,
3625,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4046,
4820,
1180,
12,
5924,
1605,
262,
1082,
202,
15069,
14094,
20826,
202,
95,
202,
202,
430,
261,
2605,
1180,
480,
446,
262,
1082,
202,
2463,
31,
202,
202,
6813,
3625,
... |
if (game != null){ updateClocks(game, boardData); | if (gameData != null){ updateClocks(gameData, boardData); Style12Struct oldBoardData = gameData.boardData; | protected boolean processStyle12(Style12Struct boardData){ Integer gameNumber = new Integer(boardData.getGameNumber()); Game game = (Game)ongoingGames.get(gameNumber); GameInfoStruct gameInfo = (GameInfoStruct)unstartedGameInfo.remove(gameNumber); Style12Struct oldBoardData = (Style12Struct)lastStyle12Str... | 1161 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1161/d8e7b9ef422687e823e251da744b8f95d39c7ca5/JinFreechessConnection.java/buggy/src/free/jin/freechess/JinFreechessConnection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
1250,
1207,
2885,
2138,
12,
2885,
2138,
3823,
11094,
751,
15329,
565,
2144,
7920,
1854,
273,
394,
2144,
12,
3752,
751,
18,
588,
12496,
1854,
10663,
565,
14121,
7920,
273,
261,
12496,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1250,
1207,
2885,
2138,
12,
2885,
2138,
3823,
11094,
751,
15329,
565,
2144,
7920,
1854,
273,
394,
2144,
12,
3752,
751,
18,
588,
12496,
1854,
10663,
565,
14121,
7920,
273,
261,
12496,
... |
String answer = req.getParameter("answer"); log("Answer: " + answer); | String answer = req.getParameter("answer"); log("Answer: " + answer); | public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { log("PostM"); //get answer String answer = req.getParameter("answer"); log("Answer: " + answer); //get question String question = req.getParameter("question"); log("question: " + question ); //g i... | 8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/6934bc95fe9bb7541280495513f06cf7d0206d59/QuestionResult.java/clean/servlets/QuestionResult.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
741,
3349,
12,
2940,
18572,
1111,
16,
12446,
400,
13,
202,
15069,
16517,
16,
1860,
225,
202,
95,
202,
202,
1330,
2932,
3349,
49,
8863,
6862,
202,
759,
588,
5803,
202,
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,
482,
918,
741,
3349,
12,
2940,
18572,
1111,
16,
12446,
400,
13,
202,
15069,
16517,
16,
1860,
225,
202,
95,
202,
202,
1330,
2932,
3349,
49,
8863,
6862,
202,
759,
588,
5803,
202,
202... |
int lastXMid, lastYMid; int lastClearedX = -1; int lastClearedY = -1; int nPixelsSet; | int []lastClearedX = new int[NTH_LAST_PIXEL]; int []lastClearedY = new int[NTH_LAST_PIXEL]; int lastClearedIndex = 0; int nPixelsSet, nPixelsCleared; | public static Point2D calculate(Shape s) { int x, y; int xMin, yMin, xMax, yMax; int lastXMin, lastYMin, lastXMax, lastYMax; int lastXMid, lastYMid; int lastClearedX = -1; int lastClearedY = -1; int nPixelsSet; Point2D.Double retval; Rectangle2D bounds = s.getBounds2D(); AffineTransform affine = AffineTran... | 2501 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2501/8c4a9eafe4acae44c94f9f6de9981cb7d686ec98/Sinkhole.java/buggy/src/org/mapyrus/geom/Sinkhole.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
4686,
22,
40,
4604,
12,
8500,
272,
13,
202,
95,
202,
202,
474,
619,
16,
677,
31,
202,
202,
474,
619,
2930,
16,
677,
2930,
16,
619,
2747,
16,
677,
2747,
31,
202,
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,
482,
760,
4686,
22,
40,
4604,
12,
8500,
272,
13,
202,
95,
202,
202,
474,
619,
16,
677,
31,
202,
202,
474,
619,
2930,
16,
677,
2930,
16,
619,
2747,
16,
677,
2747,
31,
202,
202,
... |
if (!line.toString().equals(END_CERTIFICATE)) | if (! line.toString().equals(END_CERTIFICATE)) | private X509Certificate generateCert(InputStream inStream) throws IOException, CertificateException { if (inStream == null) throw new CertificateException("missing input stream"); if (!inStream.markSupported()) inStream = new BufferedInputStream(inStream, 8192); inStream.mark(20); int i = in... | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/X509CertificateFactory.java/clean/core/src/classpath/gnu/gnu/java/security/provider/X509CertificateFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
1139,
5995,
4719,
2103,
5461,
12,
4348,
28987,
13,
565,
1216,
1860,
16,
29551,
225,
288,
565,
309,
261,
267,
1228,
422,
446,
13,
1377,
604,
394,
29551,
2932,
7337,
810,
1407,
8863,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1139,
5995,
4719,
2103,
5461,
12,
4348,
28987,
13,
565,
1216,
1860,
16,
29551,
225,
288,
565,
309,
261,
267,
1228,
422,
446,
13,
1377,
604,
394,
29551,
2932,
7337,
810,
1407,
8863,
... |
InputStream stream = getClass().getClassLoader().getResourceAsStream(C_XMLPAGE_OLD_DTD_LOCATION); | InputStream stream = getClass().getClassLoader().getResourceAsStream(XMLPAGE_OLD_DTD_LOCATION); | public InputSource resolveEntity(String publicId, String systemId) { // lookup the system id caches first byte[] content; content = (byte[])m_cachePermanent.get(systemId); if (content != null) { // permanent cache contains system id return new InputSource(new ByteAr... | 51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/e4e19c0a90797aecd9ee0ffc8ee1a741d57f37ee/CmsXmlEntityResolver.java/clean/src/org/opencms/xml/CmsXmlEntityResolver.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
23699,
2245,
1943,
12,
780,
1071,
548,
16,
514,
30083,
13,
288,
3639,
368,
3689,
326,
2619,
612,
12535,
1122,
3639,
1160,
8526,
913,
31,
3639,
913,
273,
261,
7229,
63,
5717,
81,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
23699,
2245,
1943,
12,
780,
1071,
548,
16,
514,
30083,
13,
288,
3639,
368,
3689,
326,
2619,
612,
12535,
1122,
3639,
1160,
8526,
913,
31,
3639,
913,
273,
261,
7229,
63,
5717,
81,
6... |
stringBuffer.append(TEXT_291); | stringBuffer.append(TEXT_296); | public String generate(Object argument) { final StringBuffer stringBuffer = new StringBuffer(); final GenCommonBase genElement = (GenCommonBase) ((Object[]) argument)[0];final GenNode genNode = (GenNode) genElement;GenDiagram genDiagram = genNode.getDiagram();Palette palette = genDiagram.getPalette();boolean i... | 7409 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7409/41ff79477b1b3c386bb3c9c99a88391ac573362c/NodeEditPartGenerator.java/clean/plugins/org.eclipse.gmf.codegen.lite/src-templates/org/eclipse/gmf/codegen/templates/lite/parts/NodeEditPartGenerator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
2103,
12,
921,
1237,
13,
225,
288,
565,
727,
6674,
533,
1892,
273,
394,
6674,
5621,
565,
727,
10938,
6517,
2171,
3157,
1046,
273,
261,
7642,
6517,
2171,
13,
14015,
921,
63,
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,
282,
1071,
514,
2103,
12,
921,
1237,
13,
225,
288,
565,
727,
6674,
533,
1892,
273,
394,
6674,
5621,
565,
727,
10938,
6517,
2171,
3157,
1046,
273,
261,
7642,
6517,
2171,
13,
14015,
921,
63,
5... |
}); } | } }); | public void modelChangedInCommand(final List<SModelEvent> events, EditorContext editorContext) { ProjectPane projectPane = getOperationContext().getComponent(ProjectPane.class); if (EventUtil.isDramaticalChange(events)) { projectPane.rebuildTree(new Runnable() { public void run() { ... | 14939 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14939/2dd2067bc2de54558dfc6bc92ca9d140d1d30035/SModelTreeNode.java/clean/source/jetbrains/mps/ide/projectPane/SModelTreeNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
938,
5033,
382,
2189,
12,
6385,
987,
32,
55,
1488,
1133,
34,
2641,
16,
18451,
1042,
4858,
1042,
13,
288,
1377,
5420,
8485,
1984,
8485,
273,
21162,
1042,
7675,
588,
1841,
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,
377,
1071,
918,
938,
5033,
382,
2189,
12,
6385,
987,
32,
55,
1488,
1133,
34,
2641,
16,
18451,
1042,
4858,
1042,
13,
288,
1377,
5420,
8485,
1984,
8485,
273,
21162,
1042,
7675,
588,
1841,
12,
... |
public void focusGained(FocusEvent e) { _lastFocusOwner = _junitErrorPanel; } | public void focusGained(FocusEvent e) { _lastFocusOwner = _compilerErrorPanel; } | public void focusGained(FocusEvent e) { _lastFocusOwner = _junitErrorPanel; } | 11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/5096aaab648cea3686054749f4edbb0813185db1/MainFrame.java/clean/drjava/src/edu/rice/cs/drjava/ui/MainFrame.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
918,
7155,
43,
8707,
12,
9233,
1133,
425,
13,
288,
389,
2722,
9233,
5541,
273,
389,
78,
4873,
668,
5537,
31,
289,
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,
4202,
1071,
918,
7155,
43,
8707,
12,
9233,
1133,
425,
13,
288,
389,
2722,
9233,
5541,
273,
389,
78,
4873,
668,
5537,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
getGraphModel().removeGraphEventListener( change ); } | getGraphModel().removeGraphEventListener( change ); } | public void removeChangeRegistryAsListener( ChangeRegistry change ) { getGraphModel().removeGraphEventListener( change ); } | 7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/ArgoDiagram.java/buggy/src_new/org/argouml/ui/ArgoDiagram.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1206,
3043,
4243,
1463,
2223,
12,
7576,
4243,
2549,
262,
288,
202,
225,
26479,
1488,
7675,
4479,
4137,
7375,
12,
2549,
11272,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1206,
3043,
4243,
1463,
2223,
12,
7576,
4243,
2549,
262,
288,
202,
225,
26479,
1488,
7675,
4479,
4137,
7375,
12,
2549,
11272,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
public void print(boolean b) { | public void print(boolean b) { | public void print(boolean b) { contentWriter.write(Boolean.toString(b)); } | 15560 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15560/43e3a7aa8cd68770bcd98555c84f91cb80213170/AbstractTagDirective.java/clean/src/java/com/opensymphony/webwork/views/velocity/AbstractTagDirective.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1171,
1071,
918,
1172,
12,
6494,
324,
13,
7734,
288,
10792,
913,
2289,
18,
2626,
12,
5507,
18,
10492,
12,
70,
10019,
7734,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1171,
1071,
918,
1172,
12,
6494,
324,
13,
7734,
288,
10792,
913,
2289,
18,
2626,
12,
5507,
18,
10492,
12,
70,
10019,
7734,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
if (!ref.hasFlag(ValueNumber.RETURN_VALUE)) { | private void analyzeMethod(ClassContext classContext, Method method) throws CFGBuilderException, DataflowAnalysisException { MethodGen methodGen = classContext.getMethodGen(method); if (methodGen == null) return; ConstantPoolGen cpg = methodGen.getConstantPool(); CFG cfg = classContext.getCFG(method); Val... | 7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/27098b3656f45c5d331d4ad1e51eaa46be08b9b9/FindMismatchedWaitOrNotify.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/detect/FindMismatchedWaitOrNotify.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
430,
16051,
1734,
18,
5332,
4678,
12,
620,
1854,
18,
14033,
67,
4051,
3719,
288,
918,
430,
16051,
1734,
18,
5332,
4678,
12,
620,
1854,
18,
14033,
67,
4051,
3719,
288,
12375,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
430,
16051,
1734,
18,
5332,
4678,
12,
620,
1854,
18,
14033,
67,
4051,
3719,
288,
918,
430,
16051,
1734,
18,
5332,
4678,
12,
620,
1854,
18,
14033,
67,
4051,
3719,
288,
12375,
... | |
for (int i = 0; i < fTrimArea.length; i++) { List area = fTrimArea[i]; Iterator d = area.iterator(); while (d.hasNext()) { TrimDescriptor desc = (TrimDescriptor) d.next(); if (desc.getTrim().getId().equals(id)) { return desc.getTrim(); } } | TrimDescriptor desc = (TrimDescriptor) fTrimDescriptors.get(id); if (desc != null) { return desc.getTrim(); | public IWindowTrim getTrim(String id) { for (int i = 0; i < fTrimArea.length; i++) { List area = fTrimArea[i]; Iterator d = area.iterator(); while (d.hasNext()) { TrimDescriptor desc = (TrimDescriptor) d.next(); if (desc.getTrim().getId().equals(id)) { return desc.getTrim(); } } } return null; ... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/c02ce808ddcd3a887071a5c31104b81c396819e2/TrimLayout.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/layout/TrimLayout.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
3829,
14795,
336,
14795,
12,
780,
612,
13,
288,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
284,
14795,
5484,
18,
2469,
31,
277,
27245,
288,
1082,
202,
682,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
3829,
14795,
336,
14795,
12,
780,
612,
13,
288,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
284,
14795,
5484,
18,
2469,
31,
277,
27245,
288,
1082,
202,
682,
... |
sender.setDeliveryMode(DeliveryMode.NON_PERSISTENT); | sender.setDeliveryMode(DeliveryMode.NON_PERSISTENT); sender.setInitialPause(initialPause); sender.setNumMessages(numMessages); | public void testTopicScale3() { log.info("Running test testTopicScale3"); for (int i = 1; i <= 20; i++) { SenderJob sender = createDefaultSenderJob(testTopicName); sender.setNumMessages(10000); sender.setMsgSize(1024); sender.setMf(new BytesMessageMessageFactory... | 3806 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3806/96f752d06dba37742f7716ee54f31f1982df763e/PerfRunner.java/clean/tests/src/org/jboss/test/messaging/jms/perf/PerfRunner.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
1842,
6657,
5587,
23,
1435,
282,
288,
1377,
613,
18,
1376,
2932,
7051,
1842,
1842,
6657,
5587,
23,
8863,
5411,
364,
261,
474,
277,
273,
404,
31,
277,
1648,
4200,
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,
565,
1071,
918,
1842,
6657,
5587,
23,
1435,
282,
288,
1377,
613,
18,
1376,
2932,
7051,
1842,
1842,
6657,
5587,
23,
8863,
5411,
364,
261,
474,
277,
273,
404,
31,
277,
1648,
4200,
31,
277,
272... |
"org/mozilla/javascript/ScriptRuntime", | "org/mozilla/javascript/JavaAdapter", | private static void generateEmptyCtor(ClassFileWriter cfw, String adapterName, String superName, String scriptClassName) { cfw.startMethod("<init>", "()V", ClassFileWriter.ACC_PUBLIC)... | 19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/37d29a017a6038dd3a95ecea961c7097f7733631/JavaAdapter.java/buggy/src/org/mozilla/javascript/JavaAdapter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
2103,
1921,
27425,
12,
797,
812,
2289,
6080,
91,
16,
4766,
1850,
514,
4516,
461,
16,
4766,
1850,
514,
2240,
461,
16,
4766,
1850,
514,
2728,
3834,
13,
565,
288,
3639,
608... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
760,
918,
2103,
1921,
27425,
12,
797,
812,
2289,
6080,
91,
16,
4766,
1850,
514,
4516,
461,
16,
4766,
1850,
514,
2240,
461,
16,
4766,
1850,
514,
2728,
3834,
13,
565,
288,
3639,
608... |
AST __t1460 = _t; | AST __t1465 = _t; | public final void argfunc(AST _t) throws RecognitionException { AST argfunc_AST_in = (_t == ASTNULL) ? null : (AST)_t; if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case AACBIT: { AST __t1396 = _t; AST tmp344_AST_in = (AST)_t; match(_t,AACBIT); _t = _t.getFirstChild(); funargs(_t); _t = _retT... | 13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/f492fd11e745beb562b4e209643ba003aa8a6271/TreeParser01.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1501,
644,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1501,
644,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1501,
644,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1501,
644,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
... |
public synchronized void removeSubscriber(USKCallback cb) { subscribers.remove(cb); | public void removeSubscriber(USKCallback cb) { synchronized(this) { subscribers.remove(cb); if(!(subscribers.isEmpty() && killOnLoseSubscribers)) return; } cancel(); | public synchronized void removeSubscriber(USKCallback cb) { subscribers.remove(cb); } | 50653 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50653/db5834235f813b648fd729665846c7a8074409ca/USKFetcher.java/buggy/src/freenet/client/async/USKFetcher.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3852,
918,
1206,
11118,
12,
3378,
47,
2428,
2875,
13,
288,
202,
202,
1717,
17769,
18,
4479,
12,
7358,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3852,
918,
1206,
11118,
12,
3378,
47,
2428,
2875,
13,
288,
202,
202,
1717,
17769,
18,
4479,
12,
7358,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
final MultipartWebRequest multipartWebRequest = new MultipartWebRequest(this.maxSize, request); | final MultipartWebRequest multipartWebRequest = new MultipartWebRequest( this.maxSize, request); | protected void process() { if (multiPart) { // Change the request to a multipart web request so parameters are // parsed out correctly final HttpServletRequest request = ((WebRequest)getRequest()).getHttpServletRequest(); try { final MultipartWebRequest multipartWebRequest = new MultipartWebRequest(thi... | 46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/c3f613a1d24372f28bec4bb387a13fae21585bed/Form.java/clean/wicket/src/java/wicket/markup/html/form/Form.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1207,
1435,
202,
95,
202,
202,
430,
261,
7027,
1988,
13,
3196,
202,
95,
1082,
202,
759,
7576,
326,
590,
358,
279,
10263,
3311,
590,
1427,
1472,
854,
1082,
202,
759,
2707... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1207,
1435,
202,
95,
202,
202,
430,
261,
7027,
1988,
13,
3196,
202,
95,
1082,
202,
759,
7576,
326,
590,
358,
279,
10263,
3311,
590,
1427,
1472,
854,
1082,
202,
759,
2707... |
if(dir==null) { | if (dir == null) { | public void actionPerformed(ActionEvent ae) { if (zipTree == null) return; TreePath tp = zipTree.getSelectionPath(); if (tp == null) return; Object[] elements = tp.getPath(); if (tp.getPathCount() == 1) return; String path=elements[1].toString()+'/'; for(int i=2;i<tp.getPathCount();i++) { ... | 47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/701adb53ebc028dc703c1074d472d19dec2ab46e/ZipView.java/buggy/java/plugins/examples/zip/ZipView.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
565,
1071,
918,
26100,
12,
1803,
1133,
14221,
13,
288,
7734,
309,
261,
4450,
2471,
422,
446,
13,
327,
31,
202,
202,
2471,
743,
8071,
273,
3144,
2471,
18,
588,
6233,
743,
5621,
202,
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,
3196,
565,
1071,
918,
26100,
12,
1803,
1133,
14221,
13,
288,
7734,
309,
261,
4450,
2471,
422,
446,
13,
327,
31,
202,
202,
2471,
743,
8071,
273,
3144,
2471,
18,
588,
6233,
743,
5621,
202,
202... |
java.util.List neighbours = ac.getConnectedAtomsList(atom); java.util.List second = null; IBond bond = null; int counter = 0; for (int i = 0; i < neighbours.size(); i++) { IAtom neighbour = (IAtom)neighbours.get(i); if (neighbour.getSymbol().equals("C")) { second = ac.getConnectedAtomsList(neighbour); for (int b = 0; b... | java.util.List neighbours = ac.getConnectedAtomsList(atom); java.util.List second = null; IBond bond = null; int counter = 0; for (int i = 0; i < neighbours.size(); i++) { IAtom neighbour = (IAtom)neighbours.get(i); if (neighbour.getSymbol().equals("C")) { second = ac.getConnectedAtomsList(neighbour); for (int b = 0; b... | private int getPresenceOfCarbonil(IAtomContainer ac, org.openscience.cdk.interfaces.IAtom atom) { java.util.List neighbours = ac.getConnectedAtomsList(atom); java.util.List second = null; IBond bond = null; int counter = 0; for (int i = 0; i < neighbours.size(); i++) { IAtom neighbour = (IAtom)neighbours.get(i)... | 1306 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1306/76f1c3db1c889a4fd7bd9dd2e93ee1e9a39ec301/XLogPDescriptor.java/clean/src/org/openscience/cdk/qsar/descriptors/molecular/XLogPDescriptor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
509,
1689,
455,
802,
951,
39,
11801,
330,
12,
45,
3641,
2170,
1721,
16,
2358,
18,
20346,
71,
6254,
18,
71,
2883,
18,
15898,
18,
45,
3641,
3179,
13,
288,
202,
202,
6290,
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,
225,
202,
1152,
509,
1689,
455,
802,
951,
39,
11801,
330,
12,
45,
3641,
2170,
1721,
16,
2358,
18,
20346,
71,
6254,
18,
71,
2883,
18,
15898,
18,
45,
3641,
3179,
13,
288,
202,
202,
6290,
18,... |
toSearch = ModelFacade.getNamespace(toSearch)) { | toSearch = getNamespaceWithoutModel(toSearch)) { | private String generateHeaderPackageStart(Object cls) { // cat.info("generateHeaderPackageStart: " + cls.getName() + " // aus Namespace: " + cls.getNamespace().getName()); StringBuffer sb = new StringBuffer(80); if (actualNamespace != null) { for (Object fromSearch = actualNam... | 7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/a7d225019b270dbcd44b6cfa13b28319933dab57/GeneratorCpp.java/buggy/modules/cpp/src/org/argouml/language/cpp/generator/GeneratorCpp.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
514,
2103,
1864,
2261,
1685,
12,
921,
2028,
13,
288,
3639,
368,
6573,
18,
1376,
2932,
7163,
1864,
2261,
1685,
30,
315,
397,
2028,
18,
17994,
1435,
397,
315,
3639,
368,
279,
407,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
514,
2103,
1864,
2261,
1685,
12,
921,
2028,
13,
288,
3639,
368,
6573,
18,
1376,
2932,
7163,
1864,
2261,
1685,
30,
315,
397,
2028,
18,
17994,
1435,
397,
315,
3639,
368,
279,
407,
6... |
if (strings.size() == 0) strings.add(ConstantExpression.EMPTY_STRING); | if (strings.size() == 0) strings.add(ConstantExpression.EMPTY_STRING); | public void addValue(Expression value) { // If the first thing is an value, then we need a dummy empty string in front of it so that when we // toString it they come out in the correct order. if (strings.size() == 0) strings.add(ConstantExpression.EMPTY_STRING); values.add(value); } | 6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/54780d2d76cefc64086c8ff3881b5ca6bd9d2523/GStringExpression.java/buggy/src/main/org/codehaus/groovy/ast/expr/GStringExpression.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
17663,
12,
2300,
460,
13,
288,
377,
202,
759,
971,
326,
1122,
7757,
353,
392,
460,
16,
1508,
732,
1608,
279,
9609,
1008,
533,
316,
6641,
434,
518,
1427,
716,
1347,
732,
377,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
17663,
12,
2300,
460,
13,
288,
377,
202,
759,
971,
326,
1122,
7757,
353,
392,
460,
16,
1508,
732,
1608,
279,
9609,
1008,
533,
316,
6641,
434,
518,
1427,
716,
1347,
732,
377,
... |
return _cols.intValue(); | return _cols_fetched ?_cols.intValue() : -1; | public int getColumns() throws IOException, NullPointerException { if (!_cols_fetched) { String valueString = getValue(_cols_attribute); if (valueString != null) { _cols = NumericConverter.extractPositiveInteger(valueString); } _cols_fetched = true; ... | 46428 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46428/e4733f83298cac7fec9a7ded0724debe9b9aa3e0/EPCell.java/buggy/src/blocks/poi/java/org/apache/cocoon/components/elementprocessor/impl/poi/hssf/elements/EPCell.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
14226,
1435,
1216,
1860,
16,
10108,
288,
3639,
309,
16051,
67,
6842,
67,
5754,
329,
13,
288,
5411,
514,
24998,
273,
2366,
24899,
6842,
67,
4589,
1769,
5411,
309,
261,
1132,
780... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
509,
14226,
1435,
1216,
1860,
16,
10108,
288,
3639,
309,
16051,
67,
6842,
67,
5754,
329,
13,
288,
5411,
514,
24998,
273,
2366,
24899,
6842,
67,
4589,
1769,
5411,
309,
261,
1132,
780... |
ProjectBrowser.TheInstance.setTarget(obj); | protected void modelChanged() { MAssociation as = (MAssociation) getOwner(); if (as == null) return; String asNameStr = Notation.generate(this, as.getName()); super.modelChanged(); MAssociationEnd ae0 = (MAssociationEnd)((Object[])(as.getConnections()).toArray())[0]; MAssociationEnd ae1 = ... | 7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ab95b1ee7d305edf2e38ba31ebe81c24c8153d45/FigAssociation.java/buggy/src_new/org/argouml/uml/diagram/ui/FigAssociation.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
938,
5033,
1435,
288,
565,
490,
7174,
487,
273,
261,
49,
7174,
13,
13782,
5621,
565,
309,
261,
345,
422,
446,
13,
327,
31,
565,
514,
487,
461,
1585,
273,
2288,
367,
18,
716... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
938,
5033,
1435,
288,
565,
490,
7174,
487,
273,
261,
49,
7174,
13,
13782,
5621,
565,
309,
261,
345,
422,
446,
13,
327,
31,
565,
514,
487,
461,
1585,
273,
2288,
367,
18,
716... | |
enumval = baseImpl.newValue(facet.getValue()); | enumval = baseImpl.newValue(facet.getValue(), true); | static void resolveFacets(SchemaTypeImpl sImpl, XmlObject restriction, SchemaTypeImpl baseImpl) { StscState state = StscState.get(); boolean[] seenFacet = new boolean[SchemaType.LAST_FACET + 1]; XmlAnySimpleType[] myFacets = baseImpl.getBasicFacets(); // makes a copy boolean[] fixedFa... | 3520 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3520/6c4d4638ca052ddcff4b45b81eaac174b510eb51/StscSimpleTypeResolver.java/clean/src/typeimpl/org/apache/xmlbeans/impl/schema/StscSimpleTypeResolver.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
918,
2245,
6645,
2413,
12,
3078,
30639,
272,
2828,
16,
5714,
921,
9318,
16,
4611,
30639,
1026,
2828,
13,
565,
288,
3639,
934,
1017,
1119,
919,
273,
934,
1017,
1119,
18,
588,
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,
760,
918,
2245,
6645,
2413,
12,
3078,
30639,
272,
2828,
16,
5714,
921,
9318,
16,
4611,
30639,
1026,
2828,
13,
565,
288,
3639,
934,
1017,
1119,
919,
273,
934,
1017,
1119,
18,
588,
5621,
... |
String csv = "key1,value1\nkey2,value2"; | String csv = "db1,rdf1\ndb2,rdf2"; | public void testTwoRows() { String csv = "key1,value1\nkey2,value2"; Collection translations = new TranslationTableParser( new StringReader(csv)).parseTranslations(); assertEquals(2, translations.size()); Set expected = new HashSet(); expected.add(new Translation("key1", "value1")); expected.add(new Translati... | 3809 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3809/23e3e36f6f76326088b8eeba1ac20fc3ed490943/TranslationTableParserTest.java/buggy/test/de/fuberlin/wiwiss/d2rq/csv/TranslationTableParserTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
11710,
4300,
1435,
288,
202,
202,
780,
6101,
273,
315,
856,
21,
16,
1132,
21,
64,
82,
856,
22,
16,
1132,
22,
14432,
202,
202,
2532,
7863,
273,
394,
17427,
1388,
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,
918,
1842,
11710,
4300,
1435,
288,
202,
202,
780,
6101,
273,
315,
856,
21,
16,
1132,
21,
64,
82,
856,
22,
16,
1132,
22,
14432,
202,
202,
2532,
7863,
273,
394,
17427,
1388,
2... |
switch(result) { case 0: ftpProtocol.selectAll(); break; case 1: ftpProtocol.selectNone(); break; default: fieldsSelected = ftpProtocol.isFieldsSelected(); if (ftpProtocol.isFieldsSelected()) doTransfer(); break; } } } | switch (result) { case 0 : ftpProtocol.selectAll(); break; case 1 : ftpProtocol.selectNone(); break; default : fieldsSelected = ftpProtocol.isFieldsSelected(); if (ftpProtocol.isFieldsSelected()) doTransfer(); break; } } } | private void selectFields() { FFDTableModel ffdtm = new FFDTableModel(); //Create table to hold field data JTable fields = new JTable(ffdtm); fields.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); fields.setPreferredScrollableViewportSize(new Dimension(500,200)); //Create the scr... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
918,
2027,
2314,
1435,
288,
1377,
6512,
40,
1388,
1488,
6875,
7510,
81,
273,
394,
6512,
40,
1388,
1488,
5621,
1377,
368,
1684,
1014,
358,
6887,
652,
501,
1377,
804,
1388,
1466,
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,
3238,
918,
2027,
2314,
1435,
288,
1377,
6512,
40,
1388,
1488,
6875,
7510,
81,
273,
394,
6512,
40,
1388,
1488,
5621,
1377,
368,
1684,
1014,
358,
6887,
652,
501,
1377,
804,
1388,
1466,
273,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.