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 |
|---|---|---|---|---|---|---|
Logger.minor(this, "Written: "+key+" -> "+b); | private void createAndOverwrite(int recnum, Key key, byte[] data) throws IOException { DataBlock b = new DataBlock(recnum, key, System.currentTimeMillis()); _index.seek(recnum * DataBlock.SIZE_ON_DISK); key.write(_index); getKeyMap().put(key, b); Logger.minor(this, "Written: "+key+" -> "+b); _index.writeLong(b.g... | 52909 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52909/468622124d6c873f5829a9d551c994b13f38cb37/DataStore.java/clean/src/freenet/store/DataStore.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
30545,
20832,
12,
474,
1950,
2107,
16,
1929,
498,
16,
1160,
8526,
501,
13,
1216,
1860,
288,
202,
202,
751,
1768,
324,
273,
394,
1910,
1768,
12,
3927,
2107,
16,
498,
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,
225,
202,
1152,
918,
30545,
20832,
12,
474,
1950,
2107,
16,
1929,
498,
16,
1160,
8526,
501,
13,
1216,
1860,
288,
202,
202,
751,
1768,
324,
273,
394,
1910,
1768,
12,
3927,
2107,
16,
498,
16,
... | |
MIShowEndian endian = new MIShowEndian(); | MIGDBShowEndian endian = factory.createMIGDBShowEndian(); | public boolean isLittleEndian() throws CDIException { if (fEndian == null) { CommandFactory factory = miSession.getCommandFactory(); MIShowEndian endian = new MIShowEndian(); try { miSession.postCommand(endian); MIShowEndianInfo info = endian.getMIShowEndianInfo(); if (info == null) { throw new CDI... | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/3c46b1d4bcea378a484b3eb891a58c4fc9ba09cb/Target.java/clean/debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/model/Target.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
28601,
10609,
1435,
1216,
385,
2565,
503,
288,
202,
202,
430,
261,
74,
7583,
422,
446,
13,
288,
1082,
202,
2189,
1733,
3272,
273,
12837,
2157,
18,
588,
2189,
1733,
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,
1250,
28601,
10609,
1435,
1216,
385,
2565,
503,
288,
202,
202,
430,
261,
74,
7583,
422,
446,
13,
288,
1082,
202,
2189,
1733,
3272,
273,
12837,
2157,
18,
588,
2189,
1733,
5621,
... |
if (_log.shouldLog(Log.DEBUG)) _log.debug(getJobId() + ": Send outbound client message - sending off leaseSet lookup job"); | public void runJob() { if (_log.shouldLog(Log.DEBUG)) _log.debug(getJobId() + ": Send outbound client message job beginning"); buildClove(); if (_log.shouldLog(Log.DEBUG)) _log.debug(getJobId() + ": Clove built"); long timeoutMs = _overallExpiration - getContext().c... | 3808 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3808/d74aa6e53db101dcab9bf76b9279dc44df63637d/OutboundClientMessageOneShotJob.java/clean/router/java/src/net/i2p/router/message/OutboundClientMessageOneShotJob.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
2278,
1435,
288,
3639,
309,
261,
67,
1330,
18,
13139,
1343,
12,
1343,
18,
9394,
3719,
5411,
389,
1330,
18,
4148,
12,
588,
23378,
1435,
397,
6398,
2479,
11663,
1004,
883,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2278,
1435,
288,
3639,
309,
261,
67,
1330,
18,
13139,
1343,
12,
1343,
18,
9394,
3719,
5411,
389,
1330,
18,
4148,
12,
588,
23378,
1435,
397,
6398,
2479,
11663,
1004,
883,
... | |
if(end_index < start_index) { | if (end_index < start_index) { | public String getSubstring() { // new code for whitepsace handling if(master != null) { if(start_index == -1 || end_index == -1) { return master; } if(end_index < start_index) { u.p("warning: end is less than start: " + end_index + " < " +... | 57883 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57883/e65470765b9501b251ba6faf1734b383bb9b1578/InlineBox.java/buggy/src/java/org/xhtmlrenderer/render/InlineBox.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
7040,
1080,
1435,
288,
3639,
368,
394,
981,
364,
600,
305,
13058,
623,
5057,
3639,
309,
12,
7525,
480,
446,
13,
288,
5411,
309,
12,
1937,
67,
1615,
422,
300,
21,
747,
679,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7040,
1080,
1435,
288,
3639,
368,
394,
981,
364,
600,
305,
13058,
623,
5057,
3639,
309,
12,
7525,
480,
446,
13,
288,
5411,
309,
12,
1937,
67,
1615,
422,
300,
21,
747,
679,
... |
private void addProposalsFromTemplateEngine(ITextViewer viewer, TemplateEngine[] fTemplateEngine, List completions){ for (int i = 0; i < fTemplateEngine.length; i++) { if (fTemplateEngine[i] == null) { continue; } | private void addProposalsFromTemplateEngine(ITextViewer viewer, TemplateEngine fTemplateEngine, List completions){ if (fTemplateEngine != null) { | private void addProposalsFromTemplateEngine(ITextViewer viewer, TemplateEngine[] fTemplateEngine, List completions){ for (int i = 0; i < fTemplateEngine.length; i++) { if (fTemplateEngine[i] == null) { continue; } try { fTemplateEngine[i].reset(); fTemplateEngine[i].complete(viewer, fCurrentOffset, nul... | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/3c9660722e94023d2d75aec85e55cbb5ff731977/CCompletionProcessor.java/buggy/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/contentassist/CCompletionProcessor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
527,
626,
22536,
1265,
2283,
4410,
12,
1285,
408,
18415,
14157,
16,
5035,
4410,
8526,
284,
2283,
4410,
16,
987,
23738,
15329,
202,
202,
1884,
261,
474,
277,
273,
374,
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,
225,
202,
1152,
918,
527,
626,
22536,
1265,
2283,
4410,
12,
1285,
408,
18415,
14157,
16,
5035,
4410,
8526,
284,
2283,
4410,
16,
987,
23738,
15329,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
... |
PrivilegedAccessor.invokeMethod( (ManagedDownloader)md,"informMesh",new Object[]{rfd,new Boolean(true)}, new Class[]{RemoteFileDesc.class,boolean.class}); | md.informMesh(rfd,true); | public void testFirewalledLocs() throws Exception { LOG.info("testing firewalled locations"); PrivilegedAccessor.setValue(RouterService.getAcceptor(), "_acceptedIncoming",new Boolean(true)); assertTrue(RouterService.acceptedIncomingConnection()); //first make sure we are... | 5134 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5134/8511878ed668f7fd2cc2d389fa9fe9053644f493/ManagedDownloaderTest.java/buggy/components/gnutella-core/src/test/java/com/limegroup/gnutella/downloader/ManagedDownloaderTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
9723,
91,
4502,
1333,
87,
1435,
1216,
1185,
288,
377,
202,
4842,
18,
1376,
2932,
3813,
310,
4452,
91,
4502,
7838,
8863,
3639,
17747,
8235,
18,
542,
620,
12,
8259,
1179,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9723,
91,
4502,
1333,
87,
1435,
1216,
1185,
288,
377,
202,
4842,
18,
1376,
2932,
3813,
310,
4452,
91,
4502,
7838,
8863,
3639,
17747,
8235,
18,
542,
620,
12,
8259,
1179,
... |
Assert.assert(-1 != nativeRDFNode); | Assert.assert_it(-1 != nativeRDFNode); | public boolean hasMoreElements(){ Assert.assert(-1 != nativeRDFNode); return nativeHasMoreElements(nativeWebShell, nativeRDFNode);} | 7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/0e30fa38c30ae26743aee09175fac1e8146c075a/RDFEnumeration.java/buggy/java/webclient/classes_spec/org/mozilla/webclient/wrapper_native/RDFEnumeration.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
1250,
16073,
1435,
95,
565,
5452,
18,
11231,
67,
305,
19236,
21,
480,
6448,
30137,
907,
1769,
565,
327,
6448,
5582,
7417,
3471,
12,
13635,
4079,
13220,
16,
6448,
30137,
907,
1769,
97,
2,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
1250,
16073,
1435,
95,
565,
5452,
18,
11231,
67,
305,
19236,
21,
480,
6448,
30137,
907,
1769,
565,
327,
6448,
5582,
7417,
3471,
12,
13635,
4079,
13220,
16,
6448,
30137,
907,
1769,
97,
2,... |
_t = __t713; | _t = __t717; | public final void createautomationobjectstate(AST _t) throws RecognitionException { AST createautomationobjectstate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t711 = _t; AST tmp424_AST_in = (AST)_t; match(_t,CREATE); _t = _t.getFirstChild(); AST tmp425_AST_in = (AST)_t; match(_t,QSTRING); _t = _t.get... | 13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/JPTreeParser.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparserbase/JPTreeParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
752,
5854,
11978,
1612,
2019,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
752,
5854,
11978,
1612,
2019,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
752,
5854,
11978,
1612,
2019,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
752,
5854,
11978,
1612,
2019,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
... |
final PlayerCharacter nPC = (PlayerCharacter) p.next(); if (aF.getFileName().equals(nPC.getFileName())) { currentPC = getPc(); Globals.setCurrentPC(nPC); valString = nPC.getVariableValue(restString, "").toString(); Globals.setCurrentPC(currentPC); } | currentPC = getPc(); Globals.setCurrentPC(pc); valString = pc.getVariableValue(restString, "").toString(); Globals.setCurrentPC(currentPC); | protected String getInternalVariable(final Spell aSpell, String valString, final String src) { if (!Globals.checkRule(RuleConstants.SYS_LDPACSK)) { // Need to make sure the MXDXEN value // is 1000 to ensure no Dex penalty // to AC for load > LIGHT if (valString.equals(getPc().getStatList().getPenaltyVar("DEX... | 48301 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48301/746f9fbe7d3bb98c609b2f38fbc5ffad4e685726/VariableProcessorPC.java/clean/code/src/java/pcgen/core/VariableProcessorPC.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
514,
16918,
3092,
12,
6385,
5878,
1165,
279,
3389,
1165,
16,
514,
1244,
780,
16,
727,
514,
1705,
13,
202,
95,
202,
202,
430,
16051,
19834,
18,
1893,
2175,
12,
2175,
2918,
18,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
514,
16918,
3092,
12,
6385,
5878,
1165,
279,
3389,
1165,
16,
514,
1244,
780,
16,
727,
514,
1705,
13,
202,
95,
202,
202,
430,
16051,
19834,
18,
1893,
2175,
12,
2175,
2918,
18,... |
if(t2.type != ATESyntaxLexer.TOKEN_CHAR || !t2.getAttribute().equals("9")) continue; if(t3.type != ATESyntaxLexer.TOKEN_CHAR || !t3.getAttribute().equals("9")) | if(t2.type != ATESyntaxLexer.TOKEN_ID || !t2.getAttribute().equals("HIDDEN")) | public void findTokensToIgnore() { List rules = getRules(); if(rules == null || rules.isEmpty()) return; ATESyntaxLexer lexer = new ATESyntaxLexer(); for (Iterator ruleIter = rules.iterator(); ruleIter.hasNext();) { GrammarSyntaxRule rule = (GrammarSyntaxRule) ruleI... | 4430 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4430/599a1b2f72808f59258d3e27b22050d45b687df8/EditorRules.java/buggy/src/org/antlr/works/editor/EditorRules.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1104,
5157,
774,
3777,
1435,
288,
3639,
987,
2931,
273,
27357,
5621,
3639,
309,
12,
7482,
422,
446,
747,
2931,
18,
291,
1921,
10756,
5411,
327,
31,
3639,
432,
7296,
5392,
13356... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1104,
5157,
774,
3777,
1435,
288,
3639,
987,
2931,
273,
27357,
5621,
3639,
309,
12,
7482,
422,
446,
747,
2931,
18,
291,
1921,
10756,
5411,
327,
31,
3639,
432,
7296,
5392,
13356... |
int index=size; | private DatatypeValidator traverseSimpleTypeDecl(Element simpleTypeDecl, Object[] attrValues, XSDocumentInfo schemaDoc, SchemaGrammar grammar, boolean isGlobal) { String nameProperty = (String)attrValues[... | 6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/5b0cf65d1d2e090172d69189c96c522d6a30ac2c/XSDSimpleTypeTraverser.java/buggy/src/org/apache/xerces/impl/xs/traversers/XSDSimpleTypeTraverser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
21168,
5126,
10080,
5784,
559,
3456,
12,
1046,
4143,
559,
3456,
16,
1033,
8526,
1604,
1972,
16,
4766,
5397,
1139,
55,
2519,
966,
1963,
1759,
16,
4766,
5397,
4611,
18576,
6473,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
21168,
5126,
10080,
5784,
559,
3456,
12,
1046,
4143,
559,
3456,
16,
1033,
8526,
1604,
1972,
16,
4766,
5397,
1139,
55,
2519,
966,
1963,
1759,
16,
4766,
5397,
4611,
18576,
6473,
16,
1... | |
public PropertyChangeListener createPropertyChangeListener(JFileChooser fc) { return new PropertyChangeListener() { public void propertyChange(PropertyChangeEvent e) { // FIXME: Multiple file selection waiting on JList multiple selection bug. if (e.getPropertyName().equals(JFileChooser.SELECTED_FILE_CHAN... | 47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/72aac9545cb7d649a067594d257258700eb2edf9/BasicFileChooserUI.java/clean/javax/swing/plaf/basic/BasicFileChooserUI.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
1396,
15744,
2640,
1396,
15744,
12,
46,
812,
17324,
7142,
15329,
2463,
2704,
1396,
15744,
1435,
95,
202,
482,
6459,
4468,
3043,
12,
1396,
20930,
73,
13,
202,
95,
202,
759,
25810,
30,
843... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1396,
15744,
2640,
1396,
15744,
12,
46,
812,
17324,
7142,
15329,
2463,
2704,
1396,
15744,
1435,
95,
202,
482,
6459,
4468,
3043,
12,
1396,
20930,
73,
13,
202,
95,
202,
759,
25810,
30,
843... | ||
List args = new ArrayList(); File javac = findJavaTool(javacPath == null ? DEFAULT_COMPILER : javacPath); assert (javac.exists()) : "compiler not found " + javac; args.add(javac.getAbsolutePath()); if (outdir == null) { outdir = new File("."); } else { args.add("-d"); args.add(quoteAndEscapeFilename(outdir.getAbsolut... | return externalCompile(srcFiles, outdir, cp, debug, DEFAULT_COMPILER, DEFAULT_MEM_START, DEFAULT_MEM_MAX, false, false); | static public boolean externalCompile(List srcFiles, File outdir, File[] cp, boolean debug, String javacPath, String memStart, String memMax, boolean quiet, boolean verbose) { List args = new ArrayList(); File javac = findJavaTool(javacPath == null ? DEFAULT_COMPILER : javacPath); assert (j... | 3520 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3520/3b16aebcb4b454a88e7c4771bd6844278eafcb3a/CodeGenUtil.java/buggy/v1/src/xmlcomp/org/apache/xmlbeans/impl/tool/CodeGenUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
1071,
1250,
3903,
9937,
12,
682,
1705,
2697,
16,
1387,
15398,
16,
1387,
8526,
3283,
16,
1250,
1198,
16,
514,
5152,
1077,
743,
16,
514,
1663,
1685,
16,
514,
1663,
2747,
16,
225,
125... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
1071,
1250,
3903,
9937,
12,
682,
1705,
2697,
16,
1387,
15398,
16,
1387,
8526,
3283,
16,
1250,
1198,
16,
514,
5152,
1077,
743,
16,
514,
1663,
1685,
16,
514,
1663,
2747,
16,
225,
125... |
else continue; | public void paint(Graphics g) { g.setColor(Color.white); g.fillRect(0,0,getWidth()-1,COMPONENT_HEIGHT - 1); g.setColor(Color.black); g.drawRect(0,0,getWidth()-1,COMPONENT_HEIGHT - 1); if(ratio < 1 && ratio != 0) { int [] loadColor = new int[getWidth()]; int [] cacheColor = new int[getWidth()]... | 55415 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55415/8f654f9f57542e0e2cc2c972e3a7655cbe00339a/CacheIndicator.java/clean/loci/plugins/browser/CacheIndicator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
12574,
12,
17558,
314,
13,
288,
565,
314,
18,
542,
2957,
12,
2957,
18,
14739,
1769,
565,
314,
18,
5935,
6120,
12,
20,
16,
20,
16,
588,
2384,
1435,
17,
21,
16,
22922,
67,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
12574,
12,
17558,
314,
13,
288,
565,
314,
18,
542,
2957,
12,
2957,
18,
14739,
1769,
565,
314,
18,
5935,
6120,
12,
20,
16,
20,
16,
588,
2384,
1435,
17,
21,
16,
22922,
67,
... | |
TOCTreeNode detailNode2 = detail2.getNode( ); | public void testHiddenFormat4( ) { tocTree = new TOCTree( ); builder = new TOCBuilder( tocTree ); TOCEntry rootEntry = builder.getTOCEntry( ); TOCEntry reportHeader = startEntry( rootEntry, "report-header" ); closeEntry( reportHeader ); TOCEntry group = startGroupEntry( rootEntry ); // open group TOCEntry detai... | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/2fb2d1f0c772873d250e1d25d021730e300b5489/TOCBuilderTest.java/clean/engine/org.eclipse.birt.report.engine.tests/test/org/eclipse/birt/report/engine/toc/TOCBuilderTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
9345,
1630,
24,
12,
262,
202,
95,
202,
202,
1391,
2471,
273,
394,
8493,
1268,
992,
12,
11272,
202,
202,
9574,
273,
394,
8493,
39,
1263,
12,
17919,
2471,
11272,
202,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
9345,
1630,
24,
12,
262,
202,
95,
202,
202,
1391,
2471,
273,
394,
8493,
1268,
992,
12,
11272,
202,
202,
9574,
273,
394,
8493,
39,
1263,
12,
17919,
2471,
11272,
202,... | |
buf.insert(where, str); | int length = length(); int strLen = str.length(); if (where >= length) throw new BadLocationException("the where argument cannot be greater" + " than the content length", where); if ((gapEnd - gapStart) < strLen) shiftEnd(strLen + DEFAULT_BUFSIZE); if (where != gapStart) shiftGap(where); System.arraycopy(str.... | public UndoableEdit insertString(int where, String str) throws BadLocationException { buf.insert(where, str); return null; } | 1043 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1043/66e2f6e7d39d0673c04409215da42eef752afe5f/GapContent.java/buggy/libjava/javax/swing/text/GapContent.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1351,
2896,
429,
4666,
2243,
780,
12,
474,
1625,
16,
514,
609,
13,
565,
1216,
6107,
2735,
503,
225,
288,
377,
509,
769,
273,
769,
5621,
509,
609,
2891,
273,
609,
18,
2469,
5621,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1351,
2896,
429,
4666,
2243,
780,
12,
474,
1625,
16,
514,
609,
13,
565,
1216,
6107,
2735,
503,
225,
288,
377,
509,
769,
273,
769,
5621,
509,
609,
2891,
273,
609,
18,
2469,
5621,
... |
allWhitespace = false; | public static List stripInlineContent(Context c, List inlineContent) { List stripped = new LinkedList(); List pendingStylePushes = new LinkedList(); boolean collapse = false; boolean allWhitespace = true; for (Iterator i = inlineContent.iterator(); i.hasNext();) { Objec... | 8125 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8125/3f42b421383cc638581563923e0f4301d1a776e8/WhitespaceStripper.java/clean/src/java/org/xhtmlrenderer/layout/inline/WhitespaceStripper.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
987,
2569,
10870,
1350,
12,
1042,
276,
16,
987,
6370,
1350,
13,
288,
3639,
987,
13300,
273,
394,
10688,
5621,
3639,
987,
4634,
2885,
7621,
281,
273,
394,
10688,
5621,
3639,
125... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
987,
2569,
10870,
1350,
12,
1042,
276,
16,
987,
6370,
1350,
13,
288,
3639,
987,
13300,
273,
394,
10688,
5621,
3639,
987,
4634,
2885,
7621,
281,
273,
394,
10688,
5621,
3639,
125... | |
IViewDescriptor desc = viewReg.find(id); if (desc == null) throw new PartInitException(WorkbenchMessages.format("ViewFactory.couldNotCreate", new Object[] { id })); IViewReference ref = (IViewReference) counter.get(desc); if (ref == null) { ref = new ViewReference(id); counter.put(desc, ref); } else { counter.addRef(de... | return createView(id, null); | public IViewReference createView(final String id) throws PartInitException { IViewDescriptor desc = viewReg.find(id); if (desc == null) throw new PartInitException(WorkbenchMessages.format("ViewFactory.couldNotCreate", new Object[] { id })); //$NON-NLS-1$ IViewReference ref = (IViewReference) counter.get(desc); ... | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/4c54f4e9d7f7736ec1933d53df8e30ab176cd2b2/ViewFactory.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ViewFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
1767,
2404,
15193,
12,
6385,
514,
612,
13,
1216,
6393,
2570,
503,
288,
202,
202,
45,
1767,
3187,
3044,
273,
1476,
1617,
18,
4720,
12,
350,
1769,
202,
202,
430,
261,
5569,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1767,
2404,
15193,
12,
6385,
514,
612,
13,
1216,
6393,
2570,
503,
288,
202,
202,
45,
1767,
3187,
3044,
273,
1476,
1617,
18,
4720,
12,
350,
1769,
202,
202,
430,
261,
5569,... |
log.info("------- Initialization Complete -----------"); | log.info("------- Initialization Complete -----------"); | public void run() throws Exception { Log log = LogFactory.getLog(RemoteServerExample.class); // First we must get a reference to a scheduler SchedulerFactory sf = new StdSchedulerFactory(); Scheduler sched = sf.getScheduler(); log.info("------- Initialization Complete -----------"); log.info("------- (Not Schedu... | 55677 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55677/51ce7552fa3eb48cf96a05bff5bca6616477f94b/RemoteServerExample.java/clean/examples/src/java/org/quartz/examples/example12/RemoteServerExample.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1086,
1435,
1216,
1185,
288,
202,
202,
1343,
613,
273,
1827,
1733,
18,
588,
1343,
12,
5169,
2081,
10908,
18,
1106,
1769,
202,
202,
759,
5783,
732,
1297,
336,
279,
2114,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1086,
1435,
1216,
1185,
288,
202,
202,
1343,
613,
273,
1827,
1733,
18,
588,
1343,
12,
5169,
2081,
10908,
18,
1106,
1769,
202,
202,
759,
5783,
732,
1297,
336,
279,
2114,
3... |
ib_generateColumnWidths = true; | for (int li_index = 0; li_index < ii_origColumnWidths.length; li_index++) { ii_origColumnWidths[li_index] = MAXCOMPONENTWIDTH; ib_isMaxWidths[li_index ] = true; } | public EasyLayout(int[] ai_origColumnWidths, int[] ai_origRowHeights, int[] ai_columns, int[] ai_rows, int ai_hGap, int ai_vGap) { int li_count = 0; ii_hGap = ai_hGap; ii_vGap = ai_vGap; for (int li_index = 0; li_index < ai_columns.length; li_index++) { li_count += ai_columns[li_index]; } if (li_count != 100)... | 5964 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5964/59874e633c05dce9958535c0d9da7316237c2d46/EasyLayout.java/buggy/swingsrc/com/sohlman/easylayout/EasyLayout.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
29442,
3744,
12,
474,
8526,
14679,
67,
4949,
1494,
22407,
16,
509,
8526,
14679,
67,
4949,
1999,
2686,
87,
16,
509,
8526,
14679,
67,
5112,
16,
509,
8526,
14679,
67,
3870,
16,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
29442,
3744,
12,
474,
8526,
14679,
67,
4949,
1494,
22407,
16,
509,
8526,
14679,
67,
4949,
1999,
2686,
87,
16,
509,
8526,
14679,
67,
5112,
16,
509,
8526,
14679,
67,
3870,
16,
5... |
response.setContentType("text/" + getMarkupType()); | final MarkupStream markupStream = findMarkupStream(); if (markupStream != null) { if (markupStream.getXmlDeclaration() != null) { response.setContentType("text/" + getMarkupType() + "; charset=" + markupStream.getEncoding()); response.write(markupStream.getXmlDeclaration()); } } else { response.setContent... | protected void configureResponse() { // Get response final Response response = getResponse(); // Set content type based on markup type for page response.setContentType("text/" + getMarkupType()); // Set response locale from session locale response.setLocale(getSession().getLocale()); } | 46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/c631facac0f597d0e3dec9fd28d5e81ac8331f16/Page.java/buggy/wicket/src/java/wicket/Page.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
5068,
1064,
1435,
202,
95,
202,
202,
759,
968,
766,
202,
202,
6385,
2306,
766,
273,
6476,
5621,
202,
202,
759,
1000,
913,
618,
2511,
603,
9813,
618,
364,
1363,
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,
1117,
918,
5068,
1064,
1435,
202,
95,
202,
202,
759,
968,
766,
202,
202,
6385,
2306,
766,
273,
6476,
5621,
202,
202,
759,
1000,
913,
618,
2511,
603,
9813,
618,
364,
1363,
202,
202,... |
public void testCreateChromosomeLocation() throws Exception { Chromosome chr = getChromosome(); int chrId = chr.getId().intValue(); BioEntity parent = (BioEntity) DynamicUtil.createObject(Collections.singleton(BioEntity.class)); int parentId = 101; parent.setId(new Integer(parentI... | 7196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7196/fe86d6e97ce647c8d58ad11b09a19ce7267f93e3/CalculateLocationsTest.java/buggy/flymine/model/genomic/src/test/org/flymine/postprocess/CalculateLocationsTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
1684,
30761,
16958,
2735,
1435,
1216,
1185,
288,
3639,
1680,
520,
16958,
4513,
273,
336,
30761,
16958,
5621,
3639,
509,
4513,
548,
273,
4513,
18,
26321,
7675,
474,
620,
562... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1684,
30761,
16958,
2735,
1435,
1216,
1185,
288,
3639,
1680,
520,
16958,
4513,
273,
336,
30761,
16958,
5621,
3639,
509,
4513,
548,
273,
4513,
18,
26321,
7675,
474,
620,
562... | ||
fileElement.setAttribute("key", uris[i].toString(false)); | fileElement.setAttribute("key", uris[i].toString()); | private synchronized void produceIndex() throws IOException { File outputFile; StreamResult resultStream; if (urisByWord.isEmpty() || urisWithWords.isEmpty()) { Logger.normal(this, "No URIs with words -> no index generation"); return; } outputFile = new File(indexFilename); if(outputFile.exists() && !o... | 48807 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48807/1c876261ab73159d57a26624667ec7bf7acd15b8/NinjaSpider.java/clean/src/freenet/clients/http/NinjaSpider.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
3852,
918,
11402,
1016,
1435,
1216,
1860,
288,
202,
202,
812,
15047,
31,
202,
202,
1228,
1253,
563,
1228,
31,
202,
202,
430,
261,
23510,
858,
3944,
18,
291,
1921,
1435,
747,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3852,
918,
11402,
1016,
1435,
1216,
1860,
288,
202,
202,
812,
15047,
31,
202,
202,
1228,
1253,
563,
1228,
31,
202,
202,
430,
261,
23510,
858,
3944,
18,
291,
1921,
1435,
747,
... |
if (url != null) { | if (url != null) | public InputStream getResourceAsStream(String path) { try { URL url = httpContext.getResource(path); if (url != null) { return url.openStream(); } else { return null; } } catch (IOException ex) { return null; } } | 13530 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13530/ccd988bbab917bffab77a86ac4e5ca05689b23e5/ServletContextImpl.java/buggy/bundles/org.eclipse.equinox.http/src/org/eclipse/equinox/http/servlet/ServletContextImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
5037,
20216,
12,
780,
589,
13,
288,
202,
202,
698,
288,
1082,
202,
1785,
880,
273,
1062,
1042,
18,
588,
1420,
12,
803,
1769,
1082,
202,
430,
261,
718,
480,
446,
13,
288,
950... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
5037,
20216,
12,
780,
589,
13,
288,
202,
202,
698,
288,
1082,
202,
1785,
880,
273,
1062,
1042,
18,
588,
1420,
12,
803,
1769,
1082,
202,
430,
261,
718,
480,
446,
13,
288,
950... |
bc2ir.appendInstruction(Binary.create(INT_SHL, offset, index, | bc2ir.appendInstruction(Binary.create(INT_SHL, offsetI, index, | static boolean generateMagic(OPT_BC2IR bc2ir, OPT_GenerationContext gc, VM_MethodReference meth) throws OPT_MagicNotImplementedException { if (gc.method.hasNoInlinePragma()) gc.allocFrame = true; // HACK: Don't schedule any bbs containing unsafe ... | 49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/3a9aeeb7f964774e6adc285d6526603ac1570e14/OPT_GenerateMagic.java/clean/rvm/src/vm/compilers/optimizing/ir/conversions/bc2hir/OPT_GenerateMagic.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
1250,
2103,
19289,
12,
15620,
67,
16283,
22,
7937,
6533,
22,
481,
16,
27573,
16456,
67,
13842,
1042,
8859,
16,
27573,
8251,
67,
1305,
2404,
7917,
13,
1216,
16456,
67,
19289,
1248,
86... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
1250,
2103,
19289,
12,
15620,
67,
16283,
22,
7937,
6533,
22,
481,
16,
27573,
16456,
67,
13842,
1042,
8859,
16,
27573,
8251,
67,
1305,
2404,
7917,
13,
1216,
16456,
67,
19289,
1248,
86... |
public abstract List getDataSourceList(String nodeId, String intf, boolean includeNodeQueries); | public List getDataSourceList(int nodeId) { return getDataSourceList(String.valueOf(nodeId)); } | public abstract List getDataSourceList(String nodeId, String intf, boolean includeNodeQueries); | 47678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47678/4dfa1b0a6361605a11fa0a1aff4926bbee3e6246/GraphModelAbstract.java/buggy/src/web/src/org/opennms/web/graph/GraphModelAbstract.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
8770,
987,
29130,
682,
12,
780,
11507,
16,
514,
17262,
16,
25083,
282,
1250,
2341,
907,
9592,
1769,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
8770,
987,
29130,
682,
12,
780,
11507,
16,
514,
17262,
16,
25083,
282,
1250,
2341,
907,
9592,
1769,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
toolBarManager.dispose(); | if (toolBarManager instanceof IToolBarManager2) ((IToolBarManager2) toolBarManager).dispose(); else if (toolBarManager instanceof ToolBarManager) ((ToolBarManager) toolBarManager).dispose(); | public boolean close() { if (operationInProgress) return false; if (super.close()) { if (menuBarManager != null) { menuBarManager.dispose(); menuBarManager = null; } if (toolBarManager != null) { toolBarManager.di... | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/4ab9153c33294fedde181b0a3efe60786aac7bd9/ApplicationWindow.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/window/ApplicationWindow.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1746,
1435,
288,
3639,
309,
261,
7624,
13434,
13,
5411,
327,
629,
31,
3639,
309,
261,
9565,
18,
4412,
10756,
288,
5411,
309,
261,
5414,
5190,
1318,
480,
446,
13,
288,
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,
1071,
1250,
1746,
1435,
288,
3639,
309,
261,
7624,
13434,
13,
5411,
327,
629,
31,
3639,
309,
261,
9565,
18,
4412,
10756,
288,
5411,
309,
261,
5414,
5190,
1318,
480,
446,
13,
288,
7734,
... |
public boolean equals(Object object) { if (!(object instanceof Person)) { return false; } Person rhs = (Person) object; return new EqualsBuilder().append(this.firstName, rhs.firstName) .append(this.personId, rhs.personId) .append(this.lastName, rhs.lastName) .isEquals(); | public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof Person)) return false; final Person person = (Person) o; if (firstName != null ? !firstName.equals(person.firstName) : person.firstName != null) return false; if (lastName != null ? !lastName.equals(person.lastName) : person.lastName != ... | public boolean equals(Object object) { if (!(object instanceof Person)) { return false; } Person rhs = (Person) object; return new EqualsBuilder().append(this.firstName, rhs.firstName) .append(this.personId, rhs.personId) .append(this.lastName, rh... | 3521 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3521/21d2edf8be04a31a5a4dbeb14c2c4e1a9999bb72/Person.java/buggy/extras/tapestry/extras/appgen/test/dao/org/appfuse/model/Person.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1606,
12,
921,
733,
13,
288,
3639,
309,
16051,
12,
1612,
1276,
11573,
3719,
288,
5411,
327,
629,
31,
3639,
289,
3639,
11573,
7711,
273,
261,
8346,
13,
733,
31,
3639,
327,
39... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1606,
12,
921,
733,
13,
288,
3639,
309,
16051,
12,
1612,
1276,
11573,
3719,
288,
5411,
327,
629,
31,
3639,
289,
3639,
11573,
7711,
273,
261,
8346,
13,
733,
31,
3639,
327,
39... |
private void resetDrag() { anchorPosition.x = -1; | private void resetDrag(boolean clearRubberband) { if (clearRubberband) { clearRubberBandSelection(); } | private void resetDrag() { // getPaintSurface().clearRubberbandSelection(); anchorPosition.x = -1; dragInProgress = false; } | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/055cdadfc48a294fa16ea68d9f7366f79782db28/BoxView.java/clean/examples/org.eclipse.ui.examples.undo/Eclipse UI Examples Undo/org/eclipse/ui/examples/undo/views/BoxView.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
2715,
11728,
1435,
288,
202,
202,
759,
1689,
1598,
11508,
7675,
8507,
54,
373,
744,
12752,
6233,
5621,
202,
202,
16215,
2555,
18,
92,
273,
300,
21,
31,
202,
202,
15997,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
2715,
11728,
1435,
288,
202,
202,
759,
1689,
1598,
11508,
7675,
8507,
54,
373,
744,
12752,
6233,
5621,
202,
202,
16215,
2555,
18,
92,
273,
300,
21,
31,
202,
202,
15997,
... |
public Set getRemaining() { | public Set<E> getRemaining() { | public Set getRemaining() { return m_entries; } | 11849 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11849/a6c25c62674ccadf9b95d643aa23df645b6f6775/JdbcSet.java/clean/opennms-util/src/main/java/org/opennms/core/utils/JdbcSet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1000,
32,
41,
34,
336,
11429,
1435,
288,
3639,
327,
312,
67,
8219,
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,... | [
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1000,
32,
41,
34,
336,
11429,
1435,
288,
3639,
327,
312,
67,
8219,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
public void inputChanged(Viewer viewer, Object oldInput, Object newInput) { } }); filterComboViewer.setLabelProvider(new LabelProvider(){ public String getText(Object inputElement) { DbType dbType = (DbType)inputElement; return dbType.getName(); } }); filterComboViewer.setInput(dbTypeList); | public void inputChanged( Viewer viewer, Object oldInput, Object newInput ) { } } ); filterComboViewer.setLabelProvider( new LabelProvider( ) { public String getText( Object inputElement ) { DbType dbType = (DbType) inputElement; return dbType.getName( ); } } ); filterComboViewer.setInput( dbTypeList ); | private void setFilterComboContents(ComboViewer filterComboViewer) { if( filterComboViewer == null ) { return; } ArrayList dbTypeList = new ArrayList(); DbType tableType = new DbType(DbType.TABLE_TYPE, JdbcPlugin.getResourceString("tablepage.text.tabletype")); DbType viewType = new DbType(DbType.VIEW_TYPE... | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/8887f296b0d9adc032ae9020f3349938893f43a3/SQLDataSetEditorPage.java/clean/data/org.eclipse.birt.report.data.oda.jdbc.ui/src/org/eclipse/birt/report/data/oda/jdbc/ui/editors/SQLDataSetEditorPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
22855,
16156,
6323,
12,
16156,
18415,
1034,
16156,
18415,
13,
202,
95,
202,
202,
430,
12,
1034,
16156,
18415,
422,
446,
262,
202,
202,
95,
1082,
202,
2463,
31,
202,
202,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
22855,
16156,
6323,
12,
16156,
18415,
1034,
16156,
18415,
13,
202,
95,
202,
202,
430,
12,
1034,
16156,
18415,
422,
446,
262,
202,
202,
95,
1082,
202,
2463,
31,
202,
202,
... |
if (o == null) { throw Context.reportRuntimeError1( "msg.nonjava.method", functionName); } | public Object call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) throws JavaScriptException { // Find a method that matches the types given. if (methods.length == 0) { throw new RuntimeException("No methods defined for call"); } ... | 12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/a692d990fca03ffb695aa54333e0b0ad442a6fc0/NativeJavaMethod.java/clean/js/rhino/src/org/mozilla/javascript/NativeJavaMethod.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
745,
12,
1042,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
15604,
1033,
8526,
833,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
368,
4163,
279,
707,
716,
1885,
326,
1953,
864,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
745,
12,
1042,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
15604,
1033,
8526,
833,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
368,
4163,
279,
707,
716,
1885,
326,
1953,
864,... | |
public void setPlatformOptions(NewBugModel newBugModel) { | public void setPlatformOptions(NewBugzillaReport newBugModel) { | public void setPlatformOptions(NewBugModel newBugModel) { try { // A Map from Java's OS and Platform to Buzilla's Map<String, String> java2buzillaOSMap = new HashMap<String, String>(); Map<String, String> java2buzillaPlatformMap = new HashMap<String, String>(); java2buzillaPlatformMap.put("x86", "PC"); java... | 51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/2e0d85c21fe52d1b2e012b87f56bf0d88ade7911/AbstractBugzillaWizardPage.java/buggy/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/wizard/AbstractBugzillaWizardPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
8201,
1320,
12,
1908,
19865,
1488,
394,
19865,
1488,
13,
288,
202,
202,
698,
288,
1082,
202,
759,
432,
1635,
628,
5110,
1807,
5932,
471,
11810,
358,
605,
89,
15990,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8201,
1320,
12,
1908,
19865,
1488,
394,
19865,
1488,
13,
288,
202,
202,
698,
288,
1082,
202,
759,
432,
1635,
628,
5110,
1807,
5932,
471,
11810,
358,
605,
89,
15990,
... |
|| (switchDock && dock == PositionConstants.WEST)) cursor = DragCursors.getCursor(DragCursors.RIGHT); else cursor = DragCursors.getCursor(DragCursors.LEFT); | || (switchDock && dock == PositionConstants.WEST)) { if (DRAG_RIGHT == null) { ImageDescriptor src = ImageDescriptor.createFromFile( Internal.class, "icons/right_source.bmp"); ImageDescriptor mask = ImageDescriptor.createFromFile( Internal.class, "icons/right_mask.bmp"); DRAG_RIGHT = new Cursor(null, src.getImageData()... | public void run() { Control ctrl = Display.getCurrent().getCursorControl(); Point pt = new Point(evt.x, evt.y); switchDock = isDescendantOf(graphicalControl, ctrl) && ((dock == PositionConstants.WEST && pt.x > threshold - 10) || (dock == PositionConstants.EAST && pt.x < threshold + 10... | 11225 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11225/46e6ada03be6f287afbfde79e25bc9d9f3fd9c6d/FlyoutPaletteComposite.java/buggy/org.eclipse.gef/src/org/eclipse/gef/ui/palette/FlyoutPaletteComposite.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4405,
202,
482,
918,
1086,
1435,
288,
25083,
202,
3367,
6414,
273,
9311,
18,
588,
3935,
7675,
588,
6688,
3367,
5621,
25083,
202,
2148,
5818,
273,
394,
4686,
12,
73,
11734,
18,
92,
16,
6324,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4405,
202,
482,
918,
1086,
1435,
288,
25083,
202,
3367,
6414,
273,
9311,
18,
588,
3935,
7675,
588,
6688,
3367,
5621,
25083,
202,
2148,
5818,
273,
394,
4686,
12,
73,
11734,
18,
92,
16,
6324,
... |
public void endEntity (String name) throws SAXException | public void endEntity(String name) throws SAXException | public void endEntity (String name) throws SAXException { synchronized (getSynchObject()) { m_sourceTreeHandler.endEntity(name); } notifyWaiters(); } | 46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/0e2298c0c460e281c6e54e92ac95421ec5eca2e4/SourceTreeHandler.java/buggy/src/org/apache/xalan/stree/SourceTreeHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
679,
1943,
261,
780,
508,
13,
565,
1216,
14366,
225,
288,
565,
3852,
261,
588,
55,
2515,
921,
10756,
565,
288,
1377,
312,
67,
3168,
2471,
1503,
18,
409,
1943,
12,
529,
1769,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
679,
1943,
261,
780,
508,
13,
565,
1216,
14366,
225,
288,
565,
3852,
261,
588,
55,
2515,
921,
10756,
565,
288,
1377,
312,
67,
3168,
2471,
1503,
18,
409,
1943,
12,
529,
1769,
... |
for (int i = 0; i < num; i+=(int)(num/numThreads)) { | for (int i = 0; i < numMol; i+=(int)(numMol/numThreads)) { | public void run() { int j = 0; interfThread t[] = new interfThread[numThreads+1]; for (int i = 0; i < num; i+=(int)(num/numThreads)) { t[j] = new interfThread(en, first+i, ((i+numThreads)<num)? (first+i+numThreads):(first+num), 0); t[j++].start(); } for (int i = 0; i < j; i++) { ... | 2866 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2866/5f9901d307cd9fbf78210e0cbb4de7735c4d53f1/water.groups.par.java/clean/Water/Water_RTJ/groups/water.groups.par.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1086,
1435,
288,
202,
225,
509,
525,
273,
374,
31,
202,
225,
1554,
74,
3830,
268,
8526,
273,
394,
1554,
74,
3830,
63,
2107,
13233,
15,
21,
15533,
202,
225,
364,
261,
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,
482,
918,
1086,
1435,
288,
202,
225,
509,
525,
273,
374,
31,
202,
225,
1554,
74,
3830,
268,
8526,
273,
394,
1554,
74,
3830,
63,
2107,
13233,
15,
21,
15533,
202,
225,
364,
261,
47... |
border.paintBorder(c, g, borderRect.x, borderRect.y, borderRect.width, borderRect.height); | b.paintBorder(c, g, borderRect.x, borderRect.y, borderRect.width, borderRect.height); | private void paintBorderWithTitle(Component c, Graphics g, int x, int y, int width, int height, Rectangle borderRect, Point textLoc, FontMetrics fm) { int fontDescent = fm.getDescent(); int fontAscent = fm.... | 47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/f50a8cdcc05a92b96d752ff3f1411ac7a7bae37d/TitledBorder.java/clean/javax/swing/border/TitledBorder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
12574,
8107,
1190,
4247,
12,
1841,
276,
16,
16830,
314,
16,
509,
619,
16,
509,
677,
16,
4766,
565,
509,
1835,
16,
509,
2072,
16,
4766,
565,
13264,
5795,
6120,
16,
4686,
977,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
12574,
8107,
1190,
4247,
12,
1841,
276,
16,
16830,
314,
16,
509,
619,
16,
509,
677,
16,
4766,
565,
509,
1835,
16,
509,
2072,
16,
4766,
565,
13264,
5795,
6120,
16,
4686,
977,
... |
table.addValue(new Value("DESCRIPTION", Value.VALUE_TYPE_STRING, REP_STRING_LENGTH, 0)); | table.addValue(new Value("DESCRIPTION", Value.VALUE_TYPE_STRING, REP_STRING_CODE_LENGTH, 0)); | public void createRepositorySchema(IProgressMonitor monitor, boolean upgrade) throws KettleDatabaseException { Row table; String sql; String tablename; String indexname; String keyfield[]; String user[], pass[], code[], desc[], prof[]; int KEY = 9; // integer, no need for bigint! log.logBasic(toString(), "Star... | 9547 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9547/0415ef10e1a156b9e8d491a3c6739c4c22d1f882/Repository.java/clean/src/be/ibridge/kettle/repository/Repository.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
752,
3305,
3078,
12,
45,
5491,
7187,
6438,
16,
1250,
8400,
13,
1216,
1475,
278,
5929,
4254,
503,
202,
95,
202,
202,
1999,
1014,
31,
202,
202,
780,
1847,
31,
202,
202,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
752,
3305,
3078,
12,
45,
5491,
7187,
6438,
16,
1250,
8400,
13,
1216,
1475,
278,
5929,
4254,
503,
202,
95,
202,
202,
1999,
1014,
31,
202,
202,
780,
1847,
31,
202,
202,
7... |
if ( mouseButton == MouseEvent.BUTTON1 ) { | maybeShowPopup(e); if ( oldFeatureView != null ){ oldFeatureView.setSelected(false); } | public void mouseReleased(MouseEvent e) { //System.out.println("mouse Released" + e.getX()+" " + e.getY() + " button " + e.getButton()); moved = false; int mouseButton = e.getButton(); if ( mouseButton == MouseEvent.BUTTON1 ) { //FeatureView fv = parent.getParentFeatureView(e... | 52521 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52521/2b252498a4b72e45ada0744de4431ff86c8878b0/LabelPanelListener.java/buggy/src/org/biojava/spice/Panel/seqfeat/LabelPanelListener.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
7644,
26363,
12,
9186,
1133,
425,
13,
288,
3639,
368,
3163,
18,
659,
18,
8222,
2932,
11697,
10819,
72,
6,
397,
425,
18,
588,
60,
1435,
9078,
315,
397,
425,
18,
588,
61,
143... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7644,
26363,
12,
9186,
1133,
425,
13,
288,
3639,
368,
3163,
18,
659,
18,
8222,
2932,
11697,
10819,
72,
6,
397,
425,
18,
588,
60,
1435,
9078,
315,
397,
425,
18,
588,
61,
143... |
String tmpToken = token; | private void initMetadata(String xml) { Vector elements = new Vector(); // first parse each element in the XML string while (xml.length() > 2) { String el = xml.substring(1, xml.indexOf(">")); xml = xml.substring(xml.indexOf(">") + 1); elements.add(el); } // the first element contains ve... | 46826 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46826/91859a26506b8a1d312b398da2c3ecd94e02fa60/LIFReader.java/clean/loci/formats/LIFReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
514,
1853,
1345,
273,
1147,
31,
3238,
918,
1208,
2277,
12,
780,
2025,
13,
288,
780,
1853,
1345,
273,
1147,
31,
514,
1853,
1345,
273,
1147,
31,
5589,
2186,
273,
394,
5589,
5621,
780,
1853,
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,
514,
1853,
1345,
273,
1147,
31,
3238,
918,
1208,
2277,
12,
780,
2025,
13,
288,
780,
1853,
1345,
273,
1147,
31,
514,
1853,
1345,
273,
1147,
31,
5589,
2186,
273,
394,
5589,
5621,
780,
1853,
13... | |
public Row(boolean growing) { this.grows = growing; if (growing) { size = 100; } | public Row(int size) { largerThanChildren = false; this.size = size; grows = false; | public Row(boolean growing) { this.grows = growing; if (growing) { size = 100; } } | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/5abf6fabfddc9bb4eb33acac1f3b4c05f76ac7b1/Row.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/layout/Row.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
6556,
12,
6494,
13334,
310,
13,
288,
3639,
333,
18,
75,
3870,
273,
13334,
310,
31,
3639,
309,
261,
75,
492,
310,
13,
288,
5411,
963,
273,
2130,
31,
3639,
289,
565,
289,
2,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
6556,
12,
6494,
13334,
310,
13,
288,
3639,
333,
18,
75,
3870,
273,
13334,
310,
31,
3639,
309,
261,
75,
492,
310,
13,
288,
5411,
963,
273,
2130,
31,
3639,
289,
565,
289,
2,
-100,... |
String lookbehind = (String) m_ops.m_tokenQueue[m_queueMark - (n - 1)]; | String lookbehind = (String) m_ops.m_tokenQueue.elementAt(m_queueMark - (n - 1)); | private final boolean lookbehindHasToken(int n) { boolean hasToken; if ((m_queueMark - n) > 0) { String lookbehind = (String) m_ops.m_tokenQueue[m_queueMark - (n - 1)]; char c0 = (lookbehind == null) ? '|' : lookbehind.charAt(0); hasToken = (c0 == '|') ? false : true; } else { h... | 46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/f136f83081069756bcd71950054569f3ad4d2ce5/XPathParser.java/clean/src/org/apache/xpath/compiler/XPathParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
727,
1250,
2324,
2196,
31748,
5582,
1345,
12,
474,
290,
13,
225,
288,
565,
1250,
711,
1345,
31,
565,
309,
14015,
81,
67,
4000,
3882,
300,
290,
13,
405,
374,
13,
565,
288,
1377,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
727,
1250,
2324,
2196,
31748,
5582,
1345,
12,
474,
290,
13,
225,
288,
565,
1250,
711,
1345,
31,
565,
309,
14015,
81,
67,
4000,
3882,
300,
290,
13,
405,
374,
13,
565,
288,
1377,
... |
if (t1 instanceof JL5ArrayType && ((JL5ArrayType)t1).isVariable()){ return true; } else { | if (l2.size() <= i) return false; Type t2 = (Type)l2.get(i); if (!ts.isImplicitCastValid(t2, t1)){ | public boolean callValidImpl(List argTypes){ if (this.isGeneric()){ try { List inferredTypes = ((JL5TypeSystem)typeSystem()).inferTypesFromArgs(typeVariables(), formalTypes(), argTypes, new ArrayList()); return genericCallValidImpl(argTypes, inferredTypes); ... | 2692 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2692/9e840b41d72194b5f99e7fee04a89031a9b155de/JL5MethodInstance_c.java/buggy/src/polyglot/ext/jl5/types/JL5MethodInstance_c.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
745,
1556,
2828,
12,
682,
30973,
15329,
3639,
309,
261,
2211,
18,
291,
7014,
10756,
95,
5411,
775,
288,
7734,
987,
13662,
2016,
273,
14015,
46,
48,
25,
559,
3163,
13,
723,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
745,
1556,
2828,
12,
682,
30973,
15329,
3639,
309,
261,
2211,
18,
291,
7014,
10756,
95,
5411,
775,
288,
7734,
987,
13662,
2016,
273,
14015,
46,
48,
25,
559,
3163,
13,
723,
3... |
logger.log( Level.FINE, "start get table data" ); rs = openResultSet( table ); logger.log( Level.FINE, "end get table data" ); boolean isRowAvailable = false; if ( rs != null ) | accessColumns( tableEmitter, table ); accessHeader( ); tableEmitter.startBody( ); setUpDropProperties( table ); if ( isRowAvailable ) { context.execute( table.getOnRow( ) ); this.accessGroup( 0 ); } accessSummary( ); tableEmitter.endBody( ); tableEmitter.end( ); context.execute( table.getOnFinish( ) ); } catch (... | public void execute( ReportItemDesign item, IReportEmitter emitter ) { super.execute( item, emitter ); ITableEmitter tableEmitter = emitter.getTableEmitter( ); if ( tableEmitter == null ) { return; } this.emitter = emitter; table = (TableItemDesign) item; logger.log( Level.FINE,"start table item" ); //$NON-N... | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/46b3013f64d73accec44cdf5a1a0af7dcd5513b7/TableItemExecutor.java/clean/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/TableItemExecutor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1836,
12,
8706,
1180,
15478,
761,
16,
467,
4820,
13476,
11520,
262,
202,
95,
202,
202,
9565,
18,
8837,
12,
761,
16,
11520,
11272,
202,
202,
1285,
429,
13476,
1014,
13476,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1836,
12,
8706,
1180,
15478,
761,
16,
467,
4820,
13476,
11520,
262,
202,
95,
202,
202,
9565,
18,
8837,
12,
761,
16,
11520,
11272,
202,
202,
1285,
429,
13476,
1014,
13476,
... |
result.setFolder(wiki.attributeValue(MailService.A_FOLDER)); result.setRev(wiki.attributeValue(MailService.A_VERSION)); result.setLastModifiedDate(wiki.attributeValue(MailService.A_DATE)); result.setLastEditor(wiki.attributeValue(MailService.A_LAST_EDITED_BY)); result.setRestUrl(wiki.attributeValue(MailService.A_REST_U... | protected LmcWiki parseWiki(Element wiki) throws ServiceException { LmcWiki result = new LmcWiki(); result.setID(wiki.attributeValue(MailService.A_ID)); result.setWikiWord(wiki.attributeValue(MailService.A_NAME)); result.setFolder(wiki.attributeValue(MailService.A_FOLDER)); result.setRev(wiki.attributeValue(Mail... | 6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/1a6d91495afcdb20d15bcb4ef0e5a4ad003854f4/LmcSoapRequest.java/buggy/ZimbraServer/src/java/com/zimbra/cs/client/soap/LmcSoapRequest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
511,
13952,
25438,
1109,
25438,
12,
1046,
9050,
13,
202,
202,
15069,
16489,
202,
95,
202,
202,
48,
13952,
25438,
563,
273,
394,
511,
13952,
25438,
5621,
202,
202,
2088,
18,
542... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
511,
13952,
25438,
1109,
25438,
12,
1046,
9050,
13,
202,
202,
15069,
16489,
202,
95,
202,
202,
48,
13952,
25438,
563,
273,
394,
511,
13952,
25438,
5621,
202,
202,
2088,
18,
542... | |
if(curPop > bestPopularity) { | if(curPop >= bestPopularity) { secondBestPopularity = bestPopularity; | Peer[] detectPrimaryIPAddress() { Vector addresses = new Vector(); if(overrideIPAddress != null) { // If the IP is overridden, the override has to be the first element. addresses.add(new Peer(overrideIPAddress, portNumber)); } InetAddress[] detectedAddrs = ipDetector.getAddress(); if(detectedAddrs != nu... | 46035 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46035/70c8c802d0f80be37669510e15559106bb0959cd/Node.java/buggy/src/freenet/node/Node.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6813,
8526,
5966,
6793,
22507,
1435,
288,
202,
202,
5018,
6138,
273,
394,
5589,
5621,
202,
202,
430,
12,
10601,
22507,
480,
446,
13,
288,
1082,
202,
759,
971,
326,
2971,
353,
11000,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6813,
8526,
5966,
6793,
22507,
1435,
288,
202,
202,
5018,
6138,
273,
394,
5589,
5621,
202,
202,
430,
12,
10601,
22507,
480,
446,
13,
288,
1082,
202,
759,
971,
326,
2971,
353,
11000,
... |
ComponentContext compContext = (ComponentContext)pageContext.getAttribute( ComponentConstants.COMPONENT_CONTEXT, pageContext.REQUEST_SCOPE); | ComponentContext compContext = (ComponentContext)pageContext.getAttribute( ComponentConstants.COMPONENT_CONTEXT, PageContext.REQUEST_SCOPE); | public int doStartTag() throws JspException { // retrieve component context ComponentContext compContext = (ComponentContext)pageContext.getAttribute( ComponentConstants.COMPONENT_CONTEXT, pageContext.REQUEST_SCOPE); if( compContext == null ) throw new JspException ( "Error - tag importAttribute ... | 48068 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48068/47d6a46e6d111889ef2d835364243494e9b4ea0a/ImportAttributeTag.java/clean/src/share/org/apache/struts/taglib/tiles/ImportAttributeTag.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
741,
30512,
1435,
1216,
27485,
565,
288,
1377,
368,
4614,
1794,
819,
565,
5435,
1042,
1161,
1042,
273,
261,
1841,
1042,
13,
2433,
1042,
18,
588,
1499,
12,
5435,
2918,
18,
22922... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
741,
30512,
1435,
1216,
27485,
565,
288,
1377,
368,
4614,
1794,
819,
565,
5435,
1042,
1161,
1042,
273,
261,
1841,
1042,
13,
2433,
1042,
18,
588,
1499,
12,
5435,
2918,
18,
22922... |
il.append(methodGen.loadHandler()); il.append(DUP); _name.translate(classGen, methodGen); | if (!_isLiteral) { LocalVariableGen nameValue = methodGen.addLocalVariable2("nameValue", Util.getJCRefType(STRING_SIG), il.getEnd()); _name.translate(classGen, methodGen); il.append(new ASTORE(nameValue.getIndex())); il.append(new ALOAD(nameValue.getIndex())); final int check = cpg.addMethodref(BASIS_LIBRARY_CLAS... | public void translate(ClassGenerator classGen, MethodGenerator methodGen) { final ConstantPoolGen cpg = classGen.getConstantPool(); final InstructionList il = methodGen.getInstructionList(); if (_ignore) return; _ignore = true; // Compile code that emits any needed namespace declaration if (_namespace != null) { ... | 46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/ba3c7fe147768ffde65d6c67a48e52a5aa448561/XslAttribute.java/clean/src/org/apache/xalan/xsltc/compiler/XslAttribute.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4204,
12,
797,
3908,
667,
7642,
16,
2985,
3908,
707,
7642,
13,
288,
202,
6385,
10551,
2864,
7642,
3283,
75,
273,
667,
7642,
18,
588,
6902,
2864,
5621,
202,
6385,
24605,
682,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4204,
12,
797,
3908,
667,
7642,
16,
2985,
3908,
707,
7642,
13,
288,
202,
6385,
10551,
2864,
7642,
3283,
75,
273,
667,
7642,
18,
588,
6902,
2864,
5621,
202,
6385,
24605,
682,
... |
List remoteRepositories, ArtifactMetadataSource source, ArtifactFilter filter ) | List remoteRepositories, ArtifactMetadataSource source, ArtifactFilter filter ) | private ArtifactResolutionResult collect( Set artifacts, ArtifactRepository localRepository, List remoteRepositories, ArtifactMetadataSource source, ArtifactFilter filter ) throws TransitiveArtifactResolutionException { ArtifactResolutionResult result = new ArtifactResolutionResult(); ... | 50542 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50542/2628261b753a53f56863a5c0150994135148bbbe/DefaultArtifactResolver.java/clean/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
14022,
11098,
1253,
3274,
12,
1000,
16259,
16,
14022,
3305,
1191,
3305,
16,
3639,
987,
2632,
18429,
16,
14022,
2277,
1830,
1084,
16,
14022,
1586,
1034,
262,
3639,
1216,
2604,
3720,
75... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14022,
11098,
1253,
3274,
12,
1000,
16259,
16,
14022,
3305,
1191,
3305,
16,
3639,
987,
2632,
18429,
16,
14022,
2277,
1830,
1084,
16,
14022,
1586,
1034,
262,
3639,
1216,
2604,
3720,
75... |
IMylarContextNode node = context.parseEvent(mockSelection()); | IMylarElement node = context.parseEvent(mockSelection()); | public void testSelections() { IMylarContextNode missing = context.get("0"); assertNull(missing); IMylarContextNode node = context.parseEvent(mockSelection()); assertTrue(node.getDegreeOfInterest().isInteresting()); context.parseEvent(mockSelection()); assertTrue(no... | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/f5bfb4859762da1543c326b182b2de34d0d94c08/ContextTest.java/buggy/org.eclipse.mylyn.context.tests/src/org/eclipse/mylyn/core/tests/ContextTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
29913,
1435,
288,
3639,
6246,
93,
7901,
1042,
907,
3315,
273,
819,
18,
588,
2932,
20,
8863,
3639,
1815,
2041,
12,
7337,
1769,
7734,
6246,
93,
7901,
1046,
756,
273,
819,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
29913,
1435,
288,
3639,
6246,
93,
7901,
1042,
907,
3315,
273,
819,
18,
588,
2932,
20,
8863,
3639,
1815,
2041,
12,
7337,
1769,
7734,
6246,
93,
7901,
1046,
756,
273,
819,
... |
cd.setDecoration(dec); | cd.setImage(dec.getImage()); cd.setDescriptionText(dec.getDescription()); | void showRequiredFieldDecoration(SmartField smartField, boolean show) { FieldDecoration dec = getRequiredFieldDecoration(); ControlDecoration cd = (ControlDecoration) smartField.decImpl; if (show) { cd.setDecoration(dec); cd.setShowOnlyOnFocus(false); cd.show(); } else { cd.hide(); } } | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/5d978daa84859bbf3a8e2e3902ccfdb899d1248e/ControlDecorationTestDialog.java/clean/examples/org.eclipse.ui.examples.fieldassist/Eclipse UI Examples Field Assist/org/eclipse/ui/examples/fieldassist/ControlDecorationTestDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6459,
2405,
3705,
974,
7859,
367,
12,
23824,
974,
13706,
974,
16,
1250,
2405,
13,
288,
202,
202,
974,
7859,
367,
2109,
273,
19881,
974,
7859,
367,
5621,
202,
202,
3367,
7859,
367,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2405,
3705,
974,
7859,
367,
12,
23824,
974,
13706,
974,
16,
1250,
2405,
13,
288,
202,
202,
974,
7859,
367,
2109,
273,
19881,
974,
7859,
367,
5621,
202,
202,
3367,
7859,
367,
... |
if (member.isNil()) { throw new RubyBugException("uninitialized struct"); } | Asserts.assertTrue(!member.isNil(), "uninitialized struct"); | public IRubyObject set(IRubyObject value) { String name = runtime.getCurrentFrame().getLastFunc(); if (name.endsWith("=")) { name = name.substring(0, name.length() - 1); } RubyArray member = (RubyArray) getInstanceVariable(classOf(), "__member__"); if (member.isNil()) {... | 45827 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45827/071973606d94103b2d5cb6c793aa1e8809fc7b2a/RubyStruct.java/clean/org/jruby/RubyStruct.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
444,
12,
7937,
10340,
921,
460,
13,
288,
3639,
514,
508,
273,
3099,
18,
588,
3935,
3219,
7675,
588,
3024,
2622,
5621,
3639,
309,
261,
529,
18,
5839,
1190,
2932,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
444,
12,
7937,
10340,
921,
460,
13,
288,
3639,
514,
508,
273,
3099,
18,
588,
3935,
3219,
7675,
588,
3024,
2622,
5621,
3639,
309,
261,
529,
18,
5839,
1190,
2932,
... |
case 190: break; | case 192: break; case 111: { eofclose = true; } case 193: break; | public Symbol next_token() throws java.io.IOException { int yyFlexInput; int yyFlexAction; int [] yyFlexTransL = YY_TRANS; int [] yyFlexRowMapL = YY_ROWMAP; int [] yyFlexAttrL = YY_ATTRIBUTE; int yyFlexPushbackPos_l = yyFlexPushbackPos = -1; boolean yy_was_pushback; while (true) { // cach... | 45285 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45285/9b61944465740d14ca2a4b7d70253b3cd65d7570/LexScan.java/clean/jflex/src/JFlex/LexScan.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
8565,
1024,
67,
2316,
1435,
1216,
2252,
18,
1594,
18,
14106,
288,
565,
509,
9016,
19667,
1210,
31,
565,
509,
9016,
19667,
1803,
31,
565,
509,
5378,
9016,
19667,
1429,
48,
273,
1624,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8565,
1024,
67,
2316,
1435,
1216,
2252,
18,
1594,
18,
14106,
288,
565,
509,
9016,
19667,
1210,
31,
565,
509,
9016,
19667,
1803,
31,
565,
509,
5378,
9016,
19667,
1429,
48,
273,
1624,... |
public org.quickfix.field.DlvyInstType getDlvyInstType() throws FieldNotFound { org.quickfix.field.DlvyInstType value = new org.quickfix.field.DlvyInstType(); | public quickfix.field.DlvyInstType getDlvyInstType() throws FieldNotFound { quickfix.field.DlvyInstType value = new quickfix.field.DlvyInstType(); | public org.quickfix.field.DlvyInstType getDlvyInstType() throws FieldNotFound { org.quickfix.field.DlvyInstType value = new org.quickfix.field.DlvyInstType(); getField(value); return value; } | 8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/Confirmation.java/buggy/src/java/src/quickfix/fix44/Confirmation.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
40,
3070,
93,
10773,
559,
2343,
3070,
93,
10773,
559,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
40,
3070,
93,
10773... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
40,
3070,
93,
10773,
559,
2343,
3070,
93,
10773,
559,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
40,
3070,
93,
10773... |
return hit.getServer() + ": Bug#: " + hit.getId() + ": " + hit.getDescription(); | return hit.getRepository() + ": Bug#: " + hit.getId() + ": " + hit.getDescription(); | public String getName(Object object) { if (object instanceof BugzillaOutlineNode) { BugzillaOutlineNode b = (BugzillaOutlineNode) object; return BugzillaTools.getName(b); } else if (object instanceof BugzillaReportNode) { BugzillaSearchHit hit = ((BugzillaReportNode) object).getHit(); return hit.getServer() ... | 51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/a40d59c8c922e2f9f545b74611db4be500580bb0/BugzillaStructureBridge.java/clean/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/bugs/BugzillaStructureBridge.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
1723,
12,
921,
733,
13,
288,
202,
202,
430,
261,
1612,
1276,
16907,
15990,
21805,
907,
13,
288,
1082,
202,
19865,
15990,
21805,
907,
324,
273,
261,
19865,
15990,
21805,
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,
225,
202,
482,
514,
1723,
12,
921,
733,
13,
288,
202,
202,
430,
261,
1612,
1276,
16907,
15990,
21805,
907,
13,
288,
1082,
202,
19865,
15990,
21805,
907,
324,
273,
261,
19865,
15990,
21805,
907... |
public void constraint(List constraints) throws RecognitionException { Token fb=null; Token f=null; Token op=null; Token bvc=null; String lc = null; String rvc = null; PatternDescr d = null; try { // C:\Projects\jboss-rules\dro... | 31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/9c6423b7a31fdc4a1317e71a6d2850c94e2140e0/RuleParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4954,
12,
682,
6237,
13,
1216,
9539,
288,
6647,
3155,
12754,
33,
2011,
31,
3639,
3155,
284,
33,
2011,
31,
3639,
3155,
1061,
33,
2011,
31,
3639,
3155,
324,
4227,
33,
2011,
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,
1071,
918,
4954,
12,
682,
6237,
13,
1216,
9539,
288,
6647,
3155,
12754,
33,
2011,
31,
3639,
3155,
284,
33,
2011,
31,
3639,
3155,
1061,
33,
2011,
31,
3639,
3155,
324,
4227,
33,
2011,
31,... | ||
return new IntItem(Kind.REGISTER, reg, 0, 0); } | return new IntItem(Kind.REGISTER, reg, 0, 0); } | static IntItem createReg(Register reg) { return new IntItem(Kind.REGISTER, reg, 0, 0); } | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/55b12818040bb69b51502c4cd0f42118d2046977/IntItem.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/IntItem.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
3094,
1180,
752,
1617,
12,
3996,
960,
13,
288,
3639,
327,
394,
3094,
1180,
12,
5677,
18,
27511,
16,
960,
16,
374,
16,
374,
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,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
3094,
1180,
752,
1617,
12,
3996,
960,
13,
288,
3639,
327,
394,
3094,
1180,
12,
5677,
18,
27511,
16,
960,
16,
374,
16,
374,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
... |
public PartSashContainer(String id) { | public PartSashContainer(String id,final WorkbenchPage page) { | public PartSashContainer(String id) { super(id); resizeListener = new ControlAdapter() { public void controlResized(ControlEvent e) { resizeSashes(parent.getClientArea()); } };} | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/149f8c383010f7bf11f451d758b371d301008311/PartSashContainer.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PartSashContainer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
6393,
55,
961,
2170,
12,
780,
612,
13,
288,
202,
9565,
12,
350,
1769,
202,
15169,
2223,
273,
394,
8888,
4216,
1435,
288,
202,
202,
482,
918,
3325,
607,
1235,
12,
3367,
1133,
425,
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,
1071,
6393,
55,
961,
2170,
12,
780,
612,
13,
288,
202,
9565,
12,
350,
1769,
202,
15169,
2223,
273,
394,
8888,
4216,
1435,
288,
202,
202,
482,
918,
3325,
607,
1235,
12,
3367,
1133,
425,
13,
... |
} | protected void handleMouseEvent(MouseEvent ev) { Component comp = awtComponent.getComponentAt(ev.getPoint()); if(comp == null) comp = awtComponent; if (comp != null) { ComponentPeer peer = comp.getPeer(); if (awtComponent != comp && !comp.isLightweight() && peer instanceof SwingComponentPeer... | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/b2a81be29c1d1dc9cadff27003717d18f8262c70/SwingContainerPeer.java/buggy/core/src/classpath/gnu/gnu/java/awt/peer/swing/SwingContainerPeer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1640,
9186,
1133,
12,
9186,
1133,
2113,
13,
225,
288,
565,
5435,
1161,
273,
8237,
1841,
18,
588,
1841,
861,
12,
14965,
18,
588,
2148,
10663,
565,
309,
12,
2919,
422,
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,
282,
4750,
918,
1640,
9186,
1133,
12,
9186,
1133,
2113,
13,
225,
288,
565,
5435,
1161,
273,
8237,
1841,
18,
588,
1841,
861,
12,
14965,
18,
588,
2148,
10663,
565,
309,
12,
2919,
422,
446,
13,... | |
return retval.toString(); } | } return retval.toString(); } | protected static final String addEscapes(String str) { StringBuffer retval = new StringBuffer(); char ch; for (int i = 0; i < str.length(); i++) { switch (str.charAt(i)) { case 0: continue; case '\b': retval.append("... | 41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/1d8de6b34ea0ddb64fc94b478c0950c0d35de605/TokenMgrError.java/clean/pmd/src/net/sourceforge/pmd/ast/TokenMgrError.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
760,
727,
514,
527,
30092,
12,
780,
609,
13,
288,
3639,
6674,
5221,
273,
394,
6674,
5621,
3639,
1149,
462,
31,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
609,
18,
2469,
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,
4750,
760,
727,
514,
527,
30092,
12,
780,
609,
13,
288,
3639,
6674,
5221,
273,
394,
6674,
5621,
3639,
1149,
462,
31,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
609,
18,
2469,
5... |
if (n.nextSibling != null) next = n.nextSibling; else if (n.parent != null && n.parent.isComplete()) { next = n.parent; | if (nextSibling != null) next = nextSibling; else if (parent != null && parent.isComplete()) { next = parent; | private void updateNextNode() { if (next instanceof OMElement && !visited) { OMElement e = (OMElement) next; if (e.getFirstChild() != null) next = e.getFirstChild(); else if (e.isComplete()) backtracked = true; else next... | 49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/9bb706b28efdbf366ee24616890f4088ae51b043/OMNavigator.java/buggy/dev/scratch/prototype2/src/java/org/apache/axis/impl/llom/OMNavigator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1089,
2134,
907,
1435,
288,
3639,
309,
261,
4285,
1276,
531,
12310,
597,
401,
30129,
13,
288,
5411,
531,
12310,
425,
273,
261,
51,
12310,
13,
1024,
31,
5411,
309,
261,
73,
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,
3238,
918,
1089,
2134,
907,
1435,
288,
3639,
309,
261,
4285,
1276,
531,
12310,
597,
401,
30129,
13,
288,
5411,
531,
12310,
425,
273,
261,
51,
12310,
13,
1024,
31,
5411,
309,
261,
73,
18... |
} catch(Exception io_e) {} | } catch(Exception io_e) { System.err.println ("Exception in writeResponse: "+io_e); } | void writeResponse (HttpServletResponse res, ResponseTrans trans, Cookie[] cookies, String protocol) { for (int i = 0; i < trans.countCookies(); i++) try { Cookie c = new Cookie(trans.getKeyAt(i), trans.getValueAt(i)); c.setPath ("/"); if (cookieDomain != null) c.setDomain (cookieDomain); in... | 3798 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3798/c900b694820a4dfb769a406d62d837a551d5d220/AbstractServletClient.java/clean/src/helma/servlet/AbstractServletClient.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
1045,
1064,
261,
2940,
29910,
400,
16,
2306,
1429,
906,
16,
10201,
8526,
7237,
16,
514,
1771,
13,
288,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
906,
18,
1883,
16089,
5621,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
1045,
1064,
261,
2940,
29910,
400,
16,
2306,
1429,
906,
16,
10201,
8526,
7237,
16,
514,
1771,
13,
288,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
906,
18,
1883,
16089,
5621,... |
buffer.append("=[;"); | buffer.append("=["); | public static void addListInit(OutboundVariable ov, List ovs) { String varname = ov.getAssignCode(); StringBuffer buffer = new StringBuffer(); String init = getInitCodes(ovs); if (init.length() == 0) { // Declare ourselves so recurrsion works buffer.append... | 45384 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45384/96a8b0cae6afc3b49496fbcce7297f550146f5fb/ConverterUtil.java/clean/java/uk/ltd/getahead/dwr/convert/ConverterUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
527,
682,
2570,
12,
17873,
3092,
23094,
16,
987,
27006,
13,
565,
288,
3639,
514,
15434,
273,
23094,
18,
588,
4910,
1085,
5621,
3639,
6674,
1613,
273,
394,
6674,
5621,
3639... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
527,
682,
2570,
12,
17873,
3092,
23094,
16,
987,
27006,
13,
565,
288,
3639,
514,
15434,
273,
23094,
18,
588,
4910,
1085,
5621,
3639,
6674,
1613,
273,
394,
6674,
5621,
3639... |
return super.execMethod(methodId, f, cx, scope, thisObj, args); | return super.execMethod(f, cx, scope, thisObj, args); | public Object execMethod (int methodId, IdFunction f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) throws JavaScriptException { double x; switch (methodId) { case Id_toSource: return "Math"; case Id_abs: x... | 12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/8f28fc868ac3f30ea37494abfddb6358154786c3/NativeMath.java/buggy/js/rhino/src/org/mozilla/javascript/NativeMath.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1196,
1305,
3639,
261,
474,
707,
548,
16,
3124,
2083,
284,
16,
540,
1772,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
1033,
8526,
833,
13,
3639,
1216,
11905,
503,
565,
288,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1196,
1305,
3639,
261,
474,
707,
548,
16,
3124,
2083,
284,
16,
540,
1772,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
1033,
8526,
833,
13,
3639,
1216,
11905,
503,
565,
288,
... |
passDown(evt); break; | } passDown(evt); break; | public void down(Event evt) { Message msg; long time_to_wait, start_time; switch(evt.getType()) { case Event.FIND_INITIAL_MBRS: // sent by GMS layer, pass up a GET_MBRS_OK event initial_members.removeAllElements(); msg=new Message(null, null, null); ... | 47927 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47927/ed05366cfa88294bcc8bfb8d8526d444ee01d3fb/TCPPING.java/clean/src/org/jgroups/protocols/TCPPING.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2588,
12,
1133,
6324,
13,
288,
3639,
2350,
1234,
31,
3639,
1525,
813,
67,
869,
67,
7048,
16,
787,
67,
957,
31,
3639,
1620,
12,
73,
11734,
18,
588,
559,
10756,
288,
5411,
64... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2588,
12,
1133,
6324,
13,
288,
3639,
2350,
1234,
31,
3639,
1525,
813,
67,
869,
67,
7048,
16,
787,
67,
957,
31,
3639,
1620,
12,
73,
11734,
18,
588,
559,
10756,
288,
5411,
64... |
result[0] = PASS; | result[0] = MARK; | public static Action[] spamValues() { Action[] result = new Action[SPAM_ACTION_CT]; result[0] = PASS; result[1] = BLOCK; result[2] = BLOCK_AND_WARN_SENDER; result[3] = BLOCK_AND_WARN_RECEIVER; result[4] = BLOCK_AND_WARN_BOTH; return result; } | 49954 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49954/86a2dd0f36f375f9bcbee1237fb2c565c37a9eba/Action.java/buggy/tran/email/main/com/metavize/tran/email/Action.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
4382,
8526,
24824,
1972,
1435,
565,
288,
3639,
4382,
8526,
563,
273,
394,
4382,
63,
3118,
2192,
67,
12249,
67,
1268,
15533,
3639,
563,
63,
20,
65,
273,
20503,
31,
3639,
563,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4382,
8526,
24824,
1972,
1435,
565,
288,
3639,
4382,
8526,
563,
273,
394,
4382,
63,
3118,
2192,
67,
12249,
67,
1268,
15533,
3639,
563,
63,
20,
65,
273,
20503,
31,
3639,
563,
... |
int x = curPos.x + textArea.getX(); int y = curPos.y + textArea.getY(); | int x = curPos.x + textArea.getX() + (int)(textArea.getFontInfo( ).getFontSize( ) * 70); int y = curPos.y + textArea.getY() + (int)(textArea.getFontInfo( ).getFontSize( ) * 100); | public void visitText(ITextArea textArea) { ContainerPosition curPos; if ( !containerStack.isEmpty() ) curPos = (ContainerPosition)containerStack.peek(); else curPos = new ContainerPosition(0, 0); int x = curPos.x + textArea.getX(); int y = curPos.y + textArea.getY(); drawTextAt(textArea, x, y, c... | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/eccebe9e6154fd92f32a9af020eb8cc49086c031/PDFEmitter.java/clean/engine/org.eclipse.birt.report.engine.emitter.pdf/src/org/eclipse/birt/report/engine/emitter/pdf/PDFEmitter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
3757,
1528,
12,
1285,
408,
5484,
977,
5484,
13,
202,
202,
95,
1082,
202,
2170,
2555,
662,
1616,
31,
1082,
202,
430,
261,
401,
3782,
2624,
18,
291,
1921,
1435,
262,
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,
3196,
202,
482,
918,
3757,
1528,
12,
1285,
408,
5484,
977,
5484,
13,
202,
202,
95,
1082,
202,
2170,
2555,
662,
1616,
31,
1082,
202,
430,
261,
401,
3782,
2624,
18,
291,
1921,
1435,
262,
9506,... |
throw new DomEx(DomEx.NAMESPACE_ERR, "namespace declarations can't change names", this, 0); | throw new DomDOMException(DOMException.NAMESPACE_ERR, "namespace declarations can't change names", this, 0); | public final void setPrefix(String prefix) { if (readonly) { throw new DomEx(DomEx.NO_MODIFICATION_ALLOWED_ERR); } if (prefix == null) { name = localName; return; } else if (namespace == null) { throw new DomEx(DomEx.NAMESPACE_ERR, ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomNsNode.java/clean/core/src/classpath/gnu/gnu/xml/dom/DomNsNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
727,
918,
444,
2244,
12,
780,
1633,
13,
225,
288,
565,
309,
261,
16365,
13,
1377,
288,
3639,
604,
394,
12965,
424,
12,
8832,
424,
18,
3417,
67,
6720,
14865,
67,
16852,
67,
9712,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
444,
2244,
12,
780,
1633,
13,
225,
288,
565,
309,
261,
16365,
13,
1377,
288,
3639,
604,
394,
12965,
424,
12,
8832,
424,
18,
3417,
67,
6720,
14865,
67,
16852,
67,
9712,
... |
name = "org.apache.harmony.awt.datatransfer.linux.LinuxDTK"; | name = "org.apache.harmony.awt.datatransfer.linux.LinuxDTK"; | private static DTK createDTK() { String name; switch (SystemUtils.getOS()) { case SystemUtils.OS_WINDOWS: name = "org.apache.harmony.awt.datatransfer.windows.WinDTK"; break; case SystemUtils.OS_LINUX: name = "org.apache.harmony.awt.datatransfer.linux.Linu... | 54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/c4916a7af46cbdb5a69d94b49c3f5669c05d8b4c/DTK.java/clean/modules/awt/src/main/java/common/org/apache/harmony/awt/datatransfer/DTK.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
10696,
47,
752,
9081,
47,
1435,
288,
3639,
514,
508,
31,
3639,
1620,
261,
3163,
1989,
18,
588,
4618,
10756,
288,
3639,
648,
2332,
1989,
18,
4618,
67,
31874,
30,
5411,
508,
27... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10696,
47,
752,
9081,
47,
1435,
288,
3639,
514,
508,
31,
3639,
1620,
261,
3163,
1989,
18,
588,
4618,
10756,
288,
3639,
648,
2332,
1989,
18,
4618,
67,
31874,
30,
5411,
508,
27... |
Build childBuild = parent.getBuild(); | Build childBuild = child.getBuild(); | private void assemblePluginManagementInheritance( Model child, Model parent ) { Build parentBuild = parent.getBuild(); Build childBuild = parent.getBuild(); if ( childBuild == null ) { if ( parentBuild != null ) { child.setBuild( parentBuild ); ... | 47050 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47050/912898c7160f9ab1d1b1679be4f9e47a388c1b87/DefaultModelInheritanceAssembler.java/buggy/maven-core/src/main/java/org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
19540,
3773,
10998,
28255,
12,
3164,
1151,
16,
3164,
982,
262,
565,
288,
3639,
3998,
982,
3116,
273,
982,
18,
588,
3116,
5621,
3639,
3998,
1151,
3116,
273,
1151,
18,
588,
3116,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19540,
3773,
10998,
28255,
12,
3164,
1151,
16,
3164,
982,
262,
565,
288,
3639,
3998,
982,
3116,
273,
982,
18,
588,
3116,
5621,
3639,
3998,
1151,
3116,
273,
1151,
18,
588,
3116,... |
int numFunctions = functionList.size(); | int numFunctions = functionSet.size(); | private static Object collectSymbol(LookupData data, Object object ) throws ParserSymbolTableException { if( object == null ){ return null; } ISymbol foundSymbol = null; Iterator iter = ( object instanceof List ) ? ((List)object).iterator() : null; ISymbol symbol = ( iter != null ) ? (ISymbol) iter.next() :... | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/7a48cc3a164ddbe6df77f2fabd577aa391137227/ParserSymbolTable.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/pst/ParserSymbolTable.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
1033,
3274,
5335,
12,
6609,
751,
501,
16,
1033,
733,
262,
1216,
6783,
5335,
1388,
503,
288,
202,
202,
430,
12,
733,
422,
446,
262,
95,
1082,
202,
2463,
446,
31,
202,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
1033,
3274,
5335,
12,
6609,
751,
501,
16,
1033,
733,
262,
1216,
6783,
5335,
1388,
503,
288,
202,
202,
430,
12,
733,
422,
446,
262,
95,
1082,
202,
2463,
446,
31,
202,
2... |
if ( horiz ) { | if (horiz) { | private static void tileFill( Graphics g, Image img, Rectangle rect, int xoff, int yoff, boolean horiz, boolean vert ) { int iwidth = img.getWidth( null ); int iheight = img.getHeight( null ); int rwidth = rect.width; int rheight = rect.height; if ( !horiz ) { rwidth = ... | 8125 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8125/8f81e5fe9f6f8593d3c596d30a3f100cb87dbf27/BackgroundPainter.java/buggy/src/java/org/xhtmlrenderer/render/BackgroundPainter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
4769,
8026,
12,
16830,
314,
16,
3421,
3774,
16,
13264,
4917,
16,
509,
619,
3674,
16,
509,
677,
3674,
16,
1250,
366,
5331,
16,
1250,
3173,
262,
288,
3639,
509,
277,
2819,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
4769,
8026,
12,
16830,
314,
16,
3421,
3774,
16,
13264,
4917,
16,
509,
619,
3674,
16,
509,
677,
3674,
16,
1250,
366,
5331,
16,
1250,
3173,
262,
288,
3639,
509,
277,
2819,... |
router.serverMessage(reliable, userID, databuff); } | router.serverMessage(reliable, userID, databuff); } | public void rcvServerMsg(boolean reliable, ByteBuffer databuff) { router.serverMessage(reliable, userID, databuff); } | 55380 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55380/e4b2d80eb24c4083cba090eace62015742c5c850/SGSUserImpl.java/buggy/src/com/sun/gi/comm/users/server/impl/SGSUserImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
25240,
2081,
3332,
12,
6494,
31024,
16,
7400,
10481,
3809,
13,
288,
3639,
4633,
18,
3567,
1079,
12,
266,
549,
429,
16,
16299,
16,
10481,
3809,
1769,
565,
289,
2,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
25240,
2081,
3332,
12,
6494,
31024,
16,
7400,
10481,
3809,
13,
288,
3639,
4633,
18,
3567,
1079,
12,
266,
549,
429,
16,
16299,
16,
10481,
3809,
1769,
565,
289,
2,
-100,
-100,
... |
Object[] array = (Object[]) arguments; StringBuffer buffer = new StringBuffer("["); for (int i = 0; i < array.length; i++) { if (i > 0) { buffer.append(", "); } buffer.append(format(array[i], verbose)); } buffer.append("]"); return buffer.toString(); | return format(asCollection(arguments), verbose); | protected String format(Object arguments, boolean verbose) { if (arguments == null) { return "null"; } else if (arguments.getClass().isArray()) { Object[] array = (Object[]) arguments; StringBuffer buffer = new StringBuffer("["); for (int i = 0; i < a... | 6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/fa41d2174cb0fb4fde26d80166fd965328939b68/Invoker.java/clean/src/main/org/codehaus/groovy/runtime/Invoker.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
514,
740,
12,
921,
1775,
16,
1250,
3988,
13,
288,
3639,
309,
261,
7099,
422,
446,
13,
288,
5411,
327,
315,
2011,
14432,
3639,
289,
3639,
469,
309,
261,
7099,
18,
588,
797,
7675,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
514,
740,
12,
921,
1775,
16,
1250,
3988,
13,
288,
3639,
309,
261,
7099,
422,
446,
13,
288,
5411,
327,
315,
2011,
14432,
3639,
289,
3639,
469,
309,
261,
7099,
18,
588,
797,
7675,
... |
return a1[2].compareTo(a2[2]); | return a1[2].compareToIgnoreCase(a2[2]); | public int compare(String o1, String o2) { String[] a1 = split(o1); String[] a2 = split(o2); String s1 = a1[0]; String s2 = a2[0]; if (s1 == null && s2 != null) return -1; if (s1 != null && s2 == null) return 1; if (s1 != null && s2 != null) { int n = s1.compareTo(s2); if (n != 0) return n; s1 = a1... | 51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/6adf1034ef67d9aafd15f1cb81165c5df6278695/TaskKeyComparator.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskKeyComparator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
3400,
12,
780,
320,
21,
16,
514,
320,
22,
13,
288,
202,
202,
780,
8526,
279,
21,
273,
1416,
12,
83,
21,
1769,
202,
202,
780,
8526,
279,
22,
273,
1416,
12,
83,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
3400,
12,
780,
320,
21,
16,
514,
320,
22,
13,
288,
202,
202,
780,
8526,
279,
21,
273,
1416,
12,
83,
21,
1769,
202,
202,
780,
8526,
279,
22,
273,
1416,
12,
83,
22,
1... |
Date reminder = task.getReminderDate(); if (reminder != null) { return reminder.compareTo(activityFuture.getStart().getTime()) > -1; } else { return false; | if (task != null) { Date reminder = task.getReminderDate(); if (reminder != null) { return reminder.compareTo(activityFuture.getStart().getTime()) > -1; } | public boolean isReminderLater(ITask task) { Date reminder = task.getReminderDate(); if (reminder != null) { return reminder.compareTo(activityFuture.getStart().getTime()) > -1; } else { return false; } } | 51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/97fdba688bb5b167127d4bc333d03e2e6af85cc4/TaskListManager.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/provisional/tasklist/TaskListManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
353,
1933,
14055,
20607,
12,
1285,
835,
1562,
13,
288,
202,
202,
1626,
849,
14055,
273,
1562,
18,
588,
1933,
14055,
1626,
5621,
202,
202,
430,
261,
2764,
14055,
480,
446,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
353,
1933,
14055,
20607,
12,
1285,
835,
1562,
13,
288,
202,
202,
1626,
849,
14055,
273,
1562,
18,
588,
1933,
14055,
1626,
5621,
202,
202,
430,
261,
2764,
14055,
480,
446,
... |
if (DEBUG) { | if (debug) { | private void unpackBits(byte[] ib, int[] ob) { if (DEBUG) { System.out.println("PictReader.unpackBits(" + ib + ", " + ob + ")"); } int i = 0; int o = 0; int b; int rep; int end; for (o=0; o<ob.length;) { if (i+1 < ib.length) { b = ib[i++]; if (b >= 0) { b++; ... | 49800 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49800/91e7b0ac7354ab4613a4d051bb77360de01aecdc/PictReader.java/buggy/loci/formats/in/PictReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
6167,
6495,
12,
7229,
8526,
9834,
16,
509,
8526,
3768,
13,
288,
565,
309,
261,
4148,
13,
288,
1377,
2332,
18,
659,
18,
8222,
2932,
52,
933,
2514,
18,
17309,
6495,
2932,
397,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
6167,
6495,
12,
7229,
8526,
9834,
16,
509,
8526,
3768,
13,
288,
565,
309,
261,
4148,
13,
288,
1377,
2332,
18,
659,
18,
8222,
2932,
52,
933,
2514,
18,
17309,
6495,
2932,
397,
... |
if (theVertex.isEditable()) { EditValueItem.setEnabled(true); } else { EditValueItem.setEnabled(false); } | if (theVertex.isEditable()) { EditValueItem.setEnabled(true); } else { EditValueItem.setEnabled(false); } | public void suggestShowContextMenu(int x, int y) { TreePath path = getPathForLocation(x, y); if (path != null) { setSelectionPath(path); SoarVertex theVertex = ((FakeTreeNode)getSelectionPath().getLastPathComponent()).getEnumeratingVertex(); FakeTreeNode ftn = (FakeTreeNode)getSelectionPath().getLas... | 47007 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47007/d9311230f82f4404a6caf7a2cb902c26b0b86646/DataMapTree.java/clean/OldSoar/trunk/visualsoar/Source/edu/umich/visualsoar/datamap/DataMapTree.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
19816,
5706,
27315,
12,
474,
619,
16,
509,
677,
13,
288,
202,
202,
2471,
743,
589,
273,
565,
4339,
1290,
2735,
12,
92,
16,
677,
1769,
202,
202,
430,
261,
803,
480,
446,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
19816,
5706,
27315,
12,
474,
619,
16,
509,
677,
13,
288,
202,
202,
2471,
743,
589,
273,
565,
4339,
1290,
2735,
12,
92,
16,
677,
1769,
202,
202,
430,
261,
803,
480,
446,... |
ammo.techType = TechConstants.T_IS_LEVEL_2; | public static AmmoType createISAMSAmmo() { AmmoType ammo = new AmmoType(); ammo.techLevel = TechConstants.T_IS_LEVEL_2; ammo.name = "AMS Ammo"; ammo.setInternalName("ISAMS Ammo"); ammo.addLookupName("IS Ammo AMS"); ammo.addLookupName("IS AMS Ammo"); ammo.damagePerSho... | 3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/2a8ee4c2253f0c0f3d13b49f9c1d4c077cd44dc7/AmmoType.java/buggy/megamek/src/megamek/common/AmmoType.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
3986,
8683,
559,
752,
5127,
2192,
5233,
7020,
83,
1435,
288,
3639,
3986,
8683,
559,
2125,
8683,
273,
394,
3986,
8683,
559,
5621,
3639,
2125,
8683,
18,
28012,
2355,
273,
399,
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,
377,
1071,
760,
3986,
8683,
559,
752,
5127,
2192,
5233,
7020,
83,
1435,
288,
3639,
3986,
8683,
559,
2125,
8683,
273,
394,
3986,
8683,
559,
5621,
3639,
2125,
8683,
18,
28012,
2355,
273,
399,
89... | |
removed.add(description.getLocation()); | public synchronized boolean removeBundle(BundleDescription description) { if (!super.removeBundle(description)) return false; removed.add(description.getLocation()); return true; } | 2516 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2516/4e6ab216d711c35116510ba87561632b460a3e20/UserState.java/buggy/bundles/org.eclipse.osgi/resolver/src/org/eclipse/osgi/internal/resolver/UserState.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3852,
1250,
1206,
3405,
12,
3405,
3291,
2477,
13,
288,
202,
202,
430,
16051,
9565,
18,
4479,
3405,
12,
3384,
3719,
1082,
202,
2463,
629,
31,
202,
202,
14923,
18,
1289,
12,
338... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3852,
1250,
1206,
3405,
12,
3405,
3291,
2477,
13,
288,
202,
202,
430,
16051,
9565,
18,
4479,
3405,
12,
3384,
3719,
1082,
202,
2463,
629,
31,
202,
202,
14923,
18,
1289,
12,
338... | |
super(); | public NotOwnerException() { super(); } | 47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/a3f60f71365174676e1302f0b201f5772849ffd3/NotOwnerException.java/buggy/java/security/acl/NotOwnerException.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2288,
5541,
503,
1435,
225,
288,
377,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2288,
5541,
503,
1435,
225,
288,
377,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... | |
selenium.open("./tests/html/test_verifications.html"); | selenium.open("./tests/html/test_verifications.html"); | public void test() throws Throwable { selenium.setContext("Test Failing Assert", "info"); /* Test Failing Assert */ // open|./tests/html/test_verifications.html| selenium.open("./tests/html/test_verifications.html"); boolean sawThrow4 = false; try { // assertValue|theText|not the text value assertEqua... | 50930 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50930/15660ffa40e3fe9cdf6de2752e79d93831571a27/TestFailingAssert.java/buggy/clients/java/src/test/java/com/thoughtworks/selenium/generated/TestFailingAssert.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
1842,
1435,
1216,
4206,
288,
202,
202,
1786,
17327,
18,
542,
1042,
2932,
4709,
8911,
310,
5452,
3113,
315,
1376,
8863,
225,
1748,
7766,
8911,
310,
5452,
1195,
1082,
202,
759,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
1842,
1435,
1216,
4206,
288,
202,
202,
1786,
17327,
18,
542,
1042,
2932,
4709,
8911,
310,
5452,
3113,
315,
1376,
8863,
225,
1748,
7766,
8911,
310,
5452,
1195,
1082,
202,
759,
1... |
nettySessionServer.stop(); | public final void stop() { synchronized (sessionConnections) { for (int i = 0; i < sessionConnections.size(); i++) { ((SessionConnection) sessionConnections.get(i)).getQuickFixSession().logout(); } } // wait for logouts // sync with initialization ... | 52526 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52526/4166767f0c38786024395faede20339d83880bef/AbstractSocketInitiator.java/clean/src/quickfix/netty/AbstractSocketInitiator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
918,
2132,
1435,
288,
3639,
3852,
261,
3184,
9314,
13,
288,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
1339,
9314,
18,
1467,
5621,
277,
27245,
288,
7734,
14015,
2157,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
727,
918,
2132,
1435,
288,
3639,
3852,
261,
3184,
9314,
13,
288,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
1339,
9314,
18,
1467,
5621,
277,
27245,
288,
7734,
14015,
2157,
... | |
Class declaringClass = classLoader.loadClass(declaringClassName); | Class declaringClass = loadClass(declaringClassName); | public Object unmarshal(HierarchicalStreamReader reader, UnmarshallingContext context) { try { boolean isMethodNotConstructor = context.getRequiredType().equals(Method.class); reader.moveDown(); String declaringClassName = reader.getValue(); Class declaringClass = ... | 5142 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5142/4ba0652d6f704f609c933fb5bf19c9765beb6ef7/JavaMethodConverter.java/buggy/xstream/src/java/com/thoughtworks/xstream/converters/extended/JavaMethodConverter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
11401,
12,
44,
14529,
31495,
2949,
16,
1351,
12201,
310,
1042,
819,
13,
288,
3639,
775,
288,
5411,
1250,
27969,
1248,
6293,
273,
819,
18,
588,
3705,
559,
7675,
14963,
12,
1305... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
11401,
12,
44,
14529,
31495,
2949,
16,
1351,
12201,
310,
1042,
819,
13,
288,
3639,
775,
288,
5411,
1250,
27969,
1248,
6293,
273,
819,
18,
588,
3705,
559,
7675,
14963,
12,
1305... |
ActionRequest req, String portletId, boolean uniquePerLayout, boolean uniquePerGroup) | String portletId, String layoutId, String ownerId) | public static PortletPreferences getPortletSetup( ActionRequest req, String portletId, boolean uniquePerLayout, boolean uniquePerGroup) throws PortalException, SystemException { ActionRequestImpl reqImpl = (ActionRequestImpl)req; return getPortletSetup( reqImpl.getHttpServletRequest(), portletId, uniquePerLay... | 53908 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53908/66b88bffaabb480604d5f646dabacd8abad845e5/PortletPreferencesFactory.java/buggy/portal-ejb/src/com/liferay/portlet/PortletPreferencesFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
21305,
12377,
11036,
1810,
7365,
12,
1082,
202,
1803,
691,
1111,
16,
514,
13114,
548,
16,
1250,
3089,
2173,
3744,
16,
1082,
202,
6494,
3089,
2173,
1114,
13,
202,
202,
15069... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
21305,
12377,
11036,
1810,
7365,
12,
1082,
202,
1803,
691,
1111,
16,
514,
13114,
548,
16,
1250,
3089,
2173,
3744,
16,
1082,
202,
6494,
3089,
2173,
1114,
13,
202,
202,
15069... |
this(port, 50); | if (impl == null) throw new NullPointerException("impl may not be null"); this.impl = impl; this.impl.create (true); | public ServerSocket (int port) throws IOException { this(port, 50); } | 45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/5af97687585307f533d7f2fa2160f69d0f82e831/ServerSocket.java/buggy/libraries/javalib/java/net/ServerSocket.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
3224,
4534,
261,
474,
1756,
13,
565,
1216,
1860,
225,
288,
565,
309,
261,
11299,
422,
446,
13,
604,
394,
10108,
2932,
11299,
2026,
486,
506,
446,
8863,
225,
333,
18,
11299,
273,
9... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
3224,
4534,
261,
474,
1756,
13,
565,
1216,
1860,
225,
288,
565,
309,
261,
11299,
422,
446,
13,
604,
394,
10108,
2932,
11299,
2026,
486,
506,
446,
8863,
225,
333,
18,
11299,
273,
9... |
HighLevelSimpleClient client = node.makeClient((short)0,(short)0); | HighLevelSimpleClient client = node.makeClient((short)0); | public FCPConnectionHandler(Socket s, Node node) { this.sock = s; this.node = node; this.inputHandler = new FCPConnectionInputHandler(this); this.outputHandler = new FCPConnectionOutputHandler(this); isClosed = false; this.bf = node.tempBucketFactory; requestsByIdentifier = new HashMap(); HighLevelSimpleClient... | 46035 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46035/d32229c02576d531c915059f111c468591f30e84/FCPConnectionHandler.java/buggy/src/freenet/node/fcp/FCPConnectionHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
478,
4258,
1952,
1503,
12,
4534,
272,
16,
2029,
756,
13,
288,
202,
202,
2211,
18,
15031,
273,
272,
31,
202,
202,
2211,
18,
2159,
273,
756,
31,
202,
202,
2211,
18,
2630,
1503... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
478,
4258,
1952,
1503,
12,
4534,
272,
16,
2029,
756,
13,
288,
202,
202,
2211,
18,
15031,
273,
272,
31,
202,
202,
2211,
18,
2159,
273,
756,
31,
202,
202,
2211,
18,
2630,
1503... |
WorkbenchPage workbenchPage) { | IWorkbenchPage workbenchPage) { | public boolean handles(IPerspectiveDescriptor perspective, WorkbenchPage workbenchPage) { return this.perspective == perspective && this.workbenchPage == workbenchPage; } | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/7492b2d89e421d819724566c58a91d81b97ce989/PerspectiveBarContributionItem.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PerspectiveBarContributionItem.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
7372,
12,
2579,
414,
16772,
3187,
26651,
16,
5411,
467,
2421,
22144,
1964,
1440,
22144,
1964,
13,
288,
3639,
327,
333,
18,
10422,
16772,
422,
26651,
7734,
597,
333,
18,
1252,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
7372,
12,
2579,
414,
16772,
3187,
26651,
16,
5411,
467,
2421,
22144,
1964,
1440,
22144,
1964,
13,
288,
3639,
327,
333,
18,
10422,
16772,
422,
26651,
7734,
597,
333,
18,
1252,
... |
request.setAttribute("dspace.collection", collections[0]); Community[] comms = collections[0].getCommunities(); | request.setAttribute("dspace.collection", item.getOwningCollection()); Community[] comms = item.getOwningCollection().getCommunities(); | private void displayItem(Context context, HttpServletRequest request, HttpServletResponse response, Item item, String handle) throws ServletException, IOException, SQLException, AuthorizeException { // Tombstone? if (item.isWithdrawn()) { JSPMana... | 51882 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51882/2740288a1ca949498f4f6be5c1e16307b1afca73/HandleServlet.java/buggy/dspace/src/org/dspace/app/webui/servlet/HandleServlet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2562,
1180,
12,
1042,
819,
16,
3639,
9984,
590,
16,
3639,
12446,
766,
16,
3639,
4342,
761,
16,
3639,
514,
1640,
13,
3639,
1216,
16517,
16,
1860,
16,
6483,
16,
23859,
503,
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,
377,
3238,
918,
2562,
1180,
12,
1042,
819,
16,
3639,
9984,
590,
16,
3639,
12446,
766,
16,
3639,
4342,
761,
16,
3639,
514,
1640,
13,
3639,
1216,
16517,
16,
1860,
16,
6483,
16,
23859,
503,
565... |
if (pluginBase!=null) | if (pluginBase != null) | public Object[] getElements(Object parent) { IPluginModelBase model = (IPluginModelBase)getPage().getModel(); IPluginBase pluginBase = model.getPluginBase(); if (pluginBase!=null) return pluginBase.getExtensionPoints(); return new Object[0]; } | 8783 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8783/2f313b9f855f3f2b79f6a08cdc5564de8fec8a9e/ExtensionPointsSection.java/buggy/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/plugin/ExtensionPointsSection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
1033,
8526,
8886,
12,
921,
982,
13,
288,
1082,
202,
45,
3773,
1488,
2171,
938,
273,
261,
45,
3773,
1488,
2171,
13,
588,
1964,
7675,
588,
1488,
5621,
1082,
202,
45,
3773,
2171... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
1033,
8526,
8886,
12,
921,
982,
13,
288,
1082,
202,
45,
3773,
1488,
2171,
938,
273,
261,
45,
3773,
1488,
2171,
13,
588,
1964,
7675,
588,
1488,
5621,
1082,
202,
45,
3773,
2171... |
public void deletePatch (Patch p, int patchNum) { setPatchName(p,patchNum," "); } | public void deletePatch(Patch p, int patchNum) { setPatchName(p, patchNum, " "); } | public void deletePatch (Patch p, int patchNum) { setPatchName(p,patchNum," "); } | 7591 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7591/e7311a9aa2ac478953975abaa1c0c14e8201c062/BankDriver.java/buggy/JSynthLib/core/BankDriver.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1430,
7332,
261,
7332,
293,
16,
509,
4729,
2578,
13,
282,
288,
377,
444,
7332,
461,
12,
84,
16,
2272,
2578,
10837,
1850,
315,
1769,
282,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1430,
7332,
261,
7332,
293,
16,
509,
4729,
2578,
13,
282,
288,
377,
444,
7332,
461,
12,
84,
16,
2272,
2578,
10837,
1850,
315,
1769,
282,
289,
2,
-100,
-100,
-100,
-100,
-100,... |
Span span = (Span)it.next(); | public static void main(String[] args) { //Usage check try { if ((args.length < 1)|| (args.length>1)) { usage(); return; } File dir = new File(args[0]); SpeechAct sa = new SpeechAct(); MutableTextLabels labels = TextBaseLoader.loadDirOfTaggedFiles(dir); TextBase textB... | 51753 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51753/ae91f67736bd60bdc2c92163785a8ba80543fe18/SpeechAct.java/buggy/apps/email/src/SpeechAct.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
288,
565,
368,
5357,
866,
565,
775,
288,
1377,
309,
14015,
1968,
18,
2469,
411,
404,
14047,
96,
261,
1968,
18,
2469,
34,
21,
3719,
288,
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,
282,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
288,
565,
368,
5357,
866,
565,
775,
288,
1377,
309,
14015,
1968,
18,
2469,
411,
404,
14047,
96,
261,
1968,
18,
2469,
34,
21,
3719,
288,
3... | |
logger.info("Permission non accorde. Recherche non effectues"); return null; | public Vector rechercherContractants(String login, String id, String nom, String adresse, String codePostal, String ville, String telephone, String fax, String mail, String type) { logger.info("Recherche d'un contractant"); //On vrifie que l'utilisateur a la permission if (verifPermission(login, "rechercherCont... | 55998 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55998/74d5f7ecb0be27d20fa4549d5812a6d4a1423dc9/Systeme.java/clean/NetJukeBox/src/proto/serveur/Systeme.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
5589,
283,
19322,
19322,
8924,
4388,
12,
780,
3925,
16,
514,
612,
16,
514,
12457,
16,
514,
1261,
7613,
16,
1082,
202,
780,
981,
3349,
287,
16,
514,
331,
14120,
16,
514,
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,
225,
202,
482,
5589,
283,
19322,
19322,
8924,
4388,
12,
780,
3925,
16,
514,
612,
16,
514,
12457,
16,
514,
1261,
7613,
16,
1082,
202,
780,
981,
3349,
287,
16,
514,
331,
14120,
16,
514,
268,
... | |
case ( LineStyle.DOTTED ) : | case ( LineStyle.DOTTED ) : | public void drawPolygon( PolygonRenderEvent pre ) throws ChartException { // CHECK IF THE LINE ATTRIBUTES ARE CORRECTLY DEFINED final LineAttributes lia = pre.getOutline( ); if ( !validateLineAttributes( pre.getSource( ), lia ) ) { return; } // SETUP THE FOREGROUND COLOR (DARKER BACKGROUND IF DEFINED AS NULL) ... | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/20bb7679d106e8105100c095c900612d5a37a46d/SwtRendererImpl.java/buggy/chart/org.eclipse.birt.chart.device.swt/src/org/eclipse/birt/chart/device/swt/SwtRendererImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3724,
11787,
12,
12681,
3420,
1133,
675,
262,
1216,
14804,
503,
202,
95,
202,
202,
759,
14565,
11083,
12786,
14340,
14043,
18744,
432,
862,
28359,
4512,
7076,
2030,
7263,
205... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3724,
11787,
12,
12681,
3420,
1133,
675,
262,
1216,
14804,
503,
202,
95,
202,
202,
759,
14565,
11083,
12786,
14340,
14043,
18744,
432,
862,
28359,
4512,
7076,
2030,
7263,
205... |
case OMNode.ELEMENT_NODE: | case Node.ELEMENT_NODE: | private int generateEvents(OMNode node) { int returnEvent = 0; int nodeType = node.getType(); switch (nodeType) { case OMNode.ELEMENT_NODE: OMElement element = (OMElement) node; returnEvent = generateElementEvents(element); break; ... | 49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/0146d73300fc7ba54c2eef82103b4f2a61dd50c1/DOMStAXWrapper.java/buggy/modules/saaj/src/org/apache/axis2/om/impl/dom/DOMStAXWrapper.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
2103,
3783,
12,
1872,
907,
756,
13,
288,
3639,
509,
327,
1133,
273,
374,
31,
3639,
509,
9507,
273,
756,
18,
588,
559,
5621,
3639,
1620,
261,
2159,
559,
13,
288,
5411,
648,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
2103,
3783,
12,
1872,
907,
756,
13,
288,
3639,
509,
327,
1133,
273,
374,
31,
3639,
509,
9507,
273,
756,
18,
588,
559,
5621,
3639,
1620,
261,
2159,
559,
13,
288,
5411,
648,
... |
x = x_values[p.right()]; | if (p.right() >= x_values.length) { System.out.println("[dd] p.right is too large for index: " + p.right() + ", " + x_values.length); x = 0; } else { /*!!!: System.out.println("[dd] p.right is just right for index: " + p.right() + ", " + x_values.length); */ x = x_values[p.right()]; } | protected void draw_day(Graphics g, Rectangle bounds, IntPair p, int[] x_values, boolean draw_line) { int x, day_x; final int Line_offset = -2; double width_factor; width_factor = width_factor_value(bounds, dates().size()); x = x_values[p.right()]; day_x = x + Day_x_offset; if (draw_line && x > Too_far_left) ... | 13245 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13245/71ab68ad8f5ab192e9b9b807c6742231d5070b1a/TimeDrawer.java/buggy/src/clients/graph/TimeDrawer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
3724,
67,
2881,
12,
17558,
314,
16,
13264,
4972,
16,
3094,
4154,
293,
16,
1082,
202,
474,
8526,
619,
67,
2372,
16,
1250,
3724,
67,
1369,
13,
288,
202,
202,
474,
619,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3724,
67,
2881,
12,
17558,
314,
16,
13264,
4972,
16,
3094,
4154,
293,
16,
1082,
202,
474,
8526,
619,
67,
2372,
16,
1250,
3724,
67,
1369,
13,
288,
202,
202,
474,
619,
1... |
public void testConvertNull() throws Exception { | public void testConvertNull() { | public void testConvertNull() throws Exception { try { makeConverter().convert(getExpectedType(),null); fail("Expected ConversionException"); } catch(ConversionException e) { // expected } } | 54521 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54521/8252efa3a0ba05fd56065bf87c145d6abd4f116e/NumberConverterTestBase.java/buggy/src/test/org/apache/commons/beanutils/converters/NumberConverterTestBase.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
2723,
2041,
1435,
288,
3639,
775,
288,
5411,
1221,
5072,
7675,
6283,
12,
588,
6861,
559,
9334,
2011,
1769,
5411,
2321,
2932,
6861,
16401,
503,
8863,
3639,
289,
1044,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
2723,
2041,
1435,
288,
3639,
775,
288,
5411,
1221,
5072,
7675,
6283,
12,
588,
6861,
559,
9334,
2011,
1769,
5411,
2321,
2932,
6861,
16401,
503,
8863,
3639,
289,
1044,
12,
... |
protected void init() { mainWindow = createBaseWindow(this); mainWindow.setTitle(this.getDescription()); //mainWindow.setSize(900, 515); //Menu JMenuBar mb = new JMenuBar(); JMenu fileMenu = new JMenu("File"); fileMenu.setMnemonic('f'); fileMenu.add(HackMod... | 3699 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3699/aafce0713d3f4266d8e94790ebab60ab2e201ad6/TileEditor.java/clean/src/net/starmen/pkhack/eb/TileEditor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1208,
1435,
565,
288,
3639,
2774,
3829,
273,
752,
2171,
3829,
12,
2211,
1769,
3639,
2774,
3829,
18,
542,
4247,
12,
2211,
18,
588,
3291,
10663,
3639,
368,
5254,
3829,
18,
542,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1208,
1435,
565,
288,
3639,
2774,
3829,
273,
752,
2171,
3829,
12,
2211,
1769,
3639,
2774,
3829,
18,
542,
4247,
12,
2211,
18,
588,
3291,
10663,
3639,
368,
5254,
3829,
18,
542,
... | ||
{ | { | public UserService getUserService() { return ServiceLocator.instance().getUserService(); } | 51612 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51612/8c7fded16a75ce2a1f0300235fd1af96b502ea2e/BaseHtmlPage.java/buggy/wicket-library/src/java/wicket/addons/BaseHtmlPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2177,
1179,
4735,
1179,
1435,
565,
288,
202,
202,
2463,
21443,
18,
1336,
7675,
588,
1299,
1179,
5621,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2177,
1179,
4735,
1179,
1435,
565,
288,
202,
202,
2463,
21443,
18,
1336,
7675,
588,
1299,
1179,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Iterator iter = entryIterator(); | Iterator iter = modifiableEntryIterator(); | public RubyHash invert() { RubyHash result = newHash(ruby); Iterator iter = entryIterator(); while (iter.hasNext()) { Map.Entry entry = (Map.Entry) iter.next(); RubyObject key = (RubyObject) entry.getKey(); RubyObject value = (RubyObject) entry.getValue(); result.aset(value, key); } return result; } | 47134 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47134/ca0297671a9134bbd35c936224da11609c37fa62/RubyHash.java/buggy/org/jruby/RubyHash.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
19817,
2310,
9848,
1435,
288,
202,
202,
54,
10340,
2310,
563,
273,
394,
2310,
12,
27768,
1769,
202,
202,
3198,
1400,
273,
1241,
3198,
5621,
202,
202,
17523,
261,
2165,
18,
5332,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
19817,
2310,
9848,
1435,
288,
202,
202,
54,
10340,
2310,
563,
273,
394,
2310,
12,
27768,
1769,
202,
202,
3198,
1400,
273,
1241,
3198,
5621,
202,
202,
17523,
261,
2165,
18,
5332,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.