rem stringlengths 1 226k | add stringlengths 0 227k | context stringlengths 6 326k | meta stringlengths 143 403 | input_ids listlengths 256 256 | attention_mask listlengths 256 256 | labels listlengths 128 128 |
|---|---|---|---|---|---|---|
if (type == STRING) { | if (type == MarshallingSupport.BIG_STRING_TYPE) { return MarshallingSupport.readUTF8(dataIn); } if (type == MarshallingSupport.STRING_TYPE) { | public String readString() throws JMSException { initializeReading(); try { this.dataIn.mark(65); int type = this.dataIn.read(); if (type == -1) { throw new MessageEOFException("reached end of data"); } if (type == NULL) { ... | 11783 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11783/09ebb720d3c5553c0945f1b3cf793e8861fa4196/ActiveMQStreamMessage.java/buggy/activemq-core/src/main/java/org/apache/activemq/command/ActiveMQStreamMessage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
18646,
1435,
1216,
20343,
288,
3639,
4046,
15714,
5621,
3639,
775,
288,
5411,
333,
18,
892,
382,
18,
3355,
12,
9222,
1769,
5411,
509,
618,
273,
333,
18,
892,
382,
18,
896,
56... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
18646,
1435,
1216,
20343,
288,
3639,
4046,
15714,
5621,
3639,
775,
288,
5411,
333,
18,
892,
382,
18,
3355,
12,
9222,
1769,
5411,
509,
618,
273,
333,
18,
892,
382,
18,
896,
56... |
public org.quickfix.field.EncodedSecurityDescLen getEncodedSecurityDescLen() throws FieldNotFound { org.quickfix.field.EncodedSecurityDescLen value = new org.quickfix.field.EncodedSecurityDescLen(); | public quickfix.field.EncodedSecurityDescLen getEncodedSecurityDescLen() throws FieldNotFound { quickfix.field.EncodedSecurityDescLen value = new quickfix.field.EncodedSecurityDescLen(); | public org.quickfix.field.EncodedSecurityDescLen getEncodedSecurityDescLen() throws FieldNotFound { org.quickfix.field.EncodedSecurityDescLen value = new org.quickfix.field.EncodedSecurityDescLen(); getField(value); return value; } | 5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/Email.java/buggy/src/java/src/quickfix/fix44/Email.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
4368,
4217,
2891,
28799,
4368,
4217,
2891,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
4368,
4217,
2891,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10397,
4368,
4217,
2891,
28799,
4368,
4217,
2891,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
4368,
4217,
2891,
... |
return clean; | return clean; | private static String cleanSerialNumber(String rawNumber) { String clean = rawNumber.toLowerCase(); clean = clean.replaceAll("[:\\s]*", ""); return clean; } | 12962 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12962/7c03276d2291ad32b38eda73ae03298dbfaff600/Phone.java/clean/sipXconfig/neoconf/src/org/sipfoundry/sipxconfig/phone/Phone.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
514,
2721,
6342,
1854,
12,
780,
1831,
1854,
13,
288,
3639,
514,
2721,
273,
1831,
1854,
18,
869,
5630,
5621,
3639,
2721,
273,
2721,
18,
2079,
1595,
2932,
10531,
1695,
87,
5772,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
514,
2721,
6342,
1854,
12,
780,
1831,
1854,
13,
288,
3639,
514,
2721,
273,
1831,
1854,
18,
869,
5630,
5621,
3639,
2721,
273,
2721,
18,
2079,
1595,
2932,
10531,
1695,
87,
5772,
... |
IRIElement setId(String id) throws URISyntaxException; | IRIElement setId(String id) throws IRISyntaxException; | IRIElement setId(String id) throws URISyntaxException; | 46425 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46425/a7724f57b1ed9f7e36f7b511e06e7dbc231182d4/Source.java/clean/core/src/main/java/org/apache/abdera/model/Source.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
24143,
1046,
10446,
12,
780,
612,
13,
1216,
19883,
31,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
24143,
1046,
10446,
12,
780,
612,
13,
1216,
19883,
31,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
this.dialog = dialog; | public FiltersAction(TableView view, Dialog dialog) { super(Messages.getString("filtersAction.title")); //$NON-NLS-1$ setImageDescriptor(ImageFactory.getImageDescriptor("clcl16/filter_ps.gif")); //$NON-NLS-1$ setToolTipText(Messages.getString("filtersAction.tooltip")); //$NON-NLS-1$ this.view = view; this.dialog ... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/ea57ee1b804071939d5791d4c2986826074efe0c/FiltersAction.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/FiltersAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
14475,
1803,
12,
1388,
1767,
1476,
16,
17242,
6176,
13,
288,
202,
202,
9565,
12,
5058,
18,
588,
780,
2932,
6348,
1803,
18,
2649,
7923,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
14475,
1803,
12,
1388,
1767,
1476,
16,
17242,
6176,
13,
288,
202,
202,
9565,
12,
5058,
18,
588,
780,
2932,
6348,
1803,
18,
2649,
7923,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
... | |
private void setupTestMails(MockMailRepository mailRep) throws MessagingException { | private void setupTestMails(MailRepository mailRep) throws MessagingException { | private void setupTestMails(MockMailRepository mailRep) throws MessagingException { ArrayList recipients = new ArrayList(); recipients.add(new MailAddress("recipient@test.com")); MimeMessage mw = new MimeMessageCopyOnWriteProxy( new MimeMessageInputStreamSource( ... | 47102 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47102/6989849378482869552fed286d5ab85cdd35900b/POP3ServerTest.java/clean/trunk/src/test/org/apache/james/pop3server/POP3ServerTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3875,
4709,
6759,
87,
12,
6759,
3305,
4791,
18933,
13,
1216,
23794,
503,
288,
3639,
2407,
12045,
273,
394,
2407,
5621,
3639,
12045,
18,
1289,
12,
2704,
11542,
1887,
2932,
20367,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3875,
4709,
6759,
87,
12,
6759,
3305,
4791,
18933,
13,
1216,
23794,
503,
288,
3639,
2407,
12045,
273,
394,
2407,
5621,
3639,
12045,
18,
1289,
12,
2704,
11542,
1887,
2932,
20367,
... |
else { StringBuffer result = new StringBuffer(); DToA.JS_dtostr(result, DToA.DTOSTR_STANDARD, 0, d); return result.toString(); } | public static String numberToString(double d, int base) { if (d != d) return "NaN"; if (d == Double.POSITIVE_INFINITY) return "Infinity"; if (d == Double.NEGATIVE_INFINITY) return "-Infinity"; if (d == 0.0) return "0"; if ((base < 2) || ... | 19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/a73c6e75ae2fab8328356d16318be7fab782905c/ScriptRuntime.java/clean/src/org/mozilla/javascript/ScriptRuntime.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
514,
1300,
5808,
12,
9056,
302,
16,
509,
1026,
13,
288,
3639,
309,
261,
72,
480,
302,
13,
5411,
327,
315,
21172,
14432,
3639,
309,
261,
72,
422,
3698,
18,
7057,
16325,
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,
377,
1071,
760,
514,
1300,
5808,
12,
9056,
302,
16,
509,
1026,
13,
288,
3639,
309,
261,
72,
480,
302,
13,
5411,
327,
315,
21172,
14432,
3639,
309,
261,
72,
422,
3698,
18,
7057,
16325,
67,
... | |
writeOut(toDosTime(new Date(ze.getTime())).getBytes()); | writeOut( toDosTime( new Date( ze.getTime() ) ).getBytes() ); | protected void writeCentralFileHeader(ZipEntry ze) throws IOException { writeOut(CFH_SIG.getBytes()); written += 4; // version made by writeOut((new ZipShort((ze.getPlatform() << 8) | 20)).getBytes()); written += 2; // version needed to extract // general purpose bit... | 10884 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10884/8348e0b29d34f62b8f140a99598373fb0cbf7fcb/ZipOutputStream.java/clean/src/main/java/org/codehaus/plexus/archiver/zip/ZipOutputStream.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1045,
39,
12839,
812,
1864,
12,
9141,
1622,
26637,
13,
1216,
1860,
288,
3639,
1045,
1182,
12,
8955,
44,
67,
18513,
18,
588,
2160,
10663,
3639,
5941,
1011,
1059,
31,
3639,
368,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1045,
39,
12839,
812,
1864,
12,
9141,
1622,
26637,
13,
1216,
1860,
288,
3639,
1045,
1182,
12,
8955,
44,
67,
18513,
18,
588,
2160,
10663,
3639,
5941,
1011,
1059,
31,
3639,
368,
... |
AST __t1530 = _t; AST tmp2205_AST_in = (AST)_t; | AST __t1534 = _t; AST tmp2208_AST_in = (AST)_t; | public final void imagephrase_opt(AST _t) throws RecognitionException { AST imagephrase_opt_AST_in = (_t == ASTNULL) ? null : (AST)_t; if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case FILE: { AST __t1527 = _t; AST tmp2200_AST_in = (AST)_t; match(_t,FILE); _t = _t.getFirstChild(); expression(_... | 13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/TreeParser03.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparser03/TreeParser03.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1316,
9429,
67,
3838,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1316,
9429,
67,
3838,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1316,
9429,
67,
3838,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1316,
9429,
67,
3838,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,... |
indexOfDot = packageName.indexOf((int)'.', 0); | indexOfDot = packageName.indexOf((int) '.', 0); | public static String getRelativePath(String className) { String packageName; String fileSeparator; String result; int indexOfDot, indexOfLastDot; fileSeparator = System.getProperty("file.separator"); packageName = Utils.getPackageName(className); indexOfDot = packageName.indexOf((int)'.', 0); ... | 23362 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/23362/587595d3d238a839759fc80780989cf7b46a7398/Utils.java/buggy/src/org/objectweb/proactive/core/mop/Utils.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
514,
26986,
12,
780,
2658,
13,
288,
565,
514,
9929,
31,
565,
514,
585,
6581,
31,
565,
514,
563,
31,
565,
509,
3133,
10412,
16,
3133,
3024,
10412,
31,
565,
585,
6581,
273,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
514,
26986,
12,
780,
2658,
13,
288,
565,
514,
9929,
31,
565,
514,
585,
6581,
31,
565,
514,
563,
31,
565,
509,
3133,
10412,
16,
3133,
3024,
10412,
31,
565,
585,
6581,
273,
2... |
label_19: | label_22: | final public void expr() throws ParseException { xor_expr(); label_19: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case OR: ; break; default: jj_la1[57] = jj_gen; break label_19; } jj_consume_token(OR); SimpleNode jjtn001 = (... | 6527 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6527/2b47cff319e0a469e540c356f904a833b9b33cd7/PythonGrammar.java/clean/org/python/parser/PythonGrammar.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
1071,
918,
3065,
1435,
1216,
10616,
288,
565,
17586,
67,
8638,
5621,
565,
1433,
67,
3787,
30,
565,
1323,
261,
3767,
13,
288,
1377,
1620,
14015,
78,
78,
67,
496,
79,
631,
17,
21,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
1071,
918,
3065,
1435,
1216,
10616,
288,
565,
17586,
67,
8638,
5621,
565,
1433,
67,
3787,
30,
565,
1323,
261,
3767,
13,
288,
1377,
1620,
14015,
78,
78,
67,
496,
79,
631,
17,
21,
... |
Object entry = null; | public final synchronized void dispose() throws UMOException { disposed.set(true); if (logger.isInfoEnabled()) { logger.info("Disposing Connector: " + getClass().getName()); logger.debug("Disposing Receivers"); } if (receivers != null) { ... | 28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/f2c9f8d06f3a2065a447d9fac9378212525895b4/AbstractConnector.java/buggy/mule/src/java/org/mule/providers/AbstractConnector.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
3852,
918,
15825,
1435,
1216,
587,
5980,
503,
565,
288,
3639,
1015,
7423,
18,
542,
12,
3767,
1769,
3639,
309,
261,
4901,
18,
291,
966,
1526,
10756,
3639,
288,
5411,
1194,
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,
1071,
727,
3852,
918,
15825,
1435,
1216,
587,
5980,
503,
565,
288,
3639,
1015,
7423,
18,
542,
12,
3767,
1769,
3639,
309,
261,
4901,
18,
291,
966,
1526,
10756,
3639,
288,
5411,
1194,
18,
... | |
public <T extends DBusSignal> void addSigHandler(Class<T> type, String source, DBusInterface object, DBusSigHandler<T> handler) throws DBusException | public <T extends DBusSignal> void addSigHandler(Class<T> type, DBusSigHandler<T> handler) throws DBusException | public <T extends DBusSignal> void addSigHandler(Class<T> type, String source, DBusInterface object, DBusSigHandler<T> handler) throws DBusException { if (!DBusSignal.class.isAssignableFrom(type)) throw new ClassCastException("Not A DBus Signal"); if (source.matches(BUSNAME_REGEX)) throw new DBusExcepti... | 5401 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5401/03f1628bfca4aeb69152473edbe4c88b684409cd/DBusConnection.java/buggy/org/freedesktop/dbus/DBusConnection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
411,
56,
3231,
2383,
407,
11208,
34,
918,
527,
8267,
1503,
12,
797,
32,
56,
34,
618,
16,
2383,
407,
8267,
1503,
32,
56,
34,
1838,
13,
1216,
2383,
407,
503,
282,
288,
1377,
309,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
411,
56,
3231,
2383,
407,
11208,
34,
918,
527,
8267,
1503,
12,
797,
32,
56,
34,
618,
16,
2383,
407,
8267,
1503,
32,
56,
34,
1838,
13,
1216,
2383,
407,
503,
282,
288,
1377,
309,
... |
log.debug( "Looking up variable: " + name + " answer: " + answer ); | String answerString = null; try { answerString = answer.toString(); } catch(Exception ex) {} if(answerString==null && answer!=null) answerString = " of class " + answer.getClass(); log.debug( "Looking up variable: " + name + " answer: " + answerString ); | public Object getVariable(String name) { // look in parent first Object answer = super.getVariable(name); if (answer == null) { answer = project.getProperty(name); } if ( log.isDebugEnabled() ) { log.debug( "Looking up variable: " + name + " answer: " + answe... | 51800 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51800/be25a8752619eaf1e25c6b182f12d0837adf9fc5/AntJellyContext.java/clean/jelly-tags/ant/src/java/org/apache/commons/jelly/task/AntJellyContext.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
13522,
12,
780,
508,
13,
288,
3639,
368,
2324,
316,
982,
1122,
3639,
1033,
5803,
273,
2240,
18,
588,
3092,
12,
529,
1769,
3639,
309,
261,
13490,
422,
446,
13,
288,
5411,
580... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13522,
12,
780,
508,
13,
288,
3639,
368,
2324,
316,
982,
1122,
3639,
1033,
5803,
273,
2240,
18,
588,
3092,
12,
529,
1769,
3639,
309,
261,
13490,
422,
446,
13,
288,
5411,
580... |
if (metaData == null) throw new IllegalArgumentException("the classname:methodMetaData tuple can not be null"); | if (metaData == null) throw new IllegalArgumentException("classname:methodMetaData tuple can not be null"); | public void exitingControlFlow(final ClassNameMethodMetaDataTuple metaData) { if (metaData == null) throw new IllegalArgumentException("the classname:methodMetaData tuple can not be null"); Set cflowSet = (Set)m_controlFlowLog.get(); if (cflowSet == null) { return; } cf... | 7954 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7954/b147fecbdfbb03a8c3a5bfed9c349908e93b15cb/AspectWerkz.java/clean/aspectwerkz/src/main/org/codehaus/aspectwerkz/AspectWerkz.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
15702,
24762,
12,
6385,
19811,
1305,
6998,
9038,
11651,
13,
288,
3639,
309,
261,
3901,
751,
422,
446,
13,
604,
394,
2754,
2932,
18340,
30,
2039,
6998,
3193,
848,
486,
506,
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,
377,
1071,
918,
15702,
24762,
12,
6385,
19811,
1305,
6998,
9038,
11651,
13,
288,
3639,
309,
261,
3901,
751,
422,
446,
13,
604,
394,
2754,
2932,
18340,
30,
2039,
6998,
3193,
848,
486,
506,
446,... |
else curLexState = lexState; | } curLexState = lexState; | public void SwitchTo(int lexState) { if (lexState >= 2 || lexState < 0) throw new TokenMgrError("Error: Ignoring invalid lexical state : " + lexState + ". State unchanged.", TokenMgrError.INVALID_LEXICAL_STATE); else curLexState = lexState; } | 47899 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47899/3dda2c1710507b1766cc32a32df8e77e81c19227/ParserTokenManager.java/clean/projects/woenvironment/src/java/org/objectstyle/woenvironment/util/ParserTokenManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
13967,
774,
12,
474,
5275,
1119,
13,
288,
202,
202,
430,
261,
4149,
1119,
1545,
576,
747,
5275,
1119,
411,
374,
13,
1082,
202,
12849,
394,
3155,
9455,
668,
2932,
668,
30,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13967,
774,
12,
474,
5275,
1119,
13,
288,
202,
202,
430,
261,
4149,
1119,
1545,
576,
747,
5275,
1119,
411,
374,
13,
1082,
202,
12849,
394,
3155,
9455,
668,
2932,
668,
30,... |
if (titleLabel == null) { | if (titleLabel == null) | public void setTitle(String newTitle) { if (titleLabel == null) { return; } String title = newTitle; if (title == null) { title = "";//$NON-NLS-1$ } titleLabel.setText(title); } | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/da161fa58798fc8bc17f94c43475620ff52e72c2/TitleAreaDialog.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/TitleAreaDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
14109,
12,
780,
394,
4247,
13,
288,
3639,
309,
261,
2649,
2224,
422,
446,
13,
288,
1082,
202,
2463,
31,
202,
202,
97,
3639,
514,
2077,
273,
394,
4247,
31,
3639,
309,
261,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
14109,
12,
780,
394,
4247,
13,
288,
3639,
309,
261,
2649,
2224,
422,
446,
13,
288,
1082,
202,
2463,
31,
202,
202,
97,
3639,
514,
2077,
273,
394,
4247,
31,
3639,
309,
261,
2... |
} } | } } | public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException{ // Lets get the server this request was aimed for String host = req.getHeader("Host") ; String imcServer = Utility.getDomainPref("adminserver",host) ; HttpSession session = req.getSession(); imcode.serve... | 8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/4a10d17acd8cda7aeee387299ff417f51fcbeac4/AdminQuestionsFile.java/clean/servlets/AdminQuestionsFile.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
741,
3349,
12,
2940,
18572,
1111,
16,
12446,
400,
13,
202,
15069,
16517,
16,
1860,
95,
377,
202,
202,
759,
511,
2413,
336,
326,
1438,
333,
590,
1703,
279,
381,
329,
364,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
741,
3349,
12,
2940,
18572,
1111,
16,
12446,
400,
13,
202,
15069,
16517,
16,
1860,
95,
377,
202,
202,
759,
511,
2413,
336,
326,
1438,
333,
590,
1703,
279,
381,
329,
364,
... |
_t = __t1799; | _t = __t1800; | public final void processeventsstate(AST _t) throws RecognitionException { AST processeventsstate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t1799 = _t; AST tmp1323_AST_in = (AST)_t; match(_t,PROCESS); _t = _t.getFirstChild(); AST tmp1324_AST_in = (AST)_t; match(_t,EVENTS); _t = _t.getNextSibling(); ... | 13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/865876f0e6319c071fef156818ff116c276cfdff/TreeParser03.java/buggy/trunk/org.prorefactor.core/src/org/prorefactor/treeparser03/TreeParser03.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
450,
764,
307,
616,
87,
2019,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
450,
764,
307,
616,
87,
2019,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
91... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
450,
764,
307,
616,
87,
2019,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
450,
764,
307,
616,
87,
2019,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
91... |
setTabPosition(tabLocation); | tabFolder.setTabPosition(tabLocation); | public PartTabFolderPresentation(Composite parent, IStackPresentationSite newSite) { super(new CTabFolder(parent, SWT.BORDER), newSite); CTabFolder tabFolder = getTabFolder(); preferenceStore.addPropertyChangeListener(propertyChangeListener); int tabLocation = preferenceStore.getInt(IPreferenceConstants.VIEW_T... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/db95d896a9728c87e103baad4b7543446b1ff52f/PartTabFolderPresentation.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/presentations/PartTabFolderPresentation.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
6393,
5661,
3899,
6351,
367,
12,
9400,
982,
16,
467,
2624,
6351,
367,
4956,
394,
4956,
13,
288,
9506,
202,
9565,
12,
2704,
385,
5661,
3899,
12,
2938,
16,
348,
8588,
18,
38,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6393,
5661,
3899,
6351,
367,
12,
9400,
982,
16,
467,
2624,
6351,
367,
4956,
394,
4956,
13,
288,
9506,
202,
9565,
12,
2704,
385,
5661,
3899,
12,
2938,
16,
348,
8588,
18,
38,
... |
result = userAgent.getClientAreaLocationOnScreen(); | result = userAgent.getAlternateStyleSheet(); | public void run() { result = userAgent.getClientAreaLocationOnScreen(); } | 45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/0e8fac772791a058755ef5ad1de71c14544b11bb/JSVGComponent.java/buggy/sources/org/apache/batik/swing/svg/JSVGComponent.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
5397,
1071,
918,
1086,
1435,
288,
13491,
563,
273,
7574,
18,
588,
25265,
2885,
8229,
5621,
10792,
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... | [
1,
1,
1,
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,
5397,
1071,
918,
1086,
1435,
288,
13491,
563,
273,
7574,
18,
588,
25265,
2885,
8229,
5621,
10792,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
_t = __t320; | _t = __t323; | public final Expression constructor(AST _t, PathExpr path ) throws RecognitionException, PermissionDeniedException,EXistException,XPathException { Expression step; AST constructor_AST_in = (AST)_t; AST e = null; AST attrName = null; AST attrVal = null; AST pcdata = null; AST cdata = null; AST p = null; ... | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/be23536931f66ed6f552941df1c272ed48eeb933/XPathTreeParser2.java/clean/src/org/exist/parser/XPathTreeParser2.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
5371,
225,
3885,
12,
9053,
389,
88,
16,
202,
202,
743,
4742,
589,
202,
13,
1216,
9539,
16,
8509,
15877,
16,
2294,
376,
503,
16,
14124,
503,
288,
202,
202,
2300,
2235,
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,
727,
5371,
225,
3885,
12,
9053,
389,
88,
16,
202,
202,
743,
4742,
589,
202,
13,
1216,
9539,
16,
8509,
15877,
16,
2294,
376,
503,
16,
14124,
503,
288,
202,
202,
2300,
2235,
3... |
String prefix = qname.substring(0, columnPosition); localName = qname.substring(columnPosition + 1); namespaceURI = null; | rootPrefix = rootQName.substring(0, columnPosition); rootLocalName = rootQName.substring(columnPosition + 1); String tempNamespaceURI = null; | public ProcessorOutput createOutput(String name) { ProcessorOutput output = new CacheableTransformerOutputImpl(getClass(), name) { public void readImpl(PipelineContext context, ContentHandler contentHandler) { try { // Read config Element config... | 10097 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10097/62eabac7eb1abdc6a8498b9a67e23ed69ae6ceb7/AggregatorProcessor.java/buggy/src/java/org/orbeon/oxf/processor/pipeline/AggregatorProcessor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15476,
1447,
752,
1447,
12,
780,
508,
13,
288,
3639,
15476,
1447,
876,
273,
394,
4379,
429,
8319,
1447,
2828,
12,
588,
797,
9334,
508,
13,
288,
5411,
1071,
918,
855,
2828,
12,
879... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15476,
1447,
752,
1447,
12,
780,
508,
13,
288,
3639,
15476,
1447,
876,
273,
394,
4379,
429,
8319,
1447,
2828,
12,
588,
797,
9334,
508,
13,
288,
5411,
1071,
918,
855,
2828,
12,
879... |
assertNotNull( mojoDescriptor.getRequiresDependencyResolution() ); | assertNotNull( mojoDescriptor.isDependencyResolutionRequired() ); | private void checkMojo( MojoDescriptor mojoDescriptor ) { assertEquals( "test:testGoal", mojoDescriptor.getFullGoalName() ); assertEquals( "org.apache.maven.tools.plugin.generator.TestMojo", mojoDescriptor.getImplementation() ); // The following should be defaults assertEquals( "per-l... | 1315 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1315/76c4ceda28a98ca54da4e08088f54f6fb71430ef/PluginDescriptorGeneratorTest.java/clean/maven-plugin-tools/maven-plugin-tools-api/src/test/java/org/apache/maven/tools/plugin/generator/PluginDescriptorGeneratorTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
866,
49,
10007,
12,
15931,
3187,
312,
10007,
3187,
262,
565,
288,
3639,
1815,
8867,
12,
315,
3813,
30,
3813,
27716,
3113,
312,
10007,
3187,
18,
588,
5080,
27716,
461,
1435,
112... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
866,
49,
10007,
12,
15931,
3187,
312,
10007,
3187,
262,
565,
288,
3639,
1815,
8867,
12,
315,
3813,
30,
3813,
27716,
3113,
312,
10007,
3187,
18,
588,
5080,
27716,
461,
1435,
112... |
object = null; | object = nameService.lookup(objectName); | protected void processRequest(CdrInputStream parameters, CdrOutputStream output, CdrOutputStream results, RequestHeader_1_2 request) { byte[] objectKey = getObjectKey(request.target); int keyLength = objectKey.length; int keyType = keyLength == 0 ? 0 : objectKey[0]; if (keyType >= 'A' &&... | 12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/9d2c39c906c6955e17daf4ac239b85d4727ddc83/MessageHandler.java/clean/modules/interop/src/java/org/apache/geronimo/interop/rmi/iiop/server/MessageHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1207,
691,
12,
39,
3069,
4348,
1472,
16,
385,
3069,
4632,
876,
16,
385,
3069,
4632,
1686,
16,
1567,
1864,
67,
21,
67,
22,
590,
13,
288,
3639,
1160,
8526,
733,
653,
273,
645... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1207,
691,
12,
39,
3069,
4348,
1472,
16,
385,
3069,
4632,
876,
16,
385,
3069,
4632,
1686,
16,
1567,
1864,
67,
21,
67,
22,
590,
13,
288,
3639,
1160,
8526,
733,
653,
273,
645... |
if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID || (IS_ARG() && space_seen != 0 && !ISSPACE(c))) { if (IS_ARG()) { | if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID || (isArgState() && space_seen != 0 && !isSpace(c))) { if (isArgState()) { | private int yylex() { int c; int space_seen = 0; kwtable kw; retry : for (;;) { switch (c = nextc()) { case '\0' : // NUL case '\004' : // ^D case '\032' : // ^Z case -1 : //end of script. return 0;... | 48072 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48072/d31a76ee29d5978a9bec41e3ac9134cee024bcab/DefaultRubyScanner.java/buggy/org/jruby/parser/DefaultRubyScanner.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
677,
1362,
92,
1435,
288,
3639,
509,
276,
31,
3639,
509,
3476,
67,
15156,
273,
374,
31,
3639,
5323,
2121,
5323,
31,
3639,
3300,
294,
364,
261,
25708,
13,
288,
5411,
1620,
261... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
677,
1362,
92,
1435,
288,
3639,
509,
276,
31,
3639,
509,
3476,
67,
15156,
273,
374,
31,
3639,
5323,
2121,
5323,
31,
3639,
3300,
294,
364,
261,
25708,
13,
288,
5411,
1620,
261... |
final Map portletParameters = PortletStateManager.getURLDecodedParameters(source); this.parameters.putAll(portletParameters); | public RequestParamWrapper(HttpServletRequest source, boolean request_verified) { super(source); setFileUploadMaxSize(); // leech all of the information from the source request this.request_verified = request_verified; // only bother with parameter ... | 1895 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1895/cad27a7ed0dad9a0296a070c08340f00b03793df/RequestParamWrapper.java/buggy/source/org/jasig/portal/RequestParamWrapper.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
31411,
3611,
12,
2940,
18572,
1084,
16,
1250,
590,
67,
19685,
13,
288,
3639,
2240,
12,
3168,
1769,
7734,
19658,
4777,
21485,
5621,
13491,
368,
884,
8987,
777,
434,
326,
1779,
628,
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,
31411,
3611,
12,
2940,
18572,
1084,
16,
1250,
590,
67,
19685,
13,
288,
3639,
2240,
12,
3168,
1769,
7734,
19658,
4777,
21485,
5621,
13491,
368,
884,
8987,
777,
434,
326,
1779,
628,
3... | |
try { if (imageURLString != null && !imageURLString.equals("")) { URL imageURL = LayerUtils.getResourceOrFileOrURL(this, imageURLString); ImageIcon imageIcon = new ImageIcon(imageURL); spatialIndex.setPointIcon(imageIcon); } } catch (MalformedURLException murle) { Debug.error("ShapeLayer.setProperties: point image URL ... | try { if (imageURLString != null && !imageURLString.equals("")) { URL imageURL = LayerUtils.getResourceOrFileOrURL(this, imageURLString); ImageIcon imageIcon = new ImageIcon(imageURL); spatialIndex.setPointIcon(imageIcon); } } catch (MalformedURLException murle) { Debug.error("ShapeLayer.setProperties: point image URL ... | public void setProperties(String prefix, Properties props) { super.setProperties(prefix, props); String realPrefix = PropUtils.getScopedPropertyPrefix(this); shapeFileName = props.getProperty(realPrefix + shapeFileProperty); spatialIndexFileName = props.getProperty(realPrefix + spatialIndexProperty); if (shapeF... | 47208 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47208/edbeffa6fb72058fbd5312d50c86c88fa8d47f6b/ShapeLayer.java/buggy/src/openmap/com/bbn/openmap/layer/shape/ShapeLayer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
23126,
12,
780,
1633,
16,
6183,
3458,
13,
288,
202,
9565,
18,
542,
2297,
12,
3239,
16,
3458,
1769,
202,
780,
2863,
2244,
273,
10484,
1989,
18,
588,
25470,
1396,
2244,
12,
221... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
23126,
12,
780,
1633,
16,
6183,
3458,
13,
288,
202,
9565,
18,
542,
2297,
12,
3239,
16,
3458,
1769,
202,
780,
2863,
2244,
273,
10484,
1989,
18,
588,
25470,
1396,
2244,
12,
221... |
debug = Messages.getString("DimensionLookup.Debug.FirstFieldNotFound"); | debug = "first: notfound field"; | private synchronized void lookupValues(Row row) throws KettleException { Row lu = new Row(); Row add; Value technicalKey; Value val_version; Value val_date = null; Value val_datfrom = null; Value val_datto = null; debug = "Start of lookupValues()"; //$NON-NLS-1$ if (first) { debug = "init of lo... | 58146 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58146/76197a64ed9ff8c9246b3fe10eb0db66194e2d06/DimensionLookup.java/clean/kettle/src/be/ibridge/kettle/trans/step/dimensionlookup/DimensionLookup.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
3852,
918,
3689,
1972,
12,
1999,
1027,
13,
202,
202,
15069,
1475,
278,
5929,
503,
202,
95,
202,
202,
1999,
20072,
273,
394,
6556,
5621,
202,
202,
1999,
527,
31,
9506,
202,
62... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3689,
1972,
12,
1999,
1027,
13,
202,
202,
15069,
1475,
278,
5929,
503,
202,
95,
202,
202,
1999,
20072,
273,
394,
6556,
5621,
202,
202,
1999,
527,
31,
9506,
202,
62... |
return getRuntime().getNil(); | return changesMade ? this : getRuntime().getNil(); | public IRubyObject swapcase_bang() { char[] chars = getValue().toCharArray(); StringBuffer sb = new StringBuffer(chars.length); boolean changesMade = false; for (int i = 0; i < chars.length; i++) { if (!Character.isLetter(chars[i])) { sb.append(chars[i]); } else if (Character.isLowerCase(chars[i])) { ... | 48072 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48072/9f2efc63a858fa0507245b207025eab027840a04/RubyString.java/clean/src/org/jruby/RubyString.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
15908,
10340,
921,
7720,
3593,
67,
70,
539,
1435,
288,
202,
202,
3001,
8526,
5230,
273,
2366,
7675,
869,
15936,
5621,
202,
202,
780,
1892,
2393,
273,
394,
6674,
12,
7549,
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,
482,
15908,
10340,
921,
7720,
3593,
67,
70,
539,
1435,
288,
202,
202,
3001,
8526,
5230,
273,
2366,
7675,
869,
15936,
5621,
202,
202,
780,
1892,
2393,
273,
394,
6674,
12,
7549,
18,
... |
scheduleUpdate(0); | scheduleUpdate(10); | public boolean ensureUpToDate(boolean canBeCanceled) { final boolean ok = ProgressManager.getInstance().runProcessWithProgressSynchronously(new Runnable() { public void run() { final ProgressIndicator indicator = ProgressManager.getInstance().getProgressIndicator(); if (indicator != null) { ... | 17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/084b93c9d53876cc9bafcb5f473d7ee21d5eab5d/ChangeListManagerImpl.java/buggy/source/com/intellij/openapi/vcs/changes/ChangeListManagerImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
3387,
1211,
31264,
12,
6494,
24978,
23163,
13,
288,
565,
727,
1250,
1529,
273,
10980,
1318,
18,
588,
1442,
7675,
2681,
2227,
1190,
5491,
55,
24845,
12,
2704,
10254,
1435,
288,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
3387,
1211,
31264,
12,
6494,
24978,
23163,
13,
288,
565,
727,
1250,
1529,
273,
10980,
1318,
18,
588,
1442,
7675,
2681,
2227,
1190,
5491,
55,
24845,
12,
2704,
10254,
1435,
288,
... |
return (fScannerState != SCANNER_STATE_END_OF_INPUT); | return true; | public boolean dispatch(boolean keepgoing) throws Exception { do { switch (fScannerState) { case SCANNER_STATE_ROOT_ELEMENT: { scanElementType(fEntityReader, '>', fElementQName); if (fElementQName.rawname != -1) { ... | 46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/1592c2719b3e4ae8ed2b7bec1a4876f499d86726/XMLDocumentScanner.java/buggy/src/org/apache/xerces/framework/XMLDocumentScanner.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
1250,
3435,
12,
6494,
3455,
8162,
13,
1216,
1185,
288,
5411,
741,
288,
7734,
1620,
261,
74,
11338,
1119,
13,
288,
7734,
648,
8795,
11489,
654,
67,
7998,
67,
9185,
67,
10976,
30,
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,
540,
1071,
1250,
3435,
12,
6494,
3455,
8162,
13,
1216,
1185,
288,
5411,
741,
288,
7734,
1620,
261,
74,
11338,
1119,
13,
288,
7734,
648,
8795,
11489,
654,
67,
7998,
67,
9185,
67,
10976,
30,
7... |
if (!new QueryFilters(nutchConf).isField(c.getField())) { | if (!new QueryFilters(conf).isField(c.getField())) { | private static Query fixup(Query input, NutchConf nutchConf) { // walk the query Query output = new Query(nutchConf); Clause[] clauses = input.getClauses(); for (int i = 0; i < clauses.length; i++) { Clause c = clauses[i]; if (!new QueryFilters(nutchConf).isField(c.getField())) { // unknown fie... | 50818 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50818/25437bc825d50715dcc9a289a1b4c8fbbc6aced1/Query.java/clean/src/java/org/apache/nutch/searcher/Query.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
2770,
2917,
416,
12,
1138,
810,
16,
423,
322,
343,
3976,
290,
322,
343,
3976,
13,
288,
565,
368,
5442,
326,
843,
565,
2770,
876,
273,
394,
2770,
12,
82,
322,
343,
3976,
176... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
2770,
2917,
416,
12,
1138,
810,
16,
423,
322,
343,
3976,
290,
322,
343,
3976,
13,
288,
565,
368,
5442,
326,
843,
565,
2770,
876,
273,
394,
2770,
12,
82,
322,
343,
3976,
176... |
v += value_weights[i] * values[i][j]; h += hue_weights[i] * values[i][j]; | v += valueWeights[i] * values[i][j]; h += hueWeights[i] * values[i][j]; | public void doit() { try { float[] value_weights = new float[NFILES]; float[] hue_weights = new float[NFILES]; for (int i=0; i<NFILES; i++) { Real r = (Real) value_refs[i].getData(); value_weights[i] = (float) r.getValue(); r = (Real) hue_refs[i].getData(); hue_weights[i]... | 11426 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11426/d3560cf43f33592c964cabbb057bed37fea39a07/MultiLUT.java/buggy/loci/MultiLUT.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
741,
305,
1435,
288,
565,
775,
288,
1377,
1431,
8526,
460,
67,
9727,
273,
394,
1431,
63,
50,
12669,
15533,
1377,
1431,
8526,
16846,
67,
9727,
273,
394,
1431,
63,
50,
12669,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
741,
305,
1435,
288,
565,
775,
288,
1377,
1431,
8526,
460,
67,
9727,
273,
394,
1431,
63,
50,
12669,
15533,
1377,
1431,
8526,
16846,
67,
9727,
273,
394,
1431,
63,
50,
12669,
1... |
System.out.println("Could not solve x * " + mapping + " = " + q); | throw new RuntimeException("Could not solve x * " + mapping + " = " + q); | public void setPosition(final INode v, final Point p) { final Matrix mapping = new Matrix((double[][]) this.node2mapping.get(v)); final int n = mapping.numberOfRows(); if (n > 1) { final int d = this.dimGraph; final Matrix q = new Matrix(1, d + 1); q.set... | 9751 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9751/95fa8ddf6fee903abe15705b5bcbe35538d1194b/AmoebaEmbedder.java/buggy/src/org/gavrog/joss/pgraphs/embed/AmoebaEmbedder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
19776,
12,
6385,
21176,
331,
16,
727,
4686,
293,
13,
288,
3639,
727,
7298,
2874,
273,
394,
7298,
12443,
9056,
63,
6362,
5717,
333,
18,
2159,
22,
6770,
18,
588,
12,
90,
10019,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19776,
12,
6385,
21176,
331,
16,
727,
4686,
293,
13,
288,
3639,
727,
7298,
2874,
273,
394,
7298,
12443,
9056,
63,
6362,
5717,
333,
18,
2159,
22,
6770,
18,
588,
12,
90,
10019,... |
if (results[0].compareTo(BigInteger.ZERO) <= 0 && results[1].compareTo(BigInteger.ZERO) != 0) { return bigNorm(getRuntime(), results[0].subtract(BigInteger.ONE)); } | if (results[0].compareTo(BigInteger.ZERO) <= 0 && results[1].compareTo(BigInteger.ZERO) != 0) { return bigNorm(getRuntime(), results[0].subtract(BigInteger.ONE)); } | public RubyNumeric op_div(IRubyObject num) { RubyNumeric other = numericValue(num); if (other instanceof RubyFloat) { return RubyFloat.newFloat(getRuntime(), getDoubleValue()).op_div(other); } BigInteger results[] = getValue().divideAndRemainder(bigIntValue(other)); if... | 52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/a25fc494ea7daeb4b5b479e0173372332cf7d4ac/RubyBignum.java/clean/src/org/jruby/RubyBignum.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
9902,
1061,
67,
2892,
12,
7937,
10340,
921,
818,
13,
288,
3639,
19817,
9902,
1308,
273,
6389,
620,
12,
2107,
1769,
3639,
309,
261,
3011,
1276,
19817,
4723,
13,
288,
5411,
327... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19817,
9902,
1061,
67,
2892,
12,
7937,
10340,
921,
818,
13,
288,
3639,
19817,
9902,
1308,
273,
6389,
620,
12,
2107,
1769,
3639,
309,
261,
3011,
1276,
19817,
4723,
13,
288,
5411,
327... |
enterFrame(cx, frame, args); | enterFrame(cx, frame, args, false); | private static void initFrame(Context cx, Scriptable callerScope, Scriptable thisObj, Object[] args, double[] argsDbl, int argShift, int argCount, InterpretedFunction fnOrScript, ... | 51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/58ec1a01c5cab478b5d9f7c1a948fe247cc7d281/Interpreter.java/clean/js/rhino/src/org/mozilla/javascript/Interpreter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
1208,
3219,
12,
1042,
9494,
16,
22780,
4894,
3876,
16,
21394,
22780,
15261,
16,
21394,
1033,
8526,
833,
16,
1645,
8526,
833,
40,
3083,
16,
21394,
509,
1501,
10544,
16,
509... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
1208,
3219,
12,
1042,
9494,
16,
22780,
4894,
3876,
16,
21394,
22780,
15261,
16,
21394,
1033,
8526,
833,
16,
1645,
8526,
833,
40,
3083,
16,
21394,
509,
1501,
10544,
16,
509... |
request.setAttribute("executionYears", registration.getEnrolmentsExecutionYears()); } } request.setAttribute("documentRequestCreateBean", new DocumentRequestCreator( registration)); return mapping.findForward("createDocumentRequests"); | if (registration.getStudentCurricularPlansCount() > 1) { request.setAttribute("studentCurricularPlans", registration .getStudentCurricularPlans()); } request.setAttribute("executionYears", registration.getEnrolmentsExecutionYears()); } } return mapping.findForward("createDocumentRequests"); | public ActionForward prepare(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) { registration = SessionUtils.getUserView(request).getPerson().getStudentByUsername(); final DocumentRequestCreateBean documentRequestCreateBean = new Documen... | 2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/db8406c5599f15055435fa0820aa6ca80db5e56d/DocumentRequestDispatchAction.java/clean/src/net/sourceforge/fenixedu/presentationTier/Action/student/administrativeOfficeServices/DocumentRequestDispatchAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4382,
8514,
2911,
12,
1803,
3233,
2874,
16,
4382,
1204,
1301,
1204,
16,
5411,
9984,
590,
16,
12446,
766,
13,
288,
3639,
7914,
273,
3877,
1989,
18,
588,
1299,
1767,
12,
2293,
2934,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4382,
8514,
2911,
12,
1803,
3233,
2874,
16,
4382,
1204,
1301,
1204,
16,
5411,
9984,
590,
16,
12446,
766,
13,
288,
3639,
7914,
273,
3877,
1989,
18,
588,
1299,
1767,
12,
2293,
2934,
... |
InvocationMatcher expectation = new MockInvocationMatcher(); mockCoreMock.addInvokableCalls.setExpected(1); assertNotNull("Should be invokedMethod expectation", mock.expects(expectation)); mockCoreMock.verifyExpectations(); } | InvocationMatcher expectation = new MockInvocationMatcher(); mockCoreMock.addInvokableCalls.setExpected(1); assertNotNull("Should be invokedMethod expectation", mock.expects(expectation)); mockCoreMock.verifyExpectations(); } | public void testExpectAddsInvocationMockerAndAddsExpectationAndReturnsBuilder() { InvocationMatcher expectation = new MockInvocationMatcher(); mockCoreMock.addInvokableCalls.setExpected(1); assertNotNull("Should be invokedMethod expectation", mock.expects(expectation)); ... | 57371 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57371/4aaf60d8fa76687c3492c508dd98678fbbd3d935/MockTest.java/clean/jmock/core/src/test/jmock/MockTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
11988,
3655,
9267,
49,
6203,
1876,
3655,
11988,
367,
1876,
1356,
1263,
1435,
288,
3639,
11298,
6286,
17733,
273,
394,
7867,
9267,
6286,
5621,
1171,
5416,
4670,
9865,
18,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
11988,
3655,
9267,
49,
6203,
1876,
3655,
11988,
367,
1876,
1356,
1263,
1435,
288,
3639,
11298,
6286,
17733,
273,
394,
7867,
9267,
6286,
5621,
1171,
5416,
4670,
9865,
18,
12... |
item.addDC("type", null, "en", types[i]); | for (int i = 0; i < types.length; i++) { item.addDC("type", null, "en", types[i]); } | private void processEditMetadataOne(Context context, HttpServletRequest request, HttpServletResponse response, SubmissionInfo subInfo) throws ServletException, IOException, SQLException, AuthorizeException { String buttonPressed = UIUtil.getSubmitButton(request, "submit_next");... | 47292 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47292/e282fcda9b6f14ece31a9f9f6cca000a04572c16/SubmitServlet.java/buggy/dspace/src/org/dspace/app/webui/servlet/SubmitServlet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1207,
4666,
2277,
3335,
12,
1042,
819,
16,
3639,
9984,
590,
16,
3639,
12446,
766,
16,
3639,
2592,
3951,
966,
720,
966,
13,
3639,
1216,
16517,
16,
1860,
16,
6483,
16,
23859,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1207,
4666,
2277,
3335,
12,
1042,
819,
16,
3639,
9984,
590,
16,
3639,
12446,
766,
16,
3639,
2592,
3951,
966,
720,
966,
13,
3639,
1216,
16517,
16,
1860,
16,
6483,
16,
23859,
5... |
protected boolean quickCheckVisibility( int iLabelLocation, Point previousPoint, double x, double y ) { // quick check first (fast) if ( iLabelLocation == ABOVE || iLabelLocation == BELOW ) { if ( previousPoint.getX() > x ) { return false; } } else if ( iLabelLocation == LEFT || iLabelLocation ==... | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/e5190634b7d993e200827f366f533ffbc5d0b341/AutoScale.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/withaxes/AutoScale.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
6494,
19525,
1564,
10135,
12,
474,
77,
2224,
2735,
16,
2148,
11515,
2148,
16,
9506,
202,
9056,
92,
16,
9056,
93,
13,
202,
95,
9506,
202,
759,
19525,
1893,
3645,
12,
8076,
13,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
6494,
19525,
1564,
10135,
12,
474,
77,
2224,
2735,
16,
2148,
11515,
2148,
16,
9506,
202,
9056,
92,
16,
9056,
93,
13,
202,
95,
9506,
202,
759,
19525,
1893,
3645,
12,
8076,
13,... | ||
if (method == null) { | if (method.isUndefined()) { | public void undef(String name) { Ruby ruby = getRuntime(); if (this == ruby.getClasses().getObjectClass()) { ruby.secure(4); } if (ruby.getSafeLevel() >= 4 && !isTaint()) { throw new SecurityException("Insecure: can't undef"); } testFrozen(); if... | 47134 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47134/f05423516c2d1bfe54c4363eedb9654f7cfb6898/RubyModule.java/clean/org/jruby/RubyModule.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
640,
536,
12,
780,
508,
13,
288,
3639,
19817,
22155,
273,
18814,
5621,
3639,
309,
261,
2211,
422,
22155,
18,
588,
4818,
7675,
588,
921,
797,
10756,
288,
5411,
22155,
18,
8869,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
640,
536,
12,
780,
508,
13,
288,
3639,
19817,
22155,
273,
18814,
5621,
3639,
309,
261,
2211,
422,
22155,
18,
588,
4818,
7675,
588,
921,
797,
10756,
288,
5411,
22155,
18,
8869,
... |
if (rec.page instanceof IPageBookViewPage) { site = ((IPageBookViewPage)rec.page).getSite(); | Integer count; if (!doesPageExist(rec.page)) { if (rec.page instanceof IPageBookViewPage) { site = ((IPageBookViewPage)rec.page).getSite(); } if (site == null) { site = new PageSite(getViewSite()); } mapPageToSite.put(rec.page, site); rec.subActionBars = (SubActionBars)site.getActionBars(); rec.subActionBars.addProp... | private void preparePage(PageRec rec) { IPageSite site = null; if (rec.page instanceof IPageBookViewPage) { site = ((IPageBookViewPage)rec.page).getSite(); } if (site == null) { // We will create a site for our use site = new PageSite(getViewSite()); } mapPageToSite.put(rec.page, site); rec.subActionBars = (SubActio... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/d250528d501891131ef34ee8c602a80ece58a94c/PageBookView.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/part/PageBookView.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
918,
2911,
1964,
12,
1964,
5650,
1950,
13,
288,
202,
45,
1964,
4956,
2834,
273,
446,
31,
202,
430,
261,
3927,
18,
2433,
1276,
467,
1964,
9084,
1767,
1964,
13,
288,
202,
202,
4256,
273,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
918,
2911,
1964,
12,
1964,
5650,
1950,
13,
288,
202,
45,
1964,
4956,
2834,
273,
446,
31,
202,
430,
261,
3927,
18,
2433,
1276,
467,
1964,
9084,
1767,
1964,
13,
288,
202,
202,
4256,
273,... |
setBoolean(((Boolean) value).booleanValue()); | setBoolean(((Boolean) value).booleanValue()); | void setObject(Object value) throws SQLException { /* throw (SQLException)createException( OBJECT_CONVERSION_ERROR).fillInStackTrace(); */ if (value == null) { setNull(true); return; } if (value instanceof InputStream) { setBinaryStream... | 6960 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6960/0e421973c2ccc32dad59dc9dfb8faebabd131d31/FBField.java/buggy/src/org/firebirdsql/jdbc/FBField.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
20530,
12,
921,
460,
13,
1216,
6483,
288,
3639,
1748,
3639,
604,
261,
23116,
13,
2640,
503,
12,
5411,
12166,
67,
2248,
5757,
67,
3589,
2934,
5935,
382,
6332,
5621,
3639,
1195,
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,
918,
20530,
12,
921,
460,
13,
1216,
6483,
288,
3639,
1748,
3639,
604,
261,
23116,
13,
2640,
503,
12,
5411,
12166,
67,
2248,
5757,
67,
3589,
2934,
5935,
382,
6332,
5621,
3639,
1195,
3639,
... |
public String getHomeRoot() { if (homeRoot == null) { homeRoot = getProject().getProperty(HOME_ROOT); | public File getHomeRoot() { String aPath; if (this.homeRoot == null) { aPath = this.getProject().getProperty(HOME_ROOT); | public String getHomeRoot() { if (homeRoot == null) { homeRoot = getProject().getProperty(HOME_ROOT); if (homeRoot == null) { homeRoot = System.getProperty("user.home"); } } return homeRoot; } | 47899 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47899/79613a38b91e73bc59241796b4a32e50c9026cda/WOPropertiesHandler.java/buggy/src/java/org/objectstyle/woproject/ant/WOPropertiesHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
7628,
1742,
2375,
1435,
288,
202,
202,
430,
261,
8712,
2375,
422,
446,
13,
288,
1082,
202,
8712,
2375,
273,
11080,
7675,
588,
1396,
12,
14209,
67,
9185,
1769,
1082,
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,
514,
7628,
1742,
2375,
1435,
288,
202,
202,
430,
261,
8712,
2375,
422,
446,
13,
288,
1082,
202,
8712,
2375,
273,
11080,
7675,
588,
1396,
12,
14209,
67,
9185,
1769,
1082,
202,
... |
protected void addMatchingMarkers() { | protected boolean addMatchingMarkers() { | protected void addMatchingMarkers() { Object[] all = markerView.getCurrentMarkers().getArray(); progressPart.beginTask( MarkerMessages.MarkerResolutionDialog_CalculatingTask, all.length); WorkbenchMarkerResolution[] existing = new WorkbenchMarkerResolution[resolutions.length]; System.arraycopy(resolutions, 0... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/979925a59e19734c0d2a268a93d76877ef54d587/MarkerResolutionDialog.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerResolutionDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
527,
9517,
21644,
1435,
288,
202,
202,
921,
8526,
777,
273,
5373,
1767,
18,
588,
3935,
21644,
7675,
588,
1076,
5621,
202,
202,
8298,
1988,
18,
10086,
2174,
12,
9506,
202,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
527,
9517,
21644,
1435,
288,
202,
202,
921,
8526,
777,
273,
5373,
1767,
18,
588,
3935,
21644,
7675,
588,
1076,
5621,
202,
202,
8298,
1988,
18,
10086,
2174,
12,
9506,
202,
... |
super(N); | super(N); | public SplitJoin2(int N) { super(N); } | 5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/b1f8aeb3a397f4241e4a905e8e42f0988432ee10/FFTLocal.java/clean/streams/apps/benchmarks/fft/streamit/FFTLocal.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
5385,
4572,
22,
12,
474,
423,
13,
288,
202,
9565,
12,
50,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
5385,
4572,
22,
12,
474,
423,
13,
288,
202,
9565,
12,
50,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
lc.setRefIPD(referenceIPD - getIPIndents()); | lc.setRefIPD(contentIPD); | public void addAreas(PositionIterator parentIter, LayoutContext layoutContext) { getParentArea(null); getPSLM().addIDToPage(fobj.getId()); // if adjusted space before double adjust = layoutContext.getSpaceAdjust(); addBlockSpacing(adjust, spaceBefore); ... | 5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/e5e875900e4af10fb0bf6116c552373c4b580edd/TableLayoutManager.java/clean/src/java/org/apache/fop/layoutmgr/table/TableLayoutManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
527,
28377,
12,
2555,
3198,
982,
2360,
16,
7682,
9995,
1042,
3511,
1042,
13,
288,
3639,
5089,
5484,
12,
2011,
1769,
3639,
1689,
4559,
49,
7675,
1289,
734,
774,
1964,
12,
27936,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
527,
28377,
12,
2555,
3198,
982,
2360,
16,
7682,
9995,
1042,
3511,
1042,
13,
288,
3639,
5089,
5484,
12,
2011,
1769,
3639,
1689,
4559,
49,
7675,
1289,
734,
774,
1964,
12,
27936,... |
} | } | public Properties getParameters( HttpServletRequest req) throws ServletException, IOException { Properties params = new Properties() ; // Lets get the parameters we know we are supposed to get from the request object String del_meta_id = (req.getParameter("delete_meta_id")==null) ? "" : (req.getParameter("delete_meta... | 8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/cbaf8fbf9eeaf7b9db5163cf0496eea1be5ce141/AdminDeleteDoc.java/buggy/servlets/AdminDeleteDoc.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
6183,
10028,
12,
9984,
1111,
13,
1216,
16517,
16,
1860,
288,
1082,
202,
2297,
859,
273,
394,
6183,
1435,
274,
202,
759,
511,
2413,
336,
326,
1472,
732,
5055,
732,
854,
18405,
358,
336,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6183,
10028,
12,
9984,
1111,
13,
1216,
16517,
16,
1860,
288,
1082,
202,
2297,
859,
273,
394,
6183,
1435,
274,
202,
759,
511,
2413,
336,
326,
1472,
732,
5055,
732,
854,
18405,
358,
336,
... |
stmt.setInt(1, folder.getId()); | int pos = 1; if (DebugConfig.enableMailboxGroup) stmt.setInt(pos++, mbox.getId()); stmt.setInt(pos++, folder.getId()); | public static List<UnderlyingData> getByFolder(Folder folder, byte type, byte sort) throws ServiceException { if (Mailbox.isCachedType(type)) throw ServiceException.INVALID_REQUEST("folders and tags must be retrieved from cache", null); Mailbox mbox = folder.getMailbox(); Connection ... | 6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/f1be72d52deaf8675b97f101b1ec8231e1b9a5d7/DbMailItem.java/buggy/ZimbraServer/src/java/com/zimbra/cs/db/DbMailItem.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
987,
32,
14655,
6291,
751,
34,
9979,
3899,
12,
3899,
3009,
16,
1160,
618,
16,
1160,
1524,
13,
1216,
16489,
288,
3639,
309,
261,
30239,
18,
291,
9839,
559,
12,
723,
3719,
5411... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
987,
32,
14655,
6291,
751,
34,
9979,
3899,
12,
3899,
3009,
16,
1160,
618,
16,
1160,
1524,
13,
1216,
16489,
288,
3639,
309,
261,
30239,
18,
291,
9839,
559,
12,
723,
3719,
5411... |
public void testImportStatement_MultipleDots() throws Exception { Parser parser = newParser( "import cheddar.cheese.Toast" ); | public void testImportStatement_MultipleDots() throws Exception { Parser parser = newParser("import cheddar.cheese.Toast"); | public void testImportStatement_MultipleDots() throws Exception { Parser parser = newParser( "import cheddar.cheese.Toast" ); CSTNode root = parser.importStatement(); assertNode( root, "import", Token.KEYWORD_IMPORT, 2 ); ... | 6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/3d37acd34fcf44c4a51bd104ef70043af62c7d99/ParserTest.java/clean/src/test/org/codehaus/groovy/syntax/parser/ParserTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
5010,
3406,
67,
8438,
40,
6968,
1435,
3639,
1216,
1185,
565,
288,
3639,
6783,
2082,
273,
394,
2678,
12,
315,
5666,
462,
329,
72,
297,
18,
18706,
3392,
18,
774,
689,
6,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
5010,
3406,
67,
8438,
40,
6968,
1435,
3639,
1216,
1185,
565,
288,
3639,
6783,
2082,
273,
394,
2678,
12,
315,
5666,
462,
329,
72,
297,
18,
18706,
3392,
18,
774,
689,
6,
... |
if (!appInfoSchemaLocation.equals("")) | if (!appInfoSchemaLocation.equals("")) | public void modifyText(ModifyEvent e) { categoryName = nameText.getText(); // name is in the invalid List if (invalidNames != null) { if (invalidNames.contains(categoryName.trim())) { isCategoryNameValid = false; getButton(IDialogConstants.O... | 13989 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13989/62c89ad1fbc07ee51dde873a5a1d9b4784eaf3f9/AddNewCategoryDialog.java/buggy/bundles/org.eclipse.wst.xsd.ui/src-common/org/eclipse/wst/xsd/ui/internal/common/properties/sections/appinfo/AddNewCategoryDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
918,
5612,
1528,
12,
11047,
1133,
425,
13,
1377,
288,
3639,
3150,
461,
273,
508,
1528,
18,
588,
1528,
5621,
3639,
368,
508,
353,
316,
326,
2057,
987,
3639,
309,
261,
5387,
1557,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
918,
5612,
1528,
12,
11047,
1133,
425,
13,
1377,
288,
3639,
3150,
461,
273,
508,
1528,
18,
588,
1528,
5621,
3639,
368,
508,
353,
316,
326,
2057,
987,
3639,
309,
261,
5387,
1557,
... |
if (newPart == null) { WorkbenchPage page = (WorkbenchPage) ref.getPage(); newPart = new ViewPane((IViewReference) ref, page); ref.setPane(newPart); } | public static final ViewPane createView(ViewFactory factory, String viewId) throws PartInitException { WorkbenchPartReference ref = (WorkbenchPartReference) factory .createView(viewId); ViewPane newPart = (ViewPane) ref.getPane(); if (newPart == null) { Work... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/e63fb57c60e1285097cb8d21d56f8acdff80e7de/LayoutHelper.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/LayoutHelper.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
727,
4441,
8485,
15193,
12,
1767,
1733,
3272,
16,
514,
1476,
548,
13,
5411,
1216,
6393,
2570,
503,
288,
3639,
4147,
22144,
1988,
2404,
1278,
273,
261,
2421,
22144,
1988,
2404,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
727,
4441,
8485,
15193,
12,
1767,
1733,
3272,
16,
514,
1476,
548,
13,
5411,
1216,
6393,
2570,
503,
288,
3639,
4147,
22144,
1988,
2404,
1278,
273,
261,
2421,
22144,
1988,
2404,
... | |
if (mainProcessorDefinition == null) { mainProcessorDefinition = new ProcessorDefinition(); mainProcessorDefinition.setUri(DEFAULT_PROCESSOR_URI); mainProcessorDefinition.addInput(DEFAULT_PROCESSOR_INPUT_NAME, DEFAULT_PROCESSOR_INPUT_URL); } | public synchronized void init(ProcessorDefinition mainProcessorDefinition) { if (initialized) { logger.debug("ProcessorService is already initialized. Skipping new initialization."); return; } try { // Create initial context jndiContext = new InitialC... | 10097 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10097/e6be08b8bdb9b840876e25b54dcaab3ad2234c7c/ProcessorService.java/buggy/src/java/org/orbeon/oxf/webapp/ProcessorService.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
918,
1208,
12,
5164,
1852,
2774,
5164,
1852,
13,
288,
3639,
309,
261,
13227,
13,
288,
5411,
1194,
18,
4148,
2932,
5164,
1179,
353,
1818,
6454,
18,
27455,
394,
10313,
1199,
176... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
918,
1208,
12,
5164,
1852,
2774,
5164,
1852,
13,
288,
3639,
309,
261,
13227,
13,
288,
5411,
1194,
18,
4148,
2932,
5164,
1179,
353,
1818,
6454,
18,
27455,
394,
10313,
1199,
176... | |
LOG.info("query: " + expr.pprint()); | protected ResourceSet doQuery(String query, DocumentSet docs, NodeSet contextSet, String sortExpr) throws XMLDBException { LOG.debug("query: " + query); DBBroker broker = null; try { broker = brokerPool.get(user); StaticContext context = new StaticContext(broker); context.setBaseURI... | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/be23536931f66ed6f552941df1c272ed48eeb933/LocalXPathQueryService.java/clean/src/org/exist/xmldb/LocalXPathQueryService.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
2591,
694,
741,
1138,
12,
780,
843,
16,
4319,
694,
3270,
16,
3196,
202,
907,
694,
819,
694,
16,
514,
1524,
4742,
13,
202,
202,
15069,
26014,
503,
288,
3639,
2018,
18,
4148,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2591,
694,
741,
1138,
12,
780,
843,
16,
4319,
694,
3270,
16,
3196,
202,
907,
694,
819,
694,
16,
514,
1524,
4742,
13,
202,
202,
15069,
26014,
503,
288,
3639,
2018,
18,
4148,
... | |
int flags = Pattern.MULTILINE; | int flags = Pattern.MULTILINE; | int translateFlags(int options) { int flags = Pattern.MULTILINE; if ((options & ReOptions.RE_OPTION_IGNORECASE) > 0) { flags |= Pattern.CASE_INSENSITIVE; } if ((options & ReOptions.RE_OPTION_EXTENDED) > 0) { flags |= Pattern.COMMENTS; } if ((options & ReOpti... | 46258 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46258/2c27b59d0859c8f4097e71f0b43756b07d481510/RegexpTranslator.java/clean/src/org/jruby/RegexpTranslator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
474,
4204,
5094,
12,
474,
702,
13,
288,
3639,
509,
2943,
273,
6830,
18,
12845,
30690,
31,
3639,
309,
14015,
2116,
473,
868,
1320,
18,
862,
67,
7425,
67,
20118,
13415,
13,
405,
374,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
474,
4204,
5094,
12,
474,
702,
13,
288,
3639,
509,
2943,
273,
6830,
18,
12845,
30690,
31,
3639,
309,
14015,
2116,
473,
868,
1320,
18,
862,
67,
7425,
67,
20118,
13415,
13,
405,
374,... |
plugin = ks.substring(0, to); data = ks.substring(to + 1); | plugin = path.substring(0, to); data = path.substring(to + 1); | public void handleGet(URI uri, ToadletContext ctx) throws ToadletContextClosedException, IOException { //String basepath = "/plugins/"; String ks = uri.getPath(); if(ks.startsWith("/")) ks = ks.substring(1); ks = ks.substring("plugins/".length()); Logger.minor(this, "Pproxy fetching "+ks); try { if (ks.e... | 50653 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50653/b1b9fcf2f7a24a776052951252d7f304b96e9495/PproxyToadlet.java/clean/src/freenet/pluginmanager/PproxyToadlet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1640,
967,
12,
3098,
2003,
16,
2974,
361,
1810,
1042,
1103,
13,
1082,
202,
15069,
2974,
361,
1810,
1042,
7395,
503,
16,
1860,
288,
202,
202,
759,
780,
23853,
273,
2206,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1640,
967,
12,
3098,
2003,
16,
2974,
361,
1810,
1042,
1103,
13,
1082,
202,
15069,
2974,
361,
1810,
1042,
7395,
503,
16,
1860,
288,
202,
202,
759,
780,
23853,
273,
2206,
8... |
} | } | private ISubCategoryProvider getProvider(final IConfigurationElement element) { final ISubCategoryProvider[] providers = new ISubCategoryProvider[1]; final CoreException[] exceptions = new CoreException[1]; Platform.run(new ISafeRunnable() { public void run() { try { providers[0] = (ISubCategoryProvide... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/229c44b72ac5a176a7c4d6328bcc38d5cf41c6c3/MarkerSupportRegistry.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerSupportRegistry.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
467,
1676,
4457,
2249,
16137,
12,
6385,
467,
1750,
1046,
930,
13,
288,
9506,
202,
6385,
467,
1676,
4457,
2249,
8526,
9165,
273,
394,
467,
1676,
4457,
2249,
63,
21,
15533,
202,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
467,
1676,
4457,
2249,
16137,
12,
6385,
467,
1750,
1046,
930,
13,
288,
9506,
202,
6385,
467,
1676,
4457,
2249,
8526,
9165,
273,
394,
467,
1676,
4457,
2249,
63,
21,
15533,
202,
... |
nilClass.defineMethod("type", getMethodType()); nilClass.defineMethod("to_i", getMethodToI()); nilClass.defineMethod("to_s", getMethodToS()); nilClass.defineMethod("to_a", getMethodToA()); nilClass.defineMethod("inspect", getMethodInspect()); | nilClass.defineMethod("type", getMethod("m_type")); nilClass.defineMethod("to_i", getMethod("m_to_")); nilClass.defineMethod("to_s", getMethod("m_to_s")); nilClass.defineMethod("to_a", getMethod("m_to_a")); nilClass.defineMethod("inspect", getMethod("m_inspect")); | public static RubyClass createNilClass(Ruby ruby) { RubyClass nilClass = ruby.defineClass("NilClass", ruby.getObjectClass()); nilClass.defineMethod("type", getMethodType()); nilClass.defineMethod("to_i", getMethodToI()); nilClass.defineMethod("to_s", getMethodToS()); nilCl... | 49476 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49476/60d09f0d06e157ff7d9bb828d89273706e4e2798/RbNilClass.java/clean/org/jruby/core/RbNilClass.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
19817,
797,
752,
12616,
797,
12,
54,
10340,
22155,
13,
288,
3639,
19817,
797,
515,
797,
273,
22155,
18,
11255,
797,
2932,
12616,
797,
3113,
22155,
18,
588,
921,
797,
10663,
773... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19817,
797,
752,
12616,
797,
12,
54,
10340,
22155,
13,
288,
3639,
19817,
797,
515,
797,
273,
22155,
18,
11255,
797,
2932,
12616,
797,
3113,
22155,
18,
588,
921,
797,
10663,
773... |
super(position); | super(position, NodeTypes.CLASSVARNODE); | public ClassVarNode(ISourcePosition position, String name) { super(position); this.name = name.intern(); } | 46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/6e15491217631472c05c6928672f9c7064a978b3/ClassVarNode.java/buggy/src/org/jruby/ast/ClassVarNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1659,
1537,
907,
12,
45,
1830,
2555,
1754,
16,
514,
508,
13,
288,
3639,
2240,
12,
3276,
16,
2029,
2016,
18,
5237,
58,
4391,
2712,
1769,
3639,
333,
18,
529,
273,
508,
18,
267,
79... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1659,
1537,
907,
12,
45,
1830,
2555,
1754,
16,
514,
508,
13,
288,
3639,
2240,
12,
3276,
16,
2029,
2016,
18,
5237,
58,
4391,
2712,
1769,
3639,
333,
18,
529,
273,
508,
18,
267,
79... |
if (column.equals(queryID)) | if (column.equals(queryID) && queryIDindex < 0) | protected void processResultSet(Connection conn, ResultSet rs) throws IOException, SQLException { ResultSetMetaData rmeta = rs.getMetaData(); // process columnNames for required attribute indices for (int i = 1, nColumns = rmeta.getColumnCount(); i <= nColumns; ++i) { String ... | 2000 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2000/6671cbbcb14579637249dca27eb9ceb0fb9c7b7d/UpStreamUTRSeqQueryRunner.java/clean/src/java/org/ensembl/mart/lib/UpStreamUTRSeqQueryRunner.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1207,
13198,
12,
1952,
1487,
16,
10842,
3597,
13,
1216,
1860,
16,
6483,
288,
3639,
10842,
6998,
436,
3901,
273,
3597,
18,
588,
6998,
5621,
7734,
368,
1207,
19975,
364,
1931,
15... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1207,
13198,
12,
1952,
1487,
16,
10842,
3597,
13,
1216,
1860,
16,
6483,
288,
3639,
10842,
6998,
436,
3901,
273,
3597,
18,
588,
6998,
5621,
7734,
368,
1207,
19975,
364,
1931,
15... |
} while (current != null); | } while (current != null); | public int getLevel() { // Variables TreeNode current; int count; // Lookup Parent count = -1; current = this; do { current = current.getParent(); count++; } while (current != null); return count; } // getLevel() | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/9e763280cf1369c9681ea91b32ae758840a76dc3/DefaultMutableTreeNode.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultMutableTreeNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
17236,
1435,
288,
202,
202,
759,
23536,
202,
202,
12513,
202,
2972,
31,
202,
202,
474,
1082,
202,
1883,
31,
202,
202,
759,
8834,
9520,
202,
202,
1883,
273,
300,
21,
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,
482,
509,
17236,
1435,
288,
202,
202,
759,
23536,
202,
202,
12513,
202,
2972,
31,
202,
202,
474,
1082,
202,
1883,
31,
202,
202,
759,
8834,
9520,
202,
202,
1883,
273,
300,
21,
31,
... |
o.write(" on this object."); | o.write(" on this object. Generated automatically, DO NOT CHANGE!"); | private final void writeInvariant(Writer o, String classname, CodeFragment cf) throws IOException { o.write("/**"); o.write(lineSeparator); o.write(" An object representing ocl invariant "); o.write(cf.getName()); o.write(" on this object."); o.write(lineSeparator); o.write(" Generated automatically, DO N... | 6381 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6381/24b73b3edb9488e3583972b20883311e5dce9ecb/OclInstrumentor.java/clean/ocl/src/tudresden/ocl/injection/ocl/OclInstrumentor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
727,
918,
1045,
382,
8688,
12,
2289,
320,
16,
514,
7479,
16,
3356,
7456,
6080,
13,
1216,
1860,
202,
95,
202,
202,
83,
18,
2626,
2932,
26873,
8863,
202,
202,
83,
18,
2626,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
727,
918,
1045,
382,
8688,
12,
2289,
320,
16,
514,
7479,
16,
3356,
7456,
6080,
13,
1216,
1860,
202,
95,
202,
202,
83,
18,
2626,
2932,
26873,
8863,
202,
202,
83,
18,
2626,
1... |
} | } | public CreateLinkedResourceGroup(int type, Listener listener, IStringValue updatableResourceName) { this.type = type; this.listener = listener; this.updatableResourceName = updatableResourceName; if (updatableResourceName != null) { lastUpdatedValue = updatableResourceName.getValue(); } } | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/e816513e58ce5e8aac27c7ab2d1aae964d5540df/CreateLinkedResourceGroup.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/CreateLinkedResourceGroup.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1788,
13174,
18860,
12,
474,
618,
16,
10652,
2991,
16,
467,
19733,
2166,
8163,
19327,
13,
288,
3639,
333,
18,
723,
273,
618,
31,
3639,
333,
18,
12757,
273,
2991,
31,
202,
202,
221... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1788,
13174,
18860,
12,
474,
618,
16,
10652,
2991,
16,
467,
19733,
2166,
8163,
19327,
13,
288,
3639,
333,
18,
723,
273,
618,
31,
3639,
333,
18,
12757,
273,
2991,
31,
202,
202,
221... |
list1Viewer = new CheckboxTableViewer(parent, SWT.NONE); | list1Viewer = new CheckboxTableViewer(parent, SWT.NONE, false); | protected void createList1Viewer(Composite parent) { list1Viewer = new CheckboxTableViewer(parent, SWT.NONE); list1Viewer.setContentProvider(list1ContentProvider); list1Viewer.setLabelProvider(list1LabelProvider); list1Viewer.addCheckStateListener(this); list1Viewer.addSelectionChangedListener(this);} | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/3b897574fcea8b9db8885a44dbe682407c3beec3/CheckboxDoubleListGroup.java/buggy/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/misc/CheckboxDoubleListGroup.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
918,
752,
682,
21,
18415,
12,
9400,
982,
13,
288,
202,
1098,
21,
18415,
273,
394,
29213,
1388,
18415,
12,
2938,
16,
348,
8588,
18,
9826,
1769,
202,
1098,
21,
18415,
18,
542,
1350,
2249... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
918,
752,
682,
21,
18415,
12,
9400,
982,
13,
288,
202,
1098,
21,
18415,
273,
394,
29213,
1388,
18415,
12,
2938,
16,
348,
8588,
18,
9826,
1769,
202,
1098,
21,
18415,
18,
542,
1350,
2249... |
if(enabled) setChecked(!((EditorSite)editor.getEditorSite()).getReuseEditor()); else | if(enabled) { EditorSite site = (EditorSite)editor.getEditorSite(); EditorPane pane = (EditorPane)site.getPane(); pane.setPinEditorAction(this); setChecked(!(site).getReuseEditor()); } else { | protected void updateState() { if(window == null) { setChecked(false); setEnabled(false); return; } IWorkbenchPage page = window.getActivePage(); if(page == null) { setChecked(false); setEnabled(false); return; } IEditorPart editor = getActiveEditor(); boolean enabled = editor != null; setEnabled(enabled); if(ena... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/e5bfe7abb1ee06bc7775813f1eb0e830e55c1965/PinEditorAction.java/buggy/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/PinEditorAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
918,
1089,
1119,
1435,
288,
202,
430,
12,
5668,
422,
446,
13,
288,
202,
202,
542,
11454,
12,
5743,
1769,
202,
202,
542,
1526,
12,
5743,
1769,
202,
202,
2463,
31,
202,
97,
202,
45,
24... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
918,
1089,
1119,
1435,
288,
202,
430,
12,
5668,
422,
446,
13,
288,
202,
202,
542,
11454,
12,
5743,
1769,
202,
202,
542,
1526,
12,
5743,
1769,
202,
202,
2463,
31,
202,
97,
202,
45,
24... |
gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 3); | private void initComponents() {//GEN-BEGIN:initComponents java.awt.GridBagConstraints gridBagConstraints; jSplitPane1 = new javax.swing.JSplitPane(); jScrollPane1 = new javax.swing.JScrollPane(); navigatorTree = new javax.swing.JTree(); viewPanel = new javax.swing.JPanel(); ... | 7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/28ec3108776e388dcbf07f165a306955b3c18b87/FindBugsFrame.java/clean/findbugs/src/java/edu/umd/cs/findbugs/gui/FindBugsFrame.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1208,
7171,
1435,
288,
759,
16652,
17,
16061,
30,
2738,
7171,
3639,
2252,
18,
2219,
88,
18,
6313,
6852,
8747,
31,
3639,
525,
5521,
8485,
21,
273,
394,
6863,
18,
5328,
310,
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,
1208,
7171,
1435,
288,
759,
16652,
17,
16061,
30,
2738,
7171,
3639,
2252,
18,
2219,
88,
18,
6313,
6852,
8747,
31,
3639,
525,
5521,
8485,
21,
273,
394,
6863,
18,
5328,
310,
18... | |
MylarPlugin.getDefault().addWindowPartListener(browserTracker); | MylarMonitorPlugin.getDefault().addWindowPartListener(browserTracker); | public void run() { try { browserTracker = new BrowserTracker(); MylarPlugin.getDefault().addWindowPartListener(browserTracker); // workbench.addWindowListener(browserTracker);// IWorkbenchWindow[] windows = workbench.getWorkbenchWindows();// for (int i = 0; i < windows.length; i++) {... | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/2e7eae84382d4bd28180a6f6e15a4f55e7a1db3d/MylarWebPlugin.java/clean/sandbox/org.eclipse.mylyn.web.ui/src/org/eclipse/mylyn/internal/web/MylarWebPlugin.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
1086,
1435,
288,
9506,
202,
698,
288,
6862,
202,
11213,
8135,
273,
394,
15408,
8135,
5621,
6862,
202,
12062,
7901,
3773,
18,
588,
1868,
7675,
1289,
3829,
1988,
2223,
12,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
1086,
1435,
288,
9506,
202,
698,
288,
6862,
202,
11213,
8135,
273,
394,
15408,
8135,
5621,
6862,
202,
12062,
7901,
3773,
18,
588,
1868,
7675,
1289,
3829,
1988,
2223,
12,
1... |
handler = new IOHandlerSeekable(getRuntime(), path, modes); | handler = new IOHandlerSeekable(getRuntime(), newPath, newModes); | public void openInternal(String path, IOModes modes) { this.path = path; this.modes = modes; try { handler = new IOHandlerSeekable(getRuntime(), path, modes); registerIOHandler(handler); } catch (IOException e) { throw IOError.fromException(ge... | 45827 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45827/ca6b16e996ea9af83ce593594b9c69b9364a9924/RubyFile.java/clean/src/org/jruby/RubyFile.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1696,
3061,
12,
780,
589,
16,
1665,
18868,
12382,
13,
288,
3639,
333,
18,
803,
273,
589,
31,
3639,
333,
18,
19282,
273,
12382,
31,
3639,
775,
288,
5411,
1838,
273,
394,
1665,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1696,
3061,
12,
780,
589,
16,
1665,
18868,
12382,
13,
288,
3639,
333,
18,
803,
273,
589,
31,
3639,
333,
18,
19282,
273,
12382,
31,
3639,
775,
288,
5411,
1838,
273,
394,
1665,... |
case 344 : | case 339 : | protected void consumeRule(int act) { switch ( act ) { case 29 : // System.out.println("Type ::= PrimitiveType"); consumePrimitiveType(); break ; case 43 : // System.out.println("ReferenceType ::= ClassOrInterfaceType"); consumeReferenceType(); break ; case 52 : // System.out.println("Qua... | 10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/ca8ac59322f9a5546de88cf1c276f2947f3dabe2/Parser.java/buggy/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
918,
7865,
2175,
12,
474,
1328,
13,
288,
225,
1620,
261,
1328,
262,
288,
565,
648,
12899,
294,
368,
2332,
18,
659,
18,
8222,
2932,
559,
493,
33,
14488,
559,
8863,
1082,
565,
7865,
9840... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
918,
7865,
2175,
12,
474,
1328,
13,
288,
225,
1620,
261,
1328,
262,
288,
565,
648,
12899,
294,
368,
2332,
18,
659,
18,
8222,
2932,
559,
493,
33,
14488,
559,
8863,
1082,
565,
7865,
9840... |
testFile = FileUtil.createFile("testDir/tempFile.txt", "test content"); | testFile = FileUtil.createFile("testdir/tempFile.txt", "test content"); | public void setUp() throws Exception { context = new FitNesseContext(); context.rootPagePath = "testdir"; FileUtil.makeDir("testdir"); FileUtil.makeDir("testdir/files"); testFile = FileUtil.createFile("testDir/tempFile.txt", "test content"); responder = new UploadResponder(); request = new MockRequest(); } | 6058 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6058/ec2576158a28bfaeeb5879001e3d4802a1e122b1/UploadResponderTest.java/clean/src/fitnesse/responders/files/UploadResponderTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
24292,
1435,
1216,
1185,
202,
95,
565,
819,
273,
394,
30504,
50,
281,
307,
1042,
5621,
565,
819,
18,
3085,
1964,
743,
273,
315,
3813,
1214,
14432,
202,
202,
812,
1304,
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,
482,
918,
24292,
1435,
1216,
1185,
202,
95,
565,
819,
273,
394,
30504,
50,
281,
307,
1042,
5621,
565,
819,
18,
3085,
1964,
743,
273,
315,
3813,
1214,
14432,
202,
202,
812,
1304,
18... |
if ((derived.getXSType() & XSTypeDecl.SIMPLE_TYPE) != 0) { | if (derived.getXSType() == XSTypeDecl.SIMPLE_TYPE) { | public static boolean checkTypeDerivationOk(XSTypeDecl derived, XSTypeDecl base, int block) { // if derived is anyType, then it's valid only if base is anyType too if (derived.getXSType() == XSTypeDecl.ANY_TYPE) return derived == base; // if derived is anySimpleType, then it's valid ... | 4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/4b0def86a1a96df8c8cbd5bf50c757023d94325b/XSConstraints.java/buggy/src/org/apache/xerces/impl/v2/XSConstraints.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1250,
23008,
12041,
8482,
8809,
12,
60,
55,
559,
3456,
10379,
16,
1139,
55,
559,
3456,
1026,
16,
509,
1203,
13,
288,
3639,
368,
309,
10379,
353,
1281,
559,
16,
1508,
518,
180... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1250,
23008,
12041,
8482,
8809,
12,
60,
55,
559,
3456,
10379,
16,
1139,
55,
559,
3456,
1026,
16,
509,
1203,
13,
288,
3639,
368,
309,
10379,
353,
1281,
559,
16,
1508,
518,
180... |
if (isValue) return read_value(); | if (isObject) return read_Object(); | public Object read_abstract_interface() { boolean isValue = read_boolean(); if (isValue) return read_value(); else return read_Object(); } | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/44e3ea509d80974dab547c4d1cf8c070d32bac86/InputStream.java/clean/core/src/classpath/org/org/omg/CORBA_2_3/portable/InputStream.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1033,
855,
67,
17801,
67,
5831,
1435,
225,
288,
565,
1250,
21578,
273,
855,
67,
6494,
5621,
565,
309,
261,
291,
620,
13,
1377,
327,
855,
67,
1132,
5621,
565,
469,
1377,
327,
855,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
282,
1071,
1033,
855,
67,
17801,
67,
5831,
1435,
225,
288,
565,
1250,
21578,
273,
855,
67,
6494,
5621,
565,
309,
261,
291,
620,
13,
1377,
327,
855,
67,
1132,
5621,
565,
469,
1377,
327,
855,
... |
Logger.normal(this, "Removing ack request twice? Null on "+seqNo+" from "+pn.getPeer()+" ("+(int) pn.pingAverage.currentValue()+"ms ping avg)"); | Logger.normal(this, "Removing ack request twice? Null on "+seqNo+" from "+pn.getPeer()+" ("+TimeUtil.formatTime((int) pn.pingAverage.currentValue(), 2, true)+" ping avg)"); | private void removeAckRequest(int seqNo) throws UpdatableSortedLinkedListKilledException { QueuedAckRequest qr = (QueuedAckRequest)ackRequestQueue.removeByKey(new Integer(seqNo)); if(qr != null) qr.onAcked(); else Logger.normal(this, "Removing ack request twice? Null on "+seqNo+" from "+pn.getPe... | 48807 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48807/e3e1385af7111953dc0be72e3d64baca37a22231/KeyTracker.java/clean/src/freenet/node/KeyTracker.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1206,
11931,
691,
12,
474,
3833,
2279,
13,
1216,
1948,
3404,
429,
11739,
13174,
682,
47,
13148,
503,
288,
3639,
27949,
5957,
11931,
691,
12677,
273,
261,
21039,
11931,
691,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1206,
11931,
691,
12,
474,
3833,
2279,
13,
1216,
1948,
3404,
429,
11739,
13174,
682,
47,
13148,
503,
288,
3639,
27949,
5957,
11931,
691,
12677,
273,
261,
21039,
11931,
691,
13,
... |
requiredDeclarations ); | null ); | public PredicateConstraint(final Declaration declaration, final Declaration[] requiredDeclarations) { this( null, declaration, requiredDeclarations ); } | 6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/0f829ce8bb17b0e62e967cc0206874476d49c3e2/PredicateConstraint.java/buggy/drools-core/src/main/java/org/drools/rule/PredicateConstraint.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
10202,
5806,
12,
6385,
16110,
4302,
8266,
16,
1171,
9079,
727,
16110,
4302,
8526,
1931,
21408,
13,
288,
3639,
333,
12,
446,
16,
2868,
8266,
16,
2868,
446,
11272,
565,
289,
2,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
10202,
5806,
12,
6385,
16110,
4302,
8266,
16,
1171,
9079,
727,
16110,
4302,
8526,
1931,
21408,
13,
288,
3639,
333,
12,
446,
16,
2868,
8266,
16,
2868,
446,
11272,
565,
289,
2,
-100,
... |
else { for (int i = startIndex; i >= 0; i--) { String item = model.getElementAt(i).toString(); if (item.startsWith(prefix)) { index = i; break; } } } return index; | return result; | public int getNextMatch(String prefix, int startIndex, Position.Bias bias) { if (prefix == null) throw new IllegalArgumentException("The argument 'prefix' must not be" + " null."); if (startIndex < 0) throw new IllegalArgumentException("The argument 'startIndex... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/JList.java/clean/core/src/classpath/javax/javax/swing/JList.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
6927,
2060,
12,
780,
1633,
16,
509,
10588,
16,
11010,
18,
31645,
12005,
13,
225,
288,
565,
309,
261,
3239,
422,
446,
13,
1377,
604,
394,
2754,
2932,
1986,
1237,
296,
3239,
11... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6927,
2060,
12,
780,
1633,
16,
509,
10588,
16,
11010,
18,
31645,
12005,
13,
225,
288,
565,
309,
261,
3239,
422,
446,
13,
1377,
604,
394,
2754,
2932,
1986,
1237,
296,
3239,
11... |
public void execute(HttpServletRequest request, Messages errores, Messages mensajes) { try { if (errores.isEmpty()) { // solo se ejecuta la accin si no hay errores acumulados // La siguiente condicin es para evitar que se ejecuta una accin de otro // mdulo visualizado en la misma pgina web (p. ej. ... | 14127 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14127/7a3c9c76f093f8a531056cd194de193996defdc3/ModuleManager.java/buggy/OpenXava/src/org/openxava/controller/ModuleManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1836,
12,
2940,
18572,
590,
16,
4838,
6445,
303,
455,
16,
4838,
312,
773,
4365,
281,
13,
288,
9506,
202,
698,
288,
6862,
6862,
9506,
202,
430,
261,
264,
303,
455,
18,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1836,
12,
2940,
18572,
590,
16,
4838,
6445,
303,
455,
16,
4838,
312,
773,
4365,
281,
13,
288,
9506,
202,
698,
288,
6862,
6862,
9506,
202,
430,
261,
264,
303,
455,
18,
2... | ||
return source.replaceAll("\n"," "); | return source.trim( ).replaceAll( "\n", " " ); | private String formatQueryText(String source) { return source.replaceAll("\n"," "); } | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/4371353c5412f84f4917bd569e1969e10e38ffc4/Statement.java/clean/data/org.eclipse.birt.report.data.oda.jdbc/src/org/eclipse/birt/report/data/oda/jdbc/Statement.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
514,
740,
1138,
1528,
12,
780,
1084,
13,
202,
95,
202,
202,
2463,
1084,
18,
2079,
1595,
31458,
82,
15937,
315,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
514,
740,
1138,
1528,
12,
780,
1084,
13,
202,
95,
202,
202,
2463,
1084,
18,
2079,
1595,
31458,
82,
15937,
315,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
for (int i = maxHitss.length() - 1; i >= 0; i--) { | for (int i = days.length() - 1; i >= 0; i--) { | public void modifyText(ModifyEvent e) { String maxHitss = maxHitsText.getText(); if (maxHitss.length() == 0) return; for (int i = maxHitss.length() - 1; i >= 0; i--) { try { if (maxHitss.equals("") || Integer.parseInt(maxHitss) > -1) { if (i == maxHitss.length() - 1) { maxHits = ma... | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/f1213ea5e2cf811886d1cddc204b0d844e76584d/BugzillaSearchPage.java/buggy/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/search/BugzillaSearchPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
5612,
1528,
12,
11047,
1133,
425,
13,
288,
9506,
202,
780,
943,
13616,
1049,
273,
943,
20950,
1528,
18,
588,
1528,
5621,
9506,
202,
430,
261,
1896,
13616,
1049,
18,
2469,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
5612,
1528,
12,
11047,
1133,
425,
13,
288,
9506,
202,
780,
943,
13616,
1049,
273,
943,
20950,
1528,
18,
588,
1528,
5621,
9506,
202,
430,
261,
1896,
13616,
1049,
18,
2469,
... |
if (orderedFieldsArray != null) { return orderedFieldsArray; | if (orderedFieldsArray == null) { orderedFieldsArray = new int[fields.size()]; Iterator fieldItr = fields.iterator(); int i = 0; while (fieldItr.hasNext()) { orderedFieldsArray[i++] = ((Integer) fieldItr.next()).intValue(); } | int[] getOrderedFields() { if (orderedFieldsArray != null) { return orderedFieldsArray; } orderedFieldsArray = new int[orderedFields.size()]; for (int i = 0; i < orderedFields.size(); i++) { orderedFieldsArray[i] = ((Integer) orderedFields.get(i)).intValue(); ... | 52211 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52211/6f140a7c32d885d73de074e65f0860c06d313047/DataDictionary.java/clean/src/quickfix/DataDictionary.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
509,
8526,
11973,
329,
2314,
1435,
288,
3639,
309,
261,
9885,
2314,
1076,
480,
446,
13,
288,
5411,
327,
5901,
2314,
1076,
31,
3639,
289,
3639,
5901,
2314,
1076,
273,
394,
509,
63,
9885,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
509,
8526,
11973,
329,
2314,
1435,
288,
3639,
309,
261,
9885,
2314,
1076,
480,
446,
13,
288,
5411,
327,
5901,
2314,
1076,
31,
3639,
289,
3639,
5901,
2314,
1076,
273,
394,
509,
63,
9885,
... |
return new String[0]; | return history.getVersionLabels(); | public String[] getVersionLabels() { return new String[0]; // @todo implement VersionHistory#getVersionLabels() } | 48761 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48761/85461cdb9cf077cd1d0aaac351c65ba422d5b5c2/VersionHistoryImpl.java/buggy/src/java/org/apache/jackrabbit/core/version/VersionHistoryImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
8526,
8343,
5888,
1435,
288,
3639,
327,
4927,
18,
588,
1444,
5888,
5621,
225,
368,
632,
9012,
2348,
4049,
5623,
7,
588,
1444,
5888,
1435,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
8526,
8343,
5888,
1435,
288,
3639,
327,
4927,
18,
588,
1444,
5888,
5621,
225,
368,
632,
9012,
2348,
4049,
5623,
7,
588,
1444,
5888,
1435,
565,
289,
2,
-100,
-100,
-100,
-100,
... |
final ProjectFileIndex index = ProjectRootManager.getInstance(myDirectory.getProject()).getFileIndex(); final VirtualFile directory = myDirectory.getVirtualFile(); final VirtualFile contentRoot = index.getContentRootForFile(directory); if (contentRoot != null) { myFQName = VfsUtil.getRelativePath(directory, contentRoot... | if (!showModules) { myFQName = myDirName; } else { final ProjectFileIndex index = ProjectRootManager.getInstance(myDirectory.getProject()).getFileIndex(); final VirtualFile directory = myDirectory.getVirtualFile(); final VirtualFile contentRoot = index.getContentRootForFile(directory); if (contentRoot != null) { myFQNa... | public DirectoryNode(PsiDirectory aDirectory, boolean compactPackages, boolean showFQName) { myDirectory = aDirectory; myDirName = aDirectory.getName(); myCompactPackages = compactPackages; if (showFQName) { final ProjectFileIndex index = ProjectRootManager.getInstance(myDirectory.getProject()).getFi... | 12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/308c03b3450f307fbe1510e6c3b116c65d76cbf9/DirectoryNode.java/buggy/source/com/intellij/packageDependencies/ui/DirectoryNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
8930,
907,
12,
52,
7722,
2853,
279,
2853,
16,
1250,
6739,
11425,
16,
1250,
2405,
42,
13688,
13,
288,
565,
3399,
2853,
273,
279,
2853,
31,
565,
3399,
28780,
273,
279,
2853,
18,
179... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8930,
907,
12,
52,
7722,
2853,
279,
2853,
16,
1250,
6739,
11425,
16,
1250,
2405,
42,
13688,
13,
288,
565,
3399,
2853,
273,
279,
2853,
31,
565,
3399,
28780,
273,
279,
2853,
18,
179... |
for ( Iterator j = sinks.iterator(); i.hasNext(); ) | for ( Iterator j = sinks.iterator(); j.hasNext(); ) | protected void closeReport() { int counter = 1; if ( !sinks.isEmpty() ) { for ( Iterator i = sinks.iterator(); i.hasNext(); ) { MultiPageSink currentSink = (MultiPageSink) i.next(); currentSink.paragraph(); for ( Iterator j =... | 1315 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1315/9f0c44d7eb5aecf119eb9b147f277aebd8aec396/AbstractMavenMultiPageReport.java/clean/maven-reporting/maven-reporting-impl/src/main/java/org/apache/maven/reporting/AbstractMavenMultiPageReport.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1746,
4820,
1435,
565,
288,
3639,
509,
3895,
273,
404,
31,
3639,
309,
261,
401,
17074,
87,
18,
291,
1921,
1435,
262,
3639,
288,
5411,
364,
261,
4498,
277,
273,
28618,
18,
983... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1746,
4820,
1435,
565,
288,
3639,
509,
3895,
273,
404,
31,
3639,
309,
261,
401,
17074,
87,
18,
291,
1921,
1435,
262,
3639,
288,
5411,
364,
261,
4498,
277,
273,
28618,
18,
983... |
private void findFile(String[] includePaths, String name, ArrayList list) throws CoreException { | private void findFile(String[] includePaths, String name, ArrayList list, HashSet foundSet) throws CoreException { | private void findFile(String[] includePaths, String name, ArrayList list) throws CoreException { for (int i = 0; i < includePaths.length; i++) { IPath path = new Path(includePaths[i] + "/" + name); //$NON-NLS-1$ File file = path.toFile(); if (file.exists()) { list.add(path); } } } | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/61aa8cb62cda8cc9df1895cdbf3829d3696ce903/OpenIncludeAction.java/clean/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/OpenIncludeAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1104,
812,
12,
780,
8526,
2341,
4466,
16,
225,
514,
508,
16,
2407,
666,
13,
225,
1216,
30015,
288,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
2341,
4466,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1104,
812,
12,
780,
8526,
2341,
4466,
16,
225,
514,
508,
16,
2407,
666,
13,
225,
1216,
30015,
288,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
2341,
4466,
1... |
log.info("test- isc_dsql_allocate_statement"); | if (log!=null) log.info("test- isc_dsql_allocate_statement"); | public void testPreparedSelect() throws Exception { log.info("test- testPreparedSelect"); db1 = setupTable(); t1 = startTransaction(db1); doSQLImmed(db1, t1, "INSERT INTO R1 VALUES (1, 2)"); doSQLImmed(db1, t1, "INSERT INTO R1 VALUES (2, 3)"); doSQLImmed(db1, t1, "INSERT IN... | 6960 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6960/d551c5302d9d5f52860ad5a47b9cbab3e036a621/TestGds.java/clean/src/org/firebirdsql/jgds/TestGds.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
15464,
3391,
1435,
1216,
1185,
288,
3639,
613,
18,
1376,
2932,
3813,
17,
1842,
15464,
3391,
8863,
3639,
1319,
21,
273,
3875,
1388,
5621,
3639,
268,
21,
273,
787,
3342,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
15464,
3391,
1435,
1216,
1185,
288,
3639,
613,
18,
1376,
2932,
3813,
17,
1842,
15464,
3391,
8863,
3639,
1319,
21,
273,
3875,
1388,
5621,
3639,
268,
21,
273,
787,
3342,
12... |
deploymentFactories.add(factory); | if(factory == null) { throw new IllegalArgumentException("DeploymentFactory to register should not be null"); } if(!deploymentFactories.contains(factory)) { deploymentFactories.add(factory); } | public void registerDeploymentFactory(DeploymentFactory factory) { // apparently we dont care about null values, the Sun RI even adds the null // to the list. So after registerDeploymentFactory(null) getDeploymentFactories() // return an array with length 1. deploymentFactories.add(facto... | 6764 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6764/1d998272539cfdfd236188855eaf18a50b068fac/DeploymentFactoryManager.java/clean/j2ee-deployment/src/java/javax/enterprise/deploy/shared/factories/DeploymentFactoryManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1744,
6733,
1733,
12,
6733,
1733,
3272,
13,
288,
3639,
368,
29614,
715,
732,
14046,
7671,
2973,
446,
924,
16,
326,
31608,
534,
45,
5456,
4831,
326,
446,
3639,
368,
358,
326,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1744,
6733,
1733,
12,
6733,
1733,
3272,
13,
288,
3639,
368,
29614,
715,
732,
14046,
7671,
2973,
446,
924,
16,
326,
31608,
534,
45,
5456,
4831,
326,
446,
3639,
368,
358,
326,
... |
} | public void widgetSelected(SelectionEvent e) { try { // Might be nice to have more thorough docs stored locally. // For the mac app bundle version, they can be stored in the // app bundle and accessed through Help Viewer. showURL(new URL("http://irate.sourceforge.net/doc... | 11635 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11635/306e972783550193081c78eb4898402201cb2c85/Client.java/clean/trunk/irate/irate/swt/Client.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
918,
3604,
7416,
12,
6233,
1133,
425,
13,
288,
3639,
775,
288,
1850,
368,
490,
750,
506,
13752,
358,
1240,
1898,
286,
280,
4966,
3270,
4041,
13760,
18,
1850,
368,
2457,
326,
5318,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
918,
3604,
7416,
12,
6233,
1133,
425,
13,
288,
3639,
775,
288,
1850,
368,
490,
750,
506,
13752,
358,
1240,
1898,
286,
280,
4966,
3270,
4041,
13760,
18,
1850,
368,
2457,
326,
5318,
... | |
if (mMessage1 != null) { mMbox.delete(null, mMessage1.getId(), MailItem.TYPE_MESSAGE); } if (mMessage2 != null) { mMbox.delete(null, mMessage2.getId(), MailItem.TYPE_MESSAGE); } if (mMessage3 != null) { mMbox.delete(null, mMessage3.getId(), MailItem.TYPE_MESSAGE); } if (mMessage4 != null) { mMbox.delete(null, mMessage4... | Set messageIds = search("subject:\"Test tags\"", MailItem.TYPE_MESSAGE); Iterator i = messageIds.iterator(); while (i.hasNext()) { int id = ((Integer) i.next()).intValue(); mMbox.delete(null, id, MailItem.TYPE_MESSAGE); | private void cleanUp() throws Exception { if (mMessage1 != null) { mMbox.delete(null, mMessage1.getId(), MailItem.TYPE_MESSAGE); } if (mMessage2 != null) { mMbox.delete(null, mMessage2.getId(), MailItem.TYPE_MESSAGE); } if (mMessage3 != null) { ... | 6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/6cdc18ddc1bf3d59a4ef41bdb2ea220d41a64634/TestTags.java/buggy/ZimbraServer/src/java/com/zimbra/qa/unittest/TestTags.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
26384,
1435,
565,
1216,
1185,
288,
3639,
309,
261,
81,
1079,
21,
480,
446,
13,
288,
5411,
312,
49,
2147,
18,
3733,
12,
2011,
16,
312,
1079,
21,
18,
26321,
9334,
11542,
1180,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
26384,
1435,
565,
1216,
1185,
288,
3639,
309,
261,
81,
1079,
21,
480,
446,
13,
288,
5411,
312,
49,
2147,
18,
3733,
12,
2011,
16,
312,
1079,
21,
18,
26321,
9334,
11542,
1180,
... |
DependsOnTouchable dot = (DependsOnTouchable)child.getComponentInstance("test"); | DependsOnTouchable dot = (DependsOnTouchable) child.getComponentInstance("test"); | public void XXXtestComponentKeysFromParentCannotConfuseTheChild() throws Exception { DefaultPicoContainer pico = new DefaultPicoContainer(); pico.registerComponentImplementation("test", SimpleTouchable.class); DefaultPicoContainer child = new DefaultPicoContainer(pico); child.registerCom... | 9344 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9344/f454dbb64efa33852b061bb9933f49034518a4ef/DefaultPicoContainerTestCase.java/buggy/java/picocontainer/trunk/container/src/test/org/picocontainer/defaults/DefaultPicoContainerTestCase.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
11329,
3813,
1841,
2396,
1265,
3054,
4515,
3976,
1202,
1986,
1763,
1435,
1216,
1185,
288,
3639,
2989,
52,
10764,
2170,
293,
10764,
273,
394,
2989,
52,
10764,
2170,
5621,
3639,
29... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
11329,
3813,
1841,
2396,
1265,
3054,
4515,
3976,
1202,
1986,
1763,
1435,
1216,
1185,
288,
3639,
2989,
52,
10764,
2170,
293,
10764,
273,
394,
2989,
52,
10764,
2170,
5621,
3639,
29... |
private void populateLists() { this.bEnableEvents = false; cmbDataType.add("Number"); cmbDataType.add("Date/Time"); | private void populateLists( ) { this.bEnableEvents = false; cmbDataType.add( "Number" ); cmbDataType.add( "Date/Time" ); | private void populateLists() { this.bEnableEvents = false; cmbDataType.add("Number"); //$NON-NLS-1$ cmbDataType.add("Date/Time"); //$NON-NLS-1$ if (formatspecifier == null) { cmbDataType.select(0); btnUndefined.setSelection(true); slStandardDeta... | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/c2635683b569bc35b628d25cbf49853caae225fa/FormatSpecifierComposite.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/FormatSpecifierComposite.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
6490,
7432,
1435,
565,
288,
3639,
333,
18,
70,
8317,
3783,
273,
629,
31,
3639,
276,
1627,
6273,
18,
1289,
2932,
1854,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
3639,
276,
1627,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6490,
7432,
1435,
565,
288,
3639,
333,
18,
70,
8317,
3783,
273,
629,
31,
3639,
276,
1627,
6273,
18,
1289,
2932,
1854,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
3639,
276,
1627,
... |
this.itsFileName = new String(target); File targetFileName = new File(target); FileWriter fileWriter = null; try { fileWriter = new FileWriter(targetFileName); } catch (IOException e1) { e1.printStackTrace(); } try { fileWriter.write(shortCutDef); } catch (IOException e) { e.printStackTrace(); } try { fileWriter.close... | if (rootUser4All && !create4All) { return; } writeShortCut(target, shortCutDef); | public void save() throws Exception { String FS = File.separator; String target = null; String shortCutDef = this.replace(); if ((this.itsGroupName == null) || ("".equals(this.itsGroupName))) { target = System.getProperty("user.home") + FS + "Desktop" + FS + this.its... | 54145 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54145/d111fa07f5ac6767b0c3f0110542d9ef7e81b5c8/Unix_Shortcut.java/buggy/src/lib/com/izforge/izpack/util/os/Unix_Shortcut.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1923,
1435,
1216,
1185,
565,
288,
3639,
514,
9247,
273,
1387,
18,
11287,
31,
3639,
514,
1018,
273,
446,
31,
3639,
514,
3025,
15812,
3262,
273,
333,
18,
2079,
5621,
3639,
309,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1923,
1435,
1216,
1185,
565,
288,
3639,
514,
9247,
273,
1387,
18,
11287,
31,
3639,
514,
1018,
273,
446,
31,
3639,
514,
3025,
15812,
3262,
273,
333,
18,
2079,
5621,
3639,
309,
... |
"/* \n" + " * Version (target 1.2) \n" + " * - magic: CAFEBABE\n" + " * - minor: 0\n" + " * - major: 46\n" + " */\n" + " "public class A extends java.lang.Object {\n" + " \n" + " /* Method descriptor #6 ()V */\n" + " public A();\n" + " /* Stack: 1, Locals: 1 */\n" + " Code attribute:\n" + " 0 aload_0\n... | public void test007() { String source = "public class A {\n" + " public static void main(String[] args) {\n" + " boolean b = false;\n" + " if (true\n" + " && !b) { \n" + " System.out.println();\n" + " }\n" + " }\n" + "}"; String expectedOutput = "/* \n" + " * Version (target... | 10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/33954bbbcb57410dd9650c66d085059854f2f0c2/ClassFileReaderTest.java/clean/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/ClassFileReaderTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
713,
27,
1435,
288,
202,
202,
780,
1084,
273,
1082,
202,
6,
482,
667,
432,
18890,
82,
6,
397,
1082,
202,
6,
202,
482,
760,
918,
2774,
12,
780,
8526,
833,
13,
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,
482,
918,
1842,
713,
27,
1435,
288,
202,
202,
780,
1084,
273,
1082,
202,
6,
482,
667,
432,
18890,
82,
6,
397,
1082,
202,
6,
202,
482,
760,
918,
2774,
12,
780,
8526,
833,
13,
18... | |
private Table monthView(IWContext iwc, IWTimestamp stamp) { this.now = IWTimestamp.RightNow(); this.cal = new IWCalendar(); Text nameOfDay = new Text(); Text t = new Text(); int weekdays = 8; int daycount = this.cal.getLengthOfMonth(stamp.getMonth(),stamp.getYear()); int firstWeekDayOfMonth = this.cal.getDay... | 11359 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11359/c01f7052ab8e45b2d7028aadb7dcf01973de0155/CalendarView.java/clean/src/java/com/idega/block/cal/presentation/CalendarView.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
3555,
3138,
1767,
12,
45,
59,
1042,
25522,
71,
16,
467,
59,
4921,
14429,
13,
288,
1082,
202,
2211,
18,
3338,
273,
467,
59,
4921,
18,
4726,
8674,
5621,
202,
202,
2211,
18,
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,
1152,
3555,
3138,
1767,
12,
45,
59,
1042,
25522,
71,
16,
467,
59,
4921,
14429,
13,
288,
1082,
202,
2211,
18,
3338,
273,
467,
59,
4921,
18,
4726,
8674,
5621,
202,
202,
2211,
18,
7... | ||
private void saveToFile () { File file = null; // ---------------------------------------------------- // open a file chooser dialog to get a path / file name // ---------------------------------------------------- JFileChooser fileDialog = new JFileChooser (idata.getInstallPath ()); fileDialog... | 46579 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46579/df53b17757bee3d8fd6a9cb585cb425bb91e3213/ShortcutPanel.java/clean/src/lib/com/izforge/izpack/panels/ShortcutPanel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
1923,
15450,
1832,
225,
288,
565,
1387,
585,
273,
446,
31,
3639,
368,
13420,
6062,
565,
368,
1696,
279,
585,
5011,
13164,
6176,
358,
336,
279,
589,
342,
585,
508,
565,
368,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
1923,
15450,
1832,
225,
288,
565,
1387,
585,
273,
446,
31,
3639,
368,
13420,
6062,
565,
368,
1696,
279,
585,
5011,
13164,
6176,
358,
336,
279,
589,
342,
585,
508,
565,
368,
1... | ||
return eDynamicIsSet( eFeature ); | return super.eIsSet( featureID ); | public boolean eIsSet( EStructuralFeature eFeature ) { switch ( eDerivedStructuralFeatureID( eFeature ) ) { case DataPackage.NUMBER_DATA_ELEMENT__VALUE : return isSetValue( ); } return eDynamicIsSet( eFeature ); } | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/036e8c78765730b146e5854b9d6c397a296fed86/NumberDataElementImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/data/impl/NumberDataElementImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
20372,
12,
512,
14372,
4595,
425,
4595,
262,
202,
95,
202,
202,
9610,
261,
425,
21007,
14372,
4595,
734,
12,
425,
4595,
262,
262,
202,
202,
95,
1082,
202,
3593,
1910,
22... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
20372,
12,
512,
14372,
4595,
425,
4595,
262,
202,
95,
202,
202,
9610,
261,
425,
21007,
14372,
4595,
734,
12,
425,
4595,
262,
262,
202,
202,
95,
1082,
202,
3593,
1910,
22... |
fBaseURIStack.push(identifier.getBaseSystemId()); | fBaseURIStack.push (identifier.getBaseSystemId ()); | public void startExternalSubset(XMLResourceIdentifier identifier, Augmentations augs) throws XNIException { if (DEBUG_EVENTS) { System.out.println("==>startExternalSubset"); if (DEBUG_BASEURI) { System.out.println(" expand... | 46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/9d1dbf89c75cf6f564facc2b605dd9f2cf2dac4d/AbstractDOMParser.java/clean/src/org/apache/xerces/parsers/AbstractDOMParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
787,
6841,
20315,
12,
4201,
1420,
3004,
2756,
16,
19694,
432,
14870,
1012,
279,
9024,
13,
1216,
1139,
50,
45,
503,
288,
3639,
309,
261,
9394,
67,
29221,
13,
288,
5411,
2332,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
787,
6841,
20315,
12,
4201,
1420,
3004,
2756,
16,
19694,
432,
14870,
1012,
279,
9024,
13,
1216,
1139,
50,
45,
503,
288,
3639,
309,
261,
9394,
67,
29221,
13,
288,
5411,
2332,
... |
setAnchor((String) evalAttr("anchor", getAnchor(), String.class)); | setAnchor((String) evalAttr("anchor", getAnchorExpr(), String.class)); | private void evaluateExpressions() throws JspException { try { setAnchor((String) evalAttr("anchor", getAnchor(), String.class)); } catch (NullAttributeException ex) { setAnchor(null); } try { setForward((String) evalAttr("forward", getForward(), ... | 48068 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48068/db064e19656421b94aaf753550935d95f44bd5f9/ELRedirectTag.java/clean/contrib/struts-el/src/share/org/apache/strutsel/taglib/logic/ELRedirectTag.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
5956,
8927,
1435,
1216,
27485,
288,
3639,
775,
288,
5411,
444,
11605,
12443,
780,
13,
5302,
3843,
2932,
16215,
3113,
336,
11605,
4742,
9334,
514,
18,
1106,
10019,
3639,
289,
1044... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5956,
8927,
1435,
1216,
27485,
288,
3639,
775,
288,
5411,
444,
11605,
12443,
780,
13,
5302,
3843,
2932,
16215,
3113,
336,
11605,
4742,
9334,
514,
18,
1106,
10019,
3639,
289,
1044... |
public Object getProperty(String name) throws SAXNotRecognizedException, SAXNotSupportedException { if (name.equals("http: return lexicalHandler; throw new SAXNotRecognizedException(name); | public String getProperty(String key, String defaultValue) { String value = outputProperties.getProperty(key); if(value == null) value = defaultProperties.getProperty(key, defaultValue); return value; | public Object getProperty(String name) throws SAXNotRecognizedException, SAXNotSupportedException { if (name.equals("http://xml.org/sax/properties/lexical-handler")) return lexicalHandler; throw new SAXNotRecognizedException(name); } | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/0d02dbc1d0f616dab3f8e359783b411587927ee5/Serializer.java/buggy/src/org/exist/storage/serializers/Serializer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
3911,
12,
780,
508,
13,
202,
202,
15069,
10168,
1248,
5650,
9367,
503,
16,
10168,
25482,
288,
202,
202,
430,
261,
529,
18,
14963,
2932,
2505,
2207,
2902,
18,
3341,
19,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
3911,
12,
780,
508,
13,
202,
202,
15069,
10168,
1248,
5650,
9367,
503,
16,
10168,
25482,
288,
202,
202,
430,
261,
529,
18,
14963,
2932,
2505,
2207,
2902,
18,
3341,
19,
8... |
public void removeQuestionInSection(HttpServletRequest request){ HttpSession session = request.getSession(); Section section = (Section) session.getAttribute("currentSection"); int rowId = Integer.parseInt(request.getParameter("row")); rowId--; List<Question> quests = section.getQuestions(); quests.remove(rowI... | 54385 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54385/1987aafdf9f6e92293bee44cf33ba906d200af2c/SurveyWebComponent.java/buggy/survey/src/java/ar/com/survey/web/component/SurveyWebComponent.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1206,
11665,
382,
5285,
12,
2940,
18572,
590,
15329,
202,
202,
2940,
2157,
1339,
273,
590,
18,
588,
2157,
5621,
202,
202,
5285,
2442,
273,
261,
5285,
13,
1339,
18,
588,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1206,
11665,
382,
5285,
12,
2940,
18572,
590,
15329,
202,
202,
2940,
2157,
1339,
273,
590,
18,
588,
2157,
5621,
202,
202,
5285,
2442,
273,
261,
5285,
13,
1339,
18,
588,
1... | ||
String append = "-D" + PROJECT_NAMES_KEY + "=" + path; | String append = "-D" + PROJECT_NAMES_KEY + "=" + path; | private String[] getVMArguments( ILaunchConfiguration configuration ) throws CoreException { String temp[] = ( new ExecutionArguments( configuration.getAttribute( "vmargs", "" ), "" ) ).getVMArgumentsArray( ); String path = configuration.getAttribute( IMPORTPROJECT, "" ); String append = "-D" + PROJECT_NAMES_K... | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/a65b86554e6b88d27b0f13430395ece7fbe71ea0/ReportLaunchConfigurationDelegate.java/buggy/UI/org.eclipse.birt.report.debug.ui/src/org/eclipse/birt/report/debug/ui/launcher/ReportLaunchConfigurationDelegate.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
514,
8526,
336,
7397,
4628,
12,
467,
9569,
1750,
1664,
262,
1082,
202,
15069,
30015,
202,
95,
202,
202,
780,
1906,
8526,
273,
261,
394,
8687,
4628,
12,
1664,
18,
588,
1499,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
514,
8526,
336,
7397,
4628,
12,
467,
9569,
1750,
1664,
262,
1082,
202,
15069,
30015,
202,
95,
202,
202,
780,
1906,
8526,
273,
261,
394,
8687,
4628,
12,
1664,
18,
588,
1499,
1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.