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 |
|---|---|---|---|---|---|---|
if(result==null&&createMBeanServer){ result=createMBeanServer(); | if (result == null && createMBeanServer) { result = createMBeanServer(); | protected synchronized MBeanServer findMBeanServer(){ MBeanServer result=null; // create the mbean server try{ if(useMBeanServer){ if (findTigerMbeanServer) { result = findTigerMBeanServer(); } if (result == null) { ... | 17032 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17032/1ad52f420959e7b55cf301f0f8f61c8d4f4aef98/ManagementContext.java/clean/activemq-core/src/main/java/org/apache/activemq/broker/jmx/ManagementContext.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
3852,
16622,
2081,
1104,
18089,
2081,
1435,
95,
3639,
16622,
2081,
563,
33,
2011,
31,
3639,
368,
752,
326,
29114,
1438,
3639,
775,
95,
5411,
309,
12,
1202,
18089,
2081,
15329,
7734,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
16622,
2081,
1104,
18089,
2081,
1435,
95,
3639,
16622,
2081,
563,
33,
2011,
31,
3639,
368,
752,
326,
29114,
1438,
3639,
775,
95,
5411,
309,
12,
1202,
18089,
2081,
15329,
7734,
... |
ICSourceLocator sl = getSourceLocator(); if ( sl != null ) return ( sl.findSourceElement( handle ) != null ); | ISourceLocator sl = getSourceLocator(); if ( sl instanceof ICSourceLocator ) return ( ((ICSourceLocator)sl).findSourceElement( handle ) != null ); else if ( sl instanceof CSourceLookupDirector ) { return true; } | public boolean isTargetBreakpoint( ICBreakpoint breakpoint ) { // Problem: gdb doesn't accept breakpoint if the file is specified by full path (depends on the current directory). // This prevents us from using gdb as a breakpoint filter. The case when two unrelated projects contain files // with the same name will... | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/af37524c7ae90496885c26ddfc66724b26d89db9/CBreakpointManager.java/clean/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/CBreakpointManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
353,
2326,
20552,
12,
26899,
20552,
18820,
262,
288,
202,
202,
759,
21685,
30,
314,
1966,
3302,
1404,
2791,
18820,
309,
326,
585,
353,
1269,
635,
1983,
589,
261,
27360,
60... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
353,
2326,
20552,
12,
26899,
20552,
18820,
262,
288,
202,
202,
759,
21685,
30,
314,
1966,
3302,
1404,
2791,
18820,
309,
326,
585,
353,
1269,
635,
1983,
589,
261,
27360,
60... |
return filename.endsWith(".h") || filename.endsWith(".c") || filename.endsWith(".cpp") || filename.endsWith(".cxx") || (new File(dir.getAbsolutePath() + System.getProperty("file.separator") + filename).isDirectory()); | return filename.endsWith(".h") || filename.endsWith(".c") || filename.endsWith(".cpp") || filename.endsWith(".cxx") || filename.endsWith(".cc") || (new File(dir.getAbsolutePath() + System.getProperty("file.separator") + filename).isDirectory()); | public boolean accept(File dir, String filename) { return filename.endsWith(".h") || filename.endsWith(".c") || filename.endsWith(".cpp") || filename.endsWith(".cxx") || (new File(dir.getAbsolutePath() + System.getProperty("file.separator") + filename).isDirectory()); } | 45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/d80b5895a8f2b0c7e5b075d6eba4f7f652fd40a1/CPPLanguage.java/buggy/pmd/src/net/sourceforge/pmd/cpd/CPPLanguage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
1250,
2791,
12,
812,
1577,
16,
514,
1544,
13,
288,
5411,
327,
1544,
18,
5839,
1190,
2932,
18,
76,
7923,
747,
1544,
18,
5839,
1190,
2932,
18,
71,
7923,
747,
1544,
18,
5839,
1190,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
1250,
2791,
12,
812,
1577,
16,
514,
1544,
13,
288,
5411,
327,
1544,
18,
5839,
1190,
2932,
18,
76,
7923,
747,
1544,
18,
5839,
1190,
2932,
18,
71,
7923,
747,
1544,
18,
5839,
1190,
... |
return engine.isPropertySetted(Properties.ROW_NUMBER); } | return engine.isPropertySetted(Properties.ROW_NUMBER); } | public final boolean isRowNumberSetted() { return engine.isPropertySetted(Properties.ROW_NUMBER); } | 6232 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6232/1f1850be471d4b8bfd2f3c50aa61bc39bf91259a/ListComponent.java/buggy/org.rcfaces.core/src/org/rcfaces/core/component/ListComponent.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
1250,
353,
1999,
1854,
694,
2344,
1435,
288,
3639,
327,
4073,
18,
291,
1396,
694,
2344,
12,
2297,
18,
11226,
67,
9931,
1769,
565,
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,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
1250,
353,
1999,
1854,
694,
2344,
1435,
288,
3639,
327,
4073,
18,
291,
1396,
694,
2344,
12,
2297,
18,
11226,
67,
9931,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
... |
ASTRewriteCorrectionProposal proposal= new ASTRewriteCorrectionProposal(label, context.getCompilationUnit(), rewrite, 10, image); | LinkedCorrectionProposal proposal= new LinkedCorrectionProposal(label, context.getCompilationUnit(), rewrite, 10, image); proposal.markAsSelection(rewrite, child); | private boolean getAddBlockProposals(IInvocationContext context, ASTNode node, Collection resultingCollections) throws CoreException { Statement statement= ASTResolving.findParentStatement(node); if (statement == null) { return false; } if (!isControlStatementWithBlock(statement)) { if (!isControlStatementWith... | 9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/759ec5819894f610708249db1070b3af8574c605/QuickAssistProcessor.java/buggy/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1250,
336,
986,
1768,
626,
22536,
12,
45,
9267,
1042,
819,
16,
9183,
907,
756,
16,
2200,
8156,
15150,
13,
1216,
30015,
288,
202,
202,
3406,
3021,
33,
9183,
2903,
6282,
18,
47... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1250,
336,
986,
1768,
626,
22536,
12,
45,
9267,
1042,
819,
16,
9183,
907,
756,
16,
2200,
8156,
15150,
13,
1216,
30015,
288,
202,
202,
3406,
3021,
33,
9183,
2903,
6282,
18,
47... |
void setBorderBottomStyle(String borderstyle); | void setBorderBottomStyle( String borderstyle ); | void setBorderBottomStyle(String borderstyle); | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/418b538dedc46927b62e9d884dd3fc2419ed5e34/IScriptStyle.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/script/instance/IScriptStyle.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6459,
25715,
10393,
2885,
12,
780,
5795,
4060,
1769,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6459,
25715,
10393,
2885,
12,
780,
5795,
4060,
1769,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
selectedItem = getElementAt(selected); | selectedItem = getElementAt(selected + 1); | public void removeElementAt(int index) { int selected = getIndexOf(selectedItem); list.remove(index); if (selected == index) // choose a new selected item { if (selected > 0) selectedItem = getElementAt(selected - 1); else selectedItem = getElementAt(selected); } ... | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/8a78b0a127a68dcc6823fee2b8bdb1cbb7ec268d/DefaultComboBoxModel.java/clean/core/src/classpath/javax/javax/swing/DefaultComboBoxModel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
22015,
861,
12,
474,
770,
13,
225,
288,
565,
509,
3170,
273,
8088,
951,
12,
8109,
1180,
1769,
565,
666,
18,
4479,
12,
1615,
1769,
565,
309,
261,
8109,
422,
770,
13,
368,
98... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
22015,
861,
12,
474,
770,
13,
225,
288,
565,
509,
3170,
273,
8088,
951,
12,
8109,
1180,
1769,
565,
666,
18,
4479,
12,
1615,
1769,
565,
309,
261,
8109,
422,
770,
13,
368,
98... |
public int totalRightPadding( CalculatedStyle style ) { calcBorders( style ); | public int totalRightPadding(CalculatedStyle style) { calcBorders(style); | public int totalRightPadding( CalculatedStyle style ) { calcBorders( style ); return totalRightPadding(); } | 57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/8f81e5fe9f6f8593d3c596d30a3f100cb87dbf27/Box.java/buggy/src/java/org/xhtmlrenderer/render/Box.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
2078,
4726,
9485,
12,
15994,
690,
2885,
2154,
262,
288,
3639,
7029,
21621,
12,
2154,
11272,
3639,
327,
2078,
4726,
9485,
5621,
565,
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,
377,
1071,
509,
2078,
4726,
9485,
12,
15994,
690,
2885,
2154,
262,
288,
3639,
7029,
21621,
12,
2154,
11272,
3639,
327,
2078,
4726,
9485,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
... |
"[Product].[All Products]"; test.assertEquals(expected, test.toString(axis.positions)); | "[Product].[All Products]"); | protected void defineFunctions() { // first char: p=Property, m=Method, i=Infix, P=Prefix // 2nd: // ARRAY FUNCTIONS if (false) define(new FunDefBase("SetToArray", "SetToArray(<Set>[, <Set>]...[, <Numeric Expression>])", "Converts one or more sets to an array for use in a user-if (false) defined function.", "fa*")... | 4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/70c4270c1bff30f538d792913a6023b7dd613649/BuiltinFunTable.java/buggy/src/main/mondrian/olap/fun/BuiltinFunTable.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
4426,
7503,
1435,
288,
202,
202,
759,
1122,
1149,
30,
293,
33,
1396,
16,
312,
33,
1305,
16,
277,
33,
382,
904,
16,
453,
33,
2244,
202,
202,
759,
576,
4880,
30,
202,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
4426,
7503,
1435,
288,
202,
202,
759,
1122,
1149,
30,
293,
33,
1396,
16,
312,
33,
1305,
16,
277,
33,
382,
904,
16,
453,
33,
2244,
202,
202,
759,
576,
4880,
30,
202,
... |
for(int i=0;i<checkBlockStatus.length;i++) { Bucket data = buckets[i+k]; if(data == null) throw new NullPointerException(); | for (int i = 0; i < checkBlockStatus.length; i++) { Bucket data = buckets[i + k]; if (data == null) throw new NullPointerException(); | private void realEncode(SplitfileBlock[] dataBlockStatus, SplitfileBlock[] checkBlockStatus, int blockLength, BucketFactory bf) throws IOException { System.err.println("************* Encoding "+dataBlockStatus.length+" -> "+checkBlockStatus.length+" *************"); Logger.minor(this, "Doing encode: "+dataBlockStatu... | 51834 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51834/fbdde7654afdefd24ae4365520a38c1c680248a7/StandardOnionFECCodec.java/clean/src/freenet/client/StandardOnionFECCodec.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
2863,
5509,
12,
5521,
768,
1768,
8526,
501,
1768,
1482,
16,
5385,
768,
1768,
8526,
866,
1768,
1482,
16,
509,
25367,
16,
7408,
1733,
16222,
13,
1216,
1860,
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,
225,
202,
1152,
918,
2863,
5509,
12,
5521,
768,
1768,
8526,
501,
1768,
1482,
16,
5385,
768,
1768,
8526,
866,
1768,
1482,
16,
509,
25367,
16,
7408,
1733,
16222,
13,
1216,
1860,
288,
202,
202,
... |
createDataSource1( ); | createDataSource( ); | public void testCreateDataSource( ) { SlotHandle parent = getReportDesignHandle( ).getDataSources( ); assertEquals( 0, parent.getCount( ) ); createDataSource1( ); assertEquals( 1, parent.getCount( ) ); assertEquals( dataSource1, parent.get( 0 ) ); } | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/b9f84cd07cb7f30deba7d065768baa7f57d2487d/CreateCommandTest.java/buggy/UI/org.eclipse.birt.report.designer.tests/test/org/eclipse/birt/report/designer/core/commands/CreateCommandTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
1684,
8597,
12,
262,
202,
95,
202,
202,
8764,
3259,
982,
273,
22452,
15478,
3259,
12,
262,
18,
588,
751,
8628,
12,
11272,
202,
202,
11231,
8867,
12,
374,
16,
982,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1684,
8597,
12,
262,
202,
95,
202,
202,
8764,
3259,
982,
273,
22452,
15478,
3259,
12,
262,
18,
588,
751,
8628,
12,
11272,
202,
202,
11231,
8867,
12,
374,
16,
982,
... |
addCategoriesFromDatabaseToDocument(document); | addCategoriesFromDatabaseToDocument( document ); | public void initLazilyLoadedDocumentCategories(DocumentDomainObject document) { addCategoriesFromDatabaseToDocument(document); } | 8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/f203f6fc91c9ae8d2fcd69e28ea9f0981a4ee690/DocumentMapper.java/buggy/server/src/imcode/server/document/DocumentMapper.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1208,
48,
20811,
8835,
2519,
10487,
12,
2519,
3748,
921,
1668,
13,
288,
3639,
527,
10487,
1265,
4254,
774,
2519,
12,
1668,
11272,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1208,
48,
20811,
8835,
2519,
10487,
12,
2519,
3748,
921,
1668,
13,
288,
3639,
527,
10487,
1265,
4254,
774,
2519,
12,
1668,
11272,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-10... |
case Connection.TRANSACTION_READ_UNCOMMITTED: sql.append("READ UNCOMMITTED"); break; | case Connection.TRANSACTION_READ_UNCOMMITTED: sql.append("READ UNCOMMITTED"); break; | private void sqlStatementToSetTransactionIsolationLevel(StringBuffer sql) throws SQLException { sql.append("SET TRANSACTION ISOLATION LEVEL "); switch (transactionIsolationLevel) { case Connection.TRANSACTION_READ_UNCOMMITTED: sql.append("READ UNCOMMITTED"); ... | 439 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/439/082f6b97f424e9550bf490d66efbe1c288b8df9b/Tds.java/clean/trunk/jtds/src/main/net/sourceforge/jtds/jdbc/Tds.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1847,
3406,
25208,
3342,
22982,
2355,
12,
780,
1892,
1847,
13,
565,
1216,
6483,
288,
3639,
1847,
18,
6923,
2932,
4043,
24896,
4437,
1741,
2689,
15080,
315,
1769,
3639,
1620,
261,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1847,
3406,
25208,
3342,
22982,
2355,
12,
780,
1892,
1847,
13,
565,
1216,
6483,
288,
3639,
1847,
18,
6923,
2932,
4043,
24896,
4437,
1741,
2689,
15080,
315,
1769,
3639,
1620,
261,... |
Expression expression = (Expression) entry.getValue(); | Expression expression = ((ExpressionAttribute) entry.getValue()).exp; | public void run(JellyContext context, XMLOutput output) throws JellyTagException { URL rootURL = context.getRootURL(); URL currentURL = context.getCurrentURL(); try { Tag tag = getTag(context); if ( tag == null ) { return; } tag.setCont... | 51800 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51800/357282dec062f82da2a86ddbe7b32607814e4e5d/TagScript.java/clean/src/java/org/apache/commons/jelly/impl/TagScript.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
12,
46,
292,
715,
1042,
819,
16,
3167,
1447,
876,
13,
1216,
804,
292,
715,
1805,
503,
288,
3639,
1976,
1365,
1785,
273,
819,
18,
588,
2375,
1785,
5621,
3639,
1976,
783,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
12,
46,
292,
715,
1042,
819,
16,
3167,
1447,
876,
13,
1216,
804,
292,
715,
1805,
503,
288,
3639,
1976,
1365,
1785,
273,
819,
18,
588,
2375,
1785,
5621,
3639,
1976,
783,... |
_message = receivedMessage; _from = from; _fromHash = fromHash; _replyBlock = replyBlock; | _message = receivedMessage; _from = from; _fromHash = fromHash; _replyBlock = replyBlock; | HandleTunnelCreateMessageJob(TunnelCreateMessage receivedMessage, RouterIdentity from, Hash fromHash, SourceRouteBlock replyBlock) { _message = receivedMessage; _from = from; _fromHash = fromHash; _replyBlock = replyBlock; } | 27493 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27493/86759d2f9c63d203488c7e8b34e64be162a16ce9/HandleTunnelCreateMessageJob.java/buggy/router/java/src/net/i2p/router/tunnelmanager/HandleTunnelCreateMessageJob.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
5004,
20329,
1684,
1079,
2278,
12,
20329,
1684,
1079,
5079,
1079,
16,
9703,
4334,
628,
16,
2474,
628,
2310,
16,
4998,
3255,
1768,
4332,
1768,
13,
288,
202,
67,
2150,
273,
5079,
1079,
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,
5004,
20329,
1684,
1079,
2278,
12,
20329,
1684,
1079,
5079,
1079,
16,
9703,
4334,
628,
16,
2474,
628,
2310,
16,
4998,
3255,
1768,
4332,
1768,
13,
288,
202,
67,
2150,
273,
5079,
1079,
31,
... |
appendStatus(status.getContentsStatus(), sb); | if (!status.isIncomplete()) { appendStatus(status.getContentsStatus(), sb); } else { sb.append("!"); } | private void printStatus(String path, SVNStatus status, PrintStream out) { if (getCommandLine().hasArgument(SVNArgument.QUIET) && (!status.isManaged() || status.getContentsStatus() == SVNStatus.EXTERNAL)) { return; } boolean remoteMode = getCommandLine().hasArgument(SVNArgument.SHOW_... | 5695 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5695/ab9cf39dbd68d009f9176057d6b24f71d6e54e5d/StatusCommand.java/clean/javasvn/src/org/tmatesoft/svn/cli/command/StatusCommand.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1172,
1482,
12,
780,
589,
16,
29537,
50,
1482,
1267,
16,
21677,
596,
13,
288,
3639,
309,
261,
588,
21391,
7675,
5332,
1379,
12,
23927,
50,
1379,
18,
8627,
1584,
13,
597,
1605... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1172,
1482,
12,
780,
589,
16,
29537,
50,
1482,
1267,
16,
21677,
596,
13,
288,
3639,
309,
261,
588,
21391,
7675,
5332,
1379,
12,
23927,
50,
1379,
18,
8627,
1584,
13,
597,
1605... |
protected void fireLabelProviderChanged(LabelProviderChangedEvent event) { | protected void fireLabelProviderChanged(final LabelProviderChangedEvent event) { | protected void fireLabelProviderChanged(LabelProviderChangedEvent event) { Object[] listeners = this.listeners.getListeners(); for (int i = 0; i < listeners.length; ++i) { ((ILabelProviderListener) listeners[i]).labelProviderChanged(event); }} | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/75cf57f2af2f39e062e4b2d7f104f731ee34bcf7/LabelProvider.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/LabelProvider.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
918,
4452,
2224,
2249,
5033,
12,
2224,
2249,
27553,
871,
13,
288,
202,
921,
8526,
4679,
273,
333,
18,
16072,
18,
588,
5583,
5621,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
4679... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
918,
4452,
2224,
2249,
5033,
12,
2224,
2249,
27553,
871,
13,
288,
202,
921,
8526,
4679,
273,
333,
18,
16072,
18,
588,
5583,
5621,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
4679... |
if (mid >= count) { | if (mid >= currentSize) { | protected int indexForElement(Widget parent, Object element) { ViewerSorter sorter = getSorter(); int count; if(parent instanceof Control) count = getItemCount((Control) parent); else{ if(parent instanceof Item) count = getItemCount((Item) parent); else count = getChildren(parent).length; }... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/9478b2302b40aea9f345ff08d19d15cb33c39e52/AbstractTreeViewer.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractTreeViewer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
509,
770,
1290,
1046,
12,
4609,
982,
16,
1033,
930,
13,
288,
3639,
4441,
264,
24952,
19867,
273,
1322,
4975,
5621,
9506,
202,
474,
1056,
31,
202,
202,
430,
12,
2938,
1276,
8888,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
509,
770,
1290,
1046,
12,
4609,
982,
16,
1033,
930,
13,
288,
3639,
4441,
264,
24952,
19867,
273,
1322,
4975,
5621,
9506,
202,
474,
1056,
31,
202,
202,
430,
12,
2938,
1276,
8888,
1... |
newReportFileWizardPage.setFileName( getUniqueReportName( ) ); | newReportFileWizardPage.setFileName( getUniqueReportName( ) + "." + fileExtension ); | public void addPages( ) { newReportFileWizardPage = new WizardNewReportCreationPage( WIZARDPAGE, selection ); addPage( newReportFileWizardPage ); // Temporary remark the choice page for that feature is not supported in // R1 // choicePage = new WizardChoicePage( TEMPLATECHOICEPAGE ); // addPage( choicePage... | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/c22efc94d5781b8af580a7e4ff478999ea7b0fb6/NewReportWizard.java/clean/UI/org.eclipse.birt.report.designer.ui.ide/src/org/eclipse/birt/report/designer/ui/ide/wizards/NewReportWizard.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
527,
5716,
12,
262,
202,
95,
202,
202,
2704,
4820,
812,
27130,
1964,
273,
394,
678,
13412,
1908,
4820,
9906,
1964,
12,
678,
6867,
8085,
11219,
16,
9506,
202,
10705,
11272,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
527,
5716,
12,
262,
202,
95,
202,
202,
2704,
4820,
812,
27130,
1964,
273,
394,
678,
13412,
1908,
4820,
9906,
1964,
12,
678,
6867,
8085,
11219,
16,
9506,
202,
10705,
11272,
... |
if ( container.getDataSet( ) == null ) | DataSetHandle containerDataSet = DEUtil.getFirstDataSet( container ); container = DEUtil.getListingContainer( container ); if ( containerDataSet == null && container != null ) | protected static DataItemHandle performInsertDataSetColumn( ResultSetColumnHandle model, Object target, Object targetParent ) throws SemanticException { /* * search the target container, if container has the same dataset, add * the column binding if it does not exist in the container. If the * container's d... | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/854188015e2f84d22fbb8be65119fbc50ebdd918/InsertInLayoutUtil.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dnd/InsertInLayoutUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
760,
1910,
1180,
3259,
3073,
4600,
13676,
1494,
12,
1082,
202,
13198,
1494,
3259,
938,
16,
1033,
1018,
16,
1033,
1018,
3054,
262,
1082,
202,
15069,
24747,
503,
202,
95,
202,
20... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
760,
1910,
1180,
3259,
3073,
4600,
13676,
1494,
12,
1082,
202,
13198,
1494,
3259,
938,
16,
1033,
1018,
16,
1033,
1018,
3054,
262,
1082,
202,
15069,
24747,
503,
202,
95,
202,
20... |
if(this.pubKey != null && this.pubKey != pubKey && !this.pubKey.equals(pubKey)) | if((this.pubKey != null) && (this.pubKey != pubKey) && !this.pubKey.equals(pubKey)) | public void setPublicKey(DSAPublicKey pubKey) { if(this.pubKey != null && this.pubKey != pubKey && !this.pubKey.equals(pubKey)) throw new IllegalArgumentException("Cannot reassign: was "+this.pubKey+" now "+pubKey); this.pubKey = pubKey; } | 46731 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46731/ca136843ae9ecb30cadada58a33a5dc2cf8ad064/ClientSSK.java/buggy/src/freenet/keys/ClientSSK.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
9632,
12,
3948,
2203,
24312,
18659,
13,
288,
202,
202,
430,
12,
2211,
18,
10174,
653,
480,
446,
597,
333,
18,
10174,
653,
480,
18659,
597,
401,
2211,
18,
10174,
653,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9632,
12,
3948,
2203,
24312,
18659,
13,
288,
202,
202,
430,
12,
2211,
18,
10174,
653,
480,
446,
597,
333,
18,
10174,
653,
480,
18659,
597,
401,
2211,
18,
10174,
653,... |
java.io.File[] files = dir.listFiles(); if (files != null) { for(int i=0 ; i < files.length ; i++) { delDirectory(files[i]); } } System.out.println("deleting "+dir.getPath()+" ..."); dir.delete(); if (dir.exists()) { System.out.println("We cannot delete this file : "+dir.getPath()); System.out.println("... You should d... | java.io.File[] files = dir.listFiles(); if (files != null) { for (int i = 0; i < files.length; i++) { delDirectory(files[i]); | protected static void delDirectory(java.io.File dir) { java.io.File[] files = dir.listFiles(); if (files != null) { for(int i=0 ; i < files.length ; i++) { delDirectory(files[i]); } } System.out.println("deleting "+dir.getPath()+" ..."); dir.delete(); if (dir.ex... | 23362 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/23362/587595d3d238a839759fc80780989cf7b46a7398/ServiceLocatorHelper.java/clean/src/org/objectweb/proactive/core/jini/ServiceLocatorHelper.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
760,
918,
1464,
2853,
12,
6290,
18,
1594,
18,
812,
1577,
13,
288,
1377,
2252,
18,
1594,
18,
812,
8526,
1390,
273,
1577,
18,
1098,
2697,
5621,
1850,
309,
261,
2354,
480,
446,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
760,
918,
1464,
2853,
12,
6290,
18,
1594,
18,
812,
1577,
13,
288,
1377,
2252,
18,
1594,
18,
812,
8526,
1390,
273,
1577,
18,
1098,
2697,
5621,
1850,
309,
261,
2354,
480,
446,
13,
... |
rebind( orb.object_to_string( fwd.forward ) ); | rebind(fwd.forward); | public void invokeInterceptors( ClientRequestInfoImpl info, short op ) throws RemarshalException { ClientInterceptorIterator intercept_iter = orb.getInterceptorManager().getClientIterator(); try { intercept_iter.iterate( info, op ); } catch ( org.om... | 46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/978c5f9101c798b686e712fe878f1543d0d849ee/Delegate.java/clean/src/org/jacorb/orb/Delegate.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4356,
20540,
12,
2445,
23113,
2828,
1123,
16,
3025,
1061,
262,
3639,
1216,
2663,
2237,
503,
565,
288,
3639,
2445,
10281,
3198,
10883,
67,
2165,
273,
5411,
16823,
18,
588,
10281,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4356,
20540,
12,
2445,
23113,
2828,
1123,
16,
3025,
1061,
262,
3639,
1216,
2663,
2237,
503,
565,
288,
3639,
2445,
10281,
3198,
10883,
67,
2165,
273,
5411,
16823,
18,
588,
10281,
... |
new DefaultBindSpec().setValidator(validator)); | new DefaultBindSpec().setTargetValidator(validator)); | public void testScenario07() { // Binding the price property of an Adventure to a Text control. Price // is a double and Text accepts String so conversion will have to occur. // Validation ensure that the value is positive Text text = new Text(getComposite(), SWT.BORDER); adventur... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/746d711da082dfe9c1252ed16a48aab57f9d9b94/PropertyScenarios.java/buggy/tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/tests/databinding/scenarios/PropertyScenarios.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
21390,
8642,
1435,
288,
3639,
368,
15689,
326,
6205,
1272,
434,
392,
4052,
616,
594,
358,
279,
3867,
3325,
18,
20137,
3639,
368,
353,
279,
1645,
471,
3867,
8104,
514,
142... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
21390,
8642,
1435,
288,
3639,
368,
15689,
326,
6205,
1272,
434,
392,
4052,
616,
594,
358,
279,
3867,
3325,
18,
20137,
3639,
368,
353,
279,
1645,
471,
3867,
8104,
514,
142... |
return position == 0; } | return position == 0; } | public boolean isFirst() throws OLAPException { return position == 0; } | 37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/b5b5168edc3af09cb74945a80b0c36e6630ed502/ArrayNavigator.java/buggy/src/main/mondrian/jolap/ArrayNavigator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
17447,
1435,
1216,
531,
48,
2203,
503,
288,
202,
202,
2463,
1754,
422,
374,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
17447,
1435,
1216,
531,
48,
2203,
503,
288,
202,
202,
2463,
1754,
422,
374,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
extractZipFile(srcZip.getLocation().toFile(), dest.getFullPath(), monitor); | extractZipFile(srcZip.getLocation().toFile(), dest.getFullPath(), new SubProgressMonitor(monitor, 1)); | private void importAsSource(IProject project, IPluginModelBase model, SubProgressMonitor monitor) throws CoreException { monitor.beginTask("", 3); //$NON-NLS-1$ importAsBinary(project, model, false, new SubProgressMonitor(monitor, 2)); WorkspaceBuildModel buildModel = new WorkspaceBuildModel(project.getFile("buil... | 14404 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14404/4472217a291214221a3c1ce7f17bd4d60cd105a6/PluginImportOperation.java/buggy/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/wizards/imports/PluginImportOperation.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1930,
1463,
1830,
12,
45,
4109,
1984,
16,
467,
3773,
1488,
2171,
938,
16,
2592,
5491,
7187,
6438,
13,
1216,
30015,
288,
202,
202,
10259,
18,
10086,
2174,
2932,
3113,
890,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1930,
1463,
1830,
12,
45,
4109,
1984,
16,
467,
3773,
1488,
2171,
938,
16,
2592,
5491,
7187,
6438,
13,
1216,
30015,
288,
202,
202,
10259,
18,
10086,
2174,
2932,
3113,
890,
... |
double ten = Math.log(10); | public void paint( Graphics2D g, SequenceRenderContext src, RangeLocation pos ) { int min = pos.getMin(); int max = pos.getMax(); double minX = src.sequenceToGraphics(min); double maxX = src.sequenceToGraphics(max); double scale = src.getScale(); double halfScale = scale * 0.5; Line2D line... | 50115 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50115/2a2b36dbfb7f07e77fb728d185ebe5003e654a81/RulerRenderer.java/clean/src/org/biojava/bio/gui/sequence/RulerRenderer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
12574,
12,
565,
16830,
22,
40,
314,
16,
8370,
3420,
1042,
1705,
16,
565,
8086,
2735,
949,
225,
262,
288,
565,
509,
1131,
273,
949,
18,
588,
2930,
5621,
565,
509,
943,
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,
282,
1071,
918,
12574,
12,
565,
16830,
22,
40,
314,
16,
8370,
3420,
1042,
1705,
16,
565,
8086,
2735,
949,
225,
262,
288,
565,
509,
1131,
273,
949,
18,
588,
2930,
5621,
565,
509,
943,
273,
... | |
loop47: | loop48: | public ArrayList argument_list() throws RecognitionException { ArrayList args; ArgumentValueDescr param = null; args = new ArrayList(); try { // /home/michael/projects/jboss-rules/drools-compiler/src/main/resources/org/drools/lang/drl.g:763:17: ( (param= argument... | 5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/12c8feffd968f958100f654d836fa3c2ee21ded8/RuleParser.java/clean/drools-compiler/src/main/java/org/drools/lang/RuleParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2407,
1237,
67,
1098,
1435,
1216,
9539,
288,
6647,
2407,
833,
31,
3639,
5067,
620,
16198,
579,
273,
446,
31,
540,
202,
202,
1968,
273,
394,
2407,
5621,
540,
202,
3639,
775,
288,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2407,
1237,
67,
1098,
1435,
1216,
9539,
288,
6647,
2407,
833,
31,
3639,
5067,
620,
16198,
579,
273,
446,
31,
540,
202,
202,
1968,
273,
394,
2407,
5621,
540,
202,
3639,
775,
288,
5... |
if (inClassContext && sym.owner().isPrimaryConstructor()) | if (inClassContext && name.isTermName() && sym.owner().isPrimaryConstructor()) | public Tree transform(Tree tree) { switch (tree) { case ClassDef(int mods, // : Name name, Tree.TypeDef[] tparams, Tree.ValDef[][] vparams, Tree tpe, Tree.Template impl): { Symbol clsSym... | 9617 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9617/144fa12bf87abeba2736c149f83064c08af9e4a6/AddAccessors.java/clean/sources/scalac/transformer/AddAccessors.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4902,
2510,
12,
2471,
2151,
13,
288,
3639,
1620,
261,
3413,
13,
288,
3639,
648,
1659,
3262,
12,
474,
15546,
16,
368,
294,
8227,
1770,
508,
16,
8227,
4902,
18,
559,
3262,
8526,
268... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4902,
2510,
12,
2471,
2151,
13,
288,
3639,
1620,
261,
3413,
13,
288,
3639,
648,
1659,
3262,
12,
474,
15546,
16,
368,
294,
8227,
1770,
508,
16,
8227,
4902,
18,
559,
3262,
8526,
268... |
verbose, rmiHost, rmiPort, tempPath, appProps); if (verbose) { System.out.println(serverName); | serverConfig.isVerbose(), serverConfig.getRMIHost(), serverConfig.getRMIPort(), serverConfig.getTempPath(), serverConfig.getLoadDefaultProps(), args); if (serverConfig.isVerbose()) { System.out.println(serverConfig.getServerName()); | public void start() throws Exception { if (verbose) { if (appProps != null) { appProps.list(System.err); } } // start an RMIRegistry - exit on failure if (verbose) { System.err.print("Creating Registry: "); } registry = LocateRegistry.createRegistry(rmiPort); if (verbose) { ... | 7982 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7982/c59b9ef0b875b8d0e473d002533adf2a9fe71f00/ServerDaemon.java/buggy/server/src/org/cougaar/tools/server/rmi/ServerDaemon.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
787,
1435,
1216,
1185,
288,
565,
309,
261,
11369,
13,
288,
1377,
309,
261,
2910,
5047,
480,
446,
13,
288,
3639,
595,
5047,
18,
1098,
12,
3163,
18,
370,
1769,
1377,
289,
565,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
787,
1435,
1216,
1185,
288,
565,
309,
261,
11369,
13,
288,
1377,
309,
261,
2910,
5047,
480,
446,
13,
288,
3639,
595,
5047,
18,
1098,
12,
3163,
18,
370,
1769,
1377,
289,
565,
... |
if (c.getBackground()!=null) | if (c.getBackground()!=null){ | public static void printTableCellColors(Device s, SComponent c) throws IOException { // if (c.getForeground()!=null) // s.print(" COLOR=#"). // print(toColorString(c.getForeground())); if (c.getBackground()!=null) s.print(" bgcolor=\"#") .pri... | 3911 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3911/3ad53c7100c4146af7849a303bdde5937eea56f6/Utils.java/clean/wings/src/org/wings/plaf/xhtml/Utils.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
1172,
1388,
4020,
12570,
12,
3654,
272,
16,
348,
1841,
276,
13,
540,
1216,
1860,
288,
3639,
368,
309,
261,
71,
18,
588,
23206,
1435,
5,
33,
2011,
13,
3639,
368,
377,
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,
760,
918,
1172,
1388,
4020,
12570,
12,
3654,
272,
16,
348,
1841,
276,
13,
540,
1216,
1860,
288,
3639,
368,
309,
261,
71,
18,
588,
23206,
1435,
5,
33,
2011,
13,
3639,
368,
377,
2... |
} if (t == LA(1)) break; | } if (t == LA(1)) break; } IASTPointerOperator po = null; if (nameDuple != null) { IASTName name = createName(nameDuple); ICPPASTPointerToMember p2m = createPointerToMember(isRestrict); ((ASTNode) p2m).setOffsetAndLength(nameDuple .getFirstToken().getOffset(), last.getEndOffset() - nameDuple.getFirstToken().getOffset(... | protected void consumePointerOperators(List collection) throws EndOfFileException, BacktrackException { for (;;) { if (LT(1) == IToken.tAMPER) { int length = LA(1).getEndOffset() - LA(1).getOffset(); int o = consume(IToken.tAMPER).getOffset(); ICPPASTReferenceOpe... | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/8b59056395eb6c26e898030e7e1cd1b78d4db999/GNUCPPSourceParser.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/GNUCPPSourceParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
4750,
918,
7865,
4926,
24473,
12,
682,
1849,
13,
540,
1216,
4403,
951,
812,
503,
16,
4297,
4101,
503,
288,
1377,
364,
261,
25708,
13,
288,
540,
309,
261,
12050,
12,
21,
13,
422,
467,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
918,
7865,
4926,
24473,
12,
682,
1849,
13,
540,
1216,
4403,
951,
812,
503,
16,
4297,
4101,
503,
288,
1377,
364,
261,
25708,
13,
288,
540,
309,
261,
12050,
12,
21,
13,
422,
467,
... |
return Collections.EMPTY_LIST; | return EMPTY_LIST; | public List childNodes() { return Collections.EMPTY_LIST; } | 49687 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49687/b1293eda8454686e846e2a9837b348e2983bb423/ZArrayNode.java/buggy/src/org/jruby/ast/ZArrayNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
987,
10582,
1435,
288,
3639,
327,
8984,
67,
7085,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
987,
10582,
1435,
288,
3639,
327,
8984,
67,
7085,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
public static EOEnterpriseObject editableInstanceOfObject( EOEnterpriseObject eo, boolean createNestedContext) { if (eo == null) throw new IllegalArgumentException("EO can't be null"); EOEditingContext ec = eo.editingContext(); if (ec == null) throw new IllegalArgumentException("EO must live in an EC"); | public static EOEnterpriseObject editableInstanceOfObject(EOEnterpriseObject eo, boolean createNestedContext) { if(eo == null) throw new IllegalArgumentException("EO can't be null"); EOEditingContext ec = eo.editingContext(); if(ec == null) throw new IllegalArgumentException("EO must live in an EC"); | public static EOEnterpriseObject editableInstanceOfObject( EOEnterpriseObject eo, boolean createNestedContext) { if (eo == null) throw new IllegalArgumentException("EO can't be null"); EOEditingContext ec = eo.editingContext(); if (ec == null) throw new IllegalArgumentException("EO m... | 50512 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50512/34bd76e4415f130e75e7bb5959a34935299de2cf/ERXEOControlUtilities.java/clean/Common/Frameworks/ERExtensions/Sources/er/extensions/ERXEOControlUtilities.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
512,
51,
30699,
921,
13754,
1442,
951,
921,
12,
5411,
512,
51,
30699,
921,
425,
83,
16,
1250,
752,
8649,
1042,
13,
288,
3639,
309,
261,
4361,
422,
446,
13,
604,
394,
2754,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
512,
51,
30699,
921,
13754,
1442,
951,
921,
12,
5411,
512,
51,
30699,
921,
425,
83,
16,
1250,
752,
8649,
1042,
13,
288,
3639,
309,
261,
4361,
422,
446,
13,
604,
394,
2754,
... |
try | */ try | protected String handleImage(IImage image, Object context, String prefix, boolean needMap) { String mapID = null; if(needMap) { mapID = getImageMapID(image); if(map.containsKey(mapID)) { return (String)map.get(mapID); } } String ret = null; boolean returnRelativePath = true; if (context != null &... | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/32c6275f2d1ede54e1de6e010ac62d0ff752eb3e/HTMLCompleteImageHandler.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/HTMLCompleteImageHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
514,
1640,
2040,
12,
45,
2040,
1316,
16,
1033,
819,
16,
514,
1633,
16,
1250,
1608,
863,
13,
202,
95,
202,
202,
780,
852,
734,
273,
446,
31,
202,
202,
430,
12,
14891,
863,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
514,
1640,
2040,
12,
45,
2040,
1316,
16,
1033,
819,
16,
514,
1633,
16,
1250,
1608,
863,
13,
202,
95,
202,
202,
780,
852,
734,
273,
446,
31,
202,
202,
430,
12,
14891,
863,
... |
Patch myPatch=((Patch)myModel.PatchList.get (table.getSelectedRow ())); PatchEdit.getDriver (myPatch.deviceNum,myPatch.driverNum).calculateChecksum (myPatch); PatchEdit.getDriver (myPatch.deviceNum,myPatch.driverNum).choosePatch (myPatch); | Patch myPatch=((Patch)myModel.PatchList.get(table.getSelectedRow())); PatchEdit.getDriver(myPatch.deviceNum,myPatch.driverNum).calculateChecksum(myPatch); PatchEdit.getDriver(myPatch.deviceNum,myPatch.driverNum).choosePatch(myPatch); | public void StoreSelectedPatch () { Patch myPatch=((Patch)myModel.PatchList.get (table.getSelectedRow ())); PatchEdit.getDriver (myPatch.deviceNum,myPatch.driverNum).calculateChecksum (myPatch); PatchEdit.getDriver (myPatch.deviceNum,myPatch.driverNum).choosePatch (myPatch); } | 7591 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7591/62b315e8a465a26dabe894fe915eab34f48f17f0/LibraryFrame.java/clean/JSynthLib/core/LibraryFrame.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4994,
7416,
7332,
1832,
565,
288,
3639,
12042,
3399,
7332,
33,
12443,
7332,
13,
4811,
1488,
18,
7332,
682,
18,
588,
261,
2121,
18,
588,
7416,
1999,
1832,
10019,
3639,
12042,
46... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4994,
7416,
7332,
1832,
565,
288,
3639,
12042,
3399,
7332,
33,
12443,
7332,
13,
4811,
1488,
18,
7332,
682,
18,
588,
261,
2121,
18,
588,
7416,
1999,
1832,
10019,
3639,
12042,
46... |
ShadowProxyFactory.UPDATE_PROXY, Type.getMethodDescriptor( Type.VOID_TYPE, new Type[]{} ), null, null ); | ShadowProxyFactory.UPDATE_PROXY, Type.getMethodDescriptor( Type.VOID_TYPE, new Type[]{} ), null, null ); | protected static void buildUpdateProxyMethod(final Map fieldTypes, final String className, final ClassWriter cw) { final MethodVisitor mv = cw.visitMethod( Opcodes.ACC_PUBLIC, ... | 31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/8a995b973ca7b7806073dba61752af32011a4945/ShadowProxyFactory.java/buggy/drools-core/src/main/java/org/drools/base/ShadowProxyFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
760,
918,
1361,
1891,
3886,
1305,
12,
6385,
1635,
652,
2016,
16,
4766,
1171,
727,
514,
2658,
16,
4766,
1171,
727,
31807,
14098,
13,
288,
3639,
727,
2985,
7413,
7701,
273,
14098,
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,
377,
4750,
760,
918,
1361,
1891,
3886,
1305,
12,
6385,
1635,
652,
2016,
16,
4766,
1171,
727,
514,
2658,
16,
4766,
1171,
727,
31807,
14098,
13,
288,
3639,
727,
2985,
7413,
7701,
273,
14098,
18,... |
IWorkbenchWindow window = workbench.getActiveWorkbenchWindow(); if (window == null) return; | public void run() { // Ask the user to select a feature AboutInfo[] features = ((Workbench)workbench).getFeaturesInfo(); ArrayList welcomeFeatures = new ArrayList(); for (int i = 0; i < features.length; i++) { if (features[i].getWelcomePageURL() != null) welcomeFeatures.add(features[i]); } Shell shell = workbench.g... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/adfa186e83e30f859940748767780497dced32bc/QuickStartAction.java/clean/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/QuickStartAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
1086,
1435,
288,
202,
759,
25747,
326,
729,
358,
2027,
279,
2572,
202,
24813,
966,
8526,
4467,
273,
14015,
2421,
22144,
13,
1252,
22144,
2934,
588,
8696,
966,
5621,
202,
19558,
28329,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
918,
1086,
1435,
288,
202,
759,
25747,
326,
729,
358,
2027,
279,
2572,
202,
24813,
966,
8526,
4467,
273,
14015,
2421,
22144,
13,
1252,
22144,
2934,
588,
8696,
966,
5621,
202,
19558,
28329,... | |
handleUnexpectedToken(st, "Expected syntax is : " + "principal [class_name] \"principal_name\""); | handleUnexpectedToken(st, Messages.getString("security.8D")); | protected PrincipalEntry readPrincipalEntry(StreamTokenizer st) throws IOException, InvalidFormatException { PrincipalEntry pe = new PrincipalEntry(); if (st.nextToken() == StreamTokenizer.TT_WORD) { pe.klass = st.sval; st.nextToken(); } else if (st.ttype == '*'... | 54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/c7fdc88348ff6da63262b6309c2810876f42c6d8/DefaultPolicyScanner.java/clean/modules/security/src/main/java/common/org/apache/harmony/security/DefaultPolicyScanner.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
17010,
1622,
855,
9155,
1622,
12,
1228,
10524,
384,
13,
5411,
1216,
1860,
16,
1962,
9291,
288,
3639,
17010,
1622,
2804,
273,
394,
17010,
1622,
5621,
3639,
309,
261,
334,
18,
4285,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
17010,
1622,
855,
9155,
1622,
12,
1228,
10524,
384,
13,
5411,
1216,
1860,
16,
1962,
9291,
288,
3639,
17010,
1622,
2804,
273,
394,
17010,
1622,
5621,
3639,
309,
261,
334,
18,
4285,
1... |
getServletContext().addMimeMapping(extension,type); | getServletContext().addMimeMapping(extension, type); | public synchronized void sfStart() throws SmartFrogException, RemoteException { super.sfStart(); extension = sfResolve(ATTR_EXTENSION, extension, true); type = sfResolve(ATTR_TYPE, type, true); getServletContext().addMimeMapping(extension,type); } | 4987 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4987/bd84493b318ded314c6b8f689fb68a51db82e2e7/MimeTypeImpl.java/buggy/core/components/www/src/org/smartfrog/services/www/context/MimeTypeImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
918,
9033,
1685,
1435,
1216,
19656,
42,
303,
75,
503,
16,
5411,
18361,
288,
3639,
2240,
18,
21668,
1685,
5621,
3639,
2710,
273,
9033,
8460,
12,
12043,
67,
12796,
16,
2710,
16,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
918,
9033,
1685,
1435,
1216,
19656,
42,
303,
75,
503,
16,
5411,
18361,
288,
3639,
2240,
18,
21668,
1685,
5621,
3639,
2710,
273,
9033,
8460,
12,
12043,
67,
12796,
16,
2710,
16,... |
"TablePageGenerator.List.Section", | public ICategoryProvider getCategoryProvider( String elementName ) { if ( ReportDesignConstants.CELL_ELEMENT.equals( elementName ) ) { return new CategoryProvider( new String[]{ "CellPageGenerator.List.General", //$NON-NLS-1$ "CellPageGenerator.List.CellPadding", //$NON-NLS-1$ "CellPageGenerator.List.F... | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/5d5cf7d0a9de5446592b0cec98f7acbcd7098675/IDECategoryProviderFactory.java/buggy/UI/org.eclipse.birt.report.designer.ui.ide/src/org/eclipse/birt/report/designer/internal/ui/ide/propertyeditor/IDECategoryProviderFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
4457,
2249,
19110,
2249,
12,
514,
14453,
262,
202,
95,
202,
202,
430,
261,
8706,
15478,
2918,
18,
27752,
67,
10976,
18,
14963,
12,
14453,
262,
262,
202,
202,
95,
1082,
20... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4457,
2249,
19110,
2249,
12,
514,
14453,
262,
202,
95,
202,
202,
430,
261,
8706,
15478,
2918,
18,
27752,
67,
10976,
18,
14963,
12,
14453,
262,
262,
202,
202,
95,
1082,
20... | |
if (meta == null && mustExist) throw new MetaDataException(_loc.get("no-named-query", cls, name)); | if (meta == null) { resolveAll(envLoader); meta = getQueryMetaDataInternal(cls, name, envLoader); } if (meta == null && mustExist) { if (cls == null) { throw new MetaDataException(_loc.get ("no-named-query-null-class", getPersistentTypeNames(false, envLoader), name)); } else { throw new MetaDataException(_loc.get("n... | public synchronized QueryMetaData getQueryMetaData(Class cls, String name, ClassLoader envLoader, boolean mustExist) { QueryMetaData meta = getQueryMetaDataInternal(cls, name, envLoader); if (meta == null && mustExist) throw new MetaDataException(_loc.get("no-named-query", cls, name)... | 47053 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47053/b4077bd6a64f73fd28c210f265d5ef8b089199dd/MetaDataRepository.java/buggy/openjpa-kernel/src/main/java/org/apache/openjpa/meta/MetaDataRepository.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
2770,
6998,
6041,
6998,
12,
797,
2028,
16,
514,
508,
16,
3639,
9403,
1550,
2886,
16,
1250,
1297,
4786,
13,
288,
3639,
2770,
6998,
2191,
273,
6041,
6998,
3061,
12,
6429,
16,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
2770,
6998,
6041,
6998,
12,
797,
2028,
16,
514,
508,
16,
3639,
9403,
1550,
2886,
16,
1250,
1297,
4786,
13,
288,
3639,
2770,
6998,
2191,
273,
6041,
6998,
3061,
12,
6429,
16,
... |
int numNameConflicts = ((Integer)session.iterate( "select count(go) from GradableObject as go where go.name = ? and go.gradebook = ? and go.removed=false", new Object[] {name, gb}, new Type[] {Hibernate.STRING, Hibernate.entity(Gradebook.class)} ).next()).intValue(); | q = session.createQuery( "select count(go) from GradableObject as go where go.name = ? and go.gradebook = ? and go.removed=false"); q.setParameters(new Object[] {name, gb}, new Type[] {Hibernate.STRING, Hibernate.entity(Gradebook.class)}); int numNameConflicts = ((Integer) q.iterate().next()).intValue(); | public Long createAssignment(final Long gradebookId, final String name, final Double points, final Date dueDate, final Boolean isNotCounted) throws ConflictingAssignmentNameException, StaleObjectModificationException { HibernateCallback hc = new HibernateCallback() { public Object doInHiber... | 48975 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48975/dbcb9fb55ff4d2cadba8989ae4acae0f773ff373/GradebookManagerHibernateImpl.java/buggy/app/business/src/java/org/sakaiproject/tool/gradebook/business/impl/GradebookManagerHibernateImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3407,
752,
7729,
12,
6385,
3407,
28073,
548,
16,
727,
514,
508,
16,
727,
3698,
3143,
16,
727,
2167,
6541,
1626,
16,
727,
3411,
8827,
1380,
329,
13,
3639,
1216,
23460,
310,
7729,
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,
3407,
752,
7729,
12,
6385,
3407,
28073,
548,
16,
727,
514,
508,
16,
727,
3698,
3143,
16,
727,
2167,
6541,
1626,
16,
727,
3411,
8827,
1380,
329,
13,
3639,
1216,
23460,
310,
7729,
2... |
expected.addElement(new StateBlock(0, 6, | expected.addElement(new StateBlock(2, 4, | public void testStateChangeOnRemove() { try { Vector<StateBlock> actual; Vector<StateBlock> expected = new Vector<StateBlock>(); defModel.insertString(0,"/*bc */ //ad}()",null); defModel.remove(13,2); // assertEquals("#0.1",false, defModel.hasHighlightChanged()); defModel.remove(4,1); // /*bc... | 11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/28c4be6b04d5867405916840b451c47e4acad060/DefinitionsDocumentTest.java/clean/drjava/src/edu/rice/cs/drjava/DefinitionsDocumentTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
22505,
1398,
3288,
1435,
202,
202,
95,
1082,
202,
698,
288,
9506,
202,
5018,
32,
1119,
1768,
34,
3214,
31,
9506,
202,
5018,
32,
1119,
1768,
34,
2665,
273,
394,
5589... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
22505,
1398,
3288,
1435,
202,
202,
95,
1082,
202,
698,
288,
9506,
202,
5018,
32,
1119,
1768,
34,
3214,
31,
9506,
202,
5018,
32,
1119,
1768,
34,
2665,
273,
394,
5589... |
byte decrypted[] = _context.AESEngine().safeDecrypt(encryptedInstructions, key, iv); | byte decrypted[] = getContext().AESEngine().safeDecrypt(encryptedInstructions, key, iv); | private DeliveryInstructions getInstructions(byte encryptedInstructions[], SessionKey key) { try { byte iv[] = new byte[16]; Hash h = _context.sha().calculateHash(key.getData()); System.arraycopy(h.getData(), 0, iv, 0, iv.length); byte decrypted[] = _context.AESEng... | 27437 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27437/e737e5c9507ed0d463dc9e45a8f63657f466b177/HandleTunnelMessageJob.java/clean/router/java/src/net/i2p/router/message/HandleTunnelMessageJob.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
17390,
26712,
7854,
4549,
87,
12,
7229,
6901,
26712,
63,
6487,
3877,
653,
498,
13,
288,
3639,
775,
288,
5411,
1160,
4674,
8526,
273,
394,
1160,
63,
2313,
15533,
5411,
2474,
366,
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,
3238,
17390,
26712,
7854,
4549,
87,
12,
7229,
6901,
26712,
63,
6487,
3877,
653,
498,
13,
288,
3639,
775,
288,
5411,
1160,
4674,
8526,
273,
394,
1160,
63,
2313,
15533,
5411,
2474,
366,
273... |
StringBuffer sb = new StringBuffer(indent + "u_int8_t[" + numBytes + "] " + bitArrayName + " = {0};" + | StringBuffer sb = new StringBuffer(indent + "u_int8_t " + bitArrayName + "[" + numBytes + "] = {0};" + | protected String generateBitEncodeMethodContents(ArrayList<String> bitFieldList, int ordinal, int indentSize) { int numBytes = ((bitFieldList.size() - 1) / 8) + 1; String indent = Utils.createSpaces(indentSize); String bitArrayName = "flags_" + ordinal; StringBuffer sb = new StringBuffer(indent + "u_int8_t[" + nu... | 45585 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45585/cad0be15609314c87a3f3793c1cefa4cfe3ee88e/CppGenerator.java/clean/qpid/gentools/org/apache/qpid/gentools/CppGenerator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
514,
2103,
5775,
5509,
1305,
6323,
12,
19558,
32,
780,
34,
2831,
974,
682,
16,
509,
12675,
16,
202,
202,
474,
3504,
1225,
13,
202,
95,
202,
202,
474,
18633,
273,
14015,
3682,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
514,
2103,
5775,
5509,
1305,
6323,
12,
19558,
32,
780,
34,
2831,
974,
682,
16,
509,
12675,
16,
202,
202,
474,
3504,
1225,
13,
202,
95,
202,
202,
474,
18633,
273,
14015,
3682,... |
} | } | fFacetInfo traverseFacets(Element content, Object[] contentAttrs, String simpleTypeName, DatatypeValidator baseValidator, XSDocumentInfo schemaDoc, SchemaGrammar grammar) { fFacetInfo fi = new fFacetInfo(); Hashtable fFacetData = new Hashtabl... | 6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/7d23b0f822620b832b611e0946e73bb880886a98/XSDAbstractTraverser.java/buggy/src/org/apache/xerces/impl/v2/XSDAbstractTraverser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
284,
11137,
966,
10080,
6645,
2413,
12,
1046,
913,
16,
1033,
8526,
913,
8262,
16,
514,
4143,
7947,
16,
1171,
9079,
21168,
5126,
1026,
5126,
16,
1139,
55,
2519,
966,
1963,
1759,
16,
1171,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
284,
11137,
966,
10080,
6645,
2413,
12,
1046,
913,
16,
1033,
8526,
913,
8262,
16,
514,
4143,
7947,
16,
1171,
9079,
21168,
5126,
1026,
5126,
16,
1139,
55,
2519,
966,
1963,
1759,
16,
1171,
... |
case NOT_EQUALS: { match( NOT_EQUALS ); relationalExpr(); operator = Operator.NOT_EQUALS; break; } | la = LA(1); | private void equalityExpr() throws SAXPathException { getXPathHandler().startEqualityExpr(); getXPathHandler().startEqualityExpr(); relationalExpr(); int operator = Operator.NO_OP; switch ( LA(1) ) { case EQUALS: { match( EQUALS ); ... | 5646 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5646/55e74079a4b0bd729beeecc021a21776d8bfcdd1/XPathReader.java/clean/src/java/main/org/jaxen/saxpath/base/XPathReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
14958,
4742,
1435,
1216,
10168,
743,
503,
565,
288,
3639,
6538,
743,
1503,
7675,
1937,
20273,
4742,
5621,
3639,
6538,
743,
1503,
7675,
1937,
20273,
4742,
5621,
3639,
25302,
4742,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14958,
4742,
1435,
1216,
10168,
743,
503,
565,
288,
3639,
6538,
743,
1503,
7675,
1937,
20273,
4742,
5621,
3639,
6538,
743,
1503,
7675,
1937,
20273,
4742,
5621,
3639,
25302,
4742,
... |
return file.isDirectory() ? Boolean.TRUE : Boolean.FALSE; | return new Long(file.length()); | public Object run() { return file.isDirectory() ? Boolean.TRUE : Boolean.FALSE; } | 2516 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2516/8dc8f02aab3c0365988625943861dc45226d4ba8/SecureAction.java/clean/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/framework/util/SecureAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
1033,
1086,
1435,
288,
9506,
202,
2463,
585,
18,
291,
2853,
1435,
692,
3411,
18,
18724,
294,
3411,
18,
21053,
31,
1082,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1875,
202,
482,
1033,
1086,
1435,
288,
9506,
202,
2463,
585,
18,
291,
2853,
1435,
692,
3411,
18,
18724,
294,
3411,
18,
21053,
31,
1082,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
final int stripLeadingDirectories) { | final int stripLeadingDirectories, final boolean createDirectories) { | public static ApplyPatchStatus applyPatch(final Project project, final List<FilePatch> patches, final VirtualFile baseDirectory, final int stripLeadingDirectories) { List<VirtualFile> filesToMakeWritable = new ArrayList<VirtualFile>(); for(FilePatch patch: patches) { ... | 56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/f2c28ff8b4fc125bc5eb12c7d384dee7ebb39797/ApplyPatchAction.java/clean/source/com/intellij/openapi/vcs/changes/patch/ApplyPatchAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
5534,
7332,
1482,
2230,
7332,
12,
6385,
5420,
1984,
16,
727,
987,
32,
812,
7332,
34,
16482,
16,
727,
7269,
812,
1026,
2853,
16,
4766,
5411,
727,
509,
2569,
19112,
13071,
16,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
5534,
7332,
1482,
2230,
7332,
12,
6385,
5420,
1984,
16,
727,
987,
32,
812,
7332,
34,
16482,
16,
727,
7269,
812,
1026,
2853,
16,
4766,
5411,
727,
509,
2569,
19112,
13071,
16,
... |
public void testIgnoreMarker() throws NullPointerException, EvaluationException { | public void testIgnoreMarker() throws NullPointerException, EvaluationException, JoranException { | public void testIgnoreMarker() throws NullPointerException, EvaluationException { JoranConfigurator jc = new JoranConfigurator(); LoggerContext loggerContext = new LoggerContext(); jc.setContext(loggerContext); jc.doConfigure(Constants.TEST_DIR_PREFIX + "input/joran/ignore.xml"); Map evalMa... | 51675 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51675/7177ff8f31734f293185997e0a81156f64bc26a6/EvaluatorJoranTest.java/clean/logback-classic/src/test/java/ch/qos/logback/classic/joran/EvaluatorJoranTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1842,
3777,
7078,
1435,
1216,
10108,
16,
17340,
503,
16,
804,
280,
304,
503,
288,
565,
804,
280,
304,
17182,
19807,
273,
394,
804,
280,
304,
17182,
5621,
565,
4242,
1042,
1194,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3777,
7078,
1435,
1216,
10108,
16,
17340,
503,
16,
804,
280,
304,
503,
288,
565,
804,
280,
304,
17182,
19807,
273,
394,
804,
280,
304,
17182,
5621,
565,
4242,
1042,
1194,... |
case 2: try { to = Long.decode(sub).longValue(); } catch (NumberFormatException e) { } | case 2 : try { to = Long.decode(sub).longValue(); } catch (NumberFormatException e) { } | void parseUnixShared(String str, List aList) { if (str.length() > 0) { // Pass the header if (Character.isDigit(str.charAt(0))) { int index = -1; long from = 0; long to = 0; boolean syms = false; String name = ""; for (int i = 0; (index = str.lastIndexOf(' ')) != -1 || i <= 3; i++) { if (ind... | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/0f58242ba8f6657165a1b0332adabdda64b1d6c2/MIInfoSharedLibraryInfo.java/clean/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/output/MIInfoSharedLibraryInfo.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6459,
1109,
18729,
7887,
12,
780,
609,
16,
987,
279,
682,
13,
288,
202,
202,
430,
261,
701,
18,
2469,
1435,
405,
374,
13,
288,
1082,
202,
759,
10311,
326,
1446,
1082,
202,
430,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6459,
1109,
18729,
7887,
12,
780,
609,
16,
987,
279,
682,
13,
288,
202,
202,
430,
261,
701,
18,
2469,
1435,
405,
374,
13,
288,
1082,
202,
759,
10311,
326,
1446,
1082,
202,
430,
2... |
header = value; | header = value; | public void setHeader(boolean value) { header = value; } | 3506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3506/ed86dfb474e6fa22e1797452482e751a297a7e1f/Cell.java/clean/itext/src/com/lowagie/text/Cell.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
10859,
12,
6494,
460,
13,
288,
3639,
1446,
273,
460,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
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,
377,
1071,
918,
10859,
12,
6494,
460,
13,
288,
3639,
1446,
273,
460,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Repository result = new Repository(); Iterator it = fileBuilders.values().iterator(); while (it.hasNext()) { FileBuilder fileBuilder = (FileBuilder) it.next(); VersionedFile file = fileBuilder.createFile(startDate); if (file == null) { continue; } result.addFile(file); logger.finer("adding " + file.getFilenameWithPath(... | Repository result = new Repository(); Iterator it = fileBuilders.values().iterator(); while (it.hasNext()) { FileBuilder fileBuilder = (FileBuilder) it.next(); VersionedFile file = fileBuilder.createFile(startDate); if (file == null) { continue; } result.addFile(file); logger.finer("adding " + file.getFilenameWithPath(... | public Repository createRepository() throws EmptyRepositoryException { // if (currentFileBuilder != null) { // fileBuilders.add(currentFileBuilder); // currentFileBuilder = null; // } if (startDate == null) { throw new EmptyRepositoryException(); } Reposit... | 48585 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48585/78ae837b6e73bb382262a2f8f0b1f8e404431797/Builder.java/buggy/statsvn/src/net/sf/statcvs/input/Builder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
6281,
752,
3305,
1435,
1216,
8953,
3305,
503,
288,
3639,
368,
309,
261,
2972,
812,
1263,
480,
446,
13,
288,
3639,
368,
585,
20460,
18,
1289,
12,
2972,
812,
1263,
1769,
3639,
368,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
6281,
752,
3305,
1435,
1216,
8953,
3305,
503,
288,
3639,
368,
309,
261,
2972,
812,
1263,
480,
446,
13,
288,
3639,
368,
585,
20460,
18,
1289,
12,
2972,
812,
1263,
1769,
3639,
368,
... |
if (ast == null) return; System.out.println(path.toOSString()); index.acquireWriteLock(0); try { IIndexFragmentFile file = (IIndexFragmentFile) index.getFile(path); if (file != null) index.clearFile(file); IASTPreprocessorIncludeStatement[] includes = ast.getIncludeDirectives(); for (int i = 0; i < includes.length;... | if (ast != null) addSymbols(ast, pm); | protected void doParseTU(ITranslationUnit tu) throws CoreException, InterruptedException { IPath path = tu.getLocation(); if (path == null) { return; } int options= 0; if (!getIndexAllFiles()) { options |= ITranslationUnit.AST_SKIP_IF_NO_BUILD_INFO; } IASTTranslationUnit ast= tu.getAST(null, options); if (... | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/2d8f966f3b06d96391a0bfd91b2bae084e95bcda/PDOMFullIndexerJob.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/indexer/full/PDOMFullIndexerJob.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
741,
3201,
56,
57,
12,
45,
6717,
2802,
28325,
13,
1216,
30015,
16,
7558,
288,
202,
202,
45,
743,
589,
273,
28325,
18,
588,
2735,
5621,
202,
202,
430,
261,
803,
422,
44... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
741,
3201,
56,
57,
12,
45,
6717,
2802,
28325,
13,
1216,
30015,
16,
7558,
288,
202,
202,
45,
743,
589,
273,
28325,
18,
588,
2735,
5621,
202,
202,
430,
261,
803,
422,
44... |
wizardCategories = elements; | wizardCategories = root; | public NewWizardSelectionPage(IWorkbench aWorkbench, IStructuredSelection currentSelection, WizardCollectionElement elements, WorkbenchWizardElement[] primary) { // override what superclass does with elements super("newWizardSelectionPage", aWorkbench, currentSelection, null);//$... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/3d694fa5580f66413fa910c2e54a03aaef1cec34/NewWizardSelectionPage.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/NewWizardSelectionPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1166,
27130,
6233,
1964,
12,
45,
2421,
22144,
279,
2421,
22144,
16,
5411,
467,
30733,
6233,
783,
6233,
16,
5411,
678,
13412,
2532,
1046,
2186,
16,
4147,
22144,
27130,
1046,
8526,
3354... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1166,
27130,
6233,
1964,
12,
45,
2421,
22144,
279,
2421,
22144,
16,
5411,
467,
30733,
6233,
783,
6233,
16,
5411,
678,
13412,
2532,
1046,
2186,
16,
4147,
22144,
27130,
1046,
8526,
3354... |
public static Theme getTheme(String companyId, String themeId) { | public static Theme getTheme(String companyId, String themeId) throws PortalException, SystemException { | public static Theme getTheme(String companyId, String themeId) { themeId = GetterUtil.getString(themeId); Theme theme = (Theme)_getThemes(companyId).get(themeId); if (theme == null) { theme = (Theme)_themes.get( CompanyPropsUtil.get(companyId, PropsUtil.DEFAULT_THEME_ID)); } return theme; } | 57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/58a5501f2dec858b085420e7613b08c0cdc7f24d/ThemeLocalUtil.java/buggy/portal-ejb/src/com/liferay/portal/service/impl/ThemeLocalUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
19745,
27077,
12,
780,
14346,
16,
514,
5006,
548,
13,
288,
202,
202,
7997,
548,
273,
968,
387,
1304,
18,
588,
780,
12,
7997,
548,
1769,
202,
202,
8335,
5006,
273,
261,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
19745,
27077,
12,
780,
14346,
16,
514,
5006,
548,
13,
288,
202,
202,
7997,
548,
273,
968,
387,
1304,
18,
588,
780,
12,
7997,
548,
1769,
202,
202,
8335,
5006,
273,
261,
... |
if (jj_3R_35()) jj_scanpos = xsp; | if (jj_3R_37()) jj_scanpos = xsp; | final private boolean jj_3_14() { Token xsp; xsp = jj_scanpos; if (jj_3R_34()) jj_scanpos = xsp; else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_scan_token(OP_AND)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; xsp = jj_scanpos; if (jj_3R_35()) jj... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/c9a4de4264062f93d661ef3eb940e728297306c8/WMParser_impl.java/clean/webmacro/src/org/webmacro/parser/WMParser_impl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
3238,
1250,
10684,
67,
23,
67,
3461,
1435,
288,
565,
3155,
619,
1752,
31,
565,
619,
1752,
273,
10684,
67,
9871,
917,
31,
565,
309,
261,
78,
78,
67,
23,
54,
67,
5026,
10756,
10684... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
67,
3461,
1435,
288,
565,
3155,
619,
1752,
31,
565,
619,
1752,
273,
10684,
67,
9871,
917,
31,
565,
309,
261,
78,
78,
67,
23,
54,
67,
5026,
10756,
10684... |
validCheck(); | updateValidState(); | private void createEncodingGroup(Composite parent) { Font font = parent.getFont(); Group group = new Group(parent, SWT.NONE); GridData data = new GridData(GridData.FILL_HORIZONTAL); group.setLayoutData(data); GridLayout layout = new GridLayout(); layout.numColumns = 2; group.setLayout(layout); group.setText(... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/8fc39c6c5c4051d3443ea99b16ce2eea05f7ff81/EditorsPreferencePage.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/EditorsPreferencePage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
752,
4705,
1114,
12,
9400,
982,
13,
288,
9506,
202,
5711,
3512,
273,
982,
18,
588,
5711,
5621,
202,
202,
1114,
1041,
273,
394,
3756,
12,
2938,
16,
348,
8588,
18,
9826,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
752,
4705,
1114,
12,
9400,
982,
13,
288,
9506,
202,
5711,
3512,
273,
982,
18,
588,
5711,
5621,
202,
202,
1114,
1041,
273,
394,
3756,
12,
2938,
16,
348,
8588,
18,
9826,
... |
System.out.printf("Invoking addNumbers(%d, %d)\n", number1, number2); int result = port.addNumbers(number1, number2); System.out.printf("The result of adding %d and %d is %d.\n\n", number1, number2, result); | System.out.printf ("Invoking addNumbers(%d, %d)\n", number1, number2); int result = port.addNumbers (number1, number2); System.out.printf ("The result of adding %d and %d is %d.\n\n", number1, number2, result); | public static void main(String[] args) { try { ServiceFactory serviceFactory = ServiceFactory.newInstance(); AddNumbersImplService service = (AddNumbersImplService)serviceFactory.createService((java.net.URL)null, AddNumbersImplService.class); AddNumbersImpl port = service.get... | 9667 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9667/c4381a689728bbcb1f7b68842ed328aa1ac450f8/AddNumbersClient.java/buggy/jaxws-ri/samples/fromjava/src/fromjava/client/AddNumbersClient.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
288,
3639,
775,
288,
5411,
1956,
1733,
1156,
1733,
273,
1956,
1733,
18,
2704,
1442,
5621,
5411,
1436,
10072,
2828,
1179,
1156,
273,
261,
986,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
288,
3639,
775,
288,
5411,
1956,
1733,
1156,
1733,
273,
1956,
1733,
18,
2704,
1442,
5621,
5411,
1436,
10072,
2828,
1179,
1156,
273,
261,
986,... |
if(attackTarget!=null) attackTarget.attackSource=null; | if(attackTarget!=null) { attackTarget.attackSource.remove(this); } | public void stopAttack() { if(has("risk")) remove("risk"); if(has("damage")) remove("damage"); if(has("target")) remove("target"); if(attackTarget!=null) attackTarget.attackSource=null; attackTarget=null; } | 4438 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4438/32352214a251e730149977a3f9c81970c3a35b93/RPEntity.java/clean/src/games/stendhal/server/entity/RPEntity.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
2132,
3075,
484,
1435,
565,
288,
565,
309,
12,
5332,
2932,
86,
10175,
6,
3719,
1206,
2932,
86,
10175,
8863,
565,
309,
12,
5332,
2932,
72,
301,
410,
6,
3719,
1206,
2932,
72,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2132,
3075,
484,
1435,
565,
288,
565,
309,
12,
5332,
2932,
86,
10175,
6,
3719,
1206,
2932,
86,
10175,
8863,
565,
309,
12,
5332,
2932,
72,
301,
410,
6,
3719,
1206,
2932,
72,
... |
propertyListener = new PropertyChangeListener( ) { | propertyListener = new PropertyChangeListener( ) { | public void setGraphicalViewer( ScrollingGraphicalViewer primaryViewer ) { // pre-conditions Assert.isNotNull( primaryViewer ); Assert.isNotNull( primaryViewer.getControl( ) ); Assert.isTrue( diagramViewer == null ); diagramViewer = primaryViewer; editor = (FigureCanvas) diagramViewer.getControl( ); getZoomMana... | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/61cce071e25248ce85d293e05344845aab740350/EditorRulerComposite.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/rulers/EditorRulerComposite.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
4137,
1706,
18415,
12,
2850,
15742,
4137,
1706,
18415,
3354,
18415,
262,
202,
95,
202,
202,
759,
675,
17,
6381,
202,
202,
8213,
18,
291,
5962,
12,
3354,
18415,
11272,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4137,
1706,
18415,
12,
2850,
15742,
4137,
1706,
18415,
3354,
18415,
262,
202,
95,
202,
202,
759,
675,
17,
6381,
202,
202,
8213,
18,
291,
5962,
12,
3354,
18415,
11272,
... |
out.println(" protected AssetSkeleton(AssetSkeleton prototype) {\n"+ | println(out," protected AssetSkeleton(AssetSkeleton prototype) {\n"+ | public void writeAsset () throws IOException { String outname = "AssetSkeleton.java"; if (cleanp) { (new File(outname)).delete(); return ; } debug("Writing AssetSkeleton to \""+outname+"\""); noteFile(outname); FileOutputStream fos = new FileOutputStream(new File(getTarge... | 8708 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8708/9fadfb620dfbadc3fa0c7a899195b84a369fc304/PGWriter.java/buggy/build/src/org/cougaar/tools/build/PGWriter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1045,
6672,
1832,
1216,
1860,
288,
1377,
514,
596,
529,
273,
315,
6672,
28070,
18,
6290,
14432,
1377,
309,
261,
6200,
84,
13,
288,
3639,
261,
2704,
1387,
12,
659,
529,
13,
29... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1045,
6672,
1832,
1216,
1860,
288,
1377,
514,
596,
529,
273,
315,
6672,
28070,
18,
6290,
14432,
1377,
309,
261,
6200,
84,
13,
288,
3639,
261,
2704,
1387,
12,
659,
529,
13,
29... |
keystore.load(is, getKeyPassword().toCharArray()); } catch (Exception e) { throw new InitialisationException(new Message(Messages.FAILED_LOAD_X, "KeyStore: " + getKeyStore()), e, this); } try { keyManagerFactory = KeyManagerFactory.getInstance(getKeyManagerAlgorithm()); keyManagerFactory.init(keystore, getStorePasswo... | try { keyManagerFactory = KeyManagerFactory.getInstance(getKeyManagerAlgorithm()); keyManagerFactory.init(keystore, getStorePassword().toCharArray()); } catch (Exception e) { throw new InitialisationException(new Message(Messages.FAILED_LOAD_X, "Key Manager (" + getKeyManagerAlgorithm() + ")"), e, this); } | public void doInitialise() throws InitialisationException { if (getProvider() == null) throw new NullPointerException("The security provider cannot be null"); if (getKeyStore() == null) throw new NullPointerException("The KeyStore location cannot be null"); if (getKeyPa... | 2370 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2370/fb3304ee4a24de3c0e02ca3e16a743e869db7561/SslConnector.java/clean/providers/ssl/src/java/org/mule/providers/ssl/SslConnector.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
741,
4435,
784,
1435,
1216,
10188,
10742,
503,
565,
288,
3639,
309,
261,
588,
2249,
1435,
422,
446,
13,
5411,
604,
394,
10108,
2932,
1986,
4373,
2893,
2780,
506,
446,
8863,
363... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4435,
784,
1435,
1216,
10188,
10742,
503,
565,
288,
3639,
309,
261,
588,
2249,
1435,
422,
446,
13,
5411,
604,
394,
10108,
2932,
1986,
4373,
2893,
2780,
506,
446,
8863,
363... |
IType paramType= project.findType(paramTypeName.toString()); IType varType= project.findType(varTypeName.toString()); | IType paramType= project.findType(getFQN(typePackage, typeName)); IType varType= project.findType(variable.getFQN()); | private boolean isAssignable(Variable variable, String typePackage, String typeName) throws JavaModelException { // check for an exact match (fast) StringBuffer paramTypeName= new StringBuffer(); if (typePackage.length() != 0) { paramTypeName.append(typePackage); paramTypeName.append('.'); } paramTypeName.a... | 9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/a2e2d7a0ed3d6c4dc83ae2cbb9f301eeba047511/ParameterGuesser.java/clean/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ParameterGuesser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1250,
8540,
12,
3092,
2190,
16,
514,
618,
2261,
16,
514,
8173,
13,
1216,
5110,
1488,
503,
288,
9506,
202,
759,
866,
364,
392,
5565,
845,
261,
8076,
13,
202,
202,
780,
1892,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1250,
8540,
12,
3092,
2190,
16,
514,
618,
2261,
16,
514,
8173,
13,
1216,
5110,
1488,
503,
288,
9506,
202,
759,
866,
364,
392,
5565,
845,
261,
8076,
13,
202,
202,
780,
1892,
... |
public static boolean getSVGFlag( HttpServletRequest request ) { boolean svg = false; if ( "true".equalsIgnoreCase( getParameter( request, PARAM_SVG ) ) ) //$NON-NLS-1$ { svg = true; } return svg; } | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/4f8d9ec70a9a4bdebe627870db17ed54ddb4e8ef/ParameterAccessor.java/buggy/viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/ParameterAccessor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1250,
1322,
9266,
4678,
12,
9984,
590,
262,
202,
95,
202,
202,
6494,
9804,
273,
629,
31,
9506,
202,
430,
261,
315,
3767,
9654,
14963,
5556,
12,
5575,
12,
590,
16,
4655,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1250,
1322,
9266,
4678,
12,
9984,
590,
262,
202,
95,
202,
202,
6494,
9804,
273,
629,
31,
9506,
202,
430,
261,
315,
3767,
9654,
14963,
5556,
12,
5575,
12,
590,
16,
4655,
... | ||
Map<String, EventSetDescriptor> result = new HashMap<String, EventSetDescriptor>(); | Map<String, EventSetDescriptor> result = new HashMap<String, EventSetDescriptor>(); | public EventSetDescriptor[] getEventSetDescriptors() { if (eventSetDescriptors == null) { Map<String, EventSetDescriptor> result = new HashMap<String, EventSetDescriptor>(); List<Method> beanClassMethodsArrayList = getPublicMethods(beanClass); for (Method method : beanClassMe... | 54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/aaf17a681e792be3202c3c97b03608d3767d4a81/BeanInfoImpl.java/clean/modules/beans/src/main/java/java/beans/BeanInfoImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2587,
694,
3187,
8526,
9832,
694,
12705,
1435,
288,
3639,
309,
261,
2575,
694,
12705,
422,
446,
13,
288,
5411,
1635,
32,
780,
16,
2587,
694,
3187,
34,
563,
273,
394,
4317,
32,
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,
2587,
694,
3187,
8526,
9832,
694,
12705,
1435,
288,
3639,
309,
261,
2575,
694,
12705,
422,
446,
13,
288,
5411,
1635,
32,
780,
16,
2587,
694,
3187,
34,
563,
273,
394,
4317,
32,
780... |
cdiTarget.setLocationBreakpoint(0, location, cond, false); | cdiTarget.setFunctionBreakpoint(0, location, cond, false); | public void testCondBreak() throws CoreException, MIException, IOException, CDIException, InterruptedException { boolean caught = false; session = CDebugHelper.createSession("main", testProject); assertNotNull(session); ICDITarget[] targets = session.getTargets(); assertNotNull(targets); assertTrue(targets.lengt... | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/277bec9a0dc83467b896459505fd47fe3953b942/BreakpointTests.java/buggy/debug/org.eclipse.cdt.debug.ui.tests/core/org/eclipse/cdt/debug/core/tests/BreakpointTests.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
12441,
7634,
1435,
1216,
30015,
16,
20806,
503,
16,
1860,
16,
385,
2565,
503,
16,
7558,
288,
202,
202,
6494,
13537,
273,
629,
31,
202,
202,
3184,
273,
385,
2829,
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,
225,
202,
482,
918,
1842,
12441,
7634,
1435,
1216,
30015,
16,
20806,
503,
16,
1860,
16,
385,
2565,
503,
16,
7558,
288,
202,
202,
6494,
13537,
273,
629,
31,
202,
202,
3184,
273,
385,
2829,
22... |
throws MARSHAL, InvalidName, CannotProceed, NotFound | throws MARSHAL, InvalidName, CannotProceed, NotFound | protected void throw4(InputStream in, String id) throws MARSHAL, InvalidName, CannotProceed, NotFound { if (id.equals(NotFoundHelper.id())) throw NotFoundHelper.read(in); else if (id.equals(CannotProceedHelper.id())) throw CannotProceedHelper.read(in); else if (i... | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/389a8c811e91dbf626693fbb413506535b9ebd2e/_NamingContextStub.java/buggy/core/src/classpath/org/org/omg/CosNaming/_NamingContextStub.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
604,
24,
12,
4348,
316,
16,
514,
612,
13,
9079,
1216,
490,
985,
2664,
1013,
16,
1962,
461,
16,
14143,
626,
5288,
16,
8227,
7054,
225,
288,
565,
309,
261,
350,
18,
14963,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
604,
24,
12,
4348,
316,
16,
514,
612,
13,
9079,
1216,
490,
985,
2664,
1013,
16,
1962,
461,
16,
14143,
626,
5288,
16,
8227,
7054,
225,
288,
565,
309,
261,
350,
18,
14963,
12... |
SourceInfo(String source, DebuggableScript[] functions, String normilizedUrl) { | private SourceInfo(String source, DebuggableScript[] functions, String normilizedUrl) { | SourceInfo(String source, DebuggableScript[] functions, String normilizedUrl) { this.source = source; this.url = normilizedUrl; int N = functions.length; int[][] lineArrays = new int[N][]; for (int i = 0; i != N; ++i) { ... | 54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/2d4fc75b74d717c754829dde488ff0a7456682cc/Dim.java/clean/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/Dim.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
4998,
966,
12,
780,
1084,
16,
4015,
8455,
3651,
8526,
4186,
16,
10402,
514,
4651,
330,
1235,
1489,
13,
3639,
288,
5411,
333,
18,
3168,
273,
1084,
31,
5411,
333,
18,
718,
273,
4651,
330,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
4998,
966,
12,
780,
1084,
16,
4015,
8455,
3651,
8526,
4186,
16,
10402,
514,
4651,
330,
1235,
1489,
13,
3639,
288,
5411,
333,
18,
3168,
273,
1084,
31,
5411,
333,
18,
718,
273,
4651,
330,... |
String path = ome.io.nio.Helper.getFilesPath(new Long(999999999)); | String path = new PixelsService("/OME/OMEIS/").getFilesPath(new Long(999999999)); | public void testFilesThreeDirectoryUpperBoundsPath() { String path = ome.io.nio.Helper.getFilesPath(new Long(999999999)); assertEquals("/OME/OMEIS/Files/Dir-999/Dir-999/999999999", path); } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/ae0b01fad17fcacba3ec0999ca1ad645f389b5f9/HelperUnitTest.java/clean/components/omeio-nio/test/ome/io/nio/utests/HelperUnitTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
2697,
28019,
2853,
5988,
5694,
743,
1435,
565,
288,
3639,
514,
589,
273,
394,
26070,
87,
1179,
2932,
19,
51,
958,
19,
51,
958,
5127,
4898,
2934,
588,
2697,
743,
12,
270... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2697,
28019,
2853,
5988,
5694,
743,
1435,
565,
288,
3639,
514,
589,
273,
394,
26070,
87,
1179,
2932,
19,
51,
958,
19,
51,
958,
5127,
4898,
2934,
588,
2697,
743,
12,
270... |
assertValidDay("tu"); | public void testIncorrectDayValues() throws Exception { String exceptionMessagePattern = "invalid format for day \\(use su,mo,tu,we,th,fr,sa\\): "; settings.setString(sessionID, Session.SETTING_START_DAY, "xx"); createSessionAndAssertConfigError("no exception", exceptionMessagePattern + "'xx'")... | 6791 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6791/c64396012cd88b23ea34709abc864ee2b49ed867/DefaultSessionFactoryTest.java/buggy/test/quickfix/DefaultSessionFactoryTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
16268,
4245,
1972,
1435,
1216,
1185,
288,
3639,
514,
1520,
1079,
3234,
273,
315,
5387,
740,
364,
2548,
1736,
12,
1202,
1597,
16,
8683,
16,
88,
89,
16,
1814,
16,
451,
16... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
16268,
4245,
1972,
1435,
1216,
1185,
288,
3639,
514,
1520,
1079,
3234,
273,
315,
5387,
740,
364,
2548,
1736,
12,
1202,
1597,
16,
8683,
16,
88,
89,
16,
1814,
16,
451,
16... | |
send(createAttackPacket(game.getActionsVector(), false)); send(createAttackPacket(game.getChargesVector(), true)); | send(connId, createAttackPacket(game.getActionsVector(), false)); send(connId, createAttackPacket(game.getChargesVector(), true)); | private void sendCurrentInfo(int connId) { //why are these two outside the player != null check below? transmitAllPlayerConnects(connId); send(connId, createGameSettingsPacket()); Player player = game.getPlayer(connId); if ( null != player ) { send(connId, new Packet(Pa... | 4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/d2e6a8a5c4b05d8dbf2b07e2aa7186f3391bfd94/Server.java/buggy/megamek/src/megamek/server/Server.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1366,
3935,
966,
12,
474,
1487,
548,
13,
288,
3639,
368,
3350,
93,
854,
4259,
2795,
8220,
326,
7291,
480,
446,
866,
5712,
35,
3639,
23323,
1595,
12148,
21500,
12,
4646,
548,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1366,
3935,
966,
12,
474,
1487,
548,
13,
288,
3639,
368,
3350,
93,
854,
4259,
2795,
8220,
326,
7291,
480,
446,
866,
5712,
35,
3639,
23323,
1595,
12148,
21500,
12,
4646,
548,
... |
/* * create a new instance of the engine */ this.velocityEngine = new VelocityEngine(); /* * configure the engine. In this case, we are using ourselves as a * logger (see logging examples..) */ this.velocityEngine.setProperty(RuntimeConstants.RUNTIME_LOG_LOGSYSTEM, this); /* * initialize the engine */ String userHomeWO... | /* * create a new instance of the engine */ this.velocityEngine = new VelocityEngine(); /* * configure the engine. In this case, we are using ourselves as a * logger (see logging examples..) */ this.velocityEngine.setProperty(RuntimeConstants.RUNTIME_LOG_LOGSYSTEM, this); /* * initialize the engine */ String userHomeWO... | public void init() throws Exception { /* * create a new instance of the engine */ this.velocityEngine = new VelocityEngine(); /* * configure the engine. In this case, we are using ourselves as a * logger (see logging examples..) */ this.velocityEngine.setProperty(RuntimeConstants.RUNTIME_LOG_LOGSYSTEM, ... | 2575 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2575/0e8ef941f88bcab3370bfc93fb7a76df27c71bd2/TemplateEngine.java/buggy/projects/wolips/plugins/org.objectstyle.wolips.templateengine/java/org/objectstyle/wolips/templateengine/TemplateEngine.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1208,
1435,
1216,
1185,
288,
202,
202,
20308,
1082,
380,
752,
279,
394,
791,
434,
326,
4073,
1082,
1195,
202,
202,
2211,
18,
29418,
560,
4410,
273,
394,
24561,
4410,
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,
225,
202,
482,
918,
1208,
1435,
1216,
1185,
288,
202,
202,
20308,
1082,
380,
752,
279,
394,
791,
434,
326,
4073,
1082,
1195,
202,
202,
2211,
18,
29418,
560,
4410,
273,
394,
24561,
4410,
5621,
... |
if (args[count].equals("-?") || args[count].equals("-help") || args[count].equals("--help") || args[count].equals("/?") || args[count].equals("/help")) { | if ("-?".equals( args[count] ) || "-help".equals( args[count] ) || "--help".equals( args[count] ) || "/?".equals( args[count] ) || "/help".equals( args[count] )) { | private static void parseCommandLine(String[] args) { int count = 0; try { while (args.length > count) { if (args[count].equals("-?") || args[count].equals("-help") || args[count].equals("--help") || args[count].equals("/?") || args[count].equals("/help")) { showHelp(); count++; } else... | 47012 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47012/88402a3bc59123261d50a7cfed0ac20de2b772f6/Main.java/buggy/src/thaw/core/Main.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
918,
1109,
21391,
12,
780,
8526,
833,
13,
288,
202,
202,
474,
1056,
273,
374,
31,
202,
202,
698,
288,
1082,
202,
17523,
261,
1968,
18,
2469,
405,
1056,
13,
288,
9506,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
918,
1109,
21391,
12,
780,
8526,
833,
13,
288,
202,
202,
474,
1056,
273,
374,
31,
202,
202,
698,
288,
1082,
202,
17523,
261,
1968,
18,
2469,
405,
1056,
13,
288,
9506,
... |
baseColor = "grey"; | baseColor = BallColor.GREY; | public String getIconColor() { if(!isBuilding()) { // already built if(result==Result.SUCCESS) return "blue"; if(result== Result.UNSTABLE) return "yellow"; else return "red"; } // a new build is in progress... | 51053 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51053/84e0676229b1f5526d4ad0e0107998685f04a0e2/Run.java/buggy/core/src/main/java/hudson/model/Run.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
21724,
2957,
1435,
288,
3639,
309,
12,
5,
291,
16713,
10756,
288,
5411,
368,
1818,
6650,
5411,
309,
12,
2088,
631,
1253,
18,
12778,
13,
7734,
327,
315,
14081,
14432,
5411,
309,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
21724,
2957,
1435,
288,
3639,
309,
12,
5,
291,
16713,
10756,
288,
5411,
368,
1818,
6650,
5411,
309,
12,
2088,
631,
1253,
18,
12778,
13,
7734,
327,
315,
14081,
14432,
5411,
309,... |
38, 152, 516, 468, 469, | 12, 13, 479, 497, | public NoAllocs() { super(78, 79, new int[] { 79, 661, 573, 366, 80, 467, 81, 208, 209, 161, 360, 361, 38, ... | 5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/9de6020a5c54160c44f2adec6dfba45f873da9bf/AllocationInstruction.java/buggy/src/java/src/org/quickfix/fix44/AllocationInstruction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2631,
8763,
87,
1435,
288,
377,
2240,
12,
8285,
16,
26517,
16,
377,
394,
509,
8526,
288,
7734,
26517,
16,
7734,
1666,
9498,
16,
7734,
1381,
9036,
16,
7734,
890,
6028,
16,
7734,
89... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2631,
8763,
87,
1435,
288,
377,
2240,
12,
8285,
16,
26517,
16,
377,
394,
509,
8526,
288,
7734,
26517,
16,
7734,
1666,
9498,
16,
7734,
1381,
9036,
16,
7734,
890,
6028,
16,
7734,
89... |
} | private IJobProgressManagerListener getProgressListener(){ return new IJobProgressManagerListener(){ HashSet jobs = new HashSet(); /* (non-Javadoc) * @see org.eclipse.ui.internal.progress.IJobProgressManagerListener#add(org.eclipse.ui.internal.progress.JobInfo) */ public void add(JobInfo info) { ... | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/cc72ec84df4d93cc632406d8e555ffcc65f0b1b1/AnimationItem.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/AnimationItem.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
467,
2278,
5491,
1318,
2223,
3570,
2329,
2223,
1435,
95,
202,
202,
2463,
394,
467,
2278,
5491,
1318,
2223,
1435,
95,
25083,
202,
13482,
6550,
273,
394,
6847,
5621,
25083,
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,
1152,
467,
2278,
5491,
1318,
2223,
3570,
2329,
2223,
1435,
95,
202,
202,
2463,
394,
467,
2278,
5491,
1318,
2223,
1435,
95,
25083,
202,
13482,
6550,
273,
394,
6847,
5621,
25083,
202,
... | |
if (modelOpr.equals(DesignChoiceConstants.FILTER_OPERATOR_NOT_NULL)) | if ( modelOpr .equals( DesignChoiceConstants.FILTER_OPERATOR_NOT_NULL ) ) | protected int toDteFilterOperator(String modelOpr) { if (modelOpr.equals(DesignChoiceConstants.FILTER_OPERATOR_EQ)) return IConditionalExpression.OP_EQ; if (modelOpr.equals(DesignChoiceConstants.FILTER_OPERATOR_NE)) return IConditionalExpression.OP_NE; if (modelOpr.equals(DesignChoiceConstants.FILTER_OPER... | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/457851dcc056d96f2ec05106ceba68d3c8f9162c/ReportQueryBuilder.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/data/dte/ReportQueryBuilder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
1117,
509,
358,
40,
736,
1586,
5592,
12,
780,
938,
51,
683,
13,
288,
1082,
202,
430,
261,
2284,
51,
683,
18,
14963,
12,
15478,
10538,
2918,
18,
11126,
67,
26110,
67,
27247,
3719,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
1117,
509,
358,
40,
736,
1586,
5592,
12,
780,
938,
51,
683,
13,
288,
1082,
202,
430,
261,
2284,
51,
683,
18,
14963,
12,
15478,
10538,
2918,
18,
11126,
67,
26110,
67,
27247,
3719,
... |
downloadedArtifacts.add( dep ); | downloadedArtifacts.add( dep.getId() ); | public void downloadDependencies( List files ) throws Exception { for ( Iterator j = files.iterator(); j.hasNext(); ) { Dependency dep = (Dependency) j.next(); if ( !downloadedArtifacts.contains( dep ) ) { String repositoryPath = dep.getReposit... | 1315 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1315/a5c95ef10e4fb60c32ac2eed355e9f3991f7b35b/ArtifactDownloader.java/buggy/maven-mboot2/src/main/java/download/ArtifactDownloader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4224,
8053,
12,
987,
1390,
262,
3639,
1216,
1185,
565,
288,
3639,
364,
261,
4498,
525,
273,
1390,
18,
9838,
5621,
525,
18,
5332,
2134,
5621,
262,
3639,
288,
5411,
11993,
5993,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4224,
8053,
12,
987,
1390,
262,
3639,
1216,
1185,
565,
288,
3639,
364,
261,
4498,
525,
273,
1390,
18,
9838,
5621,
525,
18,
5332,
2134,
5621,
262,
3639,
288,
5411,
11993,
5993,
... |
Composite parent = shell.getParent(); | Composite parent = shell.getParent(); | protected Point getInitialLocation(Point initialSize) { Composite parent = shell.getParent(); Monitor monitor = shell.getDisplay().getPrimaryMonitor(); if (parent != null) { monitor = parent.getMonitor(); } Rectangle monitorBounds = monitor.getClientArea(); Point... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/981750d591ad92d3cf184a5ea61ad6b63139a974/Window.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/window/Window.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
4686,
24044,
2735,
12,
2148,
2172,
1225,
13,
288,
3639,
14728,
982,
273,
5972,
18,
588,
3054,
5621,
3639,
14086,
6438,
273,
5972,
18,
588,
4236,
7675,
588,
6793,
7187,
5621,
3639,
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,
4750,
4686,
24044,
2735,
12,
2148,
2172,
1225,
13,
288,
3639,
14728,
982,
273,
5972,
18,
588,
3054,
5621,
3639,
14086,
6438,
273,
5972,
18,
588,
4236,
7675,
588,
6793,
7187,
5621,
3639,
3... |
if (!dst.hasArray ()) | if (dst.hasArray()) | public int read (ByteBuffer dst) throws IOException { byte[] data; int bytes = 0; int len = dst.remaining (); if (!dst.hasArray ()) { data = new byte [len]; dst.get (data, 0, len); } else { data = dst.array (); } return socket.getInputStream().read (dat... | 5916 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5916/7113237bf329e1245f096787093aed051ea2dd23/SocketChannelImpl.java/clean/libjava/gnu/java/nio/SocketChannelImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
855,
261,
12242,
3046,
13,
1216,
1860,
225,
288,
565,
1160,
8526,
501,
31,
565,
509,
1731,
273,
374,
31,
565,
509,
562,
273,
3046,
18,
17956,
261,
1769,
202,
565,
309,
261,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
855,
261,
12242,
3046,
13,
1216,
1860,
225,
288,
565,
1160,
8526,
501,
31,
565,
509,
1731,
273,
374,
31,
565,
509,
562,
273,
3046,
18,
17956,
261,
1769,
202,
565,
309,
261,
... |
private static final String propToString(int propType) { | private static final String propToString(int propType) { | private static final String propToString(int propType) { if (Token.printTrees) { // If Context.printTrees is false, the compiler // can remove all these strings. switch (propType) { case FUNCTION_PROP: return "function"; case LOCAL_PROP: ... | 51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/37be8f9cfb362f40c2f19056693cb9e21cb13bcb/Node.java/buggy/js/rhino/src/org/mozilla/javascript/Node.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
727,
514,
2270,
5808,
12,
474,
2270,
559,
13,
288,
3639,
309,
261,
1345,
18,
1188,
26590,
13,
288,
5411,
368,
971,
1772,
18,
1188,
26590,
353,
629,
16,
326,
5274,
5411,
368,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
727,
514,
2270,
5808,
12,
474,
2270,
559,
13,
288,
3639,
309,
261,
1345,
18,
1188,
26590,
13,
288,
5411,
368,
971,
1772,
18,
1188,
26590,
353,
629,
16,
326,
5274,
5411,
368,
... |
minimum = left + right + SASH_WIDTH * 2; | minimum = left + right; if (children[0].isVisible() && children[1].isVisible()) { minimum += SASH_WIDTH; } | public int getMinimumHeight() { int left = children[0].getMinimumHeight(); int right = children[1].getMinimumHeight(); int minimum = 0; if (getSash().isVertical()) minimum = Math.max(left, right); else if (left > 0 || right > 0) { //consider the top and bottom borders? minimum = left + right + SASH_WIDTH * 2; } ret... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/81d75f462a6f523bd5ca620a01da08560eb0329f/LayoutTreeNode.java/buggy/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/LayoutTreeNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
509,
30665,
2686,
1435,
288,
202,
474,
2002,
273,
2325,
63,
20,
8009,
588,
13042,
2686,
5621,
202,
474,
2145,
273,
2325,
63,
21,
8009,
588,
13042,
2686,
5621,
202,
474,
5224,
273,
374,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
30665,
2686,
1435,
288,
202,
474,
2002,
273,
2325,
63,
20,
8009,
588,
13042,
2686,
5621,
202,
474,
2145,
273,
2325,
63,
21,
8009,
588,
13042,
2686,
5621,
202,
474,
5224,
273,
374,
... |
add(slidetrigger3 = new Label("slidetrigger3","click here to slide fromto")); add(sliderdiv3 = new Label("sliderdiv3","I'm sliding fromto! I'm sliding fromto!")); | slidetrigger3 = new Label(this, "slidetrigger3","click here to slide fromto"); sliderdiv3 = new Label(this, "sliderdiv3","I'm sliding fromto! I'm sliding fromto!"); | public DojoFXTestPage(PageParameters parameters) { add(new Image("topimg", new Model("menu-top.gif") )); add(menuItem1 = new Label("menuitem1", new Model("About"))); add(menuItem2 = new Label("menuitem2", new Model("Documentation"))); add(menuItem3 = new Label("menuitem3", new Model("Tutorials"))); add(submen... | 51612 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51612/ddd2a88f85254ce8cf229fdf8dce093a99393528/DojoFXTestPage.java/clean/wicket-contrib-dojo-examples/src/main/java/wicket/contrib/dojo/examples/DojoFXTestPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2256,
30952,
42,
3983,
395,
1964,
12,
1964,
2402,
1472,
13,
202,
95,
202,
202,
1289,
12,
2704,
3421,
2932,
3669,
6081,
3113,
394,
3164,
2932,
5414,
17,
3669,
18,
13905,
7923,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2256,
30952,
42,
3983,
395,
1964,
12,
1964,
2402,
1472,
13,
202,
95,
202,
202,
1289,
12,
2704,
3421,
2932,
3669,
6081,
3113,
394,
3164,
2932,
5414,
17,
3669,
18,
13905,
7923,
... |
public AboutDialog( IWorkbenchWindow window, AboutInfo primaryInfo, AboutInfo[] featureInfos) { super(window.getShell()); this.primaryInfo = primaryInfo; this.featureInfos = featureInfos; | public AboutDialog(Shell parentShell) { super(parentShell); IProduct product = Platform.getProduct(); IBundleGroupProvider[] providers = Platform.getBundleGroupProviders(); String productId = ""; if (product == null) productName = IDEWorkbenchMessages .getString("AboutDialog.defaultProductName"); else { productId = p... | public AboutDialog( IWorkbenchWindow window, AboutInfo primaryInfo, AboutInfo[] featureInfos) { super(window.getShell()); this.primaryInfo = primaryInfo; this.featureInfos = featureInfos; } | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/922a37ecfef1f6db512173bdfc248a42376c1f05/AboutDialog.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/AboutDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
9771,
659,
6353,
12,
202,
202,
45,
2421,
22144,
3829,
2742,
16,
202,
202,
24813,
966,
3354,
966,
16,
202,
202,
24813,
966,
8526,
2572,
7655,
13,
288,
202,
202,
9565,
12,
5668,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9771,
659,
6353,
12,
202,
202,
45,
2421,
22144,
3829,
2742,
16,
202,
202,
24813,
966,
3354,
966,
16,
202,
202,
24813,
966,
8526,
2572,
7655,
13,
288,
202,
202,
9565,
12,
5668,... |
if (strlen > 0) | m_array = newarray; } chunk = m_array[++m_lastChunk]; if (chunk == null) | public final void append(char[] chars, int start, int length) { int strlen = length; if (0 == strlen) return; int copyfrom = start; char[] chunk = m_array[m_lastChunk]; int available = m_chunkSize - m_firstFree; // Repeat while data remains to be copied while (strlen > 0) { // Copy ... | 2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/0b044b8c37fa8980dc216f4d8a005974d197f955/FastStringBuffer.java/buggy/src/org/apache/xml/utils/FastStringBuffer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
727,
918,
714,
12,
3001,
8526,
5230,
16,
509,
787,
16,
509,
769,
13,
225,
288,
565,
509,
3203,
273,
769,
31,
565,
309,
261,
20,
422,
3203,
13,
1377,
327,
31,
565,
509,
1610,
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,
282,
1071,
727,
918,
714,
12,
3001,
8526,
5230,
16,
509,
787,
16,
509,
769,
13,
225,
288,
565,
509,
3203,
273,
769,
31,
565,
309,
261,
20,
422,
3203,
13,
1377,
327,
31,
565,
509,
1610,
2... |
protected void readStartupEntropy(EntropySource startupEntropy) { // Consume the current time acceptEntropy(startupEntropy, System.currentTimeMillis(), 0); //Logger.minor(this, "Time: "+System.currentTimeMillis()+" on "+this); // Free memory acceptEntropy(startupEntropy, Runtime.getRuntime().freeMemory(), 0); //... | 50619 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50619/bc50c0ab3552700dd11500ebecd9c37ad70a191e/Yarrow.java/buggy/src/freenet/crypt/Yarrow.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
6459,
896,
22178,
28727,
12,
28727,
55,
477,
5710,
485,
416,
28727,
15329,
202,
202,
759,
11911,
546,
557,
3761,
957,
202,
202,
9436,
28727,
12,
23939,
28727,
16,
3163,
18,
297... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
6459,
896,
22178,
28727,
12,
28727,
55,
477,
5710,
485,
416,
28727,
15329,
202,
202,
759,
11911,
546,
557,
3761,
957,
202,
202,
9436,
28727,
12,
23939,
28727,
16,
3163,
18,
297... | ||
private void visitArithmetic(Node node, byte opCode, Node child, | private void visitArithmetic(Node node, int opCode, Node child, | private void visitArithmetic(Node node, byte opCode, Node child, Node parent) { int childNumberFlag = node.getIntProp(Node.ISNUMBER_PROP, -1); if (childNumberFlag != -1) { generateExpression(child, node); generateExpression(child.getNext(), node... | 19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/22644d0e62d87924a341469f715d13055cb347cc/Codegen.java/buggy/src/org/mozilla/javascript/optimizer/Codegen.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3757,
686,
16368,
12,
907,
756,
16,
509,
1061,
1085,
16,
2029,
1151,
16,
4766,
2029,
982,
13,
565,
288,
3639,
509,
1151,
1854,
4678,
273,
756,
18,
588,
1702,
4658,
12,
907,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3757,
686,
16368,
12,
907,
756,
16,
509,
1061,
1085,
16,
2029,
1151,
16,
4766,
2029,
982,
13,
565,
288,
3639,
509,
1151,
1854,
4678,
273,
756,
18,
588,
1702,
4658,
12,
907,
... |
public static String jsFunction_toUpperCase(Context cx, Scriptable thisObj, Object[] args, Function funObj) { String target = ScriptRuntime.toString(thisObj); | private static String jsFunction_toUpperCase(String target) { | public static String jsFunction_toUpperCase(Context cx, Scriptable thisObj, Object[] args, Function funObj) { String target = ScriptRuntime.toString(thisObj); return target.toUpperCase(); } | 47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/b631b3e8574543a4d24a0048cc710f305deb8ff5/NativeString.java/buggy/src/org/mozilla/javascript/NativeString.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
514,
3828,
2083,
67,
869,
8915,
12,
1042,
9494,
16,
22780,
15261,
16,
4766,
7734,
1033,
8526,
833,
16,
4284,
9831,
2675,
13,
565,
288,
3639,
514,
1018,
273,
7739,
5576,
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,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
514,
3828,
2083,
67,
869,
8915,
12,
1042,
9494,
16,
22780,
15261,
16,
4766,
7734,
1033,
8526,
833,
16,
4284,
9831,
2675,
13,
565,
288,
3639,
514,
1018,
273,
7739,
5576,
18,
1... |
getFolderDisplayUI().showStatusMessage(Pooka.getProperty("error.UIDFolder.validityMismatch", "Error: validity not correct. reloading...")); else Pooka.getUIFactory().showStatusMessage(Pooka.getProperty("error.UIDFolder.validityMismatch", "Error: validity not correct. reloading...")); getCache().invalidateCache(); ... | getFolderDisplayUI().showStatusMessage(Pooka.getProperty("message.UIDFolder.synchronizing", "Comparing new messages to current list...")); else Pooka.getUIFactory().showStatusMessage(Pooka.getProperty("message.UIDFolder.synchronizing", "Comparing new messages to current list...")); long[] addedUids = cache.getAddedMes... | public void synchronizeCache() throws MessagingException { if (Pooka.isDebug()) System.out.println("synchronizing cache."); if (getFolderDisplayUI() != null) getFolderDisplayUI().showStatusMessage(Pooka.getProperty("message.UIDFolder.synchronizing", "Re-synchronizing with folder...")); else Pooka.getUIF... | 967 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/967/42ac8102e7ae8f3e47484c22f4467d39cb29f9ea/CachingFolderInfo.java/buggy/net/suberic/pooka/cache/CachingFolderInfo.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
16978,
1649,
1435,
1216,
23794,
503,
288,
202,
430,
261,
52,
1184,
69,
18,
291,
2829,
10756,
202,
565,
2332,
18,
659,
18,
8222,
2932,
87,
2600,
6894,
1247,
1199,
1769,
202,
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,
918,
16978,
1649,
1435,
1216,
23794,
503,
288,
202,
430,
261,
52,
1184,
69,
18,
291,
2829,
10756,
202,
565,
2332,
18,
659,
18,
8222,
2932,
87,
2600,
6894,
1247,
1199,
1769,
202,
4... |
protected int[] parse(String str, int[] date) throws Exception{ | protected int[] parse(String str, int[] date) throws SchemaDateTimeException{ | protected int[] parse(String str, int[] date) throws Exception{ resetBuffer(str); //create structure to hold an object if ( date == null ) { date = new int[TOTAL_SIZE]; } resetDateObj(date); // get date getDate(fStart, fEnd, date); parseTimeZone (fE... | 4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/38d73cf7c0d35586a71e68d0fe233c425d82b6bd/DateDatatypeValidator.java/buggy/src/org/apache/xerces/validators/datatype/DateDatatypeValidator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
509,
8526,
1109,
12,
780,
609,
16,
509,
8526,
1509,
13,
1216,
4611,
5096,
503,
95,
3639,
2715,
1892,
12,
701,
1769,
3639,
368,
2640,
3695,
358,
6887,
392,
733,
3639,
309,
261,
150... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
509,
8526,
1109,
12,
780,
609,
16,
509,
8526,
1509,
13,
1216,
4611,
5096,
503,
95,
3639,
2715,
1892,
12,
701,
1769,
3639,
368,
2640,
3695,
358,
6887,
392,
733,
3639,
309,
261,
150... |
while (it.hasNext()) { | while (it.hasNext()) { | public static MultiStatus createFromXml(Element multistatusElement) { if (!DomUtil.matches(multistatusElement, XML_MULTISTATUS, NAMESPACE)) { throw new IllegalArgumentException("DAV:multistatus element expected."); } MultiStatus multistatus = new MultiStatus(); ElementIterator it = DomUtil.getChil... | 48761 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48761/53a93ea28bdff89ee1f658aa37cc28a9c840e5cc/MultiStatus.java/clean/jcr-server/webdav/src/java/org/apache/jackrabbit/webdav/MultiStatus.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
5991,
1482,
9492,
4432,
12,
1046,
1778,
376,
996,
1046,
13,
288,
202,
430,
16051,
8832,
1304,
18,
8436,
12,
5421,
376,
996,
1046,
16,
3167,
67,
12845,
5511,
5134,
16,
18494,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5991,
1482,
9492,
4432,
12,
1046,
1778,
376,
996,
1046,
13,
288,
202,
430,
16051,
8832,
1304,
18,
8436,
12,
5421,
376,
996,
1046,
16,
3167,
67,
12845,
5511,
5134,
16,
18494,
... |
public byte[] rleUncompress(byte[] input) throws FormatException { if (input.length < 8) return prevPixels; // read the 4 byte chunk length; this should equal input.length int length = DataTools.bytesToInt(input, 0, 4, little); // now read the header // if the header is 0, we uncompress the remaining b... | 55415 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55415/5e79a1290f53a10251fc235924d8df41580454ef/QTReader.java/clean/loci/formats/QTReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1160,
8526,
436,
298,
984,
14706,
12,
7229,
8526,
810,
13,
1216,
4077,
503,
288,
565,
309,
261,
2630,
18,
2469,
411,
1725,
13,
327,
2807,
18079,
31,
565,
368,
855,
326,
1059,
1160... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1160,
8526,
436,
298,
984,
14706,
12,
7229,
8526,
810,
13,
1216,
4077,
503,
288,
565,
309,
261,
2630,
18,
2469,
411,
1725,
13,
327,
2807,
18079,
31,
565,
368,
855,
326,
1059,
1160... | ||
match(LITERAL_default); if ( inputState.guessing==0 ) { name= "default"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_function: | match(LITERAL_let); if ( inputState.guessing==0 ) { name= "let"; } reservedKeywords_AST = (org.exist.xquery.parser.XQueryAST)currentAST.root; break; } case LITERAL_default: | public final String reservedKeywords() throws RecognitionException, TokenStreamException { String name; returnAST = null; ASTPair currentAST = new ASTPair(); org.exist.xquery.parser.XQueryAST reservedKeywords_AST = null; name= null; switch ( LA(1)) { case LITERAL_element: { org.exist.xquery.parser.XQuer... | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/10544e5ec103a411822c6180ed81ef38eab15de8/XQueryParser.java/buggy/src/org/exist/xquery/parser/XQueryParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
514,
225,
8735,
14149,
1435,
1216,
9539,
16,
3155,
1228,
503,
288,
202,
202,
780,
508,
31,
9506,
202,
2463,
9053,
273,
446,
31,
202,
202,
9053,
4154,
783,
9053,
273,
394,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
514,
225,
8735,
14149,
1435,
1216,
9539,
16,
3155,
1228,
503,
288,
202,
202,
780,
508,
31,
9506,
202,
2463,
9053,
273,
446,
31,
202,
202,
9053,
4154,
783,
9053,
273,
394,... |
if (lc != null && lc.size() != retVal.getDefaultPixels().getSizeC()) | if (lc != null && lc.size() == retVal.getDefaultPixels().getSizeC()) | public ImageData retrieveImage(int id, ImageData retVal) throws DSOutOfServiceException, DSAccessException { //Make a new retVal if none was provided. if (retVal == null) retVal = new ImageData(); //Define the criteria by which the object graph is pulled out. Criteria c = ImageMapper.buildImageCriteria(i... | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/a44d8080256cccc4fed6a1e9925c5e4177ac6b89/DMSAdapter.java/clean/SRC/org/openmicroscopy/shoola/env/data/DMSAdapter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3421,
751,
4614,
2040,
12,
474,
612,
16,
3421,
751,
12197,
13,
202,
202,
15069,
8678,
11224,
15133,
16,
8678,
9773,
565,
288,
202,
202,
759,
6464,
279,
394,
12197,
309,
6555,
1703,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3421,
751,
4614,
2040,
12,
474,
612,
16,
3421,
751,
12197,
13,
202,
202,
15069,
8678,
11224,
15133,
16,
8678,
9773,
565,
288,
202,
202,
759,
6464,
279,
394,
12197,
309,
6555,
1703,
... |
status = BugzillaOfflineStatus.SAVED; | status = RepositoryTaskSyncState.SYNCHRONIZED; | public BugzillaOfflineStatus add(final BugzillaReport entry, boolean forceSync) throws CoreException { BugzillaOfflineStatus status = BugzillaOfflineStatus.SAVED; try { String handle = AbstractRepositoryTask.getHandle(entry.getRepositoryUrl(), entry.getId()); ITask task = MylarTaskListPlugin.getTaskListManager()... | 51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/70c9f3bb8d345dca7657801fbf2f7ea03f6458d8/OfflineReportsFile.java/buggy/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/OfflineReportsFile.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
16907,
15990,
23106,
1482,
527,
12,
6385,
16907,
15990,
4820,
1241,
16,
1250,
2944,
4047,
13,
1216,
30015,
288,
202,
202,
19865,
15990,
23106,
1482,
1267,
273,
16907,
15990,
23106,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
16907,
15990,
23106,
1482,
527,
12,
6385,
16907,
15990,
4820,
1241,
16,
1250,
2944,
4047,
13,
1216,
30015,
288,
202,
202,
19865,
15990,
23106,
1482,
1267,
273,
16907,
15990,
23106,
... |
in = new BufferedReader(new InputStreamReader(new URL(url).openStream())); BugReport bug = BugParser.parseBug(in, id, BugzillaPlugin.getDefault().getServerName(), BugzillaPreferences.is218(), BugzillaPreferences.getUserName(), BugzillaPreferences.getPassword()); return bug; | URL bugUrl = new URL(url); URLConnection cntx = BugzillaPlugin.getDefault().getUrlConnection(bugUrl); if(cntx != null){ InputStream input = cntx.getInputStream(); if(input != null) { in = new BufferedReader(new InputStreamReader(input)); BugReport bug = BugParser.parseBug(in, id, BugzillaPlugin.getDefault().getServer... | public BugReport getBug(int id) throws IOException, MalformedURLException, LoginException { BufferedReader in = null; try { // connect to the bugzilla server SSLContext ctx = SSLContext.getInstance("TLS"); javax.net.ssl.TrustManager[] tm = new javax.net.ssl.TrustManager[]{new TrustAll()}; ctx.init(null, t... | 51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/0282a0bed26a92a6b98cf857cd27fa3c1fbdc15a/BugzillaRepository.java/buggy/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/BugzillaRepository.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
16907,
4820,
2882,
637,
12,
474,
612,
13,
1216,
1860,
16,
20710,
16,
11744,
503,
202,
95,
202,
202,
17947,
2514,
316,
273,
446,
31,
202,
202,
698,
288,
1082,
202,
759,
3077,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
16907,
4820,
2882,
637,
12,
474,
612,
13,
1216,
1860,
16,
20710,
16,
11744,
503,
202,
95,
202,
202,
17947,
2514,
316,
273,
446,
31,
202,
202,
698,
288,
1082,
202,
759,
3077,
... |
public long getFieldAsLong(int tag) { return getFieldAsLong(tag, 0); | public long getFieldAsLong(int tag, int index) { Integer i = (Integer)fieldIndex.get(new Integer(tag)); return (fields[i.intValue()]).getAsLong(index); | public long getFieldAsLong(int tag) { return getFieldAsLong(tag, 0); } | 49628 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49628/a1be1248844086c581b24a58b65c7367a0c8b697/TIFFDirectory.java/buggy/src/share/classes/com/sun/media/jai/codec/TIFFDirectory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1525,
5031,
1463,
3708,
12,
474,
1047,
13,
288,
3639,
327,
5031,
1463,
3708,
12,
2692,
16,
374,
1769,
565,
289,
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,
377,
1071,
1525,
5031,
1463,
3708,
12,
474,
1047,
13,
288,
3639,
327,
5031,
1463,
3708,
12,
2692,
16,
374,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
if (this.useTab) { this.indentationLevel = preferences.initial_indentation_level; } else { this.indentationLevel = preferences.initial_indentation_level * this.tabSize; } | this.indentationLevel = preferences.initial_indentation_level * this.indentationSize; | public void setLineSeparatorAndIdentationLevel(DefaultCodeFormatterOptions preferences) { this.lineSeparator = preferences.line_separator; if (this.useTab) { this.indentationLevel = preferences.initial_indentation_level; } else { this.indentationLevel = preferences.initial_indentation_level * this.tabSize; } } | 10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/89bcdbe3377ffa239857ce6e220c3e9a2f048f0c/Scribe.java/clean/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/Scribe.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
26482,
6581,
1876,
6106,
367,
2355,
12,
1868,
1085,
5074,
1320,
12750,
13,
288,
202,
202,
2211,
18,
1369,
6581,
273,
12750,
18,
1369,
67,
11287,
31,
202,
202,
430,
261,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
26482,
6581,
1876,
6106,
367,
2355,
12,
1868,
1085,
5074,
1320,
12750,
13,
288,
202,
202,
2211,
18,
1369,
6581,
273,
12750,
18,
1369,
67,
11287,
31,
202,
202,
430,
261,
2... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.