rem stringlengths 1 226k | add stringlengths 0 227k | context stringlengths 6 326k | meta stringlengths 143 403 | input_ids listlengths 256 256 | attention_mask listlengths 256 256 | labels listlengths 128 128 |
|---|---|---|---|---|---|---|
if (_context.routerHash().equals(instructions.getRouter())) { | if (getContext().routerHash().equals(instructions.getRouter())) { | private void honorInstructions(DeliveryInstructions instructions, I2NPMessage body) { _context.statManager().addRateData("tunnel.endpointMessageSize", _message.getData().length, 0); switch (instructions.getDeliveryMode()) { case DeliveryInstructions.DELIVERY_MODE_LOCAL: sendT... | 45677 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45677/e737e5c9507ed0d463dc9e45a8f63657f466b177/HandleTunnelMessageJob.java/clean/router/java/src/net/i2p/router/message/HandleTunnelMessageJob.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
24338,
280,
26712,
12,
8909,
26712,
12509,
16,
467,
22,
23430,
1079,
1417,
13,
288,
3639,
389,
2472,
18,
5642,
1318,
7675,
1289,
4727,
751,
2932,
19878,
18,
8003,
1079,
1225,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
24338,
280,
26712,
12,
8909,
26712,
12509,
16,
467,
22,
23430,
1079,
1417,
13,
288,
3639,
389,
2472,
18,
5642,
1318,
7675,
1289,
4727,
751,
2932,
19878,
18,
8003,
1079,
1225,
3... |
RubyVarmap vars = ruby.getInterpreter().getDynamicVars(); | RubyVarmap vars = ruby.getDynamicVars(); | private RubyVarmap dyna_push() { RubyVarmap vars = ruby.getInterpreter().getDynamicVars(); rb_dvar_push(null, null); lvtbl.dlev++; return vars; } | 46454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46454/a2024bddc1b8e83f4e8075d2080935c221a833fe/parse.java/buggy/org/jruby/parser/parse.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
19817,
1537,
1458,
19417,
69,
67,
6206,
1435,
288,
202,
54,
10340,
1537,
1458,
4153,
273,
22155,
18,
588,
30010,
7675,
588,
9791,
5555,
5621,
202,
6731,
67,
72,
1401,
67,
6206,
12,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
19817,
1537,
1458,
19417,
69,
67,
6206,
1435,
288,
202,
54,
10340,
1537,
1458,
4153,
273,
22155,
18,
588,
30010,
7675,
588,
9791,
5555,
5621,
202,
6731,
67,
72,
1401,
67,
6206,
12,
... |
throws IOException { for (int k = 0; k < refSearchPaths.length; k++) { final Ref r = readRefBasic(refSearchPaths[k] + revstr); if (missingOk || r.getObjectId() != null) { return r; } } return null; | throws IOException { for (int k = 0; k < refSearchPaths.length; k++) { final Ref r = readRefBasic(refSearchPaths[k] + revstr); if (missingOk || r.getObjectId() != null) { return r; } } return null; | private Ref readRef(final String revstr, final boolean missingOk) throws IOException { for (int k = 0; k < refSearchPaths.length; k++) { final Ref r = readRefBasic(refSearchPaths[k] + revstr); if (missingOk || r.getObjectId() != null) { return ... | 45532 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45532/a4e486719ce78b8050373e6534dfaf4a1572b269/Repository.java/clean/org.spearce.jgit/src/org/spearce/jgit/lib/Repository.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
3941,
855,
1957,
12,
6385,
514,
5588,
701,
16,
727,
1250,
3315,
8809,
13,
3639,
1216,
1860,
565,
288,
3639,
364,
261,
474,
417,
273,
374,
31,
417,
411,
1278,
2979,
4466,
18,
2469,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
3941,
855,
1957,
12,
6385,
514,
5588,
701,
16,
727,
1250,
3315,
8809,
13,
3639,
1216,
1860,
565,
288,
3639,
364,
261,
474,
417,
273,
374,
31,
417,
411,
1278,
2979,
4466,
18,
2469,... |
public boolean isSet(org.quickfix.field.NestedPartyID field) | public boolean isSet(quickfix.field.NestedPartyID field) | public boolean isSet(org.quickfix.field.NestedPartyID field) { return isSetField(field); } | 8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/NewOrderSingle.java/clean/src/java/src/quickfix/fix44/NewOrderSingle.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
13532,
12,
19525,
904,
18,
1518,
18,
8649,
17619,
734,
652,
13,
225,
288,
327,
13532,
974,
12,
1518,
1769,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
13532,
12,
19525,
904,
18,
1518,
18,
8649,
17619,
734,
652,
13,
225,
288,
327,
13532,
974,
12,
1518,
1769,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
public boolean intersects(Rectangle r) { return width > 0 && height > 0 && r.width > 0 && r.height > 0 && r.x < x + width && r.x + r.width > x && r.y < y + height && r.y + r.height > y; | public boolean intersects(Rectangle r) { return width > 0 && height > 0 && r.width > 0 && r.height > 0 && r.x < x + width && r.x + r.width > x && r.y < y + height && r.y + r.height > y; | public boolean intersects(Rectangle r) { return width > 0 && height > 0 && r.width > 0 && r.height > 0 && r.x < x + width && r.x + r.width > x && r.y < y + height && r.y + r.height > y; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/Rectangle.java/buggy/core/src/classpath/java/java/awt/Rectangle.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
19791,
12,
19463,
436,
13,
288,
202,
202,
2463,
1835,
405,
374,
597,
2072,
405,
374,
597,
436,
18,
2819,
405,
374,
597,
436,
18,
4210,
405,
374,
597,
436,
18,
92,
411,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
19791,
12,
19463,
436,
13,
288,
202,
202,
2463,
1835,
405,
374,
597,
2072,
405,
374,
597,
436,
18,
2819,
405,
374,
597,
436,
18,
4210,
405,
374,
597,
436,
18,
92,
411,... |
scfilters.updateDbScore((UTF8)key, result, linked); | scfilters.updateDbScore((UTF8)key, old, result, linked); | public void reduce(WritableComparable key, Iterator values, OutputCollector output, Reporter reporter) throws IOException { CrawlDatum highest = null; CrawlDatum old = null; byte[] signature = null; linked.clear(); while (values.hasNext()) { CrawlDatum datum = (CrawlDatum)va... | 50818 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50818/d3f42a810fce0afd0a96cb334c31272530e1dc3c/CrawlDbReducer.java/clean/src/java/org/apache/nutch/crawl/CrawlDbReducer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
5459,
12,
12061,
799,
10207,
498,
16,
4498,
924,
16,
5397,
3633,
7134,
876,
16,
25585,
11528,
13,
565,
1216,
1860,
288,
565,
385,
15161,
18268,
9742,
273,
446,
31,
565,
385,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5459,
12,
12061,
799,
10207,
498,
16,
4498,
924,
16,
5397,
3633,
7134,
876,
16,
25585,
11528,
13,
565,
1216,
1860,
288,
565,
385,
15161,
18268,
9742,
273,
446,
31,
565,
385,
... |
children.put("", allSerializedVetoableChangeListeners); | children.put("", allSerializedVetoableChangeListeners); | private void writeObject(ObjectOutputStream oos) throws IOException { List<VetoableChangeListener> allSerializedVetoableChangeListeners = new ArrayList<VetoableChangeListener>(); for (VetoableChangeListener vcl : allVetoableChangeListeners) { if (vcl instanceof Serializable) { ... | 54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/fbebe792ba7d15ca09ee75a1c409e3a37b2da0db/VetoableChangeSupport.java/clean/modules/beans/src/main/java/java/beans/VetoableChangeSupport.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
16306,
12,
921,
4632,
24956,
13,
1216,
1860,
288,
3639,
987,
32,
58,
11453,
429,
15744,
34,
777,
15134,
58,
11453,
429,
3043,
5583,
273,
394,
2407,
32,
58,
11453,
429,
15744,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
16306,
12,
921,
4632,
24956,
13,
1216,
1860,
288,
3639,
987,
32,
58,
11453,
429,
15744,
34,
777,
15134,
58,
11453,
429,
3043,
5583,
273,
394,
2407,
32,
58,
11453,
429,
15744,
... |
specRef = descSpecification.getSpecificationReference(); | String[] tmp = descSpecification.getSpecificationReference().split(":"); specRef = tmp[2]; | public String getDictionaryType(String identifier) { Entry[] dictEntries = dictDB.getDictionaryEntry("descriptor-algorithms"); String specRef = null; // see if we got a descriptors java class name for (int i = 0; i < classNames.size(); i++) { String className = (String) classN... | 45254 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45254/90380ea944ebec04e11a1f3fdf790dfa621c90fd/DescriptorEngine.java/buggy/src/org/openscience/cdk/qsar/DescriptorEngine.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
2343,
3192,
559,
12,
780,
2756,
13,
288,
3639,
3841,
8526,
2065,
5400,
273,
2065,
2290,
18,
588,
10905,
1622,
2932,
12628,
17,
287,
13365,
8863,
3639,
514,
857,
1957,
273,
446,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
2343,
3192,
559,
12,
780,
2756,
13,
288,
3639,
3841,
8526,
2065,
5400,
273,
2065,
2290,
18,
588,
10905,
1622,
2932,
12628,
17,
287,
13365,
8863,
3639,
514,
857,
1957,
273,
446,... |
public SymbolTable (Environment previous) | public SymbolTable () | public SymbolTable (Environment previous) { super(previous); } | 36870 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/36870/d4bd32ac1682e3799b6144168ecd15868479c399/SymbolTable.java/buggy/gnu/commonlisp/lang/SymbolTable.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
8565,
1388,
1832,
225,
288,
565,
2240,
12,
11515,
1769,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
8565,
1388,
1832,
225,
288,
565,
2240,
12,
11515,
1769,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
return 1f / (level*level); } | return 1f / (level * level); } | public float getParentPropagationIncrement(int level) {// int d = ; return 1f / (level*level);// return 1f - (float)(1f/Math.sqrt(level+1));// // Math.abs(PARENT_PROPAGATION_STRENGTH// // (level/Math.sqrt(level));// (level*level); ... | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/5a1947640b77adbd67ec1fb599f87f30e92125d0/ScalingFactors.java/buggy/org.eclipse.mylyn.context.core/src/org/eclipse/mylyn/core/model/internal/ScalingFactors.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1431,
5089,
14225,
10798,
12,
474,
1801,
13,
288,
759,
3639,
509,
302,
273,
274,
3639,
327,
404,
74,
342,
261,
2815,
14,
2815,
1769,
759,
3639,
327,
404,
74,
300,
261,
5659,
21433... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1431,
5089,
14225,
10798,
12,
474,
1801,
13,
288,
759,
3639,
509,
302,
273,
274,
3639,
327,
404,
74,
342,
261,
2815,
14,
2815,
1769,
759,
3639,
327,
404,
74,
300,
261,
5659,
21433... |
Class clazz; ClassLoader loader = getClass().getClassLoader(); if (loader != null) { clazz = ClassManager.loadClass(loader, name, resolve); if (clazz != null) return clazz; | Class clazz = findLoadedClass(name); if (clazz == null) { ClassLoader loader = getClass().getClassLoader(); if (loader != null) { clazz = ClassManager.loadClass(loader, name, resolve); if (clazz != null) return clazz; } clazz = findSystemClass(name); | public Class loadClass(String name, boolean resolve) throws ClassNotFoundException { Class clazz; ClassLoader loader = getClass().getClassLoader(); if (loader != null) { clazz = ClassManager.loadClass(loader, name, resolve); if (clazz != null) retu... | 11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/f7417f7060c11be1359953bdaadcaebd072b36c6/DefiningClassLoader.java/clean/js/rhino/src/org/mozilla/classfile/DefiningClassLoader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1659,
16038,
12,
780,
508,
16,
1250,
2245,
13,
3639,
1216,
10403,
565,
288,
3639,
1659,
4003,
31,
3639,
9403,
4088,
273,
2900,
7675,
588,
7805,
5621,
3639,
309,
261,
6714,
480,
446,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1659,
16038,
12,
780,
508,
16,
1250,
2245,
13,
3639,
1216,
10403,
565,
288,
3639,
1659,
4003,
31,
3639,
9403,
4088,
273,
2900,
7675,
588,
7805,
5621,
3639,
309,
261,
6714,
480,
446,... |
} | attr = (AttrImpl) attr.m_next; } | public Attr createAttribute(String name) throws DOMException { // System.out.println("name: "+name); AttrImpl attrImpl; if(QName.isXMLNSDecl(name)) { attrImpl = new NameSpaceDecl(getDocumentImpl(), "http://www.w3.org/2000/xmlns/", ... | 46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/0e2298c0c460e281c6e54e92ac95421ec5eca2e4/ElementImpl.java/clean/src/org/apache/xalan/stree/ElementImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
11289,
9079,
752,
1499,
12,
780,
508,
13,
565,
1216,
4703,
503,
225,
288,
565,
368,
2332,
18,
659,
18,
8222,
2932,
529,
30,
13773,
529,
1769,
565,
11289,
2828,
1604,
2828,
31,
565... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
11289,
9079,
752,
1499,
12,
780,
508,
13,
565,
1216,
4703,
503,
225,
288,
565,
368,
2332,
18,
659,
18,
8222,
2932,
529,
30,
13773,
529,
1769,
565,
11289,
2828,
1604,
2828,
31,
565... |
private LanguageIdentifier() { | public LanguageIdentifier(NutchConf nutchConf) { | private LanguageIdentifier() { // Gets ngram sizes to take into account from the Nutch Config minLength = NutchConf.get().getInt("lang.ngram.min.length", NGramProfile.DEFAULT_MIN_NGRAM_LENGTH); maxLength = NutchConf.get().getInt("lang.ngram.max.length", ... | 50818 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50818/329ff64e9d7295aff108f85e9a8103f5e5f8f398/LanguageIdentifier.java/buggy/src/plugin/languageidentifier/src/java/org/apache/nutch/analysis/lang/LanguageIdentifier.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
9889,
3004,
12,
50,
322,
343,
3976,
290,
322,
343,
3976,
13,
288,
565,
368,
11881,
20368,
8453,
358,
4862,
1368,
2236,
628,
326,
423,
322,
343,
1903,
565,
21552,
273,
423,
322,
34... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9889,
3004,
12,
50,
322,
343,
3976,
290,
322,
343,
3976,
13,
288,
565,
368,
11881,
20368,
8453,
358,
4862,
1368,
2236,
628,
326,
423,
322,
343,
1903,
565,
21552,
273,
423,
322,
34... |
return new Font (name, attrs); | Font f = null; try { Constructor fontConstructor = Font.class.getDeclaredConstructor (new Class[] { String.class, Map.class }); AccessController.doPrivileged (new SetAccessibleAction(fontConstructor)); f = (Font) fontConstructor.newInstance(new Object[] { name, attrs }); } catch (IllegalAccessException e) { throw ne... | public Font getFont (String name, Map attrs) { return new Font (name, attrs); } | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/a0ec912f89d8c04b4596a0977a98d99f7221f606/ClasspathToolkit.java/buggy/core/src/classpath/gnu/gnu/java/awt/ClasspathToolkit.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
10063,
18776,
261,
780,
508,
16,
1635,
3422,
13,
282,
288,
565,
10063,
284,
273,
446,
31,
565,
775,
288,
11417,
3512,
6293,
273,
10063,
18,
1106,
18,
588,
18888,
6293,
261,
2704,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10063,
18776,
261,
780,
508,
16,
1635,
3422,
13,
282,
288,
565,
10063,
284,
273,
446,
31,
565,
775,
288,
11417,
3512,
6293,
273,
10063,
18,
1106,
18,
588,
18888,
6293,
261,
2704,
... |
public Integer getProjects(CmsObject cms, CmsXmlLanguageFile lang, Vector names, Vector values, Hashtable parameters) throws CmsException { | public Integer getProjects(CmsObject cms, CmsXmlLanguageFile lang, Vector names, Vector values, Hashtable parameters) throws CmsException { | public Integer getProjects(CmsObject cms, CmsXmlLanguageFile lang, Vector names, Vector values, Hashtable parameters) throws CmsException { // get all projects Vector projects = cms.getAllAccessibleProjects(); int retValue = -1; String defaultProject = new String(); Cms... | 8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/0bb0b0810c20e8340dbb16cc85c18a3a89623c35/CmsAdminSyncProperties.java/buggy/src/com/opencms/workplace/CmsAdminSyncProperties.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2144,
11080,
87,
12,
4747,
921,
6166,
16,
16084,
3779,
812,
3303,
16,
5589,
1257,
16,
5411,
5589,
924,
16,
18559,
1472,
13,
1216,
11228,
288,
3639,
368,
336,
777,
10137,
3639,
5589,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2144,
11080,
87,
12,
4747,
921,
6166,
16,
16084,
3779,
812,
3303,
16,
5589,
1257,
16,
5411,
5589,
924,
16,
18559,
1472,
13,
1216,
11228,
288,
3639,
368,
336,
777,
10137,
3639,
5589,... |
public void storePatch(IPatch p, int bankNum, int patchNum) { | public void storePatch(Patch p, int bankNum, int patchNum) { | public void storePatch(IPatch p, int bankNum, int patchNum) { try { Thread.sleep(100); } catch (Exception e) { } ((Patch)p).sysex[3] = (byte) 0x21; ((Patch)p).sysex[6] = (byte) (bankNum << 1); ((Patch)p).sysex[7] = (byte) 0x0; sendPatchWorker(p); try { Thread.sleep(... | 7591 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7591/8de9e9d107eb8c0487bbadf2f24d3a5cc9bc1add/KawaiK4BankDriver.java/clean/JSynthLib/synthdrivers/KawaiK4/KawaiK4BankDriver.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1707,
7332,
12,
7332,
293,
16,
509,
11218,
2578,
16,
509,
4729,
2578,
13,
288,
3639,
775,
288,
202,
565,
4884,
18,
19607,
12,
6625,
1769,
202,
97,
1044,
261,
503,
425,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1707,
7332,
12,
7332,
293,
16,
509,
11218,
2578,
16,
509,
4729,
2578,
13,
288,
3639,
775,
288,
202,
565,
4884,
18,
19607,
12,
6625,
1769,
202,
97,
1044,
261,
503,
425,
13,
... |
if (_isRestartable) { _node = _parent[_startNode = node]; return resetPosition(); } return this; } | if (_isRestartable) { _node = _parent[_startNode = node]; return resetPosition(); } return this; } | public NodeIterator setStartNode(int node) { if (_isRestartable) { _node = _parent[_startNode = node]; return resetPosition(); } return this; } | 2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/264066e4e3d606d5167a1f5680c45669efd7e5c9/DOMImpl.java/clean/src/org/apache/xalan/xsltc/dom/DOMImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2029,
3198,
18171,
907,
12,
474,
756,
13,
288,
202,
565,
309,
261,
67,
291,
15057,
429,
13,
288,
202,
202,
67,
2159,
273,
389,
2938,
63,
67,
1937,
907,
273,
756,
15533,
202,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2029,
3198,
18171,
907,
12,
474,
756,
13,
288,
202,
565,
309,
261,
67,
291,
15057,
429,
13,
288,
202,
202,
67,
2159,
273,
389,
2938,
63,
67,
1937,
907,
273,
756,
15533,
202,... |
createContents(message, SIZING_SELECTION_PANE_HEIGHT, SIZING_SELECTION_PANE_WIDTH); } | createContents(message, SIZING_SELECTION_PANE_HEIGHT, SIZING_SELECTION_PANE_WIDTH); } | public void createContents(String message) { createContents(message, SIZING_SELECTION_PANE_HEIGHT, SIZING_SELECTION_PANE_WIDTH); } | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/8e7c72ceda3ed80aa8d03a8921de32470f1b8c25/ContainerSelectionGroup.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/misc/ContainerSelectionGroup.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
752,
6323,
12,
780,
883,
13,
288,
3639,
752,
6323,
12,
2150,
16,
5705,
62,
1360,
67,
1090,
15445,
67,
30819,
41,
67,
14595,
16,
5705,
62,
1360,
67,
1090,
15445,
67,
30819,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
752,
6323,
12,
780,
883,
13,
288,
3639,
752,
6323,
12,
2150,
16,
5705,
62,
1360,
67,
1090,
15445,
67,
30819,
41,
67,
14595,
16,
5705,
62,
1360,
67,
1090,
15445,
67,
30819,
... |
checkBuffered(); | outBuffer.flip(); flushOutBuffer(); | public int syswrite(String string) throws BadDescriptorException, IOException { checkWritable(); checkBuffered(); ByteBuffer buffer = ByteBuffer.wrap(RubyString.stringToBytes(string)); while (buffer.hasRemaining()) { if (((WritableByteChannel) channel).write(buffer) < 0) { /... | 45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/a6049d13f9eab0fce512fac5890ac20bf9ba9a27/IOHandlerNio.java/clean/src/org/jruby/util/IOHandlerNio.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
2589,
2626,
12,
780,
533,
13,
1216,
6107,
3187,
503,
16,
1860,
288,
3639,
866,
12061,
5621,
3639,
866,
17947,
5621,
202,
3639,
7400,
1613,
273,
7400,
18,
4113,
12,
54,
10340,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
2589,
2626,
12,
780,
533,
13,
1216,
6107,
3187,
503,
16,
1860,
288,
3639,
866,
12061,
5621,
3639,
866,
17947,
5621,
202,
3639,
7400,
1613,
273,
7400,
18,
4113,
12,
54,
10340,
... |
NodeDescriptor descriptor = (NodeDescriptor)node.getUserObject(); Object element = descriptor.getElement(); | AbstractTreeNode descriptor = (AbstractTreeNode)node.getUserObject(); Object element = descriptor.getValue(); if (element instanceof StructureViewTreeElement) { element = ((StructureViewTreeElement)element).getValue(); } | public Object getData(String dataId) { if (DataConstants.PSI_ELEMENT.equals(dataId)) { TreePath path = getSelectedPath(); if (path == null) { return null; } DefaultMutableTreeNode node = (DefaultMutableTreeNode)path.getLastPathComponent(); NodeDescriptor descriptor = (NodeDescr... | 56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/f7284f7111047fdba5568415d36a14b5e81b0687/StructureViewComponent.java/buggy/source/com/intellij/ide/structureView/newStructureView/StructureViewComponent.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1033,
4303,
12,
780,
501,
548,
13,
288,
565,
309,
261,
751,
2918,
18,
52,
2320,
67,
10976,
18,
14963,
12,
892,
548,
3719,
288,
1377,
4902,
743,
589,
273,
16625,
743,
5621,
1377,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1033,
4303,
12,
780,
501,
548,
13,
288,
565,
309,
261,
751,
2918,
18,
52,
2320,
67,
10976,
18,
14963,
12,
892,
548,
3719,
288,
1377,
4902,
743,
589,
273,
16625,
743,
5621,
1377,
... |
return (expired() ? 0 : expiration.getTime() - nowMs()); | return getRemainingTime(); | public synchronized long getSleepTime() { if (TimeBase.isSimulated()) { return 5; } else { return (expired() ? 0 : expiration.getTime() - nowMs()); } } | 8150 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8150/48c953ccf20730345107e2880e6416d8cb5d8140/Deadline.java/clean/src/org/lockss/util/Deadline.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
3852,
1525,
1322,
4265,
950,
1435,
288,
565,
309,
261,
950,
2171,
18,
291,
7993,
11799,
10756,
288,
1377,
327,
1381,
31,
565,
289,
469,
288,
1377,
327,
336,
11429,
950,
5621,
565,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3852,
1525,
1322,
4265,
950,
1435,
288,
565,
309,
261,
950,
2171,
18,
291,
7993,
11799,
10756,
288,
1377,
327,
1381,
31,
565,
289,
469,
288,
1377,
327,
336,
11429,
950,
5621,
565,
... |
CAPA_FETCH_HIERARCHICAL/*, CAPA_ALBUM_INFO*/, CAPA_NEW_ALBUM, CAPA_FETCH_ALBUMS_PRUNE}; | CAPA_FETCH_HIERARCHICAL, CAPA_NEW_ALBUM, CAPA_FETCH_ALBUMS_PRUNE}; | protected GalleryComm2_5(Gallery g) { super(g); scriptName = "main.php"; capabilities2 = new int[]{CAPA_UPLOAD_FILES, CAPA_FETCH_ALBUMS, CAPA_UPLOAD_CAPTION, CAPA_FETCH_HIERARCHICAL/*, CAPA_ALBUM_INFO, CAPA_NEW_ALBUM*/, CAPA_FETCH_ALBUMS_PRUNE}; capabilities3 = new int[]{CAPA_UPLOAD_FILES, CAPA_FETCH_ALBU... | 5431 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5431/f77f83c516b590c20a10738804581b369c3a017b/GalleryComm2_5.java/clean/gallery_remote/com/gallery/GalleryRemote/GalleryComm2_5.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
31398,
12136,
22,
67,
25,
12,
18511,
314,
13,
288,
202,
202,
9565,
12,
75,
1769,
202,
202,
4263,
461,
273,
315,
5254,
18,
2684,
14432,
202,
202,
22140,
22,
273,
394,
509,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
31398,
12136,
22,
67,
25,
12,
18511,
314,
13,
288,
202,
202,
9565,
12,
75,
1769,
202,
202,
4263,
461,
273,
315,
5254,
18,
2684,
14432,
202,
202,
22140,
22,
273,
394,
509,
6... |
ComponentConfigurationHandler componentConfiguration = ProActiveComponentImpl.loadComponentConfiguration(controllersConfigFile); | ComponentConfigurationHandler componentConfiguration = ProActiveComponentImpl.loadComponentConfiguration(controllersConfigFileLocation); | public ProActiveComponentRepresentativeImpl(ComponentType componentType, String hierarchicalType, File controllersConfigFile) { this.componentType = componentType; this.hierarchicalType = hierarchicalType; ComponentConfigurationHandler componentConfiguration = ProActiveComponentImpl.load... | 14315 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14315/3687adae6555fd3151a6a916d4c87e297f9b3abc/ProActiveComponentRepresentativeImpl.java/buggy/src/org/objectweb/proactive/core/component/representative/ProActiveComponentRepresentativeImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1186,
3896,
1841,
23869,
1535,
2828,
12,
28116,
20065,
16,
3639,
514,
26633,
559,
16,
1387,
12403,
13705,
13,
288,
3639,
333,
18,
4652,
559,
273,
20065,
31,
3639,
333,
18,
76,
14529... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1186,
3896,
1841,
23869,
1535,
2828,
12,
28116,
20065,
16,
3639,
514,
26633,
559,
16,
1387,
12403,
13705,
13,
288,
3639,
333,
18,
4652,
559,
273,
20065,
31,
3639,
333,
18,
76,
14529... |
PropertyDefinition propDef, int row) | PropertyDefinition propDef, int row, int propValueNum) | public void addEmbeddedElement(PropertySheet sheet, ConfigContext ctx, ConfigElement elm, Object value, PropertyDefinition propDef, int row) { // Embedded Element // Adding a List EmbeddedElementPanel editor_list = new Embedde... | 49828 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49828/f242e00f1c3174b9eb5f9082d59792f86ef9af88/PropertySheetFactory.java/clean/modules/jackal/editors/org/vrjuggler/jccl/editors/PropertySheetFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
527,
14980,
1046,
12,
1396,
8229,
6202,
16,
1903,
1042,
1103,
16,
21394,
1903,
1046,
12531,
16,
1033,
460,
16,
21394,
4276,
1852,
2270,
3262,
16,
509,
1027,
16,
509,
19432,
257... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
527,
14980,
1046,
12,
1396,
8229,
6202,
16,
1903,
1042,
1103,
16,
21394,
1903,
1046,
12531,
16,
1033,
460,
16,
21394,
4276,
1852,
2270,
3262,
16,
509,
1027,
16,
509,
19432,
257... |
int oldHeight = b.length / (oldWidth * c); | int totalX = width - img.getWidth(); int totalY = height - img.getHeight(); | public static byte[] padImage(byte[] b, boolean interleaved, int c, int oldWidth, int width, int height) { boolean needsPadding = (oldWidth != width) || ((b.length / (oldWidth*c)) != height); if (needsPadding) { int oldHeight = b.length / (oldWidth * c); // adjust to correct width byte[]... | 46826 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46826/23ac7e153f199dc75b71ab8259e74911eaa82fa8/ImageTools.java/buggy/loci/formats/ImageTools.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
1160,
8526,
4627,
2040,
12,
7229,
8526,
324,
16,
1250,
1554,
22593,
16,
509,
276,
16,
565,
509,
1592,
2384,
16,
509,
1835,
16,
509,
2072,
13,
225,
288,
565,
1250,
4260,
9485,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
1160,
8526,
4627,
2040,
12,
7229,
8526,
324,
16,
1250,
1554,
22593,
16,
509,
276,
16,
565,
509,
1592,
2384,
16,
509,
1835,
16,
509,
2072,
13,
225,
288,
565,
1250,
4260,
9485,... |
return getLayoutInfo (parent, sizeflag); | if (sizeflag != MINSIZE && sizeflag != PREFERREDSIZE) throw new IllegalArgumentException(); Dimension parentDim = parent.getSize (); Insets parentInsets = parent.getInsets (); parentDim.width -= parentInsets.left + parentInsets.right; parentDim.height -= parentInsets.top + parentInsets.bottom; int x = 0; int y = 0; i... | protected GridBagLayoutInfo GetLayoutInfo (Container parent, int sizeflag) { return getLayoutInfo (parent, sizeflag); } | 45163 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45163/3fe1c14284ce32b79d0e66441aec6a45a77ff684/GridBagLayout.java/buggy/libjava/java/awt/GridBagLayout.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
7145,
5013,
3744,
966,
968,
3744,
966,
261,
2170,
982,
16,
509,
963,
6420,
13,
565,
288,
202,
430,
261,
1467,
6420,
480,
6989,
4574,
597,
963,
6420,
480,
19175,
4574,
13,
604,
394... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
7145,
5013,
3744,
966,
968,
3744,
966,
261,
2170,
982,
16,
509,
963,
6420,
13,
565,
288,
202,
430,
261,
1467,
6420,
480,
6989,
4574,
597,
963,
6420,
480,
19175,
4574,
13,
604,
394... |
return null; } if (globalInspectionContext.isSuppressed(refEntity, getShortName())) { | public CommonProblemDescriptor[] checkElement(RefEntity refEntity, AnalysisScope analysisScope, InspectionManager inspectionManager, GlobalInspectionContext globalInspec... | 56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/35cfb92e90812fb89d3411c214b6e37d08f443fb/CyclicClassInitializationInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/dependency/CyclicClassInitializationInspection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
5658,
13719,
3187,
8526,
866,
1046,
12,
1957,
1943,
1278,
1943,
16,
4766,
5375,
16318,
3876,
6285,
3876,
16,
4766,
5375,
22085,
7017,
1318,
2763,
7017,
1318,
16,
4766,
5375,
8510,
149... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5658,
13719,
3187,
8526,
866,
1046,
12,
1957,
1943,
1278,
1943,
16,
4766,
5375,
16318,
3876,
6285,
3876,
16,
4766,
5375,
22085,
7017,
1318,
2763,
7017,
1318,
16,
4766,
5375,
8510,
149... | |
public static RubyBoolean between_p(Ruby ruby, RubyObject recv, RubyObject arg1, RubyObject arg2) { RubyFixnum fn = (RubyFixnum) recv.funcall("<=>", arg1); if (fn.getValue() < 0) { | public static RubyBoolean between_p(Ruby ruby, RubyObject recv, RubyObject first, RubyObject second) { if (RubyNumeric.fix2int(recv.funcall("<=>", first)) < 0) { | public static RubyBoolean between_p(Ruby ruby, RubyObject recv, RubyObject arg1, RubyObject arg2) { RubyFixnum fn = (RubyFixnum) recv.funcall("<=>", arg1); if (fn.getValue() < 0) { return ruby.getFalse(); } fn = (RubyFixnum) recv.funcall("<=>", arg2); if (fn.getValue() ... | 46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/786cea08c1dd2092a02d1254b49fbee371ace5f9/RubyComparable.java/clean/org/jruby/RubyComparable.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
19817,
5507,
3086,
67,
84,
12,
54,
10340,
22155,
16,
19817,
921,
10665,
16,
19817,
921,
1501,
21,
16,
19817,
921,
1501,
22,
13,
288,
3639,
19817,
8585,
2107,
2295,
273,
261,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
19817,
5507,
3086,
67,
84,
12,
54,
10340,
22155,
16,
19817,
921,
10665,
16,
19817,
921,
1501,
21,
16,
19817,
921,
1501,
22,
13,
288,
3639,
19817,
8585,
2107,
2295,
273,
261,
... |
Detector2[] detectors = analysisPass.getDetectorList(); | private void examineClass(AnalysisPass analysisPass, String className) throws InterruptedException { if (DEBUG) System.out.println("Examining class " + className); long entireClassAnalysisStart = 0; if (TIMEDEBUG || DEBUG) { entireClassAnalysisStart = System.currentTimeMillis(); } this.currentClass = class... | 10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/25c55f15b2a3422c334c2dcf73aafecc91dbed45/FindBugs.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/FindBugs.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
19707,
558,
797,
12,
9418,
6433,
6285,
6433,
16,
514,
2658,
13,
1216,
7558,
288,
202,
202,
430,
261,
9394,
13,
2332,
18,
659,
18,
8222,
2932,
424,
301,
10008,
667,
315,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
19707,
558,
797,
12,
9418,
6433,
6285,
6433,
16,
514,
2658,
13,
1216,
7558,
288,
202,
202,
430,
261,
9394,
13,
2332,
18,
659,
18,
8222,
2932,
424,
301,
10008,
667,
315,
... | |
EARConfigBuilder earConfigBuilder = getEARConfigBuilder(); TestingUtils.buildConfiguration(jarfile,store,earConfigBuilder,kernel,wsConfgBuilderName); | TestingUtils.buildConfiguration(jarfile,store,kernel,wsConfgBuilderName); | public void testLoad() throws Exception { ClassLoader cl = Thread.currentThread().getContextClassLoader(); ClassLoader myCl = new URLClassLoader(new URL[]{}, cl); File jarfile = new File(getTestFile("target/generated/samples/echo-ewsimpl.jar")); EARConfigBuilder earConfigBuilde... | 12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/74231cfea49804f57cc6ffd1fe03fc6a617bf856/ComplexTypeWebServiceTest.java/buggy/modules/axis/src/test/org/apache/geronimo/axis/ComplexTypeWebServiceTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
2563,
1435,
1216,
1185,
288,
3639,
9403,
927,
273,
4884,
18,
2972,
3830,
7675,
29120,
7805,
5621,
3639,
9403,
3399,
2009,
273,
394,
1976,
7805,
12,
2704,
1976,
8526,
2916,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2563,
1435,
1216,
1185,
288,
3639,
9403,
927,
273,
4884,
18,
2972,
3830,
7675,
29120,
7805,
5621,
3639,
9403,
3399,
2009,
273,
394,
1976,
7805,
12,
2704,
1976,
8526,
2916,
... |
return value < 0 ? -1 : value > 0 ? 1 : 0; | return cmp < 0 ? -1 : cmp > 0 ? 1 : 0; | public int cmp(RubyString other) { int value = getValue().compareTo(other.getValue()); return value < 0 ? -1 : value > 0 ? 1 : 0; } | 47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/803c66ee682936beecc8a43fe2cfc90fe5645b22/RubyString.java/buggy/src/org/jruby/RubyString.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
9411,
12,
54,
10340,
780,
1308,
13,
288,
202,
565,
509,
460,
273,
2366,
7675,
9877,
774,
12,
3011,
18,
24805,
10663,
202,
202,
2463,
9411,
411,
374,
692,
300,
21,
294,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
9411,
12,
54,
10340,
780,
1308,
13,
288,
202,
565,
509,
460,
273,
2366,
7675,
9877,
774,
12,
3011,
18,
24805,
10663,
202,
202,
2463,
9411,
411,
374,
692,
300,
21,
294,
... |
System.out.println( "Processing contents file: " + contentspath ); | System.out.println( "\tProcessing contents file: " + contentspath ); | private void processContentsFile( Context c, Item i, String path, String filename ) { String contentspath = path + "/" + filename; String line = ""; System.out.println( "Processing contents file: " + contentspath ); try { BufferedReader is = new BufferedReader( new F... | 52457 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52457/d2c45bb93d8def7196e87f13413af7d1392f4802/ItemImport.java/buggy/dspace/src/org/dspace/app/itemimport/ItemImport.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1207,
6323,
812,
12,
1772,
276,
16,
4342,
277,
16,
514,
589,
16,
514,
1544,
262,
565,
288,
3639,
514,
2939,
803,
273,
589,
397,
4016,
397,
1544,
31,
3639,
514,
980,
273,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6323,
812,
12,
1772,
276,
16,
4342,
277,
16,
514,
589,
16,
514,
1544,
262,
565,
288,
3639,
514,
2939,
803,
273,
589,
397,
4016,
397,
1544,
31,
3639,
514,
980,
273,
14... |
Relative.untranslateRelative(c); c.popStyle(); | public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; Border border = c.getCu... | 8125 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8125/8f81e5fe9f6f8593d3c596d30a3f100cb87dbf27/InlineBoxing.java/clean/src/java/org/xhtmlrenderer/layout/InlineBoxing.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
3511,
1350,
12,
1042,
276,
16,
8549,
3919,
16,
987,
913,
682,
13,
288,
3639,
368,
26715,
732,
1410,
3712,
506,
4832,
5943,
716,
13955,
358,
279,
1203,
17,
2815,
930,
363... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
3511,
1350,
12,
1042,
276,
16,
8549,
3919,
16,
987,
913,
682,
13,
288,
3639,
368,
26715,
732,
1410,
3712,
506,
4832,
5943,
716,
13955,
358,
279,
1203,
17,
2815,
930,
363... | |
Dimension size = getPreferredSize(c); size.width = 32767; return size; | return new Dimension(32767, 32767); | public Dimension getMaximumSize(JComponent c) { Dimension size = getPreferredSize(c); size.width = 32767; return size; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/BasicComboBoxUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicComboBoxUI.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
13037,
25194,
1225,
12,
46,
1841,
276,
13,
225,
288,
565,
13037,
963,
273,
12822,
4193,
1225,
12,
71,
1769,
565,
963,
18,
2819,
273,
29317,
27,
31,
565,
327,
963,
31,
225,
289,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13037,
25194,
1225,
12,
46,
1841,
276,
13,
225,
288,
565,
13037,
963,
273,
12822,
4193,
1225,
12,
71,
1769,
565,
963,
18,
2819,
273,
29317,
27,
31,
565,
327,
963,
31,
225,
289,
... |
} catch (AxisFault axisFault) { __log.error("Error process in-only message.", axisFault); } } }); | public final void receive(final MessageContext msgContext) throws AxisFault { if (__log.isDebugEnabled()) __log.debug("Received message for " + msgContext.getAxisService().getName() + "." + msgContext.getAxisOperation().getName()); if (hasResponse(msgContext.getAxisOperation())) { // Clie... | 45373 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45373/3d5d00371b775dabb3a8e74de457bb4956027a11/PXEMessageReceiver.java/clean/axis2/src/main/java/com/fs/pxe/axis2/hooks/PXEMessageReceiver.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
727,
918,
6798,
12,
6385,
2350,
1042,
1234,
1042,
13,
1216,
15509,
7083,
288,
565,
309,
261,
972,
1330,
18,
291,
2829,
1526,
10756,
1377,
1001,
1330,
18,
4148,
2932,
8872,
883,
364,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
727,
918,
6798,
12,
6385,
2350,
1042,
1234,
1042,
13,
1216,
15509,
7083,
288,
565,
309,
261,
972,
1330,
18,
291,
2829,
1526,
10756,
1377,
1001,
1330,
18,
4148,
2932,
8872,
883,
364,... | |
optionsGroup.setFont(parentFont); | protected void createOptionsGroup(Composite parent) { // options group Font parentFont = parent.getFont(); Composite optionsGroup = new Composite(parent, SWT.NONE); GridLayout layout = new GridLayout(); layout.marginHeight = 0; optionsGroup.setLayout(layout); optionsGroup.setLayoutData(new GridData(GridData.H... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/6c0d1242419b0af01d151bee22811c04d14f68c9/WizardPreferencesPage.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/wizards/preferences/WizardPreferencesPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
752,
1320,
1114,
12,
9400,
982,
13,
288,
202,
202,
759,
702,
1041,
202,
202,
5711,
982,
5711,
273,
982,
18,
588,
5711,
5621,
9506,
202,
9400,
702,
1114,
273,
394,
14728,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
752,
1320,
1114,
12,
9400,
982,
13,
288,
202,
202,
759,
702,
1041,
202,
202,
5711,
982,
5711,
273,
982,
18,
588,
5711,
5621,
9506,
202,
9400,
702,
1114,
273,
394,
14728,... | |
case 191: break; | case 194: break; | public Symbol next_token() throws java.io.IOException { int yyFlexInput; int yyFlexAction; int [] yyFlexTransL = YY_TRANS; int [] yyFlexRowMapL = YY_ROWMAP; int [] yyFlexAttrL = YY_ATTRIBUTE; int yyFlexPushbackPos_l = yyFlexPushbackPos = -1; boolean yy_was_pushback; while (true) { // cach... | 6220 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6220/9b61944465740d14ca2a4b7d70253b3cd65d7570/LexScan.java/clean/jflex/src/JFlex/LexScan.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
8565,
1024,
67,
2316,
1435,
1216,
2252,
18,
1594,
18,
14106,
288,
565,
509,
9016,
19667,
1210,
31,
565,
509,
9016,
19667,
1803,
31,
565,
509,
5378,
9016,
19667,
1429,
48,
273,
1624,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
8565,
1024,
67,
2316,
1435,
1216,
2252,
18,
1594,
18,
14106,
288,
565,
509,
9016,
19667,
1210,
31,
565,
509,
9016,
19667,
1803,
31,
565,
509,
5378,
9016,
19667,
1429,
48,
273,
1624,... |
public void testSkip() { byte[] data = new byte[] {-127, -100, -50, -10, -1, 0, 1, 10, 50, 127}; | public void testSkip() throws Exception { byte[] data = new byte[] { -127, -100, -50, -10, -1, 0, 1, 10, 50, 127 }; | public void testSkip() { byte[] data = new byte[] {-127, -100, -50, -10, -1, 0, 1, 10, 50, 127}; TestInputStream tis = new TestInputStream(data); CipherInputStream cis = new CipherInputStream(tis, new NullCipher()); try { int expected = data.length; byte[] result = ... | 54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/4d76bfb2eadb70e06c48c35a604c83b3f0eefc76/CipherInputStreamTest.java/clean/modules/crypto/src/test/api/java.injected/javax/crypto/CipherInputStreamTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
6368,
1435,
288,
3639,
1160,
8526,
501,
273,
394,
1160,
8526,
288,
17,
14260,
16,
300,
6625,
16,
300,
3361,
16,
300,
2163,
16,
300,
21,
16,
374,
16,
404,
16,
1728,
16... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
6368,
1435,
288,
3639,
1160,
8526,
501,
273,
394,
1160,
8526,
288,
17,
14260,
16,
300,
6625,
16,
300,
3361,
16,
300,
2163,
16,
300,
21,
16,
374,
16,
404,
16,
1728,
16... |
((ShortMessage) msg).setMessage(runningStatus, data1, 0); | ((ShortMessage) msg).setMessage((int) (buf[0] & 0xff), c, 0); | private void addToList(int c) throws InvalidMidiDataException { MidiMessage msg; if ((c & 0x80) == 0x80) { // status byte if ((c & 0xf8) == 0xf8 // System Real Time Message || c == ShortMessage.TUNE_REQUEST) { // 0 byte message msg = (MidiMessage) new ShortMessage(); ((ShortMessa... | 7591 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7591/c48c84bed3b2cb56ce951476fc4eba7c57e23e4b/LinuxMidiWrapper.java/clean/JSynthLib/core/LinuxMidiWrapper.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
1152,
918,
9604,
682,
12,
474,
276,
13,
1216,
1962,
20711,
77,
22480,
288,
1082,
565,
490,
350,
77,
1079,
1234,
31,
1082,
565,
309,
14015,
71,
473,
374,
92,
3672,
13,
422,
374,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
1152,
918,
9604,
682,
12,
474,
276,
13,
1216,
1962,
20711,
77,
22480,
288,
1082,
565,
490,
350,
77,
1079,
1234,
31,
1082,
565,
309,
14015,
71,
473,
374,
92,
3672,
13,
422,
374,
... |
String expected2 = "<br> <br><b>Next Build Starts At:</b><br>" + formatter.format(new Date(date.getTime() + (800 * 1000))); | String expected2 = "<span class=\"link\">Next Build Starts At:<br>" + formatter.format(new Date(date.getTime() + (800 * 1000))) + "</span>"; | public void testWriteFile() { CurrentBuildStatusPublisher cbsb = new CurrentBuildStatusPublisher(); cbsb.setFile("_testCurrentBuildStatus.txt"); Date date = new Date(); try { cbsb.writeFile(date, 300); SimpleDateFormat formatter = new SimpleDateFormat("MMM/dd/yyyy H... | 52149 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52149/0619a6f1a2906dbd2d9529c6cb0ec549d56961a2/CurrentBuildStatusPublisherTest.java/clean/main/test/net/sourceforge/cruisecontrol/publishers/CurrentBuildStatusPublisherTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
3067,
812,
1435,
288,
3639,
6562,
3116,
1482,
15960,
276,
2038,
70,
273,
394,
6562,
3116,
1482,
15960,
5621,
3639,
276,
2038,
70,
18,
542,
812,
2932,
67,
3813,
3935,
3116... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
3067,
812,
1435,
288,
3639,
6562,
3116,
1482,
15960,
276,
2038,
70,
273,
394,
6562,
3116,
1482,
15960,
5621,
3639,
276,
2038,
70,
18,
542,
812,
2932,
67,
3813,
3935,
3116... |
String[] ext = {"html", "htm"}; sbFileFilter saveFileFilter = new sbFileFilter(ext, "HTML"); fileChooser.setFileFilter(saveFileFilter); fileChooser.setSelectedFile(new File(myRecipe.getName() + ".html")); int returnVal = fileChooser.showSaveDialog(jMenuBar1); if (returnVal == JFileChooser.APPROVE_OPTION) { File file... | saveAs(); } | public void actionPerformed(ActionEvent evt) { // Show save dialog; this method does // not return until the dialog is closed String[] ext = {"html", "htm"}; sbFileFilter saveFileFilter = new sbFileFilter(ext, "HTML"); fileChooser.setFileFilter(saveFileFilter); f... | 51683 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51683/595e2c465e03931b6041138c6055378752eb9d98/StrangeSwing.java/clean/src/ca/strangebrew/ui/swing/StrangeSwing.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
20982,
202,
482,
918,
26100,
12,
1803,
1133,
6324,
13,
288,
6862,
6862,
202,
759,
9674,
1923,
6176,
31,
333,
707,
1552,
6862,
6862,
202,
759,
486,
327,
3180,
326,
6176,
353,
4375,
6862,
25083,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
20982,
202,
482,
918,
26100,
12,
1803,
1133,
6324,
13,
288,
6862,
6862,
202,
759,
9674,
1923,
6176,
31,
333,
707,
1552,
6862,
6862,
202,
759,
486,
327,
3180,
326,
6176,
353,
4375,
6862,
25083,... |
initializeShortCutMenu(category, (WizardCollectionElement) children[i], activeIds); | initializeShortCutMenu(category, children[i], activeIds); | private void initializeShortCutMenu(ShortcutMenu menu, WizardCollectionElement element, List activeIds) { ShortcutMenu category = new ShortcutMenu(menu, element.getId(), element .getLabel(element)); Object[] wizards = element.getWizards(); for (int i = 0; i < wizards.l... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/3d694fa5580f66413fa910c2e54a03aaef1cec34/CustomizePerspectiveDialog.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/CustomizePerspectiveDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
4046,
4897,
15812,
4599,
12,
15576,
4599,
3824,
16,
5411,
678,
13412,
2532,
1046,
930,
16,
987,
2695,
2673,
13,
288,
3639,
7925,
5150,
4599,
3150,
273,
394,
7925,
5150,
4599,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4046,
4897,
15812,
4599,
12,
15576,
4599,
3824,
16,
5411,
678,
13412,
2532,
1046,
930,
16,
987,
2695,
2673,
13,
288,
3639,
7925,
5150,
4599,
3150,
273,
394,
7925,
5150,
4599,
1... |
protected abstract String getTaskId(); | protected String getTaskId() { return page.getTaskId(); } | protected abstract String getTaskId(); | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/9f7b425ebe40b57391edde8836bf0743b3191033/AbstractAddExistingTaskWizard.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/ui/wizards/AbstractAddExistingTaskWizard.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
8770,
514,
11478,
548,
5621,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
8770,
514,
11478,
548,
5621,
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,
-1... |
case ( LineStyle.DASH_DOTTED ) : | case ( LineStyle.DASH_DOTTED ) : | public void drawArea( AreaRenderEvent are ) throws ChartException { // CHECK IF THE LINE ATTRIBUTES ARE CORRECTLY DEFINED final LineAttributes lia = are.getOutline( ); if ( !validateLineAttributes( are.getSource( ), lia ) ) { return; } // SETUP THE FOREGROUND COLOR (DARKER BACKGROUND IF DEFINED AS NULL) final... | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/1afc1bd11b6e06b273b86fba94ff7ef3fdc3b764/SwtRendererImpl.java/buggy/chart/org.eclipse.birt.chart.device.swt/src/org/eclipse/birt/chart/device/swt/SwtRendererImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3724,
5484,
12,
16668,
3420,
1133,
854,
262,
1216,
14804,
503,
202,
95,
202,
202,
759,
14565,
11083,
12786,
14340,
14043,
18744,
432,
862,
28359,
4512,
7076,
2030,
7263,
2056... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3724,
5484,
12,
16668,
3420,
1133,
854,
262,
1216,
14804,
503,
202,
95,
202,
202,
759,
14565,
11083,
12786,
14340,
14043,
18744,
432,
862,
28359,
4512,
7076,
2030,
7263,
2056... |
boolean eof = false; while (buffer.hasRemaining()) { int bytesRead = ((ReadableByteChannel) channel).read(buffer); if (bytesRead < 0) { eof = true; break; | int bytes_read = 0; do { bytes_read = ((ReadableByteChannel) channel).read(buffer); if (bytes_read < 0) { throw new EOFException(); | public String sysread(int length) throws EOFException, BadDescriptorException, IOException { checkReadable(); checkBuffered(); ByteBuffer buffer = ByteBuffer.allocate(length); boolean eof = false; while (buffer.hasRemaining()) { int bytesRead = ((ReadableByteChannel) chan... | 45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/404fdac0a79f1b57c3fb97914fbafb91618ca119/IOHandlerNio.java/clean/src/org/jruby/util/IOHandlerNio.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
2589,
896,
12,
474,
769,
13,
1216,
30051,
16,
6107,
3187,
503,
16,
1860,
288,
3639,
866,
14151,
5621,
3639,
866,
17947,
5621,
202,
3639,
7400,
1613,
273,
7400,
18,
16247,
12,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
2589,
896,
12,
474,
769,
13,
1216,
30051,
16,
6107,
3187,
503,
16,
1860,
288,
3639,
866,
14151,
5621,
3639,
866,
17947,
5621,
202,
3639,
7400,
1613,
273,
7400,
18,
16247,
12,
... |
if (node.getType() == Constants.NODE_BLOCK_PASS) { | if (node.getType() == Constants.NODE_ARRAY && node.getNextNode() == null) { return node.getHeadNode(); } else if (node.getType() == Constants.NODE_BLOCK_PASS) { | public Node ret_args(Node node) { if (node != null) { if (node.getType() == Constants.NODE_BLOCK_PASS) { rb_compile_error("block argument should not be given"); } } return node; } | 46454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46454/fe5b7835d80b52a0683d503660a7f722b7af69b1/ParserHelper.java/clean/org/jruby/parser/ParserHelper.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2029,
325,
67,
1968,
12,
907,
756,
13,
288,
3639,
309,
261,
2159,
480,
446,
13,
288,
5411,
309,
261,
2159,
18,
588,
559,
1435,
422,
5245,
18,
8744,
67,
8552,
597,
756,
18,
588,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2029,
325,
67,
1968,
12,
907,
756,
13,
288,
3639,
309,
261,
2159,
480,
446,
13,
288,
5411,
309,
261,
2159,
18,
588,
559,
1435,
422,
5245,
18,
8744,
67,
8552,
597,
756,
18,
588,
... |
while (it.hasNext() && !keyfound) { key = (String)it.next(); if (key.startsWith(rc.OID)) keyfound = true; | while (question.sequenceHasMore()) { question.startSequence(); rc.lOID = question.fetchOID(); rc.OID = (rc.lOID.length == 0)?".":""; for (int i = 0; i < rc.lOID.length ; i++) rc.OID += (i==0?"":".") + rc.lOID[i]; question.fetchNull(); question.endSequence(); replyAddOID(reply, rc); | public void run() { try { socket = new DatagramSocket(port, InetAddress.getByName("localhost")); } catch (IOException e) { e.printStackTrace(); return ; } // make smaller.... 0484 enough? byte[] buf = new byte[65535]; DatagramPacket packet = new DatagramPacket(buf, buf.l... | 51738 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51738/dc41050349099e4bc34e8b2967ee63de226b514c/SNMPAgent.java/clean/src/snmplib/SNMPAgent.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
1435,
288,
377,
202,
698,
288,
377,
202,
202,
7814,
273,
394,
6168,
17049,
4534,
12,
655,
16,
14218,
18,
588,
5911,
2932,
13014,
7923,
1769,
377,
202,
97,
1044,
261,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
1435,
288,
377,
202,
698,
288,
377,
202,
202,
7814,
273,
394,
6168,
17049,
4534,
12,
655,
16,
14218,
18,
588,
5911,
2932,
13014,
7923,
1769,
377,
202,
97,
1044,
261,
14... |
_context.messageRegistry().registerPending(outM); | getContext().messageRegistry().registerPending(outM); | private void send() { if (_sent) { if (_log.shouldLog(Log.WARN)) _log.warn("Not resending!", new Exception("blah")); return; } _sent = true; Hash to = _router.getIdentity().getHash(); Hash us = _context.router().getRouterInfo().getIdentity()... | 27437 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27437/e737e5c9507ed0d463dc9e45a8f63657f466b177/SendMessageDirectJob.java/clean/router/java/src/net/i2p/router/message/SendMessageDirectJob.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1366,
1435,
288,
3639,
309,
261,
67,
7569,
13,
288,
2398,
309,
261,
67,
1330,
18,
13139,
1343,
12,
1343,
18,
27999,
3719,
7734,
389,
1330,
18,
8935,
2932,
1248,
400,
2846,
5,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1366,
1435,
288,
3639,
309,
261,
67,
7569,
13,
288,
2398,
309,
261,
67,
1330,
18,
13139,
1343,
12,
1343,
18,
27999,
3719,
7734,
389,
1330,
18,
8935,
2932,
1248,
400,
2846,
5,... |
nestingOfWith = savedNestingOfWith; | private Node function(int functionType) throws IOException, ParserException { int syntheticType = functionType; int baseLineno = ts.getLineno(); // line number where source starts int functionSourceStart = decompiler.markFunctionStart(functionType); String name; Node me... | 12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/78e835470e0a90ae1ee62618c62f364ed850bede/Parser.java/clean/src/org/mozilla/javascript/Parser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
2029,
445,
12,
474,
445,
559,
13,
3639,
1216,
1860,
16,
27990,
565,
288,
3639,
509,
25535,
559,
273,
445,
559,
31,
3639,
509,
1026,
48,
267,
5764,
273,
3742,
18,
588,
48,
267,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
2029,
445,
12,
474,
445,
559,
13,
3639,
1216,
1860,
16,
27990,
565,
288,
3639,
509,
25535,
559,
273,
445,
559,
31,
3639,
509,
1026,
48,
267,
5764,
273,
3742,
18,
588,
48,
267,
5... | |
conn.commit(); conn.close(); | conn.commit(); conn.close(); | private void _removeSequence(String id) throws BioException, ChangeVetoException { Sequence seq = (Sequence) sequencesByName.get(id); if (seq != null) { seq = null; // Don't want to be holding the reference ourselves! try { Thread.sleep(100L); ... | 50397 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50397/d463061dfe03b5b4235ccc0f856e9cb3fa504c5d/BioSQLSequenceDB.java/buggy/src/org/biojava/bio/seq/db/biosql/BioSQLSequenceDB.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
389,
4479,
4021,
12,
780,
612,
13,
3639,
1216,
21209,
503,
16,
7576,
58,
11453,
503,
565,
288,
3639,
8370,
3833,
273,
261,
4021,
13,
8463,
5911,
18,
588,
12,
350,
1769,
3639,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
389,
4479,
4021,
12,
780,
612,
13,
3639,
1216,
21209,
503,
16,
7576,
58,
11453,
503,
565,
288,
3639,
8370,
3833,
273,
261,
4021,
13,
8463,
5911,
18,
588,
12,
350,
1769,
3639,... |
Commandline cl = createLabelCommandLine( (PerforceScmProviderRepository) repo, files.getBasedir(), files, tag ); | Commandline cl = createLabelsyncCommandLine( (PerforceScmProviderRepository) repo, files.getBasedir(), files, tag ); | private void syncLabel( ScmProviderRepository repo, ScmFileSet files, String tag, PerforceTagConsumer consumer ) { Commandline cl = createLabelCommandLine( (PerforceScmProviderRepository) repo, files.getBasedir(), files, tag ); try { Process proc = cl.execute(); Buffere... | 48502 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48502/48fb7916e46e029bd6c197abc87ec050dd2f2a4c/PerforceTagCommand.java/clean/maven-scm-providers/maven-scm-provider-perforce/src/main/java/org/apache/maven/scm/provider/perforce/command/tag/PerforceTagCommand.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3792,
2224,
12,
2850,
81,
2249,
3305,
3538,
16,
2850,
81,
812,
694,
1390,
16,
514,
1047,
16,
5722,
5734,
1805,
5869,
4765,
262,
565,
288,
3639,
3498,
1369,
927,
273,
752,
588... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3792,
2224,
12,
2850,
81,
2249,
3305,
3538,
16,
2850,
81,
812,
694,
1390,
16,
514,
1047,
16,
5722,
5734,
1805,
5869,
4765,
262,
565,
288,
3639,
3498,
1369,
927,
273,
752,
588... |
newVisible.y -= (visible.height - newVisible.height); | newVisible.y -= visible.height - newVisible.height; | public void actionPerformed(ActionEvent e) { String command = (String) getValue(Action.NAME); boolean extendSelection = command.equals("scrollUpExtendSelection") || command.equals("scrollDownExtendSelection"); boolean changeSelection = command.equals("scrollUpChangeS... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/BasicTreeUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
26100,
12,
1803,
1133,
425,
13,
565,
288,
1377,
514,
1296,
273,
261,
780,
13,
2366,
12,
1803,
18,
1985,
1769,
1377,
1250,
2133,
6233,
273,
1296,
18,
14963,
2932,
12033,
1211,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
26100,
12,
1803,
1133,
425,
13,
565,
288,
1377,
514,
1296,
273,
261,
780,
13,
2366,
12,
1803,
18,
1985,
1769,
1377,
1250,
2133,
6233,
273,
1296,
18,
14963,
2932,
12033,
1211,
... |
InterMineObject refObj = (InterMineObject) TypeUtil.getFieldProxy(obj, fieldName); | InterMineObject refObj; try { refObj = (InterMineObject) TypeUtil.getFieldProxy(obj, fieldName); } catch (IllegalAccessException e) { throw new RuntimeException("failed to get field proxy for field name: " + fieldName + " in " + obj, e); } | private static Set createPKQueriesForClass(Model model, InterMineObject obj, Source source, IntToIntMap idMap, boolean queryNulls, ClassDescriptor cld) throws Exception { Set primaryKeys; if (source == n... | 29158 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/29158/330b34ed302a894022fab039dbf5f2c820e912bf/DataLoaderHelper.java/clean/intermine/integrate/main/src/org/intermine/dataloader/DataLoaderHelper.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1000,
752,
8784,
9592,
22581,
12,
1488,
938,
16,
5294,
49,
558,
921,
1081,
16,
4998,
1084,
16,
4766,
9079,
3094,
17864,
863,
612,
863,
16,
1250,
843,
31326,
16,
4766,
9079,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1000,
752,
8784,
9592,
22581,
12,
1488,
938,
16,
5294,
49,
558,
921,
1081,
16,
4998,
1084,
16,
4766,
9079,
3094,
17864,
863,
612,
863,
16,
1250,
843,
31326,
16,
4766,
9079,
2... |
FetchResult res = runMetadata(dm, recursionLevel, key, metaStrings, metadata, container, thisKey, true); | FetchResult res = runMetadata(dm, recursionLevel, key, metaStrings, metadata, container, thisKey, true, localOnly); | private FetchResult runMetadata(ClientMetadata dm, int recursionLevel, ClientKey key, LinkedList metaStrings, Metadata metadata, ArchiveHandler container, FreenetURI thisKey, boolean dontEnterImplicitArchives) throws MetadataParseException, FetchException, ArchiveFailureException, ArchiveRestartException { if(m... | 56348 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56348/308b196ee77f38c4a2c6b11b7182c054b6b5e3e6/Fetcher.java/buggy/src/freenet/client/Fetcher.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
8065,
1253,
1086,
2277,
12,
1227,
2277,
9113,
16,
509,
13917,
2355,
16,
2445,
653,
498,
16,
10688,
2191,
7957,
16,
1875,
202,
2277,
1982,
16,
13124,
1503,
1478,
16,
478,
2842,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8065,
1253,
1086,
2277,
12,
1227,
2277,
9113,
16,
509,
13917,
2355,
16,
2445,
653,
498,
16,
10688,
2191,
7957,
16,
1875,
202,
2277,
1982,
16,
13124,
1503,
1478,
16,
478,
2842,
... |
getCurrentProcessor().processingInstruction (this, target, data); | getCurrentProcessor().processingInstruction(this, target, data); | public void processingInstruction (String target, String data) throws SAXException { if(!m_shouldProcess) return; flushCharacters(); getCurrentProcessor().processingInstruction (this, target, data); } | 2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/6fbfc5b396871b2ddb731ea98fccffe88307b5d3/StylesheetHandler.java/clean/src/org/apache/xalan/processor/StylesheetHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
4929,
11983,
261,
780,
1018,
16,
514,
501,
13,
565,
1216,
14366,
225,
288,
565,
309,
12,
5,
81,
67,
13139,
2227,
13,
1377,
327,
31,
565,
3663,
11600,
5621,
565,
5175,
5164,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
282,
1071,
918,
4929,
11983,
261,
780,
1018,
16,
514,
501,
13,
565,
1216,
14366,
225,
288,
565,
309,
12,
5,
81,
67,
13139,
2227,
13,
1377,
327,
31,
565,
3663,
11600,
5621,
565,
5175,
5164,
... |
} | } else if (element instanceof AbstractTaskContainer && view != null && !Arrays.asList(view.getViewer().getExpandedElements()).contains(element)) { AbstractTaskContainer container = (AbstractTaskContainer)element; for (ITask task : container.getChildren()) { if (task instanceof AbstractRepositoryTask) { AbstractReposito... | public Image getColumnImage(Object element, int columnIndex) { if (!(element instanceof ITaskListElement)) { return null; } if (columnIndex == 0) { if (element instanceof AbstractTaskContainer) { return super.getImage(element); } else { ITask task = TaskElementLabelProvider.getCorrespondingTask((ITaskLi... | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/29445a4c56c081c6ab878541ba7b32aa29d7cdb2/TaskListTableLabelProvider.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/ui/views/TaskListTableLabelProvider.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3421,
6716,
2040,
12,
921,
930,
16,
509,
14882,
13,
288,
202,
202,
430,
16051,
12,
2956,
1276,
467,
2174,
682,
1046,
3719,
288,
1082,
202,
2463,
446,
31,
202,
202,
97,
202,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3421,
6716,
2040,
12,
921,
930,
16,
509,
14882,
13,
288,
202,
202,
430,
16051,
12,
2956,
1276,
467,
2174,
682,
1046,
3719,
288,
1082,
202,
2463,
446,
31,
202,
202,
97,
202,
... |
public void testSecondLineProblem() { try { BraceReduction rm = doc._reduced; doc.insertString(0, "\n", null); doc.indentLine(); assertEquals("0.1", "\n", doc.getText(0, doc.getLength())); } catch( javax.swing.text.BadLocationException e) { System.out.println(e.toString()); } } | public void testSecondLineProblem() throws BadLocationException { BraceReduction rm = doc._reduced; doc.insertString(0, "\n", null); doc.indentLine(); assertEquals("0.1", "\n", doc.getText(0, doc.getLength())); } | public void testSecondLineProblem() { try { // just paren BraceReduction rm = doc._reduced; doc.insertString(0, "\n", null); doc.indentLine(); assertEquals("0.1", "\n", doc.getText(0, doc.getLength())); } catch( javax.swing.text.BadLocationException e) { System.out.println(e.toString())... | 11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/62cd56918db49abf5170cd3da7ff92f86724ef97/IndentTest.java/clean/drjava/src/edu/rice/cs/drjava/IndentTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
1842,
8211,
1670,
13719,
1435,
202,
202,
95,
1082,
202,
698,
288,
9506,
202,
759,
2537,
22146,
9506,
202,
21965,
3715,
4062,
6692,
273,
997,
6315,
1118,
26372,
31,
9506,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
1842,
8211,
1670,
13719,
1435,
202,
202,
95,
1082,
202,
698,
288,
9506,
202,
759,
2537,
22146,
9506,
202,
21965,
3715,
4062,
6692,
273,
997,
6315,
1118,
26372,
31,
9506,
2... |
{ if (group == null || p == null) return false; try { EntityIdentifier ei = p.getEntityIdentifier(); IGroupMember groupMember = GroupService.getGroupMember(ei); return groupMember.isMemberOf(group); } catch (GroupsException e) { throw new RuntimeException("Unable to determine if user " + p.getFullName() + " is in grou... | { if (groupKey == null || p == null) return false; IEntityGroup group = getGroup(groupKey); EntityIdentifier ei = p.getEntityIdentifier(); try { IGroupMember groupMember = GroupService.getGroupMember(ei); boolean isMember =false; if (evaluatorMode == MEMBER_OF_MODE) { isMember = groupMember.isMemberOf(group); } else... | public boolean isApplicable(IPerson p) { if (group == null || p == null) return false; try { EntityIdentifier ei = p.getEntityIdentifier(); IGroupMember groupMember = GroupService.getGroupMember(ei); return groupMember.isMemberOf(group); } c... | 24959 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/24959/db95226861b2abe888f9ade2726c9e910a7e661b/GroupMembershipEvaluator.java/buggy/source/org/jasig/portal/layout/dlm/providers/GroupMembershipEvaluator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
353,
27873,
12,
2579,
3565,
293,
13,
565,
288,
3639,
309,
261,
1655,
422,
446,
747,
293,
422,
446,
13,
5411,
327,
629,
31,
3639,
775,
3639,
288,
5411,
3887,
3004,
13247,
273... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
353,
27873,
12,
2579,
3565,
293,
13,
565,
288,
3639,
309,
261,
1655,
422,
446,
747,
293,
422,
446,
13,
5411,
327,
629,
31,
3639,
775,
3639,
288,
5411,
3887,
3004,
13247,
273... |
TableGroupHandle tableGroups = (TableGroupHandle) groupIter.previous( ); | TableGroupHandle tableGroups = (TableGroupHandle) groupIter .previous( ); | public List getChildren( ) { List children = new ArrayList( ); SlotHandle header = getTableHandle( ).getHeader( ); for ( Iterator headerIter = header.iterator( ); headerIter.hasNext( ); ) { children.addAll( ( (RowHandle) headerIter.next( ) ).getCells( ) .getContents( ) ); } SlotHandle group = getTableHandl... | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/f20dffa9abb940a955b0a18cf6914d4f48216b6c/TableHandleAdapter.java/buggy/UI/org.eclipse.birt.report.designer.core/src/org/eclipse/birt/report/designer/core/model/schematic/TableHandleAdapter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
987,
10268,
12,
262,
202,
95,
202,
202,
682,
2325,
273,
394,
2407,
12,
11272,
202,
202,
8764,
3259,
1446,
273,
5638,
3259,
12,
262,
18,
588,
1864,
12,
11272,
202,
202,
1884,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
987,
10268,
12,
262,
202,
95,
202,
202,
682,
2325,
273,
394,
2407,
12,
11272,
202,
202,
8764,
3259,
1446,
273,
5638,
3259,
12,
262,
18,
588,
1864,
12,
11272,
202,
202,
1884,
... |
public synchronized void drawImageBuffer(Graphics2D gg2d) { /** * @todo this is a hack and should be fixed at the root of the problem */ if (gg2d == null) {// System.out.println(" we got a null graphic object "); return; } synchronized (lock) { gg2d.drawImag... | 4212 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4212/2e0a1e5f6033c1b3ae3ded28c3fd2648fe18754f/GuiGraphicBuffer.java/buggy/src/org/tn5250j/GuiGraphicBuffer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
22043,
6459,
9446,
2040,
1892,
12,
17558,
22,
40,
14253,
22,
72,
15329,
19,
14465,
36,
88,
369,
10370,
19179,
9795,
484,
464,
13139,
2196,
12429,
270,
1136,
1632,
792,
5787,
18968,
5549,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
22043,
6459,
9446,
2040,
1892,
12,
17558,
22,
40,
14253,
22,
72,
15329,
19,
14465,
36,
88,
369,
10370,
19179,
9795,
484,
464,
13139,
2196,
12429,
270,
1136,
1632,
792,
5787,
18968,
5549,
... | ||
buffer.append(" public String toString()\n" + " {\n" + " return new ToStringBuilder(this"); | buffer.append(" public String toString()\n {\n return new ToStringBuilder(this"); | protected String createMethod(IType type) throws JavaModelException { StringBuffer buffer = new StringBuffer(); buffer.append(getJavadoc()); buffer.append(" public String toString()\n" + " {\n" + " return new ToStringBuilder(this"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ ... | 15454 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15454/1fb77b6c21a4e52358096b3bfab08839a81da7e2/ToStringGenerator.java/buggy/commonclipse/src/main/net/sf/commonclipse/ToStringGenerator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
514,
752,
1305,
12,
45,
559,
618,
13,
1216,
5110,
1488,
503,
565,
288,
3639,
6674,
1613,
273,
394,
6674,
5621,
3639,
1613,
18,
6923,
12,
588,
24060,
10663,
3639,
1613,
18,
6923,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
514,
752,
1305,
12,
45,
559,
618,
13,
1216,
5110,
1488,
503,
565,
288,
3639,
6674,
1613,
273,
394,
6674,
5621,
3639,
1613,
18,
6923,
12,
588,
24060,
10663,
3639,
1613,
18,
6923,
2... |
return null; | if ( input instanceof EditorInputDelegate ) { if ( ((EditorInputDelegate)input).getDelegate() == null ) return CDebugEditor.EDITOR_ID; return getEditorId( ((EditorInputDelegate)input).getDelegate(), element ); } String id = null; if ( input != null ) { IEditorRegistry registry = PlatformUI.getWorkbench().getEditorRegis... | public String getEditorId( IEditorInput input, Object element ) { // TODO Auto-generated method stub return null; } | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/4fe2f1e7d8918c1523fe6d9bda577c522ea51134/CDebugModelPresentation.java/clean/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/CDebugModelPresentation.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
336,
6946,
548,
12,
467,
6946,
1210,
810,
16,
1033,
930,
262,
288,
202,
202,
759,
2660,
8064,
17,
11168,
707,
7168,
202,
202,
2463,
446,
31,
202,
97,
2,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
336,
6946,
548,
12,
467,
6946,
1210,
810,
16,
1033,
930,
262,
288,
202,
202,
759,
2660,
8064,
17,
11168,
707,
7168,
202,
202,
2463,
446,
31,
202,
97,
2,
-100,
-100,
-10... |
ArtifactRepositoryMetadata localMetadata = null; | ArtifactMetadata localMetadata = null; | protected String resolveVersion( Artifact artifact, ArtifactRepository localRepository, List remoteRepositories ) throws ArtifactMetadataRetrievalException { // TODO: can we improve on this? ArtifactMetadata metadata = new ArtifactRepositoryMetadata( artifact ); repositoryMetadataMana... | 11530 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11530/cb2370199b6cf0c1c62bf36d568ac386780ff12f/AbstractVersionTransformation.java/clean/maven-artifact-manager/src/main/java/org/apache/maven/artifact/transform/AbstractVersionTransformation.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
514,
2245,
1444,
12,
14022,
6462,
16,
14022,
3305,
1191,
3305,
16,
987,
2632,
18429,
262,
3639,
1216,
14022,
2277,
27356,
503,
565,
288,
3639,
368,
2660,
30,
848,
732,
21171,
603,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
514,
2245,
1444,
12,
14022,
6462,
16,
14022,
3305,
1191,
3305,
16,
987,
2632,
18429,
262,
3639,
1216,
14022,
2277,
27356,
503,
565,
288,
3639,
368,
2660,
30,
848,
732,
21171,
603,
3... |
Keymap keymap = editorPane.getKeymap(); | public RuleEditor(File inFileName,OperatorNode inNode) throws IOException { super(inNode.getUniqueName(),true,true,true,true); setType(RULE_EDITOR); // Initalize my member variables associatedNode = inNode; fileName = inFileName.getPath(); getData(inFileName); ed... | 47007 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47007/9f4d4108ec9fefbbeac2bb6fd715e05e874d8504/RuleEditor.java/clean/OldSoar/trunk/visualsoar/Source/edu/umich/visualsoar/ruleeditor/RuleEditor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
6781,
6946,
12,
812,
316,
4771,
16,
5592,
907,
316,
907,
13,
1216,
1860,
377,
288,
3639,
2240,
12,
267,
907,
18,
588,
6303,
461,
9334,
3767,
16,
3767,
16,
3767,
16,
3767,
1769,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
6781,
6946,
12,
812,
316,
4771,
16,
5592,
907,
316,
907,
13,
1216,
1860,
377,
288,
3639,
2240,
12,
267,
907,
18,
588,
6303,
461,
9334,
3767,
16,
3767,
16,
3767,
16,
3767,
1769,
... | |
MainFrame.getInstance().dispose(); | if (MainFrame.getInstance() != null) { MainFrame.getInstance().dispose(); } | public static void askToExit() { if (MainConfiguration.PROPS.getBoolean("gui.asktoexit")) { //$NON-NLS-1$ int i = JOptionPane.showConfirmDialog(null, Messages.getString("Util.19"), //$NON-NLS-1$ Messages.getString("Util.20"), JOptionPane.YES_NO_OPTION); //$NON-NLS-2$ if (i != JOptionPane.YES_OPTION) { retu... | 54388 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54388/e5751a50a2ed176c08637aad9dbe672a7540336f/Util.java/buggy/framework/src/org/schwering/evi/util/Util.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
6827,
774,
6767,
1435,
288,
202,
202,
430,
261,
6376,
1750,
18,
3373,
5857,
18,
588,
5507,
2932,
20292,
18,
835,
869,
8593,
6,
3719,
288,
4329,
3993,
17,
5106,
17,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
6827,
774,
6767,
1435,
288,
202,
202,
430,
261,
6376,
1750,
18,
3373,
5857,
18,
588,
5507,
2932,
20292,
18,
835,
869,
8593,
6,
3719,
288,
4329,
3993,
17,
5106,
17,
... |
{} catch (ClassNotFoundException ex) {} | { } catch (ClassNotFoundException ex) { } | public void testCisResorcinol() throws Exception { HydrogenPlacer hydrogenPlacer = new HydrogenPlacer(); SmilesGenerator sg = new SmilesGenerator(); Molecule mol1 = new Molecule(); mol1.addAtom(new Atom("O", new Point2d(3, 1))); // 1 mol1.addAtom(new Atom("H", new Point2d(2, 0))); // 2 mol1.addAtom(new Atom("C... | 45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/59606b04fc4a28c30470c452644c11af7cf211fa/SmilesGeneratorTest.java/buggy/src/org/openscience/cdk/test/smiles/SmilesGeneratorTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
39,
291,
607,
280,
71,
267,
355,
1435,
1216,
1185,
202,
95,
202,
202,
17507,
24096,
1749,
10598,
4855,
24096,
1749,
10598,
273,
394,
14881,
24096,
1749,
10598,
5621,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
39,
291,
607,
280,
71,
267,
355,
1435,
1216,
1185,
202,
95,
202,
202,
17507,
24096,
1749,
10598,
4855,
24096,
1749,
10598,
273,
394,
14881,
24096,
1749,
10598,
5621,
... |
log.error("Cannot read serialized project: " + serializedProjectFile.getAbsolutePath()); | log.warn("Cannot read serialized project: " + serializedProjectFile.getAbsolutePath()); | public Project readProject(String fileName) { File serializedProjectFile = new File(fileName); log.debug("Reading serialized project from: " + serializedProjectFile.getAbsolutePath()); if (!serializedProjectFile.exists() || !serializedProjectFile.canRead()) { log.error("Cannot read s... | 55334 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55334/cf8bdb14d59ffc7bba2335627d25f68867c5a366/Main.java/buggy/main/src/net/sourceforge/cruisecontrol/Main.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
5420,
855,
4109,
12,
780,
3968,
13,
288,
3639,
1387,
5343,
4109,
812,
273,
394,
1387,
12,
17812,
1769,
3639,
613,
18,
4148,
2932,
15714,
5343,
1984,
628,
30,
315,
397,
5343,
4109,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5420,
855,
4109,
12,
780,
3968,
13,
288,
3639,
1387,
5343,
4109,
812,
273,
394,
1387,
12,
17812,
1769,
3639,
613,
18,
4148,
2932,
15714,
5343,
1984,
628,
30,
315,
397,
5343,
4109,
... |
build.setText("Something with special characters: "); | build.setText("Something with special characters: \\u00c6\\u00d8\\u00c5"); | public void testXMLEncoding() throws CruiseControlException, IOException, JDOMException { String[] encodings = { "UTF-8", "ISO-8859-1", null }; SAXBuilder builder = new SAXBuilder("org.apache.xerces.parsers.SAXParser"); //XMLOutputter outputter = new XMLOutputter(Format.getPrettyForm... | 55334 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55334/5c6a7ec380212f426380e4a32a0fc613657c1166/LogTest.java/buggy/main/test/net/sourceforge/cruisecontrol/LogTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
4201,
4705,
1435,
5411,
1216,
385,
8653,
784,
3367,
503,
16,
1860,
16,
804,
8168,
503,
288,
3639,
514,
8526,
24118,
273,
288,
315,
5159,
17,
28,
3113,
315,
12609,
17,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4201,
4705,
1435,
5411,
1216,
385,
8653,
784,
3367,
503,
16,
1860,
16,
804,
8168,
503,
288,
3639,
514,
8526,
24118,
273,
288,
315,
5159,
17,
28,
3113,
315,
12609,
17,
1... |
public void addMember(JMember jMember) throws IllegalArgumentException { | public void addMember(final JMember jMember) { | public void addMember(JMember jMember) throws IllegalArgumentException { if (jMember == null) { throw new IllegalArgumentException("argument 'jMember' may not be null."); } if (jMember instanceof JField) { addField((JField)jMember); } else { ... | 57307 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57307/639ed93115321ad51c2450f306c4d50d146ede46/JInterface.java/buggy/src/main/java/org/exolab/javasource/JInterface.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
527,
4419,
12,
46,
4419,
525,
4419,
13,
3639,
1216,
2754,
565,
288,
3639,
309,
261,
78,
4419,
422,
446,
13,
288,
5411,
604,
394,
2754,
2932,
3446,
296,
78,
4419,
11,
2026,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4419,
12,
46,
4419,
525,
4419,
13,
3639,
1216,
2754,
565,
288,
3639,
309,
261,
78,
4419,
422,
446,
13,
288,
5411,
604,
394,
2754,
2932,
3446,
296,
78,
4419,
11,
2026,
... |
public org.quickfix.field.Symbol getSymbol() throws FieldNotFound { org.quickfix.field.Symbol value = new org.quickfix.field.Symbol(); | public quickfix.field.Symbol getSymbol() throws FieldNotFound { quickfix.field.Symbol value = new quickfix.field.Symbol(); | public org.quickfix.field.Symbol getSymbol() throws FieldNotFound { org.quickfix.field.Symbol value = new org.quickfix.field.Symbol(); getField(value); return value; } | 8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/Quote.java/buggy/src/java/src/quickfix/fix41/Quote.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
5335,
18712,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
5335,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
533... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
5335,
18712,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
5335,
460,
273,
394,
2358,
18,
19525,
904,
18,
1518,
18,
533... |
else if ( canAddtoReport( selected ) ) | else | public void buildContextMenu( IMenuManager menu ) { if ( Policy.TRACING_MENU_SHOW ) { System.out.println( "Menu(for Views) >> Shows for library" ); //$NON-NLS-1$ } menu.add( new Separator( IWorkbenchActionConstants.MB_ADDITIONS ) ); IStructuredSelection selection = (IStructuredSelection) getViewer( ).getSelecti... | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/01d3e223c033017db804ca07b300d653a2166458/LibraryExplorerContextMenuProvider.java/clean/UI/org.eclipse.birt.report.designer.ui.lib.explorer/src/org/eclipse/birt/report/designer/ui/lib/explorer/LibraryExplorerContextMenuProvider.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1361,
27315,
12,
467,
4599,
1318,
3824,
262,
202,
95,
202,
202,
430,
261,
7436,
18,
4349,
2226,
1360,
67,
29227,
67,
16677,
262,
202,
202,
95,
1082,
202,
3163,
18,
659,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1361,
27315,
12,
467,
4599,
1318,
3824,
262,
202,
95,
202,
202,
430,
261,
7436,
18,
4349,
2226,
1360,
67,
29227,
67,
16677,
262,
202,
202,
95,
1082,
202,
3163,
18,
659,
... |
labelProvider = new DelegateCommonLabelProvider( | labelProvider = new SafeDelegateCommonLabelProvider( | public ICommonLabelProvider getLabelProvider() { if (labelProvider != null || labelProviderInitializationFailed) return labelProvider; synchronized (this) { try { if (labelProvider == null) { ILabelProvider tempLabelProvider = descriptor .createLabelProvider(); if (tempLabelProvider instanceof I... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/c93d807ed962723d90daba76fc2003e2c1801cbc/NavigatorContentExtension.java/buggy/bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/internal/navigator/extensions/NavigatorContentExtension.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
6517,
2224,
2249,
11237,
2249,
1435,
288,
202,
202,
430,
261,
1925,
2249,
480,
446,
747,
1433,
2249,
17701,
2925,
13,
1082,
202,
2463,
1433,
2249,
31,
202,
202,
22043,
261,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
6517,
2224,
2249,
11237,
2249,
1435,
288,
202,
202,
430,
261,
1925,
2249,
480,
446,
747,
1433,
2249,
17701,
2925,
13,
1082,
202,
2463,
1433,
2249,
31,
202,
202,
22043,
261,... |
IConfigurationElement[] elements = definingElement.getChildren(CHILD_ENABLEMENT); if (elements.length == 0) { String className = definingElement.getAttribute(ATT_OBJECT_CLASS); if (className == null) return null; enablement = new ActionExpression(ATT_OBJECT_CLASS, className); } else enablement = new ActionExpression(e... | initializeEnablement(); | public ActionExpression getEnablement() { if (!hasReadEnablement) { hasReadEnablement = true; IConfigurationElement[] elements = definingElement.getChildren(CHILD_ENABLEMENT); if (elements.length == 0) { String className = definingElement.getAttribute(ATT_OBJECT_CLASS); if (clas... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/e4870ae566720c9a538c7ef68573b301746e6c42/DecoratorDefinition.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/decorators/DecoratorDefinition.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4382,
2300,
336,
8317,
475,
1435,
288,
377,
202,
430,
16051,
5332,
1994,
8317,
475,
13,
288,
377,
202,
202,
5332,
1994,
8317,
475,
273,
638,
31,
377,
202,
202,
45,
1750,
1046,
852... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4382,
2300,
336,
8317,
475,
1435,
288,
377,
202,
430,
16051,
5332,
1994,
8317,
475,
13,
288,
377,
202,
202,
5332,
1994,
8317,
475,
273,
638,
31,
377,
202,
202,
45,
1750,
1046,
852... |
_nonEscapingElements = nonEscapingElements; | _nonEscapingElements = nonEscapingElements; | public void setNonEscapingElements( String[] nonEscapingElements ) { _nonEscapingElements = nonEscapingElements; } | 1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/af047e33ee4283cd437ffa6760ccff3d3d2bf9ea/OutputFormat.java/buggy/src/org/apache/xml/serialize/OutputFormat.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
3989,
6412,
24447,
3471,
12,
514,
8526,
1661,
6412,
24447,
3471,
262,
565,
288,
202,
67,
5836,
6412,
24447,
3471,
273,
1661,
6412,
24447,
3471,
31,
565,
289,
2,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
3989,
6412,
24447,
3471,
12,
514,
8526,
1661,
6412,
24447,
3471,
262,
565,
288,
202,
67,
5836,
6412,
24447,
3471,
273,
1661,
6412,
24447,
3471,
31,
565,
289,
2,
-100,
-100... |
if (deltaBuilder != null){ if ((deltaBuilder.delta != null) && (deltaBuilder.delta.getAffectedChildren().length > 0)) { addReconcileDelta(workingCopy, deltaBuilder.delta); } } | protected void executeOperation() throws CModelException { if (fMonitor != null){ if (fMonitor.isCanceled()) return; fMonitor.beginTask("element.reconciling", 10); //$NON-NLS-1$ } WorkingCopy workingCopy = getWorkingCopy(); boolean wasConsistent = workingCopy.isConsistent(); CElementDeltaBuilder deltaBuilder... | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/a443caeb08f5ebfeb103b91f9ece5f9775887585/ReconcileWorkingCopyOperation.java/buggy/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/ReconcileWorkingCopyOperation.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
225,
309,
261,
9878,
1263,
480,
446,
15329,
309,
14015,
9878,
1263,
18,
9878,
480,
446,
13,
597,
261,
9878,
1263,
18,
9878,
18,
588,
23775,
4212,
7675,
2469,
405,
374,
3719,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
225,
309,
261,
9878,
1263,
480,
446,
15329,
309,
14015,
9878,
1263,
18,
9878,
480,
446,
13,
597,
261,
9878,
1263,
18,
9878,
18,
588,
23775,
4212,
7675,
2469,
405,
374,
3719,
... | |
java.sql.Statement statement, PG_Stream pg_stream, org.postgresql.Connection connection) throws SQLException { this.sql = sql; this.statement = statement; this.pg_stream = pg_stream; this.connection = connection; | java.sql.Statement statement, PG_Stream pg_stream, org.postgresql.Connection connection) throws SQLException { this.sql = sql; this.statement = statement; this.pg_stream = pg_stream; this.connection = connection; | public QueryExecutor(String sql, java.sql.Statement statement, PG_Stream pg_stream, org.postgresql.Connection connection) throws SQLException { this.sql = sql; this.statement = statement; this.pg_stream = pg_stream; this.connection = connection; if (statement != null) maxRows = statement.getMa... | 11803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11803/ef7d7910745cf2812007668138eaaf0a8e1d8d99/QueryExecutor.java/clean/src/interfaces/jdbc/org/postgresql/core/QueryExecutor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2770,
6325,
12,
780,
1847,
16,
6862,
1082,
2252,
18,
4669,
18,
3406,
3021,
16,
6862,
1082,
22116,
67,
1228,
7184,
67,
3256,
16,
6862,
1082,
2358,
18,
2767,
24330,
18,
1952,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2770,
6325,
12,
780,
1847,
16,
6862,
1082,
2252,
18,
4669,
18,
3406,
3021,
16,
6862,
1082,
22116,
67,
1228,
7184,
67,
3256,
16,
6862,
1082,
2358,
18,
2767,
24330,
18,
1952,
14... |
public void absolute(final int localPointer) throws IndexOutOfBoundsException { | public void absolute(final int localPointer) { | public void absolute(final int localPointer) throws IndexOutOfBoundsException { if (localPointer < 0 || localPointer > rows.size() - 1) { throw new IndexOutOfBoundsException("INVALID POINTER LOCATION: " + localPointer); } pointer = localPointer; } | 8836 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8836/2b8ef98f79005d5153308554ad3f4288ab18ead6/DataSet.java/clean/PZFileReader/src/main/java/com/pz/reader/DataSet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4967,
12,
6385,
509,
1191,
4926,
13,
288,
3639,
309,
261,
3729,
4926,
411,
374,
747,
1191,
4926,
405,
2595,
18,
1467,
1435,
300,
404,
13,
288,
5411,
604,
394,
17768,
2932,
93... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4967,
12,
6385,
509,
1191,
4926,
13,
288,
3639,
309,
261,
3729,
4926,
411,
374,
747,
1191,
4926,
405,
2595,
18,
1467,
1435,
300,
404,
13,
288,
5411,
604,
394,
17768,
2932,
93... |
checkQueryNodes(msg, (QueryClass) qf1.getFromElement(), (QueryClass) qf2.getFromElement(), q1, q2); | FromElement fe1 = qf1.getFromElement(); FromElement fe2 = qf2.getFromElement(); if (fe1 instanceof QueryClass) { if (fe2 instanceof QueryClass) { checkQueryNodes(msg, (QueryClass) fe1, (QueryClass) fe2, q1, q2); } else { fail(msg + ": field member of QueryClass does not match field member of subquery"); } } else { if ... | protected void checkQueryNodes(String msg, QueryNode qn1, QueryNode qn2, Query q1, Query q2) { if ((qn1 == null) && (qn2 == null)) { return; } assertNotNull(msg + ": first QueryNode is null, second isn't", qn1); assertNotNull(msg + ": first QueryNode is not null, second is", q... | 7196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7196/1bf1bb33e46ab55ef768222c8d9f06d4c2742a10/QueryTestCase.java/buggy/intermine/src/test/org/intermine/objectstore/query/QueryTestCase.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
866,
1138,
3205,
12,
780,
1234,
16,
2770,
907,
31054,
21,
16,
2770,
907,
31054,
22,
16,
2770,
1043,
21,
16,
2770,
1043,
22,
13,
288,
3639,
309,
14015,
15785,
21,
422,
446,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
866,
1138,
3205,
12,
780,
1234,
16,
2770,
907,
31054,
21,
16,
2770,
907,
31054,
22,
16,
2770,
1043,
21,
16,
2770,
1043,
22,
13,
288,
3639,
309,
14015,
15785,
21,
422,
446,
... |
boolean processSharedLibUnloadedEvent(MISharedLibUnloadedEvent unLoaded) { Session session = (Session)getSession(); MISession miSession = unLoaded.getMISession(); Target target = session.getTarget(miSession); // We do not nee to do fancy checking we can jsut delete all // the expression variable and let the recre... | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/8291a5e66d0cd3be70011e0c75d21a55e150eefb/EventManager.java/buggy/debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/EventManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6494,
1207,
7887,
5664,
984,
4230,
1133,
12,
7492,
7887,
5664,
984,
4230,
1133,
640,
8835,
13,
288,
202,
202,
2157,
1339,
273,
261,
2157,
13,
588,
2157,
5621,
202,
202,
7492,
2157,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6494,
1207,
7887,
5664,
984,
4230,
1133,
12,
7492,
7887,
5664,
984,
4230,
1133,
640,
8835,
13,
288,
202,
202,
2157,
1339,
273,
261,
2157,
13,
588,
2157,
5621,
202,
202,
7492,
2157,
... | ||
if (Grouper.naming().grant(s, g, m, "STEM") == true) { | if (Grouper.naming().grant(roots, g, m, "STEM") == true) { | protected static boolean groupAdd(GrouperSession s, GrouperGroup g) { boolean rv = false; Session session = GrouperBackend._init(); GrouperAttribute stem = (GrouperAttribute) g.attribute("stem"); if (GrouperBackend._stemLookup(s, session, (String) stem.value())) { try { Transaction t = se... | 5235 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5235/18ab8b4d7176ebf7fef0147158a064f94ca707e5/GrouperBackend.java/clean/grouper/java/src/edu/internet2/middleware/grouper/GrouperBackend.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
760,
1250,
1041,
986,
12,
1114,
264,
2157,
272,
16,
3756,
264,
1114,
314,
13,
288,
565,
1250,
5633,
1377,
273,
629,
31,
565,
3877,
1339,
273,
3756,
264,
7172,
6315,
2738,
5621,
56... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
760,
1250,
1041,
986,
12,
1114,
264,
2157,
272,
16,
3756,
264,
1114,
314,
13,
288,
565,
1250,
5633,
1377,
273,
629,
31,
565,
3877,
1339,
273,
3756,
264,
7172,
6315,
2738,
5621,
56... |
ConfigurationContextFactory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo",null); | ConfigurationContextFactory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo", null); | public void testhandleArrayList() throws AxisFault { configureSystem("handleArrayList"); Options options = new Options(); options.setTo(targetEPR); options.setTransportInProtocol(Constants.TRANSPORT_HTTP); ConfigurationContext configContext = ConfigurationContextFac... | 49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/50920db14c45d59089b0a4f3c9050a30713f9522/RPCCallTest.java/buggy/modules/integration/test/org/apache/axis2/rpc/RPCCallTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
4110,
19558,
1435,
1216,
15509,
7083,
288,
3639,
5068,
3163,
2932,
4110,
19558,
8863,
3639,
5087,
702,
273,
394,
5087,
5621,
3639,
702,
18,
542,
774,
12,
3299,
41,
8025,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4110,
19558,
1435,
1216,
15509,
7083,
288,
3639,
5068,
3163,
2932,
4110,
19558,
8863,
3639,
5087,
702,
273,
394,
5087,
5621,
3639,
702,
18,
542,
774,
12,
3299,
41,
8025,
... |
reportsEntry, ReportsEntryHBMUtil.getInstance()); com.ext.portlet.reports.model.ReportsEntry[] array = new com.ext.portlet.reports.model.ReportsEntry[3]; array[0] = (com.ext.portlet.reports.model.ReportsEntry) objArray[0]; array[1] = (com.ext.portlet.reports.model.ReportsEntry) objArray[1]; array[2] = (com.ext.portlet.... | reportsEntry); ReportsEntry[] array = new ReportsEntry[3]; array[0] = (ReportsEntry) objArray[0]; array[1] = (ReportsEntry) objArray[1]; array[2] = (ReportsEntry) objArray[2]; | public com.ext.portlet.reports.model.ReportsEntry[] findByUserId_PrevAndNext( String entryId, String userId, OrderByComparator obc) throws NoSuchEntryException, SystemException { com.ext.portlet.reports.model.ReportsEntry reportsEntry = findByPrimaryKey(entryId); int count = countByUserI... | 57692 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57692/5131f2a6018784d83d566a6e657e02bb5cd77488/ReportsEntryPersistence.java/clean/tools/ext_tmpl/ext-ejb/src/com/ext/portlet/reports/service/persistence/ReportsEntryPersistence.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
532,
18,
408,
18,
655,
1810,
18,
20195,
18,
2284,
18,
18631,
1622,
8526,
6224,
10502,
67,
24657,
12,
3639,
514,
1241,
548,
16,
514,
6249,
16,
13977,
3768,
71,
13,
3639,
1216,
5823... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
532,
18,
408,
18,
655,
1810,
18,
20195,
18,
2284,
18,
18631,
1622,
8526,
6224,
10502,
67,
24657,
12,
3639,
514,
1241,
548,
16,
514,
6249,
16,
13977,
3768,
71,
13,
3639,
1216,
5823... |
public void mFLOAT() throws RecognitionException { int FLOAT_StartIndex = input.index(); try { int type = FLOAT; int start = getCharIndex(); int line = getLine(); int charPosition = getCharPositionInLine(); int channel = Token.DEFAULT_CHANNEL; ... | 6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/f57cd683a66080d941264e3f98974908a6a489a0/RuleParserLexer.java/clean/drools-compiler/src/main/java/org/drools/lang/RuleParserLexer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
312,
15640,
1435,
1216,
9539,
288,
3639,
509,
15483,
67,
16792,
273,
810,
18,
1615,
5621,
3639,
775,
288,
5411,
509,
618,
273,
15483,
31,
5411,
509,
787,
273,
23577,
1016,
5621... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
312,
15640,
1435,
1216,
9539,
288,
3639,
509,
15483,
67,
16792,
273,
810,
18,
1615,
5621,
3639,
775,
288,
5411,
509,
618,
273,
15483,
31,
5411,
509,
787,
273,
23577,
1016,
5621... | ||
if(option != null && holder != null){ | if(contextInfo != null){ | public void widgetSelected(SelectionEvent ev) { /* Before opening the browse dialog we try to convert the current * path text to a valid workspace resource, so we can set it * as initial selection in the dialog. * * First we remove all double-quotes. Then the build macro provider ... | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/20a29763988ce97d6fdec77f5b733db5be459cf7/FileListControl.java/buggy/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/FileListControl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4405,
202,
482,
918,
3604,
7416,
12,
6233,
1133,
2113,
13,
288,
25083,
202,
20308,
11672,
10890,
326,
21670,
6176,
732,
775,
358,
1765,
326,
783,
6862,
1082,
380,
589,
977,
358,
279,
923,
6003... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4405,
202,
482,
918,
3604,
7416,
12,
6233,
1133,
2113,
13,
288,
25083,
202,
20308,
11672,
10890,
326,
21670,
6176,
732,
775,
358,
1765,
326,
783,
6862,
1082,
380,
589,
977,
358,
279,
923,
6003... |
public NotDescr lhs_not() throws RecognitionException { NotDescr d = null; Token loc=null; BaseDescr column = null; d = null; try { // D:\\workspace\\jboss\\jbossrules\\drools-compiler\\src\\main\\resources\\org\\drools\\lang\\DRL.g:1232:4: (loc= '... | 5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/158de3e3177d9b48d45fb4c3fae8404e0f01f690/DRLParser.java/clean/drools-compiler/src/main/java/org/drools/lang/DRLParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2288,
16198,
8499,
67,
902,
1435,
1216,
9539,
288,
6647,
2288,
16198,
302,
273,
446,
31,
3639,
3155,
1515,
33,
2011,
31,
3639,
3360,
16198,
1057,
273,
446,
31,
1171,
202,
202,
72,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2288,
16198,
8499,
67,
902,
1435,
1216,
9539,
288,
6647,
2288,
16198,
302,
273,
446,
31,
3639,
3155,
1515,
33,
2011,
31,
3639,
3360,
16198,
1057,
273,
446,
31,
1171,
202,
202,
72,
... | ||
if (r0 == null || r1 == null) return; if (color == null) g.setColor(c.getSelectionColor()); else g.setColor(color); if (r0.y == r1.y) { r0.width = r1.x - r0.x; paintHighlight(g, r0); return; } r0.width = rect.x + rect.width - r0.x; paintHighlight(g, r0); r0.y += r0.height; r0.x = rect.x; r0.width = rect.width; ... | Rectangle l0 = ui.modelToView(t, p0, null); Rectangle l1 = ui.modelToView(t, p1, null); if (l0.y == l1.y) paintHighlight(g, l0.union(l1)); else { l0.width = rect.width - l0.x; paintHighlight(g, l0); int posBelow = Utilities.getPositionBelow(t, p0, l0.x); int p1RowStart = Utilities.getRowStart(t, p1); if (pos... | public void paint(Graphics g, int p0, int p1, Shape bounds, JTextComponent c) { Rectangle r0 = null; Rectangle r1 = null; Rectangle rect = bounds.getBounds(); try { r0 = c.modelToView(p0); r1 = c.modelToView(p1); } catch (BadLocationException e) { // This should... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/DefaultHighlighter.java/clean/core/src/classpath/javax/javax/swing/text/DefaultHighlighter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
12574,
12,
17558,
314,
16,
509,
293,
20,
16,
509,
293,
21,
16,
12383,
4972,
16,
1082,
1377,
804,
1528,
1841,
276,
13,
565,
288,
1377,
13264,
436,
20,
273,
446,
31,
1377,
13... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
12574,
12,
17558,
314,
16,
509,
293,
20,
16,
509,
293,
21,
16,
12383,
4972,
16,
1082,
1377,
804,
1528,
1841,
276,
13,
565,
288,
1377,
13264,
436,
20,
273,
446,
31,
1377,
13... |
} catch (RunnerException e) { message("Error during upload."); | } catch (Exception e) { | public void run() { try { //boolean success = sketch.isLibrary() ? //sketch.exportLibrary() : sketch.exportApplet(); boolean success = sketch.exportApplet(new Target( System.getProperty("user.dir") + File.separator + "lib" + File.separator ... | 46692 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46692/b8923cfeee58eb44e10777e724bb177e6a77b146/Editor.java/buggy/app/Editor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1086,
1435,
288,
1850,
775,
288,
5411,
368,
6494,
2216,
273,
18534,
18,
291,
9313,
1435,
692,
5411,
368,
7771,
1593,
18,
6530,
9313,
1435,
294,
18534,
18,
6530,
23696,
5621,
54... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1086,
1435,
288,
1850,
775,
288,
5411,
368,
6494,
2216,
273,
18534,
18,
291,
9313,
1435,
692,
5411,
368,
7771,
1593,
18,
6530,
9313,
1435,
294,
18534,
18,
6530,
23696,
5621,
54... |
if(FileUtil.isLocalResource(uri)) { try { this.in = new BufferedInputStream(new FileInputStream(new File(uri))); this.source = IImage.FILE_IMAGE; } catch (FileNotFoundException e) { logger.log(Level.SEVERE, e.getMessage(), e); } } else | if( !FileUtil.isLocalResource( uri ) ) | public Image(String uri) { if( uri == null || uri.length( ) == 0 ) { return; } id = uri; if(FileUtil.isLocalResource(uri)) { try { this.in = new BufferedInputStream(new FileInputStream(new File(uri))); this.source = IImage.FILE_IMAGE; } catch (FileNotFoundException e) { logger.log(Level.SE... | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/e29ffc4317fc1dab71e811072bd49e7d35a106d8/Image.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/Image.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3421,
12,
780,
2003,
13,
202,
95,
202,
202,
430,
12,
2003,
422,
446,
747,
2003,
18,
2469,
12,
262,
422,
374,
262,
202,
202,
95,
1082,
202,
2463,
31,
202,
202,
97,
9506,
20... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3421,
12,
780,
2003,
13,
202,
95,
202,
202,
430,
12,
2003,
422,
446,
747,
2003,
18,
2469,
12,
262,
422,
374,
262,
202,
202,
95,
1082,
202,
2463,
31,
202,
202,
97,
9506,
20... |
} | } | public final String getName(int ordinal) { Util.assertPrecondition(isImmutable()); final Value value = ordinalToValueMap[ordinal - min]; if (value == null) { return null; } else { return value.getName(); } } | 4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/b5b5168edc3af09cb74945a80b0c36e6630ed502/EnumeratedValues.java/clean/src/main/mondrian/olap/EnumeratedValues.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
514,
1723,
12,
474,
12675,
13,
202,
95,
202,
202,
1304,
18,
11231,
1386,
4175,
12,
291,
16014,
10663,
3639,
727,
1445,
460,
273,
12675,
774,
26795,
63,
517,
1490,
300,
11... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
514,
1723,
12,
474,
12675,
13,
202,
95,
202,
202,
1304,
18,
11231,
1386,
4175,
12,
291,
16014,
10663,
3639,
727,
1445,
460,
273,
12675,
774,
26795,
63,
517,
1490,
300,
11... |
getClassInfo(className).addRelation(sc.toString()); | getClassInfo(className).addRelation(sc.toString(), RelationType.EXTENDS, RelationDirection.OUT); getClassInfo(sc.toString()).addRelation(className, RelationType.EXTENDS, RelationDirection.IN); | public void printRelations(ClassDoc c) { Options opt = optionProvider.getOptionsFor(c); if (hidden(c) || c.name().equals("")) // avoid phantom classes, they may pop up when the source uses annotations return; String className = c.toString(); String cs = getNodeName(c); // Print generalization (through the Java ... | 47201 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47201/b5837d284079e80770310e488e8ff9b77eeba4f9/ClassGraph.java/clean/src/gr/spinellis/umlgraph/doclet/ClassGraph.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1172,
10666,
12,
797,
1759,
276,
13,
288,
202,
1320,
2153,
273,
1456,
2249,
18,
588,
1320,
1290,
12,
71,
1769,
202,
430,
261,
6345,
12,
71,
13,
747,
276,
18,
529,
7675,
149... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1172,
10666,
12,
797,
1759,
276,
13,
288,
202,
1320,
2153,
273,
1456,
2249,
18,
588,
1320,
1290,
12,
71,
1769,
202,
430,
261,
6345,
12,
71,
13,
747,
276,
18,
529,
7675,
149... |
DocumentListener documentListener = new DocumentListener(){ | KeyListener keylName=new KeyListener() { | private void create() { panel = new JPanel(); /*errorLabel = new JLabel(); errorLabel.setForeground(Color.RED); errorLabel.setVisible(false);*/ okButton = new JButton(language.getText("apply")); okButton.setEnabled(false); cancelButton=new JButton(language.getText("cancel")); cancelButton.setEnabled( false); ... | 13357 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13357/0e18e9cb258af39050497645c17465bdb62e1ca3/ClassView.java/clean/current/src/fr/umlv/ir3/flexitime/richClient/gui/panel/management/ClassView.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
752,
1435,
202,
95,
202,
202,
13916,
273,
394,
24048,
5621,
202,
202,
20308,
1636,
2224,
273,
394,
21403,
5621,
202,
202,
1636,
2224,
18,
542,
23206,
12,
2957,
18,
5879,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
752,
1435,
202,
95,
202,
202,
13916,
273,
394,
24048,
5621,
202,
202,
20308,
1636,
2224,
273,
394,
21403,
5621,
202,
202,
1636,
2224,
18,
542,
23206,
12,
2957,
18,
5879,
... |
public static int shiftForwardUntil(CharSequence buffer, int offset, String chars) { while (true) { if (offset >= buffer.length()) break; char c = buffer.charAt(offset); int i; for (i = 0; i < chars.length(); i++) { if (c == chars.charAt(i)) break; } if (i < chars.length()) break; offset++; } return offset; | public static int shiftForwardUntil(char[] buffer, int offset, String chars) { return shiftForwardUntil(new CharArrayCharSequence(buffer), offset, chars); | public static int shiftForwardUntil(CharSequence buffer, int offset, String chars) { while (true) { if (offset >= buffer.length()) break; char c = buffer.charAt(offset); int i; for (i = 0; i < chars.length(); i++) { if (c == chars.charAt(i)) break; } if (i < chars.length()) bre... | 56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/9af33c515acae630bb8a1ebe7983db3d5ce95f46/CharArrayUtil.java/buggy/util/src/com/intellij/util/text/CharArrayUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
509,
4654,
8514,
9716,
12,
2156,
4021,
1613,
16,
509,
1384,
16,
514,
5230,
13,
288,
565,
1323,
261,
3767,
13,
288,
1377,
309,
261,
3348,
1545,
1613,
18,
2469,
10756,
898,
31,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
509,
4654,
8514,
9716,
12,
2156,
4021,
1613,
16,
509,
1384,
16,
514,
5230,
13,
288,
565,
1323,
261,
3767,
13,
288,
1377,
309,
261,
3348,
1545,
1613,
18,
2469,
10756,
898,
31,... |
public MetaClass makeMetaClass(RubyClass type) { MetaClass metaClass = type.newSingletonClass(); setMetaClass(metaClass); | public MetaClass makeMetaClass(RubyClass type, RubyModule parentModule) { MetaClass metaClass = type.newSingletonClass(parentModule); if (!isNil()) { setMetaClass(metaClass); } | public MetaClass makeMetaClass(RubyClass type) { MetaClass metaClass = type.newSingletonClass(); setMetaClass(metaClass); metaClass.attachToObject(this); return metaClass; } | 52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/32d84ae899fd3c367ef3800d0984b69f53209031/RubyObject.java/buggy/src/org/jruby/RubyObject.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
6565,
797,
1221,
2781,
797,
12,
54,
10340,
797,
618,
13,
288,
3639,
6565,
797,
2191,
797,
273,
618,
18,
2704,
19571,
797,
5621,
3639,
29234,
797,
12,
3901,
797,
1769,
3639,
2191,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
6565,
797,
1221,
2781,
797,
12,
54,
10340,
797,
618,
13,
288,
3639,
6565,
797,
2191,
797,
273,
618,
18,
2704,
19571,
797,
5621,
3639,
29234,
797,
12,
3901,
797,
1769,
3639,
2191,
... |
add(new JLabel(" Extended Addressing: ")); add(addMode.getRep("checkbox")); | if (addMode != null) { add(new JLabel(" Extended Addressing: ")); add(addMode.getRep("checkbox")); } | public DccAddressPanel(VariableTableModel mod) { variableModel = mod; setLayout(new BoxLayout(this, BoxLayout.X_AXIS)); add(new JLabel("DCC Address: ")); val.setToolTipText("This field shows the DCC address currently in use. CV1 provides the short address; CV17 & 18 provide the long address"); add(val); //... | 213 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/213/acb9bb424efbdc16d1e97dab7e63c9f5b5eca257/DccAddressPanel.java/buggy/jmrit/symbolicprog/DccAddressPanel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
463,
952,
1887,
5537,
12,
3092,
1388,
1488,
681,
13,
288,
202,
202,
6105,
1488,
273,
681,
31,
9506,
202,
542,
3744,
12,
2704,
8549,
3744,
12,
2211,
16,
8549,
3744,
18,
60,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
463,
952,
1887,
5537,
12,
3092,
1388,
1488,
681,
13,
288,
202,
202,
6105,
1488,
273,
681,
31,
9506,
202,
542,
3744,
12,
2704,
8549,
3744,
12,
2211,
16,
8549,
3744,
18,
60,
6... |
if (state) grayCheckHierarchy(parent); else ungrayCheckHierarchy(parent); | if (state) { grayCheckHierarchy(parent); } else { ungrayCheckHierarchy(parent); } | protected void treeItemChecked(Object treeElement, boolean state) { // recursively adjust all child tree elements appropriately setTreeChecked(treeElement, state); Object parent = treeContentProvider.getParent(treeElement); if (parent == null) return; // now update upwa... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/ResourceTreeAndListGroup.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/ResourceTreeAndListGroup.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
2151,
1180,
11454,
12,
921,
2151,
1046,
16,
1250,
919,
13,
288,
3639,
368,
8536,
5765,
777,
1151,
2151,
2186,
21419,
3639,
444,
2471,
11454,
12,
3413,
1046,
16,
919,
1769,
3639... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
2151,
1180,
11454,
12,
921,
2151,
1046,
16,
1250,
919,
13,
288,
3639,
368,
8536,
5765,
777,
1151,
2151,
2186,
21419,
3639,
444,
2471,
11454,
12,
3413,
1046,
16,
919,
1769,
3639... |
public void visitColon2Node(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitColon2Node(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitColon2Node(Node iVisited) { visit(iVisited); leave(iVisited); } | 45827 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45827/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/clean/org/jruby/nodes/NodeVisitorAdapter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
19636,
22,
907,
12,
907,
277,
30019,
13,
202,
95,
202,
202,
11658,
12,
77,
30019,
1769,
202,
202,
19574,
12,
77,
30019,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
19636,
22,
907,
12,
907,
277,
30019,
13,
202,
95,
202,
202,
11658,
12,
77,
30019,
1769,
202,
202,
19574,
12,
77,
30019,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
... |
table.put(id,new WeakReference<T>(cl)); reverse.put(cl,id); | table.put(id,t); reverse.put(t,id); | public synchronized int intern(T cl) { if(cl==null) return 0; // bootstrap classloader Integer id = reverse.get(cl); if(id==null) { id = iota++; table.put(id,new WeakReference<T>(cl)); reverse.put(cl,id); } return id; } | 33400 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/33400/254d101c656814c8c34d9b7b3935d70123e0ecf1/ExportTable.java/buggy/src/main/java/hudson/remoting/ExportTable.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
509,
8216,
12,
56,
927,
13,
288,
3639,
309,
12,
830,
631,
2011,
13,
565,
327,
374,
31,
282,
368,
7065,
20595,
3639,
2144,
612,
273,
4219,
18,
588,
12,
830,
1769,
3639,
309... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
509,
8216,
12,
56,
927,
13,
288,
3639,
309,
12,
830,
631,
2011,
13,
565,
327,
374,
31,
282,
368,
7065,
20595,
3639,
2144,
612,
273,
4219,
18,
588,
12,
830,
1769,
3639,
309... |
return Collections.EMPTY_LIST; | return EMPTY_LIST; | public List childNodes() { return Collections.EMPTY_LIST; } | 1060 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1060/b1293eda8454686e846e2a9837b348e2983bb423/Colon3Node.java/clean/src/org/jruby/ast/Colon3Node.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
987,
10582,
1435,
288,
3639,
327,
8984,
67,
7085,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
987,
10582,
1435,
288,
3639,
327,
8984,
67,
7085,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
buf.append(sep.getValue()); | buf.append(sep.toString()); | public RubyString join(RubyString sep) { StringBuffer buf = new StringBuffer(); int length = getLength(); if (length == 0) { getRuntime().newString(""); } boolean taint = isTaint() || sep.isTaint(); RubyString str; IRubyObject tmp = null; for (long ... | 1060 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1060/9f2efc63a858fa0507245b207025eab027840a04/RubyArray.java/buggy/src/org/jruby/RubyArray.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
780,
1233,
12,
54,
10340,
780,
5478,
13,
288,
3639,
6674,
1681,
273,
394,
6674,
5621,
3639,
509,
769,
273,
9888,
5621,
3639,
309,
261,
2469,
422,
374,
13,
288,
5411,
18814,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
780,
1233,
12,
54,
10340,
780,
5478,
13,
288,
3639,
6674,
1681,
273,
394,
6674,
5621,
3639,
509,
769,
273,
9888,
5621,
3639,
309,
261,
2469,
422,
374,
13,
288,
5411,
18814,
... |
smearTerm = (float) unigramSmearTerm[wordID]; | smearTerm = unigramSmearTerm[wordID]; | public float getSmear(WordSequence wordSequence) { float smearTerm = 1.0f; if (fullSmear) { smearCount++; int length = wordSequence.size(); if (length == 1) { int wordID = getWordID(wordSequence.getWord(0)); smearTerm = (float) unigramSmea... | 8350 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8350/5260440040976f842c028c8f42eddeb7ec697f78/LargeTrigramModel.java/buggy/src/sphinx4/edu/cmu/sphinx/linguist/language/ngram/large/LargeTrigramModel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1431,
1322,
81,
2091,
12,
3944,
4021,
2076,
4021,
13,
288,
3639,
1431,
3029,
2091,
4065,
273,
404,
18,
20,
74,
31,
3639,
309,
261,
2854,
9552,
2091,
13,
288,
5411,
3029,
2091,
138... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1431,
1322,
81,
2091,
12,
3944,
4021,
2076,
4021,
13,
288,
3639,
1431,
3029,
2091,
4065,
273,
404,
18,
20,
74,
31,
3639,
309,
261,
2854,
9552,
2091,
13,
288,
5411,
3029,
2091,
138... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.