rem stringlengths 1 53.3k | add stringlengths 0 80.5k | context stringlengths 6 326k | meta stringlengths 141 403 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|---|
g.drawImage(scaledSpectrogram, 0, 0, (ImageObserver) null); | g.drawImage(scaledSpectrogram, 0, 0, null); | public void paint(Graphics g) { /** * Fill in the whole image with white. */ Dimension sz = getSize(); g.setColor(Color.WHITE); g.fillRect(0, 0, sz.width - 1, sz.height - 1); if (spectrogram != null) { g.drawImage(scaledSpectrogram, 0, 0, (ImageObserver)... | 8321 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8321/d773e50cf942e4e6e4a1c39536fcd3b2454744ea/SpectrogramPanel.java/buggy/sphinx4/src/sphinx4/edu/cmu/sphinx/tools/audio/SpectrogramPanel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
12574,
12,
17558,
314,
13,
288,
3639,
1783,
540,
380,
14192,
316,
326,
7339,
1316,
598,
9578,
18,
540,
1195,
3639,
13037,
11262,
273,
9950,
5621,
3639,
314,
18,
542,
2957,
12,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
12574,
12,
17558,
314,
13,
288,
3639,
1783,
540,
380,
14192,
316,
326,
7339,
1316,
598,
9578,
18,
540,
1195,
3639,
13037,
11262,
273,
9950,
5621,
3639,
314,
18,
542,
2957,
12,
... |
return MOVE_FOLDED; | return DefUseEffect.MOVE_FOLDED; | private static byte longShl(OPT_Instruction s) { if (CF_LONG) { OPT_Operand op2 = Binary.getVal2(s); if (op2.isIntConstant()) { int val2 = op2.asIntConstant().value; OPT_Operand op1 = Binary.getVal1(s); if (op1.isLongConstant()) { // BOTH CONSTANTS: FOLD long val1 = ... | 4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/582eb14323a5e74a2c99b6035e34aa59e229d896/OPT_Simplifier.java/clean/rvm/src/com/ibm/jikesrvm/opt/OPT_Simplifier.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
1160,
1525,
1555,
80,
12,
15620,
67,
11983,
272,
13,
288,
282,
309,
261,
8955,
67,
14639,
13,
288,
1377,
16456,
67,
10265,
1061,
22,
273,
7896,
18,
588,
3053,
22,
12,
87,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
1160,
1525,
1555,
80,
12,
15620,
67,
11983,
272,
13,
288,
282,
309,
261,
8955,
67,
14639,
13,
288,
1377,
16456,
67,
10265,
1061,
22,
273,
7896,
18,
588,
3053,
22,
12,
87,
1... |
if (set == null) { | if ( set == null ) { | public static String getValueFromChoiceSet(String displayName, IChoiceSet set) { String value = displayName; if (set == null) { return value; } IChoice[] choices = set.getChoices(); if (choices == null) { return value; } for (int i = 0; i < choices.length; i++) { if (choices[i].getDisplayName().equals(d... | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/7ca10c49a247dfe395b2e0483af9946ea07fe89b/ChoiceSetFactory.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/views/attributes/providers/ChoiceSetFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
514,
2366,
1265,
10538,
694,
12,
780,
16218,
16,
1082,
202,
45,
10538,
694,
444,
13,
288,
202,
202,
780,
460,
273,
16218,
31,
202,
202,
430,
261,
542,
422,
446,
13,
288... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
514,
2366,
1265,
10538,
694,
12,
780,
16218,
16,
1082,
202,
45,
10538,
694,
444,
13,
288,
202,
202,
780,
460,
273,
16218,
31,
202,
202,
430,
261,
542,
422,
446,
13,
288... |
for (int i = 0; i < attrsEnd; i++) | AttrImpl attr = m_firstAttr; while (null != attr) | 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... |
Double o0 = getDoubleArg(evaluator, args, 0); return new Double(- o0.doubleValue()); | Double o0 = getDoubleArg(evaluator, args, 0), o1 = getDoubleArg(evaluator, args, 1); return new Double(o0.doubleValue() - o1.doubleValue()); | public Object evaluate(Evaluator evaluator, Exp[] args) { Double o0 = getDoubleArg(evaluator, args, 0); return new Double(- o0.doubleValue()); } | 37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/3d57e0d95581f154be9f8c4d0e69c51f642272b8/BuiltinFunTable.java/clean/src/main/mondrian/olap/fun/BuiltinFunTable.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
1033,
5956,
12,
15876,
18256,
16,
7784,
8526,
833,
13,
288,
9506,
202,
5265,
320,
20,
273,
16097,
4117,
12,
14168,
639,
16,
833,
16,
374,
1769,
9506,
202,
2463,
394,
3698,
19... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
1033,
5956,
12,
15876,
18256,
16,
7784,
8526,
833,
13,
288,
9506,
202,
5265,
320,
20,
273,
16097,
4117,
12,
14168,
639,
16,
833,
16,
374,
1769,
9506,
202,
2463,
394,
3698,
19... |
public org.quickfix.field.UnderlyingSecurityID getUnderlyingSecurityID() throws FieldNotFound { org.quickfix.field.UnderlyingSecurityID value = new org.quickfix.field.UnderlyingSecurityID(); | public quickfix.field.UnderlyingSecurityID getUnderlyingSecurityID() throws FieldNotFound { quickfix.field.UnderlyingSecurityID value = new quickfix.field.UnderlyingSecurityID(); | public org.quickfix.field.UnderlyingSecurityID getUnderlyingSecurityID() throws FieldNotFound { org.quickfix.field.UnderlyingSecurityID value = new org.quickfix.field.UnderlyingSecurityID(); getField(value); return value; } | 8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/SecurityDefinition.java/clean/src/java/src/quickfix/fix44/SecurityDefinition.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
4368,
734,
10833,
765,
6291,
4368,
734,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
4368,
734... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
4368,
734,
10833,
765,
6291,
4368,
734,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
14655,
6291,
4368,
734... |
includeModule(getRuntime().getClasses().getEnumerableModule()); | includeModule(getRuntime().getModule("Enumerable")); | protected void initializeClass() { includeModule(getRuntime().getClasses().getEnumerableModule()); defineMethod("chr", Arity.noArguments()); defineMethod("downto", Arity.singleArgument()); defineMethod("integer?", Arity.noArguments(), "int_p"); defineMethod("next", Arity.no... | 1060 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1060/ca6b16e996ea9af83ce593594b9c69b9364a9924/IntegerMetaClass.java/buggy/src/org/jruby/runtime/builtin/meta/IntegerMetaClass.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
4046,
797,
1435,
288,
3639,
2341,
3120,
12,
588,
5576,
7675,
588,
3120,
2932,
3572,
25121,
7923,
1769,
7734,
4426,
1305,
2932,
15182,
3113,
1201,
560,
18,
2135,
4628,
10663,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4046,
797,
1435,
288,
3639,
2341,
3120,
12,
588,
5576,
7675,
588,
3120,
2932,
3572,
25121,
7923,
1769,
7734,
4426,
1305,
2932,
15182,
3113,
1201,
560,
18,
2135,
4628,
10663,... |
case 50: break; case 28: | case 48: break; case 27: | public Yytoken yylex() throws java.io.IOException { int zzInput; int zzAction; // cached fields: int zzCurrentPosL; int zzMarkedPosL; int zzEndReadL = zzEndRead; char [] zzBufferL = zzBuffer; char [] zzCMapL = ZZ_CMAP; int [] zzTransL = ZZ_TRANS; int [] zzRowMapL = ZZ_ROWMAP; int [] z... | 45341 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45341/8611b2af3ba1b1861afc23367621eb525f20ee2a/CSSTokenizerFilter.java/buggy/src/freenet/clients/http/filter/CSSTokenizerFilter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1624,
93,
2316,
677,
1362,
92,
1435,
1216,
2252,
18,
1594,
18,
14106,
288,
565,
509,
11273,
1210,
31,
565,
509,
11273,
1803,
31,
565,
368,
3472,
1466,
30,
565,
509,
11273,
3935,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1624,
93,
2316,
677,
1362,
92,
1435,
1216,
2252,
18,
1594,
18,
14106,
288,
565,
509,
11273,
1210,
31,
565,
509,
11273,
1803,
31,
565,
368,
3472,
1466,
30,
565,
509,
11273,
3935,
1... |
while (e.hasMoreElements()) { | while (e.hasMoreElements()) { | public void setBounds(int x, int y, int w, int h, int edges) { if (_name == null) return; Rectangle oldBounds = getBounds(); Dimension nameMin = _name.getMinimumSize(); int mainX = 0; int mainY = 0; int mainW = 0; int mainH = 0; int lifeX = 0; int lifeY = 0; int lifeW = 0; int lifeH = 0; int portX =... | 7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/FigSeqObject.java/buggy/src_new/org/argouml/uml/diagram/sequence/ui/FigSeqObject.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
5694,
12,
474,
619,
16,
509,
677,
16,
509,
341,
16,
509,
366,
16,
509,
5231,
13,
288,
565,
309,
261,
67,
529,
422,
446,
13,
327,
31,
565,
13264,
1592,
5694,
273,
221... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
5694,
12,
474,
619,
16,
509,
677,
16,
509,
341,
16,
509,
366,
16,
509,
5231,
13,
288,
565,
309,
261,
67,
529,
422,
446,
13,
327,
31,
565,
13264,
1592,
5694,
273,
221... |
int c1 = decodeIntBigEndian(encode); int c2 = decodeIntBigEndian(encode); return ((long) c1 << 32) + (c2 & 0xffffffffL); } | int c1 = decodeIntBigEndian(encode); int c2 = decodeIntBigEndian(encode); return ((long) c1 << 32) + (c2 & 0xffffffffL); } | private static long decodeLongBigEndian(PtrList encode) { int c1 = decodeIntBigEndian(encode); int c2 = decodeIntBigEndian(encode); return ((long) c1 << 32) + (c2 & 0xffffffffL); } | 49687 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49687/415b1e0db282c02d672a7e34a34a2bea0f69ccb2/Pack.java/buggy/src/org/jruby/util/Pack.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
1525,
2495,
3708,
9901,
7583,
12,
5263,
682,
2017,
13,
288,
202,
565,
509,
276,
21,
273,
2495,
1702,
9901,
7583,
12,
3015,
1769,
202,
565,
509,
276,
22,
273,
2495,
1702,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
1525,
2495,
3708,
9901,
7583,
12,
5263,
682,
2017,
13,
288,
202,
565,
509,
276,
21,
273,
2495,
1702,
9901,
7583,
12,
3015,
1769,
202,
565,
509,
276,
22,
273,
2495,
1702,... |
this.runtime = runtime; | public void init(Ruby runtime, List additionalDirectories) { this.runtime = runtime; for (Iterator iter = additionalDirectories.iterator(); iter.hasNext();) { loadPath.add(RubyString.newString(runtime, (String)iter.next())); } if (runtime.getSafeLevel() == 0) { load... | 45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/5d81c9b241cfde36fd62602eb41786ab5a0cd134/LoadService.java/buggy/org/jruby/internal/runtime/load/LoadService.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1208,
12,
54,
10340,
3099,
16,
987,
3312,
13071,
13,
288,
2868,
364,
261,
3198,
1400,
273,
3312,
13071,
18,
9838,
5621,
1400,
18,
5332,
2134,
5621,
13,
288,
5411,
1262,
743,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1208,
12,
54,
10340,
3099,
16,
987,
3312,
13071,
13,
288,
2868,
364,
261,
3198,
1400,
273,
3312,
13071,
18,
9838,
5621,
1400,
18,
5332,
2134,
5621,
13,
288,
5411,
1262,
743,
... | |
log.info("Stopped " + getObjectName()); | log.info("Stopped " + getName()); | public void doStop() throws Exception { log.info("Stopped " + getObjectName()); } | 12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/5c788225030ea2bb15cb5f3f9696c52b755b6d54/InteropGBean.java/clean/modules/interop/src/java/org/apache/geronimo/interop/InteropGBean.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
741,
4947,
1435,
1216,
1185,
288,
3639,
613,
18,
1376,
2932,
15294,
315,
397,
1723,
10663,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
741,
4947,
1435,
1216,
1185,
288,
3639,
613,
18,
1376,
2932,
15294,
315,
397,
1723,
10663,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
jf.show(); } catch (Exception ex) { ex.printStackTrace(); } } | jf.show(); } catch (Exception ex) { ex.printStackTrace(); } } | private void newJDBCExplorerMenuItemActionPerformed(java.awt.event.ActionEvent evt) { try { JInternalFrame jf = new JInternalFrame(); jf.setTitle("JDBC Explorer - " + this.jdbcConnectionUrl); Class.forName(this.jdbcDriverClassName); java.sql.Connection con = java.sql.DriverManager.getConnection(this.jdbcConn... | 37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/b5b5168edc3af09cb74945a80b0c36e6630ed502/Workbench.java/clean/src/main/mondrian/gui/Workbench.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
394,
30499,
20938,
12958,
19449,
12,
6290,
18,
2219,
88,
18,
2575,
18,
1803,
1133,
6324,
13,
202,
95,
202,
202,
698,
202,
202,
95,
1082,
202,
46,
3061,
3219,
525,
74,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
394,
30499,
20938,
12958,
19449,
12,
6290,
18,
2219,
88,
18,
2575,
18,
1803,
1133,
6324,
13,
202,
95,
202,
202,
698,
202,
202,
95,
1082,
202,
46,
3061,
3219,
525,
74,
... |
throw new UnsupportedOperationException(); | throw new UnsupportedRepositoryOperationException(); | public VersionHistory getVersionHistory() throws RepositoryException { // TODO Auto-generated method stub // return null; throw new UnsupportedOperationException(); } | 49304 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49304/9a4d2d514f3034e7f39869df9e9bb9c1e8bc021e/ClientNode.java/clean/contrib/jcr-rmi/src/java/org/apache/jackrabbit/rmi/client/ClientNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4049,
5623,
8343,
5623,
1435,
1216,
13367,
288,
3639,
368,
2660,
8064,
17,
11168,
707,
7168,
3639,
368,
327,
446,
31,
3639,
604,
394,
7221,
3305,
10602,
5621,
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,
4049,
5623,
8343,
5623,
1435,
1216,
13367,
288,
3639,
368,
2660,
8064,
17,
11168,
707,
7168,
3639,
368,
327,
446,
31,
3639,
604,
394,
7221,
3305,
10602,
5621,
565,
289,
2,
-100,
-10... |
Closure closure = (Closure)getPropertyValue(propertyDescriptor.getName(), Closure.class); | closure = (Closure)getPropertyValue(propertyDescriptor.getName(), Closure.class); | public DefaultGrailsControllerClass(Class clazz) { super(clazz, CONTROLLER); String uri = SLASH + (StringUtils.isNotBlank(getPackageName()) ? getPackageName().replace('.', '/') + SLASH : "" ) + WordUtils.uncapitalize(getName()); String defaultClosureName = (String)getPropertyValue(DEFAULT_CLOSURE_PROPERTY, String.... | 52953 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52953/d97b70157b5e91dc25ea3dcc0ce1a185bd3e2468/DefaultGrailsControllerClass.java/buggy/src/commons/org/codehaus/groovy/grails/commons/DefaultGrailsControllerClass.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2989,
14571,
14573,
2933,
797,
12,
797,
4003,
13,
288,
202,
202,
9565,
12,
830,
3638,
16,
8020,
25353,
1769,
202,
202,
780,
2003,
273,
348,
16504,
397,
261,
780,
1989,
18,
291... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2989,
14571,
14573,
2933,
797,
12,
797,
4003,
13,
288,
202,
202,
9565,
12,
830,
3638,
16,
8020,
25353,
1769,
202,
202,
780,
2003,
273,
348,
16504,
397,
261,
780,
1989,
18,
291... |
public Object clone() throws CloneNotSupportedException { | public Object clone() { | public Object clone() throws CloneNotSupportedException { SetOfReactions clone = (SetOfReactions)super.clone(); // clone the reactions clone.reactionCount = this.reactionCount; clone.reactions = new Reaction[clone.reactionCount]; for (int f = 0; f < clone.reactionCount; f++) { clone.reactions[f] = (... | 46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/b9ce725c806d0d5ec8a14eb18a4b2f66906d8fb7/SetOfReactions.java/buggy/src/org/openscience/cdk/SetOfReactions.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
3236,
1435,
1216,
12758,
25482,
288,
202,
202,
694,
951,
426,
4905,
3236,
273,
261,
694,
951,
426,
4905,
13,
9565,
18,
14056,
5621,
3639,
368,
3236,
326,
28389,
3639,
3236... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1033,
3236,
1435,
1216,
12758,
25482,
288,
202,
202,
694,
951,
426,
4905,
3236,
273,
261,
694,
951,
426,
4905,
13,
9565,
18,
14056,
5621,
3639,
368,
3236,
326,
28389,
3639,
3236... |
i = (iCode[pc + 1] << 8) | (iCode[pc + 2] & 0xFF); stack[++stackTop] = new NativeClosure(cx, scope, theData.itsNestedFunctions[i]); | i = (iCode[pc + 1] << 8) | (iCode[pc + 2] & 0xFF); if (theData.itsNestedFunctions[i] instanceof InterpretedFunction) stack[++stackTop] = new InterpretedFunction( (InterpretedFunction) (theData.itsNestedFunctions[i]), scope); else stack[++stackTop] = ScriptRuntime.createFunctionObject(scope, theData.itsNestedFunctions[i... | public static Object interpret(InterpreterData theData) throws JavaScriptException { Object lhs; Object[] stack = new Object[theData.itsMaxStack]; int stackTop = -1; byte[] iCode = theData.itsICode; int pc = 0; int iCodeLength = theData.itsICodeTop; ... | 12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/101526bdda97da86bcdca8ee8bbac1f6984c3417/Interpreter.java/clean/src/org/mozilla/javascript/Interpreter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1033,
10634,
12,
30010,
751,
326,
751,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
1033,
8499,
31,
3639,
1033,
8526,
2110,
273,
394,
1033,
63,
5787,
751,
18,
1282,
2747,
2624,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1033,
10634,
12,
30010,
751,
326,
751,
13,
3639,
1216,
11905,
503,
565,
288,
3639,
1033,
8499,
31,
3639,
1033,
8526,
2110,
273,
394,
1033,
63,
5787,
751,
18,
1282,
2747,
2624,
... |
emailText.append("\n ID: ").append( HandleManager.getCanonicalForm(hii.handle)).append( "\n\n"); | public static void sendEmail(Context context, EPerson eperson, List collections) throws IOException, MessagingException, SQLException { // Get the start and end dates for yesterday Date thisTimeYesterday = new Date(System.currentTimeMillis() - (24 * 60 * 60 * 10... | 31338 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31338/52cc683e558662b1c363cc18689e4e091e3f4cb3/Subscribe.java/buggy/dspace/src/org/dspace/eperson/Subscribe.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
1366,
4134,
12,
1042,
819,
16,
512,
8346,
5529,
3565,
16,
5411,
987,
6980,
13,
1216,
1860,
16,
23794,
503,
16,
5411,
6483,
565,
288,
3639,
368,
968,
326,
787,
471,
679,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
1366,
4134,
12,
1042,
819,
16,
512,
8346,
5529,
3565,
16,
5411,
987,
6980,
13,
1216,
1860,
16,
23794,
503,
16,
5411,
6483,
565,
288,
3639,
368,
968,
326,
787,
471,
679,
... | |
public ProtomechPhysicalAttackAction(int entityId, int targetType, int targetId) { super(entityId, targetType, targetId); | public ProtomechPhysicalAttackAction(int entityId, int targetId) { super(entityId, targetId); | public ProtomechPhysicalAttackAction(int entityId, int targetType, int targetId) { super(entityId, targetType, targetId); } | 3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/271ca313157c2e38a93209618453bfe25729c5c8/ProtomechPhysicalAttackAction.java/buggy/megamek/src/megamek/common/actions/ProtomechPhysicalAttackAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1186,
88,
1742,
343,
18136,
3075,
484,
1803,
12,
474,
15052,
16,
509,
16065,
16,
509,
27729,
13,
288,
3639,
2240,
12,
1096,
548,
16,
16065,
16,
27729,
1769,
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,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1186,
88,
1742,
343,
18136,
3075,
484,
1803,
12,
474,
15052,
16,
509,
16065,
16,
509,
27729,
13,
288,
3639,
2240,
12,
1096,
548,
16,
16065,
16,
27729,
1769,
565,
289,
2,
-100,
-10... |
if (getPresenceOfCarbonil(ac, atoms[i]) == 1) { | if (getPresenceOfCarbonil(ac, atoms[i])==1) { | public DescriptorValue calculate(AtomContainer ac) throws CDKException { RingSet rs = (new AllRingsFinder()).findAllRings(ac); HueckelAromaticityDetector.detectAromaticity(ac, rs, true); double xlogP = 0; org.openscience.cdk.interfaces.Atom[] atoms = ac.getAtoms(); String symbol = ""; int bondCount = 0; int hsC... | 45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/11cd872c3dbcc51a117ad375706e7a5334b88daa/XLogPDescriptor.java/clean/src/org/openscience/cdk/qsar/XLogPDescriptor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
12823,
620,
4604,
12,
3641,
2170,
1721,
13,
1216,
24570,
288,
202,
202,
10369,
694,
3597,
273,
261,
2704,
4826,
54,
899,
8441,
1435,
2934,
4720,
1595,
54,
899,
12,
1077,
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,
225,
202,
482,
12823,
620,
4604,
12,
3641,
2170,
1721,
13,
1216,
24570,
288,
202,
202,
10369,
694,
3597,
273,
261,
2704,
4826,
54,
899,
8441,
1435,
2934,
4720,
1595,
54,
899,
12,
1077,
1769,
... |
++_invoked; if (_invoked > _failFor) { Message response = mex.createMessage(mex.getOperation().getOutput().getMessage().getQName()); response.setMessage(DOMUtils.newDocument().createElementNS(NAMESPACE, "tns:ResponseElement")); mex.reply(response); } else mex.replyWithFailure(MessageExchange.FailureType.COMMUNICATION_E... | System.out.println("-- Invoke: " + mex.getOperation().getName()); if (mex.getOperation().getName().equals("invoke")) { ++_invoked; if (_invoked > _failFor) { Message response = mex.createMessage(mex.getOperation().getOutput().getMessage().getQName()); response.setMessage(DOMUtils.newDocument().createElementNS(NAMESPAC... | public void invokePartner(final PartnerRoleMessageExchange mex) throws ContextException { ++_invoked; if (_invoked > _failFor) { Message response = mex.createMessage(mex.getOperation().getOutput().getMessage().getQName()); ... | 45373 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45373/5a424b5c30fb33ea6a31f42e354ed700333c104e/ActivityRecoveryTest.java/clean/bpel-runtime/src/test/java/org/apache/ode/bpel/runtime/ActivityRecoveryTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
5397,
1071,
918,
4356,
1988,
1224,
12,
6385,
6393,
1224,
2996,
1079,
11688,
312,
338,
13,
1216,
1772,
503,
288,
13491,
965,
67,
5768,
14276,
31,
13491,
309,
261,
67,
5768,
14276,
405,
389,
687... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
5397,
1071,
918,
4356,
1988,
1224,
12,
6385,
6393,
1224,
2996,
1079,
11688,
312,
338,
13,
1216,
1772,
503,
288,
13491,
965,
67,
5768,
14276,
31,
13491,
309,
261,
67,
5768,
14276,
405,
389,
687... |
public org.quickfix.field.EncodedUnderlyingIssuer getEncodedUnderlyingIssuer() throws FieldNotFound { org.quickfix.field.EncodedUnderlyingIssuer value = new org.quickfix.field.EncodedUnderlyingIssuer(); | public quickfix.field.EncodedUnderlyingIssuer getEncodedUnderlyingIssuer() throws FieldNotFound { quickfix.field.EncodedUnderlyingIssuer value = new quickfix.field.EncodedUnderlyingIssuer(); | public org.quickfix.field.EncodedUnderlyingIssuer getEncodedUnderlyingIssuer() throws FieldNotFound { org.quickfix.field.EncodedUnderlyingIssuer value = new org.quickfix.field.EncodedUnderlyingIssuer(); getField(value); return value; } | 5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/TradeCaptureReportRequestAck.java/clean/src/java/src/quickfix/fix44/TradeCaptureReportRequestAck.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
14655,
6291,
16667,
28799,
14655,
6291,
16667,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
14655,
6291,
166... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
14655,
6291,
16667,
28799,
14655,
6291,
16667,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
14655,
6291,
166... |
log.error( ee); | log.error(ee, ee); | public void addToCache(EntityProperties ep) { try { EntityCachingService.instance().add(ep); } catch (CachingException e) { log.error( e); Exception ee = e.getRecordedException(); if (ee != null) { log.error( ee); } } } | 1895 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1895/f3dfbd2c338d262b3ab649be248a16a9a74751b4/EntityPropertyRegistry.java/clean/source/org/jasig/portal/services/EntityPropertyRegistry.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
9604,
1649,
12,
1943,
2297,
5529,
13,
288,
1377,
775,
288,
540,
3887,
17712,
1179,
18,
1336,
7675,
1289,
12,
881,
1769,
1377,
289,
1044,
261,
17712,
503,
425,
13,
288,
540,
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,
565,
1071,
918,
9604,
1649,
12,
1943,
2297,
5529,
13,
288,
1377,
775,
288,
540,
3887,
17712,
1179,
18,
1336,
7675,
1289,
12,
881,
1769,
1377,
289,
1044,
261,
17712,
503,
425,
13,
288,
540,
6... |
fDocumentHandler.characters(fString, fAugmentations); | fDocumentHandler.characters(fString, null); | protected boolean scanCDATASection(boolean complete) throws IOException, XNIException { // call handler if (fDocumentHandler != null) { fDocumentHandler.startCDATA(fAugmentations); } while (true) { if (!fEntityScanner.scanData("]]", fString)) { ... | 46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/0c89615b0bdfe565e769952ce9d81b62b7cd076a/XMLDocumentFragmentScannerImpl.java/clean/src/org/apache/xerces/impl/XMLDocumentFragmentScannerImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
1250,
4135,
10160,
789,
3033,
794,
12,
6494,
3912,
13,
540,
1216,
1860,
16,
1139,
50,
45,
503,
288,
7734,
368,
745,
1838,
3639,
309,
261,
74,
2519,
1503,
480,
446,
13,
288,
5411,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
1250,
4135,
10160,
789,
3033,
794,
12,
6494,
3912,
13,
540,
1216,
1860,
16,
1139,
50,
45,
503,
288,
7734,
368,
745,
1838,
3639,
309,
261,
74,
2519,
1503,
480,
446,
13,
288,
5411,
... |
dTValidators.addElement((DatatypeValidator)baseValidator); | if (baseValidator.getVariety() == XSSimpleType.VARIETY_UNION) { XSSimpleType[] types = ((XSUnionSimpleType)baseValidator).getMemberTypes(); for (int j = 0; j < types.length; j++) dTValidators.addElement(types[j]); } else { dTValidators.addElement(baseValidator); } | private DatatypeValidator traverseSimpleTypeDecl(Element simpleTypeDecl, Object[] attrValues, XSDocumentInfo schemaDoc, SchemaGrammar grammar, boolean isGlobal) { String nameProperty = (String)attrValues[... | 46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/71823bb76fbbe51476f8c4f76984133133ae289e/XSDSimpleTypeTraverser.java/clean/src/org/apache/xerces/impl/xs/traversers/XSDSimpleTypeTraverser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
21168,
5126,
10080,
5784,
559,
3456,
12,
1046,
4143,
559,
3456,
16,
1033,
8526,
1604,
1972,
16,
4766,
5397,
1139,
55,
2519,
966,
1963,
1759,
16,
4766,
5397,
4611,
18576,
6473,
16,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
21168,
5126,
10080,
5784,
559,
3456,
12,
1046,
4143,
559,
3456,
16,
1033,
8526,
1604,
1972,
16,
4766,
5397,
1139,
55,
2519,
966,
1963,
1759,
16,
4766,
5397,
4611,
18576,
6473,
16,
1... |
if (lhsType == null) { | if(lhsType == null){ | public void visitBinaryExpression(@NotNull PsiBinaryExpression expression) { super.visitBinaryExpression(expression); final PsiJavaToken sign = expression.getOperationSign(); final IElementType tokenType = sign.getTokenType(); if(!bitwiseTokens.contains(tokenType)) ... | 12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/e4dba42c27333ff3aa3a021da7c8754469f669b6/PointlessBitwiseExpressionInspection.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/bitwise/PointlessBitwiseExpressionInspection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
3757,
5905,
2300,
26964,
5962,
453,
7722,
5905,
2300,
2652,
13,
288,
5411,
2240,
18,
11658,
5905,
2300,
12,
8692,
1769,
5411,
727,
453,
7722,
5852,
1345,
1573,
273,
2652,
18,
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,
540,
1071,
918,
3757,
5905,
2300,
26964,
5962,
453,
7722,
5905,
2300,
2652,
13,
288,
5411,
2240,
18,
11658,
5905,
2300,
12,
8692,
1769,
5411,
727,
453,
7722,
5852,
1345,
1573,
273,
2652,
18,
5... |
eventPacket = new WellFormedEventPacket(0, timeStamp, | eventPacket = new WellFormedEventPacket(timeStamp, | public final WellFormedEventPacket read() throws EventReaderException { logger.entering(this.getClass().getName(), "read"); WellFormedEventPacket eventPacket = null; boolean codechange = false; int lineNumber = 0; String line = null; String code = null; StringTokeniz... | 10374 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10374/569a5adfe4ad52083eb95ada00e87b318d44ad17/FileReaderThread.java/buggy/trunk/modules/ECG_FileSystemSourceModule/src/org/electrocodeogram/module/source/implementation/FileReaderThread.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
678,
1165,
1204,
329,
1133,
6667,
855,
1435,
1216,
2587,
2514,
503,
288,
3639,
1194,
18,
2328,
310,
12,
2211,
18,
588,
797,
7675,
17994,
9334,
315,
896,
8863,
3639,
678,
1165,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
678,
1165,
1204,
329,
1133,
6667,
855,
1435,
1216,
2587,
2514,
503,
288,
3639,
1194,
18,
2328,
310,
12,
2211,
18,
588,
797,
7675,
17994,
9334,
315,
896,
8863,
3639,
678,
1165,
... |
Integer childNumberFlag = (Integer)(node.getProp(Node.ISNUMBER_PROP)); if (childNumberFlag == null) { | int childNumberFlag = node.getIntProp(Node.ISNUMBER_PROP, -1); if (childNumberFlag == -1) { | private void visitBitOp(Node node, int type, Node child) { Integer childNumberFlag = (Integer)(node.getProp(Node.ISNUMBER_PROP)); if (childNumberFlag == null) { addByteCode(ByteCode.NEW, "java/lang/Double"); addByteCode(ByteCode.DUP); } generateCodeFromNode(child, n... | 47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/7f850f6162d49fce5f2a418eb4b32ba1cf9d58bf/Codegen.java/clean/src/org/mozilla/javascript/optimizer/Codegen.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3757,
5775,
3817,
12,
907,
756,
16,
509,
618,
16,
2029,
1151,
13,
288,
3639,
2144,
1151,
1854,
4678,
273,
261,
4522,
21433,
2159,
18,
588,
4658,
12,
907,
18,
5127,
9931,
67,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3757,
5775,
3817,
12,
907,
756,
16,
509,
618,
16,
2029,
1151,
13,
288,
3639,
2144,
1151,
1854,
4678,
273,
261,
4522,
21433,
2159,
18,
588,
4658,
12,
907,
18,
5127,
9931,
67,
... |
int tolerance= name1len / 4 + 1; | int tolerance= name2len / 4 + 1; | public static int getSimilarity(String name1, String name2) { if (name1.length() > name2.length()) { String tmp= name1; name1= name2; name2= tmp; } int name1len= name1.length(); int name2len= name2.length(); int nMatched= 0; int i= 0; while (i < name1len && isSimilarChar(name1.charAt(i), name2.charAt... | 9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/39a996b77e4ab83f1d7e492f9b2414d25444b47e/NameMatcher.java/clean/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NameMatcher.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
509,
1322,
381,
5611,
560,
12,
780,
508,
21,
16,
514,
508,
22,
13,
288,
1082,
202,
430,
261,
529,
21,
18,
2469,
1435,
405,
508,
22,
18,
2469,
10756,
288,
1082,
202,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
509,
1322,
381,
5611,
560,
12,
780,
508,
21,
16,
514,
508,
22,
13,
288,
1082,
202,
430,
261,
529,
21,
18,
2469,
1435,
405,
508,
22,
18,
2469,
10756,
288,
1082,
202,
7... |
_t = __t370; | _t = __t146; | public final Expression generalComp(AST _t, PathExpr path ) throws RecognitionException, PermissionDeniedException,EXistException { Expression step; AST generalComp_AST_in = (AST)_t; step = null; PathExpr left = new PathExpr(pool); PathExpr right = new PathExpr(pool); if (_t==null) _t=ASTNULL; swit... | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/bfcf33dba9c98234a0edaa282c8909b27b6a6ac4/XPathTreeParser2.java/clean/src/org/exist/parser/XPathTreeParser2.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
5371,
225,
7470,
2945,
12,
9053,
389,
88,
16,
202,
202,
743,
4742,
589,
202,
13,
1216,
9539,
16,
8509,
15877,
16,
2294,
376,
503,
288,
202,
202,
2300,
2235,
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,
225,
202,
482,
727,
5371,
225,
7470,
2945,
12,
9053,
389,
88,
16,
202,
202,
743,
4742,
589,
202,
13,
1216,
9539,
16,
8509,
15877,
16,
2294,
376,
503,
288,
202,
202,
2300,
2235,
31,
9506,
2... |
public void refresh(ProjectDirNode node) { | public void refresh(File projectDirectory) { int index = Collections.binarySearch(root.getChildren(), new ProjectDirNode(projectDirectory), PROJECT_DIR_COMPARATOR); ProjectDirNode node = (ProjectDirNode) root.getChildAt(index); | public void refresh(ProjectDirNode node) { node.removeAllChildren(); node.refresh(); nodeStructureChanged(node); } | 57344 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57344/16d386d9ca15d34532d03f2475c45bf609fa4b0d/ProjectDirModel.java/buggy/clients/JavaGE/src/org/genepattern/gpge/ui/project/ProjectDirModel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
4460,
12,
812,
1984,
2853,
13,
288,
509,
770,
273,
225,
5737,
18,
8578,
2979,
12,
3085,
18,
588,
4212,
9334,
394,
5420,
1621,
907,
12,
4406,
2853,
3631,
22489,
67,
4537,
67,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
4460,
12,
812,
1984,
2853,
13,
288,
509,
770,
273,
225,
5737,
18,
8578,
2979,
12,
3085,
18,
588,
4212,
9334,
394,
5420,
1621,
907,
12,
4406,
2853,
3631,
22489,
67,
4537,
67,
... |
} | } else if (mType.isShield()) { nDamage = mType.getDamageAbsorption(entity,club.getLocation()); } | public static int getDamageFor(Entity entity, Mounted club) { MiscType mType = (MiscType)(club.getType()); int nDamage = (int)Math.floor(entity.getWeight() / 5.0); if (mType.hasSubType(MiscType.S_SWORD)) { nDamage = (int)(Math.ceil(entity.getWeight() / 10.0) + 1.0); } else if ... | 3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/b501691d3f8bc134c6e4b89d5be233f694363c9b/ClubAttackAction.java/clean/megamek/src/megamek/common/actions/ClubAttackAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
509,
2343,
301,
410,
1290,
12,
1943,
1522,
16,
13076,
329,
927,
373,
13,
288,
3639,
16584,
71,
559,
312,
559,
273,
261,
11729,
71,
559,
21433,
830,
373,
18,
588,
559,
10663,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
509,
2343,
301,
410,
1290,
12,
1943,
1522,
16,
13076,
329,
927,
373,
13,
288,
3639,
16584,
71,
559,
312,
559,
273,
261,
11729,
71,
559,
21433,
830,
373,
18,
588,
559,
10663,
... |
if (result==null || ERXUtilities.booleanValue(result)) { | if (result==null || ERXValueUtilities.booleanValue(result)) { | public void switchSubmitTab() { Object result = null; if (submitActionName() != null && !submitActionName().equals("")) { //FIXME: This should be more robust. result = parent() != null ? parent().valueForKey(submitActionName()) : null; } if (result==null || ERXUtilities.booleanVa... | 50512 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50512/030cb3f23617518601f8abfb46f84c89445f1881/ERXTabPanel.java/clean/Common/Frameworks/ERExtensions/Sources/er/extensions/ERXTabPanel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1620,
11620,
5661,
1435,
288,
3639,
1033,
563,
273,
446,
31,
3639,
309,
261,
9297,
31149,
1435,
480,
446,
597,
401,
9297,
31149,
7675,
14963,
2932,
6,
3719,
288,
202,
565,
368,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1620,
11620,
5661,
1435,
288,
3639,
1033,
563,
273,
446,
31,
3639,
309,
261,
9297,
31149,
1435,
480,
446,
597,
401,
9297,
31149,
7675,
14963,
2932,
6,
3719,
288,
202,
565,
368,... |
+ "new_wiz.gif", false); | + "new_wiz.png", false); | private final static void declareImages() { declareImage(IWorkbenchGraphicConstants.IMG_ETOOL_PIN_EDITOR, PATH_ETOOL + "pin_editor.gif", false); //$NON-NLS-1$ declareImage(IWorkbenchGraphicConstants.IMG_ETOOL_PIN_EDITOR_DISABLED, PATH_DTOOL + "pin_editor.gif", false); //$N... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/c08575ed5ca8374be217a5cf069b0c43f641fcdb/WorkbenchImages.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchImages.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
727,
760,
918,
14196,
8946,
1435,
288,
9506,
565,
14196,
2040,
12,
45,
2421,
22144,
29459,
2918,
18,
3445,
43,
67,
1584,
51,
1741,
67,
52,
706,
67,
13208,
16,
7734,
7767,
67,
1584... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
727,
760,
918,
14196,
8946,
1435,
288,
9506,
565,
14196,
2040,
12,
45,
2421,
22144,
29459,
2918,
18,
3445,
43,
67,
1584,
51,
1741,
67,
52,
706,
67,
13208,
16,
7734,
7767,
67,
1584... |
setAttribute("type", newValue); } | setAttribute("type", newValue); } | public void setType(String newValue) { setAttribute("type", newValue); } | 6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/bf94d6634ab3635fdb8210105d9c1c839d13e555/WMLDoElementImpl.java/buggy/src/org/apache/wml/dom/WMLDoElementImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
8811,
12,
780,
6129,
13,
288,
565,
4730,
2932,
723,
3113,
6129,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
8811,
12,
780,
6129,
13,
288,
565,
4730,
2932,
723,
3113,
6129,
1769,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
increment(BIAS_TERM, delta); } | increment(BIAS_TERM, delta); } | public void incrementBias(double delta) { increment(BIAS_TERM, delta); } | 51753 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51753/ae13593fb88a52b5a14b959b7b4aaa2228c8cc16/Hyperplane.java/buggy/src/edu/cmu/minorthird/classify/algorithms/linear/Hyperplane.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
5504,
31645,
12,
9056,
3622,
13,
288,
202,
15016,
12,
38,
16133,
67,
15176,
16,
3622,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
5504,
31645,
12,
9056,
3622,
13,
288,
202,
15016,
12,
38,
16133,
67,
15176,
16,
3622,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
return addMatcher(AnyArgumentsMatcher.INSTANCE); } | return addMatcher(AnyArgumentsMatcher.INSTANCE); } | public MatchBuilder withAnyArguments() { return addMatcher(AnyArgumentsMatcher.INSTANCE); } | 57371 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57371/c26c57f3ac4851e6bc9c5df8515ac73f4045eebf/InvocationMockerBuilder.java/clean/jmock/core/src/org/jmock/builder/InvocationMockerBuilder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4639,
1263,
598,
2961,
4628,
1435,
288,
202,
202,
2463,
527,
6286,
12,
2961,
4628,
6286,
18,
13341,
1769,
202,
97,
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,
225,
202,
482,
4639,
1263,
598,
2961,
4628,
1435,
288,
202,
202,
2463,
527,
6286,
12,
2961,
4628,
6286,
18,
13341,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
dpi[11] = new DriverPropertyInfo(ProxoolConstants.VERBOSE_PROPERTY, | dpi[11] = new DriverPropertyInfo(ProxoolConstants.TRACE_PROPERTY, | public DriverPropertyInfo[] getPropertyInfo(String url, Properties info) throws SQLException { DriverPropertyInfo[] dpi = new DriverPropertyInfo[13]; ConnectionPool cp = ConnectionPoolManager.getInstance().getConnectionPool(url); if (cp != null) { ConnectionPoolDefinitionI... | 4082 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4082/21bf3495fdee3e4f74c1d65d5a61938901581158/ProxoolDriver.java/buggy/src/java/org/logicalcobwebs/proxool/ProxoolDriver.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
9396,
1396,
966,
8526,
3911,
966,
12,
780,
880,
16,
6183,
1123,
13,
5411,
1216,
6483,
288,
3639,
9396,
1396,
966,
8526,
16361,
273,
394,
9396,
1396,
966,
63,
3437,
15533,
3639,
4050... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9396,
1396,
966,
8526,
3911,
966,
12,
780,
880,
16,
6183,
1123,
13,
5411,
1216,
6483,
288,
3639,
9396,
1396,
966,
8526,
16361,
273,
394,
9396,
1396,
966,
63,
3437,
15533,
3639,
4050... |
assertTrue("0x130 should compare = to 'i'", "\u0130" .compareToIgnoreCase("i") == 0); assertTrue("0x131 should compare = to 'i'", "\u0131" .compareToIgnoreCase("i") == 0); | assertEquals("0x130 should compare = to 'i'", 0, "\u0130" .compareToIgnoreCase("i")); assertEquals("0x131 should compare = to 'i'", 0, "\u0131" .compareToIgnoreCase("i")); | public void test_compareToIgnoreCaseLjava_lang_String() { // Test for method int // java.lang.String.compareToIgnoreCase(java.lang.String) assertTrue("Returned incorrect value for first < second", "aaaaab" .compareToIgnoreCase("aaaaac") < 0); assertTrue("Returned incorrect value for first = second", "aaaaac" ... | 54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/181e940cd92dfff67639d98e991206d375a987ea/StringTest.java/buggy/modules/luni/src/test/java/tests/api/java/lang/StringTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
67,
9877,
774,
5556,
21159,
67,
4936,
67,
780,
1435,
288,
202,
202,
759,
7766,
364,
707,
509,
202,
202,
759,
2252,
18,
4936,
18,
780,
18,
9877,
774,
5556,
12,
629... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
67,
9877,
774,
5556,
21159,
67,
4936,
67,
780,
1435,
288,
202,
202,
759,
7766,
364,
707,
509,
202,
202,
759,
2252,
18,
4936,
18,
780,
18,
9877,
774,
5556,
12,
629... |
public AddressBook() { super("Address Book","addressbook"); mSortAscending = true; mColumnSorted = 0; setBackground(Color.lightGray); getContentPane().setLayout(new BorderLayout()); XMLMenuBuilder builder = new XMLMenuBuilder(defaultActions); mMenuBarCtrl = builder.buildFrom("ui/grendel.xml", this); JMenuIt... | protected AddressBook() { | public AddressBook() { super("Address Book","addressbook"); // Setting the default values to the variables mSortAscending = true; mColumnSorted = 0; setBackground(Color.lightGray); getContentPane().setLayout(new BorderLayout()); //create menubar (top) //merge both the editors commands with thi... | 11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/b13c667b376deb4a8f2c235ffd847b57616d23c4/AddressBook.java/buggy/grendel/sources/grendel/addressbook/AddressBook.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
5267,
9084,
1435,
288,
565,
2240,
2932,
1887,
20258,
15937,
2867,
3618,
8863,
565,
368,
13274,
326,
805,
924,
358,
326,
3152,
565,
312,
4416,
13665,
2846,
273,
638,
31,
565,
312,
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,
282,
1071,
5267,
9084,
1435,
288,
565,
2240,
2932,
1887,
20258,
15937,
2867,
3618,
8863,
565,
368,
13274,
326,
805,
924,
358,
326,
3152,
565,
312,
4416,
13665,
2846,
273,
638,
31,
565,
312,
14... |
throw new UnsupportedOperationException("Dimensions of a Table are attributed automagically. See the FAQ."); } | throw new UnsupportedOperationException("Dimensions of a Table are attributed automagically. See the FAQ."); } | public void setTop(int value) { throw new UnsupportedOperationException("Dimensions of a Table are attributed automagically. See the FAQ."); } | 4174 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4174/5f1d8a54e043e84fa4a9e9749fbb22aae97e3c6a/Table.java/clean/src/com/lowagie/text/Table.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
444,
3401,
12,
474,
460,
13,
288,
4202,
604,
394,
13172,
2932,
10796,
434,
279,
3555,
854,
5885,
4817,
18472,
346,
6478,
18,
2164,
326,
15064,
53,
1199,
1769,
282,
289,
2,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
444,
3401,
12,
474,
460,
13,
288,
4202,
604,
394,
13172,
2932,
10796,
434,
279,
3555,
854,
5885,
4817,
18472,
346,
6478,
18,
2164,
326,
15064,
53,
1199,
1769,
282,
289,
2,
-1... |
java.sql.ResultSet dr = connection.ExecSQL("select description from pg_description where objoid="+r.getInt(1)); | java.sql.ResultSet dr = connection.ExecSQL(null, "select description from pg_description where objoid="+r.getInt(1)); | public java.sql.ResultSet getColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException { // the field descriptors for the new ResultSet Field f[] = new Field[18]; java.sql.ResultSet r; // ResultSet for the SQL query that we need to do Vector v = ... | 11803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11803/5383b5d8ed6da5c90bcbdb63401b7d1d75db563d/DatabaseMetaData.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2252,
18,
4669,
18,
13198,
14226,
12,
780,
6222,
16,
514,
1963,
3234,
16,
514,
4775,
3234,
16,
514,
7578,
3234,
13,
1216,
6483,
225,
288,
565,
368,
326,
652,
14215,
364,
326,
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,
282,
1071,
2252,
18,
4669,
18,
13198,
14226,
12,
780,
6222,
16,
514,
1963,
3234,
16,
514,
4775,
3234,
16,
514,
7578,
3234,
13,
1216,
6483,
225,
288,
565,
368,
326,
652,
14215,
364,
326,
394,... |
m = n.getAttributes(); initialize_item_attributes(p0, m); | i = new CategoryItem(); CategoryHandler.initialize_category_item(i, n.getAttributes()); if (i != null) { MapHandler.add_map_element(p0, i.name, i); } else { java.lang.System.out.println("ERROR: Could not initialize items. The item node is null."); } | static void initialize_items(java.lang.Object p0, java.lang.Object p1) throws java.lang.Exception { org.w3c.dom.NodeList l = (org.w3c.dom.NodeList) p1; if (l != null) { java.lang.System.out.println("INFO: Initialize items."); int count = 0; int size = l.get... | 11597 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11597/c96d426cc2f3370d7d123d494396988aee4e2f45/CategoryHandler.java/buggy/trunk/src/cyboi/cyboi/CategoryHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
918,
4046,
67,
3319,
12,
6290,
18,
4936,
18,
921,
293,
20,
16,
2252,
18,
4936,
18,
921,
293,
21,
13,
1216,
2252,
18,
4936,
18,
503,
288,
3639,
2358,
18,
91,
23,
71,
18,
9859,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
918,
4046,
67,
3319,
12,
6290,
18,
4936,
18,
921,
293,
20,
16,
2252,
18,
4936,
18,
921,
293,
21,
13,
1216,
2252,
18,
4936,
18,
503,
288,
3639,
2358,
18,
91,
23,
71,
18,
9859,
... |
throw new ConfigurationException (section, "\"TemplateFile\" value \"" + templateFileString + "\" has unknown type \"" + tokens[0] + "\"."); | throw new ConfigurationException (section, "\"TemplateFile\" value \"" + config.getRawValue (section, CFG_TEMPLATE_FILE) + "\" has unknown type \"" + templateType + "\"."); | private void parseTemplateLocation (ConfigFile config, String section) throws ConfigurationException, CurnException { String templateFileString = config.getConfigurationValue (section, CFG_TEMPLATE_FILE); String[] tokens; if ( (templateFileString == null) || ... | 71 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/71/572c1f051f8e7b93fbb324cbee07154c22b31863/FreeMarkerOutputHandler.java/buggy/src/org/clapper/curn/output/freemarker/FreeMarkerOutputHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1109,
2283,
2735,
261,
13705,
642,
16,
514,
2442,
13,
3639,
1216,
22196,
16,
9079,
385,
321,
503,
565,
288,
3639,
514,
28215,
780,
273,
5411,
642,
18,
588,
1750,
620,
261,
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,
377,
3238,
918,
1109,
2283,
2735,
261,
13705,
642,
16,
514,
2442,
13,
3639,
1216,
22196,
16,
9079,
385,
321,
503,
565,
288,
3639,
514,
28215,
780,
273,
5411,
642,
18,
588,
1750,
620,
261,
34... |
if (monitor.isCanceled()) throw new InterruptedException(); | if (monitor.isCanceled()) { throw new InterruptedException(); } | protected void setupSelectionsBasedOnSelectedTypes() { ProgressMonitorDialog dialog = new ProgressMonitorJobsDialog( getContainer().getShell()); final Map selectionMap = new Hashtable(); final IElementFilter filter = new IElementFilter() { public void filterElements(Co... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/WizardFileSystemResourceImportPage1.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/wizards/datatransfer/WizardFileSystemResourceImportPage1.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
3875,
29913,
9802,
1398,
7416,
2016,
1435,
288,
3639,
10980,
7187,
6353,
6176,
273,
394,
10980,
7187,
7276,
6353,
12,
7734,
9272,
7675,
588,
13220,
10663,
3639,
727,
1635,
4421,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3875,
29913,
9802,
1398,
7416,
2016,
1435,
288,
3639,
10980,
7187,
6353,
6176,
273,
394,
10980,
7187,
7276,
6353,
12,
7734,
9272,
7675,
588,
13220,
10663,
3639,
727,
1635,
4421,
... |
token.append(ch); nextCh(); | token.append(ch); nextCh(); | int nextToken(StringBuffer token) { int sy = sy_end; token.setLength(0); while (Character.isWhitespace(ch)) nextCh(); tokenStart = s-1; switch (ch) { case '\'': case '"': { char term = ch; nextCh(); do {... | 2029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2029/daf8f9d536f62e6337708dfbc00e13c7fde04c7e/SQLParser.java/clean/src/main/net/sourceforge/jtds/jdbc/SQLParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
509,
9617,
12,
780,
1892,
1147,
13,
565,
288,
3639,
509,
1393,
273,
1393,
67,
409,
31,
3639,
1147,
18,
542,
1782,
12,
20,
1769,
3639,
1323,
261,
7069,
18,
291,
9431,
12,
343,
3719,
10... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
509,
9617,
12,
780,
1892,
1147,
13,
565,
288,
3639,
509,
1393,
273,
1393,
67,
409,
31,
3639,
1147,
18,
542,
1782,
12,
20,
1769,
3639,
1323,
261,
7069,
18,
291,
9431,
12,
343,
3719,
10... |
throw SoapFaultException.CLIENT_ERROR("invalid view: "+s+", valid values: "+Arrays.asList(View.values()), e); | throw ZClientException.CLIENT_ERROR("invalid view: "+s+", valid values: "+Arrays.asList(View.values()), e); | public static View fromString(String s) throws ServiceException { try { return View.valueOf(s); } catch (IllegalArgumentException e) { throw SoapFaultException.CLIENT_ERROR("invalid view: "+s+", valid values: "+Arrays.asList(View.values()), e); ... | 6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/e6fc801309d6e382bbb121b12ba380692e2a4b6b/ZFolder.java/clean/ZimbraServer/src/java/com/zimbra/cs/zclient/ZFolder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
760,
4441,
14855,
12,
780,
272,
13,
1216,
16489,
288,
5411,
775,
288,
7734,
327,
4441,
18,
1132,
951,
12,
87,
1769,
5411,
289,
1044,
261,
31237,
425,
13,
288,
7734,
604,
2285,
378... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
760,
4441,
14855,
12,
780,
272,
13,
1216,
16489,
288,
5411,
775,
288,
7734,
327,
4441,
18,
1132,
951,
12,
87,
1769,
5411,
289,
1044,
261,
31237,
425,
13,
288,
7734,
604,
2285,
378... |
iCodeTop = addByte(type == Token.INC ? Token.PROPINC : Token.PROPDEC, iCodeTop); | iCodeTop = addIcode(type == Token.INC ? Icode_PROPINC : Icode_PROPDEC, iCodeTop); | private int generateICode(Node node, int iCodeTop) { int type = node.getType(); Node child = node.getFirstChild(); Node firstChild = child; switch (type) { case Token.FUNCTION : { int fnIndex = node.getExistingIntProp(Node.FUNCTION_PROP); Function... | 19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/e7e3848925d289272caa163d4d470f03f2eebac5/Interpreter.java/buggy/src/org/mozilla/javascript/Interpreter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
2103,
45,
1085,
12,
907,
756,
16,
509,
277,
1085,
3401,
13,
288,
3639,
509,
618,
273,
756,
18,
588,
559,
5621,
3639,
2029,
1151,
273,
756,
18,
588,
3759,
1763,
5621,
3639,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
2103,
45,
1085,
12,
907,
756,
16,
509,
277,
1085,
3401,
13,
288,
3639,
509,
618,
273,
756,
18,
588,
559,
5621,
3639,
2029,
1151,
273,
756,
18,
588,
3759,
1763,
5621,
3639,
... |
return true; } | return true; } | boolean isActive() { return true; } | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/17f14ad47275da2da1e81cdf2eced8a7911987a9/ErrorInfo.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ErrorInfo.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1250,
15083,
1435,
288,
3639,
327,
638,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1250,
15083,
1435,
288,
3639,
327,
638,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
File[] dirs = job.getInputDirs(); String workDir = job.getWorkingDirectory(); String subdir = job.get("mapred.input.subdir"); ArrayList result = new ArrayList(); for (int i = 0; i < dirs.length; i++) { if (workDir != null && !fs.isAbsolute(dirs[i])) { dirs[i] = new File(workDir, dirs[i].toString()); } File[] dir = fs... | Path[] paths = listPaths(fs, job); File[] result = new File[paths.length]; for (int i = 0 ; i < paths.length; i++) { result[i] = new File(paths[i].toString()); | protected File[] listFiles(FileSystem fs, JobConf job) throws IOException { File[] dirs = job.getInputDirs(); String workDir = job.getWorkingDirectory(); String subdir = job.get("mapred.input.subdir"); ArrayList result = new ArrayList(); for (int i = 0; i < dirs.length; i++) { // if it is relat... | 55137 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55137/ee01fef4b4fb82c7492a4a747793839a4d14cd39/InputFormatBase.java/buggy/src/java/org/apache/hadoop/mapred/InputFormatBase.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
1387,
8526,
17852,
12,
11785,
2662,
16,
3956,
3976,
1719,
13,
565,
1216,
1860,
288,
565,
1387,
8526,
7717,
273,
1719,
18,
588,
1210,
9872,
5621,
565,
514,
1440,
1621,
273,
1719,
18,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
1387,
8526,
17852,
12,
11785,
2662,
16,
3956,
3976,
1719,
13,
565,
1216,
1860,
288,
565,
1387,
8526,
7717,
273,
1719,
18,
588,
1210,
9872,
5621,
565,
514,
1440,
1621,
273,
1719,
18,... |
crw.saveCacheDetails(ch, pref.mydatadir); | crw.saveCacheDetails(thisCache, pref.mydatadir); | public void onEvent(Event ev){ /** * User changed status or notes. */ if(ev instanceof ControlEvent && ev.type == ControlEvent.FOCUS_OUT){ if(ev.target == wayNotes){ if(wayNotes.getText().length() > 0){ ////Vm.debug("Saving!!!"); thisCache.CacheNotes = wayNotes.getText(); CacheReaderWriter crw = n... | 57191 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57191/59acb3153f78674ffd34883c452ad2427f266309/DetailsPanel.java/clean/trunk/src/CacheWolf/DetailsPanel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
603,
1133,
12,
1133,
2113,
15329,
202,
202,
26873,
202,
202,
14,
202,
1299,
3550,
1267,
578,
10913,
18,
202,
202,
5549,
202,
202,
430,
12,
14965,
1276,
8888,
1133,
597,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
603,
1133,
12,
1133,
2113,
15329,
202,
202,
26873,
202,
202,
14,
202,
1299,
3550,
1267,
578,
10913,
18,
202,
202,
5549,
202,
202,
430,
12,
14965,
1276,
8888,
1133,
597,
2... |
clipboard = new Clipboard(parent.getDisplay()); | public void createPartControl(Composite parent) { clipboard = new Clipboard(parent.getDisplay()); viewer = new TreeViewer(parent, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL); // initDrillDownAdapter(viewer); viewer.setUseHashlookup(true); viewer.setContentProvider(new WorkbenchContentProvider()); viewer.setLabelPro... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/ae9406ca544b856fdac3df1b4951b06410fdcf52/ResourceNavigator.java/buggy/bundles/org.eclipse.ui/Eclipse UI Standard Components/org/eclipse/ui/views/navigator/ResourceNavigator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
752,
1988,
3367,
12,
9400,
982,
13,
288,
202,
202,
14161,
3752,
273,
394,
385,
3169,
3752,
12,
2938,
18,
588,
4236,
10663,
202,
202,
25256,
273,
394,
4902,
18415,
12,
293... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
752,
1988,
3367,
12,
9400,
982,
13,
288,
202,
202,
14161,
3752,
273,
394,
385,
3169,
3752,
12,
2938,
18,
588,
4236,
10663,
202,
202,
25256,
273,
394,
4902,
18415,
12,
293... | |
static public void linkOldPropertyNames(Map properties) { Set entries = properties.entrySet(); Map toAdd = new HashMap(); Iterator i = entries.iterator(); while (i.hasNext()) { Map.Entry entry = (Map.Entry) i.next(); if (DEFINITIONS_CONFIG_PARAMETER_NAME.equals(entr... | 48068 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48068/d9eb3d77157701e3d92cc7587b631d8b6b34a1b1/DefinitionsFactoryConfig.java/buggy/src/share/org/apache/struts/tiles/DefinitionsFactoryConfig.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
1071,
918,
1692,
7617,
29932,
12,
863,
1790,
13,
288,
3639,
1000,
3222,
273,
1790,
18,
4099,
694,
5621,
3639,
1635,
25607,
273,
394,
4317,
5621,
3639,
4498,
277,
273,
3222,
18,
9838,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
1071,
918,
1692,
7617,
29932,
12,
863,
1790,
13,
288,
3639,
1000,
3222,
273,
1790,
18,
4099,
694,
5621,
3639,
1635,
25607,
273,
394,
4317,
5621,
3639,
4498,
277,
273,
3222,
18,
9838,... | ||
writer.write( "namespace N { " ); writer.write( " class A { " ); writer.write( " template < class T > T f();" ); writer.write( " }; " ); writer.write( "}" ); writer.write( "template <class U> U N::A::f() {} " ); | writer.write( "namespace N { " ); writer.write( " class A { " ); writer.write( " template < class T > T f();" ); writer.write( " }; " ); writer.write( "}" ); writer.write( "template <class U> U N::A::f() {} " ); | public void testClassMemberTemplate() throws Exception{ Writer writer = new StringWriter(); writer.write( "namespace N { " ); writer.write( " class A { " ); writer.write( " template < class T > T f();" ); writer.write( " }; " ); writer.write( "}" ); writer.write( "template <class U> U N::A::f() {} " );... | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/c59044d3ac5019cc32477a8f56859ef5e9b682e6/CompleteParseASTTemplateTest.java/buggy/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/CompleteParseASTTemplateTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
797,
4419,
2283,
1435,
1216,
1185,
95,
202,
202,
2289,
2633,
273,
394,
17436,
5621,
202,
202,
6299,
18,
2626,
12,
315,
4937,
423,
288,
315,
11272,
202,
202,
6299,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
797,
4419,
2283,
1435,
1216,
1185,
95,
202,
202,
2289,
2633,
273,
394,
17436,
5621,
202,
202,
6299,
18,
2626,
12,
315,
4937,
423,
288,
315,
11272,
202,
202,
6299,
1... |
IASTName[] decls = tu.getDeclarations(name_A1.resolveBinding()); assertEquals(decls.length, 2); assertEquals(decls[0], name_A1); assertEquals(decls[1], name_Adef); | IASTName[] decls = tu.getDeclarations(name_A1.resolveBinding()); assertEquals(decls.length, 2); assertEquals(decls[0], name_A1); assertEquals(decls[1], name_Adef); | public void testStructureDef() throws Exception { StringBuffer buffer = new StringBuffer(); buffer.append("struct A; \r\n"); //$NON-NLS-1$ buffer.append("struct A * a; \n"); //$NON-NLS-1$ buffer.append("struct A { int i; }; \n"); //$NON-NLS-1$ buffer.append("voi... | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/98145350e052e39e57313251e0f805a20472a08d/AST2Tests.java/buggy/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2Tests.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
1842,
6999,
3262,
1435,
1216,
1185,
288,
1377,
6674,
1613,
273,
394,
6674,
5621,
1377,
1613,
18,
6923,
2932,
1697,
432,
31,
7734,
521,
86,
64,
82,
8863,
4329,
3993,
17,
5106,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
1842,
6999,
3262,
1435,
1216,
1185,
288,
1377,
6674,
1613,
273,
394,
6674,
5621,
1377,
1613,
18,
6923,
2932,
1697,
432,
31,
7734,
521,
86,
64,
82,
8863,
4329,
3993,
17,
5106,
... |
48, 49, 0, 769, 0, 51, 52, 53, 54, 55, 56, 0, 4, 5, 6, 57, 8, 0, 0, 0, 9, 10, 0, 0, 0, 11, 0, 12, 13, 14, 96, 97, 17, 18, 0, 0, 0, 0, 98, 99, 100, 22, 23, 24, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28, ... | 48, 49, 0, 798, 0, 51, 52, 53, 54, 55, 56, 0, 483, 483, 483, 57, 483, 0, 0, 0, 483, 483, 0, 0, 0, 483, 0, 483, 483, 483, 483, 483, 483, 483, 0, 0, 0, 0, 483, 483, 483, 483, 483, 483, 483, 0, 0, 0, 0, 0, 0, 0, 0, 0, 483, ... | private static final short[] yyTable4() { return new short[] { 0, 0, 0, 19, 20, 21, 22, 23, 24, 25, 0, 0, 26, 0, 0, 0, 0, 0, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 0, 41, 42, 0... | 47134 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47134/f5c9a1ebd775712f2dc086acfce1a14a123ec632/YyTables.java/clean/src/org/jruby/parser/YyTables.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
760,
727,
3025,
8526,
9016,
1388,
24,
1435,
288,
1377,
327,
394,
3025,
8526,
288,
5411,
374,
16,
565,
374,
16,
565,
374,
16,
282,
5342,
16,
282,
4200,
16,
282,
9035,
16,
282,
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,
565,
3238,
760,
727,
3025,
8526,
9016,
1388,
24,
1435,
288,
1377,
327,
394,
3025,
8526,
288,
5411,
374,
16,
565,
374,
16,
565,
374,
16,
282,
5342,
16,
282,
4200,
16,
282,
9035,
16,
282,
11... |
try { if (prefix == null) { JLocalVariable var = context.lookupLocalVariable(ident); if (var != null) { return new JLocalVariableExpression(getTokenReference(), var).analyse(context); | new RuntimeException().printStackTrace(); try { if (prefix == null) { JLocalVariable var = context.lookupLocalVariable(ident); if (var != null) { return new JLocalVariableExpression(getTokenReference(), var).analyse(context); } if (context.lookupField(context.getClassContext().getCClass(), ident) != null) { return... | public JExpression analyse(CExpressionContext context) throws PositionedError { try { // 6.5.2 Reclassification of Contextually Ambiguous Names // If the AmbiguousName is a simple name, consisting of a single Identifier: if (prefix == null) { // If the Identifier appears within the scope of a local ... | 47772 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47772/a090084f5a188cad69e619ba8c5f1aa59a59753a/JNameExpression.java/clean/streams/src/at/dms/kjc/JNameExpression.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
804,
2300,
31087,
12,
39,
2300,
1042,
819,
13,
1216,
11010,
329,
668,
288,
565,
775,
288,
1377,
368,
1666,
18,
25,
18,
22,
868,
20251,
434,
1772,
3452,
432,
1627,
10623,
5276,
137... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
804,
2300,
31087,
12,
39,
2300,
1042,
819,
13,
1216,
11010,
329,
668,
288,
565,
775,
288,
1377,
368,
1666,
18,
25,
18,
22,
868,
20251,
434,
1772,
3452,
432,
1627,
10623,
5276,
137... |
"\t@Property constraints = {\n" + | "\tdef constraints = {\n" + | protected void onSetUp() throws Exception { Class groovyClass = cl.parseClass("public class PersistentMethodTests {\n" + "\n" + "\t@Property List optionals = [ \"age\" ];\n" + "\t\n" + "\t@Property Long id; \n" + "\t@Property Long... | 52953 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52953/dd7ca7d1686d48648d4eab36fa08f1bfb26eb0ea/PersistentMethodTests.java/buggy/test/persistence/org/codehaus/groovy/grails/orm/hibernate/PersistentMethodTests.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
603,
694,
1211,
1435,
1216,
1185,
288,
5411,
1659,
24955,
797,
273,
927,
18,
2670,
797,
2932,
482,
667,
11049,
1305,
14650,
18890,
82,
6,
397,
7734,
1548,
82,
6,
397,
7734,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
603,
694,
1211,
1435,
1216,
1185,
288,
5411,
1659,
24955,
797,
273,
927,
18,
2670,
797,
2932,
482,
667,
11049,
1305,
14650,
18890,
82,
6,
397,
7734,
1548,
82,
6,
397,
7734,
1... |
if ( DesignChoiceConstants.PARAM_TYPE_STRING .equalsIgnoreCase( dataType ) ) { pattern = null; } else if ( DesignChoiceConstants.PARAM_TYPE_DATETIME .equalsIgnoreCase( dataType ) ) { pattern = ParameterValidationUtil.DEFAULT_DATETIME_FORMAT; } | String pattern = parameter.getPattern( ); String dataType = ParameterDataTypeConverter .ConvertDataType( parameter.getDataType( ) ); try { boolean isLocale = locs.contains( paramName ); | protected void __execute( ) throws Exception { ViewerAttributeBean attrBean = (ViewerAttributeBean) context.getBean( ); assert attrBean != null; // get design file name String reportDesignName = attrBean.getReportDesignName( ); // get design config file name String configFileName = ParameterAccessor .getConfi... | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/e67b6a4506a01d4fbb741a982d76ef6cb9dba851/BirtCacheParameterActionHandler.java/buggy/viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/actionhandler/BirtCacheParameterActionHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1001,
8837,
12,
262,
1216,
1185,
202,
95,
202,
202,
18415,
1499,
3381,
1604,
3381,
273,
261,
18415,
1499,
3381,
13,
819,
18,
588,
3381,
12,
11272,
202,
202,
11231,
1604,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1001,
8837,
12,
262,
1216,
1185,
202,
95,
202,
202,
18415,
1499,
3381,
1604,
3381,
273,
261,
18415,
1499,
3381,
13,
819,
18,
588,
3381,
12,
11272,
202,
202,
11231,
1604,
... |
+ style(style.toString()) | + style(style) | protected void writeString(String str, double x, double y) throws IOException { // str = FontEncoder.getEncodedString(str, getFont().getName()); if (isProperty(EMBED_FONTS)) { fontTable.addGlyphs(str, getFont()); } // font transformation should _not_ transform strin... | 57341 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57341/a07620d7c45b61de1bcfbc13b3100b60aa2ea4e8/SVGGraphics2D.java/buggy/freehep-graphicsio-svg/src/main/java/org/freehep/graphicsio/svg/SVGGraphics2D.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
12967,
12,
780,
609,
16,
1645,
619,
16,
1645,
677,
13,
5411,
1216,
1860,
288,
3639,
368,
609,
273,
10063,
7204,
18,
588,
10397,
780,
12,
701,
16,
18776,
7675,
17994,
10663,
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,
918,
12967,
12,
780,
609,
16,
1645,
619,
16,
1645,
677,
13,
5411,
1216,
1860,
288,
3639,
368,
609,
273,
10063,
7204,
18,
588,
10397,
780,
12,
701,
16,
18776,
7675,
17994,
10663,
3... |
page, isMasterPage, isSvg, null, locale ); | page, isMasterPage, isSvg, null, locale, isRtl.booleanValue( ) ); | public void renderReport( String docName, String pageRange, InputOptions renderOptions, OutputStream out ) throws ReportServiceException { IReportDocument doc = ReportEngineService.getInstance( ) .openReportDocument( getReportDesignName( renderOptions ), docName ); HttpServletRequest request = ( HttpServ... | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/1ff9aa843f70ddf72ba7891c54d9d7216c9063f5/BirtViewerReportService.java/buggy/viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/BirtViewerReportService.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1743,
4820,
12,
514,
997,
461,
16,
514,
1363,
2655,
16,
1082,
202,
1210,
1320,
1743,
1320,
16,
8962,
596,
262,
1082,
202,
15069,
8706,
15133,
202,
95,
202,
202,
45,
4820,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1743,
4820,
12,
514,
997,
461,
16,
514,
1363,
2655,
16,
1082,
202,
1210,
1320,
1743,
1320,
16,
8962,
596,
262,
1082,
202,
15069,
8706,
15133,
202,
95,
202,
202,
45,
4820,... |
m = (MCompositeState) StateMachinesHelper.getHelper().getTop(StateMachinesHelper.getHelper().getStateMachine(sv)); | m = (MCompositeState) StateMachinesHelper.getHelper() .getTop(StateMachinesHelper.getHelper().getStateMachine(sv)); | public void setEnclosingFig(Fig encloser) { super.setEnclosingFig(encloser); if (!(getOwner() instanceof MStateVertex)) return; MStateVertex sv = (MStateVertex) getOwner(); MCompositeState m = null; if (encloser != null && (encloser.getOwner() instanceof MCompositeState... | 7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/23464f9cbc3169e9d2f1919998cae2c59b514985/FigStateVertex.java/buggy/src_new/org/argouml/uml/diagram/state/ui/FigStateVertex.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
21594,
42,
360,
12,
42,
360,
2446,
383,
550,
13,
288,
3639,
2240,
18,
542,
21594,
42,
360,
12,
1331,
383,
550,
1769,
3639,
309,
16051,
12,
588,
5541,
1435,
1276,
490,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
444,
21594,
42,
360,
12,
42,
360,
2446,
383,
550,
13,
288,
3639,
2240,
18,
542,
21594,
42,
360,
12,
1331,
383,
550,
1769,
3639,
309,
16051,
12,
588,
5541,
1435,
1276,
490,
... |
CodeStyleManager.getInstance(project).reformatRange(psiFile, start, end); | CodeStyleManager.getInstance(project).reformatRange(psiFile, start, end, true); | public void run() { LogicalPosition caretPosition = editor.getCaretModel().getLogicalPosition(); PsiFile psiFile = PsiDocumentManager.getInstance(project).getPsiFile(doc); if (psiFile == null) { myOriginalHandler.execute(editor, dataContext); return; } int star... | 17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/b973215989d9f5dd1d24b1cc70dd4ec8c9439bd3/JoinLinesHandler.java/buggy/source/com/intellij/codeInsight/editorActions/JoinLinesHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
918,
1086,
1435,
288,
3639,
17085,
2555,
21683,
2555,
273,
4858,
18,
588,
39,
20731,
1488,
7675,
588,
17955,
2555,
5621,
3639,
453,
7722,
812,
23921,
812,
273,
453,
7722,
2519,
1318,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
918,
1086,
1435,
288,
3639,
17085,
2555,
21683,
2555,
273,
4858,
18,
588,
39,
20731,
1488,
7675,
588,
17955,
2555,
5621,
3639,
453,
7722,
812,
23921,
812,
273,
453,
7722,
2519,
1318,... |
sfi.schedule(); | public void schedule() throws InserterException { // Do nothing } | 50619 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50619/b7504d6d131b7fabd8aa256e5606d43719c63fd6/SingleFileInserter.java/buggy/src/freenet/client/async/SingleFileInserter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
21668,
77,
18,
10676,
5621,
918,
21668,
77,
18,
10676,
5621,
4788,
1435,
21668,
77,
18,
10676,
5621,
604,
1049,
22056,
18,
10676,
5621,
657,
550,
387,
11416,
22056,
18,
10676,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3196,
202,
482,
21668,
77,
18,
10676,
5621,
918,
21668,
77,
18,
10676,
5621,
4788,
1435,
21668,
77,
18,
10676,
5621,
604,
1049,
22056,
18,
10676,
5621,
657,
550,
387,
11416,
22056,
18,
10676,
... | |
"Row #0: 17,097" + nl + "Row #1: 16,845" + nl + "Row #2: 16,536" + nl + "Row #3: 15,813" + nl); | "Row #0: 17,070" + nl + "Row #1: 16,790" + nl + "Row #2: 16,311" + nl + "Row #3: 16,120" + nl); | public void testOrderCrossJoinBreak(FoodMartTestCase test) { test.runQueryCheckResult( "select {[Measures].[Unit Sales]} on columns," + nl + " Order(" + nl + " CrossJoin(" + nl + " [Gender].children," + nl + " [Marital Status].children)," + nl + " [Measures].[Unit Sa... | 37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/9cdd89dca2920fdda7be6513ed3b73ff3e366a53/BuiltinFunTable.java/clean/src/main/mondrian/olap/fun/BuiltinFunTable.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
1842,
2448,
13941,
4572,
7634,
12,
42,
4773,
49,
485,
4709,
2449,
1842,
13,
288,
9506,
202,
3813,
18,
2681,
1138,
1564,
1253,
12,
25083,
202,
6,
4025,
288,
63,
23177,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
1842,
2448,
13941,
4572,
7634,
12,
42,
4773,
49,
485,
4709,
2449,
1842,
13,
288,
9506,
202,
3813,
18,
2681,
1138,
1564,
1253,
12,
25083,
202,
6,
4025,
288,
63,
23177,
18... |
PhrasePositions pp = new PhrasePositions(tps[i], i); | PhrasePositions pp = new PhrasePositions(tps[i], positions[i]); | PhraseScorer(Weight weight, TermPositions[] tps, Similarity similarity, byte[] norms) { super(similarity); this.norms = norms; this.weight = weight; this.value = weight.getValue(); // convert tps to a list for (int i = 0; i < tps.length; i++) { PhrasePositions pp = new PhrasePosit... | 1514 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1514/fd4cd859c579419c2227d6d931f9206d8fdac4d9/PhraseScorer.java/clean/src/java/org/apache/lucene/search/PhraseScorer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4360,
5648,
1541,
8922,
12,
6544,
3119,
16,
6820,
11024,
8526,
268,
1121,
16,
22967,
560,
16416,
16,
9079,
1160,
8526,
4651,
87,
13,
288,
565,
2240,
12,
22985,
560,
1769,
565,
333,
18,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4360,
5648,
1541,
8922,
12,
6544,
3119,
16,
6820,
11024,
8526,
268,
1121,
16,
22967,
560,
16416,
16,
9079,
1160,
8526,
4651,
87,
13,
288,
565,
2240,
12,
22985,
560,
1769,
565,
333,
18,
... |
catch (IOException ioex) { | catch (IOException ioex) { | public ByteArrayDataSource(byte[] data, String type) throws IOException { ByteArrayInputStream Bis = null; try { Bis = new ByteArrayInputStream(data); this.byteArrayDataSource(Bis, type); } catch (IOException ioex) { throw ioex... | 28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/427fca19341d145b416afaf6147c87dcbebe937a/ByteArrayDataSource.java/buggy/providers/email/src/java/org/mule/providers/email/transformers/ByteArrayDataSource.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
7964,
8597,
12,
7229,
8526,
501,
16,
514,
618,
13,
5411,
1216,
1860,
565,
288,
3639,
16180,
605,
291,
273,
446,
31,
3639,
775,
3639,
288,
5411,
605,
291,
273,
394,
16180,
12,
892,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7964,
8597,
12,
7229,
8526,
501,
16,
514,
618,
13,
5411,
1216,
1860,
565,
288,
3639,
16180,
605,
291,
273,
446,
31,
3639,
775,
3639,
288,
5411,
605,
291,
273,
394,
16180,
12,
892,... |
if ( !pendingRequests.isEmpty() ) { | if ( this.isTerminated() || !pendingRequests.isEmpty() ) { | public void clearPending () { boolean toNotify = false; synchronized (this.pendingRequests ) { super.clearPending(); if ( !pendingRequests.isEmpty() ) { toNotify = true; } } if (toNotify) sipStack.notifyPendingRecordScanner(); } | 3364 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3364/fa49f495f1a7d35fa72b4022772eab9fd7de4035/SIPServerTransaction.java/buggy/src/gov/nist/javax/sip/stack/SIPServerTransaction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2424,
8579,
1832,
288,
202,
6494,
358,
9168,
273,
629,
31,
202,
22043,
261,
2211,
18,
9561,
6421,
262,
288,
202,
282,
2240,
18,
8507,
8579,
5621,
6647,
309,
261,
401,
9561,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2424,
8579,
1832,
288,
202,
6494,
358,
9168,
273,
629,
31,
202,
22043,
261,
2211,
18,
9561,
6421,
262,
288,
202,
282,
2240,
18,
8507,
8579,
5621,
6647,
309,
261,
401,
9561,
6... |
private Indent calcCurrentIndent(final ASTNode child, final int state) { if (child.getElementType() == ElementType.RBRACE) { return Formatter.getInstance().getNoneIndent(); } if (state == BEFORE_FIRST) return Formatter.getInstance().getNoneIndent(); if (child.getElementType() == ElementType.S... | 56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/8a76be9d20764a0075ff7e2857b311f7248671d6/CodeBlockBlock.java/clean/source/com/intellij/psi/formatter/java/CodeBlockBlock.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
28653,
7029,
3935,
7790,
12,
6385,
9183,
907,
1151,
16,
727,
509,
919,
13,
288,
565,
309,
261,
3624,
18,
588,
17481,
1435,
422,
3010,
559,
18,
19437,
9254,
13,
288,
1377,
327,
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,
282,
3238,
28653,
7029,
3935,
7790,
12,
6385,
9183,
907,
1151,
16,
727,
509,
919,
13,
288,
565,
309,
261,
3624,
18,
588,
17481,
1435,
422,
3010,
559,
18,
19437,
9254,
13,
288,
1377,
327,
149... | ||
java.sql.ResultSet r = connection.ExecSQL(sql.toString()); while (r.next()) { byte[][] tuple = new byte[18][0]; | tuple[0] = "".getBytes(); tuple[1] = "".getBytes(); tuple[2] = r.getBytes(2); tuple[3] = r.getBytes(3); | public java.sql.ResultSet getColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException { Vector v = new Vector(); // The new ResultSet tuple stuff Field f[] = new Field[18]; // The field descriptors for the new ResultSet f[ 0] = new Field(connection,... | 47288 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47288/6b50f9af333a2795b82dd3331df55c7e703f1bea/DatabaseMetaData.java/clean/src/interfaces/jdbc/org/postgresql/jdbc1/DatabaseMetaData.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2252,
18,
4669,
18,
13198,
14226,
12,
780,
6222,
16,
514,
1963,
3234,
16,
514,
4775,
3234,
16,
514,
7578,
3234,
13,
1216,
6483,
225,
288,
565,
5589,
331,
273,
394,
5589,
5621,
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,
282,
1071,
2252,
18,
4669,
18,
13198,
14226,
12,
780,
6222,
16,
514,
1963,
3234,
16,
514,
4775,
3234,
16,
514,
7578,
3234,
13,
1216,
6483,
225,
288,
565,
5589,
331,
273,
394,
5589,
5621,
202... |
return Scriptable.NOT_FOUND; | return super.execMethod(methodId, f, cx, scope, thisObj, args); | public Object execMethod (int methodId, IdFunction f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) throws JavaScriptException { switch (methodId) { case ConstructorId_fromCharCode: return jsStaticFunction_fromCharCode(args); case Id_constr... | 19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/a5853f6845d59167138e770e814122511e0cc22b/NativeString.java/buggy/src/org/mozilla/javascript/NativeString.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1196,
1305,
3639,
261,
474,
707,
548,
16,
3124,
2083,
284,
16,
540,
1772,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
1033,
8526,
833,
13,
3639,
1216,
11905,
503,
565,
288,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1196,
1305,
3639,
261,
474,
707,
548,
16,
3124,
2083,
284,
16,
540,
1772,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
1033,
8526,
833,
13,
3639,
1216,
11905,
503,
565,
288,
... |
_pbounds.add(action.bounds); | for (Rectangle b : action.bounds) { _pbounds.add(b); } | protected void notePending (BoardAction action) { for (int ii = 0; ii < action.pieceIds.length; ii++) { if (action.pieceIds[ii] > 0) { _punits.add(action.pieceIds[ii]); } } if (action.bounds != null) { _pbounds.add(action.bounds); } ... | 8059 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8059/f800c3170af64860054dee97c75b242edfb71665/BoardView.java/clean/src/java/com/threerings/bang/game/client/BoardView.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
4721,
8579,
261,
22233,
1803,
1301,
13,
565,
288,
3639,
364,
261,
474,
6072,
273,
374,
31,
6072,
411,
1301,
18,
30100,
2673,
18,
2469,
31,
6072,
27245,
288,
5411,
309,
261,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
4721,
8579,
261,
22233,
1803,
1301,
13,
565,
288,
3639,
364,
261,
474,
6072,
273,
374,
31,
6072,
411,
1301,
18,
30100,
2673,
18,
2469,
31,
6072,
27245,
288,
5411,
309,
261,
1... |
return defineClass(className, classData, 0, classData.length, source); | return defineClass(className, classData, 0, classData.length, source); | public Object run() { return defineClass(className, classData, 0, classData.length, source); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/37d5fed12204d348d94cd6409a12ac3d0787ccc3/URLClassLoader.java/clean/core/src/classpath/java/java/net/URLClassLoader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
225,
1071,
1033,
1086,
1435,
1082,
225,
288,
1082,
225,
327,
4426,
797,
12,
12434,
16,
667,
751,
16,
374,
16,
1082,
5397,
667,
751,
18,
2469,
16,
1084,
1769,
1082,
225,
289,
2,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
225,
1071,
1033,
1086,
1435,
1082,
225,
288,
1082,
225,
327,
4426,
797,
12,
12434,
16,
667,
751,
16,
374,
16,
1082,
5397,
667,
751,
18,
2469,
16,
1084,
1769,
1082,
225,
289,
2,
-100,
... |
origCollection.readXML(args[argCount++], project); | String fileName = args[argCount++]; origCollection.readXML(fileName, project); | public static void main(String[] args) throws IOException, DocumentException { DetectorFactoryCollection.instance(); ListBugDatabaseInfoCommandLine commandLine = new ListBugDatabaseInfoCommandLine(); int argCount = commandLine.parse(args, 1, Integer.MAX_VALUE, USAGE); Project project = new Project(); BugCollectio... | 10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/fa5f9ec38a37430b4e403344c124dc19e244c4f5/ListBugDatabaseInfo.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/workflow/ListBugDatabaseInfo.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
2774,
12,
780,
8526,
833,
13,
1216,
1860,
16,
4319,
503,
288,
202,
202,
12594,
1733,
2532,
18,
1336,
5621,
202,
202,
682,
19865,
4254,
966,
21391,
20894,
273,
394,
9... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
2774,
12,
780,
8526,
833,
13,
1216,
1860,
16,
4319,
503,
288,
202,
202,
12594,
1733,
2532,
18,
1336,
5621,
202,
202,
682,
19865,
4254,
966,
21391,
20894,
273,
394,
9... |
progress.setProgress(1); | setProgress(progress, 1); | public SlimPlotter(String[] args) throws Exception { console = new OutputConsole("Log"); System.setErr(new ConsoleStream(new PrintStream(console))); console.getTextArea().setColumns(54); console.getTextArea().setRows(10); // progress estimate: // * Reading data - 70% // * Creating types - 1% /... | 55415 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55415/2de07498edf1b0e10fe321833d0a5ce23b48dbeb/SlimPlotter.java/clean/loci/apps/slim/SlimPlotter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
348,
7091,
11532,
387,
12,
780,
8526,
833,
13,
1216,
1185,
288,
565,
2983,
273,
394,
3633,
10215,
2932,
1343,
8863,
565,
2332,
18,
542,
2524,
12,
2704,
9657,
1228,
12,
2704,
21677,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
348,
7091,
11532,
387,
12,
780,
8526,
833,
13,
1216,
1185,
288,
565,
2983,
273,
394,
3633,
10215,
2932,
1343,
8863,
565,
2332,
18,
542,
2524,
12,
2704,
9657,
1228,
12,
2704,
21677,
... |
if (host.length() != 0) | if (authority.length() != 0) | protected String toExternalForm(URL url) { String protocol; String host; String file; String ref; String user; int port; protocol = url.getProtocol(); // JDK 1.2 online doc infers that host could be null because it // explicitly states that file cannot be null, but is silent on host. ho... | 5916 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5916/141410702d2753052385e841596a13c4a870b7d7/URLStreamHandler.java/buggy/libjava/java/net/URLStreamHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
514,
358,
6841,
1204,
12,
1785,
880,
13,
225,
288,
565,
514,
1771,
31,
565,
514,
1479,
31,
565,
514,
585,
31,
565,
514,
1278,
31,
565,
514,
729,
31,
565,
509,
1756,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
514,
358,
6841,
1204,
12,
1785,
880,
13,
225,
288,
565,
514,
1771,
31,
565,
514,
1479,
31,
565,
514,
585,
31,
565,
514,
1278,
31,
565,
514,
729,
31,
565,
509,
1756,
31,
565,
1... |
info.getDefaultConfiguration() .getToolChain())); | tool)); | protected void addRuleForSource(String relativePath, StringBuffer buffer, IResource resource, IPath sourceLocation, IResourceConfiguration resConfig, boolean generatedSource, StringBuffer generatedDepFile, Vector enumeratedOutputs) { String fileName = sourceLocation.removeFileExtension().lastSegment(); Strin... | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/fcddfaecbf7065313a31054b1e371cb1efa7b945/GnuMakefileGenerator.java/clean/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/makegen/gnu/GnuMakefileGenerator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
21264,
1290,
1830,
12,
780,
12820,
16,
6674,
1613,
16,
467,
1420,
1058,
16,
1875,
202,
45,
743,
1084,
2735,
16,
467,
1420,
1750,
400,
809,
16,
1875,
202,
6494,
4374,
183... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
21264,
1290,
1830,
12,
780,
12820,
16,
6674,
1613,
16,
467,
1420,
1058,
16,
1875,
202,
45,
743,
1084,
2735,
16,
467,
1420,
1750,
400,
809,
16,
1875,
202,
6494,
4374,
183... |
List list = new ArrayList(categoryCache.values()); for (int i = 0; i < categoriesToRemove.size(); i++) list.remove(categoriesToRemove.get(i)); Collections.sort(list, new Comparator() { Collator coll = Collator.getInstance(Locale.getDefault()); public int compare(Object a, Object b) { PropertySheetCategory c1, c2; Stri... | Collection categoryCacheValues = categoryCache.values(); PropertySheetCategory[] toSort = (PropertySheetCategory[]) categoryCacheValues .toArray(new PropertySheetCategory[categoryCacheValues.size()]); sorter.sort(toSort); categories = toSort; | private void updateCategories() { // lazy initialize if (categories == null) categories = new PropertySheetCategory[0]; // get all the filtered child entries of the root List childEntries = getFilteredEntries(rootEntry.getChildEntries()); // if the list is empty, just s... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/9718bf426968bc10313825927e3bd0fea99ebbb6/PropertySheetViewer.java/clean/bundles/org.eclipse.ui.views/src/org/eclipse/ui/views/properties/PropertySheetViewer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1089,
10487,
1435,
288,
3639,
368,
7962,
4046,
3639,
309,
261,
8995,
422,
446,
13,
5411,
6477,
273,
394,
4276,
8229,
4457,
63,
20,
15533,
3639,
368,
336,
777,
326,
5105,
1151,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1089,
10487,
1435,
288,
3639,
368,
7962,
4046,
3639,
309,
261,
8995,
422,
446,
13,
5411,
6477,
273,
394,
4276,
8229,
4457,
63,
20,
15533,
3639,
368,
336,
777,
326,
5105,
1151,
... |
botB.setActionCommand("game_botconnect"); | botB.setActionCommand("fileGameConnectBot"); | public void showMainMenu() { Button hostB, connectB, botB, editB, scenB, loadB, quitB; Label labVersion = new Label(); labVersion.setText("MegaMek version " + VERSION); hostB = new Button("Host a New Game..."); hostB.setActionCommand("game_host"); hostB.addActionListener(th... | 4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/e526ddf2480423ff56e62a835eb2649fba92d6bf/MegaMek.java/clean/megamek/src/megamek/MegaMek.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2405,
6376,
4599,
1435,
288,
3639,
12569,
1479,
38,
16,
3077,
38,
16,
2512,
38,
16,
3874,
38,
16,
888,
275,
38,
16,
1262,
38,
16,
9706,
38,
31,
3639,
5287,
11814,
1444,
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,
918,
2405,
6376,
4599,
1435,
288,
3639,
12569,
1479,
38,
16,
3077,
38,
16,
2512,
38,
16,
3874,
38,
16,
888,
275,
38,
16,
1262,
38,
16,
9706,
38,
31,
3639,
5287,
11814,
1444,
273... |
executionFilters.addFilterSet(project.getGlobalFilterSet()); | executionFilters .addFilterSet(project.getGlobalFilterSet()); | protected void doFileOperations() { if (fileCopyMap.size() > 0) { log("Copying " + fileCopyMap.size() + " file" + (fileCopyMap.size() == 1 ? "" : "s") + " to " + destDir.getAbsolutePath() ); Enumeration e = fileCopyMap.keys(); while (e.hasMoreEle... | 17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/409749926af8d9bbfad6b078fc50db63cf4ea49a/Copy.java/buggy/src/main/org/apache/tools/ant/taskdefs/Copy.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
741,
812,
9343,
1435,
288,
3639,
309,
261,
768,
2951,
863,
18,
1467,
1435,
405,
374,
13,
288,
5411,
613,
2932,
2951,
310,
315,
397,
585,
2951,
863,
18,
1467,
1435,
397,
7734,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
741,
812,
9343,
1435,
288,
3639,
309,
261,
768,
2951,
863,
18,
1467,
1435,
405,
374,
13,
288,
5411,
613,
2932,
2951,
310,
315,
397,
585,
2951,
863,
18,
1467,
1435,
397,
7734,... |
assertEquals(info.getToolForTarget(expectedOutput), expectedCmd); | assertEquals(info.getToolForConfiguration(expectedOutput), expectedCmd); | private void checkBuildTestSettings(IManagedBuildInfo info) { String ext1 = "foo"; String ext2 = "bar"; String badExt = "cpp"; String expectedOutput = "toor"; String expectedCmd = "doIt"; assertNotNull(info); assertEquals(info.getBuildArtifactName(), projectName); // There should be a default configuration... | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/18b49394c46cbbecf041078a70e83e4975d004a7/ManagedBuildCoreTests.java/clean/build/org.eclipse.cdt.managedbuilder.core.tests/tests/org/eclipse/cdt/managedbuild/core/tests/ManagedBuildCoreTests.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
866,
3116,
4709,
2628,
12,
3445,
4184,
3116,
966,
1123,
13,
288,
202,
202,
780,
1110,
21,
273,
315,
11351,
14432,
202,
202,
780,
1110,
22,
273,
315,
3215,
14432,
202,
20... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
866,
3116,
4709,
2628,
12,
3445,
4184,
3116,
966,
1123,
13,
288,
202,
202,
780,
1110,
21,
273,
315,
11351,
14432,
202,
202,
780,
1110,
22,
273,
315,
3215,
14432,
202,
20... |
domainClass = Domain.lookupAny(ProspectiveSale.class); | domainClass = lookupAny(ProspectiveSale.class); | public void testDomainClassThatIsExplicitlyNamed() { domainClass = Domain.lookupAny(ProspectiveSale.class); assertEquals("Customer", domainClass.getName()); assertEquals("Customer", domainClass.getEClass().getName()); assertEquals( "A Customer who may have originally become known to us via " + "the mark... | 13434 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13434/2bcdc080ac9f1eea3bc282a3c127b0d5df465d11/TestExplicitNamesAndDescriptions.java/buggy/trunk/workspace/de.berlios.rcpviewer.domain.tests/test/de/berlios/rcpviewer/progmodel/standard/namesanddesc/TestExplicitNamesAndDescriptions.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
3748,
797,
18163,
2520,
17186,
715,
7604,
1435,
288,
202,
202,
4308,
797,
273,
6648,
18,
8664,
2961,
12,
626,
13234,
688,
30746,
18,
1106,
1769,
9506,
202,
11231,
886... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3748,
797,
18163,
2520,
17186,
715,
7604,
1435,
288,
202,
202,
4308,
797,
273,
6648,
18,
8664,
2961,
12,
626,
13234,
688,
30746,
18,
1106,
1769,
9506,
202,
11231,
886... |
swap_i = this.internalMatrixImag[row1][j]; this.internalMatrixImag[row1][j] = this.internalMatrixImag[row2][j]; this.internalMatrixImag[row2][j] = swap_r; | if(!this.realFlag) { for(int j=0; j<totalCols; j++) { swap_i = this.internalMatrixImag[row1][j]; this.internalMatrixImag[row1][j] = this.internalMatrixImag[row2][j]; this.internalMatrixImag[row2][j] = swap_i; } | public void swapRows(int row1, int row2) { int totalRows = this.getRows(); if((row1 < 0)||(row1 >= totalRows)) throw new IllegalArgumentException("invalid parameter row1 = " + row1); if((row2 < 0)||(row2 >= totalRows)) throw new IllegalArgumentException("invalid parameter row1 = " + row1); int totalCols = t... | 5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/a11589a42df72c11211488c0095b1d3383b27676/FilterMatrix.java/buggy/streams/src/at/dms/kjc/sir/statespace/FilterMatrix.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
7720,
4300,
12,
474,
1027,
21,
16,
509,
1027,
22,
13,
288,
202,
474,
2078,
4300,
273,
333,
18,
588,
4300,
5621,
202,
430,
12443,
492,
21,
411,
374,
14047,
96,
12,
492,
21,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
7720,
4300,
12,
474,
1027,
21,
16,
509,
1027,
22,
13,
288,
202,
474,
2078,
4300,
273,
333,
18,
588,
4300,
5621,
202,
430,
12443,
492,
21,
411,
374,
14047,
96,
12,
492,
21,
... |
final DateFormat df = DateFormat.getDateInstance(DateFormat.SHORT, locale); Date newDate = null; try { if(getDateString() != null && !"0/0/0".equals(getDateString())) newDate = df.parse(getDateString()); } catch (ParseException e) { throw new RollerException("ERROR parsing date."); } if(newDate != null) { final Cale... | if(getDateString() != null && !"0/0/0".equals(getDateString())) { Date pubtime = null; TimeZone timezone = entry.getWebsite().getTimeZoneInstance(); try { String time = getHours()+":"+getMinutes()+":"+getSeconds(); String datetime = getDateString()+" "+time; mLogger.debug("datetime = "+datetime); SimpleDateFormat ... | public void copyTo(WeblogEntryData entry, Locale locale, Map paramMap) throws RollerException { mLogger.debug("copy to called"); super.copyTo(entry, locale); // First parts the date string from the calendar final DateFormat df = DateFormat.getDateInstance(Date... | 46431 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46431/33c9443e1bbc53eeb55d2221837daaca7c823c68/WeblogEntryFormEx.java/buggy/src/org/roller/presentation/weblog/formbeans/WeblogEntryFormEx.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
29817,
12,
4079,
1330,
1622,
751,
1241,
16,
6458,
2573,
16,
1635,
579,
863,
13,
540,
1216,
11714,
749,
503,
565,
288,
3639,
312,
3328,
18,
4148,
2932,
3530,
358,
2566,
8863,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
29817,
12,
4079,
1330,
1622,
751,
1241,
16,
6458,
2573,
16,
1635,
579,
863,
13,
540,
1216,
11714,
749,
503,
565,
288,
3639,
312,
3328,
18,
4148,
2932,
3530,
358,
2566,
8863,
... |
if (root.getRenderWidth() == evt.getDimension().getWidth()) { Uu.p("same width. Just continuing"); | if (root.getRenderWidth() != root.getWidth()) { doRelayout(evt); } else { | public void startLayoutLoop() throws InterruptedException { while (true) { //Uu.p("waiting for a layout event"); ReflowEvent evt = root.queue.waitForNextLayoutEvent(); if (evt == null) { return; } //Uu.p("got a layout event: " + evt); ... | 53937 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53937/5ab8d19beb25fd96c93f800f8de2bacad5331774/LayoutLoop.java/buggy/src/java/org/xhtmlrenderer/swing/LayoutLoop.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
787,
3744,
6452,
1435,
1216,
7558,
288,
3639,
1323,
261,
3767,
13,
288,
5411,
368,
57,
89,
18,
84,
2932,
20241,
364,
279,
3511,
871,
8863,
5411,
868,
2426,
1133,
6324,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
787,
3744,
6452,
1435,
1216,
7558,
288,
3639,
1323,
261,
3767,
13,
288,
5411,
368,
57,
89,
18,
84,
2932,
20241,
364,
279,
3511,
871,
8863,
5411,
868,
2426,
1133,
6324,
273,
1... |
if(created == null) { | if (created == null) { | public Date getDateCreated() { if(created == null) { //created = Calendar.getInstance().getTime(); try { created = creation_ts_date_format.parse(getAttributeValue(RepositoryTaskAttribute.ATTACHMENT_DATE)); } catch (Exception e) { } } return created; } | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/bc105ad618bb77b8162fef60fbeb0b6fcf4de484/RepositoryAttachment.java/buggy/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/RepositoryAttachment.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2167,
10713,
6119,
1435,
288,
202,
202,
430,
12,
4824,
422,
446,
13,
288,
1082,
202,
759,
4824,
273,
5542,
18,
588,
1442,
7675,
588,
950,
5621,
1082,
202,
698,
288,
9506,
202,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2167,
10713,
6119,
1435,
288,
202,
202,
430,
12,
4824,
422,
446,
13,
288,
1082,
202,
759,
4824,
273,
5542,
18,
588,
1442,
7675,
588,
950,
5621,
1082,
202,
698,
288,
9506,
202,... |
int result = portal.fetch(true, mx); if(result > 0) m_table = SPI.getTupTable(m_tupleDesc); m_tableRow = -1; | try { int result = portal.fetch(true, mx); if(result > 0) m_table = SPI.getTupTable(m_tupleDesc); m_tableRow = -1; } finally { SPI.freeTupTable(); } | protected final TupleTable getTupleTable() throws SQLException { if(m_table == null) { Portal portal = this.getPortal(); if(portal.isAtEnd()) return null; int mx; int fetchSize = this.getFetchSize(); if(m_maxRows > 0) { mx = m_maxRows - portal.getPortalPos(); if(mx <= 0) return null; if(m... | 1170 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1170/bac6a3fe56032a91fcad94efa9f7b52bfb5c3d70/SPIResultSet.java/clean/src/java/pljava/org/postgresql/pljava/jdbc/SPIResultSet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
727,
7257,
1388,
3181,
2268,
1388,
1435,
202,
15069,
6483,
202,
95,
202,
202,
430,
12,
81,
67,
2121,
422,
446,
13,
202,
202,
95,
1082,
202,
24395,
11899,
273,
333,
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,
225,
202,
1117,
727,
7257,
1388,
3181,
2268,
1388,
1435,
202,
15069,
6483,
202,
95,
202,
202,
430,
12,
81,
67,
2121,
422,
446,
13,
202,
202,
95,
1082,
202,
24395,
11899,
273,
333,
18,
588,
... |
} | } | protected void processEvent(AWTEvent event) { if (event instanceof ActionEvent) processActionEvent((ActionEvent) event); else super.processEvent(event); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b5af1a0dd02ba16d1f4f4556ab34fa51c2db060d/Button.java/buggy/core/src/classpath/java/java/awt/Button.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1207,
1133,
12,
37,
8588,
1133,
871,
13,
288,
202,
202,
430,
261,
2575,
1276,
19641,
13,
1082,
202,
2567,
1803,
1133,
12443,
1803,
1133,
13,
871,
1769,
202,
202,
12107,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
225,
202,
1117,
918,
1207,
1133,
12,
37,
8588,
1133,
871,
13,
288,
202,
202,
430,
261,
2575,
1276,
19641,
13,
1082,
202,
2567,
1803,
1133,
12443,
1803,
1133,
13,
871,
1769,
202,
202,
12107,
... |
throw new ImapParseException(tag, "UNKNOWN-CTE", "unknown content-type-encoding"); | throw new ImapParseException(tag, "UNKNOWN-CTE", command + "failed: unknown content-type-encoding", false); | boolean doFETCH(String tag, String sequenceSet, int attributes, List<ImapPartSpecifier> parts, boolean byUID) throws IOException, ImapParseException { if (!checkState(tag, ImapSession.STATE_SELECTED)) return CONTINUE_PROCESSING; // 6.4.8: "However, server implementations MUST implicitly inc... | 6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/396d7799a08890eb5a110fa6ebee616b693ea849/OzImapConnectionHandler.java/clean/ZimbraServer/src/java/com/zimbra/cs/imap/OzImapConnectionHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1250,
741,
20231,
12,
780,
1047,
16,
514,
3102,
694,
16,
509,
1677,
16,
987,
32,
20827,
1988,
21416,
34,
2140,
16,
1250,
635,
3060,
13,
1216,
1860,
16,
467,
1458,
13047,
288,
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,
1250,
741,
20231,
12,
780,
1047,
16,
514,
3102,
694,
16,
509,
1677,
16,
987,
32,
20827,
1988,
21416,
34,
2140,
16,
1250,
635,
3060,
13,
1216,
1860,
16,
467,
1458,
13047,
288,
3639,
309,... |
sqlType = new Integer(getSQLType(result.getString(1))); | sqlType = new Integer(getSQLType(pgType)); | public int getSQLType(int oid) throws SQLException { Integer sqlType = (Integer)sqlTypeCache.get(new Integer(oid)); // it's not in the cache, so perform a query, and add the result to the cache if (sqlType == null) { ResultSet result = ExecSQL("select typname from pg_type where oid = " + oid); if (((AbstractJd... | 46563 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46563/7c553901d7ab010ad1cb5bf44f9ca2fdae83909a/AbstractJdbc1Connection.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1Connection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
21708,
559,
12,
474,
7764,
13,
1216,
6483,
202,
95,
202,
202,
4522,
1847,
559,
273,
261,
4522,
13,
4669,
559,
1649,
18,
588,
12,
2704,
2144,
12,
839,
10019,
202,
202,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
21708,
559,
12,
474,
7764,
13,
1216,
6483,
202,
95,
202,
202,
4522,
1847,
559,
273,
261,
4522,
13,
4669,
559,
1649,
18,
588,
12,
2704,
2144,
12,
839,
10019,
202,
202,
7... |
public Class getHomePage() | public Class< ? extends Page> getHomePage() | public Class getHomePage() { return HelloWorld.class; } | 46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/c03e74b5e0adec4ce3a7a28d24a14329199aebf5/HelloWorldApplication.java/clean/wicket-examples/src/java/wicket/examples/helloworld/HelloWorldApplication.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1659,
7628,
1742,
1964,
1435,
202,
95,
202,
202,
2463,
20889,
18071,
18,
1106,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1659,
7628,
1742,
1964,
1435,
202,
95,
202,
202,
2463,
20889,
18071,
18,
1106,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
if (part != null) getActivePage().closeEditor(part, true); | if (part != null) { getActivePage().closeEditor(part, true); } | public void run() { IEditorPart part = getActiveEditor(); if (part != null) getActivePage().closeEditor(part, true); } | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/CloseEditorAction.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/CloseEditorAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
1435,
288,
3639,
467,
6946,
1988,
1087,
273,
11960,
6946,
5621,
3639,
309,
261,
2680,
480,
446,
13,
5411,
11960,
1964,
7675,
4412,
6946,
12,
2680,
16,
638,
1769,
565,
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,
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,
1086,
1435,
288,
3639,
467,
6946,
1988,
1087,
273,
11960,
6946,
5621,
3639,
309,
261,
2680,
480,
446,
13,
5411,
11960,
1964,
7675,
4412,
6946,
12,
2680,
16,
638,
1769,
565,
289... |
getTableHeader().updateUI(); | header.repaint(); | public void mouseClicked(MouseEvent e) { int column = getTableHeader().getColumnModel().getColumnIndexAtX(e.getX()); if (model.sortableProvider.getSortColumn() == column) { if (model.sortableProvider.getSortOrder() == SortableColumnModel.SORT_DESCENDING) { model.sortableProvider.... | 56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/e667c2ad91d0ea40bf5e1ff772d87b75efed50cb/PluginTable.java/buggy/plugins-management/src/com/intellij/ide/plugins/PluginTable.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
918,
7644,
27633,
12,
9186,
1133,
425,
13,
288,
3639,
509,
1057,
273,
5638,
1864,
7675,
588,
1494,
1488,
7675,
588,
21689,
861,
60,
12,
73,
18,
588,
60,
10663,
3639,
309,
261,
22... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
918,
7644,
27633,
12,
9186,
1133,
425,
13,
288,
3639,
509,
1057,
273,
5638,
1864,
7675,
588,
1494,
1488,
7675,
588,
21689,
861,
60,
12,
73,
18,
588,
60,
10663,
3639,
309,
261,
22... |
butChangeBoard = new Button("Edit / View Map..."); butChangeBoard.setActionCommand("change_board"); | butChangeBoard = new Button(Messages.getString("ChatLounge.butChangeBoard")); butChangeBoard.setActionCommand("change_board"); | private void setupBoardSettings() { labBoardSize = new Label("Board Size: # x # hexes", Label.CENTER); labMapSize = new Label("Map Size: # x # boards", Label.CENTER); lisBoardsSelected = new List(5); lisBoardsSelected.addActionListener(this); butChangeBoard = new Button("Edit / Vi... | 4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/c9f0f1d2e5ceb1c577004355102dc4109baf3a49/ChatLounge.java/buggy/megamek/src/megamek/client/ui/AWT/ChatLounge.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3875,
22233,
2628,
1435,
288,
3639,
11814,
22233,
1225,
273,
394,
5287,
2932,
22233,
6321,
30,
468,
619,
468,
3827,
281,
3113,
5287,
18,
19835,
1769,
3639,
11814,
863,
1225,
273,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3875,
22233,
2628,
1435,
288,
3639,
11814,
22233,
1225,
273,
394,
5287,
2932,
22233,
6321,
30,
468,
619,
468,
3827,
281,
3113,
5287,
18,
19835,
1769,
3639,
11814,
863,
1225,
273,... |
if (name.equals("_packages_")) return result; Object plist = ScriptableObject.getProperty(start,"_packages_"); if (plist == NOT_FOUND) return result; Object[] elements; Context cx = Context.enter(); try { elements = cx.getElements((Scriptable)plist); } finally { Context.exit(); } for (int i=0; i < elements.length; i++)... | result = getPackageProperty(name, start); | public Object get(String name, Scriptable start) { Object result = super.get(name, start); if (result != NOT_FOUND) return result; if (name.equals("_packages_")) return result; Object plist = ScriptableObject.getProperty(start,"_packages_"); if (plist == NOT_... | 19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/93f84faf20981d56b940405a38a8a9bfba1941ba/ImporterTopLevel.java/buggy/src/org/mozilla/javascript/ImporterTopLevel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
336,
12,
780,
508,
16,
22780,
787,
13,
288,
3639,
1033,
563,
273,
2240,
18,
588,
12,
529,
16,
787,
1769,
3639,
309,
261,
2088,
480,
4269,
67,
9294,
13,
5411,
327,
563,
31,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
336,
12,
780,
508,
16,
22780,
787,
13,
288,
3639,
1033,
563,
273,
2240,
18,
588,
12,
529,
16,
787,
1769,
3639,
309,
261,
2088,
480,
4269,
67,
9294,
13,
5411,
327,
563,
31,... |
String temp = dt.format(date).trim(); | String temp = dt.format(date).trim(); | public void handleResult(ULocale locale, String result) throws ParseException { int dateFormat = DateFormat.DEFAULT; int timeFormat = DateFormat.DEFAULT; Date date = new Date(); for (Iterator it = settings.keySet().iterator(); it.hasNext();) { String attributeName = (String) it.next(); String att... | 27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/90d357a7612a0fee1860528005a32007392efc2a/TestCldr.java/clean/tools/java/org/unicode/cldr/icu/TestCldr.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
1640,
1253,
12,
57,
3916,
2573,
16,
514,
563,
13,
1216,
10616,
288,
9506,
202,
474,
16996,
273,
18371,
18,
5280,
31,
9506,
202,
474,
813,
1630,
273,
18371,
18,
5280,
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,
1875,
202,
482,
918,
1640,
1253,
12,
57,
3916,
2573,
16,
514,
563,
13,
1216,
10616,
288,
9506,
202,
474,
16996,
273,
18371,
18,
5280,
31,
9506,
202,
474,
813,
1630,
273,
18371,
18,
5280,
31,... |
descriptionLabel.setText(Messages .getString("filtersDialog.descriptionLabel")); | descriptionLabel.setText(mnemonics.assign(Messages .getString("filtersDialog.descriptionLabel"))); | public DescriptionGroup(Composite parent) { descriptionLabel = new Label(parent, SWT.NONE); descriptionLabel.setFont(parent.getFont()); descriptionLabel.setText(Messages .getString("filtersDialog.descriptionLabel")); //$NON-NLS-1$ combo = new Combo(... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/14b34bbe55c42c152b126bf0f9c2de8931a0954f/DialogProblemFilter.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/DialogProblemFilter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
6507,
1114,
12,
9400,
982,
13,
288,
5411,
2477,
2224,
273,
394,
5287,
12,
2938,
16,
348,
8588,
18,
9826,
1769,
5411,
2477,
2224,
18,
542,
5711,
12,
2938,
18,
588,
5711,
10663,
541... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6507,
1114,
12,
9400,
982,
13,
288,
5411,
2477,
2224,
273,
394,
5287,
12,
2938,
16,
348,
8588,
18,
9826,
1769,
5411,
2477,
2224,
18,
542,
5711,
12,
2938,
18,
588,
5711,
10663,
541... |
Element child = root.getChild(USED_MACROS_ELEMENT_NAME); | Element child = root.getChild(ConfigurationFile.USED_MACROS_ELEMENT_NAME); | public static String[] readUsedMacros(Element root) { Element child = root.getChild(USED_MACROS_ELEMENT_NAME); if (child == null) { return ArrayUtil.EMPTY_STRING_ARRAY; } final List children = child.getChildren(ELEMENT_MACRO); final List<String> macroNames = new ArrayList<String>(children.size());... | 17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/843c502963775186a1d571d18ffea888056724e5/ProjectImpl.java/buggy/source/com/intellij/openapi/project/impl/ProjectImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
514,
8526,
855,
6668,
9990,
6973,
12,
1046,
1365,
13,
288,
565,
3010,
1151,
273,
1365,
18,
588,
1763,
12,
1750,
812,
18,
20093,
67,
10875,
1457,
55,
67,
10976,
67,
1985,
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,
282,
1071,
760,
514,
8526,
855,
6668,
9990,
6973,
12,
1046,
1365,
13,
288,
565,
3010,
1151,
273,
1365,
18,
588,
1763,
12,
1750,
812,
18,
20093,
67,
10875,
1457,
55,
67,
10976,
67,
1985,
1769... |
fromUChar32 = (int)c; | fromUChar32 = (int)ch; | protected CoderResult encodeLoop(CharBuffer source, ByteBuffer target, IntBuffer offsets){ CoderResult cr = CoderResult.UNDERFLOW; if(!source.hasRemaining()) { /* no input, nothing to do */ return cr; } if(!target.hasRemaining... | 5620 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5620/b6a251c567958325481ef8d47706eac5bc1aaab4/Charset88591.java/clean/icu4j/src/com/ibm/icu/impl/Charset88591.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
4750,
385,
5350,
1253,
2017,
6452,
12,
2156,
1892,
1084,
16,
7400,
1018,
16,
3094,
1892,
8738,
15329,
5411,
385,
5350,
1253,
4422,
273,
385,
5350,
1253,
18,
31625,
17430,
31,
5411,
309,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
4750,
385,
5350,
1253,
2017,
6452,
12,
2156,
1892,
1084,
16,
7400,
1018,
16,
3094,
1892,
8738,
15329,
5411,
385,
5350,
1253,
4422,
273,
385,
5350,
1253,
18,
31625,
17430,
31,
5411,
309,
1... |
public Feature createFeature(Feature.Template templ) throws ChangeVetoException, BioException { throw new ChangeVetoException("Can't create features in this projection"); } | 50115 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50115/6af69e6d2e15b3553ee1bc70f261ad615ee61682/ReparentContext.java/clean/src/org/biojava/bio/seq/projection/ReparentContext.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
4595,
2640,
4595,
12,
4595,
18,
26033,
270,
278,
351,
412,
13,
15069,
3043,
58,
11453,
503,
16,
38,
1594,
503,
95,
12849,
2704,
3043,
58,
11453,
503,
2932,
2568,
1404,
2640,
7139,
267,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
4595,
2640,
4595,
12,
4595,
18,
26033,
270,
278,
351,
412,
13,
15069,
3043,
58,
11453,
503,
16,
38,
1594,
503,
95,
12849,
2704,
3043,
58,
11453,
503,
2932,
2568,
1404,
2640,
7139,
267,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.