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 |
|---|---|---|---|---|---|---|
if(!processedDefs.contains(attrDef)) | if (!processedDefs.contains(attrDef)) | void setPropertiesFromAttributes(StylesheetHandler handler, String rawName, Attributes attributes, Object target) throws SAXException { XSLTElementDef def = getElemDef(); // Keep track of which XSLTAttribu... | 46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/6fbfc5b396871b2ddb731ea98fccffe88307b5d3/ProcessorKey.java/clean/src/org/apache/xalan/processor/ProcessorKey.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
918,
23126,
1265,
2498,
12,
24656,
1503,
1838,
16,
4766,
282,
514,
1831,
461,
16,
4766,
282,
9055,
1677,
16,
4766,
565,
1033,
1018,
13,
565,
1216,
14366,
225,
288,
565,
20751,
1046,
3262,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
918,
23126,
1265,
2498,
12,
24656,
1503,
1838,
16,
4766,
282,
514,
1831,
461,
16,
4766,
282,
9055,
1677,
16,
4766,
565,
1033,
1018,
13,
565,
1216,
14366,
225,
288,
565,
20751,
1046,
3262,... |
if (ph.getLexState() == LexState.EXPR_END || ph.getLexState() == LexState.EXPR_ENDARG || ISSPACE(c)) { | if (ph.getLexState() == LexState.EXPR_END || ISSPACE(c)) { | private int yylex() { int c; boolean space_seen = false; boolean cmd_state; kwtable kw; cmd_state = ph.isCommandStart(); ph.setCommandStart(false); retry : for (; ; ) { switch (c = nextc()) { case '\0': // NUL case '\00... | 1060 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1060/75e51682c6dfb1ff67ffb81cea2dfd23c3e3a9f4/DefaultRubyParser.java/clean/org/jruby/parser/DefaultRubyParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
677,
1362,
92,
1435,
288,
3639,
509,
276,
31,
3639,
1250,
3476,
67,
15156,
273,
629,
31,
3639,
1250,
1797,
67,
2019,
31,
3639,
5323,
2121,
5323,
31,
3639,
1797,
67,
2019,
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,
509,
677,
1362,
92,
1435,
288,
3639,
509,
276,
31,
3639,
1250,
3476,
67,
15156,
273,
629,
31,
3639,
1250,
1797,
67,
2019,
31,
3639,
5323,
2121,
5323,
31,
3639,
1797,
67,
2019,
273... |
return RubyString.newString(getRuntime(), str.substring(end[0])); | return getRuntime().newString(str.substring(end[0])); | public RubyString post_match() { return RubyString.newString(getRuntime(), str.substring(end[0])); } | 47984 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47984/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyMatchData.java/clean/src/org/jruby/RubyMatchData.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
780,
1603,
67,
1916,
1435,
288,
3639,
327,
18814,
7675,
2704,
780,
12,
701,
18,
28023,
12,
409,
63,
20,
5717,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
780,
1603,
67,
1916,
1435,
288,
3639,
327,
18814,
7675,
2704,
780,
12,
701,
18,
28023,
12,
409,
63,
20,
5717,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
if (existingDraftId != null) | if (existingDraftId != null && existingDraftId.length() > 0) | public ZMessage saveDraft(ZOutgoingMessage message, String existingDraftId) throws ServiceException { XMLElement req = new XMLElement(MailService.SAVE_DRAFT_REQUEST); Element m = getMessageElement(req, message); if (existingDraftId != null) m.addAttribute(MailService.A_ID, ex... | 6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/79ab60fd5dc6e6eb41319bd8fbdfd85bfcf7f06b/ZMailbox.java/buggy/ZimbraServer/src/java/com/zimbra/cs/zclient/ZMailbox.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2285,
1079,
1923,
12714,
12,
62,
24866,
1079,
883,
16,
514,
2062,
12714,
548,
13,
1216,
16489,
288,
3639,
1139,
11155,
1111,
273,
394,
1139,
11155,
12,
6759,
1179,
18,
25242,
67,
28... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2285,
1079,
1923,
12714,
12,
62,
24866,
1079,
883,
16,
514,
2062,
12714,
548,
13,
1216,
16489,
288,
3639,
1139,
11155,
1111,
273,
394,
1139,
11155,
12,
6759,
1179,
18,
25242,
67,
28... |
if (elem.getDescription() != null) | if (GenerationManager.getInstance().estInfoBulle()) | public String getMapDiagramme() { SpemGraphAdapter mAdapter = cp.getAdapter(this.modele.getNumRang()); String mapcode = ("<MAP NAME=\""+ CodeHTML.normalizeName(mAdapter.getName())+"\">\n"); JGraph mGraph=null; if(mAdapter instanceof ContextGraphAdapter) mGraph=new ContextJGraph(mAdapter); else if(mAdapter instanc... | 9100 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9100/70c9ee8fb6b8cecc6bfae9191f604b33d81aa55d/GDiagramme.java/clean/iepp/iepp/application/ageneration/GDiagramme.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
15489,
14058,
1940,
3501,
1435,
202,
95,
202,
202,
55,
20313,
4137,
4216,
312,
4216,
273,
3283,
18,
588,
4216,
12,
2211,
18,
2284,
73,
18,
588,
2578,
54,
539,
10663,
202,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
15489,
14058,
1940,
3501,
1435,
202,
95,
202,
202,
55,
20313,
4137,
4216,
312,
4216,
273,
3283,
18,
588,
4216,
12,
2211,
18,
2284,
73,
18,
588,
2578,
54,
539,
10663,
202,... |
NativeArray h = globalState.history; | NativeArray h = global.history; | public static void processSource(Context cx, String filename) { if (filename == null || filename.equals("-")) { // Use the interpreter for interactive input cx.setOptimizationLevel(-1); BufferedReader in = new BufferedReader (new InputStreamReader(g... | 54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/8d348ad77ead316774c893fbf3cadb3ad8c1050a/Main.java/buggy/js/rhino/org/mozilla/javascript/tools/shell/Main.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
1207,
1830,
12,
1042,
9494,
16,
514,
1544,
13,
288,
3639,
309,
261,
3459,
422,
446,
747,
1544,
18,
14963,
2932,
10951,
3719,
288,
5411,
368,
2672,
326,
16048,
364,
12625,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1207,
1830,
12,
1042,
9494,
16,
514,
1544,
13,
288,
3639,
309,
261,
3459,
422,
446,
747,
1544,
18,
14963,
2932,
10951,
3719,
288,
5411,
368,
2672,
326,
16048,
364,
12625,
... |
case 25: | case 24: | public DFA.State transition(IntStream input) throws RecognitionException { switch ( input.LA(1) ) { case 24: return s93; case 25: return s94; case EOL: case ID: case INT: ... | 5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/bf3305a89ef5e916acbab744c38aaaec83bf67ff/RuleParser.java/clean/drools-compiler/src/main/java/org/drools/lang/RuleParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
463,
2046,
18,
1119,
6007,
12,
1702,
1228,
810,
13,
1216,
9539,
288,
7734,
1620,
261,
810,
18,
2534,
12,
21,
13,
262,
288,
7734,
648,
4248,
30,
10792,
327,
272,
11180,
31,
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,
2398,
1071,
463,
2046,
18,
1119,
6007,
12,
1702,
1228,
810,
13,
1216,
9539,
288,
7734,
1620,
261,
810,
18,
2534,
12,
21,
13,
262,
288,
7734,
648,
4248,
30,
10792,
327,
272,
11180,
31,
7734,
... |
index += pad + 8 + (numPairs * 8); | if (DEBUG) System.out.println("lookupswitch: numPairs=" + numPairs); index = offset + 8 + (numPairs * 8); | public void scan(byte[] instructionList, Callback callback) { boolean wide = false; for (int index = 0; index < instructionList.length; ) { short opcode = unsignedValueOf(instructionList[index]); callback.handleInstruction(opcode); if (DEBUG) System.out.println(index + ": " + OPCODE_NAMES[opcode]); switch (o... | 10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/ede8714e1050cde8bc80aedf82598b97a299cf6e/BytecodeScanner.java/clean/findbugs/src/java/edu/umd/cs/findbugs/ba/BytecodeScanner.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
4135,
12,
7229,
8526,
7592,
682,
16,
8444,
1348,
13,
288,
202,
202,
6494,
14812,
273,
629,
31,
202,
202,
1884,
261,
474,
770,
273,
374,
31,
770,
411,
7592,
682,
18,
246... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4135,
12,
7229,
8526,
7592,
682,
16,
8444,
1348,
13,
288,
202,
202,
6494,
14812,
273,
629,
31,
202,
202,
1884,
261,
474,
770,
273,
374,
31,
770,
411,
7592,
682,
18,
246... |
public void subscription_change(EventType[] eventType1, EventType[] eventType2) throws InvalidEventType {} | public void subscription_change(EventType[] eventType1, EventType[] eventType2) throws InvalidEventType { } | public void subscription_change(EventType[] eventType1, EventType[] eventType2) throws InvalidEventType {} | 46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/b2aa91a672be3f8bd14c3402b93d9a1d919f304c/SequencePullSender.java/clean/test/regression/src/org/jacorb/test/notification/SequencePullSender.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4915,
67,
3427,
12,
16346,
8526,
11216,
21,
16,
15879,
8526,
11216,
22,
13,
1216,
1962,
16346,
3639,
2618,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4915,
67,
3427,
12,
16346,
8526,
11216,
21,
16,
15879,
8526,
11216,
22,
13,
1216,
1962,
16346,
3639,
2618,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
protected void initFile(String id) throws FormatException, IOException { super.initFile(id); legacy = new LegacyZVIReader(); OLEParser parser = new OLEParser(id); parser.parse(0); Vector[] files = parser.getFiles(); headerData = new Hashtable(); pixelData = new Hashtable(); int large... | 49800 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49800/f8fea5aec2de454fd84e68759019ac47d99be52a/ZeissZVIReader.java/buggy/loci/formats/ZeissZVIReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1208,
812,
12,
780,
612,
13,
1216,
4077,
503,
16,
1860,
288,
565,
2240,
18,
2738,
812,
12,
350,
1769,
565,
8866,
273,
394,
22781,
62,
4136,
2514,
5621,
4202,
531,
900,
2678,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
1208,
812,
12,
780,
612,
13,
1216,
4077,
503,
16,
1860,
288,
565,
2240,
18,
2738,
812,
12,
350,
1769,
565,
8866,
273,
394,
22781,
62,
4136,
2514,
5621,
4202,
531,
900,
2678,
... | ||
if (command.indexOf("Bold") != -1) { | if (command.indexOf("Bold") != -1) { | public PdeFontBuilder() { super("Create Font"); Container paine = getContentPane(); paine.setLayout(new BorderLayout()); //10, 10)); //Dimension d = new Dimension(5, 5); //paine.add(new Box.Filler(d, d, d), BorderLayout.WEST); JPanel pain = new JPanel(); //pain.setBorder(BorderFactory.createLineB... | 8833 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8833/733fa3c0ce91bd829dcf80162184255ce8e5f26e/PdeFontBuilder.java/buggy/app/PdeFontBuilder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
453,
323,
5711,
1263,
1435,
288,
565,
2240,
2932,
1684,
10063,
8863,
565,
4039,
293,
530,
73,
273,
5154,
8485,
5621,
565,
293,
530,
73,
18,
542,
3744,
12,
2704,
30814,
10663,
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,
282,
1071,
453,
323,
5711,
1263,
1435,
288,
565,
2240,
2932,
1684,
10063,
8863,
565,
4039,
293,
530,
73,
273,
5154,
8485,
5621,
565,
293,
530,
73,
18,
542,
3744,
12,
2704,
30814,
10663,
368,
... |
if (!partitioner.isIO(traces[i])) assert newTraceAssignment(traces[i].getHead().getNextFilter()) : "Error: could not find a legal layout for " + traces[i] + " during initial layout"; | assert newTraceAssignment(traces[i].getHead().getNextFilter()) : "Error: could not find a legal layout for " + traces[i] + " during initial layout"; | private void legalInitialPlacement() { Trace[] traces = partitioner.getTraceGraph(); for (int i = 0; i < traces.length; i++) { if (!partitioner.isIO(traces[i])) assert newTraceAssignment(traces[i].getHead().getNextFilter()) : "Error: could not find a legal ... | 5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/911f2ba0e32f2f0bb9cb04f88adc4521b036997a/AnnealedLayout.java/clean/streams/src/at/dms/kjc/spacetime/AnnealedLayout.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
19286,
4435,
12420,
1435,
288,
3639,
2677,
8526,
19649,
273,
3590,
264,
18,
588,
3448,
4137,
5621,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
19649,
18,
2469,
31,
277,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19286,
4435,
12420,
1435,
288,
3639,
2677,
8526,
19649,
273,
3590,
264,
18,
588,
3448,
4137,
5621,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
19649,
18,
2469,
31,
277,
... |
id = pixelsId; | if ( id == null || id.longValue() != pixelsId ) { id = new Long( pixelsId ); pixelsInstance = null; buffer = null; IPixels metadataService = serviceFactory.getPixelsService(); PixelsService dataService = (PixelsService) applicationContext.getBean("/OME/OMEIS/Pixels"); pixelsInstance = metadataService.retrievePixDescri... | public void setPixelsId(long pixelsId) { id = pixelsId; } | 13273 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13273/f7d8facc0df80871004c721c1920ba34361d4e05/RawPixelsBean.java/buggy/components/ejb/src/ome/ro/ejb/RawPixelsBean.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
18079,
548,
12,
5748,
8948,
548,
13,
565,
288,
3639,
309,
261,
612,
422,
446,
747,
612,
18,
5748,
620,
1435,
480,
8948,
548,
262,
288,
612,
273,
394,
3407,
12,
8948,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
18079,
548,
12,
5748,
8948,
548,
13,
565,
288,
3639,
309,
261,
612,
422,
446,
747,
612,
18,
5748,
620,
1435,
480,
8948,
548,
262,
288,
612,
273,
394,
3407,
12,
8948,
5... |
put(s, this, obj); | put(s, this, obj); Scriptable proto = getObjectPrototype(this); if (proto != obj) obj.setPrototype(proto); | public Object get(String s, Scriptable start) { Object result = super.get(s, start); if (result != NOT_FOUND) return result; if (s.equals("prototype")) { NativeObject obj = new NativeObject(); obj.setPrototype(getObjectPrototype(this)); final int attr... | 12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/5a0a0c0778470fc666abdbe870e2333dc2cfcc93/NativeFunction.java/clean/org/mozilla/javascript/NativeFunction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
336,
12,
780,
272,
16,
22780,
787,
13,
288,
3639,
1033,
563,
273,
2240,
18,
588,
12,
87,
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,
272,
16,
22780,
787,
13,
288,
3639,
1033,
563,
273,
2240,
18,
588,
12,
87,
16,
787,
1769,
3639,
309,
261,
2088,
480,
4269,
67,
9294,
13,
5411,
327,
563,
31,
... |
&& (m_warningLoggedSinceLastStatus && !(((m_intervalLog <= 0) && (System.currentTimeMillis() < (m_lastLogWarning + m_intervalWarning)))))) { | && (m_warningLoggedSinceLastStatus && !(((m_intervalLog <= 0) && (System.currentTimeMillis() < (m_lastLogWarning + m_intervalWarning)))))) { | private void monitorWriteLog(boolean warning) { if (!LOG.isWarnEnabled()) { // we need at last warn level for this output return; } else if ((!warning) && (!LOG.isInfoEnabled())) { // if not warning we need info level return; } else if (warnin... | 8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/f12328204dd4cd4c2d95d0595fb352cd0e93c475/CmsMemoryMonitor.java/clean/src/org/opencms/monitor/CmsMemoryMonitor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
6438,
3067,
1343,
12,
6494,
3436,
13,
288,
7734,
309,
16051,
4842,
18,
291,
3160,
1526,
10756,
288,
5411,
368,
732,
1608,
622,
1142,
1894,
1801,
364,
333,
876,
5411,
327,
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,
3238,
918,
6438,
3067,
1343,
12,
6494,
3436,
13,
288,
7734,
309,
16051,
4842,
18,
291,
3160,
1526,
10756,
288,
5411,
368,
732,
1608,
622,
1142,
1894,
1801,
364,
333,
876,
5411,
327,
31,
... |
getUsedVariables(aString, UNIX_OPEN, UNIX_CLOSE, list); getUsedVariables(aString, WINDOWS_OPEN, WINDOWS_CLOSE, list); | if (aString==null) return; int p=0; while (p<aString.length()) { if (aString.substring(p).startsWith(open)) { int from = p+open.length(); int to = aString.indexOf(close, from+1); String variable = aString.substring(from, to); if (Const.indexOfString(variable, list)<0) list.add(variable); p=to; } p++; } | public static void getUsedVariables(String aString, List list) { getUsedVariables(aString, UNIX_OPEN, UNIX_CLOSE, list); getUsedVariables(aString, WINDOWS_OPEN, WINDOWS_CLOSE, list); } | 58146 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58146/43f676d43eaf0e0784af345bd337a7d9bbe2d68f/StringUtil.java/buggy/kettle/src/be/ibridge/kettle/core/util/StringUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
336,
6668,
6158,
12,
780,
279,
780,
16,
987,
666,
13,
565,
288,
3639,
336,
6668,
6158,
12,
69,
780,
16,
23160,
67,
11437,
16,
23160,
67,
13384,
16,
666,
1769,
3639,
33... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
336,
6668,
6158,
12,
780,
279,
780,
16,
987,
666,
13,
565,
288,
3639,
336,
6668,
6158,
12,
69,
780,
16,
23160,
67,
11437,
16,
23160,
67,
13384,
16,
666,
1769,
3639,
33... |
strTreeSet = ""; | private void refreshEntities() { lisEntities.removeAll(); int listIndex = 0; String strTreeSet = ""; String strTreeView = ""; boolean localUnits = false; entityCorrespondance = new int[client.game.getNoOfEntities()]; for (Enumeration i = client.getEntities(); i.hasMo... | 4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/da74eeedf44b94d0058c32b90c0d3937c88bb32d/ChatLounge.java/clean/megamek/src/megamek/client/ui/AWT/ChatLounge.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
4460,
8108,
1435,
288,
3639,
328,
291,
8108,
18,
4479,
1595,
5621,
3639,
509,
666,
1016,
273,
374,
31,
3639,
514,
3639,
514,
609,
2471,
1767,
273,
1408,
31,
3639,
1250,
1191,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4460,
8108,
1435,
288,
3639,
328,
291,
8108,
18,
4479,
1595,
5621,
3639,
509,
666,
1016,
273,
374,
31,
3639,
514,
3639,
514,
609,
2471,
1767,
273,
1408,
31,
3639,
1250,
1191,
... | |
IASTTranslationUnit tu = parse( "void ( * f( int ) )(){}", ParserLanguage.C ); IASTFunctionDefinition def = (IASTFunctionDefinition) tu.getDeclarations()[0]; IFunction f = (IFunction) def.getDeclarator().getNestedDeclarator().getName().resolveBinding(); IFunctionType ft = f.getType(); assertTrue( ft.getReturnType() i... | IASTTranslationUnit tu = parse( "void ( * f( int ) )(){}", ParserLanguage.C); IASTFunctionDefinition def = (IASTFunctionDefinition) tu .getDeclarations()[0]; IFunction f = (IFunction) def.getDeclarator().getNestedDeclarator() .getName().resolveBinding(); IFunctionType ft = f.getType(); assertTrue(ft.getReturnType() i... | public void testFnReturningPtrToFn() throws Exception { IASTTranslationUnit tu = parse( "void ( * f( int ) )(){}", ParserLanguage.C ); //$NON-NLS-1$ IASTFunctionDefinition def = (IASTFunctionDefinition) tu.getDeclarations()[0]; IFunction f = (IFunction) def.getDeclarator().getNestedDeclarator... | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/a1776b31512ed659229f125097f603f16a18be82/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,
377,
1071,
918,
1842,
5372,
28365,
5263,
774,
5372,
1435,
1216,
1185,
288,
377,
202,
45,
9053,
6717,
2802,
28325,
273,
1109,
12,
315,
6459,
261,
380,
284,
12,
509,
262,
262,
1435,
9338,
16,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
5372,
28365,
5263,
774,
5372,
1435,
1216,
1185,
288,
377,
202,
45,
9053,
6717,
2802,
28325,
273,
1109,
12,
315,
6459,
261,
380,
284,
12,
509,
262,
262,
1435,
9338,
16,
... |
p1 = Pattern.compile(factory.getAtomType(atomTypeIds[44]).getSphericalMatcher()); mat1 = p1.matcher(atom.getSphericalMatcher()); | p1 = Pattern.compile(getSphericalMatcher(atomTypeIds[44])); mat1 = p1.matcher(atomSphericalMatcher); | public AtomType findMatchingAtomType(AtomContainer atomContainer, Atom atomInterface) throws CDKException { org.openscience.cdk.Atom atom = (org.openscience.cdk.Atom)atomInterface; //System.out.println("****** Configure MMFF94 AtomType via findMatching ******"); //System.out.print(" Symbol:" + atom.getSymbol() +" H... | 46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/53b7038bf76a67276cd51466afb62126fb362c25/MMFF94AtomTypeMatcher.java/clean/src/org/openscience/cdk/atomtype/MMFF94AtomTypeMatcher.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
7149,
559,
1104,
9517,
3641,
559,
12,
3641,
2170,
22487,
16,
7149,
3179,
1358,
13,
1216,
24570,
288,
202,
202,
3341,
18,
20346,
71,
6254,
18,
71,
2883,
18,
3641,
3179,
273,
26... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7149,
559,
1104,
9517,
3641,
559,
12,
3641,
2170,
22487,
16,
7149,
3179,
1358,
13,
1216,
24570,
288,
202,
202,
3341,
18,
20346,
71,
6254,
18,
71,
2883,
18,
3641,
3179,
273,
26... |
int starIndex = stringPattern.indexOf('*'); int questionIndex = stringPattern.indexOf('?'); if (starIndex < 0 && questionIndex < 0) { matchRule &= ~R_PATTERN_MATCH; } else { matchRule |= R_PATTERN_MATCH; } if ((matchRule & R_PATTERN_MATCH) != 0) { matchRule &= ~R_CAMELCASE_MATCH; matchRule &= ~R_PREFIX_MATCH; } | int starIndex = stringPattern.indexOf('*'); int questionIndex = stringPattern.indexOf('?'); if (starIndex < 0 && questionIndex < 0) { matchRule &= ~R_PATTERN_MATCH; } else { matchRule |= R_PATTERN_MATCH; } if ((matchRule & R_PATTERN_MATCH) != 0) { matchRule &= ~R_CAMELCASE_MATCH; matchRule &= ~R_PREFIX_MATCH; } | public static int validateMatchRule(String stringPattern, int matchRule) { // Verify Regexp match rule if ((matchRule & R_REGEXP_MATCH) != 0) { if ((matchRule & R_PATTERN_MATCH) != 0 || (matchRule & R_PREFIX_MATCH) != 0 || (matchRule & R_CAMELCASE_MATCH) != 0) { return -1; } } // Verify Pattern match rule int starI... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/ea0718e0ea8d8a7b8c1c9d464be2b2219d8be426/SearchPattern.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/dialogs/SearchPattern.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
760,
509,
1954,
2060,
2175,
12,
780,
533,
3234,
16,
509,
845,
2175,
13,
288,
202,
759,
8553,
17011,
845,
1720,
202,
430,
14015,
1916,
2175,
473,
534,
67,
28225,
67,
11793,
13,
480,
374... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
760,
509,
1954,
2060,
2175,
12,
780,
533,
3234,
16,
509,
845,
2175,
13,
288,
202,
759,
8553,
17011,
845,
1720,
202,
430,
14015,
1916,
2175,
473,
534,
67,
28225,
67,
11793,
13,
480,
374... |
/* * ==================================================================== * The Apache Software License, Version 1.1 * * Copyright (c) 2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the... | public static String format(String message, Object[] params) { int currentParamNumber = 0; StringBuffer formattedMessage = new StringBuffer(); for (int i = 0; i < message.length(); i++) { if (message.charAt(i) == '%') { if (currentParamNumber >= params.length) { formattedMessage.append("?missing data?"); } else if ( (p... | /* * ==================================================================== * The Apache Software License, Version 1.1 * * Copyright (c) 2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the... | 509 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/509/fe523885589467a454b95a80b01f917033e86a0f/StringUtil.java/clean/src/java/org/apache/poi/util/StringUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1748,
380,
225,
422,
9917,
631,
380,
225,
1021,
24840,
24199,
16832,
16,
4049,
404,
18,
21,
380,
380,
225,
25417,
261,
71,
13,
4044,
23,
1021,
24840,
24199,
31289,
18,
225,
4826,
14989,
380,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1748,
380,
225,
422,
9917,
631,
380,
225,
1021,
24840,
24199,
16832,
16,
4049,
404,
18,
21,
380,
380,
225,
25417,
261,
71,
13,
4044,
23,
1021,
24840,
24199,
31289,
18,
225,
4826,
14989,
380,
... |
al.sourcei(source[1],AL.LOOPING,AL.FALSE); | al.sourcei(source.getInt(4*1),AL.LOOPING,AL.FALSE); | protected void i_LoopingTest() { int error; int[] source = new int[2]; int ch = -1; int bLooping0 = AL.FALSE; int bLooping1 = AL.FALSE; ByteBuffer source0Pos = ByteBuffer.allocateDirect(12); source0Pos.order(ByteOrder.nativeOrder()); source0Pos.putFloa... | 5076 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5076/f85aaf6b019e121ae356134303adfe86ac9476bb/ALTest.java/clean/src/java/org/lwjgl/openal/test/ALTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
277,
67,
6452,
310,
4709,
1435,
288,
3639,
509,
202,
1636,
31,
3639,
509,
8526,
1084,
273,
394,
509,
63,
22,
15533,
3639,
509,
202,
343,
273,
300,
21,
31,
3639,
509,
324,
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,
4750,
918,
277,
67,
6452,
310,
4709,
1435,
288,
3639,
509,
202,
1636,
31,
3639,
509,
8526,
1084,
273,
394,
509,
63,
22,
15533,
3639,
509,
202,
343,
273,
300,
21,
31,
3639,
509,
324,
6... |
public void setEmployeeHistoric(EmployeeHistoric employeeHistoric) { | public void setEmployeeHistoric(IEmployeeHistoric employeeHistoric) { | public void setEmployeeHistoric(EmployeeHistoric employeeHistoric) { this.employeeHistoric = employeeHistoric; } | 2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/02bd674728f9b3f45c74a05268373037fde17533/Employee.java/buggy/src/net/sourceforge/fenixedu/domain/Employee.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
41,
27520,
8648,
19208,
12,
8732,
27520,
8648,
19208,
24539,
1340,
8648,
19208,
13,
288,
3639,
333,
18,
351,
2817,
1340,
8648,
19208,
273,
24539,
1340,
8648,
19208,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
41,
27520,
8648,
19208,
12,
8732,
27520,
8648,
19208,
24539,
1340,
8648,
19208,
13,
288,
3639,
333,
18,
351,
2817,
1340,
8648,
19208,
273,
24539,
1340,
8648,
19208,
31,
565,... |
nSamples += targetLength - (nTargetPitchmarks-1)*avgPeriodLength; pitchmarks[nTargetPitchmarks-1] = nSamples; assert pitchmarks[nTargetPitchmarks-1] == targetLength; rightContextFrame = new Datagram(0, new byte[0]); | public AudioInputStream getAudio(List units) throws IOException { logger.debug("Getting audio for "+units.size()+" units"); int totalNSamples = 0; // First loop through all units: collect information and build up preparatory structures for (Iterator it = units.iterator();it.hasNe... | 49846 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49846/8d8f1eecc7847dc3266f24e0dce529589aad9d2c/WaveOverlapUnitConcatenator.java/buggy/java/de/dfki/lt/mary/unitselection/WaveOverlapUnitConcatenator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15045,
4348,
4506,
4484,
12,
682,
4971,
13,
1216,
1860,
565,
288,
3639,
1194,
18,
4148,
2932,
19213,
7447,
364,
13773,
7705,
18,
1467,
1435,
9078,
4971,
8863,
7734,
509,
2078,
3156,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15045,
4348,
4506,
4484,
12,
682,
4971,
13,
1216,
1860,
565,
288,
3639,
1194,
18,
4148,
2932,
19213,
7447,
364,
13773,
7705,
18,
1467,
1435,
9078,
4971,
8863,
7734,
509,
2078,
3156,
... | |
List matches = resultCollector.getSearchResults(); | Set matches = resultCollector.getSearchResults(); | public void testVariableDeclaration(){ ICSearchPattern pattern = SearchEngine.createSearchPattern( "b?", VAR, DECLARATIONS, true ); search( workspace, pattern, scope, resultCollector ); List matches = resultCollector.getSearchResults(); assertEquals( matches.size(), 2 ); IMatch match = (IMatch) matches.iter... | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/287009d7481a1d71a3c827446d4d93039f3aadee/OtherPatternTests.java/clean/core/org.eclipse.cdt.core.tests/search/org/eclipse/cdt/core/search/tests/OtherPatternTests.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
26547,
1435,
95,
202,
202,
2871,
2979,
3234,
1936,
273,
5167,
4410,
18,
2640,
2979,
3234,
12,
315,
70,
35,
3113,
8350,
16,
2030,
5017,
985,
15297,
16,
638,
11272,
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,
918,
1842,
26547,
1435,
95,
202,
202,
2871,
2979,
3234,
1936,
273,
5167,
4410,
18,
2640,
2979,
3234,
12,
315,
70,
35,
3113,
8350,
16,
2030,
5017,
985,
15297,
16,
638,
11272,
9... |
log.severe(e.getMessage()); return; | if (s_metalThemes[i].getName().equals(lookTheme)) { theme = s_metalThemes[i]; break; } | public static void setPLAF (ValueNamePair plaf, ValueNamePair theme, boolean updateIni) { if (plaf == null) return; log.config(plaf + (theme == null ? "" : (" - " + theme))); // Look & Feel Class lafClass = null; try { lafClass = Class.forName(plaf.getValue()); } catch (Exception e) { log.severe(e.getM... | 50953 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50953/56b9d3fe54691782786224701926b07171a643d3/AdempierePLAF.java/buggy/looks/src/org/adempiere/plaf/AdempierePLAF.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
444,
10416,
42,
261,
620,
461,
4154,
886,
1727,
16,
1445,
461,
4154,
5006,
16,
1250,
1089,
22129,
13,
202,
95,
202,
202,
430,
261,
412,
1727,
422,
446,
13,
1082,
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,
760,
918,
444,
10416,
42,
261,
620,
461,
4154,
886,
1727,
16,
1445,
461,
4154,
5006,
16,
1250,
1089,
22129,
13,
202,
95,
202,
202,
430,
261,
412,
1727,
422,
446,
13,
1082,
2... |
if (getImpl() != null) return getImpl().getOutputStream(); throw new IOException("Not connected"); | if (isClosed()) throw new SocketException("socket is closed"); if (!isConnected()) throw new IOException("not connected"); return getImpl().getOutputStream(); | public OutputStream getOutputStream () throws IOException { if (getImpl() != null) return getImpl().getOutputStream(); throw new IOException("Not connected"); } | 27835 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27835/dcbb69e84e9c71073608efebeefaa86de4bd97d3/Socket.java/clean/libjava/java/net/Socket.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
8962,
22553,
1832,
1216,
1860,
225,
288,
565,
309,
261,
588,
2828,
1435,
480,
446,
13,
1377,
327,
336,
2828,
7675,
588,
4632,
5621,
565,
604,
394,
1860,
2932,
1248,
5840,
8863,
225,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
8962,
22553,
1832,
1216,
1860,
225,
288,
565,
309,
261,
588,
2828,
1435,
480,
446,
13,
1377,
327,
336,
2828,
7675,
588,
4632,
5621,
565,
604,
394,
1860,
2932,
1248,
5840,
8863,
225,... |
valueVaries = true; | setValueType((i == NFC || i == NFKC) ? ENUMERATED : BINARY); | QuickDProp (int i) { valueVaries = true; type = DERIVED_NORMALIZATION; nfx = nf[i]; NO = nfx.getName() + "_NO"; MAYBE = nfx.getName() + "_MAYBE"; name = nfx.getName() + "_QuickCheck"; shortName = nfx.getName() + "_QC"; heade... | 5620 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5620/a903b84867c303be450a264f036e46ffde646df7/DerivedProperty.java/clean/tools/unicodetools/com/ibm/text/UCD/DerivedProperty.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
19884,
40,
4658,
261,
474,
277,
13,
288,
5411,
5524,
559,
12443,
77,
422,
423,
4488,
747,
277,
422,
423,
13121,
39,
13,
692,
24776,
654,
6344,
294,
22468,
1769,
5411,
618,
273,
21801,
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,
540,
19884,
40,
4658,
261,
474,
277,
13,
288,
5411,
5524,
559,
12443,
77,
422,
423,
4488,
747,
277,
422,
423,
13121,
39,
13,
692,
24776,
654,
6344,
294,
22468,
1769,
5411,
618,
273,
21801,
2... |
if(data.length == targetLength+1 && data[0] == 0) { | if((data.length == targetLength+1) && (data[0] == 0)) { | private void sendFirstHalfDHPacket(int phase, NativeBigInteger integer, PeerNode pn, Peer replyTo) { long time1 = System.currentTimeMillis(); Logger.minor(this, "Sending ("+phase+") "+integer.toHexString()+" to "+pn.getPeer()); byte[] data = integer.toByteArray(); int targetLength = Diff... | 46035 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46035/ca136843ae9ecb30cadada58a33a5dc2cf8ad064/FNPPacketMangler.java/buggy/src/freenet/node/FNPPacketMangler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1366,
3759,
16168,
40,
2500,
484,
278,
12,
474,
6855,
16,
16717,
24198,
3571,
16,
10669,
907,
11059,
16,
10669,
30934,
13,
288,
3639,
1525,
813,
21,
273,
2332,
18,
2972,
28512,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1366,
3759,
16168,
40,
2500,
484,
278,
12,
474,
6855,
16,
16717,
24198,
3571,
16,
10669,
907,
11059,
16,
10669,
30934,
13,
288,
3639,
1525,
813,
21,
273,
2332,
18,
2972,
28512,... |
if (jobCount == 1) | jobs.remove(job); if(jobs.isEmpty()) | private IJobChangeListener getJobListener() { return new JobChangeAdapter() { int jobCount = 0; /* (non-Javadoc) * @see org.eclipse.core.runtime.jobs.JobChangeAdapter#aboutToRun(org.eclipse.core.runtime.jobs.IJobChangeEvent) */ public void aboutToRun(IJobChangeEvent event) { incrementJobCount(event.get... | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/5397d07869dda2dc03b24a39b50dcf0f68b166a1/AnimationItem.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/AnimationItem.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
467,
2278,
15744,
13024,
2223,
1435,
288,
202,
202,
2463,
394,
3956,
3043,
4216,
1435,
288,
1082,
202,
474,
1719,
1380,
273,
374,
31,
1082,
202,
20308,
261,
5836,
17,
24060,
13... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
467,
2278,
15744,
13024,
2223,
1435,
288,
202,
202,
2463,
394,
3956,
3043,
4216,
1435,
288,
1082,
202,
474,
1719,
1380,
273,
374,
31,
1082,
202,
20308,
261,
5836,
17,
24060,
13... |
if (feeActions != null && feeActions.size() > 0) { | if (feeActions != null && feeActions.size() > 0) { | public static List<BulkEntryAccountFeeActionView> getBulkEntryAccountFeeActionViews( AccountActionDateEntity accountActionDateEntity) { List<BulkEntryAccountFeeActionView> bulkEntryFeeViews = new ArrayList<BulkEntryAccountFeeActionView>(); Set<AccountFeesActionDetailEntity> feeActions = null; if(accountActionDate... | 45468 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45468/e300276629f3f22c1315b077dbc65514fcd457ed/TestObjectFactory.java/clean/mifos/test/org/mifos/framework/util/helpers/TestObjectFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
987,
32,
13112,
1622,
3032,
14667,
1803,
1767,
34,
2882,
5257,
1622,
3032,
14667,
1803,
9959,
12,
1082,
202,
3032,
1803,
1626,
1943,
2236,
1803,
1626,
1943,
13,
288,
202,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
987,
32,
13112,
1622,
3032,
14667,
1803,
1767,
34,
2882,
5257,
1622,
3032,
14667,
1803,
9959,
12,
1082,
202,
3032,
1803,
1626,
1943,
2236,
1803,
1626,
1943,
13,
288,
202,
2... |
public void widgetSelected(SelectionEvent evt) { handleGDBInitButtonSelected(); updateLaunchConfigurationDialog(); } | public void widgetSelected( SelectionEvent evt ) { handleGDBInitButtonSelected(); updateLaunchConfigurationDialog(); } | public void widgetSelected(SelectionEvent evt) { handleGDBInitButtonSelected(); updateLaunchConfigurationDialog(); } | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/2a80da7743f88e192178cbc53927b2e634766115/GDBDebuggerPage.java/clean/debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/GDBDebuggerPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
3604,
7416,
12,
6233,
1133,
6324,
13,
288,
9506,
202,
4110,
43,
2290,
2570,
3616,
7416,
5621,
9506,
202,
2725,
9569,
1750,
6353,
5621,
1082,
202,
97,
2,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
3604,
7416,
12,
6233,
1133,
6324,
13,
288,
9506,
202,
4110,
43,
2290,
2570,
3616,
7416,
5621,
9506,
202,
2725,
9569,
1750,
6353,
5621,
1082,
202,
97,
2,
-100,
-100,
-100,
... |
public static void clearState(PortletWindow portletWindow) { Map map = windowStates; for ( int i = 0; i < 2; i++ ) { Iterator keyIterator = map.keySet().iterator(); while ( keyIterator.hasNext() ) { String name = (String) keyIterator.next(); if (name.startsWith(getKey(portletWindow))) { keyIterator.remove(); } } map = ... | public static void clearState(PortletWindow window) { final HttpSession session = getSession(window); if (session != null) session.removeAttribute(getKey(window)); } | public static void clearState(PortletWindow portletWindow) { Map map = windowStates; for ( int i = 0; i < 2; i++ ) { Iterator keyIterator = map.keySet().iterator(); while ( keyIterator.hasNext() ) { String name = (String) keyIterator.next(); if (name.startsWith(getKey(portletWindow))) { keyIterator.remov... | 24959 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/24959/8330cbc23d81bb2476500bb77aff5b87cb528e25/PortletStateManager.java/clean/source/org/jasig/portal/container/services/information/PortletStateManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
2424,
1119,
12,
18566,
3829,
13114,
3829,
13,
288,
202,
225,
1635,
852,
273,
2742,
7629,
31,
1082,
225,
364,
261,
509,
277,
273,
374,
31,
277,
411,
576,
31,
277,
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,
2424,
1119,
12,
18566,
3829,
13114,
3829,
13,
288,
202,
225,
1635,
852,
273,
2742,
7629,
31,
1082,
225,
364,
261,
509,
277,
273,
374,
31,
277,
411,
576,
31,
277,
9... |
dockableWindowManager.propertiesChanged(); | private void propertiesChanged() { setJMenuBar(GUIUtilities.loadMenuBar("view.mbar")); loadToolBars(); showFullPath = jEdit.getBooleanProperty("view.showFullPath"); updateTitle(); dockableWindowManager.propertiesChanged(); status.propertiesChanged(); removeToolBar(status); getContentPane().remove(status); if(... | 6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/666ebe69c78ec442736fbed7b1038fc3a506d660/View.java/clean/org/gjt/sp/jedit/View.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1790,
5033,
1435,
202,
95,
202,
202,
542,
46,
4599,
5190,
12,
43,
5370,
11864,
18,
945,
4599,
5190,
2932,
1945,
18,
1627,
297,
7923,
1769,
202,
202,
945,
6364,
5190,
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,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1790,
5033,
1435,
202,
95,
202,
202,
542,
46,
4599,
5190,
12,
43,
5370,
11864,
18,
945,
4599,
5190,
2932,
1945,
18,
1627,
297,
7923,
1769,
202,
202,
945,
6364,
5190,
87,... | |
public void handleException(Throwable e) { super.handleException(e); String msg = e.getMessage() == null ? "" : e.getMessage(); result[0] = new Status(IStatus.ERROR, WorkbenchPlugin.PI_WORKBENCH, IWorkbenchConfigurer.RESTORE_CODE_RESET, msg, e); stateFile.delete(); } | public void handleException(Throwable e) { super.handleException(e); String msg = e.getMessage() == null ? "" : e.getMessage(); result[0] = new Status(IStatus.ERROR, WorkbenchPlugin.PI_WORKBENCH, IWorkbenchConfigurer.RESTORE_CODE_RESET, msg, e); stateFile.delete(); } | /* package */IStatus restoreState() { if (!getWorkbenchConfigurer().getSaveAndRestore()) { String msg = WorkbenchMessages.Workbench_restoreDisabled; return new Status(IStatus.WARNING, WorkbenchPlugin.PI_WORKBENCH, IWorkbenchConfigurer.RESTORE_CODE_RESET, msg, null); ... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/9337b828e86179850647141c34d497be28275ed2/Workbench.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1748,
2181,
1195,
45,
1482,
5217,
1119,
1435,
288,
3639,
309,
16051,
588,
2421,
22144,
809,
11278,
7675,
588,
4755,
1876,
10874,
10756,
288,
5411,
514,
1234,
273,
4147,
22144,
5058,
18,
242... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1748,
2181,
1195,
45,
1482,
5217,
1119,
1435,
288,
3639,
309,
16051,
588,
2421,
22144,
809,
11278,
7675,
588,
4755,
1876,
10874,
10756,
288,
5411,
514,
1234,
273,
4147,
22144,
5058,
18,
242... |
String description = null; try { description = seq.getAnnotation().getProperty(PROPERTY_DESCRIPTIONLINE).toString(); } catch (NoSuchElementException ex) { description = seq.getName(); } return description; | String description = null; try { description = seq.getAnnotation().getProperty(PROPERTY_DESCRIPTIONLINE).toString(); } catch (NoSuchElementException ex) { description = seq.getName(); | protected String describeSequence(Sequence seq) { String description = null; try { description = seq.getAnnotation().getProperty(PROPERTY_DESCRIPTIONLINE).toString(); } catch (NoSuchElementException ex) { description = seq.getName(); } return description; ... | 50397 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50397/38c9349040bf619c02a2410fbe8bbccfb93de469/PhredFormat.java/clean/src/org/biojava/bio/program/phred/PhredFormat.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
514,
6401,
4021,
12,
4021,
3833,
13,
288,
3639,
514,
2477,
273,
446,
31,
3639,
775,
288,
5411,
2477,
273,
3833,
18,
588,
3257,
7675,
588,
1396,
12,
9900,
67,
15911,
5997,
2934,
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,
4750,
514,
6401,
4021,
12,
4021,
3833,
13,
288,
3639,
514,
2477,
273,
446,
31,
3639,
775,
288,
5411,
2477,
273,
3833,
18,
588,
3257,
7675,
588,
1396,
12,
9900,
67,
15911,
5997,
2934,
10... |
return new PyFloat(-value); | return float___neg__(); | public PyObject __neg__() { return new PyFloat(-value); } | 6527 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6527/2894100b1ec574a1b17aacd20c40f1244ca6c7cd/PyFloat.java/buggy/org/python/core/PyFloat.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4707,
921,
1001,
14518,
972,
1435,
288,
3639,
327,
1431,
31268,
14518,
972,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4707,
921,
1001,
14518,
972,
1435,
288,
3639,
327,
1431,
31268,
14518,
972,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
sbi.setSearchstate(SearchBuilderItem.STATE_COMPLETED); updateOrSave(connection,sbi); | sbi .setSearchstate(SearchBuilderItem.STATE_COMPLETED); updateOrSave(connection, sbi); | public void processToDoListTransaction(SearchIndexBuilderWorker worker) { Connection connection = null; try { connection = dataSource.getConnection(); long startTime = System.currentTimeMillis(); int totalDocs = 0; IndexWriter indexWrite = null; // Load the list List runtimeToDo = findPending(indexBatch... | 2021 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2021/20ccf8886abe7d3c214de2a86a0f559bd200b82f/SearchIndexBuilderWorkerDaoJdbcImpl.java/clean/search/search-impl/impl/src/java/org/sakaiproject/search/component/dao/impl/SearchIndexBuilderWorkerDaoJdbcImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1207,
774,
3244,
682,
3342,
12,
2979,
1016,
1263,
6671,
4322,
13,
202,
95,
202,
202,
1952,
1459,
273,
446,
31,
202,
202,
698,
202,
202,
95,
1082,
202,
4071,
273,
10233,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1207,
774,
3244,
682,
3342,
12,
2979,
1016,
1263,
6671,
4322,
13,
202,
95,
202,
202,
1952,
1459,
273,
446,
31,
202,
202,
698,
202,
202,
95,
1082,
202,
4071,
273,
10233,
... |
private boolean callLogicalHandlers(ContextHolder holder, Direction direction, RequestOrResponse type, boolean responseExpected) { if (direction == Direction.OUTBOUND) { int i = 0; try { while (i < logicalHandlers.size()) { if (logicalHandlers.ge... | 9667 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9667/7693c5165174bdec55db97e88ac18a66e7647e72/HandlerChainCaller.java/buggy/jaxws-ri/rt/src/com/sun/xml/ws/handler/HandlerChainCaller.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
6494,
1991,
17955,
6919,
12,
1042,
6064,
4505,
16,
8212,
9855,
16,
691,
1162,
607,
500,
542,
388,
16,
6494,
2740,
6861,
15329,
430,
12,
9855,
631,
8212,
18,
5069,
19318,
15329,
474,
77,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
6494,
1991,
17955,
6919,
12,
1042,
6064,
4505,
16,
8212,
9855,
16,
691,
1162,
607,
500,
542,
388,
16,
6494,
2740,
6861,
15329,
430,
12,
9855,
631,
8212,
18,
5069,
19318,
15329,
474,
77,
... | ||
public void check (Layer l, Checker ck) throws Exception { nvd.populateScope(ck.getLocalScope()); // check that the variable type is a known class Type t = nvd.getType(); String bt = t.baseType(); if (! Type.isPrimitive(bt) && ck.getClass(bt) == null) { throw new Exception("Unknown type or class '"+bt+... | 5345 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5345/6676d99df452023146df224343fbbc77da7ccc7b/NodeVarDeclStmt.java/buggy/danga/s2/NodeVarDeclStmt.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
866,
261,
4576,
328,
16,
31577,
12622,
13,
1216,
1185,
565,
288,
202,
82,
16115,
18,
19936,
3876,
12,
363,
18,
588,
2042,
3876,
10663,
202,
202,
759,
866,
716,
326,
2190,
618... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
866,
261,
4576,
328,
16,
31577,
12622,
13,
1216,
1185,
565,
288,
202,
82,
16115,
18,
19936,
3876,
12,
363,
18,
588,
2042,
3876,
10663,
202,
202,
759,
866,
716,
326,
2190,
618... | ||
/* debug.add(new AbstractAction("DOM tree inspector") { public void actionPerformed(ActionEvent evt) { JFrame frame = new JFrame(); frame.getContentPane().add(new DOMInspector(root.panel.view.doc)); frame.pack(); frame.setSize(250,500); frame.show(); } }); **/ | public void createLayout() { file.add(root.actions.open_file); file.add(root.actions.quit); add(file); edit.add(root.actions.cut); edit.add(root.actions.copy); edit.add(root.actions.paste); add(edit); view.add(view_source); add(view); ... | 52947 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52947/26f5d912c90d7e3336b7d1b0aa076c1e30cf293e/BrowserMenuBar.java/buggy/src/java/org/joshy/html/app/browser/BrowserMenuBar.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
752,
3744,
1435,
288,
3639,
585,
18,
1289,
12,
3085,
18,
4905,
18,
3190,
67,
768,
1769,
3639,
585,
18,
1289,
12,
3085,
18,
4905,
18,
27176,
1769,
3639,
527,
12,
768,
1769,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
752,
3744,
1435,
288,
3639,
585,
18,
1289,
12,
3085,
18,
4905,
18,
3190,
67,
768,
1769,
3639,
585,
18,
1289,
12,
3085,
18,
4905,
18,
27176,
1769,
3639,
527,
12,
768,
1769,
... | |
if (repository instanceof ITaskRepositoryClient && type != null) { MylarTaskListPlugin.getRepositoryManager().addRepositoryClient((ITaskRepositoryClient) repository); | if (repository instanceof TaskRepositoryClient && type != null) { MylarTaskListPlugin.getRepositoryManager().addRepositoryClient((TaskRepositoryClient) repository); | private static void readRepositoryClient(IConfigurationElement element) { try { Object type = element.getAttribute(ELMNT_TYPE); Object repository = element.createExecutableExtension(ATTR_CLASS); if (repository instanceof ITaskRepositoryClient && type != null) { MylarTaskListPlugin.getRepositoryManager().addR... | 51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/801c8826f3256cafc4464308ba6d4b6d54edc2f4/TaskListExtensionReader.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasklist/TaskListExtensionReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
918,
855,
3305,
1227,
12,
45,
1750,
1046,
930,
13,
288,
202,
202,
698,
288,
1082,
202,
921,
618,
273,
930,
18,
588,
1499,
12,
2247,
49,
1784,
67,
2399,
1769,
1082,
202... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
918,
855,
3305,
1227,
12,
45,
1750,
1046,
930,
13,
288,
202,
202,
698,
288,
1082,
202,
921,
618,
273,
930,
18,
588,
1499,
12,
2247,
49,
1784,
67,
2399,
1769,
1082,
202... |
boolean result = parent.containsKey(key); | public boolean remove(Object obj) { if (obj instanceof Map.Entry == false) { return false; } Map.Entry entry = (Map.Entry) obj; Object key = entry.getKey(); boolean result = parent.containsKey(key); parent.remove(key); r... | 55609 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55609/199716c53fd6c27a530e2ca3250e8a88b16aafac/AbstractHashedMap.java/buggy/src/java/org/apache/commons/collections/map/AbstractHashedMap.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
1250,
1206,
12,
921,
1081,
13,
288,
5411,
309,
261,
2603,
1276,
1635,
18,
1622,
422,
629,
13,
288,
7734,
327,
629,
31,
5411,
289,
5411,
1635,
18,
1622,
1241,
273,
261,
863,
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,
540,
1071,
1250,
1206,
12,
921,
1081,
13,
288,
5411,
309,
261,
2603,
1276,
1635,
18,
1622,
422,
629,
13,
288,
7734,
327,
629,
31,
5411,
289,
5411,
1635,
18,
1622,
1241,
273,
261,
863,
18,
... | |
return "I"+capitalizeFirst(xmlName); | return "I"+convertToCamelNotation(xmlName,true); | public static String xmlNameToJavaName( String role, String xmlName ) { // TODO if( role.equals("class") ) return capitalizeFirst(xmlName); if( role.equals("interface") ) return "I"+capitalizeFirst(xmlName); return xmlName; } | 45720 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45720/4d859666b34481f999a89615be1e48f40492b804/NameUtil.java/buggy/tahiti/src/com/sun/tahiti/reader/NameUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
514,
2025,
28455,
5852,
461,
12,
514,
2478,
16,
514,
2025,
461,
262,
288,
202,
202,
759,
2660,
202,
202,
430,
12,
2478,
18,
14963,
2932,
1106,
7923,
262,
1082,
202,
2463,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2025,
28455,
5852,
461,
12,
514,
2478,
16,
514,
2025,
461,
262,
288,
202,
202,
759,
2660,
202,
202,
430,
12,
2478,
18,
14963,
2932,
1106,
7923,
262,
1082,
202,
2463,... |
addRecipeToWorkspace(rc); | addRecipeToWorkspace(rc, getSelectedNode()); | public void selectRecipeFromDatabase() { Map recipeNamesHT = helper.getRecipeNamesFromDatabase(); Set dbRecipeNames = recipeNamesHT.keySet(); if (dbRecipeNames.isEmpty()) { JOptionPane.showMessageDialog(this, "There are no recipes in the database", ... | 9368 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9368/a671d5282cffbfc9f602a99846223fb2a25d1c23/Organizer.java/buggy/csmart/src/org/cougaar/tools/csmart/ui/viewer/Organizer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
2027,
5650,
3151,
1265,
4254,
1435,
288,
565,
1635,
16100,
1557,
5062,
273,
4222,
18,
588,
5650,
3151,
1557,
1265,
4254,
5621,
565,
1000,
1319,
5650,
3151,
1557,
273,
16100,
1557... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
2027,
5650,
3151,
1265,
4254,
1435,
288,
565,
1635,
16100,
1557,
5062,
273,
4222,
18,
588,
5650,
3151,
1557,
1265,
4254,
5621,
565,
1000,
1319,
5650,
3151,
1557,
273,
16100,
1557... |
for (int i = 0; i < weeksInMonth; i++) { | Period oneWeek = Period.weeks(1); while (!weekStart.isAfter(monthEnd)) { | public List getWeeks() { if (weeks == null) { // Initialise the weeks list. weeks = new java.util.ArrayList(); int startWeek = monthStart.getWeekOfWeekyear(); int endWeek = monthEnd.getWeekOfWeekyear(); // Depending on how many days of the week... | 18469 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/18469/ebc0331ce47a34d386859c34e74252d01fc74467/Month.java/buggy/src/java/com/atlassian/confluence/extra/calendar/display/Month.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
987,
336,
6630,
87,
1435,
565,
288,
3639,
309,
261,
10741,
87,
422,
446,
13,
3639,
288,
5411,
368,
31739,
326,
17314,
666,
18,
5411,
17314,
273,
394,
2252,
18,
1367,
18,
19558,
56... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
987,
336,
6630,
87,
1435,
565,
288,
3639,
309,
261,
10741,
87,
422,
446,
13,
3639,
288,
5411,
368,
31739,
326,
17314,
666,
18,
5411,
17314,
273,
394,
2252,
18,
1367,
18,
19558,
56... |
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.... | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/78f1bf90544259bc8541128f8a50137b3f49f862/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,
377,
1071,
918,
1842,
6999,
3262,
1435,
1216,
1185,
288,
3639,
6674,
1613,
273,
394,
6674,
5621,
3639,
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,
377,
1071,
918,
1842,
6999,
3262,
1435,
1216,
1185,
288,
3639,
6674,
1613,
273,
394,
6674,
5621,
3639,
1613,
18,
6923,
2932,
1697,
432,
31,
7734,
521,
86,
64,
82,
8863,
4329,
3993,
17,
5106,
... | ||
if ( fCDIVariable != null && !(fCDIVariable instanceof ErrorVariable) ) fType = new CType( fCDIVariable.getType() ); | ICDIVariableObject varObject = getVariableObject(); if ( varObject != null ) fType = new CType( varObject.getType() ); | public ICType getType() throws DebugException { if ( fType == null ) { try { if ( fCDIVariable != null && !(fCDIVariable instanceof ErrorVariable) ) fType = new CType( fCDIVariable.getType() ); } catch (CDIException e) { requestFailed( "Type is not available.", e ); } } return fType; } | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/2f62fb6d575639006622e3fc01acc476b259efb1/CArrayPartition.java/buggy/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CArrayPartition.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
26899,
559,
3130,
1435,
1216,
4015,
503,
202,
95,
202,
202,
430,
261,
284,
559,
422,
446,
262,
202,
202,
95,
1082,
202,
698,
1082,
202,
95,
9506,
202,
430,
261,
284,
39,
256... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
26899,
559,
3130,
1435,
1216,
4015,
503,
202,
95,
202,
202,
430,
261,
284,
559,
422,
446,
262,
202,
202,
95,
1082,
202,
698,
1082,
202,
95,
9506,
202,
430,
261,
284,
39,
256... |
dirty = true; | dirty=true; | public void setData(byte[] data) { this.data = data; dirty = true; } | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/5d32e4c533c3f554b2099795fe6d30766c16e4da/Block.java/clean/fs/src/fs/org/jnode/fs/ext2/cache/Block.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
7929,
12,
7229,
8526,
501,
13,
288,
202,
202,
2211,
18,
892,
273,
501,
31,
202,
202,
18013,
273,
638,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
7929,
12,
7229,
8526,
501,
13,
288,
202,
202,
2211,
18,
892,
273,
501,
31,
202,
202,
18013,
273,
638,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
return RubyRegexp.newRegexp(this, 0).match2(); | return RubyRegexp.newRegexp(this, 0, null).match2(); | public IRubyObject match2() { return RubyRegexp.newRegexp(this, 0).match2(); } | 45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/c3988bcedc9973ff7f8c24ac6423ecb89f3ada35/RubyString.java/buggy/src/org/jruby/RubyString.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
15908,
10340,
921,
845,
22,
1435,
288,
202,
202,
2463,
19817,
14621,
18,
2704,
14621,
12,
2211,
16,
374,
2934,
1916,
22,
5621,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
15908,
10340,
921,
845,
22,
1435,
288,
202,
202,
2463,
19817,
14621,
18,
2704,
14621,
12,
2211,
16,
374,
2934,
1916,
22,
5621,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
... |
superClass = getClasses().getObjectClass(); | superClass = objectClass; | public RubyClass defineClassUnder(String name, RubyClass superClass, RubyModule parentModule) { if (superClass == null) { superClass = getClasses().getObjectClass(); } return superClass.newSubClass(name, parentModule); } | 47134 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47134/ca6b16e996ea9af83ce593594b9c69b9364a9924/Ruby.java/buggy/src/org/jruby/Ruby.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
797,
4426,
797,
14655,
12,
780,
508,
16,
19817,
797,
18846,
16,
19817,
3120,
982,
3120,
13,
288,
3639,
309,
261,
9565,
797,
422,
446,
13,
288,
5411,
18846,
273,
23992,
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,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
797,
4426,
797,
14655,
12,
780,
508,
16,
19817,
797,
18846,
16,
19817,
3120,
982,
3120,
13,
288,
3639,
309,
261,
9565,
797,
422,
446,
13,
288,
5411,
18846,
273,
23992,
31,
... |
ByteBuf buf2 = new ByteBuf(); | ByteBuf buf2=new ByteBuf(); | public InputStream getInputStreamWithHeaders() throws MessagingException { InternetHeaders heads = new InternetHeaders(); Enumeration e; for (e = m.getAllHeaders() ; e.hasMoreElements() ;) { Header h = (Header) e.nextElement(); try { heads.addHeader(h.getName(), MimeUtility.encodeText(h.getV... | 11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/0cc63cb388a13f01532486f9d178811914e6d71b/MessageExtraWrapper.java/buggy/grendel/sources/grendel/storage/MessageExtraWrapper.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
5037,
14424,
21270,
1435,
1216,
23794,
503,
288,
565,
21352,
3121,
22742,
273,
394,
21352,
3121,
5621,
565,
13864,
425,
31,
565,
364,
261,
73,
273,
312,
18,
588,
1595,
3121,
1435,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
5037,
14424,
21270,
1435,
1216,
23794,
503,
288,
565,
21352,
3121,
22742,
273,
394,
21352,
3121,
5621,
565,
13864,
425,
31,
565,
364,
261,
73,
273,
312,
18,
588,
1595,
3121,
1435,
2... |
private HashMap go(HashMap counts, SimulationCounter counters, FlatNode lastToFire) { FlatNode fire, dest; while(true) { //find out who should fire fire = whoShouldFire(lastToFire, counts, counters); //if no one left to fire, stop if (fire == null) break; //keep track of ever... | 5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/dd876e4503ee7890d6adb2e866aa7d6acb895a72/Simulator.java/clean/streams/src/at/dms/kjc/raw/Simulator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
4317,
1960,
12,
8658,
6880,
16,
9587,
6234,
4789,
13199,
16,
20396,
907,
1142,
774,
9723,
13,
377,
288,
202,
202,
16384,
907,
4452,
16,
1570,
31,
1082,
202,
17523,
12,
3767,
13,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
4317,
1960,
12,
8658,
6880,
16,
9587,
6234,
4789,
13199,
16,
20396,
907,
1142,
774,
9723,
13,
377,
288,
202,
202,
16384,
907,
4452,
16,
1570,
31,
1082,
202,
17523,
12,
3767,
13,
2... | ||
SIPClientTransaction clientTransaction = (SIPClientTransaction) sipStack.createMessageChannel( messageChannel); | SIPClientTransaction clientTransaction = (SIPClientTransaction) sipStack .createMessageChannel(messageChannel); | public void sendAck(Request request) throws SipException { SIPRequest ackRequest = (SIPRequest) request; if (LogWriter.needsLogging) sipStack.logWriter.logMessage("sendAck" + this); // Loosen up check for re-invites (Andreas B) // if (this.isServer()) // throw new Sip... | 3364 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3364/d231d2c6c5ca907b5c90d5737c6ae873878b219f/SIPDialog.java/buggy/src/gov/nist/javax/sip/stack/SIPDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1366,
11931,
12,
691,
590,
13,
1216,
13475,
503,
288,
3639,
348,
2579,
691,
8479,
691,
273,
261,
17739,
691,
13,
590,
31,
3639,
309,
261,
1343,
2289,
18,
20600,
7735,
13,
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,
377,
1071,
918,
1366,
11931,
12,
691,
590,
13,
1216,
13475,
503,
288,
3639,
348,
2579,
691,
8479,
691,
273,
261,
17739,
691,
13,
590,
31,
3639,
309,
261,
1343,
2289,
18,
20600,
7735,
13,
541... |
AST __t543 = _t; | AST __t547 = _t; | public final void collatephrase(AST _t) throws RecognitionException { AST collatephrase_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t543 = _t; AST tmp234_AST_in = (AST)_t; match(_t,COLLATE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { ca... | 13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/JPTreeParser.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparserbase/JPTreeParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
4508,
340,
9429,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
4508,
340,
9429,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
4508,
340,
9429,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
4508,
340,
9429,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,... |
e.printStackTrace(System.out); | private void loadOptions() { // if no debug option was specified, don't even bother to try. // Must ensure that the options slot is null as this is the signal to the // platform that debugging is not enabled. String debugOptionsFilename = System.getProperty("osgi.debug"); //$NON-NLS-1$ if (debugOptionsFilename ==... | 2516 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2516/bdc34b516d7288bba0545c7bcb1d678ddc97b2b2/DebugOptions.java/buggy/bundles/org.eclipse.osgi/core/framework/org/eclipse/osgi/framework/debug/DebugOptions.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1262,
1320,
1435,
288,
202,
202,
759,
309,
1158,
1198,
1456,
1703,
1269,
16,
2727,
1404,
5456,
23440,
358,
775,
18,
202,
202,
759,
6753,
3387,
716,
326,
702,
4694,
353,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1262,
1320,
1435,
288,
202,
202,
759,
309,
1158,
1198,
1456,
1703,
1269,
16,
2727,
1404,
5456,
23440,
358,
775,
18,
202,
202,
759,
6753,
3387,
716,
326,
702,
4694,
353,
... | |
PermissionCollection p = super.getPermissions(codesource); | PermissionCollection p = null; if (sysPolicy != null) p = sysPolicy.getPermissions(codesource); | public PermissionCollection getPermissions(CodeSource codesource) { jvm.trace("asked perms for: "+codesource, PluggableJVM.LOG_DEBUG); Permissions perms = new Permissions(); if (isAllPermissionGranted(codesource)) { perms.add(new java.security.AllPermission()); jvm.trace("all perms granted to "+code... | 7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/efc7c81088d33f91cfa1164586e34ca04eda358e/WFPolicy.java/buggy/java/pluggable-jvm/wf/java/sun/jvmp/security/WFPolicy.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
8509,
2532,
25021,
12,
1085,
1830,
6198,
552,
13,
565,
288,
202,
78,
3489,
18,
5129,
2932,
835,
329,
13793,
364,
30,
13773,
7000,
552,
16,
3008,
30382,
46,
7397,
18,
4842,
67,
939... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8509,
2532,
25021,
12,
1085,
1830,
6198,
552,
13,
565,
288,
202,
78,
3489,
18,
5129,
2932,
835,
329,
13793,
364,
30,
13773,
7000,
552,
16,
3008,
30382,
46,
7397,
18,
4842,
67,
939... |
Class c = Class.forName("org.openmicroscopy.xml.st." + name + "Node"); Constructor con = c.getConstructor(new Class[] {OMEXMLNode.class}); | Class c = Class.forName(className); Constructor con = c.getConstructor(new Class[] {param}); | private OMEXMLNode getChild(OMEXMLNode base, String name, int i) { Vector children = base.getChildren(name); if (i < children.size()) { if (children.get(i) != null) return (OMEXMLNode) children.get(i); } // CTR TODO fix this, it is crap try { Class c = Class.forName("org.openmicroscopy.xml.st... | 11426 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11426/34bcbe2acc8b7f882c8afbdc1290ab99847904ea/OMEXMLMetadataStore.java/buggy/loci/formats/OMEXMLMetadataStore.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
531,
958,
4201,
907,
8154,
12,
51,
958,
4201,
907,
1026,
16,
514,
508,
16,
509,
277,
13,
288,
565,
5589,
2325,
273,
1026,
18,
588,
4212,
12,
529,
1769,
565,
309,
261,
77,
411,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
531,
958,
4201,
907,
8154,
12,
51,
958,
4201,
907,
1026,
16,
514,
508,
16,
509,
277,
13,
288,
565,
5589,
2325,
273,
1026,
18,
588,
4212,
12,
529,
1769,
565,
309,
261,
77,
411,
... |
static void printSet(String desc, BDD b) { | void printSet(String desc, BDD b) { | static void printSet(String desc, BDD b) { System.out.print(desc+": "); System.out.flush(); b.printSetWithDomains(); System.out.println(); } | 3029 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3029/8e8f5fe0f9e9e64ab077760ce5ae1cb3d2d0482b/BDDPointerAnalysis.java/buggy/joeq_core/joeq/Compiler/Quad/BDDPointerAnalysis.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
1172,
694,
12,
780,
3044,
16,
605,
5698,
324,
13,
288,
3639,
2332,
18,
659,
18,
1188,
12,
5569,
15,
6877,
315,
1769,
3639,
2332,
18,
659,
18,
11330,
5621,
3639,
324,
18,
1188,
69... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
1172,
694,
12,
780,
3044,
16,
605,
5698,
324,
13,
288,
3639,
2332,
18,
659,
18,
1188,
12,
5569,
15,
6877,
315,
1769,
3639,
2332,
18,
659,
18,
11330,
5621,
3639,
324,
18,
1188,
69... |
desc = o.getDescription(); desc = StringUtil.replace(desc, '&', "&"); desc = StringUtil.replace(desc, '<', "<"); desc = StringUtil.replace(desc, '>', ">"); | sb.append("\t\t\t<description>"); sb.append(Xml.cleanString(o.getDescription())); sb.append("...</description>\n"); | public String toXml() { StringBuffer sb = new StringBuffer(); String desc; sb.append("<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n"); sb.append("<rss version=\"2.0\">\n"); sb.append("\t<channel>\n"); sb.append("\t\t<title>"); sb.append(title); sb.append("... | 51288 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51288/c95cb71707a255524f516850d5ed3c9a780feb73/Rss.java/buggy/src/com/justjournal/Rss.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
358,
4432,
1435,
288,
3639,
6674,
2393,
273,
394,
6674,
5621,
3639,
514,
3044,
31,
3639,
2393,
18,
6923,
2932,
12880,
2902,
1177,
5189,
21,
18,
20,
2412,
2688,
5189,
12609,
17,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
358,
4432,
1435,
288,
3639,
6674,
2393,
273,
394,
6674,
5621,
3639,
514,
3044,
31,
3639,
2393,
18,
6923,
2932,
12880,
2902,
1177,
5189,
21,
18,
20,
2412,
2688,
5189,
12609,
17,... |
private void processAddToGroupNode(AnAction action, Element element) { if (LOG.isDebugEnabled()) { LOG.debug("enter: processAddToGroupNode(" + action + "," + element.getName() + ")"); } // Real subclasses of AnAction should not be here if (!(action instanceof Separator)) { assertActionIsGroupOrS... | 56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/4972de74093751aa507c641e7a852c8feb15d5e3/ActionManagerImpl.java/clean/action-system/impl/com/intellij/openapi/actionSystem/impl/ActionManagerImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
6459,
2567,
986,
774,
1114,
907,
12,
979,
1803,
1128,
16,
1046,
2956,
15329,
430,
12,
4842,
18,
291,
2829,
1526,
10756,
95,
4842,
18,
4148,
2932,
2328,
30,
2567,
986,
774,
1114,
907,
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,
3238,
6459,
2567,
986,
774,
1114,
907,
12,
979,
1803,
1128,
16,
1046,
2956,
15329,
430,
12,
4842,
18,
291,
2829,
1526,
10756,
95,
4842,
18,
4148,
2932,
2328,
30,
2567,
986,
774,
1114,
907,
2... | ||
filename = file.getAbsolutePath(); | filename = file.getName(); | private void _updateWithErrors() throws BadLocationException { DefaultStyledDocument doc = new DefaultStyledDocument(); int errorNum = 0; // Show errors for each file OpenDefinitionsDocument openDoc = _model.getActiveDocument(); JUnitErrorModel errorModel = openDoc.getJUnitErrorModel(); ... | 11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/e782d4da2d7bff038017015047af677bda357a17/JUnitPanel.java/buggy/drjava/src/edu/rice/cs/drjava/ui/JUnitPanel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
389,
2725,
1190,
4229,
1435,
1216,
6107,
2735,
503,
288,
1377,
2989,
24273,
1259,
2519,
997,
273,
394,
2989,
24273,
1259,
2519,
5621,
1377,
509,
555,
2578,
273,
374,
31,
1377,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
389,
2725,
1190,
4229,
1435,
1216,
6107,
2735,
503,
288,
1377,
2989,
24273,
1259,
2519,
997,
273,
394,
2989,
24273,
1259,
2519,
5621,
1377,
509,
555,
2578,
273,
374,
31,
1377,
... |
if (log.isDebugEnabled()) log.debug("run: calling onEvent on " + m_listener.getName() + " for event " + event.getUei()); | if (log.isInfoEnabled()) { log.info("run: calling onEvent on " + m_listener.getName() + " for event " + event.getUei() + " dbid " + event.getDbid() + " with time " + event.getTime()); } | public void run() { Category log = ThreadCategory.getInstance(this.getClass()); if (log.isDebugEnabled()) log.debug("In ListenerThread " + m_listener.getName() + " run"); while (!m_shutdown) { Object obj = null; try { ... | 47678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47678/709b3b05e544880455632b331afb98159896174d/EventIpcManagerDefaultImpl.java/buggy/opennms-services/src/main/java/org/opennms/netmgt/eventd/EventIpcManagerDefaultImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1086,
1435,
288,
5411,
9856,
613,
273,
4884,
4457,
18,
588,
1442,
12,
2211,
18,
588,
797,
10663,
5411,
309,
261,
1330,
18,
291,
2829,
1526,
10756,
7734,
613,
18,
4148,
2932,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1086,
1435,
288,
5411,
9856,
613,
273,
4884,
4457,
18,
588,
1442,
12,
2211,
18,
588,
797,
10663,
5411,
309,
261,
1330,
18,
291,
2829,
1526,
10756,
7734,
613,
18,
4148,
2932,
... |
this.updateRRD(m_rrdInterface, rrdPath, ipv4Addr, dsName, responseTime, pkg); | { try { this.updateRRD(m_rrdInterface, rrdPath, ipv4Addr, dsName, responseTime, pkg); } catch(RuntimeException rex) { log.debug("There was a problem writing the RRD:" + rex); } } | public int poll(NetworkInterface iface, Map parameters, org.opennms.netmgt.config.poller.Package pkg) { // // Get interface address from NetworkInterface // if (iface.getType() != iface.TYPE_IPV4) throw new NetworkInterfaceNotSupportedException("Unsupported interface type, only TYPE_IPV4 currently supported"); ... | 25465 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25465/8db833bbb0478b6c88e2a4c6bc08bd80c3f65d0c/HttpsMonitor.java/buggy/src/services/org/opennms/netmgt/poller/HttpsMonitor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
7672,
12,
27413,
9751,
16,
1635,
1472,
16,
2358,
18,
3190,
82,
959,
18,
2758,
81,
4521,
18,
1425,
18,
3915,
749,
18,
2261,
3475,
13,
225,
202,
95,
202,
202,
759,
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,
509,
7672,
12,
27413,
9751,
16,
1635,
1472,
16,
2358,
18,
3190,
82,
959,
18,
2758,
81,
4521,
18,
1425,
18,
3915,
749,
18,
2261,
3475,
13,
225,
202,
95,
202,
202,
759,
202,
... |
listener = null; running = false; notify(); log.info(addr + " disconnected."); | log.info("*** " + addr + " DISCONNECTED ***"); | public synchronized void disconnect() { if (!running) return; JGroupsAddress addr = localAddress; localAddress = null; // Close the channel. if (channel != null) { channel.disconnect(); channel.close(); channel = null; }... | 11642 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11642/ac35cc7c8079dc9df5d317718b24447b42881ccc/JGroupsBus.java/buggy/trunk/jegrid/src/org/jegrid/jgroups/JGroupsBus.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
918,
9479,
1435,
565,
288,
3639,
309,
16051,
8704,
13,
5411,
327,
31,
3639,
804,
3621,
1887,
3091,
273,
1191,
1887,
31,
3639,
1191,
1887,
273,
446,
31,
3639,
368,
3527,
326,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
918,
9479,
1435,
565,
288,
3639,
309,
16051,
8704,
13,
5411,
327,
31,
3639,
804,
3621,
1887,
3091,
273,
1191,
1887,
31,
3639,
1191,
1887,
273,
446,
31,
3639,
368,
3527,
326,
... |
t.repaint(); | public void actionPerformed(ActionEvent event) { JTextComponent t = getTextComponent(event); if (t != null) { try { int pos = t.getCaret().getDot(); if (pos > t.getDocument().getStartPosition().getOffset()) { ... | 45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/d7d6944d980c923238d575d18bd24905c4729999/DefaultEditorKit.java/clean/libraries/javalib/javax/swing/text/DefaultEditorKit.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
918,
26100,
12,
1803,
1133,
871,
13,
1377,
288,
3639,
804,
1528,
1841,
268,
273,
6701,
1841,
12,
2575,
1769,
3639,
309,
261,
88,
480,
446,
13,
1850,
288,
5411,
775,
2868,
288,
77... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
26100,
12,
1803,
1133,
871,
13,
1377,
288,
3639,
804,
1528,
1841,
268,
273,
6701,
1841,
12,
2575,
1769,
3639,
309,
261,
88,
480,
446,
13,
1850,
288,
5411,
775,
2868,
288,
77... | |
log.error("error invoking status command", t); | log().error("error invoking status command", t); | private static void doStatusCommand(boolean verbose, String invokeUrl) { Category log = ThreadCategory.getInstance(Manager.class); try { StatusGetter statusGetter = new StatusGetter(); statusGetter.setVerbose(verbose); statusGetter.setInvokeURL(new URL(invokeUrl ... | 47678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47678/af23ab05906a1983a222bf21e159158242295c81/Manager.java/buggy/src/services/org/opennms/netmgt/vmmgr/Manager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
741,
1482,
2189,
12,
6494,
3988,
16,
514,
4356,
1489,
13,
288,
3639,
9856,
613,
273,
4884,
4457,
18,
588,
1442,
12,
1318,
18,
1106,
1769,
3639,
775,
288,
5411,
2685,
846... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
741,
1482,
2189,
12,
6494,
3988,
16,
514,
4356,
1489,
13,
288,
3639,
9856,
613,
273,
4884,
4457,
18,
588,
1442,
12,
1318,
18,
1106,
1769,
3639,
775,
288,
5411,
2685,
846... |
public void steepestDescentsMinimization(GVector initialCoordinates, PotentialFunction forceField) { initializeMinimizationParameters(initialCoordinates); //System.out.println("STEEPESTDM: initial coords:"+initialCoordinates); //System.out.println("STEEPESTDM: kcoordinates coords:"+kCoordinates); forceFie... | 45254 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45254/9adcbd5769512fe518277f87ee5cc7c84de1ccb0/GeometricMinimizer.java/buggy/src/org/openscience/cdk/modeling/forcefield/GeometricMinimizer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
384,
2661,
395,
4217,
4877,
2930,
381,
1588,
12,
43,
5018,
2172,
13431,
16,
23435,
2001,
2083,
2944,
974,
13,
288,
9506,
202,
11160,
2930,
381,
1588,
2402,
12,
6769,
13431,
176... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
384,
2661,
395,
4217,
4877,
2930,
381,
1588,
12,
43,
5018,
2172,
13431,
16,
23435,
2001,
2083,
2944,
974,
13,
288,
9506,
202,
11160,
2930,
381,
1588,
2402,
12,
6769,
13431,
176... | ||
Pair p = (Pair)it.next(); | Pair p = (Pair) it.next(); | protected void doRemoveListener(int event, ArgoEventListener listener) { if (_listeners == null) return; Iterator it = _listeners.iterator(); List removeList = new ArrayList(); if (event == ArgoEvent.ANY_EVENT) { while (it.hasNext()) { Pair p = (Pair)... | 7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/ArgoEventPump.java/buggy/src_new/org/argouml/application/events/ArgoEventPump.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
741,
3288,
2223,
12,
474,
871,
16,
1201,
3240,
7375,
2991,
13,
288,
3639,
309,
261,
67,
16072,
422,
446,
13,
5411,
327,
31,
3639,
4498,
518,
273,
389,
16072,
18,
9838,
5621,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
741,
3288,
2223,
12,
474,
871,
16,
1201,
3240,
7375,
2991,
13,
288,
3639,
309,
261,
67,
16072,
422,
446,
13,
5411,
327,
31,
3639,
4498,
518,
273,
389,
16072,
18,
9838,
5621,
... |
f.show(); | f.setVisible(true); | public void actionPerformed(ActionEvent e) { // create an LZ100Frame ResourceBundle rb = ResourceBundle.getBundle("jmri.jmrix.lenz.lz100.LZ100Bundle"); LZ100Frame f = new LZ100Frame(rb.getString("LZ100Config")); f.show(); } | 213 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/213/0940f716e008979248bdd2dbd189e81098939eb3/LZ100Action.java/clean/jmri/jmrix/lenz/lz100/LZ100Action.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
26100,
12,
1803,
1133,
425,
13,
288,
3639,
368,
752,
392,
511,
62,
6625,
3219,
225,
202,
18731,
7138,
273,
19198,
18,
588,
3405,
2932,
78,
81,
566,
18,
78,
81,
1932,
18,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
26100,
12,
1803,
1133,
425,
13,
288,
3639,
368,
752,
392,
511,
62,
6625,
3219,
225,
202,
18731,
7138,
273,
19198,
18,
588,
3405,
2932,
78,
81,
566,
18,
78,
81,
1932,
18,
18... |
retValue = optInTimePeriod + (this.unstablePeriod[TA_FuncUnstId.TA_FUNC_UNST_CMO.ordinal()]); if ((this.compatibility) == TA_Compatibility.TA_COMPATIBILITY_METASTOCK) retValue--; | retValue = optInTimePeriod + (this.unstablePeriod[TA_FuncUnstId.TA_FUNC_UNST_CMO.ordinal()]) ; if( (this.compatibility) == TA_Compatibility. TA_COMPATIBILITY_METASTOCK ) retValue--; | public int CMO_Lookback(int optInTimePeriod) { int retValue; retValue = optInTimePeriod + (this.unstablePeriod[TA_FuncUnstId.TA_FUNC_UNST_CMO.ordinal()]); if ((this.compatibility) == TA_Compatibility.TA_COMPATIBILITY_METASTOCK) retValue--; return retValue; } | 7231 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7231/5df8081f2a7211016256c0f481213a987e02947a/Core.java/clean/ta-lib/java/src/TA/Lib/Core.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
385,
5980,
67,
9794,
823,
12,
474,
2153,
382,
26540,
13,
288,
202,
202,
474,
21236,
31,
202,
202,
1349,
620,
273,
2153,
382,
26540,
9506,
202,
15,
261,
2211,
18,
318,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
385,
5980,
67,
9794,
823,
12,
474,
2153,
382,
26540,
13,
288,
202,
202,
474,
21236,
31,
202,
202,
1349,
620,
273,
2153,
382,
26540,
9506,
202,
15,
261,
2211,
18,
318,
1... |
public org.quickfix.field.MDReqID get(org.quickfix.field.MDReqID value) | public quickfix.field.MDReqID get(quickfix.field.MDReqID value) | public org.quickfix.field.MDReqID get(org.quickfix.field.MDReqID value) throws FieldNotFound { getField(value); return value; } | 5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/MarketDataIncrementalRefresh.java/buggy/src/java/src/quickfix/fix43/MarketDataIncrementalRefresh.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
9549,
904,
18,
1518,
18,
6188,
6113,
734,
336,
12,
19525,
904,
18,
1518,
18,
6188,
6113,
734,
225,
460,
13,
565,
1216,
2286,
2768,
225,
288,
5031,
12,
1132,
1769,
327,
460,
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,
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,
9549,
904,
18,
1518,
18,
6188,
6113,
734,
336,
12,
19525,
904,
18,
1518,
18,
6188,
6113,
734,
225,
460,
13,
565,
1216,
2286,
2768,
225,
288,
5031,
12,
1132,
1769,
327,
460,
31,
... |
List bl = super.memberClasses(); List bo = new LinkedList(); | List<X10ClassType> bl = super.memberClasses(); List<X10ClassType> bo = new LinkedList<X10ClassType>(); | public List memberClasses() { List bl = super.memberClasses(); List bo = new LinkedList(); Iterator it = bl.iterator(); while (it.hasNext()) { X10ClassType ct = (X10ClassType) ((X10ClassType) it.next()).makeVariant(null, typeParameters); // TODO: Figure out how to set the dependentClause;. bo.add(ct);... | 1769 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1769/c6a9c5919552b91fb0c4af00afd67a30f78acfc4/X10ParsedClassType_c.java/buggy/x10.compiler/src/polyglot/ext/x10/types/X10ParsedClassType_c.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
987,
3140,
4818,
1435,
288,
202,
202,
682,
2811,
273,
2240,
18,
5990,
4818,
5621,
202,
202,
682,
800,
273,
394,
10688,
5621,
202,
202,
3198,
518,
273,
2811,
18,
9838,
5621,
20... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
987,
3140,
4818,
1435,
288,
202,
202,
682,
2811,
273,
2240,
18,
5990,
4818,
5621,
202,
202,
682,
800,
273,
394,
10688,
5621,
202,
202,
3198,
518,
273,
2811,
18,
9838,
5621,
20... |
assertTrue("Wrong currency number pattern", format.toPattern().equals( "{0,number,currency}")); | assertEquals("Wrong currency number pattern", "{0,number,currency}", format.toPattern()); | public void test_applyPatternLjava_lang_String() { // Test for method void // java.text.MessageFormat.applyPattern(java.lang.String) MessageFormat format = new MessageFormat("test"); format.applyPattern("xx {0}"); assertTrue("Invalid number", format.format( new Obje... | 54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/aa7f5ac38085143bcf2542c95a675411434e9ae6/MessageFormatTest.java/buggy/modules/text/src/test/java/org/apache/harmony/text/tests/java/text/MessageFormatTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
67,
9010,
3234,
21159,
67,
4936,
67,
780,
1435,
288,
3639,
368,
7766,
364,
707,
918,
3639,
368,
2252,
18,
955,
18,
1079,
1630,
18,
9010,
3234,
12,
6290,
18,
4936,
18,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
67,
9010,
3234,
21159,
67,
4936,
67,
780,
1435,
288,
3639,
368,
7766,
364,
707,
918,
3639,
368,
2252,
18,
955,
18,
1079,
1630,
18,
9010,
3234,
12,
6290,
18,
4936,
18,
... |
public AnimationItem getAnimationItem(){ | public AnimationItem getAnimationItem() { | public AnimationItem getAnimationItem(){ return item; } | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/6f1ef786a75c43242b899349c446fa00af27c2ae/ProgressRegion.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ProgressRegion.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
22685,
1180,
336,
10816,
1180,
1435,
95,
202,
202,
2463,
761,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
22685,
1180,
336,
10816,
1180,
1435,
95,
202,
202,
2463,
761,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
if (latitude == null) latitude = 0.0; if (longitude == null) longitude = 0.0; if (altitude == null) altitude = 0.0; | double tmpLatitude; double tmpLongitude; double tmpAltitude; if (latitude == null) tmpLatitude = 0.0; else tmpLatitude = latitude; if (longitude == null) tmpLongitude = 0.0; else tmpLongitude = longitude; if (altitude == null) tmpAltitude = 0.0; tmpAltitude = altitude; | public void transformationCoordinateSystem(int selectedSystem) { Transformation tr = new Transformation(); Double[] newCoordinate = new Double[3]; Double[] newCoordinateTmp = new Double[3]; //Check null value and set 0.0 if value is null if (latitude == null) latitude = 0.0;... | 57211 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57211/217f3c586baef657b5a77791a0fd109664d10668/AddEdit.java/clean/trunk/src/net/sf/plantlore/client/overview/AddEdit.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
8620,
13503,
3163,
12,
474,
3170,
3163,
13,
288,
3639,
21274,
433,
273,
394,
21274,
5621,
3639,
3698,
8526,
394,
13503,
273,
394,
3698,
63,
23,
15533,
3639,
3698,
8526,
394,
13... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
8620,
13503,
3163,
12,
474,
3170,
3163,
13,
288,
3639,
21274,
433,
273,
394,
21274,
5621,
3639,
3698,
8526,
394,
13503,
273,
394,
3698,
63,
23,
15533,
3639,
3698,
8526,
394,
13... |
|| RequestConstants.REQ_OPEN.equals(request.getType())) | || RequestConstants.REQ_OPEN.equals(request.getType()) || ReportRequest.CREATE_ELEMENT.equals(request.getType())) | public boolean understandsRequest(Request request) { if (RequestConstants.REQ_DIRECT_EDIT.equals(request.getType()) || RequestConstants.REQ_OPEN.equals(request.getType())) return true; return super.understandsRequest(request); } | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/32a15518a7d5c317f7145e6790ceafe343be4c76/LabelDirectEditPolicy.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/schematic/editpolicies/LabelDirectEditPolicy.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
31727,
5708,
691,
12,
691,
590,
13,
288,
202,
202,
430,
261,
691,
2918,
18,
20373,
67,
17541,
67,
10776,
18,
14963,
12,
2293,
18,
588,
559,
10756,
9506,
202,
20081,
1567... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
31727,
5708,
691,
12,
691,
590,
13,
288,
202,
202,
430,
261,
691,
2918,
18,
20373,
67,
17541,
67,
10776,
18,
14963,
12,
2293,
18,
588,
559,
10756,
9506,
202,
20081,
1567... |
public TA_RetCode APO(int startIdx, int endIdx, double inReal[], int optInFastPeriod, int optInSlowPeriod, TA_MAType optInMAType, MInteger outBegIdx, MInteger outNbElement, double outReal[]) { | public TA_RetCode APO( int startIdx, int endIdx, double inReal[], int optInFastPeriod, int optInSlowPeriod, TA_MAType optInMAType, MInteger outBegIdx, MInteger outNbElement, double outReal[] ) { | public TA_RetCode APO(int startIdx, int endIdx, double inReal[], int optInFastPeriod, int optInSlowPeriod, TA_MAType optInMAType, MInteger outBegIdx, MInteger outNbElement, double outReal[]) { double[] tempBuffer; TA_RetCode retCode; if (startIdx < 0) return TA_RetCode.TA_OUT_OF_RANGE_START_INDEX; if ((endId... | 2365 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2365/8c26ea7a2c59f9148f3db0db7ab39ed48689e601/Core.java/buggy/ta-lib/java/src/TA/Lib/Core.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
399,
37,
67,
7055,
1085,
432,
2419,
12,
474,
27108,
16,
509,
679,
4223,
16,
1645,
316,
6955,
63,
6487,
1082,
202,
474,
2153,
382,
12305,
5027,
16,
509,
2153,
382,
28733,
5027,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
399,
37,
67,
7055,
1085,
432,
2419,
12,
474,
27108,
16,
509,
679,
4223,
16,
1645,
316,
6955,
63,
6487,
1082,
202,
474,
2153,
382,
12305,
5027,
16,
509,
2153,
382,
28733,
5027,... |
if (breakpoints != null) { for (int i = breakpoints.length - 1; i >= 0; --i) { if (breakpoints[i] == BREAK_FLAG) { breakpoints[i] = OLD_BREAK_FLAG; | if (breakpoints != null) { for (int i = breakpoints.length - 1; i >= 0; --i) { if (breakpoints[i] == BREAK_FLAG) { breakpoints[i] = OLD_BREAK_FLAG; } | synchronized void setSource(String source) { if (!this.source.equals(source)) { this.source = source; endLine = 0; breakableLines = null; if (breakpoints != null) { for (int i = breakpoints.length - 1; i >= 0; --i) { if (breakpoint... | 19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/2e82602eb1211d4009a62a6472713b525c827751/Main.java/buggy/toolsrc/org/mozilla/javascript/tools/debugger/Main.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3852,
918,
18913,
12,
780,
1084,
13,
288,
3639,
309,
16051,
2211,
18,
3168,
18,
14963,
12,
3168,
3719,
288,
5411,
333,
18,
3168,
273,
1084,
31,
5411,
31763,
273,
374,
31,
5411,
898,
429... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3852,
918,
18913,
12,
780,
1084,
13,
288,
3639,
309,
16051,
2211,
18,
3168,
18,
14963,
12,
3168,
3719,
288,
5411,
333,
18,
3168,
273,
1084,
31,
5411,
31763,
273,
374,
31,
5411,
898,
429... |
if (CmsStringUtil.isEmptyOrWhitespaceOnly(value) || value.startsWith(CmsMessages.C_UNKNOWN_KEY_EXTENSION)) { | if (CmsStringUtil.isEmptyOrWhitespaceOnly(value) || value.startsWith(CmsMessages.C_UNKNOWN_KEY_EXTENSION)) { | public static Map getDefaultValuesFromMessages(CmsMessages messages) { HashMap result = new HashMap(); List resTypes = OpenCms.getResourceManager().getResourceTypes(); for (int i=0; i<resTypes.size(); i++) { I_CmsResourceType type = (I_CmsResourceType)resTypes.get(i); ... | 51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/98f698d905eee245c2e39e11531b99a5f27e0d0f/CmsTemplateContentListItem.java/buggy/src/org/opencms/jsp/util/CmsTemplateContentListItem.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1635,
4829,
1972,
1265,
5058,
12,
4747,
5058,
2743,
13,
288,
3639,
4317,
563,
273,
394,
4317,
5621,
3639,
987,
400,
2016,
273,
10319,
18,
588,
1420,
1318,
7675,
588,
1420,
2016... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1635,
4829,
1972,
1265,
5058,
12,
4747,
5058,
2743,
13,
288,
3639,
4317,
563,
273,
394,
4317,
5621,
3639,
987,
400,
2016,
273,
10319,
18,
588,
1420,
1318,
7675,
588,
1420,
2016... |
if (! cms.hasPublishPermissions(resource)) { | if (!cms.hasPublishPermissions(resource)) { | public void testPublishPermissions() throws Throwable { CmsObject cms = getCmsObject(); echo("Testing publish permissions for a user"); String resource = "/folder1/page1.html"; cms.lockResource(resource); // modify the resource permissions for the tests // remo... | 8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/be6031929d4b8a365df3862b5c27a9277870225a/TestPermissions.java/buggy/test/org/opencms/file/TestPermissions.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
6024,
6521,
1435,
1216,
4206,
288,
3639,
14371,
6166,
273,
28287,
5621,
2398,
3376,
2932,
22218,
3808,
4371,
364,
279,
729,
8863,
7734,
514,
1058,
273,
2206,
5609,
21,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
6024,
6521,
1435,
1216,
4206,
288,
3639,
14371,
6166,
273,
28287,
5621,
2398,
3376,
2932,
22218,
3808,
4371,
364,
279,
729,
8863,
7734,
514,
1058,
273,
2206,
5609,
21,
19,
... |
try { plugin.start(); } catch(Throwable t) { plugin = new EditPlugin.Broken( plugin.getClassName()); plugin.jar = (EditPlugin.JAR) PluginJAR.this; | if(!activated) return; | public void run() { try { plugin.start(); } catch(Throwable t) { plugin = new EditPlugin.Broken( plugin.getClassName()); plugin.jar = (EditPlugin.JAR) PluginJAR.this; Log.log(Log.ERROR,PluginJAR.this, "Error while starting plugin " + plugin.getClassName()); Log.log... | 8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/0538f11b325f27730436846a7d703b7fd133d924/PluginJAR.java/clean/org/gjt/sp/jedit/PluginJAR.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
1086,
1435,
1082,
202,
95,
9506,
202,
698,
9506,
202,
95,
6862,
202,
4094,
18,
1937,
5621,
9506,
202,
97,
9506,
202,
14683,
12,
15155,
268,
13,
9506,
202,
95,
6862,
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,
1875,
202,
482,
918,
1086,
1435,
1082,
202,
95,
9506,
202,
698,
9506,
202,
95,
6862,
202,
4094,
18,
1937,
5621,
9506,
202,
97,
9506,
202,
14683,
12,
15155,
268,
13,
9506,
202,
95,
6862,
202,... |
throw new IOException(e.getClass().getName() + ": " + e.getMessage()); | throw new JDOMException(e.getClass().getName() + ": " + e.getMessage() + " when creating document", e); | public Document createDocument() throws IOException { try { return (Document)Class.forName( "oracle.xml.parser.XMLDocument") .newInstance(); } catch (Exception e) { throw new IOException(e.getClass().getName() + ": " + ... | 49530 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49530/10afc7e2bf09908695ad07beab9d457703ab65fe/OracleV1DOMAdapter.java/clean/core/src/java/org/jdom/adapters/OracleV1DOMAdapter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4319,
27569,
1435,
1216,
1860,
288,
3639,
775,
288,
5411,
327,
7734,
261,
2519,
13,
797,
18,
1884,
461,
12,
10792,
315,
280,
16066,
18,
2902,
18,
4288,
18,
4201,
2519,
7923,
10792,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4319,
27569,
1435,
1216,
1860,
288,
3639,
775,
288,
5411,
327,
7734,
261,
2519,
13,
797,
18,
1884,
461,
12,
10792,
315,
280,
16066,
18,
2902,
18,
4288,
18,
4201,
2519,
7923,
10792,
... |
while (c != -1 && ScannerUtilities.isCSSNameCharacter((char)c)) { c = inputBuffer.next(); | while (current != -1 && ScannerUtilities.isCSSNameCharacter((char)current)) { nextChar(); | protected int numberUnit(int c, boolean integer) throws IOException { switch (c) { case '%': inputBuffer.next(); return LexicalUnits.PERCENTAGE; case 'c': case 'C': c = inputBuffer.next(); switch(c) { case 'm': case 'M': ... | 46680 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46680/85be5d4d89c40bf1087b17bab02388ef62bfe449/Scanner.java/buggy/sources/org/apache/batik/css/parser/Scanner.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
509,
1300,
2802,
12,
474,
276,
16,
1250,
3571,
13,
1216,
1860,
288,
3639,
1620,
261,
71,
13,
288,
3639,
648,
1995,
4278,
5411,
810,
1892,
18,
4285,
5621,
5411,
327,
15123,
1706,
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,
377,
4750,
509,
1300,
2802,
12,
474,
276,
16,
1250,
3571,
13,
1216,
1860,
288,
3639,
1620,
261,
71,
13,
288,
3639,
648,
1995,
4278,
5411,
810,
1892,
18,
4285,
5621,
5411,
327,
15123,
1706,
7... |
DebugFrame frame = null; | DebugFrame debuggerFrame = null; boolean useActivationVars = false; | public static Object interpret(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, NativeFunction fnOrScript, InterpreterData theData) throws JavaScriptException { if (cx.interpreterSe... | 12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/77589e0e41b5c0fa7857c54f0d2354f008b1b295/Interpreter.java/clean/js/rhino/src/org/mozilla/javascript/Interpreter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1033,
10634,
12,
1042,
9494,
16,
22780,
2146,
16,
4766,
282,
22780,
15261,
16,
1033,
8526,
833,
16,
4766,
282,
16717,
2083,
2295,
1162,
3651,
16,
4766,
282,
5294,
11599,
751,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1033,
10634,
12,
1042,
9494,
16,
22780,
2146,
16,
4766,
282,
22780,
15261,
16,
1033,
8526,
833,
16,
4766,
282,
16717,
2083,
2295,
1162,
3651,
16,
4766,
282,
5294,
11599,
751,
3... |
public static Validator initValidator(String key, Object bean, ServletContext application, HttpServletRequest request, ActionErrors errors, int page) { ValidatorResources resources = Resources.getValidatorResources(application,request); Locale locale = Resources.getLocale(request); Validator validator = new Validator... | public static Validator initValidator( String key, Object bean, ServletContext application, HttpServletRequest request, ActionErrors errors, int page) { ValidatorResources resources = Resources.getValidatorResources(application, request); Locale locale = Resources.getLocale(request); Validator validator = new Valida... | public static Validator initValidator(String key, Object bean, ServletContext application, HttpServletRequest request, ActionErrors errors, int page) { ValidatorResources resources = Resources.getValidatorResources(application,reque... | 54704 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54704/ce7b1b537c3209b111a9b1561c327271d39de426/Resources.java/buggy/src/share/org/apache/struts/validator/Resources.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
760,
9150,
1208,
5126,
12,
780,
498,
16,
1033,
3931,
16,
29159,
22717,
2521,
16,
9984,
590,
16,
29159,
4382,
4229,
1334,
16,
509,
1363,
13,
288,
1377,
9150,
3805,
2703,
273,
8128,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
760,
9150,
1208,
5126,
12,
780,
498,
16,
1033,
3931,
16,
29159,
22717,
2521,
16,
9984,
590,
16,
29159,
4382,
4229,
1334,
16,
509,
1363,
13,
288,
1377,
9150,
3805,
2703,
273,
8128,
... |
AST tmp1381_AST_in = (AST)_t; | AST tmp1380_AST_in = (AST)_t; | public final void messagestate(AST _t) throws RecognitionException { AST messagestate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t933 = _t; AST tmp1361_AST_in = (AST)_t; match(_t,MESSAGE); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case COLOR: { AST __t935 = _t;... | 13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/041a16c78289f1c3ae5e575d3edc5e893a658e50/TreeParser01.java/buggy/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
12755,
346,
395,
340,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
12755,
346,
395,
340,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
12755,
346,
395,
340,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
12755,
346,
395,
340,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,... |
offset = VM_Entrypoints.registersGPRsField.getOffsetAsInt(); p("static const int VM_Registers_gprs_offset = " + offset + ";\n"); offset = VM_Entrypoints.registersFPRsField.getOffsetAsInt(); p("static const int VM_Registers_fprs_offset = " + offset + ";\n"); offset = VM_Entrypoints.registersIPField.getOffsetAsInt(); p("... | offset = VM_Entrypoints.registersGPRsField.getOffset(); pln("VM_Registers_gprs_offset = ", offset); offset = VM_Entrypoints.registersFPRsField.getOffset(); pln("VM_Registers_fprs_offset = ", offset); offset = VM_Entrypoints.registersIPField.getOffset(); pln("VM_Registers_ip_offset = ", offset); | static void emitVirtualMachineDeclarations (int bootImageAddress) { // load address for the boot image // p("static const int bootImageAddress = 0x" + Integer.toHexString(bootImageAddress) + ";\n"); // values in VM_Constants, from VM_Configuration // //-#if RVM_FOR_POWE... | 4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/2ae647983a8ede1864d8f343d0bf971498649844/GenerateInterfaceDeclarations.java/clean/rvm/src/tools/bootImageRunner/GenerateInterfaceDeclarations.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
918,
3626,
27454,
21408,
261,
474,
4835,
2040,
1887,
13,
288,
565,
368,
1262,
1758,
364,
326,
4835,
1316,
565,
368,
565,
293,
2932,
3845,
1866,
509,
4835,
2040,
1887,
13491,
273,
374... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
918,
3626,
27454,
21408,
261,
474,
4835,
2040,
1887,
13,
288,
565,
368,
1262,
1758,
364,
326,
4835,
1316,
565,
368,
565,
293,
2932,
3845,
1866,
509,
4835,
2040,
1887,
13491,
273,
374... |
public void hexMoused(BoardViewEvent b) { bv.cursor(b.getCoords()); if(altheld) { setCurrentHex(board.getHex(b.getCoords())); //board.highlight(b.getCoords()); } if(ctrlheld) { if(!board.getH... | 4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/3cac64e01ba41f0951161506e82e56785d1f8a3b/BoardEditor.java/buggy/megamek/src/megamek/client/ui/AWT/BoardEditor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
6459,
7118,
49,
21414,
12,
22233,
1767,
1133,
70,
15329,
70,
90,
18,
9216,
12,
70,
18,
588,
13089,
10663,
430,
12,
4162,
488,
15329,
542,
3935,
7037,
12,
3752,
18,
588,
7037,
12,
70,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
6459,
7118,
49,
21414,
12,
22233,
1767,
1133,
70,
15329,
70,
90,
18,
9216,
12,
70,
18,
588,
13089,
10663,
430,
12,
4162,
488,
15329,
542,
3935,
7037,
12,
3752,
18,
588,
7037,
12,
70,
... | ||
private void verifyProjectFiltering( String groupId, String artifactId, String inclusionPattern, String exclusionPattern, List depTrail, boolean verifyInclusion ) { ProjectWithArtifactMockControl pmac = new ProjectWithArtifactMockControl( groupId, artifactId, depTrail ); mockManager.replayAll(); ... | 51807 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51807/70d891a8e6f332fc2ed44b13fa0bcdf93310c57f/FilterUtilsTest.java/clean/maven-assembly-plugin/src/test/java/org/apache/maven/plugin/assembly/utils/FilterUtilsTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3929,
4109,
30115,
12,
514,
6612,
16,
514,
25496,
16,
514,
26485,
3234,
16,
514,
21244,
3234,
16,
987,
5993,
18107,
16,
1250,
3929,
382,
15335,
262,
565,
288,
3639,
5420,
1190,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3929,
4109,
30115,
12,
514,
6612,
16,
514,
25496,
16,
514,
26485,
3234,
16,
514,
21244,
3234,
16,
987,
5993,
18107,
16,
1250,
3929,
382,
15335,
262,
565,
288,
3639,
5420,
1190,... | ||
SVNDebugLog.getDefaultLog().info(result.toString()); | public void handleDiffStatus(SVNDiffStatus diffStatus) throws SVNException { if (diffStatus.getModificationType() == SVNStatusType.STATUS_NONE && !diffStatus.isPropertiesModified()) { return; } StringBuffer result = new StringBuffer(); result.append(diffStatus.g... | 5695 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5695/e3461840212a75a8d3cc474527b36ce336e44c85/DiffCommand.java/clean/javasvn/src/org/tmatesoft/svn/cli/command/DiffCommand.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1640,
5938,
1482,
12,
23927,
2908,
3048,
1482,
3122,
1482,
13,
1216,
29537,
50,
503,
288,
3639,
309,
261,
5413,
1482,
18,
588,
13467,
559,
1435,
422,
29537,
50,
1482,
559,
18,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1640,
5938,
1482,
12,
23927,
2908,
3048,
1482,
3122,
1482,
13,
1216,
29537,
50,
503,
288,
3639,
309,
261,
5413,
1482,
18,
588,
13467,
559,
1435,
422,
29537,
50,
1482,
559,
18,
... | |
for(int i = facetCount; --i > 0; vtx += 2) | if (useSide) | private void indexedQuads(GeometryData data) throws InvalidArraySizeException { generateIndexedCoordinates(data); if((data.geometryComponents & GeometryData.NORMAL_DATA) != 0) generateIndexedNormals(data); if((data.geometryComponents & GeometryData.TEXTURE_2D_DATA) != 0) ... | 46075 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46075/bd71dae6bd4e02896cff1fcd75a384661298a778/CylinderGenerator.java/clean/src/java/org/j3d/geom/CylinderGenerator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
8808,
928,
17318,
12,
9823,
751,
501,
13,
3639,
1216,
1962,
1076,
1225,
503,
565,
288,
3639,
2103,
15034,
13431,
12,
892,
1769,
3639,
309,
12443,
892,
18,
14330,
7171,
473,
834... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8808,
928,
17318,
12,
9823,
751,
501,
13,
3639,
1216,
1962,
1076,
1225,
503,
565,
288,
3639,
2103,
15034,
13431,
12,
892,
1769,
3639,
309,
12443,
892,
18,
14330,
7171,
473,
834... |
catch ( URISyntaxException e ) | else if ( File.separatorChar == '\\' ) | public static boolean isRelativePath( String fileName ) { if( fileName == null ) { return false; } try { URI uri = new URI( fileName ); return !uri.isAbsolute( ); } catch ( URISyntaxException e ) { File file = new File( fileName ); return !file.isAbsolute( ); } } | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/061381a7f53d540d88a073b2e8a3bd8533317d44/FileUtil.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/util/FileUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1250,
353,
16519,
12,
514,
3968,
262,
202,
95,
202,
202,
430,
12,
3968,
422,
446,
262,
202,
202,
95,
1082,
202,
2463,
629,
31,
202,
202,
97,
202,
202,
698,
202,
202,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1250,
353,
16519,
12,
514,
3968,
262,
202,
95,
202,
202,
430,
12,
3968,
422,
446,
262,
202,
202,
95,
1082,
202,
2463,
629,
31,
202,
202,
97,
202,
202,
698,
202,
202,
... |
public void registerBeans(Map map) { if (map != null) { | public void registerBeans( Map map ) { if ( map != null ) { | public void registerBeans(Map map) { if (map != null) { Iterator iter = map.entrySet().iterator(); while (iter.hasNext()) { Map.Entry entry = (Map.Entry) iter.next(); Object keyObj = entry.getKey(); Object value = entry.getValue(); if (keyObj != null) { String key = keyObj.toString(); register... | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/b900dee3dd264c71eb7ed27f88571d5b40a336c0/ExecutionContext.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/ExecutionContext.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1744,
14495,
12,
863,
852,
13,
288,
202,
202,
430,
261,
1458,
480,
446,
13,
288,
1082,
202,
3198,
1400,
273,
852,
18,
4099,
694,
7675,
9838,
5621,
1082,
202,
17523,
261,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1744,
14495,
12,
863,
852,
13,
288,
202,
202,
430,
261,
1458,
480,
446,
13,
288,
1082,
202,
3198,
1400,
273,
852,
18,
4099,
694,
7675,
9838,
5621,
1082,
202,
17523,
261,
... |
creatingKeymap = true; | public JTextComponent() { Keymap defkeymap = getKeymap(DEFAULT_KEYMAP); boolean creatingKeymap = false; if (defkeymap == null) { defkeymap = addKeymap(DEFAULT_KEYMAP, null); defkeymap.setDefaultAction(new DefaultEditorKit.DefaultKeyTypedAction()); creatingKeymap = true; } s... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a78ab2f492456918e4f5c52be600854882e139fc/JTextComponent.java/clean/core/src/classpath/javax/javax/swing/text/JTextComponent.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
804,
1528,
1841,
1435,
225,
288,
565,
1929,
1458,
1652,
856,
1458,
273,
3579,
1458,
12,
5280,
67,
3297,
8352,
1769,
565,
1250,
4979,
653,
1458,
273,
629,
31,
565,
309,
261,
536,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
804,
1528,
1841,
1435,
225,
288,
565,
1929,
1458,
1652,
856,
1458,
273,
3579,
1458,
12,
5280,
67,
3297,
8352,
1769,
565,
1250,
4979,
653,
1458,
273,
629,
31,
565,
309,
261,
536,
8... | |
ZeichenErsetzer.korrigiereUmlaute(languageSelector. getFirstAttrbuteByTagName(new String[]{"mainform", "html1"})) + | ZeichenErsetzer.korrigiereUmlaute( languageSelector. getFirstAttrbuteByTagName(new String[] {"mainform", "html1"})) + | public void fireLanguageChanged() { try{ keinServer = languageSelector.getFirstAttrbuteByTagName(new String[]{ "javagui", "mainform", "keinserver"}); netzwerk.setText("<html><font><h2>" + ZeichenErsetzer.korrigiereUmlaute(languageSelector. ... | 13641 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13641/18e1ff99ead1cf2174657250d772c6f9159891e9/StartPanel.java/buggy/AJClientGUI/src/de/applejuicenet/client/gui/StartPanel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4452,
3779,
5033,
1435,
288,
3639,
775,
95,
5411,
12519,
267,
2081,
273,
2653,
4320,
18,
588,
3759,
3843,
70,
624,
10401,
12,
2704,
514,
63,
7073,
7734,
315,
19207,
346,
4881,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4452,
3779,
5033,
1435,
288,
3639,
775,
95,
5411,
12519,
267,
2081,
273,
2653,
4320,
18,
588,
3759,
3843,
70,
624,
10401,
12,
2704,
514,
63,
7073,
7734,
315,
19207,
346,
4881,
... |
public void runAsync(String serviceName, Map context, boolean persist) throws ServiceAuthException, ServiceValidationException, GenericServiceException; | public void runAsync(String serviceName, Map context, GenericRequester requester, boolean persist, int transactionTimeout, boolean requireNewTransaction) throws ServiceAuthException, ServiceValidationException, GenericServiceException; | public void runAsync(String serviceName, Map context, boolean persist) throws ServiceAuthException, ServiceValidationException, GenericServiceException; | 22229 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/22229/39ab31eae6e65ed21f1530dac9705ea1c56c2495/LocalDispatcher.java/buggy/framework/service/src/org/ofbiz/service/LocalDispatcher.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
2771,
12,
780,
6773,
16,
1635,
819,
16,
1250,
3898,
13,
1216,
1956,
1730,
503,
16,
1956,
18146,
16,
7928,
15133,
31,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
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,
1086,
2771,
12,
780,
6773,
16,
1635,
819,
16,
1250,
3898,
13,
1216,
1956,
1730,
503,
16,
1956,
18146,
16,
7928,
15133,
31,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
config.store(); | public void handlePost(URI uri, Bucket data, ToadletContext ctx) throws ToadletContextClosedException, IOException { StringBuffer errbuf = new StringBuffer(); SubConfig[] sc = config.getConfigs(); // FIXME this is stupid, use a direct constructor if(data.size() > 1024*1024) { this.writeReply(ctx, 400, "text/... | 45341 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45341/53d62fcf9107325580908435fbbedb36fbfaf9d2/ConfigToadlet.java/buggy/src/freenet/clients/http/ConfigToadlet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1640,
3349,
12,
3098,
2003,
16,
7408,
501,
16,
2974,
361,
1810,
1042,
1103,
13,
1216,
2974,
361,
1810,
1042,
7395,
503,
16,
1860,
288,
202,
202,
780,
1892,
393,
4385,
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,
225,
202,
482,
918,
1640,
3349,
12,
3098,
2003,
16,
7408,
501,
16,
2974,
361,
1810,
1042,
1103,
13,
1216,
2974,
361,
1810,
1042,
7395,
503,
16,
1860,
288,
202,
202,
780,
1892,
393,
4385,
273... | |
log("Ok, nu frsker vi hmta lastlogindate igen") ; lastLoginDate = rmi.execSqlProcedureStr(ConfPoolServer, sqlStoredProc) ; | lastLoginDate = confref.sqlProcedureStr(sqlStoredProc) ; | public boolean prepareUserForConf(HttpServletRequest req, HttpServletResponse res, Properties params, String loginUserId) throws ServletException, IOException { // Lets get the user object imcode.server.User user = this.getUserObj(req,res) ; if(user == null) return false ; // Lets get userparameters Properties ... | 8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/a270627916b37a677a391dd9f45c54d3d6f12503/Conference.java/clean/servlets/conf/Conference.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
2911,
1299,
1290,
3976,
12,
2940,
18572,
1111,
16,
12446,
400,
16,
202,
202,
2297,
859,
16,
514,
3925,
10502,
13,
225,
1216,
16517,
16,
1860,
288,
202,
202,
759,
511,
24... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
2911,
1299,
1290,
3976,
12,
2940,
18572,
1111,
16,
12446,
400,
16,
202,
202,
2297,
859,
16,
514,
3925,
10502,
13,
225,
1216,
16517,
16,
1860,
288,
202,
202,
759,
511,
24... |
{ int currentByte = 0; int padLength = 0; if (occurrences > lCurElemString.length()) { padLength = occurrences - lCurElemString.length(); occurrences = lCurElemString.length(); } for (int i = 0; i < occurrences;) { char currentChar = lCurElemString.charAt(i++); if (Character.isJavaIdentifierStart(currentChar)) { cu... | { int currentByte = 0; int padLength = 0; if (occurrences > lCurElemString.length()) { padLength = occurrences - lCurElemString.length(); occurrences = lCurElemString.length(); } for (int i = 0; i < occurrences;) { char currentChar = lCurElemString.charAt(i++); if (Character.isJavaIdentifierStart(currentChar)) { cu... | public static RubyString pack(List list, RubyString formatString) { IRuby runtime = formatString.getRuntime(); PtrList format = new PtrList(formatString.getValue()); StringBuffer result = new StringBuffer(); int listSize = list.size(); char type = format.nextChar(); ... | 50993 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50993/415b1e0db282c02d672a7e34a34a2bea0f69ccb2/Pack.java/clean/src/org/jruby/util/Pack.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
19817,
780,
2298,
12,
682,
666,
16,
19817,
780,
27107,
13,
288,
3639,
15908,
10340,
3099,
273,
27107,
18,
588,
5576,
5621,
3639,
14898,
682,
740,
273,
394,
14898,
682,
12,
2139... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
19817,
780,
2298,
12,
682,
666,
16,
19817,
780,
27107,
13,
288,
3639,
15908,
10340,
3099,
273,
27107,
18,
588,
5576,
5621,
3639,
14898,
682,
740,
273,
394,
14898,
682,
12,
2139... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.