rem
stringlengths 1
226k
| add
stringlengths 0
227k
| context
stringlengths 6
326k
| meta
stringlengths 143
403
| input_ids
sequencelengths 256
256
| attention_mask
sequencelengths 256
256
| labels
sequencelengths 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) { return null; } if (type == STRING) { return this.dataIn.readUTF(); } if (type == LONG) { return new Long(this.dataIn.readLong()).toString(); } if (type == INT) { return new Integer(this.dataIn.readInt()).toString(); } if (type == SHORT) { return new Short(this.dataIn.readShort()).toString(); } if (type == BYTE) { return new Byte(this.dataIn.readByte()).toString(); } if (type == FLOAT) { return new Float(this.dataIn.readFloat()).toString(); } if (type == DOUBLE) { return new Double(this.dataIn.readDouble()).toString(); } if (type == BOOLEAN) { return (this.dataIn.readBoolean() ? Boolean.TRUE : Boolean.FALSE).toString(); } if (type == CHAR) { return new Character(this.dataIn.readChar()).toString(); } else { this.dataIn.reset(); throw new MessageFormatException(" not a String type"); } } catch (NumberFormatException mfe) { try { this.dataIn.reset(); } catch (IOException ioe) { throw JMSExceptionSupport.create(ioe); } throw mfe; } catch (EOFException e) { throw JMSExceptionSupport.createMessageEOFException(e); } catch (IOException e) { throw JMSExceptionSupport.createMessageFormatException(e); } } | 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,
5621,
5411,
309,
261,
723,
422,
300,
21,
13,
288,
7734,
604,
394,
2350,
12706,
503,
2932,
266,
2004,
679,
434,
501,
8863,
5411,
289,
5411,
309,
261,
723,
422,
3206,
13,
288,
7734,
327,
446,
31,
5411,
289,
5411,
309,
261,
723,
422,
26026,
310,
6289,
18,
19044,
67,
5804,
67,
2399,
13,
288,
327,
26026,
310,
6289,
18,
896,
5159,
28,
12,
892,
382,
1769,
289,
309,
261,
723,
422,
26026,
310,
6289,
18,
5804,
67,
2399,
13,
288,
7734,
327,
333,
18,
892,
382,
18,
896,
5159,
5621,
5411,
289,
5411,
309,
261,
723,
422,
14011,
13,
288,
7734,
327,
394,
3407,
12,
2211,
18,
892,
382,
18,
896,
3708,
1435,
2934,
10492,
5621,
5411,
289,
5411,
309,
261,
723,
422,
6137,
13,
288,
7734,
327,
394,
2144,
12,
2211,
18,
892,
382,
18,
896,
1702,
1435,
2934,
10492,
5621,
5411,
289,
5411,
309,
261,
723,
422,
20079,
13,
288,
7734,
327,
394,
7925,
12,
2211,
18,
892,
382,
18,
896,
4897,
1435,
2934,
10492,
5621,
5411,
289,
5411,
309,
261,
723,
422,
20660,
13,
288,
7734,
327,
394,
3506,
12,
2211,
18,
892,
382,
18,
896,
3216,
1435,
2934,
10492,
5621,
5411,
289,
5411,
309,
261,
723,
422,
15483,
13,
288,
7734,
327,
394,
5450,
12,
2211,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5621,
5411,
309,
261,
723,
422,
300,
21,
13,
288,
7734,
604,
394,
2350,
12706,
503,
2932,
266,
2004,
679,
434,
501,
8863,
5411,
289,
5411,
309,
261,
723,
422,
3206,
13,
288,
7734,
327,
446,
31,
5411,
289,
5411,
309,
261,
723,
422,
26026,
310,
6289,
18,
19044,
67,
5804,
67,
2399,
13,
288,
327,
26026,
310,
6289,
18,
896,
5159,
28,
12,
892,
382,
1769,
289,
309,
261,
723,
422,
26026,
310,
6289,
18,
5804,
67,
2399,
13,
288,
7734,
327,
333,
2
] |
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,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
4368,
4217,
2891,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
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,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
4368,
4217,
2891,
5621,
565,
5031,
12,
1132,
1769,
327,
460,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
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,
3113,
1408,
1769,
7734,
327,
2721,
31,
5411,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
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,
3113,
1408,
1769,
7734,
327,
2721,
31,
5411,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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 = dialog; setEnabled(true); } | 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,
202,
202,
542,
2040,
3187,
12,
2040,
1733,
18,
588,
2040,
3187,
2932,
830,
830,
2313,
19,
2188,
67,
1121,
18,
13905,
7923,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
542,
29250,
1528,
12,
5058,
18,
588,
780,
2932,
6348,
1803,
18,
19798,
7923,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
2211,
18,
1945,
273,
1476,
31,
202,
202,
2211,
18,
12730,
273,
6176,
31,
202,
202,
542,
1526,
12,
3767,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
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,
202,
202,
542,
2040,
3187,
12,
2040,
1733,
18,
588,
2040,
3187,
2932,
830,
830,
2313,
19,
2188,
67,
1121,
18,
13905,
7923,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
542,
29250,
1528,
12,
5058,
18,
588,
780,
2932,
6348,
1803,
18,
19798,
7923,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
2211,
18,
1945,
273,
1476,
31,
202,
202,
2211,
18,
12730,
273,
6176,
31,
202,
202,
542,
1526,
12,
3767,
1769,
202,
97,
2,
-100,
-100,
-100
] |
|
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("[email protected]")); MimeMessage mw = new MimeMessageCopyOnWriteProxy( new MimeMessageInputStreamSource( "test", new SharedByteArrayInputStream( ("Return-path: [email protected]\r\n"+ "Content-Transfer-Encoding: plain\r\n"+ "Subject: test\r\n\r\n"+ "Body Text\r\n").getBytes()))); MailImpl m = new MailImpl("name", new MailAddress("[email protected]"), recipients, mw); mailRep.store(m); MimeMessage mw2 = new MimeMessageCopyOnWriteProxy( new MimeMessageInputStreamSource( "test2", new SharedByteArrayInputStream( ("").getBytes()))); MailImpl mailimpl2 = new MailImpl("name2", new MailAddress("[email protected]"), recipients, mw2); mailRep.store(mailimpl2); m.dispose(); mailimpl2.dispose(); } | 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,
36,
3813,
18,
832,
7923,
1769,
3639,
22059,
1079,
14721,
273,
394,
22059,
1079,
2951,
1398,
3067,
3886,
12,
7734,
394,
22059,
1079,
4348,
1830,
12,
13491,
315,
3813,
3113,
13491,
394,
10314,
8826,
4348,
12,
27573,
7566,
990,
17,
803,
30,
327,
36,
3813,
18,
832,
64,
86,
64,
82,
6,
15,
4766,
315,
1350,
17,
5912,
17,
4705,
30,
7351,
64,
86,
64,
82,
6,
15,
4766,
315,
6638,
30,
1842,
64,
86,
64,
82,
64,
86,
64,
82,
6,
15,
4766,
315,
2250,
3867,
64,
86,
64,
82,
20387,
588,
2160,
1435,
3719,
1769,
3639,
11542,
2828,
312,
273,
394,
11542,
2828,
2932,
529,
3113,
394,
11542,
1887,
2932,
2080,
36,
3813,
18,
832,
6,
3631,
7734,
12045,
16,
14721,
1769,
3639,
4791,
18933,
18,
2233,
12,
81,
1769,
3639,
22059,
1079,
14721,
22,
273,
394,
22059,
1079,
2951,
1398,
3067,
3886,
12,
7734,
394,
22059,
1079,
4348,
1830,
12,
13491,
315,
3813,
22,
3113,
13491,
394,
10314,
8826,
4348,
12,
27573,
261,
3660,
2934,
588,
2160,
1435,
3719,
1769,
3639,
11542,
2828,
4791,
11299,
22,
273,
394,
11542,
2828,
2932,
529,
22,
3113,
394,
11542,
1887,
2932,
2080,
36,
3813,
18,
832,
6,
3631,
13491,
12045,
16,
14721,
22,
1769,
3639,
4791,
18933,
18,
2233,
12,
4408,
11299,
22,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
36,
3813,
18,
832,
7923,
1769,
3639,
22059,
1079,
14721,
273,
394,
22059,
1079,
2951,
1398,
3067,
3886,
12,
7734,
394,
22059,
1079,
4348,
1830,
12,
13491,
315,
3813,
3113,
13491,
394,
10314,
8826,
4348,
12,
27573,
7566,
990,
17,
803,
30,
327,
36,
3813,
18,
832,
64,
86,
64,
82,
6,
15,
4766,
315,
1350,
17,
5912,
17,
4705,
30,
7351,
64,
86,
64,
82,
6,
15,
4766,
315,
6638,
30,
1842,
64,
86,
64,
82,
64,
86,
64,
82,
6,
15,
4766,
315,
2
] |
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) || (base > 36)) { Object[] args = { Integer.toString(base) }; throw Context.reportRuntimeError(getMessage ("msg.bad.radix", args)); } if (base != 10) { return DToA.JS_dtobasestr(base, d); } else { StringBuffer result = new StringBuffer(); DToA.JS_dtostr(result, DToA.DTOSTR_STANDARD, 0, d); return result.toString(); } } | 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,
17716,
13,
5411,
327,
315,
382,
7850,
14432,
3639,
309,
261,
72,
422,
3698,
18,
5407,
22421,
67,
17716,
13,
5411,
327,
3701,
382,
7850,
14432,
3639,
309,
261,
72,
422,
374,
18,
20,
13,
5411,
327,
315,
20,
14432,
3639,
309,
14015,
1969,
411,
576,
13,
747,
261,
1969,
405,
6580,
3719,
288,
5411,
1033,
8526,
833,
273,
288,
2144,
18,
10492,
12,
1969,
13,
289,
31,
5411,
604,
1772,
18,
6006,
5576,
668,
12,
24906,
4766,
2398,
7566,
3576,
18,
8759,
18,
6012,
697,
3113,
833,
10019,
3639,
289,
3639,
309,
261,
1969,
480,
1728,
13,
288,
5411,
327,
463,
774,
37,
18,
6479,
67,
72,
869,
18602,
313,
12,
1969,
16,
302,
1769,
3639,
289,
202,
202,
12107,
288,
1082,
202,
780,
1892,
563,
273,
394,
6674,
5621,
1082,
202,
40,
774,
37,
18,
6479,
67,
7510,
538,
313,
12,
2088,
16,
463,
774,
37,
18,
19792,
3902,
67,
882,
18264,
16,
374,
16,
302,
1769,
1082,
202,
2463,
563,
18,
10492,
5621,
202,
202,
97,
202,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
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,
17716,
13,
5411,
327,
315,
382,
7850,
14432,
3639,
309,
261,
72,
422,
3698,
18,
5407,
22421,
67,
17716,
13,
5411,
327,
3701,
382,
7850,
14432,
3639,
309,
261,
72,
422,
374,
18,
20,
13,
5411,
327,
315,
20,
14432,
3639,
309,
14015,
1969,
411,
576,
13,
747,
261,
1969,
405,
6580,
3719,
288,
5411,
1033,
8526,
833,
273,
288,
2144,
18,
10492,
12,
1969,
13,
289,
31,
5411,
604,
1772,
18,
6006,
5576,
668,
12,
24906,
4766,
2398,
7566,
3576,
18,
8759,
2
] |
|
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 flag if (ze.getMethod() == DEFLATED && raf == null) { // requires version 2 as we are going to store length info // in the data descriptor writeOut((new ZipShort(20)).getBytes()); // bit3 set to signal, we use a data descriptor writeOut((new ZipShort(8)).getBytes()); } else { writeOut((new ZipShort(10)).getBytes()); writeOut(ZERO); } written += 4; // compression method writeOut((new ZipShort(ze.getMethod())).getBytes()); written += 2; // last mod. time and date writeOut(toDosTime(new Date(ze.getTime())).getBytes()); written += 4; // CRC // compressed length // uncompressed length writeOut((new ZipLong(ze.getCrc())).getBytes()); writeOut((new ZipLong(ze.getCompressedSize())).getBytes()); writeOut((new ZipLong(ze.getSize())).getBytes()); written += 12; // file name length byte[] name = getBytes(ze.getName()); writeOut((new ZipShort(name.length)).getBytes()); written += 2; // extra field length byte[] extra = ze.getCentralDirectoryExtra(); writeOut((new ZipShort(extra.length)).getBytes()); written += 2; // file comment length String comm = ze.getComment(); if (comm == null) { comm = ""; } byte[] comment = getBytes(comm); writeOut((new ZipShort(comment.length)).getBytes()); written += 2; // disk number start writeOut(ZERO); written += 2; // internal file attributes writeOut((new ZipShort(ze.getInternalAttributes())).getBytes()); written += 2; // external file attributes writeOut((new ZipLong(ze.getExternalAttributes())).getBytes()); written += 4; // relative offset of LFH writeOut(((ZipLong) offsets.get(ze)).getBytes()); written += 4; // file name writeOut(name); written += name.length; // extra field writeOut(extra); written += extra.length; // file comment writeOut(comment); written += comment.length; } | 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,
1177,
7165,
635,
3639,
1045,
1182,
12443,
2704,
8603,
4897,
12443,
8489,
18,
588,
8201,
1435,
2296,
1725,
13,
571,
4200,
13,
2934,
588,
2160,
10663,
3639,
5941,
1011,
576,
31,
3639,
368,
1177,
3577,
358,
2608,
3639,
368,
7470,
13115,
2831,
2982,
3639,
309,
261,
8489,
18,
588,
1305,
1435,
422,
2030,
19054,
6344,
597,
24671,
422,
446,
13,
288,
5411,
368,
4991,
1177,
576,
487,
732,
854,
8554,
358,
1707,
769,
1123,
5411,
368,
316,
326,
501,
4950,
5411,
1045,
1182,
12443,
2704,
8603,
4897,
12,
3462,
13,
2934,
588,
2160,
10663,
5411,
368,
2831,
23,
444,
358,
4277,
16,
732,
999,
279,
501,
4950,
5411,
1045,
1182,
12443,
2704,
8603,
4897,
12,
28,
13,
2934,
588,
2160,
10663,
3639,
289,
469,
288,
5411,
1045,
1182,
12443,
2704,
8603,
4897,
12,
2163,
13,
2934,
588,
2160,
10663,
5411,
1045,
1182,
12,
24968,
1769,
3639,
289,
3639,
5941,
1011,
1059,
31,
3639,
368,
9154,
707,
3639,
1045,
1182,
12443,
2704,
8603,
4897,
12,
8489,
18,
588,
1305,
10756,
2934,
588,
2160,
10663,
3639,
5941,
1011,
576,
31,
3639,
368,
1142,
681,
18,
813,
471,
1509,
3639,
1045,
1182,
12,
358,
40,
538,
950,
12,
394,
2167,
12,
26637,
18,
588,
950,
1435,
262,
262,
18,
588,
2160,
1435,
11272,
3639,
5941,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1177,
7165,
635,
3639,
1045,
1182,
12443,
2704,
8603,
4897,
12443,
8489,
18,
588,
8201,
1435,
2296,
1725,
13,
571,
4200,
13,
2934,
588,
2160,
10663,
3639,
5941,
1011,
576,
31,
3639,
368,
1177,
3577,
358,
2608,
3639,
368,
7470,
13115,
2831,
2982,
3639,
309,
261,
8489,
18,
588,
1305,
1435,
422,
2030,
19054,
6344,
597,
24671,
422,
446,
13,
288,
5411,
368,
4991,
1177,
576,
487,
732,
854,
8554,
358,
1707,
769,
1123,
5411,
368,
316,
326,
501,
4950,
5411,
1045,
1182,
12443,
2
] |
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(_t); _t = _retTree; _t = __t1527; _t = _t.getNextSibling(); break; } case IMAGESIZE: { AST __t1528 = _t; AST tmp2201_AST_in = (AST)_t; match(_t,IMAGESIZE); _t = _t.getFirstChild(); expression(_t); _t = _retTree; AST tmp2202_AST_in = (AST)_t; match(_t,BY); _t = _t.getNextSibling(); expression(_t); _t = _retTree; _t = __t1528; _t = _t.getNextSibling(); break; } case IMAGESIZECHARS: { AST __t1529 = _t; AST tmp2203_AST_in = (AST)_t; match(_t,IMAGESIZECHARS); _t = _t.getFirstChild(); expression(_t); _t = _retTree; AST tmp2204_AST_in = (AST)_t; match(_t,BY); _t = _t.getNextSibling(); expression(_t); _t = _retTree; _t = __t1529; _t = _t.getNextSibling(); break; } case IMAGESIZEPIXELS: { AST __t1530 = _t; AST tmp2205_AST_in = (AST)_t; match(_t,IMAGESIZEPIXELS); _t = _t.getFirstChild(); expression(_t); _t = _retTree; AST tmp2206_AST_in = (AST)_t; match(_t,BY); _t = _t.getNextSibling(); expression(_t); _t = _retTree; _t = __t1530; _t = _t.getNextSibling(); break; } case FROM: { AST __t1531 = _t; AST tmp2207_AST_in = (AST)_t; match(_t,FROM); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case X: { AST tmp2208_AST_in = (AST)_t; match(_t,X); _t = _t.getNextSibling(); expression(_t); _t = _retTree; break; } case Y: { AST tmp2209_AST_in = (AST)_t; match(_t,Y); _t = _t.getNextSibling(); expression(_t); _t = _retTree; break; } case ROW: { AST tmp2210_AST_in = (AST)_t; match(_t,ROW); _t = _t.getNextSibling(); expression(_t); _t = _retTree; break; } case COLUMN: { AST tmp2211_AST_in = (AST)_t; match(_t,COLUMN); _t = _t.getNextSibling(); expression(_t); _t = _retTree; break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case X: { AST tmp2212_AST_in = (AST)_t; match(_t,X); _t = _t.getNextSibling(); expression(_t); _t = _retTree; break; } case Y: { AST tmp2213_AST_in = (AST)_t; match(_t,Y); _t = _t.getNextSibling(); expression(_t); _t = _retTree; break; } case ROW: { AST tmp2214_AST_in = (AST)_t; match(_t,ROW); _t = _t.getNextSibling(); expression(_t); _t = _retTree; break; } case COLUMN: { AST tmp2215_AST_in = (AST)_t; match(_t,COLUMN); _t = _t.getNextSibling(); expression(_t); _t = _retTree; break; } default: { throw new NoViableAltException(_t); } } } _t = __t1531; _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } _retTree = _t; } | 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,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
202,
202,
3593,
7527,
30,
202,
202,
95,
1082,
202,
9053,
1001,
88,
3600,
5324,
273,
389,
88,
31,
1082,
202,
9053,
1853,
3787,
713,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
1082,
202,
1916,
24899,
88,
16,
3776,
1769,
1082,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
1082,
202,
8692,
24899,
88,
1769,
1082,
202,
67,
88,
273,
389,
1349,
2471,
31,
1082,
202,
67,
88,
273,
1001,
88,
3600,
5324,
31,
1082,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
5621,
1082,
202,
8820,
31,
202,
202,
97,
202,
202,
3593,
10757,
4574,
30,
202,
202,
95,
1082,
202,
9053,
1001,
88,
3600,
6030,
273,
389,
88,
31,
1082,
202,
9053,
1853,
3787,
1611,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
1082,
202,
1916,
24899,
88,
16,
13603,
4574,
1769,
1082,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
1082,
202,
8692,
24899,
88,
1769,
1082,
202,
67,
88,
273,
389,
1349,
2471,
31,
1082,
202,
9053,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
202,
202,
3593,
7527,
30,
202,
202,
95,
1082,
202,
9053,
1001,
88,
3600,
5324,
273,
389,
88,
31,
1082,
202,
9053,
1853,
3787,
713,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
1082,
202,
1916,
24899,
88,
16,
3776,
1769,
1082,
202,
67,
88,
2
] |
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); result = ""; indexOfLastDot = 0; while (indexOfDot != -1) { result = result + fileSeparator + packageName.substring(indexOfLastDot, indexOfDot); indexOfLastDot = indexOfDot + 1; indexOfDot = packageName.indexOf((int)'.', indexOfDot + 1); if (indexOfDot == -1) result = result + fileSeparator + packageName.substring(indexOfLastDot, packageName.length()); } if (result.equals("")) result = fileSeparator + packageName; return result; } | 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,
2332,
18,
588,
1396,
2932,
768,
18,
11287,
8863,
565,
9929,
273,
6091,
18,
588,
18308,
12,
12434,
1769,
565,
3133,
10412,
273,
9929,
18,
31806,
12443,
474,
13,
2611,
16,
374,
1769,
565,
563,
273,
1408,
31,
565,
3133,
3024,
10412,
273,
374,
31,
565,
1323,
261,
31806,
10412,
480,
300,
21,
13,
288,
1377,
563,
273,
563,
397,
585,
6581,
397,
9929,
18,
28023,
12,
31806,
3024,
10412,
16,
3133,
10412,
1769,
1377,
3133,
3024,
10412,
273,
3133,
10412,
397,
404,
31,
1377,
3133,
10412,
273,
9929,
18,
31806,
12443,
474,
2506,
1093,
16,
3133,
10412,
397,
404,
1769,
1377,
309,
261,
31806,
10412,
422,
300,
21,
13,
3639,
563,
273,
563,
397,
585,
6581,
397,
9929,
18,
28023,
12,
31806,
3024,
10412,
16,
9929,
18,
2469,
10663,
565,
289,
565,
309,
261,
2088,
18,
14963,
2932,
6,
3719,
1377,
563,
273,
585,
6581,
397,
9929,
31,
565,
327,
563,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
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,
2332,
18,
588,
1396,
2932,
768,
18,
11287,
8863,
565,
9929,
273,
6091,
18,
588,
18308,
12,
12434,
1769,
565,
3133,
10412,
273,
9929,
18,
31806,
12443,
474,
13,
2611,
16,
374,
1769,
565,
563,
273,
1408,
31,
565,
3133,
3024,
10412,
273,
374,
31,
565,
1323,
261,
31806,
10412,
480,
300,
21,
13,
288,
1377,
563,
273,
563,
397,
585,
6581,
397,
9929,
18,
28023,
12,
31806,
3024,
10412,
16,
3133,
10412,
1769,
1377,
3133,
3024,
10412,
273,
3133,
10412,
397,
404,
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 = (SimpleNode)SimpleNode.jjtCreate(this, JJTOR_2OP); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); jjtreeOpenNodeScope(jjtn001); try { xor_expr(); } catch (Throwable jjte001) { if (jjtc001) { jjtree.clearNodeScope(jjtn001); jjtc001 = false; } else { jjtree.popNode(); } if (jjte001 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte001;} } if (jjte001 instanceof ParseException) { {if (true) throw (ParseException)jjte001;} } {if (true) throw (Error)jjte001;} } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, 2); jjtreeCloseNodeScope(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,
9945,
78,
78,
67,
496,
79,
13332,
78,
78,
67,
496,
79,
13,
288,
1377,
648,
4869,
30,
3639,
274,
3639,
898,
31,
1377,
805,
30,
3639,
10684,
67,
11821,
21,
63,
10321,
65,
273,
10684,
67,
4507,
31,
3639,
898,
1433,
67,
3657,
31,
1377,
289,
1377,
10684,
67,
21224,
67,
2316,
12,
916,
1769,
5397,
4477,
907,
10684,
5088,
11664,
273,
261,
5784,
907,
13,
5784,
907,
18,
78,
78,
88,
1684,
12,
2211,
16,
804,
46,
56,
916,
67,
22,
3665,
1769,
5397,
1250,
10684,
5111,
11664,
273,
638,
31,
5397,
10684,
3413,
18,
3190,
907,
3876,
12,
78,
78,
5088,
11664,
1769,
5397,
10684,
3413,
3678,
907,
3876,
12,
78,
78,
5088,
11664,
1769,
1377,
775,
288,
3639,
17586,
67,
8638,
5621,
1377,
289,
1044,
261,
15155,
10684,
736,
11664,
13,
288,
5397,
309,
261,
78,
78,
5111,
11664,
13,
288,
15604,
10684,
3413,
18,
8507,
907,
3876,
12,
78,
78,
5088,
11664,
1769,
15604,
10684,
5111,
11664,
273,
629,
31,
5397,
289,
469,
288,
15604,
10684,
3413,
18,
5120,
907,
5621,
5397,
289,
5397,
309,
261,
78,
78,
736,
11664,
1276,
3235,
13,
288,
15604,
288,
430,
261,
3767,
13,
604,
261,
11949,
13,
78,
78,
736,
11664,
31,
97,
5397,
289,
5397,
309,
261,
78,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9945,
78,
78,
67,
496,
79,
13332,
78,
78,
67,
496,
79,
13,
288,
1377,
648,
4869,
30,
3639,
274,
3639,
898,
31,
1377,
805,
30,
3639,
10684,
67,
11821,
21,
63,
10321,
65,
273,
10684,
67,
4507,
31,
3639,
898,
1433,
67,
3657,
31,
1377,
289,
1377,
10684,
67,
21224,
67,
2316,
12,
916,
1769,
5397,
4477,
907,
10684,
5088,
11664,
273,
261,
5784,
907,
13,
5784,
907,
18,
78,
78,
88,
1684,
12,
2211,
16,
804,
46,
56,
916,
67,
22,
2
] |
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) { Map.Entry entry; for (Iterator iterator = receivers.entrySet().iterator(); iterator.hasNext();) { entry = (Map.Entry) iterator.next(); try { destroyReceiver(((UMOMessageReceiver) entry.getValue()), null); } catch (Exception e) { logger.error("Failed to destroy receiver: " + e.getMessage(), e); } receivers.remove(entry.getKey()); } logger.debug("Receivers Disposed"); } if (dispatchers != null) { //Map.Entry entry; logger.debug("Disposing Dispatchers"); Object entry = null; for (Iterator iterator = dispatchers.values().iterator(); iterator.hasNext();) { UMOMessageDispatcher umoMessageDispatcher = (UMOMessageDispatcher) iterator.next(); umoMessageDispatcher.dispose(); } dispatchers.clear(); logger.debug("Dispatchers Disposed"); } disposeConnector(); if (logger.isInfoEnabled()) logger.info("Connector " + getClass().getName() + " has been disposed."); receivers = null; dispatchers = 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,
1376,
2932,
1669,
24014,
15779,
30,
315,
397,
2900,
7675,
17994,
10663,
5411,
1194,
18,
4148,
2932,
1669,
24014,
9797,
6760,
8863,
3639,
289,
3639,
309,
261,
8606,
6760,
480,
446,
13,
3639,
288,
5411,
1635,
18,
1622,
1241,
31,
5411,
364,
261,
3198,
2775,
273,
22686,
18,
4099,
694,
7675,
9838,
5621,
2775,
18,
5332,
2134,
5621,
13,
5411,
288,
7734,
1241,
273,
261,
863,
18,
1622,
13,
2775,
18,
4285,
5621,
7734,
775,
7734,
288,
10792,
5546,
12952,
12443,
12,
2799,
51,
1079,
12952,
13,
1241,
18,
24805,
1435,
3631,
446,
1769,
7734,
289,
1044,
261,
503,
425,
13,
7734,
288,
10792,
1194,
18,
1636,
2932,
2925,
358,
5546,
5971,
30,
315,
397,
425,
18,
24906,
9334,
425,
1769,
7734,
289,
7734,
22686,
18,
4479,
12,
4099,
18,
588,
653,
10663,
5411,
289,
5411,
1194,
18,
4148,
2932,
4779,
6760,
3035,
7423,
8863,
3639,
289,
3639,
309,
261,
10739,
414,
480,
446,
13,
3639,
288,
5411,
368,
863,
18,
1622,
1241,
31,
5411,
1194,
18,
4148,
2932,
1669,
24014,
11552,
414,
8863,
15604,
364,
261,
3198,
2775,
273,
3435,
414,
18,
2372,
7675,
9838,
5621,
2775,
18,
5332,
2134,
5621,
13,
5411,
288,
7734,
587,
5980,
1079,
6681,
9570,
83,
1079,
6681,
273,
261,
2799,
51,
1079,
6681,
13,
2775,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1376,
2932,
1669,
24014,
15779,
30,
315,
397,
2900,
7675,
17994,
10663,
5411,
1194,
18,
4148,
2932,
1669,
24014,
9797,
6760,
8863,
3639,
289,
3639,
309,
261,
8606,
6760,
480,
446,
13,
3639,
288,
5411,
1635,
18,
1622,
1241,
31,
5411,
364,
261,
3198,
2775,
273,
22686,
18,
4099,
694,
7675,
9838,
5621,
2775,
18,
5332,
2134,
5621,
13,
5411,
288,
7734,
1241,
273,
261,
863,
18,
1622,
13,
2775,
18,
4285,
5621,
7734,
775,
7734,
288,
10792,
5546,
12952,
12443,
12,
2799,
51,
2
] |
|
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 DBusException("Cannot watch for signals based on well known bus name as source, only unique names."); if (!source.matches(CONNID_REGEX)||source.length() > MAX_NAME_LENGTH) throw new DBusException("Invalid bus name ("+source+")"); String objectpath = importedObjects.get(object).objectpath; if (!objectpath.matches(OBJECT_REGEX)||objectpath.length() > MAX_NAME_LENGTH) throw new DBusException("Invalid object path ("+objectpath+")"); addSigHandler(new DBusMatchRule(type, source, objectpath), handler); } | 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,
16051,
2290,
407,
11208,
18,
1106,
18,
291,
7961,
1265,
12,
723,
3719,
604,
394,
24034,
2932,
1248,
432,
2383,
407,
12032,
8863,
1377,
309,
261,
3168,
18,
8436,
12,
3000,
55,
1985,
67,
12472,
3719,
604,
394,
2383,
407,
503,
2932,
4515,
4267,
364,
11505,
2511,
603,
5492,
4846,
5766,
508,
487,
1084,
16,
1338,
3089,
1257,
1199,
1769,
1377,
309,
16051,
3168,
18,
8436,
12,
27733,
734,
67,
12472,
14047,
96,
3168,
18,
2469,
1435,
405,
4552,
67,
1985,
67,
7096,
13,
540,
604,
394,
2383,
407,
503,
2932,
1941,
5766,
508,
7566,
15,
3168,
9078,
2225,
1769,
1377,
514,
733,
803,
273,
9101,
4710,
18,
588,
12,
1612,
2934,
1612,
803,
31,
1377,
309,
16051,
1612,
803,
18,
8436,
12,
9422,
67,
12472,
14047,
96,
1612,
803,
18,
2469,
1435,
405,
4552,
67,
1985,
67,
7096,
13,
540,
604,
394,
2383,
407,
503,
2932,
1941,
733,
589,
7566,
15,
1612,
803,
9078,
2225,
1769,
1377,
527,
8267,
1503,
12,
2704,
2383,
407,
2060,
2175,
12,
723,
16,
1084,
16,
733,
803,
3631,
1838,
1769,
282,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
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,
16051,
2290,
407,
11208,
18,
1106,
18,
291,
7961,
1265,
12,
723,
3719,
604,
394,
24034,
2932,
1248,
432,
2383,
407,
12032,
8863,
1377,
309,
261,
3168,
18,
8436,
12,
3000,
55,
1985,
67,
12472,
3719,
604,
394,
2383,
407,
503,
2932,
4515,
4267,
364,
11505,
2511,
603,
5492,
4846,
5766,
508,
487,
1084,
16,
1338,
3089,
1257,
1199,
1769,
1377,
309,
16051,
3168,
18,
8436,
12,
27733,
734,
67,
12472,
14047,
96,
3168,
18,
2469,
1435,
405,
4552,
67,
1985,
67,
2
] |
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: " + answer ); } return answer; } | 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,
5803,
273,
1984,
18,
588,
1396,
12,
529,
1769,
3639,
289,
3639,
309,
261,
613,
18,
291,
2829,
1526,
1435,
262,
288,
5411,
514,
5803,
780,
273,
446,
31,
775,
288,
5803,
780,
273,
5803,
18,
10492,
5621,
289,
1044,
12,
503,
431,
13,
2618,
309,
12,
13490,
780,
631,
2011,
597,
5803,
5,
33,
2011,
13,
5803,
780,
273,
315,
434,
667,
315,
397,
5803,
18,
588,
797,
5621,
613,
18,
4148,
12,
315,
9794,
310,
731,
2190,
30,
315,
397,
508,
397,
315,
5803,
30,
315,
397,
5803,
780,
11272,
3639,
289,
3639,
327,
5803,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
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,
5803,
273,
1984,
18,
588,
1396,
12,
529,
1769,
3639,
289,
3639,
309,
261,
613,
18,
291,
2829,
1526,
1435,
262,
288,
5411,
514,
5803,
780,
273,
446,
31,
775,
288,
5803,
780,
273,
5803,
18,
10492,
5621,
289,
1044,
12,
503,
431,
13,
2618,
309,
12,
13490,
780,
631,
2011,
597,
5803,
5,
33,
2011,
13,
5803,
780,
273,
315,
434,
667,
315,
397,
5803,
18,
588,
797,
5621,
613,
18,
4148,
12,
315,
9794,
310,
731,
2190,
30,
315,
397,
508,
397,
2
] |
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; } cflowSet.remove(metaData); m_controlFlowLog.set(cflowSet); } | 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,
8863,
3639,
1000,
276,
2426,
694,
273,
261,
694,
13,
81,
67,
7098,
5249,
1343,
18,
588,
5621,
3639,
309,
261,
71,
2426,
694,
422,
446,
13,
288,
5411,
327,
31,
3639,
289,
3639,
276,
2426,
694,
18,
4479,
12,
3901,
751,
1769,
3639,
312,
67,
7098,
5249,
1343,
18,
542,
12,
71,
2426,
694,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
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,
8863,
3639,
1000,
276,
2426,
694,
273,
261,
694,
13,
81,
67,
7098,
5249,
1343,
18,
588,
5621,
3639,
309,
261,
71,
2426,
694,
422,
446,
13,
288,
5411,
327,
31,
3639,
289,
3639,
276,
2426,
694,
18,
4479,
12,
3901,
751,
1769,
3639,
312,
67,
7098,
5249,
1343,
18,
542,
12,
71,
2426,
694,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
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,
467,
16997,
2057,
5275,
1706,
919,
294,
315,
6862,
202,
15,
5275,
1119,
397,
3552,
3287,
14827,
1199,
16,
6862,
202,
1345,
9455,
668,
18,
9347,
67,
21130,
10109,
67,
7998,
1769,
202,
202,
12107,
1082,
202,
1397,
14756,
1119,
273,
5275,
1119,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
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,
467,
16997,
2057,
5275,
1706,
919,
294,
315,
6862,
202,
15,
5275,
1119,
397,
3552,
3287,
14827,
1199,
16,
6862,
202,
1345,
9455,
668,
18,
9347,
67,
21130,
10109,
67,
7998,
1769,
202,
202,
12107,
1082,
202,
1397,
14756,
1119,
273,
5275,
1119,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
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,
2649,
422,
446,
13,
288,
1082,
202,
2649,
273,
1408,
31,
759,
8,
3993,
17,
5106,
17,
21,
8,
202,
202,
97,
3639,
2077,
2224,
18,
542,
1528,
12,
2649,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
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,
2649,
422,
446,
13,
288,
1082,
202,
2649,
273,
1408,
31,
759,
8,
3993,
17,
5106,
17,
21,
8,
202,
202,
97,
3639,
2077,
2224,
18,
542,
1528,
12,
2649,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
} } | } } | 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.server.User user ; // Check if the user logged on if ( (user = Check.userLoggedOn(req,res,"StartDoc" )) == null ) { return ; } res.setContentType("text/html"); PrintWriter out = res.getWriter(); String whichFile = (String)session.getAttribute("file") ; if (req.getParameter("back")!=null) { res.sendRedirect("AdminQuestions") ; return; } List lines = (List)session.getAttribute("lines"); String date1 = ""; String date2 = ""; String text = ""; if (req.getParameter("save")!=null) { addLineToList(req,lines); IMCServiceRMI.setPollList(imcServer, whichFile+"enkat.txt", lines); //tillbaks till res.sendRedirect("AdminQuestions") ; return; }else{ String options = IMCServiceRMI.parseExternalDoc(imcServer, null, OPTION_LINE , user.getLangPrefix(),DOCTYPE_FORTUNES+""); String errMsgDate = IMCServiceRMI.parseExternalDoc(imcServer, null, DATE_ERROR , user.getLangPrefix(), DOCTYPE_FORTUNES+""); String errMsgTxt = IMCServiceRMI.parseExternalDoc(imcServer, null, TEXT_ERROR , user.getLangPrefix(), DOCTYPE_FORTUNES+""); date1 = ""; date2 = ""; text = ""; if ((req.getParameter("add")).equals("add")){ //hmta parametrar date1 = (req.getParameter("date1")).trim(); date2 = (req.getParameter("date2")).trim(); text = (req.getParameter("text")).trim(); boolean ok = true; if( !checkDate(date1) ) { date1=errMsgDate; ok = false; } if( !checkDate(date2) ) { date2=errMsgDate; ok = false; } if( text.length()<1 ){ text=errMsgTxt; ok = false; } if( ok ){ addLineToList(req,lines); date1 = ""; date2 = ""; text = ""; } } if (req.getParameter("edit")!=null){ //hmta raden som r markerad String row = req.getParameter("AdminFile") ; //lgg till en eventuellt redan uppflyttad rad addLineToList(req,lines); if (!row.equals("No_Choice")){ Integer theRow = Integer.decode(row); Poll poll = (Poll)lines.get(theRow.intValue()); DateRange dates = poll.getDateRange(); date1 = dateForm.format(dates.getStartDate()); date2 = dateForm.format(dates.getEndDate()); text = poll.getQuestion(); lines.remove(poll); } } if (req.getParameter("remove")!=null){ //hmta de rader som ska tas bort String rows[] = req.getParameterValues("AdminFile") ; //ta bort de som ska raderas for(int i=0;i<rows.length;i++){ if (!rows[i].equals("No_Choice")){ lines.remove( lines.get(Integer.parseInt(rows[i])) ); } } } //this part is always done its the creation and sending of the page to the browser session.setAttribute("lines",lines); StringBuffer buff = createOptionList(req,lines, imcServer, user ); //Add info for parsing to a Vector and parse it with a template to a htmlString that is printed Vector values = new Vector(); values.add("#date1#"); values.add(date1); values.add("#date2#"); values.add(date2); values.add("#text#"); values.add(text); values.add("#file#"); values.add(whichFile); values.add("#options#"); values.add(buff.toString()); String parsed = IMCServiceRMI.parseExternalDoc(imcServer, values, ADMIN_TEMPLATE, user.getLangPrefix(), DOCTYPE_FORTUNES+""); out.print(parsed); return; } }//end doPost() | 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,
202,
202,
780,
1479,
273,
1111,
18,
588,
1864,
2932,
2594,
7923,
274,
1082,
202,
780,
709,
71,
2081,
273,
13134,
18,
588,
3748,
23218,
2932,
3666,
3567,
3113,
2564,
13,
274,
202,
202,
2940,
2157,
1339,
273,
1111,
18,
588,
2157,
5621,
202,
202,
381,
710,
18,
3567,
18,
1299,
729,
274,
202,
202,
759,
2073,
309,
326,
729,
7545,
603,
202,
202,
430,
261,
261,
1355,
273,
2073,
18,
1355,
19862,
1398,
12,
3658,
16,
455,
10837,
1685,
1759,
6,
8623,
422,
446,
262,
202,
95,
1082,
202,
2463,
274,
202,
202,
97,
202,
202,
455,
18,
542,
8046,
2932,
955,
19,
2620,
8863,
202,
202,
5108,
2289,
596,
273,
400,
18,
588,
2289,
5621,
202,
202,
780,
1492,
812,
273,
261,
780,
13,
3184,
18,
588,
1499,
2932,
768,
7923,
274,
202,
202,
430,
261,
3658,
18,
588,
1662,
2932,
823,
7923,
5,
33,
2011,
13,
202,
95,
1082,
202,
455,
18,
4661,
5961,
2932,
4446,
30791,
1115,
7923,
274,
1082,
202,
2463,
31,
202,
202,
97,
1082,
202,
682,
2362,
273,
261,
682,
13,
3184,
18,
588,
1499,
2932,
3548,
8863,
202,
202,
780,
1509,
21,
273,
1408,
31,
202,
202,
780,
1509,
22,
273,
1408,
31,
202,
202,
780,
977,
225,
273,
1408,
31,
202,
202,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
202,
202,
780,
1479,
273,
1111,
18,
588,
1864,
2932,
2594,
7923,
274,
1082,
202,
780,
709,
71,
2081,
273,
13134,
18,
588,
3748,
23218,
2932,
3666,
3567,
3113,
2564,
13,
274,
202,
202,
2940,
2157,
1339,
273,
1111,
18,
588,
2157,
5621,
202,
202,
381,
710,
18,
3567,
18,
1299,
729,
274,
202,
202,
759,
2073,
309,
326,
729,
7545,
603,
202,
202,
430,
261,
261,
1355,
273,
2073,
18,
1355,
19862,
1398,
12,
3658,
16,
455,
10837,
1685,
1759,
6,
8623,
2
] |
_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(); state_end(_t); _t = _retTree; _t = __t1799; _t = _t.getNextSibling(); _retTree = _t; } | 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,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
9053,
1001,
88,
4033,
2733,
273,
389,
88,
31,
202,
202,
9053,
1853,
22152,
23,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
16560,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
9053,
1853,
22152,
24,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
29221,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
5621,
202,
202,
2019,
67,
409,
24899,
88,
1769,
202,
202,
67,
88,
273,
389,
1349,
2471,
31,
202,
202,
67,
88,
273,
1001,
88,
4033,
2733,
31,
202,
202,
67,
88,
273,
389,
88,
18,
588,
2134,
10291,
5621,
202,
202,
67,
1349,
2471,
273,
389,
88,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
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,
9183,
8560,
13,
692,
446,
294,
261,
9053,
13,
67,
88,
31,
9506,
202,
9053,
1001,
88,
4033,
2733,
273,
389,
88,
31,
202,
202,
9053,
1853,
22152,
23,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
16,
16560,
1769,
202,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
202,
202,
9053,
1853,
22152,
24,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
1916,
24899,
88,
2
] |
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_TAB_POSITION); setTabPosition(tabLocation); setTabStyle(preferenceStore.getBoolean(IPreferenceConstants.SHOW_TRADITIONAL_STYLE_TABS)); // do not support close box on unselected tabs. tabFolder.setUnselectedCloseVisible(false); // do not support icons in unselected tabs. tabFolder.setUnselectedImageVisible(false); // set basic colors ColorSchemeService.setTabAttributes(this, tabFolder); updateGradient(); } | 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,
7954,
3631,
394,
4956,
1769,
202,
202,
1268,
378,
3899,
3246,
3899,
273,
3181,
378,
3899,
5621,
9506,
202,
19141,
2257,
18,
1289,
1396,
15744,
12,
4468,
15744,
1769,
202,
202,
474,
3246,
2735,
273,
11555,
2257,
18,
588,
1702,
12,
45,
9624,
2918,
18,
12145,
67,
28899,
67,
15258,
1769,
4697,
202,
542,
5661,
2555,
12,
7032,
2735,
1769,
202,
202,
542,
5661,
2885,
12,
19141,
2257,
18,
588,
5507,
12,
45,
9624,
2918,
18,
16677,
67,
4349,
1880,
30525,
67,
15066,
67,
28899,
55,
10019,
9506,
202,
759,
741,
486,
2865,
1746,
3919,
603,
640,
8109,
10920,
18,
202,
202,
7032,
3899,
18,
542,
984,
8109,
4605,
6207,
12,
5743,
1769,
9506,
202,
759,
741,
486,
2865,
17455,
316,
640,
8109,
10920,
18,
202,
202,
7032,
3899,
18,
542,
984,
8109,
2040,
6207,
12,
5743,
1769,
9506,
202,
759,
444,
5337,
5740,
202,
202,
2957,
9321,
1179,
18,
542,
5661,
2498,
12,
2211,
16,
3246,
3899,
1769,
202,
202,
2725,
15651,
5621,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
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,
7954,
3631,
394,
4956,
1769,
202,
202,
1268,
378,
3899,
3246,
3899,
273,
3181,
378,
3899,
5621,
9506,
202,
19141,
2257,
18,
1289,
1396,
15744,
12,
4468,
15744,
1769,
202,
202,
474,
3246,
2735,
273,
11555,
2257,
18,
588,
1702,
12,
45,
9624,
2918,
18,
12145,
67,
28899,
67,
15258,
1769,
4697,
202,
542,
5661,
2555,
12,
7032,
2735,
1769,
202,
202,
542,
5661,
2885,
12,
19141,
2257,
18,
588,
5507,
12,
45,
9624,
2918,
18,
16677,
67,
4349,
1880,
30525,
67,
15066,
2
] |
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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; step= null; PathExpr elementContent= null; if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ELEMENT: { AST __t320 = _t; e = _t==ASTNULL ? null :(AST)_t; match(_t,ELEMENT); _t = _t.getFirstChild(); ElementConstructor c= new ElementConstructor(context, e.getText()); path.add(c); step= c; { _loop326: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==ATTRIBUTE)) { AST __t322 = _t; attrName = _t==ASTNULL ? null :(AST)_t; match(_t,ATTRIBUTE); _t = _t.getFirstChild(); AttributeConstructor attrib= new AttributeConstructor(context, attrName.getText()); c.addAttribute(attrib); { int _cnt325=0; _loop325: do { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ATTRIBUTE_CONTENT: { attrVal = (AST)_t; match(_t,ATTRIBUTE_CONTENT); _t = _t.getNextSibling(); attrib.addValue(attrVal.getText()); break; } case LCURLY: { AST __t324 = _t; AST tmp66_AST_in = (AST)_t; match(_t,LCURLY); _t = _t.getFirstChild(); PathExpr enclosed= new PathExpr(context); expr(_t,enclosed); _t = _retTree; attrib.addEnclosedExpr(enclosed); _t = __t324; _t = _t.getNextSibling(); break; } default: { if ( _cnt325>=1 ) { break _loop325; } else {throw new NoViableAltException(_t);} } } _cnt325++; } while (true); } _t = __t322; _t = _t.getNextSibling(); } else { break _loop326; } } while (true); } { _loop328: do { if (_t==null) _t=ASTNULL; if ((_tokenSet_1.member(_t.getType()))) { if (elementContent == null) { elementContent= new PathExpr(context); c.setContent(elementContent); } constructor(_t,elementContent); _t = _retTree; } else { break _loop328; } } while (true); } _t = __t320; _t = _t.getNextSibling(); break; } case TEXT: { AST __t329 = _t; pcdata = _t==ASTNULL ? null :(AST)_t; match(_t,TEXT); _t = _t.getFirstChild(); TextConstructor text= new TextConstructor(context, pcdata.getText()); path.add(text); step= text; _t = __t329; _t = _t.getNextSibling(); break; } case XML_COMMENT: { AST __t330 = _t; cdata = _t==ASTNULL ? null :(AST)_t; match(_t,XML_COMMENT); _t = _t.getFirstChild(); CommentConstructor comment= new CommentConstructor(context, cdata.getText()); path.add(comment); step= comment; _t = __t330; _t = _t.getNextSibling(); break; } case XML_PI: { AST __t331 = _t; p = _t==ASTNULL ? null :(AST)_t; match(_t,XML_PI); _t = _t.getFirstChild(); PIConstructor pi= new PIConstructor(context, p.getText()); path.add(pi); step= pi; _t = __t331; _t = _t.getNextSibling(); break; } case LCURLY: { AST __t332 = _t; AST tmp67_AST_in = (AST)_t; match(_t,LCURLY); _t = _t.getFirstChild(); EnclosedExpr subexpr= new EnclosedExpr(context); expr(_t,subexpr); _t = _retTree; path.addPath(subexpr); step= subexpr; _t = __t332; _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } _retTree = _t; return step; } | 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,
31,
9506,
202,
9053,
3885,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
9053,
425,
273,
446,
31,
202,
202,
9053,
11583,
273,
446,
31,
202,
202,
9053,
1604,
3053,
273,
446,
31,
202,
202,
9053,
6125,
892,
273,
446,
31,
202,
202,
9053,
20712,
273,
446,
31,
202,
202,
9053,
293,
273,
446,
31,
6862,
202,
4119,
33,
446,
31,
1082,
202,
743,
4742,
930,
1350,
33,
446,
31,
25083,
202,
430,
261,
67,
88,
631,
2011,
13,
389,
88,
33,
9053,
8560,
31,
202,
202,
9610,
261,
389,
88,
18,
588,
559,
10756,
288,
202,
202,
3593,
13424,
30,
202,
202,
95,
1082,
202,
9053,
1001,
88,
31273,
273,
389,
88,
31,
1082,
202,
73,
273,
389,
88,
631,
9053,
8560,
692,
446,
294,
12,
9053,
13,
67,
88,
31,
1082,
202,
1916,
24899,
88,
16,
10976,
1769,
1082,
202,
67,
88,
273,
389,
88,
18,
588,
3759,
1763,
5621,
6862,
6862,
202,
1046,
6293,
276,
33,
394,
3010,
6293,
12,
2472,
16,
425,
18,
588,
1528,
10663,
25083,
202,
803,
18,
1289,
12,
71,
1769,
25083,
202,
4119,
33,
276,
31,
6862,
9506,
202,
95,
1082,
202,
67,
6498,
27284,
30,
1082,
202,
2896,
288,
9506,
202,
430,
261,
67,
88,
631,
2011,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
31,
9506,
202,
9053,
3885,
67,
9053,
67,
267,
273,
261,
9053,
13,
67,
88,
31,
202,
202,
9053,
425,
273,
446,
31,
202,
202,
9053,
11583,
273,
446,
31,
202,
202,
9053,
1604,
3053,
273,
446,
31,
202,
202,
9053,
6125,
892,
273,
446,
31,
202,
202,
9053,
20712,
273,
446,
31,
202,
202,
9053,
293,
273,
446,
31,
6862,
202,
4119,
33,
446,
31,
1082,
202,
743,
4742,
930,
1350,
33,
446,
31,
25083,
202,
430,
261,
67,
88,
631,
2011,
2
] |
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 = readCacheInputAsDOM4J(context, INPUT_CONFIG).getRootElement(); String qname = config.element("root").getText(); String namespaceURI; String localName; // Get declared namespaces int columnPosition = qname.indexOf(':'); if (columnPosition == -1) { namespaceURI = ""; localName = qname; } else { String prefix = qname.substring(0, columnPosition); localName = qname.substring(columnPosition + 1); namespaceURI = null; for (Iterator i = config.elements("namespace").iterator(); i.hasNext();) { Element namespaceElement = (Element) i.next(); if (namespaceElement.attributeValue("prefix").equals(prefix)) { namespaceURI = namespaceElement.attributeValue("uri"); break; } } if (namespaceURI == null) throw new ValidationException("Undeclared namespace prefix '" + prefix + "'", (LocationData) config.getData()); } // Start document contentHandler.startDocument(); contentHandler.startElement(namespaceURI, localName, qname, XMLUtils.EMPTY_ATTRIBUTES); // Processor input processors for (Iterator i = getInputsByName(INPUT_DATA).iterator(); i.hasNext();) { ProcessorInput input = (ProcessorInput) i.next(); readInputAsSAX(context, input, new EmbeddedDocumentContentHandler(contentHandler)); } // End document contentHandler.endElement(namespaceURI, localName, qname); contentHandler.endDocument(); } catch (SAXException e) { throw new OXFException(e); } } public OutputCacheKey getKeyImpl(PipelineContext pipelineContext) { // Create input information final List keys = new ArrayList(); final Map inputsMap = getConnectedInputs(); for (Iterator i = inputsMap.keySet().iterator(); i.hasNext();) { final List currentInputs = (List) inputsMap.get(i.next()); for (Iterator j = currentInputs.iterator(); j.hasNext();) { final OutputCacheKey outputKey = getInputKey(pipelineContext, (ProcessorInput) j.next()); if (outputKey == null) return null; keys.add(outputKey); } } // Add local key if needed if (supportsLocalKeyValidity()) { final CacheKey localKey = getLocalKey(pipelineContext); if (localKey == null) return null; keys.add(localKey); } // Concatenate current processor info and input info final CacheKey[] outputKeys = new CacheKey[ keys.size() ]; keys.toArray(outputKeys); final Class processorClass = getProcessorClass(); final String outputName = getName(); return new CompoundOutputCacheKey(processorClass, outputName, outputKeys); } }; addOutput(name, output); return output; } | 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,
8798,
1042,
819,
16,
3697,
1503,
913,
1503,
13,
288,
7734,
775,
288,
10792,
368,
2720,
642,
10792,
3010,
642,
273,
855,
1649,
1210,
1463,
8168,
24,
46,
12,
2472,
16,
12943,
67,
7203,
2934,
588,
2375,
1046,
5621,
10792,
514,
12621,
273,
642,
18,
2956,
2932,
3085,
20387,
588,
1528,
5621,
10792,
514,
19421,
31,
10792,
514,
11927,
31,
10792,
368,
968,
7886,
7728,
10792,
509,
1057,
2555,
273,
12621,
18,
31806,
2668,
2497,
1769,
10792,
309,
261,
2827,
2555,
422,
300,
21,
13,
288,
13491,
19421,
273,
1408,
31,
13491,
11927,
273,
12621,
31,
10792,
289,
469,
288,
13491,
514,
1633,
273,
12621,
18,
28023,
12,
20,
16,
1057,
2555,
1769,
13491,
11927,
273,
12621,
18,
28023,
12,
2827,
2555,
397,
404,
1769,
13491,
19421,
273,
446,
31,
13491,
364,
261,
3198,
277,
273,
642,
18,
6274,
2932,
4937,
20387,
9838,
5621,
277,
18,
5332,
2134,
5621,
13,
288,
18701,
3010,
1981,
1046,
273,
261,
1046,
13,
277,
18,
4285,
5621,
18701,
309,
261,
4937,
1046,
18,
4589,
620,
2932,
3239,
20387,
14963,
12,
3239,
3719,
288,
27573,
19421,
273,
1981,
1046,
18,
4589,
620,
2932,
1650,
8863,
27573,
898,
31,
18701,
289,
13491,
289,
13491,
309,
261,
4937,
3098,
422,
446,
13,
18701,
604,
394,
15614,
2932,
984,
16571,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8798,
1042,
819,
16,
3697,
1503,
913,
1503,
13,
288,
7734,
775,
288,
10792,
368,
2720,
642,
10792,
3010,
642,
273,
855,
1649,
1210,
1463,
8168,
24,
46,
12,
2472,
16,
12943,
67,
7203,
2934,
588,
2375,
1046,
5621,
10792,
514,
12621,
273,
642,
18,
2956,
2932,
3085,
20387,
588,
1528,
5621,
10792,
514,
19421,
31,
10792,
514,
11927,
31,
10792,
368,
968,
7886,
7728,
10792,
509,
1057,
2555,
273,
12621,
18,
31806,
2668,
2497,
1769,
10792,
309,
261,
2827,
2555,
422,
300,
21,
2
] |
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-lookup", mojoDescriptor.getInstantiationStrategy() ); assertNotNull( mojoDescriptor.getRequiresDependencyResolution() ); // check the parameter. checkParameter( (Parameter) mojoDescriptor.getParameters().get( 0 ) ); } | 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,
11272,
3639,
1815,
8867,
12,
315,
3341,
18,
19211,
18,
81,
7638,
18,
6642,
18,
4094,
18,
8812,
18,
4709,
49,
10007,
3113,
312,
10007,
3187,
18,
588,
13621,
1435,
11272,
3639,
368,
1021,
3751,
1410,
506,
3467,
3639,
1815,
8867,
12,
315,
457,
17,
8664,
3113,
312,
10007,
3187,
18,
588,
10675,
7072,
4525,
1435,
11272,
3639,
25395,
12,
312,
10007,
3187,
18,
291,
7787,
11098,
3705,
1435,
11272,
3639,
368,
866,
326,
1569,
18,
3639,
866,
1662,
12,
261,
1662,
13,
312,
10007,
3187,
18,
588,
2402,
7675,
588,
12,
374,
262,
11272,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
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,
11272,
3639,
1815,
8867,
12,
315,
3341,
18,
19211,
18,
81,
7638,
18,
6642,
18,
4094,
18,
8812,
18,
4709,
49,
10007,
3113,
312,
10007,
3187,
18,
588,
13621,
1435,
11272,
3639,
368,
1021,
3751,
1410,
506,
3467,
3639,
1815,
8867,
12,
315,
457,
17,
8664,
3113,
312,
10007,
3187,
18,
588,
10675,
7072,
4525,
1435,
11272,
3639,
25395,
12,
312,
10007,
3187,
18,
291,
7787,
11098,
3705,
1435,
11272,
3639,
368,
866,
326,
1569,
18,
3639,
866,
1662,
12,
261,
1662,
13,
312,
10007,
2
] |
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' && keyType <= 'Z') { RequestHandler handler = _handlers[keyType]; if (handler != null) { handler.processRequest(objectKey, request.operation, parameters, output); return; } } ReplyHeader_1_2 reply = new ReplyHeader_1_2(); reply.request_id = request.request_id; org.apache.geronimo.interop.rmi.iiop.ObjectInputStream objectIn; org.apache.geronimo.interop.rmi.iiop.ObjectOutputStream objectOut; if (SIMPLE_IDL || keyType == 'N' || keyType == 'J') { // Name Service and JMS use simple IDL interoperability. objectIn = org.apache.geronimo.interop.rmi.iiop.SimpleObjectInputStream.getInstance(parameters); objectOut = org.apache.geronimo.interop.rmi.iiop.SimpleObjectOutputStream.getInstance(results); } else { // Otherwise use RMI-IIOP interoperability. objectIn = org.apache.geronimo.interop.rmi.iiop.ObjectInputStream.getInstance(parameters); objectOut = org.apache.geronimo.interop.rmi.iiop.ObjectOutputStream.getInstance(results); } try { String objectName = null; for (int colonPos = 0; colonPos < keyLength; colonPos++) { if (objectKey[colonPos] == ':') { objectName = UTF8.toString(objectKey, 0, colonPos); int newKeyLength = keyLength - colonPos - 1; byte[] newObjectKey = new byte[newKeyLength]; System.arraycopy(objectKey, colonPos + 1, newObjectKey, 0, newKeyLength); objectKey = newObjectKey; break; } } if (objectName == null) { objectName = UTF8.toString(objectKey); } /* if (objectName.startsWith("EJB~")) { // Compact encoding of component class names, // saves 11 bytes per request. objectName = "ejb.components." + objectName.substring(4); } */ processServiceContext(request); /* Object object; try { object = null; //_nameService.lookup(objectName); } catch (javax.naming.NameNotFoundException notFound) { warnLookupFailed(_clientInfo, notFound); throw new org.omg.CORBA.OBJECT_NOT_EXIST(objectName); } if (object instanceof RemoteInterface) { RemoteInterface skeleton = ((RemoteInterface)object).$getSkeleton(); skeleton.$invoke(request.operation, objectKey, objectIn, objectOut); if (objectOut.hasException()) { reply.reply_status = ReplyStatusType_1_2.USER_EXCEPTION; } else { reply.reply_status = ReplyStatusType_1_2.NO_EXCEPTION; } output.write_reply(reply, results); } else { warnInvokeFailedNoRemoteInterface(_clientInfo, object, object.getClass()); throw new org.omg.CORBA.OBJECT_NOT_EXIST(objectName); } */ Object object; try { object = _nameService.lookup(objectName); } catch (javax.naming.NameNotFoundException notFound) { object = AdapterManager.getInstance().getAdapter(objectName); if (object == null) { warnLookupFailed(_clientInfo, notFound); throw new org.omg.CORBA.OBJECT_NOT_EXIST(objectName); } }// Adapter a = AdapterManager.getInstance().getAdapter(objectName);// if (a != null) if (object != null && object instanceof Adapter) { Adapter a = (Adapter) object; //RemoteInterface skeleton = a.getRemoteInterface(); a.invoke(request.operation, objectKey, objectIn, objectOut); if (objectOut.hasException()) { reply.reply_status = ReplyStatusType_1_2.USER_EXCEPTION; } else { reply.reply_status = ReplyStatusType_1_2.NO_EXCEPTION; } output.write_reply(reply, results); } else { throw new org.omg.CORBA.OBJECT_NOT_EXIST(objectName); } } catch (Exception ex) { warnSystemException(_clientInfo, ex); results = CdrOutputStream.getInstance(); // in case we already wrote to it results.write_SystemException(ex, _writeSystemExceptionStackTrace); reply.reply_status = ReplyStatusType_1_2.SYSTEM_EXCEPTION; output.write_reply(reply, results); } } | 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,
6455,
653,
12,
2293,
18,
3299,
1769,
3639,
509,
31611,
273,
733,
653,
18,
2469,
31,
3639,
509,
14867,
273,
31611,
422,
374,
692,
374,
294,
733,
653,
63,
20,
15533,
3639,
309,
261,
856,
559,
1545,
296,
37,
11,
597,
14867,
1648,
296,
62,
6134,
288,
5411,
25106,
1838,
273,
389,
11046,
63,
856,
559,
15533,
5411,
309,
261,
4176,
480,
446,
13,
288,
7734,
1838,
18,
2567,
691,
12,
1612,
653,
16,
590,
18,
7624,
16,
1472,
16,
876,
1769,
7734,
327,
31,
5411,
289,
3639,
289,
3639,
16202,
1864,
67,
21,
67,
22,
4332,
273,
394,
16202,
1864,
67,
21,
67,
22,
5621,
3639,
4332,
18,
2293,
67,
350,
273,
590,
18,
2293,
67,
350,
31,
3639,
2358,
18,
19211,
18,
693,
265,
381,
83,
18,
30376,
18,
8864,
77,
18,
2835,
556,
18,
921,
4348,
733,
382,
31,
3639,
2358,
18,
19211,
18,
693,
265,
381,
83,
18,
30376,
18,
8864,
77,
18,
2835,
556,
18,
921,
4632,
733,
1182,
31,
3639,
309,
261,
31669,
900,
67,
734,
48,
747,
14867,
422,
296,
50,
11,
747,
14867,
422,
296,
46,
6134,
288,
5411,
368,
1770,
1956,
471,
13270,
999,
4143,
1599,
48,
1554,
4063,
2967,
18,
5411,
733,
382,
273,
2358,
18,
19211,
18,
693,
265,
381,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6455,
653,
12,
2293,
18,
3299,
1769,
3639,
509,
31611,
273,
733,
653,
18,
2469,
31,
3639,
509,
14867,
273,
31611,
422,
374,
692,
374,
294,
733,
653,
63,
20,
15533,
3639,
309,
261,
856,
559,
1545,
296,
37,
11,
597,
14867,
1648,
296,
62,
6134,
288,
5411,
25106,
1838,
273,
389,
11046,
63,
856,
559,
15533,
5411,
309,
261,
4176,
480,
446,
13,
288,
7734,
1838,
18,
2567,
691,
12,
1612,
653,
16,
590,
18,
7624,
16,
1472,
16,
876,
1769,
7734,
2
] |
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; // white spaces case ' ' : case '\t' : case '\f' : case '\r' : case '\013' : // '\v' space_seen++; continue retry; case '#' : // it's a comment while ((c = nextc()) != '\n') { if (c == -1) { return 0; } } // fall through case '\n' : switch (ph.getLexState()) { case LexState.EXPR_BEG : case LexState.EXPR_FNAME : case LexState.EXPR_DOT : continue retry; default : break; } ph.setLexState(LexState.EXPR_BEG); return '\n'; case '*' : if ((c = nextc()) == '*') { ph.setLexState(LexState.EXPR_BEG); if (nextc() == '=') { yyVal = "**"; // ph.newId(Token.tPOW); return Token.tOP_ASGN; } pushback(c); return Token.tPOW; } if (c == '=') { yyVal = "*"; // ph.newId('*'); ph.setLexState(LexState.EXPR_BEG); return Token.tOP_ASGN; } pushback(c); if (IS_ARG() && space_seen != 0 && !ISSPACE(c)) { ph.rb_warning("'*' interpreted as argument prefix"); c = Token.tSTAR; } else if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { c = Token.tSTAR; } else { c = '*'; } ph.setLexState(LexState.EXPR_BEG); return c; case '!' : ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '=') { return Token.tNEQ; } if (c == '~') { return Token.tNMATCH; } pushback(c); return '!'; case '=' : if (lex_p == 1) { // skip embedded rd document if (lex_curline.startsWith("=begin") && (lex_pend == 6 || ISSPACE(lex_curline.charAt(6)))) { for (;;) { lex_p = lex_pend; c = nextc(); if (c == -1) { ph.rb_compile_error("embedded document meets end of file"); return 0; } if (c != '=') { continue; } if (lex_curline.substring(lex_p, lex_p + 3).equals("end") && (lex_p + 3 == lex_pend || ISSPACE(lex_curline.charAt(lex_p + 3)))) { break; } } lex_p = lex_pend; continue retry; } } ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '=') { if ((c = nextc()) == '=') { return Token.tEQQ; } pushback(c); return Token.tEQ; } if (c == '~') { return Token.tMATCH; } else if (c == '>') { return Token.tASSOC; } pushback(c); return '='; case '<' : c = nextc(); if (c == '<' && ph.getLexState() != LexState.EXPR_END && ph.getLexState() != LexState.EXPR_ENDARG && ph.getLexState() != LexState.EXPR_CLASS && (!IS_ARG() || space_seen != 0)) { int c2 = nextc(); int indent = 0; if (c2 == '-') { indent = 1; c2 = nextc(); } if (!ISSPACE(c2) && ("\"'`".indexOf(c2) != -1 || is_identchar(c2))) { return here_document(c2, indent); } pushback(c2); } ph.setLexState(LexState.EXPR_BEG); if (c == '=') { if ((c = nextc()) == '>') { return Token.tCMP; } pushback(c); return Token.tLEQ; } if (c == '<') { if (nextc() == '=') { yyVal = "<<"; // ph.newId(Token.tLSHFT); return Token.tOP_ASGN; } pushback(c); return Token.tLSHFT; } pushback(c); return '<'; case '>' : ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '=') { return Token.tGEQ; } if (c == '>') { if ((c = nextc()) == '=') { yyVal = ">>"; //ph.newId(Token.tRSHFT); return Token.tOP_ASGN; } pushback(c); return Token.tRSHFT; } pushback(c); return '>'; case '"' : return parse_string(c, c, c); case '`' : if (ph.getLexState() == LexState.EXPR_FNAME) { return c; } if (ph.getLexState() == LexState.EXPR_DOT) { return c; } return parse_string(c, c, c); case '\'' : return parse_qstring(c, 0); case '?' : if (ph.getLexState() == LexState.EXPR_END) { ph.setLexState(LexState.EXPR_BEG); return '?'; } c = nextc(); if (c == -1) { /* FIX 1.6.5 */ ph.rb_compile_error("incomplete character syntax"); return 0; } if (IS_ARG() && ISSPACE(c)) { pushback(c); ph.setLexState(LexState.EXPR_BEG); return '?'; } if (c == '\\') { c = read_escape(); } c &= 0xff; yyVal = RubyFixnum.newFixnum(ruby, c); ph.setLexState(LexState.EXPR_END); return Token.tINTEGER; case '&' : if ((c = nextc()) == '&') { ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '=') { yyVal = "&&"; // ph.newId(Token.tANDOP); return Token.tOP_ASGN; } pushback(c); return Token.tANDOP; } else if (c == '=') { yyVal = "&"; //ph.newId('&'); ph.setLexState(LexState.EXPR_BEG); return Token.tOP_ASGN; } pushback(c); if (IS_ARG() && space_seen != 0 && !ISSPACE(c)) { ph.rb_warning("`&' interpeted as argument prefix"); c = Token.tAMPER; } else if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { c = Token.tAMPER; } else { c = '&'; } ph.setLexState(LexState.EXPR_BEG); return c; case '|' : ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '|') { if ((c = nextc()) == '=') { yyVal = "||"; // ph.newId(Token.tOROP); return Token.tOP_ASGN; } pushback(c); return Token.tOROP; } else if (c == '=') { yyVal = "|"; //ph.newId('|'); return Token.tOP_ASGN; } pushback(c); return '|'; case '+' : c = nextc(); if (ph.getLexState() == LexState.EXPR_FNAME || ph.getLexState() == LexState.EXPR_DOT) { if (c == '@') { return Token.tUPLUS; } pushback(c); return '+'; } if (c == '=') { ph.setLexState(LexState.EXPR_BEG); yyVal = "+"; //ph.newId('+'); return Token.tOP_ASGN; } if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID || (IS_ARG() && space_seen != 0 && !ISSPACE(c))) { if (IS_ARG()) { arg_ambiguous(); } ph.setLexState(LexState.EXPR_BEG); pushback(c); if (Character.isDigit((char) c)) { c = '+'; return start_num(c); } return Token.tUPLUS; } ph.setLexState(LexState.EXPR_BEG); pushback(c); return '+'; case '-' : c = nextc(); if (ph.getLexState() == LexState.EXPR_FNAME || ph.getLexState() == LexState.EXPR_DOT) { if (c == '@') { return Token.tUMINUS; } pushback(c); return '-'; } if (c == '=') { ph.setLexState(LexState.EXPR_BEG); yyVal = "-"; // ph.newId('-'); return Token.tOP_ASGN; } if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID || (IS_ARG() && space_seen != 0 && !ISSPACE(c))) { if (IS_ARG()) { arg_ambiguous(); } ph.setLexState(LexState.EXPR_BEG); pushback(c); if (Character.isDigit((char) c)) { c = '-'; return start_num(c); } return Token.tUMINUS; } ph.setLexState(LexState.EXPR_BEG); pushback(c); return '-'; case '.' : ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '.') { if ((c = nextc()) == '.') { return Token.tDOT3; } pushback(c); return Token.tDOT2; } pushback(c); if (!Character.isDigit((char) c)) { ph.setLexState(LexState.EXPR_DOT); return '.'; } c = '.'; // fall through //start_num: case '0' : case '1' : case '2' : case '3' : case '4' : case '5' : case '6' : case '7' : case '8' : case '9' : return start_num(c); case ']' : case '}' : ph.setLexState(LexState.EXPR_END); return c; case ')' : if (cond_nest > 0) { cond_stack >>= 1; } ph.setLexState(LexState.EXPR_END); return c; case ':' : c = nextc(); if (c == ':') { if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID || (IS_ARG() && space_seen != 0)) { ph.setLexState(LexState.EXPR_BEG); return Token.tCOLON3; } ph.setLexState(LexState.EXPR_DOT); return Token.tCOLON2; } pushback(c); if (ph.getLexState() == LexState.EXPR_END || ISSPACE(c)) { ph.setLexState(LexState.EXPR_BEG); return ':'; } ph.setLexState(LexState.EXPR_FNAME); return Token.tSYMBEG; case '/' : if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { return parse_regx('/', '/'); } if ((c = nextc()) == '=') { ph.setLexState(LexState.EXPR_BEG); yyVal = "/"; // ph.newId('/'); return Token.tOP_ASGN; } pushback(c); if (IS_ARG() && space_seen != 0) { if (!ISSPACE(c)) { arg_ambiguous(); return parse_regx('/', '/'); } } ph.setLexState(LexState.EXPR_BEG); return '/'; case '^' : ph.setLexState(LexState.EXPR_BEG); if ((c = nextc()) == '=') { yyVal = "^"; //ph.newId('^'); return Token.tOP_ASGN; } pushback(c); return '^'; case ',' : case ';' : ph.setLexState(LexState.EXPR_BEG); return c; case '~' : if (ph.getLexState() == LexState.EXPR_FNAME || ph.getLexState() == LexState.EXPR_DOT) { if ((c = nextc()) != '@') { pushback(c); } } ph.setLexState(LexState.EXPR_BEG); return '~'; case '(' : if (cond_nest > 0) { cond_stack = (cond_stack << 1) | 0; } if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { c = Token.tLPAREN; } else if (ph.getLexState() == LexState.EXPR_ARG && space_seen != 0) { ph.rb_warning(tok() + " (...) interpreted as method call"); } ph.setLexState(LexState.EXPR_BEG); return c; case '[' : if (ph.getLexState() == LexState.EXPR_FNAME || ph.getLexState() == LexState.EXPR_DOT) { if ((c = nextc()) == ']') { if ((c = nextc()) == '=') { return Token.tASET; } pushback(c); return Token.tAREF; } pushback(c); return '['; } else if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { c = Token.tLBRACK; } else if (IS_ARG() && space_seen != 0) { c = Token.tLBRACK; } ph.setLexState(LexState.EXPR_BEG); return c; case '{' : if (ph.getLexState() != LexState.EXPR_END && ph.getLexState() != LexState.EXPR_ARG) { c = Token.tLBRACE; } ph.setLexState(LexState.EXPR_BEG); return c; case '\\' : c = nextc(); if (c == '\n') { space_seen = 1; continue retry; // skip \\n } pushback(c); return '\\'; case '%' : quotation : for (;;) { if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_MID) { int term; int paren; c = nextc(); if (!Character.isLetterOrDigit((char) c)) { term = c; c = 'Q'; } else { term = nextc(); } if (c == -1 || term == -1) { ph.rb_compile_error("unterminated quoted string meets end of file"); return 0; } paren = term; if (term == '(') { term = ')'; } else if (term == '[') { term = ']'; } else if (term == '{') { term = '}'; } else if (term == '<') { term = '>'; } else { paren = 0; } switch (c) { case 'Q' : return parse_string('"', term, paren); case 'q' : return parse_qstring(term, paren); case 'w' : return parse_quotedwords(term, paren); case 'x' : return parse_string('`', term, paren); case 'r' : return parse_regx(term, paren); default : yyerror("unknown type of %string"); return 0; } } if ((c = nextc()) == '=') { yyVal = "%"; //ph.newId('%'); return Token.tOP_ASGN; } if (IS_ARG() && space_seen != 0 && !ISSPACE(c)) { pushback(c); continue quotation; } break quotation; } ph.setLexState(LexState.EXPR_BEG); pushback(c); return '%'; case '$' : ph.setLexState(LexState.EXPR_END); newtok(); c = nextc(); switch (c) { case '_' : // $_: last read line string c = nextc(); if (is_identchar(c)) { tokadd('$'); tokadd('_'); break; } pushback(c); c = '_'; // fall through case '~' : // $~: match-data ph.getLocalIndex(String.valueOf(c)); // fall through case '*' : // $*: argv case '$' : // $$: pid case '?' : // $?: last status case '!' : // $!: error string case '@' : // $@: error position case '/' : // $/: input record separator case '\\' : // $\: output record separator case ';' : // $;: field separator case ',' : // $,: output field separator case '.' : // $.: last read line number case '=' : // $=: ignorecase case ':' : // $:: load path case '<' : // $<: reading filename case '>' : // $>: default output handle case '\"' : // $": already loaded files tokadd('$'); tokadd(c); tokfix(); yyVal = tok(); // ruby.intern(tok()); return Token.tGVAR; case '-' : tokadd('$'); tokadd(c); c = nextc(); tokadd(c); tokfix(); yyVal = tok(); // ruby.intern(tok()); /* xxx shouldn't check if valid option variable */ return Token.tGVAR; case '&' : // $&: last match case '`' : // $`: string before last match case '\'' : // $': string after last match case '+' : // $+: string matches last paren. yyVal = nf.newBackRef(c); return Token.tBACK_REF; case '1' : case '2' : case '3' : case '4' : case '5' : case '6' : case '7' : case '8' : case '9' : tokadd('$'); while (Character.isDigit((char) c)) { tokadd(c); c = nextc(); } if (is_identchar(c)) { break; } pushback(c); tokfix(); yyVal = nf.newNthRef(Integer.parseInt(tok().substring(1))); return Token.tNTH_REF; default : if (!is_identchar(c)) { pushback(c); return '$'; } case '0' : tokadd('$'); } break; case '@' : c = nextc(); newtok(); tokadd('@'); if (c == '@') { tokadd('@'); c = nextc(); } if (Character.isDigit((char) c)) { ph.rb_compile_error("`@" + c + "' is not a valid instance variable name"); } if (!is_identchar(c)) { pushback(c); return '@'; } break; default : if (!is_identchar(c) || Character.isDigit((char) c)) { ph.rb_compile_error("Invalid char `\\" + c + "' in expression"); continue retry; } newtok(); break; } break retry; } while (is_identchar(c)) { tokadd(c); c = nextc(); } if ((c == '!' || c == '?') && is_identchar(tok().charAt(0)) && !peek('=')) { tokadd(c); } else { pushback(c); } tokfix(); { int result = 0; switch (tok().charAt(0)) { case '$' : ph.setLexState(LexState.EXPR_END); result = Token.tGVAR; break; case '@' : ph.setLexState(LexState.EXPR_END); if (tok().charAt(1) == '@') { result = Token.tCVAR; } else { result = Token.tIVAR; } break; default : if (ph.getLexState() != LexState.EXPR_DOT) { // See if it is a reserved word. kw = rb_reserved_word(tok(), toklen()); if (kw != null) { // enum lex_state int state = ph.getLexState(); ph.setLexState(kw.state); if (state == LexState.EXPR_FNAME) { yyVal = kw.name; // ruby.intern(kw.name); } if (kw.id0 == Token.kDO) { if (COND_P()) { return Token.kDO_COND; } if (CMDARG_P()) { return Token.kDO_BLOCK; } return Token.kDO; } if (state == LexState.EXPR_BEG) { return kw.id0; } else { if (kw.id0 != kw.id1) { ph.setLexState(LexState.EXPR_BEG); } return kw.id1; } } } if (toklast() == '!' || toklast() == '?') { result = Token.tFID; } else { if (ph.getLexState() == LexState.EXPR_FNAME) { if ((c = nextc()) == '=' && !peek('~') && !peek('>') && (!peek('=') || lex_p + 1 < lex_pend && lex_curline.charAt(lex_p + 1) == '>')) { result = Token.tIDENTIFIER; tokadd(c); } else { pushback(c); } } if (result == 0 && Character.isUpperCase(tok().charAt(0))) { result = Token.tCONSTANT; } else { result = Token.tIDENTIFIER; } } if (ph.getLexState() == LexState.EXPR_BEG || ph.getLexState() == LexState.EXPR_DOT || ph.getLexState() == LexState.EXPR_ARG) { ph.setLexState(LexState.EXPR_ARG); } else { ph.setLexState(LexState.EXPR_END); } } tokfix(); yyVal = tok(); // ruby.intern(tok()); return result; } } | 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,
71,
273,
1024,
71,
10756,
288,
7734,
648,
2337,
20,
11,
294,
368,
423,
1506,
7734,
648,
2337,
26565,
11,
294,
368,
3602,
40,
7734,
648,
2337,
20,
1578,
11,
294,
368,
3602,
62,
7734,
648,
300,
21,
294,
368,
409,
434,
2728,
18,
10792,
327,
374,
31,
10792,
368,
9578,
7292,
7734,
648,
296,
296,
294,
7734,
648,
2337,
88,
11,
294,
7734,
648,
2337,
74,
11,
294,
7734,
648,
2337,
86,
11,
294,
7734,
648,
2337,
1611,
23,
11,
294,
368,
2337,
90,
11,
10792,
3476,
67,
15156,
9904,
31,
10792,
1324,
3300,
31,
7734,
648,
6501,
294,
368,
518,
1807,
279,
2879,
10792,
1323,
14015,
71,
273,
1024,
71,
10756,
480,
2337,
82,
6134,
288,
13491,
309,
261,
71,
422,
300,
21,
13,
288,
18701,
327,
374,
31,
13491,
289,
10792,
289,
10792,
368,
4159,
3059,
7734,
648,
2337,
82,
11,
294,
10792,
1620,
261,
844,
18,
588,
14756,
1119,
10756,
288,
13491,
648,
15123,
1119,
18,
2294,
8025,
67,
5948,
43,
294,
13491,
648,
15123,
1119,
18,
2294,
8025,
67,
42,
1985,
294,
13491,
648,
15123,
1119,
18,
2294,
8025,
67,
17591,
294,
18701,
1324,
3300,
31,
13491,
805,
294,
18701,
898,
31,
10792,
289,
10792,
1844,
18,
542,
14756,
1119,
12,
14756,
1119,
18,
2294,
8025,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
71,
273,
1024,
71,
10756,
288,
7734,
648,
2337,
20,
11,
294,
368,
423,
1506,
7734,
648,
2337,
26565,
11,
294,
368,
3602,
40,
7734,
648,
2337,
20,
1578,
11,
294,
368,
3602,
62,
7734,
648,
300,
21,
294,
368,
409,
434,
2728,
18,
10792,
327,
374,
31,
10792,
368,
9578,
7292,
7734,
648,
296,
296,
294,
7734,
648,
2337,
88,
11,
294,
7734,
648,
2337,
74,
11,
294,
7734,
648,
2337,
86,
11,
294,
7734,
648,
2337,
1611,
23,
11,
294,
368,
2
] |
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 work if should be accessable if (request_verified) { //Decode portlet parameters and store them as standard request parameters in this wrapper final Map portletParameters = PortletStateManager.getURLDecodedParameters(source); this.parameters.putAll(portletParameters); //Determine if this is a request for a portlet boolean isPortletRequest = parameters.containsKey(PortletStateManager.ACTION); // parse request body String contentType = source.getContentType(); if (contentType != null && contentType.startsWith("multipart/form-data") && !isPortletRequest) { com.oreilly.servlet.multipart.Part attachmentPart; try { MultipartParser multi = new MultipartParser(source, source.getContentLength(), true, true, "UTF-8"); boolean noAttachments = source.getContentLength() > sizeLimit; while ((attachmentPart = multi.readNextPart()) != null) { String partName = attachmentPart.getName(); if (attachmentPart.isParam()) { ParamPart parameterPart = (ParamPart)attachmentPart; String paramValue = parameterPart.getStringValue(); if (parameters.containsKey(partName)) { /* Assume they meant a multivalued tag, like a checkbox */ String[] oldValueArray = (String[])parameters.get(partName); String[] valueArray = new String[oldValueArray.length + 1]; for (int i = 0; i < oldValueArray.length; i++) { valueArray[i] = oldValueArray[i]; } valueArray[oldValueArray.length] = paramValue; parameters.put(partName, valueArray); } else { String[] valueArray = new String[1]; valueArray[0] = paramValue; parameters.put(partName, valueArray); } } else if (attachmentPart.isFile()) { FilePart filePart = (FilePart)attachmentPart; String filename = filePart.getFileName(); MultipartDataSource fileUpload = null; // check if this file has exceeded the maximum allowed upload size if (noAttachments){ fileUpload = new MultipartDataSource(filename, "Exceeded file size allowed"); } else if (filename != null) { fileUpload = new MultipartDataSource(filePart); } if (fileUpload != null) { if (parameters.containsKey(partName)) { MultipartDataSource[] oldValueArray = (MultipartDataSource[])parameters.get(partName); MultipartDataSource[] valueArray = new MultipartDataSource[oldValueArray.length + 1]; for (int i = 0; i < oldValueArray.length; i++) { valueArray[i] = oldValueArray[i]; } valueArray[oldValueArray.length] = fileUpload; parameters.put(partName, valueArray); } else { MultipartDataSource[] valueArray = new MultipartDataSource[1]; valueArray[0] = fileUpload; parameters.put(partName, valueArray); } } } } } catch (Exception e) { //was: LogService.log(LogService.ERROR, e); ExceptionHelper.genericTopHandler(Errors.bug, e); } } // regular params Enumeration en = source.getParameterNames(); if (en != null) { while (en.hasMoreElements()) { String pName = (String)en.nextElement(); parameters.put(pName, source.getParameterValues(pName)); } } } } | 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,
326,
1084,
590,
3639,
333,
18,
2293,
67,
19685,
273,
590,
67,
19685,
31,
7734,
368,
1338,
23440,
598,
1569,
1440,
309,
1410,
506,
2006,
429,
3639,
309,
261,
2293,
67,
19685,
13,
288,
5411,
368,
6615,
13114,
1472,
471,
1707,
2182,
487,
4529,
590,
1472,
316,
333,
4053,
5411,
727,
1635,
13114,
2402,
273,
21305,
1119,
1318,
18,
588,
1785,
24888,
2402,
12,
3168,
1769,
5411,
333,
18,
3977,
18,
458,
1595,
12,
655,
1810,
2402,
1769,
13491,
368,
8519,
309,
333,
353,
279,
590,
364,
279,
13114,
5411,
1250,
353,
18566,
691,
273,
1472,
18,
12298,
653,
12,
18566,
1119,
1318,
18,
12249,
1769,
4766,
565,
368,
1109,
590,
1417,
5411,
514,
5064,
273,
1084,
18,
588,
8046,
5621,
5411,
309,
261,
22194,
480,
446,
597,
5064,
18,
17514,
1190,
2932,
16404,
19,
687,
17,
892,
7923,
597,
401,
291,
18566,
691,
13,
288,
7734,
532,
18,
479,
330,
715,
18,
23231,
18,
16404,
18,
1988,
6042,
1988,
31,
7734,
775,
288,
10792,
19919,
2678,
3309,
273,
394,
19919,
2678,
12,
3168,
16,
1084,
18,
588,
1350,
1782,
9334,
638,
16,
638,
16,
315,
5159,
17,
28,
8863,
10792,
1250,
1158,
12961,
273,
1084,
18,
588,
1350,
1782,
1435,
405,
963,
3039,
31,
4766,
3639,
1323,
14015,
11461,
1988,
273,
3309,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
326,
1084,
590,
3639,
333,
18,
2293,
67,
19685,
273,
590,
67,
19685,
31,
7734,
368,
1338,
23440,
598,
1569,
1440,
309,
1410,
506,
2006,
429,
3639,
309,
261,
2293,
67,
19685,
13,
288,
5411,
368,
6615,
13114,
1472,
471,
1707,
2182,
487,
4529,
590,
1472,
316,
333,
4053,
5411,
727,
1635,
13114,
2402,
273,
21305,
1119,
1318,
18,
588,
1785,
24888,
2402,
12,
3168,
1769,
5411,
333,
18,
3977,
18,
458,
1595,
12,
655,
1810,
2402,
1769,
13491,
368,
8519,
309,
333,
353,
279,
2
] |
|
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 not so good: \n\t" + imageURLString); } catch (NullPointerException npe) { fireRequestMessage("Can't access icon image: \n" + imageURLString); } | 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 not so good: \n\t" + imageURLString); } catch (NullPointerException npe) { fireRequestMessage("Can't access icon image: \n" + imageURLString); } | 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 (shapeFileName != null && !shapeFileName.equals("")) { if (spatialIndexFileName != null && !spatialIndexFileName.equals("")) { spatialIndex = SpatialIndex.locateAndSetShapeData(shapeFileName, spatialIndexFileName); } else { spatialIndex = SpatialIndex.locateAndSetShapeData(shapeFileName); } imageURLString = props.getProperty(realPrefix + pointImageURLProperty); 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 not so good: \n\t" + imageURLString); } catch (NullPointerException npe) { // May happen if not connected to the internet. fireRequestMessage("Can't access icon image: \n" + imageURLString); } } else { Debug.error("One of the following properties was null or empty:"); Debug.error("\t" + realPrefix + shapeFileProperty); Debug.error("\t" + realPrefix + spatialIndexProperty); } drawingAttributes = new DrawingAttributes(prefix, props); shadowX = LayerUtils.intFromProperties(props, realPrefix + shadowXProperty, 0); shadowY = LayerUtils.intFromProperties(props, realPrefix + shadowYProperty, 0); } | 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,
2211,
1769,
202,
4867,
4771,
273,
3458,
18,
588,
1396,
12,
7688,
2244,
397,
2179,
812,
1396,
1769,
202,
1752,
9240,
1016,
4771,
202,
565,
273,
3458,
18,
588,
1396,
12,
7688,
2244,
397,
15010,
1016,
1396,
1769,
202,
430,
261,
4867,
4771,
480,
446,
597,
401,
4867,
4771,
18,
14963,
2932,
6,
3719,
288,
202,
565,
309,
261,
1752,
9240,
1016,
4771,
480,
446,
597,
401,
1752,
9240,
1016,
4771,
18,
14963,
2932,
6,
3719,
288,
202,
202,
1752,
9240,
1016,
273,
1875,
565,
21874,
1016,
18,
25450,
13152,
8500,
751,
12,
4867,
4771,
16,
15106,
4202,
15010,
1016,
4771,
1769,
202,
565,
289,
469,
288,
202,
202,
1752,
9240,
1016,
273,
1875,
565,
21874,
1016,
18,
25450,
13152,
8500,
751,
12,
4867,
4771,
1769,
202,
565,
289,
202,
565,
1316,
1785,
780,
273,
3196,
202,
9693,
18,
588,
1396,
12,
7688,
2244,
397,
1634,
2040,
1785,
1396,
1769,
202,
565,
775,
288,
202,
202,
430,
261,
2730,
1785,
780,
480,
446,
597,
401,
2730,
1785,
780,
18,
14963,
2932,
6,
3719,
288,
1082,
565,
1976,
1316,
1785,
273,
12112,
1989,
18,
588,
1420,
1162,
812,
1162,
1785,
12,
2211,
16,
1316,
1785,
780,
1769,
1082,
565,
3421,
5554,
1316,
5554,
273,
394,
3421,
5554,
12,
2730,
1785,
1769,
1082,
565,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2211,
1769,
202,
4867,
4771,
273,
3458,
18,
588,
1396,
12,
7688,
2244,
397,
2179,
812,
1396,
1769,
202,
1752,
9240,
1016,
4771,
202,
565,
273,
3458,
18,
588,
1396,
12,
7688,
2244,
397,
15010,
1016,
1396,
1769,
202,
430,
261,
4867,
4771,
480,
446,
597,
401,
4867,
4771,
18,
14963,
2932,
6,
3719,
288,
202,
565,
309,
261,
1752,
9240,
1016,
4771,
480,
446,
597,
401,
1752,
9240,
1016,
4771,
18,
14963,
2932,
6,
3719,
288,
202,
202,
1752,
9240,
1016,
273,
1875,
2
] |
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 lookupValues()"; //$NON-NLS-1$ first=false; determineTechKeyCreation(); if (getCopy()==0) data.db.checkDimZero(meta.getTableName(), meta.getKeyField(), meta.getVersionField(), meta.isAutoIncrement()); debug = "first: setDimLookup()"; //$NON-NLS-1$ data.db.setDimLookup(meta.getTableName(), meta.getKeyLookup(), meta.getKeyField(), meta.getVersionField(), meta.getFieldLookup(), meta.getFieldStream(), meta.getDateFrom(), meta.getDateTo() ); // Lookup values debug = "first: lookup key nrs"; //$NON-NLS-1$ data.keynrs = new int[meta.getKeyStream().length]; for (int i=0;i<meta.getKeyStream().length;i++) { //logDetailed("Lookup values key["+i+"] --> "+key[i]+", row==null?"+(row==null)); data.keynrs[i]=row.searchValueIndex(meta.getKeyStream()[i]); if (data.keynrs[i]<0) // couldn't find field! { throw new KettleStepException(Messages.getString("DimensionLookup.Exception.KeyFieldNotFound",meta.getKeyStream()[i])); //$NON-NLS-1$ //$NON-NLS-2$ } } debug = Messages.getString("DimensionLookup.Debug.FirstLookupValues"); //$NON-NLS-1$ // Return values if (meta.isUpdate()) { data.fieldnrs = new int[meta.getFieldStream().length]; for (int i=0;meta.getFieldStream()!=null && i<meta.getFieldStream().length;i++) { data.fieldnrs[i]=row.searchValueIndex(meta.getFieldStream()[i]); } } if (meta.getDateField()!=null && meta.getDateField().length()>0) { data.datefieldnr = row.searchValueIndex(meta.getDateField()); } else { data.datefieldnr=-1; } debug = Messages.getString("DimensionLookup.Debug.FirstFieldNotFound"); //$NON-NLS-1$ meta.setNotFound( new Value(meta.getKeyField(), (double)meta.getDatabaseMeta().getNotFoundTK(meta.isAutoIncrement())) ); if (meta.getKeyRename()!=null && meta.getKeyRename().length()>0) meta.getNotFound().setName(meta.getKeyRename()); if (meta.getDateField()!=null && data.datefieldnr>=0) { data.val_datnow = row.getValue(data.datefieldnr); } else { Calendar cal=Calendar.getInstance(); data.val_datnow = new Value("MIN", new Date(cal.getTimeInMillis())); // System date... //$NON-NLS-1$ } debug = Messages.getString("DimensionLookup.Debug.FirstEnd"); //$NON-NLS-1$ } if (meta.getDateField()!=null && data.datefieldnr>=0) { data.val_datnow = row.getValue(data.datefieldnr); } for (int i=0;i<meta.getKeyStream().length;i++) { try { lu.addValue( row.getValue(data.keynrs[i]) ); } catch(Exception e) { throw new KettleStepException(Messages.getString("DimensionLookup.Exception.ErrorDetectedInGettingKey",i+"",data.keynrs[i]+"/"+row.size(),row.toString())); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ } } if (data.datefieldnr>=0) val_date = row.getValue(data.datefieldnr); else val_date = data.val_datnow; if (log.isDebug()) logDebug(Messages.getString("DimensionLookup.Log.LookupRow")+lu.toString()+" val_date="+val_date.toString()); //$NON-NLS-1$ //$NON-NLS-2$ debug = "setDimValues()"; //$NON-NLS-1$ data.db.setDimValues(lu, val_date ); debug = "getLookup()"; //$NON-NLS-1$ add=data.db.getLookup(); /* Handle "update = false" first for performance reasons */ if (!meta.isUpdate()) { debug = Messages.getString("DimensionLookup.Debug.Lookup"); //$NON-NLS-1$ if (add==null) { debug = Messages.getString("DimensionLookup.Debug.NothingFound"); //$NON-NLS-1$ add=new Row(); add.addValue(meta.getNotFound()); Value v; for (int i=0;i<meta.getFieldStream().length;i++) { debug = Messages.getString("DimensionLookup.Debug.LookupFieldstream")+i; //$NON-NLS-1$ if (meta.getFieldStream()[i]!=null) { debug = Messages.getString("DimensionLookup.Debug.LookupNewvalue")+i; //$NON-NLS-1$ if (meta.getFieldStream()[i]!=null) // Rename the field? v=new Value(meta.getFieldStream()[i], meta.getFieldUpdate()[i]); else v=new Value(meta.getFieldLookup()[i], meta.getFieldUpdate()[i]); // Nope, take the default name v.setNull(); add.addValue(v); } } } else { // We found the return values in row "add". // Throw away the version nr... add.removeValue(1); // Rename the key field if needed. Do it directly in the row... if (meta.getKeyRename()!=null && meta.getKeyRename().length()>0) add.getValue(0).setName(meta.getKeyRename()); } } else // Insert - update algorithm for slowly changing dimensions { if (add==null) // The dimension entry was not found, we need to add it! { debug = Messages.getString("DimensionLookup.Debug.Insert"); //$NON-NLS-1$ if (log.isRowLevel()) logRowlevel(Messages.getString("DimensionLookup.Log.NoDimensionEntryFound")+lu+")"); //$NON-NLS-1$ //$NON-NLS-2$ //logDetailed("Entry not found: add value!"); // Date range: ]-oo,+oo[ val_datfrom = new Value("MIN", meta.getMinDate()); //$NON-NLS-1$ val_datto = new Value("MAX", meta.getMaxDate()); //$NON-NLS-1$ val_version = new Value(meta.getVersionField(), 1L); // Versions start at 1. // get a new value from the sequence choosen. boolean autoinc=false; technicalKey = null; switch ( getTechKeyCreation() ) { case CREATION_METHOD_TABLEMAX: // What's the next value for the technical key? technicalKey=new Value(meta.getKeyField(), 0L); // value to accept new key... data.db.getNextValue(getTransMeta().getCounters(), meta.getTableName(), technicalKey); break; case CREATION_METHOD_AUTOINC: autoinc=true; technicalKey=new Value(meta.getKeyField(), 0L); // value to accept new key... break; case CREATION_METHOD_SEQUENCE: technicalKey=data.db.getNextSequenceValue(meta.getSequenceName(), meta.getKeyField()); if (technicalKey!=null && log.isRowLevel()) logRowlevel(Messages.getString("DimensionLookup.Log.FoundNextSequence")+technicalKey.toString()); //$NON-NLS-1$ break; } /* * INSERT INTO table(version, datefrom, dateto, fieldlookup) * VALUES(val_version, val_datfrom, val_datto, row.fieldnrs) * ; */ debug = Messages.getString("DimensionLookup.Debug.InsertRow"); //$NON-NLS-1$ data.db.dimInsert(row, meta.getTableName(), true, autoinc?null:meta.getKeyField(), // In case of auto increment, don't insert the key, let the database do it. autoinc, technicalKey, meta.getVersionField(), val_version, meta.getDateFrom(), val_datfrom, meta.getDateTo(), val_datto, meta.getFieldLookup(), data.fieldnrs, meta.getKeyStream(), meta.getKeyLookup(), data.keynrs ); linesOutput++; add=new Row(); if (meta.getKeyRename()!=null && meta.getKeyRename().length()>0) technicalKey.setName(meta.getKeyRename()); add.addValue(technicalKey); if (log.isRowLevel()) logRowlevel(Messages.getString("DimensionLookup.Log.AddedDimensionEntry")+add.toString()); //$NON-NLS-1$ } else // The entry was found: do we need to insert, update or both? { if (log.isRowLevel()) logRowlevel(Messages.getString("DimensionLookup.Log.DimensionEntryFound")+add); //$NON-NLS-1$ debug = Messages.getString("DimensionLookup.Debug.Update"); //$NON-NLS-1$ // What's the key? The first value of the return row technicalKey = add.getValue(0); val_version = add.getValue(1); // Date range: ]-oo,+oo[ val_datfrom = new Value("MIN", meta.getMinDate()); //$NON-NLS-1$ val_datto = new Value("MAX", meta.getMaxDate()); //$NON-NLS-1$ // The other values, we compare with int cmp; // If everything is the same: don't do anything // If one of the fields is different: insert or update // If all changed fields have update = Y, update // If one of the changed fields has update = N, insert boolean insert=false; boolean identical=true; boolean punch=false; Value v1, v2; for (int i=0;i<meta.getFieldStream().length;i++) { v1 = row.getValue(data.fieldnrs[i]); v2 = add.getValue(i+2); cmp = v1.compare(v2); // Not the same and update = 'N' --> insert if (cmp!=0) identical=false; // Field flagged for insert: insert if (cmp!=0 && meta.getFieldUpdate()[i]==DimensionLookupMeta.TYPE_UPDATE_DIM_INSERT) { insert=true; } // Field flagged for punchthrough if (cmp!=0 && meta.getFieldUpdate()[i]==DimensionLookupMeta.TYPE_UPDATE_DIM_PUNCHTHROUGH) { punch=true; } logRowlevel(Messages.getString("DimensionLookup.Log.ComparingValues",""+v1,""+v2,String.valueOf(cmp),String.valueOf(identical),String.valueOf(insert),String.valueOf(punch))); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ //$NON-NLS-6$ } if (!insert) // Just an update of row at key = val_key { if (!identical) { if (log.isRowLevel()) logRowlevel(Messages.getString("DimensionLookup.Log.UpdateRowWithValues")+row); //$NON-NLS-1$ /* * UPDATE d_customer * SET fieldlookup[] = row.getValue(fieldnrs) * WHERE returnkey = dimkey */ debug = Messages.getString("DimensionLookup.Debug.UpdateRow"); //$NON-NLS-1$ data.db.dimUpdate(row, meta.getTableName(), meta.getFieldLookup(), data.fieldnrs, meta.getKeyField(), technicalKey); linesUpdated++; } else { if (log.isRowLevel()) logRowlevel(Messages.getString("DimensionLookup.Log.SkipLine")); //$NON-NLS-1$ // Don't do anything, everything is file in de dimension. linesSkipped++; } } else { if (log.isRowLevel()) logRowlevel(Messages.getString("DimensionLookup.Log.InsertNewVersion")+technicalKey.toString()); //$NON-NLS-1$ val_datfrom = data.val_datnow; val_datto = new Value("MAX", meta.getMaxDate()); //$NON-NLS-1$ boolean autoinc=false; // First try to use an AUTOINCREMENT field if (meta.getDatabaseMeta().supportsAutoinc() && meta.isAutoIncrement()) { autoinc=true; technicalKey=new Value(meta.getKeyField(), 0.0); // value to accept new key... } else // Try to get the value by looking at a SEQUENCE (oracle mostly) if (meta.getDatabaseMeta().supportsSequences() && meta.getSequenceName()!=null && meta.getSequenceName().length()>0) { technicalKey=data.db.getNextSequenceValue(meta.getSequenceName(), meta.getKeyField()); if (technicalKey!=null && log.isRowLevel()) logRowlevel(Messages.getString("DimensionLookup.Log.FoundNextSequence2")+technicalKey.toString()); //$NON-NLS-1$ } else // Use our own sequence here... { // What's the next value for the technical key? technicalKey=new Value(meta.getKeyField(), 0L); // value to accept new key... data.db.getNextValue(getTransMeta().getCounters(), meta.getTableName(), technicalKey); } data.db.dimInsert( row, meta.getTableName(), false, meta.getKeyField(), autoinc, technicalKey, meta.getVersionField(), val_version, meta.getDateFrom(), val_datfrom, meta.getDateTo(), val_datto, meta.getFieldLookup(), data.fieldnrs, meta.getKeyStream(), meta.getKeyLookup(), data.keynrs ); linesOutput++; } if (punch) // On of the fields we have to punch through has changed! { /* * This means we have to update all versions: * * UPDATE dim SET punchf1 = val1, punchf2 = val2, ... * WHERE fieldlookup[] = ? * ; * * --> update ALL versions in the dimension table. */ data.db.dimPunchThrough( row, meta.getTableName(), meta.getFieldUpdate(), meta.getFieldLookup(), data.fieldnrs, meta.getKeyStream(), meta.getKeyLookup(), data.keynrs ); linesUpdated++; } add=new Row(); if (meta.getKeyRename()!=null && meta.getKeyRename().length()>0) technicalKey.setName(meta.getKeyRename()); add.addValue(technicalKey); if (log.isRowLevel()) logRowlevel(Messages.getString("DimensionLookup.Log.TechnicalKey")+technicalKey); //$NON-NLS-1$ } } debug = Messages.getString("DimensionLookup.Debug.AddValuesToRow"); //$NON-NLS-1$ if (log.isRowLevel()) logRowlevel(Messages.getString("DimensionLookup.Log.AddValuesToRow")+add); //$NON-NLS-1$ for (int i=0;i<add.size();i++) { row.addValue( add.getValue(i) ); } debug = Messages.getString("DimensionLookup.Debug.GetDateFromDateField")+data.datefieldnr; //$NON-NLS-1$ // // Finaly, check the date range! Value date; if (data.datefieldnr>=0) date = row.getValue(data.datefieldnr); else date = new Value("date", new Date()); // system date //$NON-NLS-1$ debug = "check min date (min_date==null? "+(data.min_date==null)+", date==null? "+(date==null)+"), datefieldnr="+data.datefieldnr; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ if (data.min_date.compare(date)>0) data.min_date.setValue( date.getDate() ); debug = Messages.getString("DimensionLookup.Debug.CheckMaxDate"); //$NON-NLS-1$ if (data.max_date.compare(date)<0) data.max_date.setValue( date.getDate() ); debug = "end of lookupValues()"; //$NON-NLS-1$ } | 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,
620,
17734,
1706,
653,
31,
202,
202,
620,
1244,
67,
1589,
31,
202,
202,
620,
1244,
67,
712,
565,
273,
446,
31,
202,
202,
620,
1244,
67,
3404,
2080,
273,
446,
31,
202,
202,
620,
1244,
67,
3404,
869,
282,
273,
446,
31,
9506,
202,
4148,
273,
315,
1685,
434,
3689,
1972,
10031,
31,
4329,
3993,
17,
5106,
17,
21,
8,
9506,
202,
430,
261,
3645,
13,
202,
202,
95,
1082,
202,
4148,
273,
315,
2738,
434,
3689,
1972,
10031,
31,
4329,
3993,
17,
5106,
17,
21,
8,
6862,
6862,
202,
3645,
33,
5743,
31,
1082,
202,
24661,
56,
8987,
653,
9906,
5621,
1082,
202,
430,
261,
588,
2951,
1435,
631,
20,
13,
501,
18,
1966,
18,
1893,
5225,
7170,
12,
3901,
18,
588,
7147,
9334,
2191,
18,
588,
653,
974,
9334,
2191,
18,
588,
1444,
974,
9334,
2191,
18,
291,
4965,
10798,
10663,
25083,
202,
4148,
273,
315,
3645,
30,
444,
5225,
6609,
10031,
31,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
892,
18,
1966,
18,
542,
5225,
6609,
12,
3901,
18,
588,
7147,
9334,
17322,
2191,
18,
588,
653,
6609,
9334,
4405,
1171,
2191,
18,
588,
653,
974,
9334,
4405,
1171,
2191,
18,
588,
1444,
974,
9334,
4405,
1171,
2191,
18,
588,
974,
6609,
9334,
21394,
2191,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
620,
17734,
1706,
653,
31,
202,
202,
620,
1244,
67,
1589,
31,
202,
202,
620,
1244,
67,
712,
565,
273,
446,
31,
202,
202,
620,
1244,
67,
3404,
2080,
273,
446,
31,
202,
202,
620,
1244,
67,
3404,
869,
282,
273,
446,
31,
9506,
202,
4148,
273,
315,
1685,
434,
3689,
1972,
10031,
31,
4329,
3993,
17,
5106,
17,
21,
8,
9506,
202,
430,
261,
3645,
13,
202,
202,
95,
1082,
202,
4148,
273,
315,
2738,
434,
3689,
1972,
10031,
31,
4329,
3993,
17,
2
] |
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])) { changesMade = true; sb.append(Character.toUpperCase(chars[i])); } else { changesMade = true; sb.append(Character.toLowerCase(chars[i])); } } if (changesMade) { setValue(sb.toString()); return this; } return getRuntime().getNil(); } | 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,
2469,
1769,
202,
202,
6494,
3478,
49,
2486,
273,
629,
31,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
5230,
18,
2469,
31,
277,
27245,
288,
1082,
202,
430,
16051,
7069,
18,
291,
13938,
12,
7549,
63,
77,
22643,
288,
9506,
202,
18366,
18,
6923,
12,
7549,
63,
77,
19226,
1082,
202,
97,
469,
309,
261,
7069,
18,
291,
5630,
12,
7549,
63,
77,
22643,
288,
9506,
565,
3478,
49,
2486,
273,
638,
31,
9506,
202,
18366,
18,
6923,
12,
7069,
18,
869,
8915,
12,
7549,
63,
77,
5717,
1769,
1082,
202,
97,
469,
288,
9506,
565,
3478,
49,
2486,
273,
638,
31,
9506,
202,
18366,
18,
6923,
12,
7069,
18,
869,
5630,
12,
7549,
63,
77,
5717,
1769,
1082,
202,
97,
202,
202,
97,
9506,
202,
430,
261,
6329,
49,
2486,
13,
288,
1082,
565,
5524,
12,
18366,
18,
10492,
10663,
1082,
565,
327,
333,
31,
202,
202,
97,
202,
202,
2463,
18814,
7675,
588,
12616,
5621,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
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,
2469,
1769,
202,
202,
6494,
3478,
49,
2486,
273,
629,
31,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
5230,
18,
2469,
31,
277,
27245,
288,
1082,
202,
430,
16051,
7069,
18,
291,
13938,
12,
7549,
63,
77,
22643,
288,
9506,
202,
18366,
18,
6923,
12,
7549,
63,
77,
19226,
1082,
202,
97,
469,
309,
261,
7069,
18,
291,
5630,
12,
7549,
63,
77,
22643,
288,
9506,
565,
3478,
49,
2486,
273,
638,
31,
9506,
202,
18366,
18,
6923,
12,
7069,
2
] |
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) { indicator.setText(VcsBundle.message("commit.wait.util.synced.message")); } synchronized (myPendingUpdatesLock) { scheduleUpdate(0); while (ourUpdateAlarm.getActiveRequestCount() > 0 || myUpdateInProgress) { if (indicator != null && indicator.isCanceled()) break; try { myPendingUpdatesLock.wait(100); } catch (InterruptedException e) { break; } } } } }, VcsBundle.message("commit.wait.util.synced.title"), canBeCanceled, myProject); if (ok) { refreshView(); } return ok; } | 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,
1377,
1071,
918,
1086,
1435,
288,
3639,
727,
10980,
13140,
10664,
273,
10980,
1318,
18,
588,
1442,
7675,
588,
5491,
13140,
5621,
3639,
309,
261,
18741,
480,
446,
13,
288,
1850,
10664,
18,
542,
1528,
12,
58,
2143,
3405,
18,
2150,
2932,
7371,
18,
7048,
18,
1367,
18,
11982,
3263,
18,
2150,
7923,
1769,
3639,
289,
3639,
3852,
261,
4811,
8579,
5121,
2531,
13,
288,
1850,
4788,
1891,
12,
2163,
1769,
1850,
1323,
261,
477,
1891,
16779,
18,
588,
3896,
691,
1380,
1435,
405,
374,
747,
3399,
1891,
13434,
13,
288,
5411,
309,
261,
18741,
480,
446,
597,
10664,
18,
291,
23163,
10756,
898,
31,
5411,
775,
288,
2868,
3399,
8579,
5121,
2531,
18,
7048,
12,
6625,
1769,
5411,
289,
5411,
1044,
261,
24485,
503,
425,
13,
288,
2868,
898,
31,
5411,
289,
1850,
289,
3639,
289,
1377,
289,
565,
19879,
776,
2143,
3405,
18,
2150,
2932,
7371,
18,
7048,
18,
1367,
18,
11982,
3263,
18,
2649,
6,
3631,
24978,
23163,
16,
3399,
4109,
1769,
565,
309,
261,
601,
13,
288,
1377,
4460,
1767,
5621,
565,
289,
565,
327,
1529,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
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,
1377,
1071,
918,
1086,
1435,
288,
3639,
727,
10980,
13140,
10664,
273,
10980,
1318,
18,
588,
1442,
7675,
588,
5491,
13140,
5621,
3639,
309,
261,
18741,
480,
446,
13,
288,
1850,
10664,
18,
542,
1528,
12,
58,
2143,
3405,
18,
2150,
2932,
7371,
18,
7048,
18,
1367,
18,
11982,
3263,
18,
2150,
7923,
1769,
3639,
289,
3639,
3852,
261,
4811,
8579,
5121,
2531,
13,
288,
1850,
4788,
1891,
12,
2163,
1769,
1850,
1323,
261,
477,
1891,
16779,
18,
588,
3896,
691,
1380,
1435,
405,
374,
2
] |
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) { // // root element // fContentReader = fReaderId; fSeenRootElement = true; // // scan element // if (fEntityReader.lookingAtChar('>', true)) { // // we have more content // fEventHandler.callStartElement(fElementQName); fScannerMarkupDepth--; if (fElementDepth == fElementTypeStack.length) { int[] newStack = new int[fElementDepth * 2]; System.arraycopy(fElementTypeStack, 0, newStack, 0, fElementDepth); fElementTypeStack = newStack; } fCurrentElementType = fElementQName.rawname; fElementTypeStack[fElementDepth] = fElementQName.rawname; fElementDepth++; restoreScannerState(SCANNER_STATE_CONTENT); } else if (scanElement(fElementQName)) { // // we have more content // if (fElementDepth == fElementTypeStack.length) { int[] newStack = new int[fElementDepth * 2]; System.arraycopy(fElementTypeStack, 0, newStack, 0, fElementDepth); fElementTypeStack = newStack; } fCurrentElementType = fElementQName.rawname; fElementTypeStack[fElementDepth] = fElementQName.rawname; fElementDepth++; restoreScannerState(SCANNER_STATE_CONTENT); } else { fDispatcher = new TrailingMiscDispatcher(); restoreScannerState(SCANNER_STATE_TRAILING_MISC); return true; } } else { reportFatalXMLError(XMLMessages.MSG_MARKUP_NOT_RECOGNIZED_IN_PROLOG, XMLMessages.P22_NOT_RECOGNIZED); fDispatcher = new PrologDispatcher(); restoreScannerState(SCANNER_STATE_PROLOG); return true; } break; } case SCANNER_STATE_START_OF_MARKUP: if (fEntityReader.lookingAtChar('?', true)) { int piTarget = fEntityReader.scanName(' '); if (piTarget == -1) { abortMarkup(XMLMessages.MSG_PITARGET_REQUIRED, XMLMessages.P16_PITARGET_REQUIRED); } else if ("xml".equals(fStringPool.toString(piTarget))) { if (fEntityReader.lookingAtSpace(true)) { // an XMLDecl looks like a PI with the target 'xml' if (fParseTextDecl) { scanXMLDeclOrTextDecl(true); fParseTextDecl = false; } else { abortMarkup(XMLMessages.MSG_TEXTDECL_MUST_BE_FIRST, XMLMessages.P30_TEXTDECL_MUST_BE_FIRST); } } else { // a PI target matching 'xml' abortMarkup(XMLMessages.MSG_RESERVED_PITARGET, XMLMessages.P17_RESERVED_PITARGET); } } else { // PI scanPI(piTarget); } restoreScannerState(SCANNER_STATE_CONTENT); } else if (fEntityReader.lookingAtChar('!', true)) { if (fEntityReader.lookingAtChar('-', true)) { // comment ? if (fEntityReader.lookingAtChar('-', true)) { scanComment(); // scan through the closing '-->' } else { abortMarkup(XMLMessages.MSG_MARKUP_NOT_RECOGNIZED_IN_CONTENT, XMLMessages.P43_NOT_RECOGNIZED); } } else { if (fEntityReader.skippedString(cdata_string)) { fEntityReader.setInCDSect(true); fEventHandler.callStartCDATA(); } else { abortMarkup(XMLMessages.MSG_MARKUP_NOT_RECOGNIZED_IN_CONTENT, XMLMessages.P43_NOT_RECOGNIZED); } } } else { if (fEntityReader.lookingAtChar('/', true)) { // // [42] ETag ::= '</' Name S? '>' // if (!scanExpectedElementType(fEntityReader, '>', fCurrentElementType)) { abortMarkup(XMLMessages.MSG_ETAG_REQUIRED, XMLMessages.P39_UNTERMINATED, fCurrentElementType); } else { if (!fEntityReader.lookingAtChar('>', true)) { fEntityReader.skipPastSpaces(); if (!fEntityReader.lookingAtChar('>', true)) { reportFatalXMLError(XMLMessages.MSG_ETAG_UNTERMINATED, XMLMessages.P42_UNTERMINATED, fCurrentElementType); } } fScannerMarkupDepth--; fEventHandler.callEndElement(fReaderId); if (fElementDepth-- == 0) { throw new RuntimeException("FWK002 popElementType: fElementDepth-- == 0."); } if (fElementDepth == 0) { fCurrentElementType = - 1; fDispatcher = new TrailingMiscDispatcher(); restoreScannerState(SCANNER_STATE_TRAILING_MISC); return true; } else { fCurrentElementType = fElementTypeStack[fElementDepth - 1]; } } } else { scanElementType(fEntityReader, '>', fElementQName); if (fElementQName.rawname != -1) { // // element // if (fEntityReader.lookingAtChar('>', true)) { fEventHandler.callStartElement(fElementQName); fScannerMarkupDepth--; if (fElementDepth == fElementTypeStack.length) { int[] newStack = new int[fElementDepth * 2]; System.arraycopy(fElementTypeStack, 0, newStack, 0, fElementDepth); fElementTypeStack = newStack; } fCurrentElementType = fElementQName.rawname; fElementTypeStack[fElementDepth] = fElementQName.rawname; fElementDepth++; } else { if (scanElement(fElementQName)) { if (fElementDepth == fElementTypeStack.length) { int[] newStack = new int[fElementDepth * 2]; System.arraycopy(fElementTypeStack, 0, newStack, 0, fElementDepth); fElementTypeStack = newStack; } fCurrentElementType = fElementQName.rawname; fElementTypeStack[fElementDepth] = fElementQName.rawname; fElementDepth++; } } } else { abortMarkup(XMLMessages.MSG_MARKUP_NOT_RECOGNIZED_IN_CONTENT, XMLMessages.P43_NOT_RECOGNIZED); } } } restoreScannerState(SCANNER_STATE_CONTENT); break; case SCANNER_STATE_CONTENT: if (fParseTextDecl && fEntityReader.lookingAtChar('<', true)) { fScannerMarkupDepth++; setScannerState(SCANNER_STATE_START_OF_MARKUP); continue; } // REVISIT: Is this the right thing to do? Do we need to // save more information on the stack? fCurrentElementQName.setValues(-1, -1, fCurrentElementType); switch (fEntityReader.scanContent(fCurrentElementQName)) { case XMLEntityHandler.CONTENT_RESULT_START_OF_PI: fScannerMarkupDepth++; int piTarget = fEntityReader.scanName(' '); if (piTarget == -1) { abortMarkup(XMLMessages.MSG_PITARGET_REQUIRED, XMLMessages.P16_PITARGET_REQUIRED); } else if ("xml".equals(fStringPool.toString(piTarget))) { if (fEntityReader.lookingAtSpace(true)) { // an XMLDecl looks like a PI with the target 'xml' if (fReaderId == fContentReader) { abortMarkup(XMLMessages.MSG_XMLDECL_MUST_BE_FIRST, XMLMessages.P22_XMLDECL_MUST_BE_FIRST); } else { abortMarkup(XMLMessages.MSG_TEXTDECL_MUST_BE_FIRST, XMLMessages.P30_TEXTDECL_MUST_BE_FIRST); } } else { // a PI target matching 'xml' abortMarkup(XMLMessages.MSG_RESERVED_PITARGET, XMLMessages.P17_RESERVED_PITARGET); } } else { // PI scanPI(piTarget); } break; case XMLEntityHandler.CONTENT_RESULT_START_OF_COMMENT: fScannerMarkupDepth++; fParseTextDecl = false; scanComment(); // scan through the closing '-->' break; case XMLEntityHandler.CONTENT_RESULT_START_OF_CDSECT: fScannerMarkupDepth++; fParseTextDecl = false; fEntityReader.setInCDSect(true); fEventHandler.callStartCDATA(); break; case XMLEntityHandler.CONTENT_RESULT_START_OF_ETAG: fScannerMarkupDepth++; fParseTextDecl = false; // // [42] ETag ::= '</' Name S? '>' // if (!scanExpectedElementType(fEntityReader, '>', fCurrentElementType)) { abortMarkup(XMLMessages.MSG_ETAG_REQUIRED, XMLMessages.P39_UNTERMINATED, fCurrentElementType); } else { if (!fEntityReader.lookingAtChar('>', true)) { fEntityReader.skipPastSpaces(); if (!fEntityReader.lookingAtChar('>', true)) { reportFatalXMLError(XMLMessages.MSG_ETAG_UNTERMINATED, XMLMessages.P42_UNTERMINATED, fCurrentElementType); } } fScannerMarkupDepth--; fEventHandler.callEndElement(fReaderId); if (fElementDepth-- == 0) { throw new RuntimeException("FWK002 popElementType: fElementDepth-- == 0."); } if (fElementDepth == 0) { fCurrentElementType = - 1; fDispatcher = new TrailingMiscDispatcher(); restoreScannerState(SCANNER_STATE_TRAILING_MISC); return true; } else { fCurrentElementType = fElementTypeStack[fElementDepth - 1]; } } restoreScannerState(SCANNER_STATE_CONTENT); break; case XMLEntityHandler.CONTENT_RESULT_START_OF_ELEMENT: { fScannerMarkupDepth++; fParseTextDecl = false; scanElementType(fEntityReader, '>', fElementQName); if (fElementQName.rawname != -1) { if (fEntityReader.lookingAtChar('>', true)) { fEventHandler.callStartElement(fElementQName); fScannerMarkupDepth--; if (fElementDepth == fElementTypeStack.length) { int[] newStack = new int[fElementDepth * 2]; System.arraycopy(fElementTypeStack, 0, newStack, 0, fElementDepth); fElementTypeStack = newStack; } fCurrentElementType = fElementQName.rawname; fElementTypeStack[fElementDepth] = fElementQName.rawname; fElementDepth++; } else { if (scanElement(fElementQName)) { if (fElementDepth == fElementTypeStack.length) { int[] newStack = new int[fElementDepth * 2]; System.arraycopy(fElementTypeStack, 0, newStack, 0, fElementDepth); fElementTypeStack = newStack; } fCurrentElementType = fElementQName.rawname; fElementTypeStack[fElementDepth] = fElementQName.rawname; fElementDepth++; } } } else { abortMarkup(XMLMessages.MSG_MARKUP_NOT_RECOGNIZED_IN_CONTENT, XMLMessages.P43_NOT_RECOGNIZED); } if (fScannerState != SCANNER_STATE_END_OF_INPUT) fScannerState = SCANNER_STATE_CONTENT; break; } case XMLEntityHandler.CONTENT_RESULT_MATCHING_ETAG: { fParseTextDecl = false; fEventHandler.callEndElement(fReaderId); if (fElementDepth-- == 0) { throw new RuntimeException("FWK002 popElementType: fElementDepth-- == 0."); } if (fElementDepth == 0) { fCurrentElementType = - 1; if (fScannerState != SCANNER_STATE_END_OF_INPUT) { fDispatcher = new TrailingMiscDispatcher(); fScannerState = SCANNER_STATE_TRAILING_MISC; } return true; } else { fCurrentElementType = fElementTypeStack[fElementDepth - 1]; } if (fScannerState != SCANNER_STATE_END_OF_INPUT) fScannerState = SCANNER_STATE_CONTENT; break; } case XMLEntityHandler.CONTENT_RESULT_START_OF_CHARREF: fParseTextDecl = false; // // [67] Reference ::= EntityRef | CharRef // [68] EntityRef ::= '&' Name ';' // [66] CharRef ::= '&#' [0-9]+ ';' | '&#x' [0-9a-fA-F]+ ';' // setScannerState(SCANNER_STATE_REFERENCE); int num = scanCharRef(); // if (num == -1) num = 0xfffd; // REVISIT - alternative is to use Unicode replacement char if (num != -1) fEventHandler.callCharacters(num); restoreScannerState(SCANNER_STATE_CONTENT); break; case XMLEntityHandler.CONTENT_RESULT_REFERENCE_END_OF_INPUT: // REVISIT - This should hopefully get us the "reference not // contained in one entity" error when endOfInput is called. // Test that this is so... // // fall through... // case XMLEntityHandler.CONTENT_RESULT_START_OF_ENTITYREF: fParseTextDecl = false; // // [68] EntityRef ::= '&' Name ';' // setScannerState(SCANNER_STATE_REFERENCE); int nameOffset = fEntityReader.currentOffset(); fEntityReader.skipPastName(';'); int nameLength = fEntityReader.currentOffset() - nameOffset; if (nameLength == 0) { reportFatalXMLError(XMLMessages.MSG_NAME_REQUIRED_IN_REFERENCE, XMLMessages.P68_NAME_REQUIRED); restoreScannerState(SCANNER_STATE_CONTENT); } else if (!fEntityReader.lookingAtChar(';', true)) { reportFatalXMLError(XMLMessages.MSG_SEMICOLON_REQUIRED_IN_REFERENCE, XMLMessages.P68_SEMICOLON_REQUIRED, fEntityReader.addString(nameOffset, nameLength)); restoreScannerState(SCANNER_STATE_CONTENT); } else { restoreScannerState(SCANNER_STATE_CONTENT); int entityName = fEntityReader.addSymbol(nameOffset, nameLength); fParseTextDecl = fEntityHandler.startReadingFromEntity(entityName, fElementDepth, XMLEntityHandler.ENTITYREF_IN_CONTENT); } break; case XMLEntityHandler.CONTENT_RESULT_END_OF_CDSECT: fParseTextDecl = false; // // [14] CharData ::= [^<&]* - ([^<&]* ']]>' [^<&]*) // [21] CDEnd ::= ']]>' // if (fEntityReader.getInCDSect()) { fEntityReader.setInCDSect(false); fEventHandler.callEndCDATA(); fScannerMarkupDepth--; } else { reportFatalXMLError(XMLMessages.MSG_CDEND_IN_CONTENT, XMLMessages.P14_INVALID); } restoreScannerState(SCANNER_STATE_CONTENT); break; case XMLEntityHandler.CONTENT_RESULT_INVALID_CHAR: fParseTextDecl = false; // // The reader will also use this state if it // encounters the end of input while reading // content. We need to check for this case. // if (fScannerState != SCANNER_STATE_END_OF_INPUT) { if (!fEntityReader.lookingAtValidChar(false)) { // // [2] Char ::= #x9 | #xA | #xD | [#x20-#xD7FF] // any Unicode character, excluding the // | [#xE000-#xFFFD] | [#x10000-#x10FFFF] // surrogate blocks, FFFE, and FFFF. // int invChar = fEntityReader.scanInvalidChar(); if (fScannerState != SCANNER_STATE_END_OF_INPUT) { if (invChar >= 0) { if (fEntityReader.getInCDSect()) { reportFatalXMLError(XMLMessages.MSG_INVALID_CHAR_IN_CDSECT, XMLMessages.P20_INVALID_CHARACTER, Integer.toHexString(invChar)); } else { reportFatalXMLError(XMLMessages.MSG_INVALID_CHAR_IN_CONTENT, XMLMessages.P43_INVALID_CHARACTER, Integer.toHexString(invChar)); } } } } restoreScannerState(SCANNER_STATE_CONTENT); } break; case XMLEntityHandler.CONTENT_RESULT_MARKUP_NOT_RECOGNIZED: fParseTextDecl = false; abortMarkup(XMLMessages.MSG_MARKUP_NOT_RECOGNIZED_IN_CONTENT, XMLMessages.P43_NOT_RECOGNIZED); break; case XMLEntityHandler.CONTENT_RESULT_MARKUP_END_OF_INPUT: // REVISIT - This should hopefully get us the "markup not // contained in one entity" error when endOfInput is called. // Test that this is so... fScannerMarkupDepth++; fParseTextDecl = false; fScannerState = SCANNER_STATE_START_OF_MARKUP; break; default: throw new RuntimeException("FWK001 3] ScannerState="+fScannerState+"\n" + "3\t"+fScannerState); // should not happen } break; default: throw new RuntimeException("FWK001 4] ScannerState="+fScannerState+"\n" + "4\t"+fScannerState); } } while (fScannerState != SCANNER_STATE_END_OF_INPUT && keepgoing); return (fScannerState != SCANNER_STATE_END_OF_INPUT); } | 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,
7734,
288,
10792,
4135,
17481,
12,
74,
1943,
2514,
16,
7481,
16,
284,
1046,
13688,
1769,
10792,
309,
261,
74,
1046,
13688,
18,
1899,
529,
480,
300,
21,
13,
288,
13491,
368,
13491,
368,
1365,
930,
13491,
368,
13491,
284,
1350,
2514,
273,
284,
2514,
548,
31,
13491,
284,
15160,
2375,
1046,
273,
638,
31,
13491,
368,
13491,
368,
4135,
930,
13491,
368,
13491,
309,
261,
74,
1943,
2514,
18,
7330,
310,
861,
2156,
2668,
1870,
16,
638,
3719,
288,
18701,
368,
18701,
368,
732,
1240,
1898,
913,
18701,
368,
18701,
284,
16402,
18,
1991,
1685,
1046,
12,
74,
1046,
13688,
1769,
18701,
284,
11338,
13111,
6148,
413,
31,
18701,
309,
261,
74,
1046,
6148,
422,
284,
17481,
2624,
18,
2469,
13,
288,
27573,
509,
8526,
394,
2624,
273,
394,
509,
63,
74,
1046,
6148,
380,
576,
15533,
27573,
2332,
18,
1126,
3530,
12,
74,
17481,
2624,
16,
374,
16,
394,
2624,
16,
374,
16,
284,
1046,
6148,
1769,
27573,
284,
17481,
2624,
273,
394,
2624,
31,
18701,
289,
18701,
284,
3935,
17481,
273,
284,
1046,
13688,
18,
1899,
529,
31,
18701,
284,
17481,
2624,
63,
74,
1046,
6148,
65,
273,
284,
1046,
13688,
18,
1899,
529,
31,
18701,
284,
1046,
6148,
9904,
31,
18701,
5217,
11338,
1119,
12,
2312,
11489,
654,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7734,
288,
10792,
4135,
17481,
12,
74,
1943,
2514,
16,
7481,
16,
284,
1046,
13688,
1769,
10792,
309,
261,
74,
1046,
13688,
18,
1899,
529,
480,
300,
21,
13,
288,
13491,
368,
13491,
368,
1365,
930,
13491,
368,
13491,
284,
1350,
2514,
273,
284,
2514,
548,
31,
13491,
284,
15160,
2375,
1046,
273,
638,
31,
13491,
368,
13491,
368,
4135,
930,
13491,
368,
13491,
309,
261,
74,
1943,
2514,
18,
7330,
310,
861,
2156,
2668,
1870,
16,
638,
3719,
288,
18701,
368,
18701,
368,
2
] |
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 field ArrayList terms = new ArrayList(); // add name to query if (c.isPhrase()) { terms.addAll(Arrays.asList(c.getPhrase().getTerms())); } else { terms.add(c.getTerm()); } terms.add(0, new Term(c.getField())); // add to front of phrase c = (Clause)c.clone(); c.field = Clause.DEFAULT_FIELD; // use default field instead c.termOrPhrase = new Phrase((Term[])terms.toArray(new Term[terms.size()])); } output.clauses.add(c); // copy clause to output } return output; } | 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,
1769,
565,
3905,
1579,
8526,
14093,
273,
810,
18,
588,
22434,
5621,
565,
364,
261,
474,
277,
273,
374,
31,
277,
411,
14093,
18,
2469,
31,
277,
27245,
288,
1377,
3905,
1579,
276,
273,
14093,
63,
77,
15533,
1377,
309,
16051,
2704,
2770,
5422,
12,
3923,
2934,
291,
974,
12,
71,
18,
588,
974,
1435,
3719,
288,
225,
368,
5917,
652,
3639,
2407,
6548,
273,
394,
2407,
5621,
3639,
368,
527,
508,
358,
843,
3639,
309,
261,
71,
18,
291,
12812,
10756,
288,
4766,
6548,
18,
1289,
1595,
12,
12726,
18,
345,
682,
12,
71,
18,
588,
12812,
7675,
588,
11673,
1435,
10019,
3639,
289,
469,
288,
1850,
6548,
18,
1289,
12,
71,
18,
588,
4065,
10663,
3639,
289,
3639,
6548,
18,
1289,
12,
20,
16,
394,
6820,
12,
71,
18,
588,
974,
1435,
10019,
377,
368,
527,
358,
6641,
434,
13045,
3639,
276,
273,
261,
7044,
13,
71,
18,
14056,
5621,
3639,
276,
18,
1518,
273,
3905,
1579,
18,
5280,
67,
6776,
31,
6647,
368,
999,
805,
652,
3560,
3639,
276,
18,
6408,
1162,
12812,
1850,
273,
394,
4360,
5648,
12443,
4065,
63,
5717,
10112,
18,
31447,
12,
2704,
6820,
63,
10112,
18,
1467,
1435,
5717,
1769,
1377,
289,
1377,
876,
18,
830,
9608,
18,
1289,
12,
71,
1769,
10792,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1769,
565,
3905,
1579,
8526,
14093,
273,
810,
18,
588,
22434,
5621,
565,
364,
261,
474,
277,
273,
374,
31,
277,
411,
14093,
18,
2469,
31,
277,
27245,
288,
1377,
3905,
1579,
276,
273,
14093,
63,
77,
15533,
1377,
309,
16051,
2704,
2770,
5422,
12,
3923,
2934,
291,
974,
12,
71,
18,
588,
974,
1435,
3719,
288,
225,
368,
5917,
652,
3639,
2407,
6548,
273,
394,
2407,
5621,
3639,
368,
527,
508,
358,
843,
3639,
309,
261,
71,
18,
291,
12812,
10756,
288,
2
] |
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] = (float) r.getValue(); } float vmin = Float.MAX_VALUE; float vmax = Float.MIN_VALUE; float hmin = Float.MAX_VALUE; float hmax = Float.MIN_VALUE; for (int j=0; j<npixels; j++) { float v = 0, h = 0; for (int i=0; i<NFILES; i++) { v += value_weights[i] * values[i][j]; h += hue_weights[i] * values[i][j]; } data_values[0][j] = v; data_values[1][j] = h; if (v < vmin) vmin = v; if (v > vmax) vmax = v; if (h < hmin) hmin = h; if (h > hmax) hmax = h; } for (int i=0; i<768; i++) { float hue = hmin + (((float) i) / 767.0f) * (hmax - hmin); for (int k=i; k<768*21; k+=768) { wedge_samples[0][k] = vmax; wedge_samples[1][k] = hue; } } minmax.setText("vmin = " + vmin + "; vmax = " + vmax); double x1 = 0.0, x2 = 767.0, y = 525.0; text_field.setSample(0, new Tuple(text_tuple, new Scalar[] { new Real(element, x1), new Real(line, y), new Text(text, "" + hmin) })); text_field.setSample(1, new Tuple(text_tuple, new Scalar[] { new Real(element, x2), new Real(line, y), new Text(text, "" + hmax) })); display1.disableAction(); vmap.setRange(vmin, vmax); hmap.setRange(hmin, hmax); huexmap.setRange(hmin, hmax); data.setSamples(data_values, false); wedge.setSamples(wedge_samples, false); display1.enableAction(); } catch (VisADException ex) { ex.printStackTrace(); } catch (RemoteException ex) { ex.printStackTrace(); } } | 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,
15533,
1377,
364,
261,
474,
277,
33,
20,
31,
277,
32,
50,
12669,
31,
277,
27245,
288,
3639,
15987,
436,
273,
261,
6955,
13,
460,
67,
9316,
63,
77,
8009,
588,
751,
5621,
3639,
460,
67,
9727,
63,
77,
65,
273,
261,
5659,
13,
436,
18,
24805,
5621,
3639,
436,
273,
261,
6955,
13,
16846,
67,
9316,
63,
77,
8009,
588,
751,
5621,
3639,
16846,
67,
9727,
63,
77,
65,
273,
261,
5659,
13,
436,
18,
24805,
5621,
1377,
289,
1377,
1431,
17501,
273,
5450,
18,
6694,
67,
4051,
31,
1377,
1431,
17831,
273,
5450,
18,
6236,
67,
4051,
31,
1377,
1431,
366,
1154,
273,
5450,
18,
6694,
67,
4051,
31,
1377,
1431,
366,
1896,
273,
5450,
18,
6236,
67,
4051,
31,
1377,
364,
261,
474,
525,
33,
20,
31,
525,
32,
6782,
3556,
87,
31,
525,
27245,
288,
3639,
1431,
331,
273,
374,
16,
366,
273,
374,
31,
3639,
364,
261,
474,
277,
33,
20,
31,
277,
32,
50,
12669,
31,
277,
27245,
288,
1850,
331,
1011,
460,
67,
9727,
63,
77,
65,
380,
924,
63,
77,
6362,
78,
15533,
1850,
366,
1011,
16846,
67,
9727,
63,
77,
65,
380,
924,
63,
77,
6362,
78,
15533,
3639,
289,
3639,
501,
67,
2372,
63,
20,
6362,
78,
65,
273,
331,
31,
3639,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15533,
1377,
364,
261,
474,
277,
33,
20,
31,
277,
32,
50,
12669,
31,
277,
27245,
288,
3639,
15987,
436,
273,
261,
6955,
13,
460,
67,
9316,
63,
77,
8009,
588,
751,
5621,
3639,
460,
67,
9727,
63,
77,
65,
273,
261,
5659,
13,
436,
18,
24805,
5621,
3639,
436,
273,
261,
6955,
13,
16846,
67,
9316,
63,
77,
8009,
588,
751,
5621,
3639,
16846,
67,
9727,
63,
77,
65,
273,
261,
5659,
13,
436,
18,
24805,
5621,
1377,
289,
1377,
1431,
17501,
273,
2
] |
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.setSubMatrix(0, 0, ((Point) p.times(getSymmetrizer(v))).getCoordinates()); q.set(0, d, Whole.ONE); final Matrix s = LinearAlgebra.solutionInRows(mapping, q, false); if (s == null) { System.out.println("Could not solve x * " + mapping + " = " + q); } final int offset = ((Integer) this.node2index.get(v)).intValue(); for (int i = 0; i < n-1; ++i) { this.p[offset+i] = ((Real) s.get(0, i)).doubleValue(); } } } | 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,
3639,
727,
509,
290,
273,
2874,
18,
2696,
951,
4300,
5621,
7734,
309,
261,
82,
405,
404,
13,
288,
5411,
727,
509,
302,
273,
333,
18,
3509,
4137,
31,
5411,
727,
7298,
1043,
273,
394,
7298,
12,
21,
16,
302,
397,
404,
1769,
5411,
1043,
18,
542,
1676,
4635,
12,
20,
16,
374,
16,
14015,
2148,
13,
293,
18,
8293,
12,
588,
11901,
10578,
86,
1824,
12,
90,
3719,
2934,
588,
13431,
10663,
5411,
1043,
18,
542,
12,
20,
16,
302,
16,
3497,
790,
18,
5998,
1769,
5411,
727,
7298,
272,
273,
13921,
1067,
29087,
18,
13385,
382,
4300,
12,
6770,
16,
1043,
16,
629,
1769,
5411,
309,
261,
87,
422,
446,
13,
288,
7734,
604,
394,
3235,
2932,
4445,
486,
12439,
619,
380,
315,
397,
2874,
397,
315,
273,
315,
397,
1043,
1769,
5411,
289,
5411,
727,
509,
1384,
273,
14015,
4522,
13,
333,
18,
2159,
22,
1615,
18,
588,
12,
90,
13,
2934,
474,
620,
5621,
5411,
364,
261,
474,
277,
273,
374,
31,
277,
411,
290,
17,
21,
31,
965,
77,
13,
288,
7734,
333,
18,
84,
63,
3348,
15,
77,
65,
273,
14015,
6955,
13,
272,
18,
588,
12,
20,
16,
277,
13,
2934,
9056,
620,
5621,
5411,
289,
3639,
289,
565,
289,
2,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
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,
3639,
727,
509,
290,
273,
2874,
18,
2696,
951,
4300,
5621,
7734,
309,
261,
82,
405,
404,
13,
288,
5411,
727,
509,
302,
273,
333,
18,
3509,
4137,
31,
5411,
727,
7298,
1043,
273,
394,
7298,
12,
21,
16,
302,
397,
404,
1769,
5411,
1043,
18,
542,
1676,
4635,
12,
20,
16,
374,
16,
14015,
2148,
13,
293,
18,
8293,
12,
588,
11901,
10578,
86,
1824,
12,
90,
3719,
2934,
588,
13431,
10663,
5411,
1043,
18,
542,
12,
20,
16,
302,
16,
3497,
2
] |
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 (results[0].compareTo(BigInteger.ZERO) <= 0 && results[1].compareTo(BigInteger.ZERO) != 0) { return bigNorm(getRuntime(), results[0].subtract(BigInteger.ONE)); } return bigNorm(getRuntime(), results[0]); } | 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,
19817,
4723,
18,
2704,
4723,
12,
588,
5576,
9334,
4405,
1377,
16097,
620,
1435,
2934,
556,
67,
2892,
12,
3011,
1769,
3639,
289,
202,
24198,
1686,
8526,
273,
3196,
565,
2366,
7675,
2892,
831,
1876,
1933,
25407,
12,
14002,
1702,
620,
12,
3011,
10019,
202,
430,
261,
4717,
63,
20,
8009,
9877,
774,
12,
24198,
18,
24968,
13,
1648,
374,
597,
3196,
565,
1686,
63,
21,
8009,
9877,
774,
12,
24198,
18,
24968,
13,
480,
374,
13,
288,
202,
565,
327,
5446,
14624,
12,
588,
5576,
9334,
1686,
63,
20,
8009,
1717,
1575,
12,
24198,
18,
5998,
10019,
202,
97,
202,
3639,
327,
5446,
14624,
12,
588,
5576,
9334,
1686,
63,
20,
19226,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
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,
19817,
4723,
18,
2704,
4723,
12,
588,
5576,
9334,
4405,
1377,
16097,
620,
1435,
2934,
556,
67,
2892,
12,
3011,
1769,
3639,
289,
202,
24198,
1686,
8526,
273,
3196,
565,
2366,
7675,
2892,
831,
1876,
1933,
25407,
12,
14002,
1702,
620,
12,
3011,
10019,
202,
430,
261,
4717,
63,
20,
8009,
9877,
774,
12,
24198,
18,
24968,
13,
1648,
374,
597,
3196,
565,
1686,
63,
21,
8009,
9877,
774,
12,
24198,
18,
24968,
13,
480,
374,
13,
288,
202,
565,
327,
5446,
14624,
12,
2
] |
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, CallFrame parentFrame, CallFrame frame) { InterpreterData idata = fnOrScript.idata; boolean useActivation = idata.itsNeedsActivation; DebugFrame debuggerFrame = null; if (cx.debugger != null) { debuggerFrame = cx.debugger.getFrame(cx, idata); if (debuggerFrame != null) { useActivation = true; } } if (useActivation) { // Copy args to new array to pass to enterActivationFunction // or debuggerFrame.onEnter if (argsDbl != null) { args = getArgsArray(args, argsDbl, argShift, argCount); } argShift = 0; argsDbl = null; } Scriptable scope; if (idata.itsFunctionType != 0) { if (!idata.useDynamicScope) { scope = fnOrScript.getParentScope(); } else { scope = callerScope; } if (useActivation) { scope = ScriptRuntime.createFunctionActivation( fnOrScript, scope, args); } } else { scope = callerScope; ScriptRuntime.initScript(fnOrScript, thisObj, cx, scope, fnOrScript.idata.evalScriptFlag); } if (idata.itsNestedFunctions != null) { if (idata.itsFunctionType != 0 && !idata.itsNeedsActivation) Kit.codeBug(); for (int i = 0; i < idata.itsNestedFunctions.length; i++) { InterpreterData fdata = idata.itsNestedFunctions[i]; if (fdata.itsFunctionType == FunctionNode.FUNCTION_STATEMENT) { initFunction(cx, scope, fnOrScript, i); } } } Scriptable[] scriptRegExps = null; if (idata.itsRegExpLiterals != null) { // Wrapped regexps for functions are stored in // InterpretedFunction // but for script which should not contain references to scope // the regexps re-wrapped during each script execution if (idata.itsFunctionType != 0) { scriptRegExps = fnOrScript.functionRegExps; } else { scriptRegExps = fnOrScript.createRegExpWraps(cx, scope); } } // Initialize args, vars, locals and stack int emptyStackTop = idata.itsMaxVars + idata.itsMaxLocals - 1; int maxFrameArray = idata.itsMaxFrameArray; if (maxFrameArray != emptyStackTop + idata.itsMaxStack + 1) Kit.codeBug(); Object[] stack; double[] sDbl; boolean stackReuse; if (frame.stack != null && maxFrameArray <= frame.stack.length) { // Reuse stacks from old frame stackReuse = true; stack = frame.stack; sDbl = frame.sDbl; } else { stackReuse = false; stack = new Object[maxFrameArray]; sDbl = new double[maxFrameArray]; } int definedArgs = idata.argCount; if (definedArgs > argCount) { definedArgs = argCount; } // Fill the frame structure frame.parentFrame = parentFrame; frame.frameIndex = (parentFrame == null) ? 0 : parentFrame.frameIndex + 1; if(frame.frameIndex > cx.getMaximumInterpreterStackDepth()) { throw Context.reportRuntimeError("Exceeded maximum stack depth"); } frame.frozen = false; frame.fnOrScript = fnOrScript; frame.idata = idata; frame.stack = stack; frame.sDbl = sDbl; frame.varSource = frame; frame.localShift = idata.itsMaxVars; frame.emptyStackTop = emptyStackTop; frame.debuggerFrame = debuggerFrame; frame.useActivation = useActivation; frame.thisObj = thisObj; frame.scriptRegExps = scriptRegExps; // Initialize initial values of variables that change during // interpretation. frame.result = Undefined.instance; frame.pc = 0; frame.pcPrevBranch = 0; frame.pcSourceLineStart = idata.firstLinePC; frame.scope = scope; frame.savedStackTop = emptyStackTop; frame.savedCallOp = 0; System.arraycopy(args, argShift, stack, 0, definedArgs); if (argsDbl != null) { System.arraycopy(argsDbl, argShift, sDbl, 0, definedArgs); } for (int i = definedArgs; i != idata.itsMaxVars; ++i) { stack[i] = Undefined.instance; } if (stackReuse) { // Clean the stack part and space beyond stack if any // of the old array to allow to GC objects there for (int i = emptyStackTop + 1; i != stack.length; ++i) { stack[i] = null; } } enterFrame(cx, frame, args); } | 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,
1501,
1380,
16,
21394,
5294,
15089,
329,
2083,
2295,
1162,
3651,
16,
21394,
3049,
3219,
982,
3219,
16,
3049,
3219,
2623,
13,
565,
288,
3639,
5294,
11599,
751,
612,
396,
273,
2295,
1162,
3651,
18,
350,
396,
31,
3639,
1250,
999,
14857,
273,
612,
396,
18,
1282,
26419,
14857,
31,
3639,
4015,
3219,
19977,
3219,
273,
446,
31,
3639,
309,
261,
71,
92,
18,
4148,
693,
480,
446,
13,
288,
5411,
19977,
3219,
273,
9494,
18,
4148,
693,
18,
588,
3219,
12,
71,
92,
16,
612,
396,
1769,
5411,
309,
261,
4148,
693,
3219,
480,
446,
13,
288,
7734,
999,
14857,
273,
638,
31,
5411,
289,
3639,
289,
3639,
309,
261,
1202,
14857,
13,
288,
5411,
368,
5631,
833,
358,
394,
526,
358,
1342,
358,
6103,
14857,
2083,
5411,
368,
578,
19977,
3219,
18,
265,
10237,
5411,
309,
261,
1968,
40,
3083,
480,
446,
13,
288,
7734,
833,
273,
30169,
1076,
12,
1968,
16,
833,
40,
3083,
16,
1501,
10544,
16,
1501,
1380,
1769,
5411,
289,
5411,
1501,
10544,
273,
374,
31,
5411,
833,
40,
3083,
273,
446,
31,
3639,
289,
3639,
22780,
2146,
31,
3639,
309,
261,
350,
396,
18,
1282,
2083,
559,
480,
374,
13,
288,
5411,
309,
16051,
350,
396,
18,
1202,
9791,
3876,
13,
288,
7734,
2146,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1501,
1380,
16,
21394,
5294,
15089,
329,
2083,
2295,
1162,
3651,
16,
21394,
3049,
3219,
982,
3219,
16,
3049,
3219,
2623,
13,
565,
288,
3639,
5294,
11599,
751,
612,
396,
273,
2295,
1162,
3651,
18,
350,
396,
31,
3639,
1250,
999,
14857,
273,
612,
396,
18,
1282,
26419,
14857,
31,
3639,
4015,
3219,
19977,
3219,
273,
446,
31,
3639,
309,
261,
71,
92,
18,
4148,
693,
480,
446,
13,
288,
5411,
19977,
3219,
273,
9494,
18,
4148,
693,
18,
588,
3219,
12,
71,
92,
2
] |
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 DocumentRequestCreateBean(registration); if (!registration.getPayedTuition()) { addActionMessage(request, "error.message.tuitionNotPayed"); } else { if (!registration.hasAnyStudentCurricularPlans()) { addActionMessage(request, "error.student.curricularPlan.nonExistent"); } else { request.setAttribute("registration", registration); if (registration.getStudentCurricularPlansCount() > 1) { request.setAttribute("studentCurricularPlans", registration .getStudentCurricularPlans()); } //getAndSetExecutionYears(request, registration.getActiveStudentCurricularPlan()); request.setAttribute("executionYears", registration.getEnrolmentsExecutionYears()); } } request.setAttribute("documentRequestCreateBean", new DocumentRequestCreator( registration)); return mapping.findForward("createDocumentRequests"); } | 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,
588,
8346,
7675,
588,
19943,
319,
858,
8575,
5621,
3639,
727,
4319,
691,
1684,
3381,
1668,
691,
1684,
3381,
273,
394,
4319,
691,
1684,
3381,
12,
14170,
1769,
7734,
309,
16051,
14170,
18,
588,
9148,
329,
56,
89,
608,
10756,
288,
5411,
14745,
1079,
12,
2293,
16,
315,
1636,
18,
2150,
18,
88,
89,
608,
1248,
9148,
329,
8863,
3639,
289,
469,
288,
5411,
309,
16051,
14170,
18,
5332,
2961,
19943,
319,
2408,
1512,
2490,
22846,
10756,
288,
7734,
14745,
1079,
12,
2293,
16,
315,
1636,
18,
26240,
18,
1397,
1512,
2490,
5365,
18,
5836,
4786,
319,
8863,
5411,
289,
469,
288,
7734,
590,
18,
542,
1499,
2932,
14170,
3113,
7914,
1769,
7734,
309,
261,
14170,
18,
588,
19943,
319,
2408,
1512,
2490,
22846,
1380,
1435,
405,
404,
13,
288,
10792,
590,
18,
542,
1499,
2932,
26240,
2408,
1512,
2490,
22846,
3113,
7914,
18701,
263,
588,
19943,
319,
2408,
1512,
2490,
22846,
10663,
7734,
289,
7734,
368,
588,
13152,
3210,
21945,
12,
2293,
16,
7914,
18,
588,
3896,
19943,
319,
2408,
1512,
2490,
5365,
10663,
7734,
590,
18,
542,
1499,
2932,
16414,
21945,
3113,
7914,
18,
588,
664,
922,
1346,
3210,
21945,
10663,
5411,
289,
3639,
289,
3639,
590,
18,
542,
1499,
2932,
5457,
691,
1684,
3381,
3113,
394,
4319,
691,
10636,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
588,
8346,
7675,
588,
19943,
319,
858,
8575,
5621,
3639,
727,
4319,
691,
1684,
3381,
1668,
691,
1684,
3381,
273,
394,
4319,
691,
1684,
3381,
12,
14170,
1769,
7734,
309,
16051,
14170,
18,
588,
9148,
329,
56,
89,
608,
10756,
288,
5411,
14745,
1079,
12,
2293,
16,
315,
1636,
18,
2150,
18,
88,
89,
608,
1248,
9148,
329,
8863,
3639,
289,
469,
288,
5411,
309,
16051,
14170,
18,
5332,
2961,
19943,
319,
2408,
1512,
2490,
22846,
10756,
288,
7734,
14745,
1079,
12,
2293,
16,
2
] |
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)); mockCoreMock.verifyExpectations(); } | 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,
1289,
11354,
429,
10125,
18,
542,
6861,
12,
21,
1769,
7734,
25395,
2932,
14309,
506,
8187,
1305,
17733,
3113,
5416,
18,
12339,
87,
12,
12339,
367,
10019,
3639,
5416,
4670,
9865,
18,
8705,
11988,
1012,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
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,
1289,
11354,
429,
10125,
18,
542,
6861,
12,
21,
1769,
7734,
25395,
2932,
14309,
506,
8187,
1305,
17733,
3113,
5416,
18,
12339,
87,
12,
12339,
367,
10019,
3639,
5416,
4670,
9865,
18,
8705,
11988,
1012,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
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"); // Firstly, check for a click of the cancel button. if (buttonPressed.equals("submit_cancel")) { doCancellation(request, response, subInfo, EDIT_METADATA_1, EDIT_METADATA_1); return; } Item item = subInfo.submission.getItem(); // Update the item metadata. readNames(request, item, "contributor", "author", true); readText(request, item, "title", null, false, "en"); if (subInfo.submission.hasMultipleTitles()) { readText(request, item, "title", "alternative", true, "en"); } readSeriesNumbers(request, item, "relation", "ispartofseries", true); // Type item.clearDC("type", null, Item.ANY); String[] types = request.getParameterValues("type"); for (int i = 0; i < types.length; i++) { item.addDC("type", null, "en", types[i]); } // FIXME: Maybe should do integrity check using language object readText(request, item, "language", "iso", false, null); // Identifiers - A special case so do this here // First, remove existing identifiers. subInfo.submission.getItem().clearDC("identifier", Item.ANY, Item.ANY); // Get qualifiers and values List quals = getRepeatedParameter(request, "identifier_qualifier"); List vals = getRepeatedParameter(request, "identifier_value"); // Add to item DC for (int i = 0; i<vals.size(); i++) { String thisQual = (String) quals.get(i); String thisVal = (String) vals.get(i); if (!buttonPressed.equals("submit_identifier_remove_" + i) && !thisVal.equals("")) { item.addDC("identifier", thisQual, null, thisVal); } } if (subInfo.submission.isPublishedBefore()) { readDate(request, item, "date", "issued"); // Careful that this happens AFTER identifier.* is blown away // above!! readText(request, item, "identifier", "citation", false, "en"); readText(request, item, "publisher", null, false, "en"); } int nextStep = -1; // Proceed according to button pressed if (buttonPressed.equals("submit_contributor_author_more")) { // "Add more" clicked for authors subInfo.moreBoxesFor = "contributor_author"; subInfo.jumpToField = "contributor_author"; nextStep = EDIT_METADATA_1; } else if (subInfo.submission.hasMultipleTitles() && buttonPressed.equals("submit_title_alternative_more")) { // "Add more" clicked for alternative titles subInfo.moreBoxesFor = "title_alternative"; subInfo.jumpToField = "title_alternative"; nextStep = EDIT_METADATA_1; } else if (buttonPressed.equals("submit_relation_ispartofseries_more")) { // "Add more" clicked for series/number subInfo.moreBoxesFor = "relation_ispartofseries"; subInfo.jumpToField = "relation_ispartofseries"; nextStep = EDIT_METADATA_1; } else if (buttonPressed.equals("submit_identifier_more")) { // "Add more" clicked for identifier subInfo.moreBoxesFor = "identifier"; subInfo.jumpToField = "identifier"; nextStep = EDIT_METADATA_1; } else if (buttonPressed.equals("submit_prev")) { nextStep = INITIAL_QUESTIONS; } else if (buttonPressed.equals("submit_next")) { userHasReached(subInfo, EDIT_METADATA_2); nextStep = EDIT_METADATA_2; } else if (buttonPressed.indexOf("remove") > -1) { // Remove button pressed - stay with same form nextStep = EDIT_METADATA_1; } // Write changes to database subInfo.submission.update(); if (nextStep != -1) { doStep(context, request, response, subInfo, nextStep); } else { doStepJump(context, request, response, subInfo); } context.complete(); } | 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,
503,
565,
288,
3639,
514,
3568,
24624,
273,
6484,
1304,
18,
588,
11620,
3616,
12,
2293,
16,
315,
9297,
67,
4285,
8863,
3639,
368,
5783,
715,
16,
866,
364,
279,
4682,
434,
326,
3755,
3568,
18,
3639,
309,
261,
5391,
24624,
18,
14963,
2932,
9297,
67,
10996,
6,
3719,
3639,
288,
5411,
741,
2568,
6857,
12,
2293,
16,
7734,
766,
16,
7734,
720,
966,
16,
7734,
21307,
67,
22746,
67,
21,
16,
7734,
21307,
67,
22746,
67,
21,
1769,
5411,
327,
31,
3639,
289,
3639,
4342,
761,
273,
720,
966,
18,
12684,
18,
588,
1180,
5621,
3639,
368,
2315,
326,
761,
1982,
18,
3639,
855,
1557,
12,
2293,
16,
761,
16,
315,
591,
19293,
3113,
315,
4161,
3113,
638,
1769,
3639,
855,
1528,
12,
2293,
16,
761,
16,
315,
2649,
3113,
446,
16,
629,
16,
315,
275,
8863,
3639,
309,
261,
1717,
966,
18,
12684,
18,
5332,
8438,
25088,
10756,
3639,
288,
5411,
855,
1528,
12,
2293,
16,
761,
16,
315,
2649,
3113,
315,
27071,
3113,
638,
16,
315,
275,
8863,
3639,
289,
3639,
855,
6485,
10072,
12,
2293,
16,
761,
16,
315,
5488,
3113,
315,
291,
2680,
792,
10222,
3113,
638,
1769,
3639,
368,
1412,
3639,
761,
18,
8507,
5528,
2932,
723,
3113,
446,
16,
4342,
18,
15409,
1769,
3639,
514,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
503,
565,
288,
3639,
514,
3568,
24624,
273,
6484,
1304,
18,
588,
11620,
3616,
12,
2293,
16,
315,
9297,
67,
4285,
8863,
3639,
368,
5783,
715,
16,
866,
364,
279,
4682,
434,
326,
3755,
3568,
18,
3639,
309,
261,
5391,
24624,
18,
14963,
2932,
9297,
67,
10996,
6,
3719,
3639,
288,
5411,
741,
2568,
6857,
12,
2293,
16,
7734,
766,
16,
7734,
720,
966,
16,
7734,
21307,
67,
22746,
67,
21,
16,
7734,
21307,
67,
22746,
67,
21,
1769,
5411,
327,
31,
3639,
289,
2
] |
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 == RIGHT ) { if ( previousPoint.getY() < y ) { return false; } } return true; } | 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,
202,
202,
430,
12,
77,
2224,
2735,
631,
2090,
51,
3412,
20081,
77,
2224,
2735,
631,
5948,
4130,
13,
202,
202,
95,
25083,
202,
430,
12,
11515,
2148,
18,
588,
60,
1435,
34,
92,
13,
1082,
202,
95,
9506,
202,
2463,
5743,
31,
1082,
202,
97,
202,
202,
97,
202,
202,
12107,
430,
12,
77,
2224,
2735,
631,
10066,
20081,
77,
2224,
2735,
631,
11847,
13,
202,
202,
95,
25083,
202,
430,
12,
11515,
2148,
18,
588,
61,
1435,
32,
93,
13,
1082,
202,
95,
9506,
202,
2463,
5743,
31,
1082,
202,
97,
202,
202,
97,
202,
202,
2463,
3767,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
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,
202,
202,
430,
12,
77,
2224,
2735,
631,
2090,
51,
3412,
20081,
77,
2224,
2735,
631,
5948,
4130,
13,
202,
202,
95,
25083,
202,
430,
12,
11515,
2148,
18,
588,
60,
1435,
34,
92,
13,
1082,
202,
95,
9506,
202,
2463,
5743,
31,
1082,
202,
97,
202,
202,
97,
202,
202,
12107,
430,
12,
77,
2224,
2735,
631,
10066,
20081,
77,
2224,
2735,
631,
11847,
13,
202,
202,
95,
25083,
202,
430,
12,
11515,
2148,
18,
588,
61,
1435,
32,
93,
13,
1082,
2
] |
||
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 (name.equals("__id__") || name.equals("__send__")) { /*rb_warn("undefining `%s' may cause serious problem", rb_id2name( id ) );*/ } ICallable method = searchMethod(name); if (method == null) { String s0 = " class"; RubyModule c = this; if (c.isSingleton()) { IRubyObject obj = getInstanceVariable("__attached__"); if (obj instanceof RubyModule) { c = (RubyModule) obj; s0 = ""; } } else if (c.isModule()) { s0 = " module"; } throw new NameError(ruby, "Undefined method " + name + " for" + s0 + " '" + c.toName() + "'"); } addMethod(name, null, Constants.NOEX_PUBLIC); } | 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,
12,
24,
1769,
3639,
289,
3639,
309,
261,
27768,
18,
588,
9890,
2355,
1435,
1545,
1059,
597,
401,
291,
29048,
10756,
288,
5411,
604,
394,
17780,
2932,
382,
8869,
30,
848,
1404,
640,
536,
8863,
3639,
289,
3639,
1842,
42,
9808,
5621,
3639,
309,
261,
529,
18,
14963,
2932,
972,
350,
972,
7923,
747,
508,
18,
14963,
2932,
972,
4661,
14437,
3719,
288,
5411,
1748,
6731,
67,
8935,
2932,
318,
5649,
310,
12430,
87,
11,
2026,
4620,
703,
22774,
6199,
3113,
5397,
7138,
67,
350,
22,
529,
12,
612,
262,
11272,
5549,
3639,
289,
3639,
467,
11452,
707,
273,
1623,
1305,
12,
529,
1769,
3639,
309,
261,
2039,
18,
291,
10317,
10756,
288,
5411,
514,
272,
20,
273,
315,
667,
14432,
5411,
19817,
3120,
276,
273,
333,
31,
5411,
309,
261,
71,
18,
291,
19571,
10756,
288,
7734,
15908,
10340,
921,
1081,
273,
3694,
3092,
2932,
972,
24157,
972,
8863,
7734,
309,
261,
2603,
1276,
19817,
3120,
13,
288,
10792,
276,
273,
261,
54,
10340,
3120,
13,
1081,
31,
10792,
272,
20,
273,
1408,
31,
7734,
289,
5411,
289,
469,
309,
261,
71,
18,
291,
3120,
10756,
288,
7734,
272,
20,
273,
315,
1605,
14432,
5411,
289,
5411,
604,
394,
25473,
12,
27768,
16,
315,
10317,
707,
315,
397,
508,
397,
315,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12,
24,
1769,
3639,
289,
3639,
309,
261,
27768,
18,
588,
9890,
2355,
1435,
1545,
1059,
597,
401,
291,
29048,
10756,
288,
5411,
604,
394,
17780,
2932,
382,
8869,
30,
848,
1404,
640,
536,
8863,
3639,
289,
3639,
1842,
42,
9808,
5621,
3639,
309,
261,
529,
18,
14963,
2932,
972,
350,
972,
7923,
747,
508,
18,
14963,
2932,
972,
4661,
14437,
3719,
288,
5411,
1748,
6731,
67,
8935,
2932,
318,
5649,
310,
12430,
87,
11,
2026,
4620,
703,
22774,
6199,
3113,
5397,
7138,
67,
2
] |
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.addPropertyChangeListener(actionBarPropListener); rec.page.setActionBars(rec.subActionBars); count = new Integer(0); } else { site = (IPageSite)mapPageToSite.get(rec.page); rec.subActionBars = (SubActionBars)site.getActionBars(); count = ((Integer)mapPageToNumRecs.get(rec.page)); | 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 = (SubActionBars)site.getActionBars(); rec.subActionBars.addPropertyChangeListener(actionBarPropListener); // for backward compability with IPage rec.page.setActionBars(rec.subActionBars);} | 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,
14015,
45,
1964,
9084,
1767,
1964,
13,
3927,
18,
2433,
2934,
588,
4956,
5621,
202,
97,
202,
430,
261,
4256,
422,
446,
13,
288,
202,
202,
759,
1660,
903,
752,
279,
2834,
364,
3134,
999,
202,
202,
4256,
273,
394,
3460,
4956,
12,
588,
1767,
4956,
10663,
202,
97,
202,
1458,
1964,
774,
4956,
18,
458,
12,
3927,
18,
2433,
16,
2834,
1769,
202,
3927,
18,
1717,
1803,
5190,
87,
273,
261,
1676,
1803,
5190,
87,
13,
4256,
18,
588,
1803,
5190,
87,
5621,
202,
3927,
18,
1717,
1803,
5190,
87,
18,
1289,
1396,
15744,
12,
1128,
5190,
4658,
2223,
1769,
202,
759,
364,
12555,
1161,
2967,
598,
467,
1964,
202,
3927,
18,
2433,
18,
542,
1803,
5190,
87,
12,
3927,
18,
1717,
1803,
5190,
87,
1769,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
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,
14015,
45,
1964,
9084,
1767,
1964,
13,
3927,
18,
2433,
2934,
588,
4956,
5621,
202,
97,
202,
430,
261,
4256,
422,
446,
13,
288,
202,
202,
759,
1660,
903,
752,
279,
2834,
364,
3134,
999,
202,
202,
4256,
273,
394,
3460,
4956,
12,
588,
1767,
4956,
10663,
202,
97,
202,
1458,
1964,
774,
4956,
18,
458,
12,
3927,
18,
2433,
16,
2834,
1769,
202,
3927,
18,
1717,
1803,
5190,
87,
273,
261,
1676,
1803,
5190,
87,
13,
4256,
18,
588,
1803,
5190,
87,
2
] |
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((InputStream) value); } else if (value instanceof BigDecimal) { setBigDecimal((BigDecimal) value); } else if (value instanceof Blob) { setBinaryStream(((Blob) value).getBinaryStream()); } else if (value instanceof Boolean) { setBoolean(((Boolean) value).booleanValue()); } else if (value instanceof Byte) { setByte(((Byte) value).byteValue()); } else if (value instanceof byte[]) { setBytes((byte[]) value); } else if (value instanceof Date) { setDate((Date) value); } else if (value instanceof Double) { setDouble(((Double) value).doubleValue()); } else if (value instanceof Float) { setFloat(((Float) value).floatValue()); } else if (value instanceof Integer) { setInteger(((Integer) value).intValue()); } else if (value instanceof Long) { setLong(((Long) value).longValue()); } else if (value instanceof Short) { setShort(((Short) value).shortValue()); } else if (value instanceof String) { setString((String) value); } else if (value instanceof Time) { setTime((Time) value); } else if (value instanceof Timestamp) { setTimestamp((Timestamp) value); } else { throw (SQLException) createException( OBJECT_CONVERSION_ERROR).fillInStackTrace(); } } | 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,
309,
261,
1132,
422,
446,
13,
288,
1850,
444,
2041,
12,
3767,
1769,
1850,
327,
31,
3639,
289,
3639,
309,
261,
1132,
1276,
5037,
13,
288,
1850,
444,
5905,
1228,
12443,
4348,
13,
460,
1769,
3639,
289,
469,
3639,
309,
261,
1132,
1276,
8150,
13,
288,
1850,
444,
29436,
12443,
29436,
13,
460,
1769,
3639,
289,
469,
3639,
309,
261,
1132,
1276,
12741,
13,
288,
1850,
444,
5905,
1228,
12443,
12,
9405,
13,
460,
2934,
588,
5905,
1228,
10663,
3639,
289,
469,
3639,
309,
261,
1132,
1276,
3411,
13,
288,
1850,
444,
5507,
12443,
12,
5507,
13,
460,
2934,
6494,
620,
10663,
3639,
289,
469,
3639,
309,
261,
1132,
1276,
3506,
13,
288,
1850,
444,
3216,
12443,
12,
3216,
13,
460,
2934,
7229,
620,
10663,
3639,
289,
469,
3639,
309,
261,
1132,
1276,
1160,
63,
5717,
288,
1850,
444,
2160,
12443,
7229,
63,
5717,
460,
1769,
3639,
289,
469,
3639,
309,
261,
1132,
1276,
2167,
13,
288,
1850,
17604,
12443,
1626,
13,
460,
1769,
3639,
289,
469,
3639,
309,
261,
1132,
1276,
3698,
13,
288,
1850,
444,
5265,
12443,
12,
5265,
13,
460,
2934,
9056,
620,
10663,
3639,
289,
469,
3639,
309,
261,
1132,
1276,
5450,
13,
288,
1850,
444,
4723,
12443,
12,
4723,
13,
460,
2934,
5659,
620,
10663,
3639,
289,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
309,
261,
1132,
422,
446,
13,
288,
1850,
444,
2041,
12,
3767,
1769,
1850,
327,
31,
3639,
289,
3639,
309,
261,
1132,
1276,
5037,
13,
288,
1850,
444,
5905,
1228,
12443,
4348,
13,
460,
1769,
3639,
289,
469,
3639,
309,
261,
1132,
1276,
8150,
13,
288,
1850,
444,
29436,
12443,
29436,
13,
460,
1769,
3639,
289,
469,
3639,
309,
261,
1132,
1276,
12741,
13,
288,
1850,
444,
5905,
1228,
12443,
12,
9405,
13,
460,
2934,
588,
5905,
1228,
10663,
3639,
289,
469,
3639,
309,
2
] |
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,
430,
261,
8712,
2375,
422,
446,
13,
288,
9506,
202,
8712,
2375,
273,
2332,
18,
588,
1396,
2932,
1355,
18,
8712,
8863,
1082,
202,
97,
202,
202,
97,
202,
202,
2463,
6382,
2375,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
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,
430,
261,
8712,
2375,
422,
446,
13,
288,
9506,
202,
8712,
2375,
273,
2332,
18,
588,
1396,
2932,
1355,
18,
8712,
8863,
1082,
202,
97,
202,
202,
97,
202,
202,
2463,
6382,
2375,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
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, existing, 0, existing.length); for (int i = 0; i < all.length; i++) { ConcreteMarker marker = (ConcreteMarker) all[i]; progressPart.subTask(NLS.bind( MarkerMessages.MarkerResolutionDialog_WorkingSubTask, marker.getDescription())); IMarkerResolution[] resolutions = IDE.getMarkerHelpRegistry() .getResolutions(marker.getMarker()); if (isCompatible(resolutions, existing)){ markersTable.add(marker.getMarker()); resolutionMap .put(marker.getMarker(),resolutions); } progressPart.worked(1); } progressPart.done(); } | 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,
7078,
5058,
18,
7078,
11098,
6353,
67,
30238,
2174,
16,
9506,
202,
454,
18,
2469,
1769,
202,
202,
2421,
22144,
7078,
11098,
8526,
2062,
273,
394,
4147,
22144,
7078,
11098,
63,
7818,
6170,
18,
2469,
15533,
202,
202,
3163,
18,
1126,
3530,
12,
7818,
6170,
16,
374,
16,
2062,
16,
374,
16,
2062,
18,
2469,
1769,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
777,
18,
2469,
31,
277,
27245,
288,
1082,
202,
25845,
7078,
5373,
273,
261,
25845,
7078,
13,
777,
63,
77,
15533,
1082,
202,
8298,
1988,
18,
1717,
2174,
12,
5106,
18,
4376,
12,
6862,
202,
7078,
5058,
18,
7078,
11098,
6353,
67,
14836,
1676,
2174,
16,
6862,
202,
11145,
18,
588,
3291,
1435,
10019,
1082,
202,
3445,
1313,
264,
11098,
8526,
1565,
6170,
273,
1599,
41,
18,
588,
7078,
6696,
4243,
1435,
6862,
202,
18,
588,
2903,
6170,
12,
11145,
18,
588,
7078,
10663,
1082,
202,
430,
261,
291,
14599,
12,
7818,
6170,
16,
2062,
3719,
95,
9506,
202,
22807,
1388,
18,
1289,
12,
11145,
18,
588,
7078,
10663,
9506,
202,
19182,
863,
263,
458,
12,
11145,
18,
588,
7078,
9334,
7818,
6170,
1769,
1082,
202,
97,
1082,
202,
8298,
1988,
18,
1252,
329,
12,
21,
1769,
202,
202,
97,
202,
202,
8298,
1988,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7078,
5058,
18,
7078,
11098,
6353,
67,
30238,
2174,
16,
9506,
202,
454,
18,
2469,
1769,
202,
202,
2421,
22144,
7078,
11098,
8526,
2062,
273,
394,
4147,
22144,
7078,
11098,
63,
7818,
6170,
18,
2469,
15533,
202,
202,
3163,
18,
1126,
3530,
12,
7818,
6170,
16,
374,
16,
2062,
16,
374,
16,
2062,
18,
2469,
1769,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
777,
18,
2469,
31,
277,
27245,
288,
1082,
202,
25845,
7078,
5373,
273,
261,
25845,
7078,
13,
2
] |
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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); spaceBefore = null; int startXOffset = fobj.getCommonMarginBlock().startIndent.getValue(this); // add column, body then row areas int tableHeight = 0; //Body childLM; LayoutContext lc = new LayoutContext(0); lc.setRefIPD(referenceIPD - getIPIndents()); contentLM.setStartXOffset(startXOffset); contentLM.addAreas(parentIter, lc); tableHeight += contentLM.getUsedBPD(); curBlockArea.setBPD(tableHeight); if (fobj.isSeparateBorderModel()) { TraitSetter.addBorders(curBlockArea, fobj.getCommonBorderPaddingBackground(), this); } TraitSetter.addBackground(curBlockArea, fobj.getCommonBorderPaddingBackground(), this); TraitSetter.addMargins(curBlockArea, fobj.getCommonBorderPaddingBackground(), fobj.getCommonMarginBlock(), this); TraitSetter.addBreaks(curBlockArea, fobj.getBreakBefore(), fobj.getBreakAfter()); flush(); // if adjusted space after addBlockSpacing(adjust, spaceAfter); //bodyBreaks.clear(); curBlockArea = null; } | 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,
18,
26321,
10663,
3639,
368,
309,
13940,
3476,
1865,
3639,
1645,
5765,
273,
3511,
1042,
18,
588,
3819,
10952,
5621,
3639,
527,
1768,
18006,
12,
13362,
16,
3476,
4649,
1769,
3639,
3476,
4649,
273,
446,
31,
3639,
509,
787,
60,
2335,
273,
24705,
18,
588,
6517,
9524,
1768,
7675,
1937,
7790,
18,
24805,
12,
2211,
1769,
7734,
368,
527,
1057,
16,
1417,
1508,
1027,
15586,
3639,
509,
1014,
2686,
273,
374,
31,
3639,
368,
2250,
1151,
17063,
31,
3639,
9995,
1042,
9109,
273,
394,
9995,
1042,
12,
20,
1769,
3639,
9109,
18,
542,
1957,
2579,
40,
12,
1745,
2579,
40,
1769,
3639,
913,
17063,
18,
542,
1685,
60,
2335,
12,
1937,
60,
2335,
1769,
3639,
913,
17063,
18,
1289,
28377,
12,
2938,
2360,
16,
9109,
1769,
3639,
1014,
2686,
1011,
913,
17063,
18,
588,
6668,
38,
21527,
5621,
3639,
662,
1768,
5484,
18,
542,
38,
21527,
12,
2121,
2686,
1769,
3639,
309,
261,
27936,
18,
291,
16842,
340,
8107,
1488,
10756,
288,
5411,
2197,
305,
8465,
18,
1289,
21621,
12,
1397,
1768,
5484,
16,
24705,
18,
588,
6517,
8107,
9485,
8199,
9334,
333,
1769,
3639,
289,
3639,
2197,
305,
8465,
18,
1289,
8199,
12,
1397,
1768,
5484,
16,
1171,
24705,
18,
588,
6517,
8107,
9485,
8199,
9334,
7734,
333,
1769,
3639,
2197,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
18,
26321,
10663,
3639,
368,
309,
13940,
3476,
1865,
3639,
1645,
5765,
273,
3511,
1042,
18,
588,
3819,
10952,
5621,
3639,
527,
1768,
18006,
12,
13362,
16,
3476,
4649,
1769,
3639,
3476,
4649,
273,
446,
31,
3639,
509,
787,
60,
2335,
273,
24705,
18,
588,
6517,
9524,
1768,
7675,
1937,
7790,
18,
24805,
12,
2211,
1769,
7734,
368,
527,
1057,
16,
1417,
1508,
1027,
15586,
3639,
509,
1014,
2686,
273,
374,
31,
3639,
368,
2250,
1151,
17063,
31,
3639,
9995,
1042,
9109,
273,
394,
2
] |
} | } | 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_id")) ; params.setProperty("DEL_META_ID", del_meta_id) ; return params ;} | 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,
628,
326,
590,
733,
202,
780,
1464,
67,
3901,
67,
350,
273,
261,
3658,
18,
588,
1662,
2932,
3733,
67,
3901,
67,
350,
7923,
631,
2011,
13,
692,
1408,
294,
261,
3658,
18,
588,
1662,
2932,
3733,
67,
3901,
67,
350,
6,
3719,
274,
202,
2010,
18,
542,
1396,
2932,
24733,
67,
19294,
67,
734,
3113,
1464,
67,
3901,
67,
350,
13,
274,
202,
202,
2463,
859,
274,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
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,
628,
326,
590,
733,
202,
780,
1464,
67,
3901,
67,
350,
273,
261,
3658,
18,
588,
1662,
2932,
3733,
67,
3901,
67,
350,
7923,
631,
2011,
13,
692,
1408,
294,
261,
3658,
18,
588,
1662,
2932,
3733,
67,
3901,
67,
350,
6,
3719,
274,
202,
2010,
18,
542,
1396,
2932,
24733,
67,
19294,
67,
734,
3113,
1464,
67,
3901,
67,
350,
13,
274,
202,
202,
2463,
859,
274,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
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 conn = mbox.getOperationConnection(); ArrayList<UnderlyingData> result = new ArrayList<UnderlyingData>(); PreparedStatement stmt = null; ResultSet rs = null; try { stmt = conn.prepareStatement("SELECT " + DB_FIELDS + " FROM " + getMailItemTableName(folder.getMailboxId(), " mi") + " WHERE folder_id = ? AND type IN " + typeConstraint(type) + sortQuery(sort)); stmt.setInt(1, folder.getId()); rs = stmt.executeQuery(); while (rs.next()) result.add(constructItem(rs)); return result; } catch (SQLException e) { throw ServiceException.FAILURE("fetching items in folder " + folder.getId(), e); } finally { DbPool.closeResults(rs); DbPool.closeStatement(stmt); } } | 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,
604,
16489,
18,
9347,
67,
5519,
2932,
16064,
471,
2342,
1297,
506,
10295,
628,
1247,
3113,
446,
1769,
3639,
11542,
2147,
312,
2147,
273,
3009,
18,
588,
30239,
5621,
3639,
4050,
1487,
273,
312,
2147,
18,
588,
2988,
1952,
5621,
3639,
2407,
32,
14655,
6291,
751,
34,
563,
273,
394,
2407,
32,
14655,
6291,
751,
34,
5621,
3639,
16913,
3480,
273,
446,
31,
3639,
10842,
3597,
273,
446,
31,
3639,
775,
288,
5411,
3480,
273,
1487,
18,
9366,
3406,
2932,
4803,
315,
397,
2383,
67,
12683,
397,
10792,
315,
4571,
315,
397,
31991,
1180,
7147,
12,
5609,
18,
588,
30239,
548,
9334,
315,
12837,
7923,
397,
10792,
315,
4852,
3009,
67,
350,
273,
692,
4116,
618,
2120,
315,
397,
618,
5806,
12,
723,
13,
397,
10792,
1524,
1138,
12,
3804,
10019,
5411,
509,
949,
273,
404,
31,
309,
261,
2829,
809,
18,
7589,
30239,
1114,
13,
3480,
18,
542,
1702,
12,
917,
9904,
16,
312,
2147,
18,
26321,
10663,
3480,
18,
542,
1702,
12,
917,
9904,
16,
3009,
18,
26321,
10663,
5411,
3597,
273,
3480,
18,
8837,
1138,
5621,
5411,
1323,
261,
5453,
18,
4285,
10756,
7734,
563,
18,
1289,
12,
10062,
1180,
12,
5453,
10019,
5411,
327,
563,
31,
3639,
289,
1044,
261,
23116,
425,
13,
288,
1082,
202,
12849,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
604,
16489,
18,
9347,
67,
5519,
2932,
16064,
471,
2342,
1297,
506,
10295,
628,
1247,
3113,
446,
1769,
3639,
11542,
2147,
312,
2147,
273,
3009,
18,
588,
30239,
5621,
3639,
4050,
1487,
273,
312,
2147,
18,
588,
2988,
1952,
5621,
3639,
2407,
32,
14655,
6291,
751,
34,
563,
273,
394,
2407,
32,
14655,
6291,
751,
34,
5621,
3639,
16913,
3480,
273,
446,
31,
3639,
10842,
3597,
273,
446,
31,
3639,
775,
288,
5411,
3480,
273,
1487,
18,
9366,
3406,
2932,
4803,
315,
397,
2
] |
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 ); { assertNode( root.getChild( 0 ), ".", Token.DOT, 2 ); { assertNode( root.getChild( 0 ).getChild( 0 ), ".", Token.DOT, 2 ); { assertNode( root.getChild( 0 ).getChild( 0 ).getChild( 0 ), "cheddar", Token.IDENTIFIER, 0 ); assertNode( root.getChild( 0 ).getChild( 0 ).getChild( 1 ), "cheese", Token.IDENTIFIER, 0 ); } assertNode( root.getChild( 0 ).getChild( 1 ), "Toast", Token.IDENTIFIER, 0 ); } assertNullNode( root.getChild( 1 ), 0 ); } } | 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,
11272,
3639,
385,
882,
907,
1365,
273,
2082,
18,
5666,
3406,
5621,
3639,
1815,
907,
12,
1365,
16,
10792,
315,
5666,
3113,
10792,
3155,
18,
28813,
67,
20445,
16,
10792,
576,
11272,
3639,
288,
5411,
1815,
907,
12,
1365,
18,
588,
1763,
12,
374,
262,
16,
13491,
4585,
16,
13491,
3155,
18,
17591,
16,
13491,
576,
11272,
5411,
288,
7734,
1815,
907,
12,
1365,
18,
588,
1763,
12,
374,
262,
18,
588,
1763,
12,
374,
262,
16,
18701,
4585,
16,
18701,
3155,
18,
17591,
16,
18701,
576,
11272,
7734,
288,
10792,
1815,
907,
12,
1365,
18,
588,
1763,
12,
374,
262,
18,
588,
1763,
12,
374,
262,
18,
588,
1763,
12,
374,
262,
16,
27573,
315,
2049,
72,
297,
3113,
27573,
3155,
18,
16606,
16,
27573,
374,
11272,
10792,
1815,
907,
12,
1365,
18,
588,
1763,
12,
374,
262,
18,
588,
1763,
12,
374,
262,
18,
588,
1763,
12,
404,
262,
16,
27573,
315,
18706,
3392,
3113,
27573,
3155,
18,
16606,
16,
27573,
374,
11272,
7734,
289,
27573,
1815,
907,
12,
1365,
18,
588,
1763,
12,
374,
262,
18,
588,
1763,
12,
404,
262,
16,
18701,
315,
774,
689,
3113,
18701,
3155,
18,
16606,
16,
18701,
374,
11272,
5411,
289,
5411,
1815,
2041,
907,
12,
1365,
18,
588,
1763,
12,
404,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11272,
3639,
385,
882,
907,
1365,
273,
2082,
18,
5666,
3406,
5621,
3639,
1815,
907,
12,
1365,
16,
10792,
315,
5666,
3113,
10792,
3155,
18,
28813,
67,
20445,
16,
10792,
576,
11272,
3639,
288,
5411,
1815,
907,
12,
1365,
18,
588,
1763,
12,
374,
262,
16,
13491,
4585,
16,
13491,
3155,
18,
17591,
16,
13491,
576,
11272,
5411,
288,
7734,
1815,
907,
12,
1365,
18,
588,
1763,
12,
374,
262,
18,
588,
1763,
12,
374,
262,
16,
18701,
4585,
16,
18701,
3155,
18,
2
] |
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.OK_ID).setEnabled(false); errDisplayer.setText("The name is already being used."); errDisplayer.setImage(XSDEditorPlugin.getXSDImage("icons/error_st_obj.gif")); return; } } // name is empty string if (categoryName.equals("")) { isCategoryNameValid = false; getButton(IDialogConstants.OK_ID).setEnabled(false); errDisplayer.setText(""); errDisplayer.setImage(null); return; } /* * Enable the Ok button if the location field AND the name field are not * empty */ if (!categoryName.equals("")) { isCategoryNameValid = true; errDisplayer.setText(""); errDisplayer.setImage(null); } if (!appInfoSchemaLocation.equals("")) { getButton(IDialogConstants.OK_ID).setEnabled(true); } } | 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,
480,
446,
13,
3639,
288,
1850,
309,
261,
5387,
1557,
18,
12298,
12,
4743,
461,
18,
5290,
1435,
3719,
1850,
288,
5411,
353,
4457,
461,
1556,
273,
629,
31,
5411,
2882,
2644,
12,
734,
3529,
2918,
18,
3141,
67,
734,
2934,
542,
1526,
12,
5743,
1769,
5411,
393,
4236,
264,
18,
542,
1528,
2932,
1986,
508,
353,
1818,
3832,
1399,
1199,
1769,
5411,
393,
4236,
264,
18,
542,
2040,
12,
60,
55,
1639,
72,
1811,
3773,
18,
588,
31244,
2040,
2932,
14516,
19,
1636,
67,
334,
67,
2603,
18,
13905,
7923,
1769,
5411,
327,
31,
1850,
289,
3639,
289,
3639,
368,
508,
353,
1008,
533,
3639,
309,
261,
4743,
461,
18,
14963,
2932,
6,
3719,
3639,
288,
1850,
353,
4457,
461,
1556,
273,
629,
31,
1850,
2882,
2644,
12,
734,
3529,
2918,
18,
3141,
67,
734,
2934,
542,
1526,
12,
5743,
1769,
1850,
393,
4236,
264,
18,
542,
1528,
2932,
8863,
1850,
393,
4236,
264,
18,
542,
2040,
12,
2011,
1769,
1850,
327,
31,
3639,
289,
3639,
1748,
540,
380,
9677,
326,
16154,
3568,
309,
326,
2117,
652,
4116,
326,
508,
652,
854,
486,
540,
380,
1008,
540,
1195,
3639,
309,
16051,
4743,
461,
18,
14963,
2932,
6,
3719,
3639,
288,
1850,
353,
4457,
461,
1556,
273,
638,
31,
1850,
393,
4236,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
480,
446,
13,
3639,
288,
1850,
309,
261,
5387,
1557,
18,
12298,
12,
4743,
461,
18,
5290,
1435,
3719,
1850,
288,
5411,
353,
4457,
461,
1556,
273,
629,
31,
5411,
2882,
2644,
12,
734,
3529,
2918,
18,
3141,
67,
734,
2934,
542,
1526,
12,
5743,
1769,
5411,
393,
4236,
264,
18,
542,
1528,
2932,
1986,
508,
353,
1818,
3832,
1399,
1199,
1769,
5411,
393,
4236,
264,
18,
542,
2040,
12,
60,
55,
1639,
72,
1811,
3773,
18,
588,
31244,
2040,
2932,
14516,
19,
1636,
2
] |
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) { WorkbenchPage page = (WorkbenchPage) ref.getPage(); newPart = new ViewPane((IViewReference) ref, page); ref.setPane(newPart); } return newPart; } | 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,
13,
3272,
7734,
263,
2640,
1767,
12,
1945,
548,
1769,
3639,
4441,
8485,
394,
1988,
273,
261,
1767,
8485,
13,
1278,
18,
588,
8485,
5621,
3639,
309,
261,
2704,
1988,
422,
446,
13,
288,
5411,
4147,
22144,
1964,
1363,
273,
261,
2421,
22144,
1964,
13,
1278,
18,
588,
1964,
5621,
5411,
394,
1988,
273,
394,
4441,
8485,
12443,
45,
1767,
2404,
13,
1278,
16,
1363,
1769,
5411,
1278,
18,
542,
8485,
12,
2704,
1988,
1769,
3639,
289,
3639,
327,
394,
1988,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
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,
13,
3272,
7734,
263,
2640,
1767,
12,
1945,
548,
1769,
3639,
4441,
8485,
394,
1988,
273,
261,
1767,
8485,
13,
1278,
18,
588,
8485,
5621,
3639,
309,
261,
2704,
1988,
422,
446,
13,
288,
5411,
4147,
22144,
1964,
1363,
273,
261,
2421,
22144,
1964,
13,
1278,
18,
588,
1964,
5621,
5411,
394,
1988,
273,
394,
4441,
8485,
12443,
45,
1767,
2404,
13,
1278,
16,
1363,
1769,
5411,
1278,
18,
542,
8485,
12,
2704,
1988,
1769,
3639,
289,
3639,
327,
394,
1988,
31,
565,
289,
2,
-100
] |
|
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 InitialContext(); // Create default definition if needed if (mainProcessorDefinition == null) { mainProcessorDefinition = new ProcessorDefinition(); mainProcessorDefinition.setUri(DEFAULT_PROCESSOR_URI); mainProcessorDefinition.addInput(DEFAULT_PROCESSOR_INPUT_NAME, DEFAULT_PROCESSOR_INPUT_URL); } // Create and connect main processor mainProcessor = InitUtils.createProcessor(mainProcessorDefinition); // Create and connect error processor // TODO: make this configurable like the main processor try { QName processorQName = OXFProperties.instance().getPropertySet().getQName(ERROR_PROCESSOR_URI_PROPERTY); if (processorQName != null) { errorProcessor = ProcessorFactoryRegistry.lookup(processorQName).createInstance(new PipelineContext()); // Add inputs for (Iterator i = OXFProperties.instance().keySet().iterator(); i.hasNext();) { String key = (String) i.next(); if (key.startsWith(ERROR_PROCESSOR_INPUT_PROPERTY_PREFIX)) { // It's an input String inputName = key.substring(ERROR_PROCESSOR_INPUT_PROPERTY_PREFIX.length()); String inputSrc = OXFProperties.instance().getPropertySet().getStringOrURIAsString(key); Processor urlGenerator = PipelineUtils.createURLGenerator(inputSrc); PipelineUtils.connect(urlGenerator, ProcessorImpl.OUTPUT_DATA, errorProcessor, inputName); } } } } catch (Exception e) { logger.warn("Can't instanciate the error pipeline", e); } initialized = true; } catch (Exception e) { throw new OXFException(e); } } | 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,
1769,
5411,
327,
31,
3639,
289,
3639,
775,
288,
5411,
368,
1788,
2172,
819,
5411,
525,
16564,
1042,
273,
394,
10188,
1042,
5621,
5411,
368,
1788,
805,
2379,
309,
3577,
5411,
309,
261,
5254,
5164,
1852,
422,
446,
13,
288,
7734,
2774,
5164,
1852,
273,
394,
15476,
1852,
5621,
7734,
2774,
5164,
1852,
18,
542,
3006,
12,
5280,
67,
16560,
916,
67,
3098,
1769,
7734,
2774,
5164,
1852,
18,
1289,
1210,
12,
5280,
67,
16560,
916,
67,
15934,
67,
1985,
16,
3331,
67,
16560,
916,
67,
15934,
67,
1785,
1769,
5411,
289,
5411,
368,
1788,
471,
3077,
2774,
6659,
5411,
2774,
5164,
273,
4378,
1989,
18,
2640,
5164,
12,
5254,
5164,
1852,
1769,
5411,
368,
1788,
471,
3077,
555,
6659,
5411,
368,
2660,
30,
1221,
333,
14593,
3007,
326,
2774,
6659,
5411,
775,
288,
7734,
16723,
6659,
13688,
273,
531,
60,
42,
2297,
18,
1336,
7675,
588,
1396,
694,
7675,
588,
13688,
12,
3589,
67,
16560,
916,
67,
3098,
67,
9900,
1769,
7734,
309,
261,
8700,
13688,
480,
446,
13,
288,
10792,
555,
5164,
273,
15476,
1733,
4243,
18,
8664,
12,
8700,
13688,
2934,
2640,
1442,
12,
2704,
13671,
1042,
10663,
10792,
368,
1436,
4540,
10792,
364,
261,
3198,
277,
273,
531,
60,
42,
2297,
18,
1336,
7675,
856,
694,
7675,
9838,
5621,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1769,
5411,
327,
31,
3639,
289,
3639,
775,
288,
5411,
368,
1788,
2172,
819,
5411,
525,
16564,
1042,
273,
394,
10188,
1042,
5621,
5411,
368,
1788,
805,
2379,
309,
3577,
5411,
309,
261,
5254,
5164,
1852,
422,
446,
13,
288,
7734,
2774,
5164,
1852,
273,
394,
15476,
1852,
5621,
7734,
2774,
5164,
1852,
18,
542,
3006,
12,
5280,
67,
16560,
916,
67,
3098,
1769,
7734,
2774,
5164,
1852,
18,
1289,
1210,
12,
5280,
67,
16560,
916,
67,
15934,
67,
1985,
16,
3331,
67,
16560,
916,
2
] |
|
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(collection.getPath()); Map.Entry entry; // declare namespace/prefix mappings for(Iterator i = namespaceDecls.entrySet().iterator(); i.hasNext(); ) { entry = (Map.Entry)i.next(); LOG.debug("prefix " + entry.getKey() + " = " + entry.getValue()); context.declareNamespace((String)entry.getKey(), (String)entry.getValue()); } // declare static variables for(Iterator i = variableDecls.entrySet().iterator(); i.hasNext(); ) { entry = (Map.Entry)i.next(); context.declareVariable((String)entry.getKey(), (String)entry.getValue()); } XPathLexer2 lexer = new XPathLexer2(new StringReader(query)); XPathParser2 parser = new XPathParser2(lexer, false); XPathTreeParser2 treeParser = new XPathTreeParser2(context); parser.xpath(); if(parser.foundErrors()) { LOG.debug(parser.getErrorMessage()); throw new XMLDBException(ErrorCodes.UNKNOWN_ERROR, parser.getErrorMessage()); } AST ast = parser.getAST(); LOG.debug("generated AST: " + ast.toStringList()); PathExpr expr = new PathExpr(context); treeParser.xpath(ast, expr); if(treeParser.foundErrors()) { throw new XMLDBException(ErrorCodes.UNKNOWN_ERROR, treeParser.getErrorMessage(), treeParser.getLastException()); } LOG.info("query: " + expr.pprint()); long start = System.currentTimeMillis(); //if (parser.foundErrors()) // throw new XMLDBException(ErrorCodes.VENDOR_ERROR, parser.getErrorMsg()); Sequence result = null;// docs = (docs == null ? expr.preselect() : expr.preselect(docs));// if (docs.getLength() == 0) {// result = Sequence.EMPTY_SEQUENCE;// LOG.info("no documents!");// } else result = expr.eval(docs, contextSet, null); LOG.info( expr.pprint() + " found: " + result.getLength() + " in " + (System.currentTimeMillis() - start) + "ms."); LocalResourceSet resultSet = new LocalResourceSet( user, brokerPool, collection, result, sortExpr); return resultSet; } catch (antlr.RecognitionException re) { throw new XMLDBException(ErrorCodes.VENDOR_ERROR, re.getMessage(), re); } catch (antlr.TokenStreamException te) { throw new XMLDBException(ErrorCodes.VENDOR_ERROR, te.getMessage(), te); } catch (IllegalArgumentException e) { throw new XMLDBException(ErrorCodes.VENDOR_ERROR, e.getMessage(), e); } catch (XPathException e) { throw new XMLDBException(ErrorCodes.VENDOR_ERROR, e.getMessage(), e); } catch (EXistException e) { throw new XMLDBException(ErrorCodes.VENDOR_ERROR, e.getMessage(), e); } finally { brokerPool.release(broker); } } | 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,
2932,
2271,
30,
315,
397,
843,
1769,
202,
202,
2290,
11194,
8625,
273,
446,
31,
202,
202,
698,
288,
1082,
202,
21722,
273,
8625,
2864,
18,
588,
12,
1355,
1769,
5411,
10901,
1042,
819,
273,
394,
10901,
1042,
12,
21722,
1769,
5411,
819,
18,
542,
2171,
3098,
12,
5548,
18,
588,
743,
10663,
13491,
1635,
18,
1622,
1241,
31,
5411,
368,
14196,
1981,
19,
3239,
7990,
5411,
364,
12,
3198,
277,
273,
1981,
1799,
3251,
18,
4099,
694,
7675,
9838,
5621,
277,
18,
5332,
2134,
5621,
262,
288,
7734,
1241,
273,
261,
863,
18,
1622,
13,
77,
18,
4285,
5621,
7734,
2018,
18,
4148,
2932,
3239,
315,
397,
1241,
18,
588,
653,
1435,
397,
315,
273,
315,
397,
1241,
18,
24805,
10663,
7734,
819,
18,
29554,
3402,
12443,
780,
13,
4099,
18,
588,
653,
9334,
261,
780,
13,
4099,
18,
24805,
10663,
5411,
289,
5411,
368,
14196,
760,
3152,
5411,
364,
12,
3198,
277,
273,
2190,
1799,
3251,
18,
4099,
694,
7675,
9838,
5621,
277,
18,
5332,
2134,
5621,
262,
288,
2398,
202,
4099,
273,
261,
863,
18,
1622,
13,
77,
18,
4285,
5621,
2398,
202,
2472,
18,
29554,
3092,
12443,
780,
13,
4099,
18,
588,
653,
9334,
261,
780,
13,
4099,
18,
24805,
10663,
5411,
289,
1082,
202,
14124,
13356,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2932,
2271,
30,
315,
397,
843,
1769,
202,
202,
2290,
11194,
8625,
273,
446,
31,
202,
202,
698,
288,
1082,
202,
21722,
273,
8625,
2864,
18,
588,
12,
1355,
1769,
5411,
10901,
1042,
819,
273,
394,
10901,
1042,
12,
21722,
1769,
5411,
819,
18,
542,
2171,
3098,
12,
5548,
18,
588,
743,
10663,
13491,
1635,
18,
1622,
1241,
31,
5411,
368,
14196,
1981,
19,
3239,
7990,
5411,
364,
12,
3198,
277,
273,
1981,
1799,
3251,
18,
4099,
694,
7675,
9838,
5621,
277,
18,
2
] |
|
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 & ReOptions.RE_OPTION_MULTILINE) > 0) { flags |= Pattern.DOTALL; } return flags; } | 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,
13,
288,
5411,
2943,
5626,
6830,
18,
13415,
67,
706,
26753,
16325,
31,
3639,
289,
3639,
309,
14015,
2116,
473,
868,
1320,
18,
862,
67,
7425,
67,
4142,
22088,
13,
405,
374,
13,
288,
540,
202,
7133,
5626,
6830,
18,
12200,
55,
31,
3639,
289,
3639,
309,
14015,
2116,
473,
868,
1320,
18,
862,
67,
7425,
67,
12845,
30690,
13,
405,
374,
13,
288,
540,
202,
7133,
5626,
6830,
18,
17591,
4685,
31,
3639,
289,
202,
202,
2463,
2943,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
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,
13,
288,
5411,
2943,
5626,
6830,
18,
13415,
67,
706,
26753,
16325,
31,
3639,
289,
3639,
309,
14015,
2116,
473,
868,
1320,
18,
862,
67,
7425,
67,
4142,
22088,
13,
405,
374,
13,
288,
540,
202,
7133,
5626,
6830,
18,
12200,
55,
31,
3639,
289,
3639,
309,
14015,
2116,
473,
868,
1320,
18,
862,
67,
7425,
67,
12845,
30690,
13,
405,
374,
13,
288,
540,
202,
7133,
5626,
6830,
18,
17591,
4685,
31,
3639,
289,
202,
202,
2463,
2943,
31,
202,
97,
2,
-100
] |
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.equals("")) { StringBuffer out = new StringBuffer(); ctx.getPageMaker().makeHead(out, "Plugin List"); out.append("<table style=\"border: 1pt solid #c0c0c0;\">"); out.append(" <tr>\n"); out.append(" <th>Name</th>\n"); out.append(" <th>ID</th>\n"); out.append(" <th>Started</th>\n"); out.append(" <th></th>\n"); out.append(" </tr>\n"); Iterator it = pm.getPlugins().iterator(); while (it.hasNext()) { PluginInfoWrapper pi = (PluginInfoWrapper) it.next(); out.append(" <tr>\n"); out.append(" <td style=\"border: 1pt solid #c0c0c0;\">" + pi.getPluginClassName() + "</td>\n"); out.append(" <td style=\"border: 1pt solid #c0c0c0;\">" + pi.getThreadName() + "</td>\n"); out.append(" <td style=\"border: 1pt solid #c0c0c0;\">" + (new Date(pi.getStarted())) + "</td>\n"); out.append(" <td style=\"border: 1pt solid #c0c0c0;\">"); if (pi.isPproxyPlugin()) out.append(" <a href=\""+pi.getPluginClassName()+"/\">[VISIT]</a> "); out.append(" <a href=\"?remove="+pi.getThreadName()+"\">[UNLOAD]</a> "); out.append(" <a href=\"?reload="+pi.getThreadName()+"\">[RELOAD]</a> "); out.append("</td>\n"); out.append(" </tr>\n"); } if (pm.getPlugins().isEmpty()) { out.append("<tr>\n"); out.append("<td colspan=\"4\"\n"); out.append("<i>No plugins loaded</i>\n"); out.append("</td>\n"); out.append("</tr>\n"); } out.append("</table>"); //String ret = "<hr/>" + out.toString(); //ret = pm.dumpPlugins().replaceAll(",", "\n ").replaceAll("\"", " \" "); /*if (ret.length() < 6) ret += "<i>No plugins loaded</i>\n"; ret += "<hr/>";*/ // Obsolete //out.append("<form method=\"get\"><div>Remove plugin: (enter ID) <input type=\"text\" name=\"remove\" size=40/><input type=\"submit\" value=\"Remove\"/></div></form>\n"); out.append("<form method=\"get\" action=\".\"><div>Load plugin: <input type=\"text\" name=\"load\" size=\"40\"/><input type=\"submit\" value=\"Load\" /></div></form>\n"); ctx.getPageMaker().makeTail(out); writeReply(ctx, 200, "text/html", "OK", out.toString()); } else if (ks.startsWith("?remove=")) { pm.killPlugin(ks.substring("?remove=".length())); MultiValueTable headers = new MultiValueTable(); headers.put("Location", "."); ctx.sendReplyHeaders(302, "Found", headers, null, 0); //writeReply(ctx, 200, "text/html", "OK", mkForwardPage("Removing plugin", "Removing plugin...", ".", 5)); } else if (ks.startsWith("?load=")) { pm.startPlugin(ks.substring("?load=".length())); //writeReply(ctx, 200, "text/html", "OK", mkForwardPage("Loading plugin", "Loading plugin...", ".", 5)); MultiValueTable headers = new MultiValueTable(); headers.put("Location", "."); ctx.sendReplyHeaders(302, "Found", headers, null, 0); } else if (ks.startsWith("?reload=")) { String fn = null; Iterator it = pm.getPlugins().iterator(); while (it.hasNext()) { PluginInfoWrapper pi = (PluginInfoWrapper) it.next(); if (pi.getThreadName().equals(ks.substring("?reload=".length()))) { fn = pi.getFilename(); break; } } if (fn == null) { writeReply(ctx, 200, "text/html", "OK", mkForwardPage("Error", "Plugin not found...", ".", 5)); } else { pm.killPlugin(ks.substring("?reload=".length())); pm.startPlugin(fn); MultiValueTable headers = new MultiValueTable(); headers.put("Location", "."); ctx.sendReplyHeaders(302, "Found", headers, null, 0); } } else { int to = ks.indexOf("/"); String plugin, data; if (to == -1) { plugin = ks; data = ""; } else { plugin = ks.substring(0, to); data = ks.substring(to + 1); } //pm.handleHTTPGet(plugin, data); HTTPRequest request = new HTTPRequest(data, uri.getRawQuery()); //writeReply(ctx, 200, "text/html", "OK", mkPage("plugin", pm.handleHTTPGet(plugin, data))); writeReply(ctx, 200, "text/html", "OK", pm.handleHTTPGet(plugin, request)); } //FetchResult result = fetch(key); //writeReply(ctx, 200, result.getMimeType(), "OK", result.asBucket()); } catch (PluginHTTPException ex) { // TODO: make it into html writeReply(ctx, ex.getCode(), ex.getMimeType(), ex.getDesc(), ex.getReply()); } catch (Throwable t) { Logger.error(this, "Caught "+t, t); String msg = "<html><head><title>Internal Error</title></head><body><h1>Internal Error: please report</h1><pre>"; StringWriter sw = new StringWriter(); PrintWriter pw = new PrintWriter(sw); t.printStackTrace(pw); pw.flush(); msg = msg + sw.toString() + "</pre></body></html>"; this.writeReply(ctx, 500, "text/html", "Internal Error", msg); } } | 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,
8057,
4898,
31,
202,
202,
780,
11654,
273,
2003,
18,
588,
743,
5621,
9506,
202,
430,
12,
7904,
18,
17514,
1190,
2932,
4898,
3719,
1082,
202,
7904,
273,
11654,
18,
28023,
12,
21,
1769,
202,
202,
7904,
273,
11654,
18,
28023,
2932,
8057,
4898,
18,
2469,
10663,
202,
202,
3328,
18,
17364,
12,
2211,
16,
315,
52,
5656,
16191,
13773,
7904,
1769,
202,
202,
698,
288,
1082,
202,
430,
261,
7904,
18,
14963,
2932,
6,
3719,
288,
9506,
202,
780,
1892,
596,
273,
394,
6674,
5621,
9506,
202,
5900,
18,
588,
1964,
12373,
7675,
6540,
1414,
12,
659,
16,
315,
3773,
987,
8863,
9506,
202,
659,
18,
6923,
2932,
32,
2121,
2154,
5189,
8815,
30,
404,
337,
18035,
468,
71,
20,
71,
20,
71,
20,
31,
21121,
1769,
9506,
202,
659,
18,
6923,
2932,
225,
411,
313,
5333,
82,
8863,
9506,
202,
659,
18,
6923,
2932,
565,
411,
451,
34,
461,
1757,
451,
5333,
82,
8863,
9506,
202,
659,
18,
6923,
2932,
565,
411,
451,
34,
734,
1757,
451,
5333,
82,
8863,
9506,
202,
659,
18,
6923,
2932,
565,
411,
451,
34,
9217,
1757,
451,
5333,
82,
8863,
9506,
202,
659,
18,
6923,
2932,
565,
411,
451,
4695,
451,
5333,
82,
8863,
9506,
202,
659,
18,
6923,
2932,
225,
7765,
313,
5333,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8057,
4898,
31,
202,
202,
780,
11654,
273,
2003,
18,
588,
743,
5621,
9506,
202,
430,
12,
7904,
18,
17514,
1190,
2932,
4898,
3719,
1082,
202,
7904,
273,
11654,
18,
28023,
12,
21,
1769,
202,
202,
7904,
273,
11654,
18,
28023,
2932,
8057,
4898,
18,
2469,
10663,
202,
202,
3328,
18,
17364,
12,
2211,
16,
315,
52,
5656,
16191,
13773,
7904,
1769,
202,
202,
698,
288,
1082,
202,
430,
261,
7904,
18,
14963,
2932,
6,
3719,
288,
9506,
202,
780,
1892,
596,
273,
394,
2
] |
} | } | 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] = (ISubCategoryProvider) IDEWorkbenchPlugin .createExtension(element, CLASS); } catch (CoreException exception) { exceptions[0] = exception; } } /* * (non-Javadoc) Method declared on ISafeRunnable. */ public void handleException(Throwable e) { // Do nothing as Core will handle the logging } }); if (exceptions[0] != null){ Util.log(exceptions[0]); return null; } return providers[0]; } | 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,
202,
6385,
30015,
8526,
4798,
273,
394,
30015,
63,
21,
15533,
9506,
202,
8201,
18,
2681,
12,
2704,
4437,
2513,
20013,
1435,
288,
1082,
202,
482,
918,
1086,
1435,
288,
9506,
202,
698,
288,
6862,
202,
17520,
63,
20,
65,
273,
261,
45,
1676,
4457,
2249,
13,
1599,
41,
2421,
22144,
3773,
6862,
1082,
202,
18,
2640,
3625,
12,
2956,
16,
6862,
6862,
202,
5237,
1769,
6862,
9506,
202,
97,
1044,
261,
25341,
1520,
13,
288,
6862,
202,
11855,
63,
20,
65,
273,
1520,
31,
9506,
202,
97,
1082,
202,
97,
1082,
202,
20308,
9506,
380,
261,
5836,
17,
24060,
13,
2985,
7886,
603,
4437,
2513,
20013,
18,
9506,
1195,
1082,
202,
482,
918,
20879,
12,
15155,
425,
13,
288,
9506,
202,
759,
2256,
5083,
487,
4586,
903,
1640,
326,
2907,
1082,
202,
97,
202,
202,
22938,
9506,
202,
430,
261,
11855,
63,
20,
65,
480,
446,
15329,
1082,
202,
1304,
18,
1330,
12,
11855,
63,
20,
19226,
1082,
202,
2463,
446,
31,
202,
202,
97,
6862,
1082,
202,
2463,
9165,
63,
20,
15533,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | [
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,
202,
6385,
30015,
8526,
4798,
273,
394,
30015,
63,
21,
15533,
9506,
202,
8201,
18,
2681,
12,
2704,
4437,
2513,
20013,
1435,
288,
1082,
202,
482,
918,
1086,
1435,
288,
9506,
202,
698,
288,
6862,
202,
17520,
63,
20,
65,
273,
261,
45,
1676,
4457,
2249,
13,
1599,
41,
2421,
22144,
3773,
6862,
1082,
202,
18,
2640,
3625,
12,
2956,
16,
6862,
6862,
202,
5237,
1769,
6862,
9506,
202,
97,
1044,
261,
25341,
1520,
13,
288,
6862,
202,
11855,
63,
20,
65,
273,
1520,
2
] |
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()); nilClass.defineMethod("to_a", getMethodToA()); nilClass.defineMethod("inspect", getMethodInspect()); nilClass.defineMethod("&", getMethodAnd()); nilClass.defineMethod("|", getMethodOr()); nilClass.defineMethod("^", getMethodXor()); nilClass.defineMethod("nil?", DefaultCallbackMethods.getMethodTrue()); nilClass.getRubyClass().undefMethod("new"); ruby.defineGlobalConstant("NIL", ruby.getNil()); return nilClass; } | 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,
7734,
515,
797,
18,
11255,
1305,
2932,
723,
3113,
6272,
559,
10663,
3639,
515,
797,
18,
11255,
1305,
2932,
869,
67,
77,
3113,
6272,
774,
45,
10663,
3639,
515,
797,
18,
11255,
1305,
2932,
869,
67,
87,
3113,
6272,
774,
55,
10663,
3639,
515,
797,
18,
11255,
1305,
2932,
869,
67,
69,
3113,
6272,
774,
37,
10663,
3639,
515,
797,
18,
11255,
1305,
2932,
12009,
3113,
6272,
12073,
10663,
7734,
515,
797,
18,
11255,
1305,
2932,
10,
3113,
6272,
1876,
10663,
3639,
515,
797,
18,
11255,
1305,
2932,
96,
3113,
6272,
1162,
10663,
3639,
515,
797,
18,
11255,
1305,
2932,
66,
3113,
6272,
60,
280,
10663,
3639,
515,
797,
18,
11255,
1305,
2932,
20154,
35,
3113,
2989,
2428,
4712,
18,
588,
1305,
5510,
10663,
7734,
515,
797,
18,
588,
54,
10340,
797,
7675,
318,
536,
1305,
2932,
2704,
8863,
7734,
22155,
18,
11255,
5160,
6902,
2932,
50,
2627,
3113,
22155,
18,
588,
12616,
10663,
7734,
327,
515,
797,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
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,
7734,
515,
797,
18,
11255,
1305,
2932,
723,
3113,
6272,
559,
10663,
3639,
515,
797,
18,
11255,
1305,
2932,
869,
67,
77,
3113,
6272,
774,
45,
10663,
3639,
515,
797,
18,
11255,
1305,
2932,
869,
67,
87,
3113,
6272,
774,
55,
10663,
3639,
515,
797,
18,
11255,
1305,
2932,
869,
67,
69,
3113,
6272,
774,
37,
10663,
3639,
515,
797,
18,
11255,
1305,
2932,
12009,
3113,
6272,
12073,
10663,
7734,
515,
797,
18,
11255,
1305,
2932,
10,
3113,
6272,
1876,
10663,
3639,
515,
797,
18,
2
] |
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,
798,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
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,
798,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
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 column = rmeta.getColumnName(i); if (column.equals(queryID)) queryIDindex = i; else if (column.equals(rankField)) rankIndex = i; else if (column.equals(coordStart)) startIndex = i; else if (column.equals(coordEnd)) endIndex = i; else if (column.equals(chrField)) chromIndex = i; else if (column.equals(strandField)) strandIndex = i; else otherIndices.add(new Integer(i)); } while (rs.next()) { Integer keyID = new Integer(rs.getInt(queryIDindex)); Integer rank = new Integer(rs.getInt(rankIndex)); if ( keyID.intValue() != lastID ) { if ( lastID > -1 ) { //This is not the first ID in a batch, process the previous ID sequences seqWriter.writeSequences(new Integer(lastID), conn); } lastIDRowsProcessed = 0; // refresh for the new ID locations = new TreeMap(); headerinfo = new Hashtable(); calcLocation = null; } int start = rs.getInt(startIndex); if (start > 0) { // if start is not null, create a new SequenceLocation object from the chr, start, end, and strand String chr = rs.getString(chromIndex); int end = rs.getInt(endIndex); int strand = rs.getInt(strandIndex); // order the locations by their rank in ascending order locations.put(rank, new SequenceLocation(chr, start, end, strand)); // keep track of the lowest start and highest end for the gene if (calcLocation == null) { calcLocation = new SequenceLocation(chr, start, end, strand); } else { if (start < calcLocation.getStart()) calcLocation = new SequenceLocation(chr, start, calcLocation.getEnd(), strand); if (end > calcLocation.getEnd()) calcLocation = new SequenceLocation(chr, calcLocation.getStart(), end, strand); } } // Rest can be duplicates, or novel values for a given field, collect lists of values for each field // currindex is now the last index of the DisplayIDs. Increment it, and iterate over the rest of the ResultSet to print the description for (int i = 0, n = otherIndices.size(); i < n; i++) { int currindex = ((Integer) otherIndices.get(i)).intValue(); if (rs.getString(currindex) != null) { String field = attributes[currindex - 1].getField(); if (!fields.contains(field)) fields.add(field); String value = rs.getString(currindex); if (headerinfo.containsKey(field)) { if (!((ArrayList) headerinfo.get(field)).contains(value)) ((ArrayList) headerinfo.get(field)).add(value); } else { List values = new ArrayList(); values.add(value); headerinfo.put(field, values); } } } totalRows++; totalRowsThisExecute++; resultSetRowsProcessed++; lastID = keyID.intValue(); lastIDRowsProcessed++; } } | 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,
1566,
4295,
3639,
364,
261,
474,
277,
273,
404,
16,
290,
3380,
273,
436,
3901,
18,
588,
1494,
1380,
5621,
277,
1648,
290,
3380,
31,
965,
77,
13,
288,
5411,
514,
1057,
273,
436,
3901,
18,
588,
8516,
12,
77,
1769,
5411,
309,
261,
2827,
18,
14963,
12,
2271,
734,
13,
597,
843,
734,
1615,
411,
374,
13,
7734,
843,
734,
1615,
273,
277,
31,
5411,
469,
309,
261,
2827,
18,
14963,
12,
11500,
974,
3719,
7734,
6171,
1016,
273,
277,
31,
5411,
469,
309,
261,
2827,
18,
14963,
12,
5732,
1685,
3719,
7734,
10588,
273,
277,
31,
5411,
469,
309,
261,
2827,
18,
14963,
12,
5732,
1638,
3719,
7734,
13818,
273,
277,
31,
5411,
469,
309,
261,
2827,
18,
14963,
12,
15182,
974,
3719,
7734,
8123,
1016,
273,
277,
31,
5411,
469,
309,
261,
2827,
18,
14963,
12,
701,
464,
974,
3719,
7734,
16706,
1016,
273,
277,
31,
5411,
469,
7734,
1308,
8776,
18,
1289,
12,
2704,
2144,
12,
77,
10019,
3639,
289,
7734,
1323,
261,
5453,
18,
4285,
10756,
288,
5411,
2144,
31761,
273,
394,
2144,
12,
5453,
18,
588,
1702,
12,
2271,
734,
1615,
10019,
5411,
2144,
6171,
273,
394,
2144,
12,
5453,
18,
588,
1702,
12,
11500,
1016,
10019,
13491,
309,
261,
31761,
18,
474,
620,
1435,
480,
1142,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1566,
4295,
3639,
364,
261,
474,
277,
273,
404,
16,
290,
3380,
273,
436,
3901,
18,
588,
1494,
1380,
5621,
277,
1648,
290,
3380,
31,
965,
77,
13,
288,
5411,
514,
1057,
273,
436,
3901,
18,
588,
8516,
12,
77,
1769,
5411,
309,
261,
2827,
18,
14963,
12,
2271,
734,
13,
597,
843,
734,
1615,
411,
374,
13,
7734,
843,
734,
1615,
273,
277,
31,
5411,
469,
309,
261,
2827,
18,
14963,
12,
11500,
974,
3719,
7734,
6171,
1016,
273,
277,
31,
5411,
469,
309,
2
] |
} 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,
202,
202,
2972,
273,
333,
31,
202,
202,
2896,
288,
1082,
202,
2972,
273,
783,
18,
588,
3054,
5621,
1082,
202,
1883,
9904,
31,
202,
202,
97,
1323,
261,
2972,
480,
446,
1769,
202,
202,
2463,
1056,
31,
202,
97,
368,
17236,
1435,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
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,
202,
202,
2972,
273,
333,
31,
202,
202,
2896,
288,
1082,
202,
2972,
273,
783,
18,
588,
3054,
5621,
1082,
202,
1883,
9904,
31,
202,
202,
97,
1323,
261,
2972,
480,
446,
1769,
202,
202,
2463,
1056,
31,
202,
97,
368,
17236,
1435,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
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 NOT CHANGE!"); o.write(lineSeparator); o.write(" @author "); o.write(Instrumentor.OCL_AUTHOR); o.write(lineSeparator); o.write(" */private final "); o.write(Invariant.class.getName()); o.write(" "); o.write(Invariant.INVARIANT_OBJECT); o.write(cf.getName()); o.write("=new "); o.write(Invariant.class.getName()); o.write("(\""); o.write(cf.getName()); o.write("\", this);"); o.write("/**"); o.write(lineSeparator); o.write(" Checks ocl invariant "); o.write(cf.getName()); o.write(" on this object."); o.write(lineSeparator); o.write(" Generated automatically, DO NOT CHANGE!"); o.write(lineSeparator); o.write(" @author "); o.write(Instrumentor.OCL_AUTHOR); o.write(lineSeparator); o.write(" */public final void "); o.write(Invariant.INVARIANT_METHOD); o.write(cf.getName()); o.write("()"); o.write(lineSeparator); o.write(" {"); o.write(lineSeparator); if(tracechecking) { o.write(" System.out.println(\"checking ocl invariant '"); o.write(cf.getName()); o.write("' on object '\"+this+\"'.\");"); o.write(lineSeparator); } o.write(" tudresden.ocl.lib.OclAnyImpl.setFeatureListener("); o.write(Invariant.INVARIANT_OBJECT); o.write(cf.getName()); o.write(");"); o.write(lineSeparator); o.write(cf.getCode()); o.write(" tudresden.ocl.lib.OclAnyImpl.clearFeatureListener();"); o.write(lineSeparator); o.write(" if(!"); o.write(cf.getResultVariable()); o.write(".isTrue()) "); o.write(violationmacro); o.write("(\"violated ocl invariant '"); o.write(cf.getName()); o.write("' on object '\"+this+\"'"); if(config.logclass) o.write(" of class '\"+getClass().getName()+\"'"); o.write(".\");"); o.write(lineSeparator); o.write(" }"); } | 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,
12,
1369,
6581,
1769,
202,
202,
83,
18,
2626,
2932,
565,
1922,
733,
5123,
320,
830,
22514,
315,
1769,
202,
202,
83,
18,
2626,
12,
8522,
18,
17994,
10663,
202,
202,
83,
18,
2626,
2932,
603,
333,
733,
1199,
1769,
202,
202,
83,
18,
2626,
12,
1369,
6581,
1769,
202,
202,
83,
18,
2626,
2932,
565,
11025,
6635,
16,
5467,
4269,
26267,
4442,
1769,
202,
202,
83,
18,
2626,
12,
1369,
6581,
1769,
202,
202,
83,
18,
2626,
2932,
565,
632,
4161,
315,
1769,
202,
202,
83,
18,
2626,
12,
19228,
280,
18,
51,
5017,
67,
7131,
916,
1769,
202,
202,
83,
18,
2626,
12,
1369,
6581,
1769,
202,
202,
83,
18,
2626,
2932,
225,
1195,
1152,
727,
315,
1769,
202,
202,
83,
18,
2626,
12,
382,
8688,
18,
1106,
18,
17994,
10663,
202,
202,
83,
18,
2626,
2932,
315,
1769,
202,
202,
83,
18,
2626,
12,
382,
8688,
18,
706,
29744,
6856,
67,
9422,
1769,
202,
202,
83,
18,
2626,
12,
8522,
18,
17994,
10663,
202,
202,
83,
18,
2626,
2932,
33,
2704,
315,
1769,
202,
202,
83,
18,
2626,
12,
382,
8688,
18,
1106,
18,
17994,
10663,
202,
202,
83,
18,
2626,
2932,
12,
8530,
1769,
202,
202,
83,
18,
2626,
12,
8522,
18,
17994,
10663,
202,
202,
83,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12,
1369,
6581,
1769,
202,
202,
83,
18,
2626,
2932,
565,
1922,
733,
5123,
320,
830,
22514,
315,
1769,
202,
202,
83,
18,
2626,
12,
8522,
18,
17994,
10663,
202,
202,
83,
18,
2626,
2932,
603,
333,
733,
1199,
1769,
202,
202,
83,
18,
2626,
12,
1369,
6581,
1769,
202,
202,
83,
18,
2626,
2932,
565,
11025,
6635,
16,
5467,
4269,
26267,
4442,
1769,
202,
202,
83,
18,
2626,
12,
1369,
6581,
1769,
202,
202,
83,
18,
2626,
2932,
565,
632,
4161,
315,
2
] |
} | } | 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,
2211,
18,
416,
3404,
429,
19327,
273,
2166,
8163,
19327,
31,
202,
202,
430,
261,
416,
3404,
429,
19327,
480,
446,
13,
288,
1082,
202,
2722,
7381,
620,
273,
2166,
8163,
19327,
18,
24805,
5621,
202,
202,
97,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
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,
2211,
18,
416,
3404,
429,
19327,
273,
2166,
8163,
19327,
31,
202,
202,
430,
261,
416,
3404,
429,
19327,
480,
446,
13,
288,
1082,
202,
2722,
7381,
620,
273,
2166,
8163,
19327,
18,
24805,
5621,
202,
202,
97,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
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,
12,
1098,
21,
1350,
2249,
1769,
202,
1098,
21,
18415,
18,
542,
2224,
2249,
12,
1098,
21,
2224,
2249,
1769,
202,
1098,
21,
18415,
18,
1289,
1564,
1119,
2223,
12,
2211,
1769,
202,
1098,
21,
18415,
18,
1289,
6233,
5033,
2223,
12,
2211,
1769,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
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,
12,
1098,
21,
1350,
2249,
1769,
202,
1098,
21,
18415,
18,
542,
2224,
2249,
12,
1098,
21,
2224,
2249,
1769,
202,
1098,
21,
18415,
18,
1289,
1564,
1119,
2223,
12,
2211,
1769,
202,
1098,
21,
18415,
18,
1289,
6233,
5033,
2223,
12,
2211,
1769,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
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(enabled) setChecked(!((EditorSite)editor.getEditorSite()).getReuseEditor()); else setChecked(false);} | 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,
2421,
22144,
1964,
1363,
273,
2742,
18,
588,
3896,
1964,
5621,
202,
430,
12,
2433,
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,
6946,
1988,
4858,
273,
11960,
6946,
5621,
202,
6494,
3696,
273,
4858,
480,
446,
31,
202,
542,
1526,
12,
5745,
1769,
202,
430,
12,
5745,
13,
202,
202,
542,
11454,
12,
5,
12443,
6946,
4956,
13,
9177,
18,
588,
6946,
4956,
1435,
2934,
588,
31704,
6946,
10663,
202,
12107,
202,
202,
542,
11454,
12,
5743,
1769,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
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,
2421,
22144,
1964,
1363,
273,
2742,
18,
588,
3896,
1964,
5621,
202,
430,
12,
2433,
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,
6946,
1988,
4858,
273,
11960,
6946,
5621,
202,
6494,
3696,
273,
4858,
480,
446,
31,
202,
542,
1526,
12,
5745,
1769,
202,
430,
12,
5745,
13,
202,
202,
542,
11454,
12,
5,
12443,
6946,
4956,
13,
9177,
18,
588,
6946,
4956,
1435,
2
] |
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(); emptyPanel = new javax.swing.JPanel(); bugTree = new javax.swing.JTree(); reportPanel = new javax.swing.JPanel(); editProjectPanel = new javax.swing.JPanel(); jarFileLabel = new javax.swing.JLabel(); jarNameTextField = new javax.swing.JTextField(); addJarButton = new javax.swing.JButton(); jarFileListLabel = new javax.swing.JLabel(); sourceDirLabel = new javax.swing.JLabel(); srcDirTextField = new javax.swing.JTextField(); addSourceDirButton = new javax.swing.JButton(); sourceDirListLabel = new javax.swing.JLabel(); removeJarButton = new javax.swing.JButton(); removeSrcDirButton = new javax.swing.JButton(); jSeparator1 = new javax.swing.JSeparator(); browseJarButton = new javax.swing.JButton(); browseSrcDirButton = new javax.swing.JButton(); editProjectLabel = new javax.swing.JLabel(); jSeparator2 = new javax.swing.JSeparator(); findBugsButton = new javax.swing.JButton(); jSeparator4 = new javax.swing.JSeparator(); jScrollPane2 = new javax.swing.JScrollPane(); jarFileList = new javax.swing.JList(); jScrollPane3 = new javax.swing.JScrollPane(); sourceDirList = new javax.swing.JList(); jMenuBar1 = new javax.swing.JMenuBar(); fileMenu = new javax.swing.JMenu(); newProjectItem = new javax.swing.JMenuItem(); openProjectItem = new javax.swing.JMenuItem(); closeProjectItem = new javax.swing.JMenuItem(); jSeparator3 = new javax.swing.JSeparator(); exitItem = new javax.swing.JMenuItem(); setTitle("FindBugs"); addWindowListener(new java.awt.event.WindowAdapter() { public void windowOpened(java.awt.event.WindowEvent evt) { formWindowOpened(evt); } public void windowClosing(java.awt.event.WindowEvent evt) { exitForm(evt); } }); jSplitPane1.setResizeWeight(0.4); navigatorTree.setModel(createNavigatorTreeModel()); jScrollPane1.setViewportView(navigatorTree); jSplitPane1.setLeftComponent(jScrollPane1); viewPanel.setLayout(new java.awt.CardLayout()); viewPanel.add(emptyPanel, "EmptyPanel"); viewPanel.add(bugTree, "BugTree"); viewPanel.add(reportPanel, "ReportPanel"); editProjectPanel.setLayout(new java.awt.GridBagLayout()); jarFileLabel.setFont(new java.awt.Font("Dialog", 0, 12)); jarFileLabel.setText("Jar file:"); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 3; gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 3); gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST; editProjectPanel.add(jarFileLabel, gridBagConstraints); jarNameTextField.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jarNameTextFieldActionPerformed(evt); } }); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 3; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 0); gridBagConstraints.weightx = 1.0; editProjectPanel.add(jarNameTextField, gridBagConstraints); addJarButton.setFont(new java.awt.Font("Dialog", 0, 12)); addJarButton.setText("Add"); addJarButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { addJarButtonActionPerformed(evt); } }); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 3; gridBagConstraints.gridy = 3; gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 3); gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; editProjectPanel.add(addJarButton, gridBagConstraints); jarFileListLabel.setFont(new java.awt.Font("Dialog", 0, 12)); jarFileListLabel.setText("Jar Files:"); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 4; gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 3); gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST; editProjectPanel.add(jarFileListLabel, gridBagConstraints); sourceDirLabel.setFont(new java.awt.Font("Dialog", 0, 12)); sourceDirLabel.setText("Source Dir:"); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 6; gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 3); gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST; editProjectPanel.add(sourceDirLabel, gridBagConstraints); srcDirTextField.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { srcDirTextFieldActionPerformed(evt); } }); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 6; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 0); gridBagConstraints.weightx = 1.0; editProjectPanel.add(srcDirTextField, gridBagConstraints); addSourceDirButton.setFont(new java.awt.Font("Dialog", 0, 12)); addSourceDirButton.setText("Add"); addSourceDirButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { addSourceDirButtonActionPerformed(evt); } }); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 3; gridBagConstraints.gridy = 6; gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 3); gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; editProjectPanel.add(addSourceDirButton, gridBagConstraints); sourceDirListLabel.setFont(new java.awt.Font("Dialog", 0, 12)); sourceDirListLabel.setText("Source Dirs:"); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 7; gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 3); gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST; editProjectPanel.add(sourceDirListLabel, gridBagConstraints); removeJarButton.setFont(new java.awt.Font("Dialog", 0, 12)); removeJarButton.setText("Remove"); removeJarButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { removeJarButtonActionPerformed(evt); } }); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 3; gridBagConstraints.gridy = 4; gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 3); gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; editProjectPanel.add(removeJarButton, gridBagConstraints); removeSrcDirButton.setFont(new java.awt.Font("Dialog", 0, 12)); removeSrcDirButton.setText("Remove"); removeSrcDirButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { removeSrcDirButtonActionPerformed(evt); } }); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 3; gridBagConstraints.gridy = 7; gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 3); gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; editProjectPanel.add(removeSrcDirButton, gridBagConstraints); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 5; gridBagConstraints.gridwidth = 4; gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; gridBagConstraints.insets = new java.awt.Insets(3, 3, 3, 3); editProjectPanel.add(jSeparator1, gridBagConstraints); browseJarButton.setText("..."); browseJarButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { browseJarButtonActionPerformed(evt); } }); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 2; gridBagConstraints.gridy = 3; gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 3); editProjectPanel.add(browseJarButton, gridBagConstraints); browseSrcDirButton.setText("..."); browseSrcDirButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { browseSrcDirButtonActionPerformed(evt); } }); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 2; gridBagConstraints.gridy = 6; gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 3); editProjectPanel.add(browseSrcDirButton, gridBagConstraints); editProjectLabel.setBackground(new java.awt.Color(0, 0, 204)); editProjectLabel.setFont(new java.awt.Font("Dialog", 1, 24)); editProjectLabel.setForeground(new java.awt.Color(255, 255, 255)); editProjectLabel.setText("Project"); editProjectLabel.setOpaque(true); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridwidth = 4; gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; editProjectPanel.add(editProjectLabel, gridBagConstraints); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 2; gridBagConstraints.gridwidth = 4; gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; gridBagConstraints.insets = new java.awt.Insets(3, 3, 3, 3); editProjectPanel.add(jSeparator2, gridBagConstraints); findBugsButton.setText("Find Bugs!"); findBugsButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { findBugsButtonActionPerformed(evt); } }); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 9; gridBagConstraints.gridwidth = 4; gridBagConstraints.insets = new java.awt.Insets(3, 3, 3, 3); editProjectPanel.add(findBugsButton, gridBagConstraints); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 8; gridBagConstraints.gridwidth = 4; gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; gridBagConstraints.insets = new java.awt.Insets(3, 3, 3, 3); editProjectPanel.add(jSeparator4, gridBagConstraints); jScrollPane2.setPreferredSize(new java.awt.Dimension(259, 1)); jarFileList.setBorder(new javax.swing.border.BevelBorder(javax.swing.border.BevelBorder.LOWERED)); jarFileList.setFont(new java.awt.Font("Dialog", 0, 12)); jarFileList.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION); jScrollPane2.setViewportView(jarFileList); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 4; gridBagConstraints.gridwidth = 2; gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 3); gridBagConstraints.weighty = 0.7; editProjectPanel.add(jScrollPane2, gridBagConstraints); jScrollPane3.setPreferredSize(new java.awt.Dimension(259, 1)); sourceDirList.setBorder(new javax.swing.border.BevelBorder(javax.swing.border.BevelBorder.LOWERED)); sourceDirList.setFont(new java.awt.Font("Dialog", 0, 12)); sourceDirList.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION); jScrollPane3.setViewportView(sourceDirList); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 7; gridBagConstraints.gridwidth = 2; gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 3); gridBagConstraints.weighty = 0.3; editProjectPanel.add(jScrollPane3, gridBagConstraints); viewPanel.add(editProjectPanel, "EditProjectPanel"); jSplitPane1.setRightComponent(viewPanel); getContentPane().add(jSplitPane1, java.awt.BorderLayout.CENTER); jMenuBar1.setFont(new java.awt.Font("Dialog", 0, 12)); fileMenu.setText("File"); fileMenu.setFont(new java.awt.Font("Dialog", 0, 12)); newProjectItem.setFont(new java.awt.Font("Dialog", 0, 12)); newProjectItem.setText("New Project"); newProjectItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { newProjectItemActionPerformed(evt); } }); fileMenu.add(newProjectItem); openProjectItem.setFont(new java.awt.Font("Dialog", 0, 12)); openProjectItem.setText("Open Project"); fileMenu.add(openProjectItem); closeProjectItem.setFont(new java.awt.Font("Dialog", 0, 12)); closeProjectItem.setText("Close Project"); fileMenu.add(closeProjectItem); fileMenu.add(jSeparator3); exitItem.setFont(new java.awt.Font("Dialog", 0, 12)); exitItem.setText("Exit"); exitItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { exitItemActionPerformed(evt); } }); fileMenu.add(exitItem); jMenuBar1.add(fileMenu); setJMenuBar(jMenuBar1); pack(); }//GEN-END:initComponents | 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,
46,
5521,
8485,
5621,
3639,
525,
26360,
21,
273,
394,
6863,
18,
5328,
310,
18,
46,
26360,
5621,
3639,
19796,
2471,
273,
394,
6863,
18,
5328,
310,
18,
46,
2471,
5621,
3639,
1476,
5537,
273,
394,
6863,
18,
5328,
310,
18,
46,
5537,
5621,
3639,
1008,
5537,
273,
394,
6863,
18,
5328,
310,
18,
46,
5537,
5621,
3639,
7934,
2471,
273,
394,
6863,
18,
5328,
310,
18,
46,
2471,
5621,
3639,
2605,
5537,
273,
394,
6863,
18,
5328,
310,
18,
46,
5537,
5621,
3639,
3874,
4109,
5537,
273,
394,
6863,
18,
5328,
310,
18,
46,
5537,
5621,
3639,
22588,
2224,
273,
394,
6863,
18,
5328,
310,
18,
46,
2224,
5621,
3639,
7334,
461,
16157,
273,
394,
6863,
18,
5328,
310,
18,
46,
16157,
5621,
3639,
527,
10813,
3616,
273,
394,
6863,
18,
5328,
310,
18,
46,
3616,
5621,
3639,
22588,
682,
2224,
273,
394,
6863,
18,
5328,
310,
18,
46,
2224,
5621,
3639,
26844,
2224,
273,
394,
6863,
18,
5328,
310,
18,
46,
2224,
5621,
3639,
30585,
16157,
273,
394,
6863,
18,
5328,
310,
18,
46,
16157,
5621,
3639,
527,
1830,
1621,
3616,
273,
394,
6863,
18,
5328,
310,
18,
46,
3616,
5621,
3639,
26844,
682,
2224,
273,
394,
6863,
18,
5328,
310,
18,
46,
2224,
5621,
3639,
1206,
10813,
3616,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
46,
5521,
8485,
5621,
3639,
525,
26360,
21,
273,
394,
6863,
18,
5328,
310,
18,
46,
26360,
5621,
3639,
19796,
2471,
273,
394,
6863,
18,
5328,
310,
18,
46,
2471,
5621,
3639,
1476,
5537,
273,
394,
6863,
18,
5328,
310,
18,
46,
5537,
5621,
3639,
1008,
5537,
273,
394,
6863,
18,
5328,
310,
18,
46,
5537,
5621,
3639,
7934,
2471,
273,
394,
6863,
18,
5328,
310,
18,
46,
2471,
5621,
3639,
2605,
5537,
273,
394,
6863,
18,
5328,
310,
18,
46,
5537,
5621,
2
] |
|
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++) {// windows[i].addPageListener(browserTracker);// IWorkbenchPage[] pages = windows[i].getPages();// for (int j = 0; j < pages.length; j++) {// pages[j].addPartListener(browserTracker);// }// } } catch (Exception e) { MylarStatusHandler.fail(e, "Mylar Hypertext initialization failed", false); } } | 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,
11213,
8135,
1769,
6862,
25083,
202,
759,
6862,
202,
1252,
22144,
18,
1289,
3829,
2223,
12,
11213,
8135,
1769,
759,
6862,
202,
45,
2421,
22144,
3829,
8526,
9965,
273,
1440,
22144,
18,
588,
2421,
22144,
10399,
5621,
759,
6862,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
9965,
18,
2469,
31,
277,
27245,
288,
759,
25083,
202,
13226,
63,
77,
8009,
1289,
1964,
2223,
12,
11213,
8135,
1769,
759,
25083,
202,
45,
2421,
22144,
1964,
8526,
4689,
273,
9965,
63,
77,
8009,
588,
5716,
5621,
759,
25083,
202,
1884,
261,
474,
525,
273,
374,
31,
525,
411,
4689,
18,
2469,
31,
525,
27245,
288,
759,
6862,
1082,
202,
7267,
63,
78,
8009,
1289,
1988,
2223,
12,
11213,
8135,
1769,
759,
25083,
202,
97,
759,
6862,
202,
97,
9506,
202,
97,
1044,
261,
503,
425,
13,
288,
6862,
202,
12062,
7901,
1482,
1503,
18,
6870,
12,
73,
16,
315,
12062,
7901,
14881,
672,
408,
10313,
2535,
3113,
629,
1769,
9506,
202,
97,
1082,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
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,
11213,
8135,
1769,
6862,
25083,
202,
759,
6862,
202,
1252,
22144,
18,
1289,
3829,
2223,
12,
11213,
8135,
1769,
759,
6862,
202,
45,
2421,
22144,
3829,
8526,
9965,
273,
1440,
22144,
18,
588,
2421,
22144,
10399,
5621,
759,
6862,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
9965,
18,
2469,
31,
277,
27245,
288,
759,
25083,
202,
13226,
63,
77,
8009,
1289,
1964,
2223,
12,
11213,
8135,
1769,
759,
25083,
202,
45,
2421,
22144,
1964,
8526,
4689,
273,
9965,
63,
77,
8009,
588,
2
] |
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(getRuntime(), e); } } | 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,
1503,
16134,
429,
12,
588,
5576,
9334,
14954,
16,
394,
18868,
1769,
13491,
1744,
4294,
1503,
12,
4176,
1769,
3639,
289,
1044,
261,
14106,
425,
13,
288,
5411,
604,
8340,
18,
2080,
503,
12,
588,
5576,
9334,
425,
1769,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
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,
1503,
16134,
429,
12,
588,
5576,
9334,
14954,
16,
394,
18868,
1769,
13491,
1744,
4294,
1503,
12,
4176,
1769,
3639,
289,
1044,
261,
14106,
425,
13,
288,
5411,
604,
8340,
18,
2080,
503,
12,
588,
5576,
9334,
425,
1769,
3639,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
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("QualifiedName ::= Name DOT SimpleName"); consumeQualifiedName(); break ; case 53 : // System.out.println("CompilationUnit ::= EnterCompilationUnit PackageDeclarationopt ImportDeclarationsopt"); consumeCompilationUnit(); break ; case 54 : // System.out.println("EnterCompilationUnit ::="); consumeEnterCompilationUnit(); break ; case 67 : // System.out.println("CatchHeader ::= catch LPAREN FormalParameter RPAREN LBRACE"); consumeCatchHeader(); break ; case 69 : // System.out.println("ImportDeclarations ::= ImportDeclarations ImportDeclaration"); consumeImportDeclarations(); break ; case 71 : // System.out.println("TypeDeclarations ::= TypeDeclarations TypeDeclaration"); consumeTypeDeclarations(); break ; case 72 : // System.out.println("PackageDeclaration ::= PackageDeclarationName SEMICOLON"); consumePackageDeclaration(); break ; case 73 : // System.out.println("PackageDeclarationName ::= package Name"); consumePackageDeclarationName(); break ; case 76 : // System.out.println("SingleTypeImportDeclaration ::= SingleTypeImportDeclarationName SEMICOLON"); consumeSingleTypeImportDeclaration(); break ; case 77 : // System.out.println("SingleTypeImportDeclarationName ::= import Name"); consumeSingleTypeImportDeclarationName(); break ; case 78 : // System.out.println("TypeImportOnDemandDeclaration ::= TypeImportOnDemandDeclarationName SEMICOLON"); consumeTypeImportOnDemandDeclaration(); break ; case 79 : // System.out.println("TypeImportOnDemandDeclarationName ::= import Name DOT MULTIPLY"); consumeTypeImportOnDemandDeclarationName(); break ; case 82 : // System.out.println("TypeDeclaration ::= SEMICOLON"); consumeEmptyTypeDeclaration(); break ; case 96 : // System.out.println("ClassDeclaration ::= ClassHeader ClassBody"); consumeClassDeclaration(); break ; case 97 : // System.out.println("ClassHeader ::= ClassHeaderName ClassHeaderExtendsopt ClassHeaderImplementsopt"); consumeClassHeader(); break ; case 98 : // System.out.println("ClassHeaderName ::= Modifiersopt class Identifier"); consumeClassHeaderName(); break ; case 99 : // System.out.println("ClassHeaderExtends ::= extends ClassType"); consumeClassHeaderExtends(); break ; case 100 : // System.out.println("ClassHeaderImplements ::= implements InterfaceTypeList"); consumeClassHeaderImplements(); break ; case 102 : // System.out.println("InterfaceTypeList ::= InterfaceTypeList COMMA InterfaceType"); consumeInterfaceTypeList(); break ; case 103 : // System.out.println("InterfaceType ::= ClassOrInterfaceType"); consumeInterfaceType(); break ; case 106 : // System.out.println("ClassBodyDeclarations ::= ClassBodyDeclarations ClassBodyDeclaration"); consumeClassBodyDeclarations(); break ; case 110 : // System.out.println("ClassBodyDeclaration ::= Diet NestedMethod Block"); consumeClassBodyDeclaration(); break ; case 111 : // System.out.println("Diet ::="); consumeDiet(); break ; case 112 : // System.out.println("Initializer ::= Diet NestedMethod Block"); consumeClassBodyDeclaration(); break ; case 119 : // System.out.println("ClassMemberDeclaration ::= SEMICOLON"); consumeEmptyClassMemberDeclaration(); break ; case 120 : // System.out.println("FieldDeclaration ::= Modifiersopt Type VariableDeclarators SEMICOLON"); consumeFieldDeclaration(); break ; case 122 : // System.out.println("VariableDeclarators ::= VariableDeclarators COMMA VariableDeclarator"); consumeVariableDeclarators(); break ; case 125 : // System.out.println("EnterVariable ::="); consumeEnterVariable(); break ; case 126 : // System.out.println("ExitVariableWithInitialization ::="); consumeExitVariableWithInitialization(); break ; case 127 : // System.out.println("ExitVariableWithoutInitialization ::="); consumeExitVariableWithoutInitialization(); break ; case 128 : // System.out.println("ForceNoDiet ::="); consumeForceNoDiet(); break ; case 129 : // System.out.println("RestoreDiet ::="); consumeRestoreDiet(); break ; case 134 : // System.out.println("MethodDeclaration ::= MethodHeader MethodBody"); // set to true to consume a method with a body consumeMethodDeclaration(true); break ; case 135 : // System.out.println("AbstractMethodDeclaration ::= MethodHeader SEMICOLON"); // set to false to consume a method without body consumeMethodDeclaration(false); break ; case 136 : // System.out.println("MethodHeader ::= MethodHeaderName MethodHeaderParameters MethodHeaderExtendedDims"); consumeMethodHeader(); break ; case 137 : // System.out.println("MethodPushModifiersHeader ::= MethodPushModifiersHeaderName MethodHeaderParameters"); consumeMethodHeader(); break ; case 138 : // System.out.println("MethodPushModifiersHeaderName ::= Modifiers Type PushModifiers Identifier LPAREN"); consumeMethodPushModifiersHeaderName(); break ; case 139 : // System.out.println("MethodPushModifiersHeaderName ::= Type PushModifiers Identifier LPAREN"); consumeMethodPushModifiersHeaderName(); break ; case 140 : // System.out.println("MethodHeaderName ::= Modifiersopt Type Identifier LPAREN"); consumeMethodHeaderName(); break ; case 141 : // System.out.println("MethodHeaderParameters ::= FormalParameterListopt RPAREN"); consumeMethodHeaderParameters(); break ; case 142 : // System.out.println("MethodHeaderExtendedDims ::= Dimsopt"); consumeMethodHeaderExtendedDims(); break ; case 143 : // System.out.println("MethodHeaderThrowsClause ::= throws ClassTypeList"); consumeMethodHeaderThrowsClause(); break ; case 144 : // System.out.println("ConstructorHeader ::= ConstructorHeaderName MethodHeaderParameters..."); consumeConstructorHeader(); break ; case 145 : // System.out.println("ConstructorHeaderName ::= Modifiersopt Identifier LPAREN"); consumeConstructorHeaderName(); break ; case 147 : // System.out.println("FormalParameterList ::= FormalParameterList COMMA FormalParameter"); consumeFormalParameterList(); break ; case 148 : // System.out.println("FormalParameter ::= Modifiersopt Type VariableDeclaratorId"); // the boolean is used to know if the modifiers should be reset consumeFormalParameter(); break ; case 150 : // System.out.println("ClassTypeList ::= ClassTypeList COMMA ClassTypeElt"); consumeClassTypeList(); break ; case 151 : // System.out.println("ClassTypeElt ::= ClassType"); consumeClassTypeElt(); break ; case 152 : // System.out.println("MethodBody ::= NestedMethod LBRACE BlockStatementsopt RBRACE"); consumeMethodBody(); break ; case 153 : // System.out.println("NestedMethod ::="); consumeNestedMethod(); break ; case 154 : // System.out.println("StaticInitializer ::= StaticOnly Block"); consumeStaticInitializer(); break ; case 155 : // System.out.println("StaticOnly ::= static"); consumeStaticOnly(); break ; case 156 : // System.out.println("ConstructorDeclaration ::= ConstructorHeader ConstructorBody"); consumeConstructorDeclaration() ; break ; case 157 : // System.out.println("ConstructorDeclaration ::= ConstructorHeader SEMICOLON"); consumeInvalidConstructorDeclaration() ; break ; case 158 : // System.out.println("ConstructorBody ::= NestedMethod LBRACE ConstructorBlockStatementsopt RBRACE"); consumeConstructorBody(); break ; case 161 : // System.out.println("ConstructorBlockStatementsopt ::= ExplicitConstructorInvocation BlockStatements"); consumeConstructorBlockStatements(); break ; case 162 : // System.out.println("ExplicitConstructorInvocation ::= this LPAREN ArgumentListopt RPAREN SEMICOLON"); consumeExplicitConstructorInvocation(0,ExplicitConstructorCall.This); break ; case 163 : // System.out.println("ExplicitConstructorInvocation ::= super LPAREN ArgumentListopt RPAREN SEMICOLON"); consumeExplicitConstructorInvocation(0,ExplicitConstructorCall.Super); break ; case 164 : // System.out.println("ExplicitConstructorInvocation ::= Primary DOT super LPAREN ArgumentListopt RPAREN"); consumeExplicitConstructorInvocation(1, ExplicitConstructorCall.Super); break ; case 165 : // System.out.println("ExplicitConstructorInvocation ::= Name DOT super LPAREN ArgumentListopt RPAREN..."); consumeExplicitConstructorInvocation(2, ExplicitConstructorCall.Super); break ; case 166 : // System.out.println("ExplicitConstructorInvocation ::= Primary DOT this LPAREN ArgumentListopt RPAREN..."); consumeExplicitConstructorInvocation(1, ExplicitConstructorCall.This); break ; case 167 : // System.out.println("ExplicitConstructorInvocation ::= Name DOT this LPAREN ArgumentListopt RPAREN..."); consumeExplicitConstructorInvocation(2, ExplicitConstructorCall.This); break ; case 168 : // System.out.println("InterfaceDeclaration ::= InterfaceHeader InterfaceBody"); consumeInterfaceDeclaration(); break ; case 169 : // System.out.println("InterfaceHeader ::= InterfaceHeaderName InterfaceHeaderExtendsopt"); consumeInterfaceHeader(); break ; case 170 : // System.out.println("InterfaceHeaderName ::= Modifiersopt interface Identifier"); consumeInterfaceHeaderName(); break ; case 172 : // System.out.println("InterfaceHeaderExtends ::= extends InterfaceTypeList"); consumeInterfaceHeaderExtends(); break ; case 175 : // System.out.println("InterfaceMemberDeclarations ::= InterfaceMemberDeclarations..."); consumeInterfaceMemberDeclarations(); break ; case 176 : // System.out.println("InterfaceMemberDeclaration ::= SEMICOLON"); consumeEmptyInterfaceMemberDeclaration(); break ; case 179 : // System.out.println("InterfaceMemberDeclaration ::= InvalidMethodDeclaration"); ignoreMethodBody(); break ; case 180 : // System.out.println("InvalidConstructorDeclaration ::= ConstructorHeader ConstructorBody"); ignoreInvalidConstructorDeclaration(true); break ; case 181 : // System.out.println("InvalidConstructorDeclaration ::= ConstructorHeader SEMICOLON"); ignoreInvalidConstructorDeclaration(false); break ; case 187 : // System.out.println("ArrayInitializer ::= LBRACE ,opt RBRACE"); consumeEmptyArrayInitializer(); break ; case 188 : // System.out.println("ArrayInitializer ::= LBRACE VariableInitializers RBRACE"); consumeArrayInitializer(); break ; case 189 : // System.out.println("ArrayInitializer ::= LBRACE VariableInitializers COMMA RBRACE"); consumeArrayInitializer(); break ; case 191 : // System.out.println("VariableInitializers ::= VariableInitializers COMMA VariableInitializer"); consumeVariableInitializers(); break ; case 192 : // System.out.println("Block ::= OpenBlock LBRACE BlockStatementsopt RBRACE"); consumeBlock(); break ; case 193 : // System.out.println("OpenBlock ::="); consumeOpenBlock() ; break ; case 195 : // System.out.println("BlockStatements ::= BlockStatements BlockStatement"); consumeBlockStatements() ; break ; case 199 : // System.out.println("BlockStatement ::= InvalidInterfaceDeclaration"); ignoreInterfaceDeclaration(); break ; case 200 : // System.out.println("LocalVariableDeclarationStatement ::= LocalVariableDeclaration SEMICOLON"); consumeLocalVariableDeclarationStatement(); break ; case 201 : // System.out.println("LocalVariableDeclaration ::= Type PushModifiers VariableDeclarators"); consumeLocalVariableDeclaration(); break ; case 202 : // System.out.println("LocalVariableDeclaration ::= Modifiers Type PushModifiers VariableDeclarators"); consumeLocalVariableDeclaration(); break ; case 203 : // System.out.println("PushModifiers ::="); consumePushModifiers(); break ; case 227 : // System.out.println("EmptyStatement ::= SEMICOLON"); consumeEmptyStatement(); break ; case 228 : // System.out.println("LabeledStatement ::= Identifier COLON Statement"); consumeStatementLabel() ; break ; case 229 : // System.out.println("LabeledStatementNoShortIf ::= Identifier COLON StatementNoShortIf"); consumeStatementLabel() ; break ; case 230 : // System.out.println("ExpressionStatement ::= StatementExpression SEMICOLON"); consumeExpressionStatement(); break ; case 238 : // System.out.println("IfThenStatement ::= if LPAREN Expression RPAREN Statement"); consumeStatementIfNoElse(); break ; case 239 : // System.out.println("IfThenElseStatement ::= if LPAREN Expression RPAREN StatementNoShortIf else..."); consumeStatementIfWithElse(); break ; case 240 : // System.out.println("IfThenElseStatementNoShortIf ::= if LPAREN Expression RPAREN StatementNoShortIf..."); consumeStatementIfWithElse(); break ; case 241 : // System.out.println("SwitchStatement ::= switch OpenBlock LPAREN Expression RPAREN SwitchBlock"); consumeStatementSwitch() ; break ; case 242 : // System.out.println("SwitchBlock ::= LBRACE RBRACE"); consumeEmptySwitchBlock() ; break ; case 245 : // System.out.println("SwitchBlock ::= LBRACE SwitchBlockStatements SwitchLabels RBRACE"); consumeSwitchBlock() ; break ; case 247 : // System.out.println("SwitchBlockStatements ::= SwitchBlockStatements SwitchBlockStatement"); consumeSwitchBlockStatements() ; break ; case 248 : // System.out.println("SwitchBlockStatement ::= SwitchLabels BlockStatements"); consumeSwitchBlockStatement() ; break ; case 250 : // System.out.println("SwitchLabels ::= SwitchLabels SwitchLabel"); consumeSwitchLabels() ; break ; case 251 : // System.out.println("SwitchLabel ::= case ConstantExpression COLON"); consumeCaseLabel(); break ; case 252 : // System.out.println("SwitchLabel ::= default COLON"); consumeDefaultLabel(); break ; case 253 : // System.out.println("WhileStatement ::= while LPAREN Expression RPAREN Statement"); consumeStatementWhile() ; break ; case 254 : // System.out.println("WhileStatementNoShortIf ::= while LPAREN Expression RPAREN StatementNoShortIf"); consumeStatementWhile() ; break ; case 255 : // System.out.println("DoStatement ::= do Statement while LPAREN Expression RPAREN SEMICOLON"); consumeStatementDo() ; break ; case 256 : // System.out.println("ForStatement ::= for LPAREN ForInitopt SEMICOLON Expressionopt SEMICOLON..."); consumeStatementFor() ; break ; case 257 : // System.out.println("ForStatementNoShortIf ::= for LPAREN ForInitopt SEMICOLON Expressionopt SEMICOLON"); consumeStatementFor() ; break ; case 258 : // System.out.println("ForInit ::= StatementExpressionList"); consumeForInit() ; break ; case 262 : // System.out.println("StatementExpressionList ::= StatementExpressionList COMMA StatementExpression"); consumeStatementExpressionList() ; break ; case 263 : // System.out.println("AssertStatement ::= assert Expression SEMICOLON"); consumeSimpleAssertStatement() ; break ; case 264 : // System.out.println("AssertStatement ::= assert Expression COLON Expression SEMICOLON"); consumeAssertStatement() ; break ; case 265 : // System.out.println("BreakStatement ::= break SEMICOLON"); consumeStatementBreak() ; break ; case 266 : // System.out.println("BreakStatement ::= break Identifier SEMICOLON"); consumeStatementBreakWithLabel() ; break ; case 267 : // System.out.println("ContinueStatement ::= continue SEMICOLON"); consumeStatementContinue() ; break ; case 268 : // System.out.println("ContinueStatement ::= continue Identifier SEMICOLON"); consumeStatementContinueWithLabel() ; break ; case 269 : // System.out.println("ReturnStatement ::= return Expressionopt SEMICOLON"); consumeStatementReturn() ; break ; case 270 : // System.out.println("ThrowStatement ::= throw Expression SEMICOLON"); consumeStatementThrow(); break ; case 271 : // System.out.println("SynchronizedStatement ::= OnlySynchronized LPAREN Expression RPAREN Block"); consumeStatementSynchronized(); break ; case 272 : // System.out.println("OnlySynchronized ::= synchronized"); consumeOnlySynchronized(); break ; case 273 : // System.out.println("TryStatement ::= try Block Catches"); consumeStatementTry(false); break ; case 274 : // System.out.println("TryStatement ::= try Block Catchesopt Finally"); consumeStatementTry(true); break ; case 276 : // System.out.println("Catches ::= Catches CatchClause"); consumeCatches(); break ; case 277 : // System.out.println("CatchClause ::= catch LPAREN FormalParameter RPAREN Block"); consumeStatementCatch() ; break ; case 279 : // System.out.println("PushLPAREN ::= LPAREN"); consumeLeftParen(); break ; case 280 : // System.out.println("PushRPAREN ::= RPAREN"); consumeRightParen(); break ; case 285 : // System.out.println("PrimaryNoNewArray ::= this"); consumePrimaryNoNewArrayThis(); break ; case 286 : // System.out.println("PrimaryNoNewArray ::= PushLPAREN Expression PushRPAREN"); consumePrimaryNoNewArray(); break ; case 289 : // System.out.println("PrimaryNoNewArray ::= Name DOT this"); consumePrimaryNoNewArrayNameThis(); break ; case 290 : // System.out.println("PrimaryNoNewArray ::= Name DOT super"); consumePrimaryNoNewArrayNameSuper(); break ; case 291 : // System.out.println("PrimaryNoNewArray ::= Name DOT class"); consumePrimaryNoNewArrayName(); break ; case 292 : // System.out.println("PrimaryNoNewArray ::= ArrayType DOT class"); consumePrimaryNoNewArrayArrayType(); break ; case 293 : // System.out.println("PrimaryNoNewArray ::= PrimitiveType DOT class"); consumePrimaryNoNewArrayPrimitiveType(); break ; case 296 : // System.out.println("AllocationHeader ::= new ClassType LPAREN ArgumentListopt RPAREN"); consumeAllocationHeader(); break ; case 297 : // System.out.println("ClassInstanceCreationExpression ::= new ClassType LPAREN ArgumentListopt RPAREN..."); consumeClassInstanceCreationExpression(); break ; case 298 : // System.out.println("ClassInstanceCreationExpression ::= Primary DOT new SimpleName LPAREN..."); consumeClassInstanceCreationExpressionQualified() ; break ; case 299 : // System.out.println("ClassInstanceCreationExpression ::= ClassInstanceCreationExpressionName new..."); consumeClassInstanceCreationExpressionQualified() ; break ; case 300 : // System.out.println("ClassInstanceCreationExpressionName ::= Name DOT"); consumeClassInstanceCreationExpressionName() ; break ; case 301 : // System.out.println("ClassBodyopt ::="); consumeClassBodyopt(); break ; case 303 : // System.out.println("EnterAnonymousClassBody ::="); consumeEnterAnonymousClassBody(); break ; case 305 : // System.out.println("ArgumentList ::= ArgumentList COMMA Expression"); consumeArgumentList(); break ; case 306 : // System.out.println("ArrayCreationHeader ::= new PrimitiveType DimWithOrWithOutExprs"); consumeArrayCreationHeader(); break ; case 307 : // System.out.println("ArrayCreationHeader ::= new ClassOrInterfaceType DimWithOrWithOutExprs"); consumeArrayCreationHeader(); break ; case 308 : // System.out.println("ArrayCreationWithoutArrayInitializer ::= new PrimitiveType DimWithOrWithOutExprs"); consumeArrayCreationExpressionWithoutInitializer(); break ; case 309 : // System.out.println("ArrayCreationWithArrayInitializer ::= new PrimitiveType DimWithOrWithOutExprs..."); consumeArrayCreationExpressionWithInitializer(); break ; case 310 : // System.out.println("ArrayCreationWithoutArrayInitializer ::= new ClassOrInterfaceType..."); consumeArrayCreationExpressionWithoutInitializer(); break ; case 311 : // System.out.println("ArrayCreationWithArrayInitializer ::= new ClassOrInterfaceType..."); consumeArrayCreationExpressionWithInitializer(); break ; case 313 : // System.out.println("DimWithOrWithOutExprs ::= DimWithOrWithOutExprs DimWithOrWithOutExpr"); consumeDimWithOrWithOutExprs(); break ; case 315 : // System.out.println("DimWithOrWithOutExpr ::= LBRACKET RBRACKET"); consumeDimWithOrWithOutExpr(); break ; case 316 : // System.out.println("Dims ::= DimsLoop"); consumeDims(); break ; case 319 : // System.out.println("OneDimLoop ::= LBRACKET RBRACKET"); consumeOneDimLoop(); break ; case 320 : // System.out.println("FieldAccess ::= Primary DOT Identifier"); consumeFieldAccess(false); break ; case 321 : // System.out.println("FieldAccess ::= super DOT Identifier"); consumeFieldAccess(true); break ; case 322 : // System.out.println("MethodInvocation ::= Name LPAREN ArgumentListopt RPAREN"); consumeMethodInvocationName(); break ; case 323 : // System.out.println("MethodInvocation ::= Primary DOT Identifier LPAREN ArgumentListopt RPAREN"); consumeMethodInvocationPrimary(); break ; case 324 : // System.out.println("MethodInvocation ::= super DOT Identifier LPAREN ArgumentListopt RPAREN"); consumeMethodInvocationSuper(); break ; case 325 : // System.out.println("ArrayAccess ::= Name LBRACKET Expression RBRACKET"); consumeArrayAccess(true); break ; case 326 : // System.out.println("ArrayAccess ::= PrimaryNoNewArray LBRACKET Expression RBRACKET"); consumeArrayAccess(false); break ; case 327 : // System.out.println("ArrayAccess ::= ArrayCreationWithArrayInitializer LBRACKET Expression RBRACKET"); consumeArrayAccess(false); break ; case 329 : // System.out.println("PostfixExpression ::= Name"); consumePostfixExpression(); break ; case 332 : // System.out.println("PostIncrementExpression ::= PostfixExpression PLUS_PLUS"); consumeUnaryExpression(OperatorIds.PLUS,true); break ; case 333 : // System.out.println("PostDecrementExpression ::= PostfixExpression MINUS_MINUS"); consumeUnaryExpression(OperatorIds.MINUS,true); break ; case 334 : // System.out.println("PushPosition ::="); consumePushPosition(); break ; case 337 : // System.out.println("UnaryExpression ::= PLUS PushPosition UnaryExpression"); consumeUnaryExpression(OperatorIds.PLUS); break ; case 338 : // System.out.println("UnaryExpression ::= MINUS PushPosition UnaryExpression"); consumeUnaryExpression(OperatorIds.MINUS); break ; case 340 : // System.out.println("PreIncrementExpression ::= PLUS_PLUS PushPosition UnaryExpression"); consumeUnaryExpression(OperatorIds.PLUS,false); break ; case 341 : // System.out.println("PreDecrementExpression ::= MINUS_MINUS PushPosition UnaryExpression"); consumeUnaryExpression(OperatorIds.MINUS,false); break ; case 343 : // System.out.println("UnaryExpressionNotPlusMinus ::= TWIDDLE PushPosition UnaryExpression"); consumeUnaryExpression(OperatorIds.TWIDDLE); break ; case 344 : // System.out.println("UnaryExpressionNotPlusMinus ::= NOT PushPosition UnaryExpression"); consumeUnaryExpression(OperatorIds.NOT); break ; case 346 : // System.out.println("CastExpression ::= PushLPAREN PrimitiveType Dimsopt PushRPAREN InsideCastExpression"); consumeCastExpression(); break ; case 347 : // System.out.println("CastExpression ::= PushLPAREN Name Dims PushRPAREN InsideCastExpression..."); consumeCastExpression(); break ; case 348 : // System.out.println("CastExpression ::= PushLPAREN Expression PushRPAREN InsideCastExpressionLL1..."); consumeCastExpressionLL1(); break ; case 349 : // System.out.println("InsideCastExpression ::="); consumeInsideCastExpression(); break ; case 350 : // System.out.println("InsideCastExpressionLL1 ::="); consumeInsideCastExpressionLL1(); break ; case 352 : // System.out.println("MultiplicativeExpression ::= MultiplicativeExpression MULTIPLY UnaryExpression"); consumeBinaryExpression(OperatorIds.MULTIPLY); break ; case 353 : // System.out.println("MultiplicativeExpression ::= MultiplicativeExpression DIVIDE UnaryExpression"); consumeBinaryExpression(OperatorIds.DIVIDE); break ; case 354 : // System.out.println("MultiplicativeExpression ::= MultiplicativeExpression REMAINDER UnaryExpression"); consumeBinaryExpression(OperatorIds.REMAINDER); break ; case 356 : // System.out.println("AdditiveExpression ::= AdditiveExpression PLUS MultiplicativeExpression"); consumeBinaryExpression(OperatorIds.PLUS); break ; case 357 : // System.out.println("AdditiveExpression ::= AdditiveExpression MINUS MultiplicativeExpression"); consumeBinaryExpression(OperatorIds.MINUS); break ; case 359 : // System.out.println("ShiftExpression ::= ShiftExpression LEFT_SHIFT AdditiveExpression"); consumeBinaryExpression(OperatorIds.LEFT_SHIFT); break ; case 360 : // System.out.println("ShiftExpression ::= ShiftExpression RIGHT_SHIFT AdditiveExpression"); consumeBinaryExpression(OperatorIds.RIGHT_SHIFT); break ; case 361 : // System.out.println("ShiftExpression ::= ShiftExpression UNSIGNED_RIGHT_SHIFT AdditiveExpression"); consumeBinaryExpression(OperatorIds.UNSIGNED_RIGHT_SHIFT); break ; case 363 : // System.out.println("RelationalExpression ::= RelationalExpression LESS ShiftExpression"); consumeBinaryExpression(OperatorIds.LESS); break ; case 364 : // System.out.println("RelationalExpression ::= RelationalExpression GREATER ShiftExpression"); consumeBinaryExpression(OperatorIds.GREATER); break ; case 365 : // System.out.println("RelationalExpression ::= RelationalExpression LESS_EQUAL ShiftExpression"); consumeBinaryExpression(OperatorIds.LESS_EQUAL); break ; case 366 : // System.out.println("RelationalExpression ::= RelationalExpression GREATER_EQUAL ShiftExpression"); consumeBinaryExpression(OperatorIds.GREATER_EQUAL); break ; case 367 : // System.out.println("RelationalExpression ::= RelationalExpression instanceof ReferenceType"); consumeInstanceOfExpression(OperatorIds.INSTANCEOF); break ; case 369 : // System.out.println("EqualityExpression ::= EqualityExpression EQUAL_EQUAL RelationalExpression"); consumeEqualityExpression(OperatorIds.EQUAL_EQUAL); break ; case 370 : // System.out.println("EqualityExpression ::= EqualityExpression NOT_EQUAL RelationalExpression"); consumeEqualityExpression(OperatorIds.NOT_EQUAL); break ; case 372 : // System.out.println("AndExpression ::= AndExpression AND EqualityExpression"); consumeBinaryExpression(OperatorIds.AND); break ; case 374 : // System.out.println("ExclusiveOrExpression ::= ExclusiveOrExpression XOR AndExpression"); consumeBinaryExpression(OperatorIds.XOR); break ; case 376 : // System.out.println("InclusiveOrExpression ::= InclusiveOrExpression OR ExclusiveOrExpression"); consumeBinaryExpression(OperatorIds.OR); break ; case 378 : // System.out.println("ConditionalAndExpression ::= ConditionalAndExpression AND_AND InclusiveOrExpression"); consumeBinaryExpression(OperatorIds.AND_AND); break ; case 380 : // System.out.println("ConditionalOrExpression ::= ConditionalOrExpression OR_OR ConditionalAndExpression"); consumeBinaryExpression(OperatorIds.OR_OR); break ; case 382 : // System.out.println("ConditionalExpression ::= ConditionalOrExpression QUESTION Expression COLON..."); consumeConditionalExpression(OperatorIds.QUESTIONCOLON) ; break ; case 385 : // System.out.println("Assignment ::= PostfixExpression AssignmentOperator AssignmentExpression"); consumeAssignment(); break ; case 387 : // System.out.println("Assignment ::= InvalidArrayInitializerAssignement"); ignoreExpressionAssignment(); break ; case 388 : // System.out.println("AssignmentOperator ::= EQUAL"); consumeAssignmentOperator(EQUAL); break ; case 389 : // System.out.println("AssignmentOperator ::= MULTIPLY_EQUAL"); consumeAssignmentOperator(MULTIPLY); break ; case 390 : // System.out.println("AssignmentOperator ::= DIVIDE_EQUAL"); consumeAssignmentOperator(DIVIDE); break ; case 391 : // System.out.println("AssignmentOperator ::= REMAINDER_EQUAL"); consumeAssignmentOperator(REMAINDER); break ; case 392 : // System.out.println("AssignmentOperator ::= PLUS_EQUAL"); consumeAssignmentOperator(PLUS); break ; case 393 : // System.out.println("AssignmentOperator ::= MINUS_EQUAL"); consumeAssignmentOperator(MINUS); break ; case 394 : // System.out.println("AssignmentOperator ::= LEFT_SHIFT_EQUAL"); consumeAssignmentOperator(LEFT_SHIFT); break ; case 395 : // System.out.println("AssignmentOperator ::= RIGHT_SHIFT_EQUAL"); consumeAssignmentOperator(RIGHT_SHIFT); break ; case 396 : // System.out.println("AssignmentOperator ::= UNSIGNED_RIGHT_SHIFT_EQUAL"); consumeAssignmentOperator(UNSIGNED_RIGHT_SHIFT); break ; case 397 : // System.out.println("AssignmentOperator ::= AND_EQUAL"); consumeAssignmentOperator(AND); break ; case 398 : // System.out.println("AssignmentOperator ::= XOR_EQUAL"); consumeAssignmentOperator(XOR); break ; case 399 : // System.out.println("AssignmentOperator ::= OR_EQUAL"); consumeAssignmentOperator(OR); break ; case 406 : // System.out.println("Expressionopt ::="); consumeEmptyExpression(); break ; case 410 : // System.out.println("ImportDeclarationsopt ::="); consumeEmptyImportDeclarationsopt(); break ; case 411 : // System.out.println("ImportDeclarationsopt ::= ImportDeclarations"); consumeImportDeclarationsopt(); break ; case 412 : // System.out.println("TypeDeclarationsopt ::="); consumeEmptyTypeDeclarationsopt(); break ; case 413 : // System.out.println("TypeDeclarationsopt ::= TypeDeclarations"); consumeTypeDeclarationsopt(); break ; case 414 : // System.out.println("ClassBodyDeclarationsopt ::="); consumeEmptyClassBodyDeclarationsopt(); break ; case 415 : // System.out.println("ClassBodyDeclarationsopt ::= NestedType ClassBodyDeclarations"); consumeClassBodyDeclarationsopt(); break ; case 416 : // System.out.println("Modifiersopt ::="); consumeDefaultModifiers(); break ; case 417 : // System.out.println("Modifiersopt ::= Modifiers"); consumeModifiers(); break ; case 418 : // System.out.println("BlockStatementsopt ::="); consumeEmptyBlockStatementsopt(); break ; case 420 : // System.out.println("Dimsopt ::="); consumeEmptyDimsopt(); break ; case 422 : // System.out.println("ArgumentListopt ::="); consumeEmptyArgumentListopt(); break ; case 426 : // System.out.println("FormalParameterListopt ::="); consumeFormalParameterListopt(); break ; case 430 : // System.out.println("InterfaceMemberDeclarationsopt ::="); consumeEmptyInterfaceMemberDeclarationsopt(); break ; case 431 : // System.out.println("InterfaceMemberDeclarationsopt ::= NestedType InterfaceMemberDeclarations"); consumeInterfaceMemberDeclarationsopt(); break ; case 432 : // System.out.println("NestedType ::="); consumeNestedType(); break ; case 433 : // System.out.println("ForInitopt ::="); consumeEmptyForInitopt(); break ; case 435 : // System.out.println("ForUpdateopt ::="); consumeEmptyForUpdateopt(); break ; case 439 : // System.out.println("Catchesopt ::="); consumeEmptyCatchesopt(); break ; }} | 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,
559,
5621,
26924,
202,
8820,
274,
377,
648,
21193,
294,
368,
2332,
18,
659,
18,
8222,
2932,
2404,
559,
493,
33,
1659,
1162,
1358,
559,
8863,
1082,
565,
7865,
2404,
559,
5621,
565,
1082,
202,
8820,
274,
377,
648,
18106,
294,
368,
2332,
18,
659,
18,
8222,
2932,
12345,
493,
33,
1770,
15772,
4477,
461,
8863,
1082,
565,
7865,
12345,
5621,
26924,
202,
8820,
274,
377,
648,
15935,
294,
368,
2332,
18,
659,
18,
8222,
2932,
19184,
2802,
493,
33,
15439,
19184,
2802,
7508,
6094,
3838,
6164,
21408,
3838,
8863,
1082,
565,
7865,
19184,
2802,
5621,
26924,
202,
8820,
274,
377,
648,
22431,
294,
368,
2332,
18,
659,
18,
8222,
2932,
10237,
19184,
2802,
493,
1546,
1769,
1082,
565,
7865,
10237,
19184,
2802,
5621,
26924,
202,
8820,
274,
377,
648,
21017,
294,
368,
2332,
18,
659,
18,
8222,
2932,
14842,
1864,
493,
33,
1044,
511,
15111,
478,
1687,
1662,
534,
15111,
511,
26980,
8863,
1082,
565,
7865,
14842,
1864,
5621,
26924,
202,
8820,
274,
377,
648,
20963,
294,
368,
2332,
18,
659,
18,
8222,
2932,
5010,
21408,
493,
33,
6164,
21408,
6164,
6094,
8863,
1082,
565,
7865,
5010,
21408,
5621,
26924,
202,
8820,
274,
377,
648,
26465,
294,
368,
2332,
18,
659,
18,
8222,
2932,
559,
21408,
493,
33,
1412,
21408,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
559,
5621,
26924,
202,
8820,
274,
377,
648,
21193,
294,
368,
2332,
18,
659,
18,
8222,
2932,
2404,
559,
493,
33,
1659,
1162,
1358,
559,
8863,
1082,
565,
7865,
2404,
559,
5621,
565,
1082,
202,
8820,
274,
377,
648,
18106,
294,
368,
2332,
18,
659,
18,
8222,
2932,
12345,
493,
33,
1770,
15772,
4477,
461,
8863,
1082,
565,
7865,
12345,
5621,
26924,
202,
8820,
274,
377,
648,
15935,
294,
368,
2332,
18,
659,
18,
8222,
2932,
19184,
2802,
493,
33,
15439,
19184,
2802,
2
] |
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,
6540,
1621,
2932,
3813,
1214,
8863,
202,
202,
812,
1304,
18,
6540,
1621,
2932,
3813,
1214,
19,
2354,
8863,
202,
202,
3813,
812,
273,
1387,
1304,
18,
2640,
812,
2932,
3813,
1621,
19,
5814,
812,
18,
5830,
3113,
315,
3813,
913,
8863,
202,
202,
455,
17707,
273,
394,
9414,
28840,
5621,
202,
202,
2293,
273,
394,
7867,
691,
5621,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
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,
6540,
1621,
2932,
3813,
1214,
8863,
202,
202,
812,
1304,
18,
6540,
1621,
2932,
3813,
1214,
19,
2354,
8863,
202,
202,
3813,
812,
273,
1387,
1304,
18,
2640,
812,
2932,
3813,
1621,
19,
5814,
812,
18,
5830,
3113,
315,
3813,
913,
8863,
202,
202,
455,
17707,
273,
394,
9414,
28840,
5621,
202,
202,
2293,
273,
394,
7867,
691,
5621,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
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 only if the base // is ur-type if (derived.getXSType() == XSTypeDecl.ANYSIMPLE_TYPE) return (base.getXSType() & XSTypeDecl.UR_TYPE) != 0; // if derived is simple type if ((derived.getXSType() & XSTypeDecl.SIMPLE_TYPE) != 0) { // if base is complex type if ((base.getXSType() & XSTypeDecl.COMPLEX_TYPE) != 0) { // if base is anyType, change base to anySimpleType, // otherwise, not valid if (base.getXSType() == XSTypeDecl.ANY_TYPE) base = SchemaGrammar.SG_SchemaNS.getGlobalTypeDecl(SchemaSymbols.ATTVAL_ANYSIMPLETYPE); else return false; } return checkSimpleDerivation((DatatypeValidator)derived, (DatatypeValidator)base, block); } else { return checkComplexDerivation((XSComplexTypeDecl)derived, base, block); } } | 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,
1807,
923,
1338,
309,
1026,
353,
1281,
559,
4885,
3639,
309,
261,
765,
2950,
18,
588,
60,
55,
559,
1435,
422,
1139,
55,
559,
3456,
18,
15409,
67,
2399,
13,
5411,
327,
10379,
422,
1026,
31,
3639,
368,
309,
10379,
353,
1281,
5784,
559,
16,
1508,
518,
1807,
923,
1338,
309,
326,
1026,
3639,
368,
353,
8896,
17,
723,
3639,
309,
261,
765,
2950,
18,
588,
60,
55,
559,
1435,
422,
1139,
55,
559,
3456,
18,
15409,
31669,
900,
67,
2399,
13,
5411,
327,
261,
1969,
18,
588,
60,
55,
559,
1435,
473,
1139,
55,
559,
3456,
18,
1099,
67,
2399,
13,
480,
374,
31,
3639,
368,
309,
10379,
353,
4143,
618,
3639,
309,
261,
765,
2950,
18,
588,
60,
55,
559,
1435,
422,
1139,
55,
559,
3456,
18,
31669,
900,
67,
2399,
13,
288,
5411,
368,
309,
1026,
353,
7233,
618,
5411,
309,
14015,
1969,
18,
588,
60,
55,
559,
1435,
473,
1139,
55,
559,
3456,
18,
10057,
21130,
67,
2399,
13,
480,
374,
13,
288,
7734,
368,
309,
1026,
353,
1281,
559,
16,
2549,
1026,
358,
1281,
5784,
559,
16,
7734,
368,
3541,
16,
486,
923,
7734,
309,
261,
1969,
18,
588,
60,
55,
559,
1435,
422,
1139,
55,
559,
3456,
18,
15409,
67,
2399,
13,
10792,
1026,
273,
4611,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1807,
923,
1338,
309,
1026,
353,
1281,
559,
4885,
3639,
309,
261,
765,
2950,
18,
588,
60,
55,
559,
1435,
422,
1139,
55,
559,
3456,
18,
15409,
67,
2399,
13,
5411,
327,
10379,
422,
1026,
31,
3639,
368,
309,
10379,
353,
1281,
5784,
559,
16,
1508,
518,
1807,
923,
1338,
309,
326,
1026,
3639,
368,
353,
8896,
17,
723,
3639,
309,
261,
765,
2950,
18,
588,
60,
55,
559,
1435,
422,
1139,
55,
559,
3456,
18,
15409,
31669,
900,
67,
2399,
13,
5411,
327,
2
] |
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,
67,
921,
5621,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
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,
67,
921,
5621,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
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.getPeer()+" ("+(int) pn.pingAverage.currentValue()+"ms ping avg)"); } | 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,
484,
691,
3183,
18,
4479,
14560,
12,
2704,
2144,
12,
5436,
2279,
10019,
377,
202,
430,
12,
27401,
480,
446,
13,
12677,
18,
265,
11931,
329,
5621,
377,
202,
12107,
377,
202,
202,
3328,
18,
6130,
12,
2211,
16,
315,
18939,
8479,
590,
13605,
35,
4112,
603,
13773,
5436,
2279,
9078,
628,
13773,
7449,
18,
588,
6813,
1435,
9078,
7566,
15,
950,
1304,
18,
2139,
950,
12443,
474,
13,
11059,
18,
1382,
17115,
18,
2972,
620,
9334,
576,
16,
638,
13,
9078,
10087,
11152,
2225,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
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,
484,
691,
3183,
18,
4479,
14560,
12,
2704,
2144,
12,
5436,
2279,
10019,
377,
202,
430,
12,
27401,
480,
446,
13,
12677,
18,
265,
11931,
329,
5621,
377,
202,
12107,
377,
202,
202,
3328,
18,
6130,
12,
2211,
16,
315,
18939,
8479,
590,
13605,
35,
4112,
603,
13773,
5436,
2279,
9078,
628,
13773,
7449,
18,
588,
6813,
1435,
9078,
7566,
15,
950,
1304,
18,
2139,
950,
12443,
474,
13,
11059,
18,
1382,
17115,
18,
2972,
620,
9334,
576,
16,
638,
13,
9078,
10087,
11152,
2225,
2
] |
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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' must not" + " be less than zero."); int size = model.getSize(); if (startIndex > model.getSize()) throw new IllegalArgumentException("The argument 'startIndex' must not" + " be greater than the number of" + " elements in the ListModel."); int index = -1; if (bias == Position.Bias.Forward) { for (int i = startIndex; i < size; i++) { String item = model.getElementAt(i).toString(); if (item.startsWith(prefix)) { index = i; break; } } } else { for (int i = startIndex; i >= 0; i--) { String item = model.getElementAt(i).toString(); if (item.startsWith(prefix)) { index = i; break; } } } return index; } | 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,
1297,
486,
506,
6,
29159,
397,
315,
446,
1199,
1769,
565,
309,
261,
1937,
1016,
411,
374,
13,
1377,
604,
394,
2754,
2932,
1986,
1237,
296,
1937,
1016,
11,
1297,
486,
6,
29159,
397,
315,
506,
5242,
2353,
3634,
1199,
1769,
565,
509,
963,
273,
938,
18,
588,
1225,
5621,
565,
309,
261,
1937,
1016,
405,
938,
18,
588,
1225,
10756,
1377,
604,
394,
2754,
2932,
1986,
1237,
296,
1937,
1016,
11,
1297,
486,
6,
29159,
397,
315,
506,
6802,
2353,
326,
1300,
434,
6,
29159,
397,
315,
2186,
316,
326,
987,
1488,
1199,
1769,
565,
509,
770,
273,
300,
21,
31,
565,
309,
261,
13931,
422,
11010,
18,
31645,
18,
8514,
13,
1377,
288,
3639,
364,
261,
474,
277,
273,
10588,
31,
277,
411,
963,
31,
277,
27245,
1850,
288,
5411,
514,
761,
273,
938,
18,
21336,
861,
12,
77,
2934,
10492,
5621,
5411,
309,
261,
1726,
18,
17514,
1190,
12,
3239,
3719,
2868,
288,
7734,
770,
273,
277,
31,
7734,
898,
31,
2868,
289,
1850,
289,
1377,
289,
565,
469,
1377,
288,
3639,
364,
261,
474,
277,
273,
10588,
31,
277,
1545,
374,
31,
277,
413,
13,
1850,
288,
5411,
514,
761,
273,
938,
18,
21336,
861,
12,
77,
2934,
10492,
5621,
5411,
309,
261,
1726,
18,
17514,
1190,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1297,
486,
506,
6,
29159,
397,
315,
446,
1199,
1769,
565,
309,
261,
1937,
1016,
411,
374,
13,
1377,
604,
394,
2754,
2932,
1986,
1237,
296,
1937,
1016,
11,
1297,
486,
6,
29159,
397,
315,
506,
5242,
2353,
3634,
1199,
1769,
565,
509,
963,
273,
938,
18,
588,
1225,
5621,
565,
309,
261,
1937,
1016,
405,
938,
18,
588,
1225,
10756,
1377,
604,
394,
2754,
2932,
1986,
1237,
296,
1937,
1016,
11,
1297,
486,
6,
29159,
397,
315,
506,
6802,
2353,
326,
1300,
2
] |
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. en un portal) if (actionOfThisModule(request)) { String accionXava = request.getParameter("xava_action"); if (isFormUpload()) { accionXava = getDefaultActionQualifiedName(); // En los formulario upload ejecutamos la accin por defecto } if (!Is.emptyString(accionXava)) { String valorAccion = request.getParameter("xava_action_argv"); MetaAction a = MetaControllers.getMetaAction(accionXava); long ini = System.currentTimeMillis(); executeAction(a, errores, mensajes, valorAccion, request); long cuesta = System.currentTimeMillis() - ini; System.out.println("[ControladorWeb.ejecutar] " + accionXava + "=" + cuesta + " ms"); } } } } catch (Exception ex) { ex.printStackTrace(); errores.add("no_execute_action"); } } | 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,
291,
1921,
10756,
288,
368,
3704,
83,
695,
425,
78,
557,
322,
69,
7125,
4078,
267,
7533,
1158,
366,
528,
6445,
303,
455,
1721,
5283,
18739,
9506,
202,
759,
21072,
3553,
89,
1979,
73,
6941,
335,
267,
5001,
12602,
2113,
305,
297,
6597,
695,
425,
78,
557,
322,
69,
28842,
4078,
267,
443,
15835,
303,
9506,
202,
759,
3481,
26478,
11623,
452,
6821,
570,
7125,
7524,
2540,
293,
1912,
69,
3311,
261,
84,
18,
425,
78,
18,
570,
640,
11899,
13,
9506,
202,
430,
261,
1128,
951,
2503,
3120,
12,
2293,
3719,
288,
6862,
202,
780,
4078,
285,
60,
1629,
273,
590,
18,
588,
1662,
2932,
92,
1629,
67,
1128,
8863,
6862,
6862,
6862,
1082,
202,
430,
261,
291,
1204,
4777,
10756,
288,
25083,
202,
8981,
285,
60,
1629,
273,
4829,
1803,
12345,
5621,
368,
1374,
22148,
646,
2490,
1594,
3617,
425,
78,
557,
322,
301,
538,
7125,
4078,
267,
22471,
26640,
83,
6862,
6862,
1082,
202,
97,
6862,
6862,
6862,
6862,
6862,
6862,
202,
430,
16051,
2520,
18,
5531,
780,
12,
8981,
285,
60,
1629,
3719,
288,
6862,
6862,
9506,
202,
780,
23325,
8973,
285,
273,
590,
18,
588,
1662,
2932,
92,
1629,
67,
1128,
67,
19485,
8863,
6862,
6862,
9506,
202,
2781,
1803,
279,
273,
6565,
13745,
18,
588,
2
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
291,
1921,
10756,
288,
368,
3704,
83,
695,
425,
78,
557,
322,
69,
7125,
4078,
267,
7533,
1158,
366,
528,
6445,
303,
455,
1721,
5283,
18739,
9506,
202,
759,
21072,
3553,
89,
1979,
73,
6941,
335,
267,
5001,
12602,
2113,
305,
297,
6597,
695,
425,
78,
557,
322,
69,
28842,
4078,
267,
443,
15835,
303,
9506,
202,
759,
3481,
26478,
11623,
452,
6821,
570,
7125,
7524,
2540,
293,
1912,
69,
3311,
261,
84,
18,
425,
78,
18,
570,
640,
11899,
13,
9506,
202,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
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 = maxHitss; return; } else { break; } } } catch (NumberFormatException ex) { maxHitss = maxHitss.substring(0, i); } } BugzillaSearchPage.this.maxHits = maxHitss; } | 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,
1435,
422,
374,
13,
6862,
202,
2463,
31,
9506,
202,
1884,
261,
474,
277,
273,
943,
13616,
1049,
18,
2469,
1435,
300,
404,
31,
277,
1545,
374,
31,
277,
413,
13,
288,
6862,
202,
698,
288,
25083,
202,
430,
261,
1896,
13616,
1049,
18,
14963,
2932,
7923,
747,
2144,
18,
2670,
1702,
12,
1896,
13616,
1049,
13,
405,
300,
21,
13,
288,
6862,
1082,
202,
430,
261,
77,
422,
943,
13616,
1049,
18,
2469,
1435,
300,
404,
13,
288,
6862,
9506,
202,
1896,
20950,
273,
943,
13616,
1049,
31,
6862,
9506,
202,
2463,
31,
6862,
1082,
202,
97,
469,
288,
6862,
9506,
202,
8820,
31,
6862,
1082,
202,
97,
25083,
202,
97,
6862,
202,
97,
1044,
261,
1854,
9291,
431,
13,
288,
25083,
202,
1896,
13616,
1049,
273,
943,
13616,
1049,
18,
28023,
12,
20,
16,
277,
1769,
6862,
202,
97,
9506,
202,
97,
9506,
202,
19865,
15990,
2979,
1964,
18,
2211,
18,
1896,
20950,
273,
943,
13616,
1049,
31,
1082,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
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,
1435,
422,
374,
13,
6862,
202,
2463,
31,
9506,
202,
1884,
261,
474,
277,
273,
943,
13616,
1049,
18,
2469,
1435,
300,
404,
31,
277,
1545,
374,
31,
277,
413,
13,
288,
6862,
202,
698,
288,
25083,
202,
430,
261,
1896,
13616,
1049,
18,
14963,
2932,
7923,
747,
2144,
18,
2670,
1702,
12,
1896,
13616,
1049,
13,
405,
300,
21,
13,
288,
6862,
1082,
202,
430,
261,
77,
422,
943,
13616,
1049,
18,
2469,
1435,
300,
404,
13,
288,
6862,
9506,
202,
1896,
20950,
2
] |
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(); } return orderedFieldsArray; } | 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,
2314,
18,
1467,
1435,
15533,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
5901,
2314,
18,
1467,
5621,
277,
27245,
288,
5411,
5901,
2314,
1076,
63,
77,
65,
273,
14015,
4522,
13,
5901,
2314,
18,
588,
12,
77,
13,
2934,
474,
620,
5621,
3639,
289,
3639,
327,
5901,
2314,
1076,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
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,
2314,
18,
1467,
1435,
15533,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
5901,
2314,
18,
1467,
5621,
277,
27245,
288,
5411,
5901,
2314,
1076,
63,
77,
65,
273,
14015,
4522,
13,
5901,
2314,
18,
588,
12,
77,
13,
2934,
474,
620,
5621,
3639,
289,
3639,
327,
5901,
2314,
1076,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-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.getParent(), File.separatorChar); | 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) { myFQName = VfsUtil.getRelativePath(directory, contentRoot.getParent(), File.separatorChar); } | public DirectoryNode(PsiDirectory aDirectory, boolean compactPackages, boolean showFQName) { myDirectory = aDirectory; myDirName = aDirectory.getName(); myCompactPackages = compactPackages; if (showFQName) { 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.getParent(), File.separatorChar); } } setUserObject(toString()); } | 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,
17994,
5621,
565,
3399,
16863,
11425,
273,
6739,
11425,
31,
565,
309,
261,
4500,
42,
13688,
13,
288,
1377,
727,
5420,
812,
1016,
770,
273,
5420,
2375,
1318,
18,
588,
1442,
12,
4811,
2853,
18,
588,
4109,
1435,
2934,
29925,
1016,
5621,
1377,
727,
7269,
812,
1867,
273,
3399,
2853,
18,
588,
6466,
812,
5621,
1377,
727,
7269,
812,
913,
2375,
273,
770,
18,
588,
1350,
2375,
1290,
812,
12,
5149,
1769,
1377,
309,
261,
1745,
2375,
480,
446,
13,
288,
3639,
3399,
42,
13688,
273,
776,
2556,
1304,
18,
588,
16519,
12,
5149,
16,
913,
2375,
18,
588,
3054,
9334,
1387,
18,
11287,
2156,
1769,
1377,
289,
565,
289,
565,
14365,
921,
12,
10492,
10663,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
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,
17994,
5621,
565,
3399,
16863,
11425,
273,
6739,
11425,
31,
565,
309,
261,
4500,
42,
13688,
13,
288,
1377,
727,
5420,
812,
1016,
770,
273,
5420,
2375,
1318,
18,
588,
1442,
12,
4811,
2853,
18,
588,
4109,
1435,
2934,
29925,
1016,
5621,
1377,
727,
7269,
812,
1867,
273,
3399,
2853,
18,
588,
6466,
812,
5621,
1377,
727,
7269,
812,
913,
2375,
273,
770,
18,
588,
1350,
2375,
1290,
812,
12,
5149,
1769,
1377,
309,
261,
1745,
2375,
480,
446,
13,
288,
3639,
3399,
42,
2
] |
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 = sinks.iterator(); i.hasNext(); ) { if ( counter > 1 ) { currentSink.text( " " ); } MultiPageSink sink = (MultiPageSink) i.next(); sink.link( sink.getOutputName() + ".html" ); sink.text( String.valueOf( counter++ ) ); sink.link_(); } currentSink.paragraph_(); currentSink.closeSink(); } } } | 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,
9838,
5621,
277,
18,
5332,
2134,
5621,
262,
5411,
288,
7734,
5991,
1964,
11326,
783,
11326,
273,
261,
5002,
1964,
11326,
13,
277,
18,
4285,
5621,
7734,
783,
11326,
18,
22445,
5621,
7734,
364,
261,
4498,
525,
273,
28618,
18,
9838,
5621,
525,
18,
5332,
2134,
5621,
262,
7734,
288,
10792,
309,
261,
3895,
405,
404,
262,
10792,
288,
13491,
783,
11326,
18,
955,
12,
7830,
10600,
4868,
11272,
10792,
289,
10792,
5991,
1964,
11326,
9049,
273,
261,
5002,
1964,
11326,
13,
277,
18,
4285,
5621,
10792,
9049,
18,
1232,
12,
9049,
18,
588,
1447,
461,
1435,
397,
3552,
2620,
6,
11272,
10792,
9049,
18,
955,
12,
514,
18,
1132,
951,
12,
3895,
9904,
262,
11272,
10792,
9049,
18,
1232,
67,
5621,
7734,
289,
7734,
783,
11326,
18,
22445,
67,
5621,
7734,
783,
11326,
18,
4412,
11326,
5621,
5411,
289,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
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,
9838,
5621,
277,
18,
5332,
2134,
5621,
262,
5411,
288,
7734,
5991,
1964,
11326,
783,
11326,
273,
261,
5002,
1964,
11326,
13,
277,
18,
4285,
5621,
7734,
783,
11326,
18,
22445,
5621,
7734,
364,
261,
4498,
525,
273,
28618,
18,
9838,
5621,
525,
18,
5332,
2134,
5621,
262,
7734,
288,
10792,
309,
261,
3895,
405,
404,
262,
10792,
288,
13491,
783,
11326,
18,
955,
12,
7830,
10600,
4868,
11272,
10792,
289,
10792,
5991,
1964,
11326,
9049,
273,
261,
5002,
1964,
11326,
13,
277,
18,
2
] |
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,
18,
2469,
31,
277,
27245,
288,
1082,
202,
45,
743,
589,
273,
394,
2666,
12,
6702,
4466,
63,
77,
65,
397,
4016,
397,
508,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
812,
585,
273,
589,
18,
869,
812,
5621,
1082,
202,
430,
261,
768,
18,
1808,
10756,
288,
9506,
202,
1098,
18,
1289,
12,
803,
1769,
1082,
202,
97,
3196,
202,
97,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
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,
18,
2469,
31,
277,
27245,
288,
1082,
202,
45,
743,
589,
273,
394,
2666,
12,
6702,
4466,
63,
77,
65,
397,
4016,
397,
508,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
1082,
202,
812,
585,
273,
589,
18,
869,
812,
5621,
1082,
202,
430,
261,
768,
18,
1808,
10756,
288,
9506,
202,
1098,
18,
1289,
12,
803,
1769,
1082,
202,
97,
3196,
202,
97,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
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 INTO R1 VALUES (3, 4)"); XSQLDA in_xsqlda;// = new XSQLDA(); XSQLDA out_xsqlda;// = new XSQLDA(); isc_stmt_handle stmt1 = gds.get_new_isc_stmt_handle(); log.info("test- isc_dsql_allocate_statement"); gds.isc_dsql_allocate_statement(db1, stmt1); log.info("test- isc_dsql_prepare"); out_xsqlda = gds.isc_dsql_prepare(t1, stmt1, "SELECT COL1, COL2 FROM R1 WHERE COL1 = 1", GDS.SQL_DIALECT_CURRENT);//, out_xsqlda);// log.info("test- isc_dsql_describe_bind");// in_xsqlda = gds.isc_dsql_describe_bind(stmt1, 1);//, in_xsqlda); in_xsqlda = null;// in_xsqlda.sqlvar[0].sqldata = new Short((short) 1);// log.info("test- isc_dsql_describe");// out_xsqlda = gds.isc_dsql_describe(stmt1, 1);//, out_xsqlda); log.info("test- isc_dsql_execute2"); gds.isc_dsql_execute2(t1, stmt1, 1, in_xsqlda, null);// log.info("test- isc_dsql_set_cursor_name");// gds.isc_dsql_set_cursor_name(stmt1, "cur1", 0);// int fetch_stat; String out = ""; while (gds.isc_dsql_fetch(stmt1, 1, out_xsqlda) != null) { for (int i = 0; i < out_xsqlda.sqld; i++) { Short data = (Short) out_xsqlda.sqlvar[i].sqldata; out += data.shortValue() + " "; } out += System.getProperty("line.separator"); } log.info("fetch returned: " + out); log.info("test- isc_dsql_free_statement"); gds.isc_dsql_free_statement(stmt1, GDS.DSQL_drop); commit(t1); teardownTable(db1); } | 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,
1966,
21,
1769,
3639,
741,
3997,
1170,
2937,
12,
1966,
21,
16,
268,
21,
16,
315,
11356,
12421,
534,
21,
13477,
261,
21,
16,
576,
2225,
1769,
3639,
741,
3997,
1170,
2937,
12,
1966,
21,
16,
268,
21,
16,
315,
11356,
12421,
534,
21,
13477,
261,
22,
16,
890,
2225,
1769,
3639,
741,
3997,
1170,
2937,
12,
1966,
21,
16,
268,
21,
16,
315,
11356,
12421,
534,
21,
13477,
261,
23,
16,
1059,
2225,
1769,
3639,
1139,
3997,
9793,
316,
67,
92,
4669,
2414,
31,
759,
273,
394,
1139,
3997,
9793,
5621,
3639,
1139,
3997,
9793,
596,
67,
92,
4669,
2414,
31,
759,
273,
394,
1139,
3997,
9793,
5621,
3639,
353,
71,
67,
10589,
67,
4110,
3480,
21,
273,
314,
2377,
18,
588,
67,
2704,
67,
291,
71,
67,
10589,
67,
4110,
5621,
3639,
309,
261,
1330,
5,
33,
2011,
13,
613,
18,
1376,
2932,
3813,
17,
353,
71,
67,
2377,
1217,
67,
16247,
67,
11516,
8863,
3639,
314,
2377,
18,
291,
71,
67,
2377,
1217,
67,
16247,
67,
11516,
12,
1966,
21,
16,
3480,
21,
1769,
3639,
613,
18,
1376,
2932,
3813,
17,
353,
71,
67,
2377,
1217,
67,
9366,
8863,
3639,
596,
67,
92,
4669,
2414,
273,
314,
2377,
18,
291,
71,
67,
2377,
1217,
67,
9366,
12,
88,
21,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1966,
21,
1769,
3639,
741,
3997,
1170,
2937,
12,
1966,
21,
16,
268,
21,
16,
315,
11356,
12421,
534,
21,
13477,
261,
21,
16,
576,
2225,
1769,
3639,
741,
3997,
1170,
2937,
12,
1966,
21,
16,
268,
21,
16,
315,
11356,
12421,
534,
21,
13477,
261,
22,
16,
890,
2225,
1769,
3639,
741,
3997,
1170,
2937,
12,
1966,
21,
16,
268,
21,
16,
315,
11356,
12421,
534,
21,
13477,
261,
23,
16,
1059,
2225,
1769,
3639,
1139,
3997,
9793,
316,
67,
92,
4669,
2414,
2
] |
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(factory); } | 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,
666,
18,
6155,
1839,
1744,
6733,
1733,
12,
2011,
13,
336,
6733,
19271,
1435,
3639,
368,
327,
392,
526,
598,
769,
404,
18,
377,
309,
12,
6848,
422,
446,
13,
288,
604,
394,
2754,
2932,
6733,
1733,
358,
1744,
1410,
486,
506,
446,
8863,
289,
309,
12,
5,
21704,
19271,
18,
12298,
12,
6848,
3719,
288,
6314,
19271,
18,
1289,
12,
6848,
1769,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
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,
666,
18,
6155,
1839,
1744,
6733,
1733,
12,
2011,
13,
336,
6733,
19271,
1435,
3639,
368,
327,
392,
526,
598,
769,
404,
18,
377,
309,
12,
6848,
422,
446,
13,
288,
604,
394,
2754,
2932,
6733,
1733,
358,
1744,
1410,
486,
506,
446,
8863,
289,
309,
12,
5,
21704,
19271,
18,
12298,
12,
6848,
3719,
288,
6314,
19271,
18,
1289,
12,
6848,
1769,
289,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
} | 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/documentation.gettingstarted.html")); } catch (MalformedURLException ex) { ex.printStackTrace(); } } | 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,
595,
3440,
1177,
16,
2898,
848,
506,
4041,
316,
326,
1850,
368,
595,
3440,
471,
15539,
3059,
11288,
4441,
264,
18,
1850,
2405,
1785,
12,
2704,
1976,
2932,
2505,
2207,
481,
340,
18,
3168,
1884,
908,
18,
2758,
19,
26941,
18,
588,
1787,
14561,
18,
2620,
7923,
1769,
3639,
1044,
261,
18695,
20160,
431,
13,
288,
1850,
431,
18,
1188,
6332,
5621,
2398,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
918,
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,
595,
3440,
1177,
16,
2898,
848,
506,
4041,
316,
326,
1850,
368,
595,
3440,
471,
15539,
3059,
11288,
4441,
264,
18,
1850,
2405,
1785,
12,
2704,
1976,
2932,
2505,
2207,
481,
340,
18,
3168,
1884,
908,
18,
2758,
19,
26941,
18,
588,
1787,
14561,
18,
2620,
7923,
1769,
3639,
1044,
261,
18695,
20160,
431,
13,
288,
1850,
431,
18,
1188,
6332,
5621,
2398,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
|
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.getId(), MailItem.TYPE_MESSAGE); | 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) { mMbox.delete(null, mMessage3.getId(), MailItem.TYPE_MESSAGE); } if (mMessage4 != null) { mMbox.delete(null, mMessage4.getId(), MailItem.TYPE_MESSAGE); } List tagList = mMbox.getTagList(); if (tagList == null) { return; } Iterator i = tagList.iterator(); while (i.hasNext()) { Tag tag = (Tag)i.next(); if (tag.getName().startsWith(TAG_PREFIX)) { mMbox.delete(null, tag.getId(), tag.getType()); } } } | 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,
18,
2399,
67,
8723,
1769,
3639,
289,
3639,
309,
261,
81,
1079,
22,
480,
446,
13,
288,
5411,
312,
49,
2147,
18,
3733,
12,
2011,
16,
312,
1079,
22,
18,
26321,
9334,
11542,
1180,
18,
2399,
67,
8723,
1769,
3639,
289,
3639,
309,
261,
81,
1079,
23,
480,
446,
13,
288,
5411,
312,
49,
2147,
18,
3733,
12,
2011,
16,
312,
1079,
23,
18,
26321,
9334,
11542,
1180,
18,
2399,
67,
8723,
1769,
3639,
289,
3639,
309,
261,
81,
1079,
24,
480,
446,
13,
288,
5411,
312,
49,
2147,
18,
3733,
12,
2011,
16,
312,
1079,
24,
18,
26321,
9334,
11542,
1180,
18,
2399,
67,
8723,
1769,
3639,
289,
3639,
987,
1047,
682,
273,
312,
49,
2147,
18,
588,
1805,
682,
5621,
3639,
309,
261,
2692,
682,
422,
446,
13,
288,
5411,
327,
31,
3639,
289,
3639,
4498,
277,
273,
1047,
682,
18,
9838,
5621,
3639,
1323,
261,
77,
18,
5332,
2134,
10756,
288,
5411,
4034,
1047,
273,
261,
1805,
13,
77,
18,
4285,
5621,
5411,
309,
261,
2692,
18,
17994,
7675,
17514,
1190,
12,
7927,
67,
6307,
3719,
288,
7734,
312,
49,
2147,
18,
3733,
12,
2011,
16,
1047,
18,
26321,
9334,
1047,
18,
588,
559,
10663,
5411,
289,
3639,
289,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
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,
18,
2399,
67,
8723,
1769,
3639,
289,
3639,
309,
261,
81,
1079,
22,
480,
446,
13,
288,
5411,
312,
49,
2147,
18,
3733,
12,
2011,
16,
312,
1079,
22,
18,
26321,
9334,
11542,
1180,
18,
2399,
67,
8723,
1769,
3639,
289,
3639,
309,
261,
81,
1079,
23,
480,
446,
13,
288,
5411,
312,
49,
2147,
18,
3733,
12,
2011,
16,
312,
1079,
23,
18,
26321,
9334,
11542,
1180,
18,
2399,
67,
8723,
1769,
3639,
289,
3639,
309,
261,
81,
1079,
24,
480,
446,
2
] |
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.registerComponentImplementation("test", DependsOnTouchable.class); DependsOnTouchable dot = (DependsOnTouchable)child.getComponentInstance("test"); assertNotNull(dot); } | 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,
293,
10764,
18,
4861,
1841,
13621,
2932,
3813,
3113,
4477,
10491,
429,
18,
1106,
1769,
3639,
2989,
52,
10764,
2170,
1151,
273,
394,
2989,
52,
10764,
2170,
12,
84,
10764,
1769,
3639,
1151,
18,
4861,
1841,
13621,
2932,
3813,
3113,
4019,
5839,
1398,
10491,
429,
18,
1106,
1769,
3639,
4019,
5839,
1398,
10491,
429,
3928,
273,
261,
4584,
87,
1398,
10491,
429,
13,
1151,
18,
588,
1841,
1442,
2932,
3813,
8863,
3639,
25395,
12,
9811,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
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,
293,
10764,
18,
4861,
1841,
13621,
2932,
3813,
3113,
4477,
10491,
429,
18,
1106,
1769,
3639,
2989,
52,
10764,
2170,
1151,
273,
394,
2989,
52,
10764,
2170,
12,
84,
10764,
1769,
3639,
1151,
18,
4861,
1841,
13621,
2932,
3813,
3113,
4019,
5839,
1398,
10491,
429,
18,
1106,
1769,
3639,
4019,
5839,
1398,
10491,
429,
3928,
273,
261,
4584,
87,
1398,
10491,
429,
13,
1151,
18,
588,
1841,
1442,
2932,
3813,
8863,
3639,
25395,
12,
9811,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
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); slStandardDetails.topControl = this.cmpStandardNumberDetails; slAdvancedDetails.topControl = this.cmpAdvancedNumberDetails; } else if (formatspecifier instanceof DateFormatSpecifier || formatspecifier instanceof JavaDateFormatSpecifier) { cmbDataType.select(1); if (formatspecifier instanceof DateFormatSpecifier) { btnStandard.setSelection(true); } else if (formatspecifier instanceof JavaDateFormatSpecifier) { btnAdvanced.setSelection(true); } else { btnUndefined.setSelection(true); } slStandardDetails.topControl = this.cmpStandardDateDetails; slAdvancedDetails.topControl = this.cmpAdvancedDateDetails; } else { cmbDataType.select(0); if (formatspecifier instanceof NumberFormatSpecifier) { btnStandard.setSelection(true); } else if (formatspecifier instanceof JavaNumberFormatSpecifier) { btnAdvanced.setSelection(true); } else { btnUndefined.setSelection(true); } slStandardDetails.topControl = this.cmpStandardNumberDetails; slAdvancedDetails.topControl = this.cmpAdvancedNumberDetails; } updateUIState(); // Populate Date Types Object[] oArrDT = DateFormatType.VALUES.toArray(); for (int iDT = 0; iDT < oArrDT.length; iDT++) { cmbDateType.add(((DateFormatType) oArrDT[iDT]).getName()); if (formatspecifier instanceof DateFormatSpecifier && ((DateFormatSpecifier) formatspecifier).getType().equals(oArrDT[iDT])) { cmbDateType.select(iDT); } } if(cmbDateType.getSelectionIndex() == -1) { cmbDateType.select(0); } // Populate Date Details Object[] oArrDD = DateFormatDetail.VALUES.toArray(); for (int iDD = 0; iDD < oArrDD.length; iDD++) { cmbDateForm.add(((DateFormatDetail) oArrDD[iDD]).getName()); if (formatspecifier instanceof DateFormatSpecifier && ((DateFormatSpecifier) formatspecifier).getDetail().equals(oArrDD[iDD])) { cmbDateForm.select(iDD); } } if(cmbDateForm.getSelectionIndex() == -1) { cmbDateForm.select(0); } String str = ""; //$NON-NLS-1$ if (formatspecifier instanceof JavaDateFormatSpecifier) { str = ((JavaDateFormatSpecifier) formatspecifier).getPattern(); if (str == null) { str = ""; //$NON-NLS-1$ } txtDatePattern.setText(str); } if (formatspecifier instanceof NumberFormatSpecifier) { str = ((NumberFormatSpecifier) formatspecifier).getPrefix(); if (str == null) { str = ""; //$NON-NLS-1$ } txtPrefix.setText(str); str = ((NumberFormatSpecifier) formatspecifier).getSuffix(); if (str == null) { str = ""; //$NON-NLS-1$ } txtSuffix.setText(str); str = String.valueOf(((NumberFormatSpecifier) formatspecifier).getMultiplier()); if (str == null || !((NumberFormatSpecifier) formatspecifier).eIsSet(AttributePackage.eINSTANCE .getNumberFormatSpecifier_Multiplier())) { str = ""; //$NON-NLS-1$ } txtMultiplier.setText(str); iscFractionDigits.setValue(((NumberFormatSpecifier) formatspecifier).getFractionDigits()); } if (formatspecifier instanceof JavaNumberFormatSpecifier) { str = String.valueOf(((JavaNumberFormatSpecifier) formatspecifier).getMultiplier()); if (str == null || !((JavaNumberFormatSpecifier) formatspecifier).eIsSet(AttributePackage.eINSTANCE .getJavaNumberFormatSpecifier_Multiplier())) { str = ""; //$NON-NLS-1$ } txtAdvMultiplier.setText(str); str = ((JavaNumberFormatSpecifier) formatspecifier).getPattern(); if (str == null) { str = ""; //$NON-NLS-1$ } txtNumberPattern.setText(str); } this.layout(); this.bEnableEvents = true; } | 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,
6273,
18,
1289,
2932,
1626,
19,
950,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
3639,
309,
261,
2139,
2793,
1251,
422,
446,
13,
3639,
288,
5411,
276,
1627,
6273,
18,
4025,
12,
20,
1769,
5411,
10638,
10317,
18,
542,
6233,
12,
3767,
1769,
5411,
2020,
8336,
3790,
18,
3669,
3367,
273,
333,
18,
9625,
8336,
1854,
3790,
31,
5411,
2020,
23618,
3790,
18,
3669,
3367,
273,
333,
18,
9625,
23618,
1854,
3790,
31,
3639,
289,
3639,
469,
309,
261,
2139,
2793,
1251,
1276,
18371,
21416,
747,
740,
2793,
1251,
1276,
5110,
11878,
21416,
13,
3639,
288,
5411,
276,
1627,
6273,
18,
4025,
12,
21,
1769,
5411,
309,
261,
2139,
2793,
1251,
1276,
18371,
21416,
13,
5411,
288,
7734,
10638,
8336,
18,
542,
6233,
12,
3767,
1769,
5411,
289,
5411,
469,
309,
261,
2139,
2793,
1251,
1276,
5110,
11878,
21416,
13,
5411,
288,
7734,
10638,
23618,
18,
542,
6233,
12,
3767,
1769,
5411,
289,
5411,
469,
5411,
288,
7734,
10638,
10317,
18,
542,
6233,
12,
3767,
1769,
5411,
289,
5411,
2020,
8336,
3790,
18,
3669,
3367,
273,
333,
18,
9625,
8336,
1626,
3790,
31,
5411,
2020,
23618,
3790,
18,
3669,
3367,
273,
333,
18,
9625,
23618,
1626,
3790,
31,
3639,
289,
3639,
469,
3639,
288,
5411,
276,
1627,
6273,
18,
4025,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6273,
18,
1289,
2932,
1626,
19,
950,
8863,
4329,
3993,
17,
5106,
17,
21,
8,
3639,
309,
261,
2139,
2793,
1251,
422,
446,
13,
3639,
288,
5411,
276,
1627,
6273,
18,
4025,
12,
20,
1769,
5411,
10638,
10317,
18,
542,
6233,
12,
3767,
1769,
5411,
2020,
8336,
3790,
18,
3669,
3367,
273,
333,
18,
9625,
8336,
1854,
3790,
31,
5411,
2020,
23618,
3790,
18,
3669,
3367,
273,
333,
18,
9625,
23618,
1854,
3790,
31,
3639,
289,
3639,
469,
309,
261,
2139,
2793,
1251,
2
] |
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(); } catch (IOException e2) { e2.printStackTrace(); | 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.itsName + DESKTOP_EXT; } else { File homedir = new File(System.getProperty("user.home")); File kdeHome = new File(homedir.toString() + FS + ".kde"); File kdeHomeShare = new File(kdeHome.toString() + FS + "share"); File kdeHomeShareApplnk = new File(kdeHomeShare.toString() + FS + itsApplnkFolder); target = kdeHomeShareApplnk.toString() + FS + this.itsGroupName + FS + this.itsName + DESKTOP_EXT; } File targetPath = new File(target.toString().substring(0, target.toString().lastIndexOf(File.separatorChar))); if (!targetPath.exists()) { targetPath.mkdirs(); this.createdDirectory = targetPath.toString(); } 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(); } catch (IOException e2) { e2.printStackTrace(); } } | 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,
14015,
2211,
18,
1282,
3943,
422,
446,
13,
747,
261,
3660,
18,
14963,
12,
2211,
18,
1282,
3943,
20349,
3639,
288,
5411,
1018,
273,
2332,
18,
588,
1396,
2932,
1355,
18,
8712,
7923,
397,
9247,
397,
315,
27583,
6,
397,
9247,
397,
333,
18,
1282,
461,
10792,
397,
2030,
11129,
10462,
67,
4142,
31,
3639,
289,
3639,
469,
3639,
288,
5411,
1387,
13995,
23210,
273,
394,
1387,
12,
3163,
18,
588,
1396,
2932,
1355,
18,
8712,
7923,
1769,
5411,
1387,
417,
323,
8684,
273,
394,
1387,
12,
17125,
23210,
18,
10492,
1435,
397,
9247,
397,
3552,
79,
323,
8863,
5411,
1387,
417,
323,
8684,
9535,
273,
394,
1387,
12,
79,
323,
8684,
18,
10492,
1435,
397,
9247,
397,
315,
14419,
8863,
5411,
1387,
417,
323,
8684,
9535,
1294,
412,
28387,
273,
394,
1387,
12,
79,
323,
8684,
9535,
18,
10492,
1435,
397,
9247,
397,
2097,
1294,
412,
28387,
3899,
1769,
5411,
1018,
273,
417,
323,
8684,
9535,
1294,
412,
28387,
18,
10492,
1435,
397,
9247,
397,
333,
18,
1282,
3943,
397,
9247,
397,
333,
18,
1282,
461,
10792,
397,
2030,
11129,
10462,
67,
4142,
31,
3639,
289,
3639,
1387,
15026,
273,
394,
1387,
12,
3299,
18,
10492,
7675,
28023,
12,
20,
16,
7734,
1018,
18,
10492,
7675,
2722,
31985,
12,
812,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14015,
2211,
18,
1282,
3943,
422,
446,
13,
747,
261,
3660,
18,
14963,
12,
2211,
18,
1282,
3943,
20349,
3639,
288,
5411,
1018,
273,
2332,
18,
588,
1396,
2932,
1355,
18,
8712,
7923,
397,
9247,
397,
315,
27583,
6,
397,
9247,
397,
333,
18,
1282,
461,
10792,
397,
2030,
11129,
10462,
67,
4142,
31,
3639,
289,
3639,
469,
3639,
288,
5411,
1387,
13995,
23210,
273,
394,
1387,
12,
3163,
18,
588,
1396,
2932,
1355,
18,
8712,
7923,
1769,
5411,
1387,
417,
323,
8684,
273,
2
] |
"/* \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" + " 1 invokespecial #9 <Constructor java.lang.Object()>\n" + " 4 return\n" + "\n" + " Line number attribute:\n" + " [pc: 0, line: 1]\n" + " Local variable table attribute:\n" + " [pc: 0, pc: 5] local: this index: 0 type: A\n" + " \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 1.2) \n" + " * - magic: CAFEBABE\n" + " * - minor: 0\n" + " * - major: 46\n" + " */\n" + "// Compiled from A.java\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" + " 1 invokespecial #9 <Constructor java.lang.Object()>\n" + " 4 return\n" + "\n" + " Line number attribute:\n" + " [pc: 0, line: 1]\n" + " Local variable table attribute:\n" + " [pc: 0, pc: 5] local: this index: 0 type: A\n" + " \n" + " /* Method descriptor #15 ([Ljava/lang/String;)V */\n" + " public static void main(String[] args);\n" + " /* Stack: 1, Locals: 2 */\n" + " Code attribute:\n" + " 0 iconst_0\n" + " 1 istore_1\n" + " 2 iload_1\n" + " 3 ifne 12\n" + " 6 getstatic #21 <Field java.lang.System#out java.io.PrintStream>\n" + " 9 invokevirtual #26 <Method java.io.PrintStream#println() void>\n" + " 12 return\n" + "\n" + " Line number attribute:\n" + " [pc: 0, line: 3]\n" + " [pc: 2, line: 5]\n" + " [pc: 6, line: 6]\n" + " [pc: 12, line: 8]\n" + " Local variable table attribute:\n" + " [pc: 0, pc: 13] local: args index: 0 type: java/lang/String[]\n" + " [pc: 2, pc: 13] local: b index: 1 type: boolean\n" + " \n" + "}"; checkClassFile("A", source, expectedOutput); } | 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,
18890,
82,
6,
397,
1082,
202,
6,
202,
202,
6494,
324,
273,
629,
9747,
82,
6,
397,
1082,
202,
6,
202,
202,
430,
261,
3767,
64,
82,
6,
397,
1082,
202,
6,
1082,
282,
597,
401,
70,
13,
288,
565,
202,
64,
82,
6,
397,
1082,
202,
6,
1082,
565,
202,
3163,
18,
659,
18,
8222,
5621,
64,
82,
6,
397,
1082,
202,
6,
1082,
282,
289,
64,
82,
6,
397,
1082,
202,
6,
202,
6280,
82,
6,
397,
1082,
202,
6,
1532,
31,
202,
202,
780,
2665,
1447,
273,
1875,
202,
6,
20308,
521,
82,
6,
397,
1875,
202,
6,
380,
4049,
261,
3299,
404,
18,
22,
13,
521,
82,
6,
397,
1875,
202,
6,
380,
300,
8146,
30,
6425,
8090,
38,
2090,
41,
64,
82,
6,
397,
1875,
202,
6,
380,
300,
8439,
30,
374,
64,
82,
6,
397,
1875,
202,
6,
380,
300,
7888,
30,
17077,
64,
82,
6,
397,
1875,
202,
6,
1195,
64,
82,
6,
397,
1875,
202,
6,
759,
25854,
628,
432,
18,
6290,
64,
82,
6,
397,
1875,
202,
6,
482,
667,
432,
3231,
2252,
18,
4936,
18,
921,
18890,
82,
6,
397,
1875,
202,
6,
225,
521,
82,
6,
397,
1875,
202,
6,
225,
1748,
225,
2985,
4950,
225,
468,
26,
1832,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
18890,
82,
6,
397,
1082,
202,
6,
202,
202,
6494,
324,
273,
629,
9747,
82,
6,
397,
1082,
202,
6,
202,
202,
430,
261,
3767,
64,
82,
6,
397,
1082,
202,
6,
1082,
282,
597,
401,
70,
13,
288,
565,
202,
64,
82,
6,
397,
1082,
202,
6,
1082,
565,
202,
3163,
18,
659,
18,
8222,
5621,
64,
82,
6,
397,
1082,
202,
6,
1082,
282,
289,
64,
82,
6,
397,
1082,
202,
6,
202,
6280,
82,
6,
397,
1082,
202,
6,
2
] |
|
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.getDayOfWeek(stamp.getYear(),stamp.getMonth(),1);// int dayOfMonth = cal.getDay(); int row = 1; int column = firstWeekDayOfMonth; int n = 1; Table table = new Table(); table.setCellpadding(0); table.setCellspacing(0); Table topTable = new Table(); topTable.setCellpadding(0); topTable.setCellspacing(0); topTable.setWidth(Table.HUNDRED_PERCENT); Table backTable = new Table(); backTable.setColor("#cccccc"); backTable.setCellspacing(1); backTable.setCellpadding(0); backTable.setWidth(Table.HUNDRED_PERCENT);//700 backTable.setHeight(270); /* backTable.mergeCells(1,1,7,1); backTable.add(headTable,1,1);*/ int weekday = 1; for(int i=1; i<weekdays; i++) { weekday = i % 7; if (weekday == 0) { weekday = 7; } nameOfDay = new Text(this.cal.getDayName(weekday, iwc.getCurrentLocale(), IWCalendar.SHORT).toString().toLowerCase()); nameOfDay.setBold(); Table nameOfDayTable = new Table(); nameOfDayTable.setCellspacing(0); nameOfDayTable.setCellpadding(0); nameOfDayTable.setWidth(Table.HUNDRED_PERCENT); nameOfDayTable.setHeight(Table.HUNDRED_PERCENT); nameOfDayTable.setColor("#f8f8f8"); nameOfDayTable.setStyleAttribute("border-top: 1px solid #cccccc"); nameOfDayTable.setAlignment(1,1,Table.HORIZONTAL_ALIGN_CENTER); nameOfDayTable.setVerticalAlignment(1,1,Table.VERTICAL_ALIGN_BOTTOM); nameOfDayTable.add(nameOfDay,1,1); topTable.setHeight(i,1,"30"); topTable.setHeight(i,2,"5"); topTable.add(nameOfDayTable,i,1);// backTable.setWidth(i,2,"200"); } User user = null; Integer userID = null; if(iwc.isLoggedOn()) { user = iwc.getCurrentUser(); userID = (Integer) user.getPrimaryKey(); } else { userID = new Integer(-2); } Collection viewGroups = null; if(user != null) { try { viewGroups = getUserBusiness(iwc).getUserGroups(user); }catch(Exception e) { e.printStackTrace(); } } while (n <= daycount) { Table dayCell = new Table(); dayCell.setCellspacing(0); dayCell.setCellpadding(0); dayCell.setWidth(Table.HUNDRED_PERCENT); dayCell.setHeight(Table.HUNDRED_PERCENT); dayCell.setVerticalAlignment(1,1,Table.VERTICAL_ALIGN_TOP); t = new Text(String.valueOf(n)); int cellRow = 2; backTable.setWidth(column,row,"100"); backTable.setHeight(column,row,"95"); if(n == this.now.getDay()) { dayCell.setColor("#e9e9e9"); } else { dayCell.setColor("#ffffff"); } Link dayLink = new Link(t); dayLink.setStyleClass(this.styledLink); dayLink.addParameter(CalendarParameters.PARAMETER_VIEW,CalendarParameters.DAY); dayLink.addParameter(CalendarParameters.PARAMETER_YEAR, stamp.getYear()); dayLink.addParameter(CalendarParameters.PARAMETER_MONTH, stamp.getMonth()); dayLink.addParameter(CalendarParameters.PARAMETER_DAY, n); if(this.groupID != -2) { dayLink.addParameter(PARAMETER_ISI_GROUP_ID,this.groupID); } dayCell.add(dayLink,1,1); dayCell.setHeight(1,1,12); dayCell.add(Text.BREAK,1,1); dayCell.setAlignment(1,1,Table.HORIZONTAL_ALIGN_RIGHT); Timestamp fromStamp = Timestamp.valueOf(stamp.getDateString("yyyy-MM-dd hh:mm:ss.S")); fromStamp.setDate(n); fromStamp.setHours(0); fromStamp.setMinutes(0); fromStamp.setNanos(0); Timestamp toStamp = Timestamp.valueOf(stamp.getDateString("yyyy-MM-dd hh:mm:ss.S")); toStamp.setDate(n); toStamp.setHours(23); toStamp.setMinutes(59); toStamp.setNanos(0); List listOfEntries = (List) getCalBusiness(iwc).getEntriesBetweenTimestamps(fromStamp,toStamp); Collections.sort(listOfEntries,new Comparator() { public int compare(Object arg0, Object arg1) { return ((CalendarEntry) arg0).getDate().compareTo(((CalendarEntry) arg1).getDate()); } }); for(int h=0; h<listOfEntries.size(); h++) { CalendarEntry entry = (CalendarEntry) listOfEntries.get(h); CalendarLedger ledger = null; int groupIDInLedger = 0; int coachGroupIDInLedger = 0; boolean isInGroup = false; if(entry.getLedgerID() != -1) { ledger = getCalBusiness(iwc).getLedger(entry.getLedgerID()); if(ledger != null) { groupIDInLedger = ledger.getGroupID(); coachGroupIDInLedger = ledger.getCoachGroupID(); } } else { groupIDInLedger = -1; coachGroupIDInLedger = -1; } if(viewGroups != null) { Iterator viewGroupsIter = viewGroups.iterator(); //goes through the groups the user may view and prints out the entry if //the group connected to the entry is the same as the group the user may view while(viewGroupsIter.hasNext()) { Group group =(Group) viewGroupsIter.next(); Integer groupID = (Integer) group.getPrimaryKey(); if(entry.getGroupID() == groupID.intValue() || groupIDInLedger == groupID.intValue()){ isInGroup = true; } } } if(groupIDInLedger == getViewGroupID()) { isInGroup = true; } if(coachGroupIDInLedger == getViewGroupID()) { isInGroup = true; } if(isInGroup || iwc.isSuperAdmin() || getViewGroupID() == entry.getGroupID() || (userID!=null && userID.intValue() == entry.getUserID())) { String headline = getEntryHeadline(entry); Link headlineLink = new Link(headline); headlineLink.addParameter(ACTION,OPEN); headlineLink.addParameter(CalendarParameters.PARAMETER_VIEW,this.view); headlineLink.addParameter(CalendarParameters.PARAMETER_YEAR, stamp.getYear()); headlineLink.addParameter(CalendarParameters.PARAMETER_MONTH, stamp.getMonth()); headlineLink.addParameter(CalendarParameters.PARAMETER_DAY, stamp.getDay()); headlineLink.addParameter(CalendarEntryCreator.entryIDParameterName, entry.getPrimaryKey().toString()); if(!iwc.getAccessController().hasRole("cal_view_entry_creator",iwc) || this.isPrintable) { headlineLink.setWindowToOpen(EntryInfoWindow.class); } headlineLink.setStyleClass(this.entryLink); String e = iwc.getParameter(CalendarEntryCreator.entryIDParameterName); CalendarEntry ent = null; if(e == null || e.equals("")) { e = ""; } else { try { ent = getCalBusiness(iwc).getEntry(Integer.parseInt(e)); }catch(Exception ex) { ent = null; } } if(ent != null) { if(ent.getPrimaryKey().equals(entry.getPrimaryKey())) { headlineLink.setStyleClass(this.entryLinkActive); } } dayCell.add(headlineLink,1,cellRow); dayCell.setVerticalAlignment(1,cellRow,"top"); dayCell.add("<br>",1,cellRow++); } } backTable.add(dayCell,column,row); backTable.setColor(column,row,"#ffffff"); backTable.add(Text.NON_BREAKING_SPACE,column,row); backTable.setVerticalAlignment(column,row,"top"); column = column % 7 + 1; if (column == 1) { row++; } n++; } table.add(topTable,1,1); table.add(backTable,1,2); return table; } | 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,
771,
273,
394,
467,
59,
7335,
5621,
9506,
202,
1528,
508,
17263,
273,
394,
3867,
5621,
202,
202,
1528,
268,
273,
394,
3867,
5621,
202,
202,
474,
7560,
87,
273,
1725,
31,
202,
202,
474,
2548,
1883,
273,
333,
18,
771,
18,
588,
1782,
14941,
12,
14317,
18,
588,
5445,
9334,
14317,
18,
588,
5593,
10663,
202,
202,
474,
1122,
6630,
4245,
14941,
273,
333,
18,
771,
18,
588,
23944,
12,
14317,
18,
588,
5593,
9334,
14317,
18,
588,
5445,
9334,
21,
1769,
759,
202,
202,
474,
25371,
273,
1443,
18,
588,
4245,
5621,
202,
202,
474,
1027,
273,
404,
31,
202,
202,
474,
1057,
273,
1122,
6630,
4245,
14941,
31,
202,
202,
474,
290,
273,
404,
31,
9506,
202,
1388,
1014,
273,
394,
3555,
5621,
202,
202,
2121,
18,
542,
4020,
9598,
12,
20,
1769,
202,
202,
2121,
18,
542,
4020,
14080,
12,
20,
1769,
9506,
202,
1388,
1760,
1388,
273,
394,
3555,
5621,
202,
202,
3669,
1388,
18,
542,
4020,
9598,
12,
20,
1769,
202,
202,
3669,
1388,
18,
542,
4020,
14080,
12,
20,
1769,
202,
202,
3669,
1388,
18,
542,
2384,
12,
1388,
18,
44,
5240,
5879,
67,
3194,
19666,
1769,
9506,
202,
1388,
1473,
1388,
273,
394,
3555,
5621,
202,
202,
823,
1388,
18,
542,
2957,
2932,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
771,
273,
394,
467,
59,
7335,
5621,
9506,
202,
1528,
508,
17263,
273,
394,
3867,
5621,
202,
202,
1528,
268,
273,
394,
3867,
5621,
202,
202,
474,
7560,
87,
273,
1725,
31,
202,
202,
474,
2548,
1883,
273,
333,
18,
771,
18,
588,
1782,
14941,
12,
14317,
18,
588,
5445,
9334,
14317,
18,
588,
5593,
10663,
202,
202,
474,
1122,
6630,
4245,
14941,
273,
333,
18,
771,
18,
588,
23944,
12,
14317,
18,
588,
5593,
9334,
14317,
18,
588,
5445,
9334,
21,
1769,
2
] |
||
private void saveToFile () { File file = null; // ---------------------------------------------------- // open a file chooser dialog to get a path / file name // ---------------------------------------------------- JFileChooser fileDialog = new JFileChooser (idata.getInstallPath ()); fileDialog.setSelectedFile (new File (TEXT_FILE_NAME)); if(fileDialog.showSaveDialog (this) == JFileChooser.APPROVE_OPTION) { file = fileDialog.getSelectedFile (); } else { return; } // ---------------------------------------------------- // save to the file // ---------------------------------------------------- FileWriter output = null; StringBuffer buffer = new StringBuffer (); String header = parent.langpack.getString ("ShortcutPanel.textFile.header"); String newline = System.getProperty ("line.separator", "\n"); try { output = new FileWriter (file); } catch (Throwable exception) { // !!! show an error dialog return; } // ---------------------------------------------------- // break the header down into multiple lines based // on '\n' line breaks. // ---------------------------------------------------- int nextIndex = 0; int currentIndex = 0; do { nextIndex = header.indexOf ("\\n", currentIndex); if (nextIndex > -1) { buffer.append (header.substring (currentIndex, nextIndex)); buffer.append (newline); currentIndex = nextIndex + 2; } else { buffer.append (header.substring (currentIndex, header.length ())); buffer.append (newline); } } while (nextIndex > -1); buffer.append (SEPARATOR_LINE); buffer.append (newline); buffer.append (newline); for (int i = 0; i < shortcuts.size (); i++) { ShortcutData data = (ShortcutData)shortcuts.elementAt (i); buffer.append (parent.langpack.getString ("ShortcutPanel.textFile.name")); buffer.append (data.name); buffer.append (newline); buffer.append (parent.langpack.getString ("ShortcutPanel.textFile.location")); switch (data.type) { case Shortcut.DESKTOP : { buffer.append (parent.langpack.getString ("ShortcutPanel.location.desktop")); break; } case Shortcut.APPLICATIONS : { buffer.append (parent.langpack.getString ("ShortcutPanel.location.applications")); break; } case Shortcut.START_MENU : { buffer.append (parent.langpack.getString ("ShortcutPanel.location.startMenu")); break; } case Shortcut.START_UP : { buffer.append (parent.langpack.getString ("ShortcutPanel.location.startup")); break; } } buffer.append (newline); buffer.append (parent.langpack.getString ("ShortcutPanel.textFile.description")); buffer.append (data.description); buffer.append (newline); buffer.append (parent.langpack.getString ("ShortcutPanel.textFile.target")); buffer.append (data.target); buffer.append (newline); buffer.append (parent.langpack.getString ("ShortcutPanel.textFile.command")); buffer.append (data.commandLine); buffer.append (newline); buffer.append (parent.langpack.getString ("ShortcutPanel.textFile.iconName")); buffer.append (data.iconFile); buffer.append (newline); buffer.append (parent.langpack.getString ("ShortcutPanel.textFile.iconIndex")); buffer.append (data.iconIndex); buffer.append (newline); buffer.append (parent.langpack.getString ("ShortcutPanel.textFile.work")); buffer.append (data.workingDirectory); buffer.append (newline); buffer.append (newline); buffer.append (SEPARATOR_LINE); buffer.append (newline); buffer.append (newline); } try { output.write (buffer.toString ()); } catch (Throwable exception) { } finally { try { output.flush (); output.close (); files.add (file.getPath ()); } catch (Throwable exception) { // not really anything I can do here, maybe should show a dialog that // tells the user that data might not have been saved completely!? } } } | 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,
13420,
6062,
565,
804,
812,
17324,
585,
6353,
273,
394,
804,
812,
17324,
261,
350,
396,
18,
588,
6410,
743,
1832,
1769,
565,
585,
6353,
18,
542,
7416,
812,
261,
2704,
1387,
261,
5151,
67,
3776,
67,
1985,
10019,
565,
309,
12,
768,
6353,
18,
4500,
4755,
6353,
261,
2211,
13,
422,
804,
812,
17324,
18,
2203,
3373,
3412,
67,
7425,
13,
565,
288,
1377,
585,
273,
585,
6353,
18,
588,
7416,
812,
261,
1769,
565,
289,
565,
469,
565,
288,
1377,
327,
31,
565,
289,
3639,
368,
13420,
6062,
565,
368,
1923,
358,
326,
585,
565,
368,
13420,
6062,
565,
24639,
1377,
876,
225,
273,
446,
31,
565,
6674,
565,
1613,
225,
273,
394,
6674,
261,
1769,
565,
514,
1850,
1446,
225,
273,
982,
18,
4936,
2920,
18,
588,
780,
7566,
15576,
5537,
18,
955,
812,
18,
3374,
8863,
565,
514,
9472,
273,
2332,
18,
588,
1396,
7566,
1369,
18,
11287,
3113,
1548,
82,
8863,
565,
775,
565,
288,
1377,
876,
273,
394,
24639,
261,
768,
1769,
1850,
289,
565,
1044,
261,
15155,
1520,
13,
565,
288,
1377,
368,
401,
8548,
2405,
392,
555,
6176,
1377,
327,
31,
565,
289,
565,
368,
13420,
6062,
565,
368,
898,
326,
1446,
2588,
1368,
3229,
2362,
2511,
565,
368,
603,
2337,
82,
11,
980,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13420,
6062,
565,
804,
812,
17324,
585,
6353,
273,
394,
804,
812,
17324,
261,
350,
396,
18,
588,
6410,
743,
1832,
1769,
565,
585,
6353,
18,
542,
7416,
812,
261,
2704,
1387,
261,
5151,
67,
3776,
67,
1985,
10019,
565,
309,
12,
768,
6353,
18,
4500,
4755,
6353,
261,
2211,
13,
422,
804,
812,
17324,
18,
2203,
3373,
3412,
67,
7425,
13,
565,
288,
1377,
585,
273,
585,
6353,
18,
588,
7416,
812,
261,
1769,
565,
289,
565,
469,
565,
288,
1377,
327,
31,
2
] |
||
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,
2261,
18,
9931,
67,
4883,
67,
10976,
972,
4051,
294,
9506,
202,
2463,
13532,
620,
12,
11272,
202,
202,
97,
202,
202,
2463,
425,
9791,
15737,
12,
425,
4595,
11272,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
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,
2261,
18,
9931,
67,
4883,
67,
10976,
972,
4051,
294,
9506,
202,
2463,
13532,
620,
12,
11272,
202,
202,
97,
202,
202,
2463,
425,
9791,
15737,
12,
425,
4595,
11272,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
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(" expandedSystemId: "+identifier.getExpandedSystemId()); System.out.println(" baseURI:"+ identifier.getBaseSystemId()); } } fBaseURIStack.push(identifier.getBaseSystemId()); fInDTDExternalSubset = true; } // startExternalSubset(Augmentations) | 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,
18,
659,
18,
8222,
2932,
631,
34,
1937,
6841,
20315,
8863,
5411,
309,
261,
9394,
67,
8369,
3098,
13,
288,
18701,
2332,
18,
659,
18,
8222,
2932,
282,
8406,
3163,
548,
30,
13773,
5644,
18,
588,
17957,
3163,
548,
10663,
7734,
2332,
18,
659,
18,
8222,
2932,
282,
1026,
3098,
2773,
15,
2756,
18,
588,
2171,
3163,
548,
10663,
5411,
289,
3639,
289,
3639,
284,
2171,
3098,
2624,
18,
6206,
261,
5644,
18,
588,
2171,
3163,
548,
1832,
1769,
3639,
284,
382,
25728,
6841,
20315,
273,
638,
31,
565,
289,
368,
787,
6841,
20315,
12,
37,
14870,
1012,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
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,
18,
659,
18,
8222,
2932,
631,
34,
1937,
6841,
20315,
8863,
5411,
309,
261,
9394,
67,
8369,
3098,
13,
288,
18701,
2332,
18,
659,
18,
8222,
2932,
282,
8406,
3163,
548,
30,
13773,
5644,
18,
588,
17957,
3163,
548,
10663,
7734,
2332,
18,
659,
18,
8222,
2932,
282,
1026,
3098,
2773,
15,
2756,
18,
588,
2171,
3163,
548,
10663,
5411,
289,
3639,
289,
3639,
284,
2171,
3098,
2624,
18,
6206,
261,
5644,
18,
588,
2171,
3163,
548,
1832,
1769,
3639,
284,
382,
25728,
6841,
2
] |
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(), String.class)); } catch (NullAttributeException ex) { setForward(null); } try { setHref((String) evalAttr("href", getHref(), String.class)); } catch (NullAttributeException ex) { setHref(null); } try { setName((String) evalAttr("name", getName(), String.class)); } catch (NullAttributeException ex) { setName(null); } try { setPage((String) evalAttr("page", getPage(), String.class)); } catch (NullAttributeException ex) { setPage(null); } try { setParamName((String) evalAttr("paramName", getParamName(), String.class)); } catch (NullAttributeException ex) { setParamName(null); } try { setParamProperty((String) evalAttr("paramProperty", getParamProperty(), String.class)); } catch (NullAttributeException ex) { setParamProperty(null); } try { setParamScope((String) evalAttr("paramScope", getParamScope(), String.class)); } catch (NullAttributeException ex) { setParamScope(null); } try { setProperty((String) evalAttr("property", getProperty(), String.class)); } catch (NullAttributeException ex) { setProperty(null); } try { setScope((String) evalAttr("scope", getScope(), String.class)); } catch (NullAttributeException ex) { setScope(null); } try { setTransaction(((Boolean) evalAttr("transaction", getTransactionExpr(), Boolean.class)). booleanValue()); } catch (NullAttributeException ex) { setTransaction(false); } } | 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,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
11605,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
444,
8514,
12443,
780,
13,
5302,
3843,
2932,
11565,
3113,
336,
8514,
9334,
29159,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
8514,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
444,
15962,
12443,
780,
13,
5302,
3843,
2932,
7547,
3113,
7628,
1734,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
15962,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
6788,
12443,
780,
13,
5302,
3843,
2932,
529,
3113,
1723,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
6788,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
18663,
12443,
780,
13,
5302,
3843,
2932,
2433,
3113,
8957,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
18663,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
22911,
461,
12443,
780,
13,
5302,
3843,
2932,
891,
461,
3113,
9027,
461,
9334,
4766,
6647,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
22911,
461,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
22911,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
11605,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
444,
8514,
12443,
780,
13,
5302,
3843,
2932,
11565,
3113,
336,
8514,
9334,
29159,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
288,
5411,
444,
8514,
12,
2011,
1769,
3639,
289,
3639,
775,
288,
5411,
444,
15962,
12443,
780,
13,
5302,
3843,
2932,
7547,
3113,
7628,
1734,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
1499,
503,
431,
13,
2
] |
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,
87,
651,
19,
4738,
19,
4149,
1706,
17,
4176,
6,
3719,
1082,
202,
2463,
5275,
1706,
1503,
31,
202,
202,
12849,
394,
10168,
1248,
5650,
9367,
503,
12,
529,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
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,
87,
651,
19,
4738,
19,
4149,
1706,
17,
4176,
6,
3719,
1082,
202,
2463,
5275,
1706,
1503,
31,
202,
202,
12849,
394,
10168,
1248,
5650,
9367,
503,
12,
529,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100
] |
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(rowId); section.setQuestions(quests); session.setAttribute("currentSection", section); } | 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,
1499,
2932,
2972,
5285,
8863,
202,
202,
474,
26798,
273,
2144,
18,
2670,
1702,
12,
2293,
18,
588,
1662,
2932,
492,
7923,
1769,
202,
202,
492,
548,
413,
31,
9506,
202,
682,
32,
11665,
34,
225,
456,
87,
273,
2442,
18,
588,
30791,
1115,
5621,
202,
202,
456,
87,
18,
4479,
12,
492,
548,
1769,
9506,
202,
3464,
18,
542,
30791,
1115,
12,
456,
87,
1769,
202,
202,
3184,
18,
542,
1499,
2932,
2972,
5285,
3113,
2442,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
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,
1499,
2932,
2972,
5285,
8863,
202,
202,
474,
26798,
273,
2144,
18,
2670,
1702,
12,
2293,
18,
588,
1662,
2932,
492,
7923,
1769,
202,
202,
492,
548,
413,
31,
9506,
202,
682,
32,
11665,
34,
225,
456,
87,
273,
2442,
18,
588,
30791,
1115,
5621,
202,
202,
456,
87,
18,
4479,
12,
492,
548,
1769,
9506,
202,
3464,
18,
542,
30791,
1115,
12,
456,
87,
1769,
202,
202,
3184,
18,
542,
1499,
2932,
2972,
5285,
3113,
2442,
1769,
202,
97,
2,
-100,
-100,
-100,
-100
] |
||
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_KEY + "=" + path; String projectClassPaths = finder.getClassPath( configuration .getAttribute( IMPORTPROJECTNAMES, "" ) ); String classPath = ""; // String sourcePath = ""; if ( projectClassPaths != null && projectClassPaths.length( ) != 0 ) { classPath = "-D" + PROJECT_CLASSPATH_KEY + "=" + projectClassPaths; } if ( temp == null ) { temp = ( new String[] { append, classPath } ); } else { List list = new ArrayList( ); int size = temp.length; for ( int i = 0; i < size; i++ ) list.add( temp[i] ); list.add( append ); list.add( classPath ); temp = ( String[] ) list.toArray( temp ); } return temp; } | 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,
12,
9506,
202,
6,
3489,
1968,
3113,
1408,
262,
16,
1408,
262,
262,
18,
588,
7397,
4628,
1076,
12,
11272,
202,
202,
780,
589,
273,
1664,
18,
588,
1499,
12,
21840,
17147,
16,
1408,
11272,
202,
202,
780,
714,
273,
3701,
40,
6,
397,
22489,
67,
16257,
67,
3297,
397,
9671,
397,
589,
31,
202,
202,
780,
1984,
797,
4466,
273,
7532,
18,
588,
22158,
12,
1664,
9506,
202,
18,
588,
1499,
12,
21840,
17147,
16257,
16,
1408,
262,
11272,
202,
202,
780,
22503,
273,
1408,
31,
202,
202,
759,
514,
17744,
273,
1408,
31,
202,
202,
430,
261,
1984,
797,
4466,
480,
446,
597,
1984,
797,
4466,
18,
2469,
12,
262,
480,
374,
262,
202,
202,
95,
1082,
202,
1106,
743,
273,
3701,
40,
6,
397,
22489,
67,
5237,
4211,
67,
3297,
397,
9671,
397,
1984,
797,
4466,
31,
202,
202,
97,
202,
202,
430,
261,
1906,
422,
446,
262,
202,
202,
95,
1082,
202,
5814,
273,
261,
394,
514,
8526,
288,
714,
16,
22503,
289,
11272,
202,
202,
97,
469,
202,
202,
95,
1082,
202,
682,
666,
273,
394,
2407,
12,
11272,
1082,
202,
474,
963,
273,
1906,
18,
2469,
31,
1082,
202,
1884,
261,
509,
277,
273,
374,
31,
277,
411,
963,
31,
277,
9904,
262,
9506,
202,
1098,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12,
9506,
202,
6,
3489,
1968,
3113,
1408,
262,
16,
1408,
262,
262,
18,
588,
7397,
4628,
1076,
12,
11272,
202,
202,
780,
589,
273,
1664,
18,
588,
1499,
12,
21840,
17147,
16,
1408,
11272,
202,
202,
780,
714,
273,
3701,
40,
6,
397,
22489,
67,
16257,
67,
3297,
397,
9671,
397,
589,
31,
202,
202,
780,
1984,
797,
4466,
273,
7532,
18,
588,
22158,
12,
1664,
9506,
202,
18,
588,
1499,
12,
21840,
17147,
16257,
16,
1408,
262,
11272,
202,
202,
780,
22503,
2
] |
Subsets and Splits