rem stringlengths 1 226k | add stringlengths 0 227k | context stringlengths 6 326k | meta stringlengths 143 403 | input_ids listlengths 256 256 | attention_mask listlengths 256 256 | labels listlengths 128 128 |
|---|---|---|---|---|---|---|
return super.getPermissions(cs); } | PermissionCollection permissions = super.getPermissions(cs); Enumeration enum = permissions.elements(); while (enum.hasMoreElements()) { Main.debug(this + " Permission: " + enum.nextElement()); } | protected PermissionCollection getPermissions(CodeSource cs) { Main.debug(dbgID + " getPermissions(" + cs + ")"); return super.getPermissions(cs); } | 45545 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45545/397ccd4b913f7bee55cbf0bc78c6405a5b64556e/KJASAppletClassLoader.java/clean/khtml/java/org/kde/kjas/server/KJASAppletClassLoader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
8509,
2532,
25021,
12,
1085,
1830,
2873,
13,
288,
3639,
12740,
18,
4148,
12,
1966,
75,
734,
397,
315,
25021,
2932,
397,
2873,
397,
7310,
1769,
3639,
327,
2240,
18,
588,
6521,
12,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
8509,
2532,
25021,
12,
1085,
1830,
2873,
13,
288,
3639,
12740,
18,
4148,
12,
1966,
75,
734,
397,
315,
25021,
2932,
397,
2873,
397,
7310,
1769,
3639,
327,
2240,
18,
588,
6521,
12,
... |
if (additionalEntries == 0) { | if (toAdd == 0) { | private void computeDisplay() { final int level = constr.level; final int[] displayCode = constr.displayCode; ScalaClassType[] parents = getParents(); display = new ScalaClassType[level + 1][]; ScalaClassType[][] superClassDisplay = constr.inheritsFromJavaClass ? EMPTY_... | 48012 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48012/3620f945d10ebb12213163dbfeef9eb547ae201b/ScalaClassType.java/clean/sources/scala/runtime/types/ScalaClassType.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3671,
4236,
1435,
288,
3639,
727,
509,
1801,
273,
14472,
18,
2815,
31,
3639,
727,
509,
8526,
2562,
1085,
273,
14472,
18,
5417,
1085,
31,
3639,
348,
771,
69,
18328,
8526,
6298,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3671,
4236,
1435,
288,
3639,
727,
509,
1801,
273,
14472,
18,
2815,
31,
3639,
727,
509,
8526,
2562,
1085,
273,
14472,
18,
5417,
1085,
31,
3639,
348,
771,
69,
18328,
8526,
6298,
... |
if (planes.getChar(end -1) != '-') | if (planes.getChar(end - 1) != '-') | private void rightAdjustField(char fill) { int end = endOfField(false); // get the ending position of the first // non blank character in field // get the number of characters to the right int count = screenFields.getCurrentField().endPos() - end; // subtract 1 from count for signed numeric - note for later if (... | 4212 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4212/caf3d80f5859ebce4d72dbe0ddd1d32b417462c4/Screen5250.java/clean/src/org/tn5250j/framework/tn5250/Screen5250.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
2145,
10952,
974,
12,
3001,
3636,
13,
288,
202,
202,
474,
679,
273,
20706,
974,
12,
5743,
1769,
368,
336,
326,
11463,
1754,
434,
326,
1122,
202,
202,
759,
1661,
7052,
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,
225,
202,
1152,
918,
2145,
10952,
974,
12,
3001,
3636,
13,
288,
202,
202,
474,
679,
273,
20706,
974,
12,
5743,
1769,
368,
336,
326,
11463,
1754,
434,
326,
1122,
202,
202,
759,
1661,
7052,
33... |
boolean stopProcessing = false; if (descriptor.getResponseRouter() != null) { stopProcessing = descriptor.getResponseRouter().isStopProcessing(); } else { stopProcessing = event.isStopFurtherProcessing(); } | boolean stopProcessing = !descriptor.getOutboundRouter().hasEndpoints(); | public Object onCall(UMOEvent event) throws UMOException { Object result = null; try { // Check for method override Object methodOverride = event.removeProperty(MuleProperties.MULE_METHOD_PROPERTY); Method method = null; if (methodOverride instanceof Meth... | 28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/7b2165aa81ea2fae21c28a03d938216064694de7/DefaultLifecycleAdapter.java/buggy/src/java/org/mule/impl/DefaultLifecycleAdapter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
603,
1477,
12,
2799,
51,
1133,
871,
13,
1216,
587,
5980,
503,
565,
288,
3639,
1033,
563,
273,
446,
31,
3639,
775,
288,
5411,
368,
2073,
364,
707,
3849,
5411,
1033,
707,
6618... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
603,
1477,
12,
2799,
51,
1133,
871,
13,
1216,
587,
5980,
503,
565,
288,
3639,
1033,
563,
273,
446,
31,
3639,
775,
288,
5411,
368,
2073,
364,
707,
3849,
5411,
1033,
707,
6618... |
throw new SqlException(agent_.logWriter_, e, "Encoding is unsupported for conversion to TIME"); | throw new SqlException(agent_.logWriter_, new MessageId(SQLState.UNSUPPORTED_ENCODING), "TIMESTAMP", "java.sql.Time", e); | private final java.sql.Time getTimeFromTIMESTAMP(int column) throws SqlException { try { return org.apache.derby.client.am.DateTime.timestampBytesToTime(dataBuffer_, columnDataPosition_[column - 1], recyclableTime_, charsetName_[column -1]);... | 56322 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56322/3d650b1cb0e7096b3c8b3a076a5ded716f7e1c4a/Cursor.java/clean/java/client/org/apache/derby/client/am/Cursor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
727,
2252,
18,
4669,
18,
950,
6135,
1265,
17201,
12,
474,
1057,
13,
1216,
8855,
503,
288,
3639,
775,
288,
5411,
327,
2358,
18,
19211,
18,
765,
1637,
18,
2625,
18,
301,
18,
5096,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
727,
2252,
18,
4669,
18,
950,
6135,
1265,
17201,
12,
474,
1057,
13,
1216,
8855,
503,
288,
3639,
775,
288,
5411,
327,
2358,
18,
19211,
18,
765,
1637,
18,
2625,
18,
301,
18,
5096,
... |
{ return false; } | { return false; } | public boolean supportsOuterJoins() throws SQLException { return false; } | 45454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45454/6a061da272f04e1463864065f87f1f3fd61d6162/DatabaseMetaData.java/clean/src/interfaces/jdbc/postgresql/DatabaseMetaData.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
6146,
15040,
21108,
1435,
1216,
6483,
202,
95,
202,
202,
2463,
629,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
6146,
15040,
21108,
1435,
1216,
6483,
202,
95,
202,
202,
2463,
629,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
super(parameters); | public MarkupInheritanceExtension_4(final PageParameters parameters) { super(parameters); add(new Label("label3", "extension label")); } | 46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/0fdf3c0295a9652408915ea02c10f339dc24347f/MarkupInheritanceExtension_4.java/buggy/wicket/src/test/wicket/markup/MarkupInheritanceExtension_4.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
26420,
28255,
3625,
67,
24,
12,
6385,
3460,
2402,
1472,
13,
225,
202,
95,
202,
565,
2240,
12,
3977,
1769,
202,
377,
202,
565,
527,
12,
2704,
5287,
2932,
1925,
23,
3113,
315,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
26420,
28255,
3625,
67,
24,
12,
6385,
3460,
2402,
1472,
13,
225,
202,
95,
202,
565,
2240,
12,
3977,
1769,
202,
377,
202,
565,
527,
12,
2704,
5287,
2932,
1925,
23,
3113,
315,
... | |
if (parentElement instanceof Document) { xsdComp = xsdSchema; xsdModelAdapterFactory.adapt(xsdComp, xsdModelAdapterFactory); | if (parentElement instanceof IDOMModel) { IDOMDocument domDoc = ((IDOMModel) parentElement).getDocument(); if (domDoc != null) { XSDModelAdapter modelAdapter = (XSDModelAdapter) domDoc.getExistingAdapter(XSDModelAdapter.class); /* * ISSUE: Didn't want to go through initializing * schema if it does not already exist, ... | public Object[] getChildren(Object parentElement) { XSDConcreteComponent xsdComp = null; List list = null; if (parentElement instanceof Document) { xsdComp = xsdSchema; xsdModelAdapterFactory.adapt(xsdComp, xsdModelAdapterFactory); list = new ArrayList(); list.add(xsdComp); ... | 13989 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13989/64de6da717851c7df521a5645f367316a8c3bb3a/XSDContentProvider.java/clean/bundles/org.eclipse.wst.xsd.ui/src/org/eclipse/wst/xsd/ui/internal/provider/XSDContentProvider.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1033,
8526,
10268,
12,
921,
30363,
13,
225,
288,
565,
26462,
25845,
1841,
14802,
2945,
273,
446,
31,
565,
987,
666,
273,
446,
31,
565,
309,
261,
2938,
1046,
1276,
4319,
13,
565,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1033,
8526,
10268,
12,
921,
30363,
13,
225,
288,
565,
26462,
25845,
1841,
14802,
2945,
273,
446,
31,
565,
987,
666,
273,
446,
31,
565,
309,
261,
2938,
1046,
1276,
4319,
13,
565,
2... |
copyCursor) { if (copyCursor.atEnd()){ return; } else if (offset == 0) { return; } else if (offset == copyCursor.current().getSize()){ copyCursor.remove(); } else if (copyCursor.current().isGap()){ copyCursor.current().shrink(offset); } else if (copyCursor.current().isMultipleCharBrace()){ if (offset != 1) throw new Il... | copyCursor) { if (copyCursor.atEnd()) { return; } else if (offset == 0) { return; } else if (offset == copyCursor.current().getSize()) { copyCursor.remove(); } else if (copyCursor.current().isGap()) { copyCursor.current().shrink(offset); } else if (copyCursor.current().isMultipleCharBrace()) { if (offset != 1) { throw ... | private void _clipRight(int offset, ModelList<ReducedToken>.Iterator copyCursor) { if (copyCursor.atEnd()){ return; } else if (offset == 0) { return; } else if (offset == copyCursor.current().getSize()){ copyCursor.remove(); } else if (copyCursor.current().isGap()){ copyCursor.cu... | 11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/0d5978f95b9d81515ff8908c4d2b74c1df5a1255/ReducedModelComment.java/clean/drjava/src/edu/rice/cs/drjava/ReducedModelComment.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
389,
14161,
4726,
12,
474,
1384,
16,
3164,
682,
32,
16911,
3263,
1345,
18652,
3198,
6862,
6862,
6862,
202,
3530,
6688,
13,
202,
202,
95,
1082,
202,
430,
261,
3530,
6688,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
389,
14161,
4726,
12,
474,
1384,
16,
3164,
682,
32,
16911,
3263,
1345,
18652,
3198,
6862,
6862,
6862,
202,
3530,
6688,
13,
202,
202,
95,
1082,
202,
430,
261,
3530,
6688,
... |
transformer.applyTemplateToNode(this, null, sourceNode); | ElemTemplate matchTemplate = transformer.getMatchedTemplate(); transformer.applyTemplateToNode(this, matchTemplate, sourceNode); | public void execute( TransformerImpl transformer) throws TransformerException { if (transformer.currentTemplateRuleIsNull()) { transformer.getMsgMgr().error(this, XSLTErrorResources.ER_NO_APPLY_IMPORT_IN_FOR_EACH); //"xsl:apply-imports not allowed in a xsl:for-each"); } i... | 46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/d0b15fbfeed1e7ca475523cfb19f12c921b2e921/ElemApplyImport.java/clean/src/org/apache/xalan/templates/ElemApplyImport.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1836,
12,
1850,
11519,
2828,
8360,
13,
5411,
1216,
21684,
225,
288,
565,
309,
261,
21523,
18,
2972,
2283,
2175,
2520,
2041,
10756,
565,
288,
1377,
8360,
18,
588,
3332,
9455,
76... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1836,
12,
1850,
11519,
2828,
8360,
13,
5411,
1216,
21684,
225,
288,
565,
309,
261,
21523,
18,
2972,
2283,
2175,
2520,
2041,
10756,
565,
288,
1377,
8360,
18,
588,
3332,
9455,
76... |
fDocument.set(""); | fDocument.set(""); | public void doSubmit() { String content = fDocument.get(); ToolController controller = fProcess.getController(); if (controller != null && controller.submit(content, SubmitType.CONSOLE)) { fDocument.set(""); fCurrentHistoryEntry = null; fSourceViewer.getUndoManager().reset(); } } | 47575 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47575/d3bba4266f35b585495a603d2b7a2630e87ff6c4/InputGroup.java/buggy/de.walware.statet.nico.ui/src/de/walware/statet/nico/ui/console/InputGroup.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
741,
11620,
1435,
288,
9506,
202,
780,
913,
273,
284,
2519,
18,
588,
5621,
202,
202,
6364,
2933,
2596,
273,
284,
2227,
18,
588,
2933,
5621,
202,
202,
430,
261,
5723,
480,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
741,
11620,
1435,
288,
9506,
202,
780,
913,
273,
284,
2519,
18,
588,
5621,
202,
202,
6364,
2933,
2596,
273,
284,
2227,
18,
588,
2933,
5621,
202,
202,
430,
261,
5723,
480,... |
fs.put("physical.udp", Peer.getHostName(ip)+":"+portNumber); | fs.put("physical.udp", ip.toString()+":"+portNumber); | public SimpleFieldSet exportPublicFieldSet() { SimpleFieldSet fs = new SimpleFieldSet(true); InetAddress ip = getPrimaryIPAddress(); fs.put("base64", "true"); if(ip != null) fs.put("physical.udp", Peer.getHostName(ip)+":"+portNumber); fs.put("identity", Base64.encode(myIde... | 45341 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45341/474d190c633c367c5c3ff7fbe0f75a1ea669294b/Node.java/buggy/src/freenet/node/Node.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4477,
974,
694,
3359,
4782,
974,
694,
1435,
288,
3639,
4477,
974,
694,
2662,
273,
394,
4477,
974,
694,
12,
3767,
1769,
3639,
14218,
2359,
273,
11398,
22507,
5621,
3639,
2662,
18,
45... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4477,
974,
694,
3359,
4782,
974,
694,
1435,
288,
3639,
4477,
974,
694,
2662,
273,
394,
4477,
974,
694,
12,
3767,
1769,
3639,
14218,
2359,
273,
11398,
22507,
5621,
3639,
2662,
18,
45... |
int parenCount = GET_ARG(program, pc); pc += ARG_LEN; int parenIndex = GET_ARG(program, pc); pc += 2 * ARG_LEN; | int parenCount = getIndex(program, pc); pc += INDEX_LEN; int parenIndex = getIndex(program, pc); pc += 2 * INDEX_LEN; | executeREBytecode(REGlobalData gData, char[] chars, int end) { int pc = 0; byte program[] = gData.regexp.program; int op = program[pc++]; int currentContinuation_op; int currentContinuation_pc; boolean result = false; currentContinuation_pc = 0; currentCont... | 51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/21f0e29bbdfc8503803ff1fb05a60d0d11f579d5/NativeRegExp.java/buggy/js/rhino/src/org/mozilla/javascript/regexp/NativeRegExp.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1836,
862,
858,
16651,
12,
862,
5160,
751,
314,
751,
16,
1149,
8526,
5230,
16,
509,
679,
13,
565,
288,
3639,
509,
6125,
273,
374,
31,
3639,
1160,
5402,
8526,
273,
314,
751,
18,
17745,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1836,
862,
858,
16651,
12,
862,
5160,
751,
314,
751,
16,
1149,
8526,
5230,
16,
509,
679,
13,
565,
288,
3639,
509,
6125,
273,
374,
31,
3639,
1160,
5402,
8526,
273,
314,
751,
18,
17745,
... |
if (task.isActive()) { MessageDialog.openInformation( Display.getDefault().getActiveShell(), "Task Message", "Task can not be active when changing taskscape"); } else { FileDialog dialog = new FileDialog(Display.getDefault() .getActiveShell(), SWT.OPEN); String[] ext = { "*.xml" }; dialog.setFilterExtensions(ext); St... | removeLinkFromTable(); | public void widgetSelected(SelectionEvent e) { if (task.isActive()) { MessageDialog.openInformation( Display.getDefault().getActiveShell(), "Task Message", "Task can not be active when changing taskscape"); } else { FileDialog dialog = new FileDialog(Display.getD... | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/bdc304281913e1b40ffe70ed42938a658372d154/TaskSummaryEditor.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/TaskSummaryEditor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
3604,
7416,
12,
6233,
1133,
425,
13,
288,
6862,
9506,
202,
430,
261,
4146,
18,
291,
3896,
10756,
288,
6862,
202,
1079,
6353,
18,
3190,
5369,
12,
6862,
1082,
202,
4236,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3604,
7416,
12,
6233,
1133,
425,
13,
288,
6862,
9506,
202,
430,
261,
4146,
18,
291,
3896,
10756,
288,
6862,
202,
1079,
6353,
18,
3190,
5369,
12,
6862,
1082,
202,
4236,
1... |
return id; | return internalTemplateGroup.getId(); | public int getId() { return id; } | 8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/d18f19a08ed65cf09a35ee11134c140ab1d561e0/TemplateGroup.java/clean/server/src/com/imcode/imcms/TemplateGroup.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
2634,
1435,
288,
3639,
327,
2713,
2283,
1114,
18,
26321,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
2634,
1435,
288,
3639,
327,
2713,
2283,
1114,
18,
26321,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
code.emitGoto(switch_label); | code.fixupChain(cases_label, switch_label); | public SwitchState(CodeAttr code) { switch_label = new Label(code); code.popType(); // pop switch value // Save stack types (except top int) into typeState typeState = code.saveStackTypeState(false); code.emitGoto(switch_label); numCases = 0; } | 37648 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37648/50aae2053d3e7c936750da14a5887b2c333a54ab/SwitchState.java/buggy/gnu/bytecode/SwitchState.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
13967,
1119,
12,
1085,
3843,
981,
13,
225,
288,
565,
1620,
67,
1925,
273,
394,
5287,
12,
710,
1769,
565,
981,
18,
5120,
559,
5621,
225,
368,
1843,
1620,
460,
565,
368,
7074,
2110,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13967,
1119,
12,
1085,
3843,
981,
13,
225,
288,
565,
1620,
67,
1925,
273,
394,
5287,
12,
710,
1769,
565,
981,
18,
5120,
559,
5621,
225,
368,
1843,
1620,
460,
565,
368,
7074,
2110,... |
int jsHandler = classFile.markHandler(acquireLabel()); short exceptionObject = getNewWordLocal(); astore(exceptionObject); aload(savedVariableObject); astore(variableObjectLocal); aload(exceptionObject); releaseWordLocal(exceptionObject); addScriptRuntimeInvoke("unwrapJavaScriptException", "(Lorg/mozilla/javascr... | private void visitTryCatchFinally(Node node, Node child) { /* Save the variable object, in case there are with statements * enclosed by the try block and we catch some exception. * We'll restore it for the catch block so that catch block * statements get the right scope. */ ... | 12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/f502d9a02ec54dd59fe0b11f6ad113b27aa04350/Codegen.java/clean/src/org/mozilla/javascript/optimizer/Codegen.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3757,
7833,
14842,
29987,
12,
907,
756,
16,
2029,
1151,
13,
288,
3639,
1748,
7074,
326,
2190,
733,
16,
316,
648,
1915,
854,
598,
6317,
540,
380,
25636,
635,
326,
775,
1203,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3757,
7833,
14842,
29987,
12,
907,
756,
16,
2029,
1151,
13,
288,
3639,
1748,
7074,
326,
2190,
733,
16,
316,
648,
1915,
854,
598,
6317,
540,
380,
25636,
635,
326,
775,
1203,
4... | |
TunnelSelectionCriteria crit = new TunnelSelectionCriteria(); crit.setMaximumTunnelsRequired(1); crit.setMinimumTunnelsRequired(1); List tunnelIds = TunnelManagerFacade.getInstance().selectOutboundTunnelIds(crit); if (tunnelIds.size() <= 0) { return null; } | TunnelSelectionCriteria crit = new TunnelSelectionCriteria(); crit.setMaximumTunnelsRequired(1); crit.setMinimumTunnelsRequired(1); List tunnelIds = TunnelManagerFacade.getInstance().selectOutboundTunnelIds(crit); if (tunnelIds.size() <= 0) { return null; } | private TunnelId getOutboundTunnelId() { TunnelSelectionCriteria crit = new TunnelSelectionCriteria(); crit.setMaximumTunnelsRequired(1); crit.setMinimumTunnelsRequired(1); List tunnelIds = TunnelManagerFacade.getInstance().selectOutboundTunnelIds(crit); if (tunnelIds.size() <= 0) { return null; } return (Tunn... | 3808 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3808/86759d2f9c63d203488c7e8b34e64be162a16ce9/SearchJob.java/clean/router/java/src/net/i2p/router/networkdb/kademlia/SearchJob.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
399,
8564,
548,
336,
17873,
20329,
548,
1435,
288,
202,
20329,
6233,
7231,
7921,
273,
394,
399,
8564,
6233,
7231,
5621,
202,
27826,
18,
542,
13528,
20329,
87,
3705,
12,
21,
1769,
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,
377,
3238,
399,
8564,
548,
336,
17873,
20329,
548,
1435,
288,
202,
20329,
6233,
7231,
7921,
273,
394,
399,
8564,
6233,
7231,
5621,
202,
27826,
18,
542,
13528,
20329,
87,
3705,
12,
21,
1769,
20... |
String defaultValue = (String)defaultSettings.get("log4j.configuration"); log4jConfiguration = defaultValue; | String defaultValue = (String) defaultSettings.get("log4j.configuration"); log4jConfiguration = defaultValue; | private File getGpLogFile() { String log4jConfiguration = System.getProperty("log4j.configuration"); if (log4jConfiguration == null) { String defaultValue = (String)defaultSettings.get("log4j.configuration"); log4jConfiguration = defaultValue; } Properties ... | 57344 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57344/d1f7468a4e01ba3fcdce5848cd7ff8367c3cce5c/ServerSettingsBean.java/clean/src/org/genepattern/server/webapp/jsf/ServerSettingsBean.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1387,
7162,
84,
19103,
1435,
288,
3639,
514,
613,
24,
78,
1750,
273,
2332,
18,
588,
1396,
2932,
1330,
24,
78,
18,
7025,
8863,
3639,
309,
261,
1330,
24,
78,
1750,
422,
446,
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,
1387,
7162,
84,
19103,
1435,
288,
3639,
514,
613,
24,
78,
1750,
273,
2332,
18,
588,
1396,
2932,
1330,
24,
78,
18,
7025,
8863,
3639,
309,
261,
1330,
24,
78,
1750,
422,
446,
13,
2... |
int r1a = r1.width * r1.height; int r2a = r2.width * r2.height; int ua = union.width * union.height; if (ua > (r1a+r2a)*2) return null; /* The 2 factor should maybe be reconsidered. Perhaps 3/2 would be better? */ | private PaintEvent coalescePaintEvents(PaintEvent queuedEvent, PaintEvent newEvent) { Rectangle r1 = queuedEvent.getUpdateRect(); Rectangle r2 = newEvent.getUpdateRect(); Rectangle union = r1.union(r2); int r1a = r1.width * r1.height; int r2a = r2.width * r2.hei... | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/e4324f195b821a95e3fba2a565af3e14eb6e7f65/Component.java/buggy/core/src/classpath/java/java/awt/Component.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
30001,
1133,
1825,
24827,
12699,
3783,
12,
12699,
1133,
12234,
1133,
16,
29159,
30001,
1133,
394,
1133,
13,
225,
288,
565,
13264,
436,
21,
273,
12234,
1133,
18,
588,
1891,
6120,
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,
282,
3238,
30001,
1133,
1825,
24827,
12699,
3783,
12,
12699,
1133,
12234,
1133,
16,
29159,
30001,
1133,
394,
1133,
13,
225,
288,
565,
13264,
436,
21,
273,
12234,
1133,
18,
588,
1891,
6120,
5621,... | |
private void placeComponents() { GridLayout glContent = new GridLayout(); glContent.numColumns = 2; glContent.horizontalSpacing = 5; glContent.verticalSpacing = 5; | private void placeComponents( ) { GridLayout glContent = new GridLayout( ); glContent.numColumns = 2; glContent.horizontalSpacing = 5; glContent.verticalSpacing = 5; | private void placeComponents() { GridLayout glContent = new GridLayout(); glContent.numColumns = 2; glContent.horizontalSpacing = 5; glContent.verticalSpacing = 5; cmpContent = new Composite(shell, SWT.NONE); cmpContent.setLayout(glContent); GridLayout glGeneral =... | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/c60a4815037b62e9358af2625eb6236e7c979d0f/GradientEditorDialog.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/GradientEditorDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3166,
7171,
1435,
565,
288,
3639,
7145,
3744,
5118,
1350,
273,
394,
7145,
3744,
5621,
3639,
5118,
1350,
18,
2107,
3380,
273,
576,
31,
3639,
5118,
1350,
18,
18396,
18006,
273,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3166,
7171,
1435,
565,
288,
3639,
7145,
3744,
5118,
1350,
273,
394,
7145,
3744,
5621,
3639,
5118,
1350,
18,
2107,
3380,
273,
576,
31,
3639,
5118,
1350,
18,
18396,
18006,
273,
1... |
categoryPanelHolder.add(BorderLayout.CENTER, currentCategoryPanel); | categoryPanelHolder.add(currentCategoryPanel, BorderLayout.CENTER); | private void setCurrentPanel(CategoryPanel panel){ categoryPanelHolder.removeAll(); currentCategoryPanel = panel; if (currentCategoryPanel != null){ categoryPanelHolder.add(BorderLayout.CENTER, currentCategoryPanel); invalidate(); validate(); repaint(); // sigh } } | 1161 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1161/fb5237b97d1cd55b8a529b015a4a58a9624a9fd5/ConsolePreferencesPanel.java/clean/src/free/jin/console/ConsolePreferencesPanel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
12589,
5537,
12,
4457,
5537,
6594,
15329,
565,
3150,
5537,
6064,
18,
4479,
1595,
5621,
565,
783,
4457,
5537,
273,
6594,
31,
565,
309,
261,
2972,
4457,
5537,
480,
446,
15329,
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,
282,
3238,
918,
12589,
5537,
12,
4457,
5537,
6594,
15329,
565,
3150,
5537,
6064,
18,
4479,
1595,
5621,
565,
783,
4457,
5537,
273,
6594,
31,
565,
309,
261,
2972,
4457,
5537,
480,
446,
15329,
13... |
try { setId((String) evalAttr("id", getIdExpr(), String.class)); } catch (NullAttributeException ex) { } | String string = null; | private void evaluateExpressions() throws JspException { try { setId((String) evalAttr("id", getIdExpr(), String.class)); } catch (NullAttributeException ex) { } try { setBundle((String) evalAttr("bundle", getBundleExpr(), String.class)); } catch (NullAttribu... | 48068 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48068/022bd23c954cf673e53731849d562b3c295473f1/ELMessagesTag.java/buggy/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELMessagesTag.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
5956,
8927,
1435,
1216,
27485,
288,
3639,
775,
288,
5411,
10446,
12443,
780,
13,
5302,
3843,
2932,
350,
3113,
2634,
4742,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
5956,
8927,
1435,
1216,
27485,
288,
3639,
775,
288,
5411,
10446,
12443,
780,
13,
5302,
3843,
2932,
350,
3113,
2634,
4742,
9334,
514,
18,
1106,
10019,
3639,
289,
1044,
261,
2041,
... |
throw new PDOMNotImplementedError(); | return false; | public boolean isAuto() throws DOMException { throw new PDOMNotImplementedError(); } | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/4c2b2120e49bda069e08a1cb69fb67723aedcb28/PDOMCPPFunction.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPFunction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
27079,
1435,
1216,
4703,
503,
288,
202,
202,
12849,
394,
453,
8168,
1248,
8644,
668,
5621,
202,
97,
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,
225,
202,
482,
1250,
27079,
1435,
1216,
4703,
503,
288,
202,
202,
12849,
394,
453,
8168,
1248,
8644,
668,
5621,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
super(id, null, new LocaleChoiceRenderer()); | super(id, LOCALES, new LocaleChoiceRenderer()); | public LocaleDropDownChoice(String id) { super(id, null, new LocaleChoiceRenderer()); // set the model that gets the current locale, and that is used for // updating the current locale to property 'locale' of FormInput setModel(new PropertyModel(FormInput.this, "locale")); setChoices(LOCALES); } | 46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/d387e6c691b85ace7b839c75105d70446effff74/FormInput.java/buggy/wicket-examples/src/java/wicket/examples/forminput/FormInput.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
6458,
7544,
4164,
10538,
12,
780,
612,
13,
202,
202,
95,
1082,
202,
9565,
12,
350,
16,
446,
16,
394,
6458,
10538,
6747,
10663,
1082,
202,
759,
444,
326,
938,
716,
5571,
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,
3196,
202,
482,
6458,
7544,
4164,
10538,
12,
780,
612,
13,
202,
202,
95,
1082,
202,
9565,
12,
350,
16,
446,
16,
394,
6458,
10538,
6747,
10663,
1082,
202,
759,
444,
326,
938,
716,
5571,
326,
... |
char matchCh = (char)GET_ARG(program, pc); pc += ARG_LEN; | char matchCh = (char)getIndex(program, pc); pc += INDEX_LEN; | executeREBytecode(REGlobalData gData, char[] chars, int end) { int pc = 0; byte program[] = gData.regexp.program; int op = program[pc++]; int currentContinuation_op; int currentContinuation_pc; boolean result = false; currentContinuation_pc = 0; currentCont... | 51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/21f0e29bbdfc8503803ff1fb05a60d0d11f579d5/NativeRegExp.java/buggy/js/rhino/src/org/mozilla/javascript/regexp/NativeRegExp.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1836,
862,
858,
16651,
12,
862,
5160,
751,
314,
751,
16,
1149,
8526,
5230,
16,
509,
679,
13,
565,
288,
3639,
509,
6125,
273,
374,
31,
3639,
1160,
5402,
8526,
273,
314,
751,
18,
17745,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1836,
862,
858,
16651,
12,
862,
5160,
751,
314,
751,
16,
1149,
8526,
5230,
16,
509,
679,
13,
565,
288,
3639,
509,
6125,
273,
374,
31,
3639,
1160,
5402,
8526,
273,
314,
751,
18,
17745,
... |
StringBuffer sb = new StringBuffer(); int length = Integer.parseInt(lengthStr); int places = Integer.parseInt(placesStr); for (int i = 0; i < length; i++) { sb.append("#"); if ((length - i) == places) { sb.append('.'); } } return sb.toString(); | StringBuffer sb = new StringBuffer(); int length = Integer.parseInt(lengthStr); int places = Integer.parseInt(placesStr); for (int i = 0; i < length; i++) { sb.append("#"); if ((length - i) == places) { sb.append('.'); } } return sb.toString(); | private String decimalFormat(String lengthStr, String placesStr) { StringBuffer sb = new StringBuffer(); int length = Integer.parseInt(lengthStr); int places = Integer.parseInt(placesStr); for (int i = 0; i < length; i++) { sb.append("#"); if ((length - i) == places) { sb.append... | 37907 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/37907/a591b9db7c08ea14759dd4714d93db547aaa7a77/MondrianFoodMartLoader.java/clean/testsrc/main/mondrian/test/loader/MondrianFoodMartLoader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
514,
6970,
1630,
12,
780,
769,
1585,
16,
514,
12576,
1585,
13,
288,
377,
202,
780,
1892,
2393,
273,
394,
6674,
5621,
377,
202,
377,
202,
474,
769,
273,
2144,
18,
2670,
1702,
12,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
514,
6970,
1630,
12,
780,
769,
1585,
16,
514,
12576,
1585,
13,
288,
377,
202,
780,
1892,
2393,
273,
394,
6674,
5621,
377,
202,
377,
202,
474,
769,
273,
2144,
18,
2670,
1702,
12,
... |
if (secondaryElementsToSearch != null) { for (PsiElement element : secondaryElementsToSearch) { convertToUsageTarget(targets, element); } } | private PsiElement2UsageTargetAdapter[] convertToUsageTargets(final PsiElement[] primaryElementsToSearch, final PsiElement[] secondaryElementsToSearch) { final ArrayList<PsiElement2UsageTargetAdapter> targets = new ArrayList<PsiElement2UsageTargetAdapter>(); if (primaryElementsToSearch != null) { for (PsiE... | 17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/89d5c2936316b89d142eb5c483ee507148ad6c73/FindUsagesManager.java/buggy/source/com/intellij/find/findUsages/FindUsagesManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
453,
7722,
1046,
22,
5357,
2326,
4216,
8526,
8137,
5357,
9432,
12,
6385,
453,
7722,
1046,
8526,
3354,
3471,
774,
2979,
16,
727,
453,
7722,
1046,
8526,
9946,
3471,
774,
2979,
13,
288... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
453,
7722,
1046,
22,
5357,
2326,
4216,
8526,
8137,
5357,
9432,
12,
6385,
453,
7722,
1046,
8526,
3354,
3471,
774,
2979,
16,
727,
453,
7722,
1046,
8526,
9946,
3471,
774,
2979,
13,
288... | |
protected String getStrColorValue( Object value ) | protected String getStrColorValue( int value ) | protected String getStrColorValue( Object value ) { int intValue = getColorValue( value ); if( intValue == -1 ) { return null; } if( value instanceof String ) { return ( String ) value; } return StringUtil.toRgbText( intValue ); } | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/72ef136b489c89c0ad7e3c18e455bac267b6d962/EngineIRVisitor.java/clean/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/parser/EngineIRVisitor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
514,
24017,
2957,
620,
12,
1033,
460,
262,
202,
95,
202,
202,
474,
9307,
273,
15672,
620,
12,
460,
11272,
202,
202,
430,
12,
9307,
422,
300,
21,
262,
202,
202,
95,
1082,
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,
1117,
514,
24017,
2957,
620,
12,
1033,
460,
262,
202,
95,
202,
202,
474,
9307,
273,
15672,
620,
12,
460,
11272,
202,
202,
430,
12,
9307,
422,
300,
21,
262,
202,
202,
95,
1082,
20... |
if (binding == null || !binding.isValidBinding()) { | if (binding == null) { return null; } else if (!binding.isValidBinding()) { switch(binding.problemId()) { case ProblemReasons.NotVisible : case ProblemReasons.NonStaticReferenceInStaticContext : if (binding instanceof ProblemReferenceBinding) { ProblemReferenceBinding problemReferenceBinding = (ProblemReferenceBinding)... | IBinding resolveName(Name name) { AstNode node = (AstNode) this.newAstToOldAst.get(name); int index = name.index; if (node instanceof QualifiedNameReference) { QualifiedNameReference qualifiedNameReference = (QualifiedNameReference) node; int qualifiedNameLength = qualifiedNameReference.tokens.length; int ind... | 10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/f68c3205ee145ec7c1c029e73701ee13aaf91bec/DefaultBindingResolver.java/buggy/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DefaultBindingResolver.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
45,
5250,
2245,
461,
12,
461,
508,
13,
288,
202,
202,
21385,
907,
756,
273,
261,
21385,
907,
13,
333,
18,
2704,
21385,
774,
7617,
21385,
18,
588,
12,
529,
1769,
202,
202,
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,
225,
202,
45,
5250,
2245,
461,
12,
461,
508,
13,
288,
202,
202,
21385,
907,
756,
273,
261,
21385,
907,
13,
333,
18,
2704,
21385,
774,
7617,
21385,
18,
588,
12,
529,
1769,
202,
202,
474,
77... |
rhs = stack[stackTop]; | Object rhs = stack[stackTop]; | public static Object interpret(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, NativeFunction fnOrScript, InterpreterData theData) throws JavaScriptException { if (cx.interpreterSe... | 13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/052726b68e684efc593535d50a73767571084837/Interpreter.java/buggy/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... |
} | TemplateNode clone(Stylesheet stylesheet) { TemplateNode ret = new ParameterNode(name, select.clone(stylesheet), type); if (children != null) { ret.children = children.clone(stylesheet); } if (next != null) { re... | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ParameterNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/ParameterNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
5035,
907,
3236,
12,
24656,
13820,
13,
225,
288,
565,
5035,
907,
325,
273,
394,
5498,
907,
12,
529,
16,
11794,
2027,
18,
14056,
12,
19403,
3631,
29159,
618,
1769,
565,
309,
261,
5906,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5035,
907,
3236,
12,
24656,
13820,
13,
225,
288,
565,
5035,
907,
325,
273,
394,
5498,
907,
12,
529,
16,
11794,
2027,
18,
14056,
12,
19403,
3631,
29159,
618,
1769,
565,
309,
261,
5906,
4... | |
public AjaxEditableLabel setLabel(final IModel labelModel) | public final AjaxEditableLabel setLabel(final IModel labelModel) | public AjaxEditableLabel setLabel(final IModel labelModel) { editor.setLabel(labelModel); return this; } | 46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/0c7dcfeec9b7d11c48b985191f8ec20fea95c5ba/AjaxEditableLabel.java/buggy/wicket-extensions/src/java/wicket/extensions/ajax/markup/html/AjaxEditableLabel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
18772,
15470,
2224,
16558,
12,
6385,
467,
1488,
1433,
1488,
13,
202,
95,
202,
202,
9177,
18,
542,
2224,
12,
1925,
1488,
1769,
202,
202,
2463,
333,
31,
202,
97,
2,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
18772,
15470,
2224,
16558,
12,
6385,
467,
1488,
1433,
1488,
13,
202,
95,
202,
202,
9177,
18,
542,
2224,
12,
1925,
1488,
1769,
202,
202,
2463,
333,
31,
202,
97,
2,
-100,
-100,
... |
assertNotNull(oMol.getMonomer("MOL1")); | assertNotNull(oMol.getMonomer("MOL1", "A")); | public void testPDBFileCoffein() { String filename = "data/coffeine.pdb"; InputStream ins = this.getClass().getClassLoader().getResourceAsStream(filename); try { ChemObjectReader oReader = new PDBReader(new InputStreamReader(ins)); assertNotNull(oReader); ChemFile oChemF... | 46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/6fc05aca86d417eb218e45a23e409449083b6636/PDBReaderTest.java/buggy/src/org/openscience/cdk/test/io/PDBReaderTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
52,
2290,
812,
39,
792,
3030,
267,
1435,
288,
3639,
514,
1544,
273,
315,
892,
19,
71,
792,
3030,
558,
18,
17414,
14432,
3639,
5037,
2763,
273,
333,
18,
588,
797,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
52,
2290,
812,
39,
792,
3030,
267,
1435,
288,
3639,
514,
1544,
273,
315,
892,
19,
71,
792,
3030,
558,
18,
17414,
14432,
3639,
5037,
2763,
273,
333,
18,
588,
797,
... |
return new RubyBignum(getRuntime(), value.shiftRight((int) shift)); | return callCoerced(">>", other); | public RubyBignum op_rshift(RubyNumeric other) { long shift = other.getLongValue(); if (shift > Integer.MAX_VALUE || shift < Integer.MIN_VALUE) { throw new RangeError(getRuntime(), "bignum too big to convert into `int'"); } return new RubyBignum(getRuntime(), value.shiftRight((int) shift)); ... | 46454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46454/803c66ee682936beecc8a43fe2cfc90fe5645b22/RubyBignum.java/clean/src/org/jruby/RubyBignum.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
38,
724,
379,
1061,
67,
86,
4012,
12,
54,
10340,
9902,
1308,
13,
288,
3639,
1525,
4654,
273,
1308,
18,
588,
3708,
620,
5621,
3639,
309,
261,
4012,
405,
2144,
18,
6694,
67,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
38,
724,
379,
1061,
67,
86,
4012,
12,
54,
10340,
9902,
1308,
13,
288,
3639,
1525,
4654,
273,
1308,
18,
588,
3708,
620,
5621,
3639,
309,
261,
4012,
405,
2144,
18,
6694,
67,
... |
REProgState() | REProgState(REProgState previous, int min, int max, int index, REBackTrackData backTrack, int continuation_pc, int continuation_op) | REProgState() { } | 54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/21f0e29bbdfc8503803ff1fb05a60d0d11f579d5/NativeRegExp.java/clean/js/rhino/src/org/mozilla/javascript/regexp/NativeRegExp.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
2438,
626,
75,
1119,
12,
862,
626,
75,
1119,
2416,
16,
509,
1131,
16,
509,
943,
16,
509,
770,
16,
2438,
2711,
4402,
751,
1473,
4402,
16,
509,
17378,
67,
2436,
16,
509,
17378,
67,
556,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
2438,
626,
75,
1119,
12,
862,
626,
75,
1119,
2416,
16,
509,
1131,
16,
509,
943,
16,
509,
770,
16,
2438,
2711,
4402,
751,
1473,
4402,
16,
509,
17378,
67,
2436,
16,
509,
17378,
67,
556,... |
{ return (int) eventManager.getGlobalChannelWindowStart(w); } | { return (int) eventManager.getGlobalChannelWindowStart(w); } | int getGlobalChannelWindowStart(int w) { return (int) eventManager.getGlobalChannelWindowStart(w); } | 13273 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13273/1722ebf9ac60fc8e45cdc8d0049e85db5b86715c/QuantumPaneManager.java/buggy/SRC/org/openmicroscopy/shoola/agents/rnd/pane/QuantumPaneManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
474,
20591,
2909,
3829,
1685,
12,
474,
341,
13,
202,
95,
202,
202,
2463,
261,
474,
13,
23040,
18,
588,
5160,
2909,
3829,
1685,
12,
91,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
474,
20591,
2909,
3829,
1685,
12,
474,
341,
13,
202,
95,
202,
202,
2463,
261,
474,
13,
23040,
18,
588,
5160,
2909,
3829,
1685,
12,
91,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-... |
if (bioEntity instanceof Exon && parent != null) { featureName = "CDS"; } else { Class bioEntityClass = bioEntity.getClass(); Set classes = DynamicUtil.decomposeClass(bioEntityClass); StringBuffer nameBuffer = new StringBuffer(); Iterator iter = classes.iterator(); while (iter.hasNext()) { Class thisClass = (Class) ... | if (bioEntity instanceof Transcript && !(bioEntity instanceof TRNA)) { featureName = "mRNA"; } else { if (bioEntity instanceof Exon) { featureName = "CDS"; } else { if (bioEntity instanceof FivePrimeUTR) { featureName = "5'-UTR"; | private void writeFeature(PrintWriter gffWriter, Chromosome chr, BioEntity bioEntity, Location location, Integer index, BioEntity parent) throws IOException { if (index == null) { index = new Integer(0); } StringBuffer ... | 7196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7196/dac46001fb0558d8df05ed51ebf8388bdb1d99af/WriteGFFTask.java/clean/flymine/model/genomic/src/java/org/flymine/gbrowse/WriteGFFTask.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1045,
4595,
12,
5108,
2289,
26534,
2289,
16,
1680,
520,
16958,
4513,
16,
17311,
21209,
1943,
25091,
1943,
16,
7050,
2117,
16,
2144,
770,
16,
17311,
21209,
1943,
982,
13,
3639,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1045,
4595,
12,
5108,
2289,
26534,
2289,
16,
1680,
520,
16958,
4513,
16,
17311,
21209,
1943,
25091,
1943,
16,
7050,
2117,
16,
2144,
770,
16,
17311,
21209,
1943,
982,
13,
3639,
... |
java.net.URL imgURL = ClassLoader.getSystemResource("/org/genepattern/gpge/resources/icons/" + name); if(imgURL != null) { return new ImageIcon(imgURL); } else { System.err.println("Unable to find " + name); return null; } } | java.net.URL imgURL = IconManager.class .getResource("/org/genepattern/gpge/resources/icons/" + name); if (imgURL != null) { return new ImageIcon(imgURL); } else { System.err.println("Unable to find " + name); return null; } } | public static Icon loadIcon(String name) { java.net.URL imgURL = ClassLoader.getSystemResource("/org/genepattern/gpge/resources/icons/" + name); if(imgURL != null) { return new ImageIcon(imgURL); } else { System.err.println("Unable to find " + name); return null; } } | 57344 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57344/dc8687cbd931e0d31c24bba6f3cf6664f839fb62/IconManager.java/clean/clients/JavaGE/src/org/genepattern/gpge/ui/maindisplay/IconManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
760,
16011,
1262,
5554,
12,
780,
508,
13,
288,
1377,
2252,
18,
2758,
18,
1785,
3774,
1785,
273,
9403,
18,
588,
3163,
1420,
2932,
19,
3341,
19,
4507,
881,
1344,
19,
6403,
908,
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,
565,
1071,
760,
16011,
1262,
5554,
12,
780,
508,
13,
288,
1377,
2252,
18,
2758,
18,
1785,
3774,
1785,
273,
9403,
18,
588,
3163,
1420,
2932,
19,
3341,
19,
4507,
881,
1344,
19,
6403,
908,
19,
... |
elemId, TYPE, conn); | elemId, TYPE); | public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { ThreadCategory.setPrefix(LOG4J_CATEGORY); log = ThreadCategory.getInstance(this.getClass()); String elems = request.getParameter("elems"); String action = request.getParameter("action"); log.debug... | 48885 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48885/d5b0121ba147eea97a444ae288f11e94118d5a54/LoadCurrentNodesServlet.java/buggy/opennms-webapp/src/main/java/org/opennms/web/map/LoadCurrentNodesServlet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
741,
3349,
12,
2940,
18572,
590,
16,
12446,
766,
13,
1082,
202,
15069,
16517,
16,
1860,
288,
202,
202,
3830,
4457,
18,
542,
2244,
12,
4842,
24,
46,
67,
24847,
1769,
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,
918,
741,
3349,
12,
2940,
18572,
590,
16,
12446,
766,
13,
1082,
202,
15069,
16517,
16,
1860,
288,
202,
202,
3830,
4457,
18,
542,
2244,
12,
4842,
24,
46,
67,
24847,
1769,
202,
... |
BasicTreeUI.this.tree.repaint(); | tree.repaint(); | public void treeExpanded(TreeExpansionEvent event) { BasicTreeUI.this.tree.repaint(); } | 45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/d03b7ded9dacd5a74a8420d7dade451079b17d89/BasicTreeUI.java/clean/libraries/javalib/javax/swing/plaf/basic/BasicTreeUI.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2151,
17957,
12,
2471,
2966,
12162,
1133,
871,
13,
565,
288,
1377,
2151,
18,
14462,
1598,
5621,
565,
289,
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,
2151,
17957,
12,
2471,
2966,
12162,
1133,
871,
13,
565,
288,
1377,
2151,
18,
14462,
1598,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
String getBorderTopColor(); | String getBorderTopColor( ); | String getBorderTopColor(); | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/418b538dedc46927b62e9d884dd3fc2419ed5e34/IScriptStyle.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/script/instance/IScriptStyle.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
780,
2882,
1019,
3401,
2957,
5621,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
780,
2882,
1019,
3401,
2957,
5621,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
System.out.println("Writing configuration files"); | System.out.println("Parsing the process description: "+desc); | public ServerNodeController createNode( ProcessDescription desc, ClientNodeEventListener cnel, NodeEventFilter nef, ConfigurationWriter cw) throws Exception { // null-check if (desc == null) { throw new NullPointerException("Description is null"); } else if (cnel == null) { ... | 8707 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8707/f0248ba40cebacdaa8a06726906c56230a1b56e7/ServerHostControllerImpl.java/clean/src/org/cougaar/tools/server/rmi/ServerHostControllerImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
3224,
907,
2933,
24584,
12,
1377,
4389,
3291,
3044,
16,
1377,
2445,
907,
7375,
276,
3084,
16,
1377,
2029,
1133,
1586,
1073,
74,
16,
1377,
4659,
2289,
14098,
13,
565,
1216,
1185,
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,
1,
1,
1,
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,
3224,
907,
2933,
24584,
12,
1377,
4389,
3291,
3044,
16,
1377,
2445,
907,
7375,
276,
3084,
16,
1377,
2029,
1133,
1586,
1073,
74,
16,
1377,
4659,
2289,
14098,
13,
565,
1216,
1185,
225... |
return true; | return Boolean.TRUE; | public static boolean validateDouble(Object bean, ValidatorAction va, Field field, ActionMessages errors, HttpServletRequest request) { Double result = null; String value = null; ... | 2722 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2722/5643e25dd644f2849fe9db78f1a75247d7bb68ea/FieldChecks.java/clean/src/share/org/apache/struts/validator/FieldChecks.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1250,
1954,
5265,
12,
921,
3931,
16,
4766,
3639,
9150,
1803,
14162,
16,
2286,
652,
16,
4766,
3639,
4382,
5058,
1334,
16,
4766,
3639,
9984,
590,
13,
288,
3639,
3698,
563,
273,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1250,
1954,
5265,
12,
921,
3931,
16,
4766,
3639,
9150,
1803,
14162,
16,
2286,
652,
16,
4766,
3639,
4382,
5058,
1334,
16,
4766,
3639,
9984,
590,
13,
288,
3639,
3698,
563,
273,
... |
" WHERE folder_id = ? AND type NOT IN " + FOLDER_TYPES); stmt.setInt(1, folderId); | " WHERE " + (DebugConfig.enableMailboxGroup ? "mailbox_id = ? AND " : "") + "folder_id = ? AND type NOT IN " + FOLDER_TYPES); int pos = 1; if (DebugConfig.enableMailboxGroup) stmt.setInt(pos++, mbox.getId()); stmt.setInt(pos++, folderId); | public static PendingDelete getLeafNodes(Folder folder) throws ServiceException { Mailbox mbox = folder.getMailbox(); PendingDelete info = new PendingDelete(); int folderId = folder.getId(); Connection conn = mbox.getOperationConnection(); PreparedStatement stmt = null; Result... | 6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/f1be72d52deaf8675b97f101b1ec8231e1b9a5d7/DbMailItem.java/buggy/ZimbraServer/src/java/com/zimbra/cs/db/DbMailItem.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
16034,
2613,
336,
9858,
3205,
12,
3899,
3009,
13,
1216,
16489,
288,
377,
202,
30239,
312,
2147,
273,
3009,
18,
588,
30239,
5621,
3639,
16034,
2613,
1123,
273,
394,
16034,
2613,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
16034,
2613,
336,
9858,
3205,
12,
3899,
3009,
13,
1216,
16489,
288,
377,
202,
30239,
312,
2147,
273,
3009,
18,
588,
30239,
5621,
3639,
16034,
2613,
1123,
273,
394,
16034,
2613,
... |
serverNames.add( serverNameConfs[i].getValue().toLowerCase( Locale.US ) ); | serverNames.add( serverNameConfs[i].getValue().toLowerCase(Locale.US)); | public void initialize() throws Exception { getLogger().info( "JAMES init..." ); // TODO: This should retrieve a more specific named thread pool from // Context that is set up in server.xml try { mailstore = ( MailStore ) compMgr.lookup( MailStore.ROLE ); } ca... | 47102 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47102/1ad7ffcfbbf77facca5521af64958c222e2d9e63/James.java/buggy/trunk/proposals/imap2/java/org/apache/james/James.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4046,
1435,
1216,
1185,
565,
288,
3639,
7156,
7675,
1376,
12,
315,
46,
1642,
55,
1208,
7070,
11272,
3639,
368,
2660,
30,
1220,
1410,
4614,
279,
1898,
2923,
4141,
2650,
2845,
62... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4046,
1435,
1216,
1185,
565,
288,
3639,
7156,
7675,
1376,
12,
315,
46,
1642,
55,
1208,
7070,
11272,
3639,
368,
2660,
30,
1220,
1410,
4614,
279,
1898,
2923,
4141,
2650,
2845,
62... |
private void newSourceChanged(final int sourcePriority) { /* * In this first phase, we cycle through all of the contributions that * could have potentially changed. Each such contribution is added to a * set for future processing. We add it to a set so that we avoid * handling any individual contribution more... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/d776bcff0aa4a090aa008b1f9669652f257c89ef/MenuAuthority.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/menus/MenuAuthority.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
6459,
2704,
1830,
5033,
12,
6385,
474,
3168,
8183,
15329,
202,
202,
20308,
202,
202,
14,
382,
2211,
3645,
13961,
16,
91,
557,
93,
830,
546,
2642,
287,
383,
74,
451,
17181,
40... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6459,
2704,
1830,
5033,
12,
6385,
474,
3168,
8183,
15329,
202,
202,
20308,
202,
202,
14,
382,
2211,
3645,
13961,
16,
91,
557,
93,
830,
546,
2642,
287,
383,
74,
451,
17181,
40... | ||
"\t@Property constraints = {\n" + | "\tdef constraints = {\n" + | protected void onSetUp() throws Exception { Class groovyClass = cl.parseClass("public class PersistentMethodTests {\n" + "\n" + "\t@Property List optionals = [ \"age\" ];\n" + "\t\n" + "\t@Property Long id; \n" + "\t@Property Long... | 51826 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51826/dd7ca7d1686d48648d4eab36fa08f1bfb26eb0ea/PersistentMethodTests.java/clean/test/persistence/org/codehaus/groovy/grails/orm/hibernate/PersistentMethodTests.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
603,
694,
1211,
1435,
1216,
1185,
288,
5411,
1659,
24955,
797,
273,
927,
18,
2670,
797,
2932,
482,
667,
11049,
1305,
14650,
18890,
82,
6,
397,
7734,
1548,
82,
6,
397,
7734,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
603,
694,
1211,
1435,
1216,
1185,
288,
5411,
1659,
24955,
797,
273,
927,
18,
2670,
797,
2932,
482,
667,
11049,
1305,
14650,
18890,
82,
6,
397,
7734,
1548,
82,
6,
397,
7734,
1... |
(implementsSerializableDirectly || sawSerialVersionUID) ? HIGH_PRIORITY : NORMAL_PRIORITY) | implementsSerializableDirectly ? HIGH_PRIORITY : ( sawSerialVersionUID ? NORMAL_PRIORITY : LOW_PRIORITY)) | public void visitAfter(JavaClass obj) { if (isEnum) return; if (false) { System.out.println(getDottedClassName()); System.out.println(" hasPublicVoidConstructor: " + hasPublicVoidConstructor); System.out.println(" superClassHasVoidConstructor: " + superClassHasVoidConstructor); System.out.println(" isExte... | 10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/8ba2cf52385e1c5acc5b03bab20aa416f38c52fc/SerializableIdiom.java/clean/findbugs/src/java/edu/umd/cs/findbugs/detect/SerializableIdiom.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
4436,
12,
5852,
797,
1081,
13,
288,
202,
202,
430,
261,
291,
3572,
13,
327,
31,
202,
202,
430,
261,
5743,
13,
288,
1082,
202,
3163,
18,
659,
18,
8222,
12,
588,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
4436,
12,
5852,
797,
1081,
13,
288,
202,
202,
430,
261,
291,
3572,
13,
327,
31,
202,
202,
430,
261,
5743,
13,
288,
1082,
202,
3163,
18,
659,
18,
8222,
12,
588,
... |
setErrorText(null); | setErrorText(null); | public void applyEditorValue() { if (editor == null) { return; } // Check if editor has a valid value if (!editor.isValueValid()) { setErrorText(editor.getErrorMessage()); return; } setErrorText(null); // See if the value changed and if so update ... | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/1ccb6f8ddf35b3b40ebd3ebe3e7982aa947ec045/PropertySheetEntry.java/clean/bundles/org.eclipse.ui.views/src/org/eclipse/ui/views/properties/PropertySheetEntry.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2230,
6946,
620,
1435,
288,
3639,
309,
261,
9177,
422,
446,
13,
288,
1082,
202,
2463,
31,
202,
202,
97,
3639,
368,
2073,
309,
4858,
711,
279,
923,
460,
3639,
309,
16051,
9177... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2230,
6946,
620,
1435,
288,
3639,
309,
261,
9177,
422,
446,
13,
288,
1082,
202,
2463,
31,
202,
202,
97,
3639,
368,
2073,
309,
4858,
711,
279,
923,
460,
3639,
309,
16051,
9177... |
if(!isSetDataInTable&&rate!=0) { try { str = String.valueOf(jTable1.getValueAt(rowSelect,columnSelect)); } catch(Exception ex) { str = new String("0"); | if(!isSetDataInTable&&rate!=0) { try { str = String.valueOf(jTable1.getValueAt(rowSelect,columnSelect)); } catch(Exception ex) { str = new String("0"); | private void setInputLisener() { getKeyBoardManager(); jTable1.addFocusListener(new FocusListener() { public void focusGained(FocusEvent e) { try { if((Boolean)jTable1.getValueAt(jTable1.getSelectedRow(),24)&& !... | 12667 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12667/819e12d5887ee005a6db30d46fcc791a090c703a/aeDocumentFacade.java/clean/src/imakante/sales/aeDocumentFacade.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
21687,
48,
291,
708,
1435,
288,
3639,
3579,
22233,
1318,
5621,
3639,
525,
1388,
21,
18,
1289,
9233,
2223,
12,
2704,
478,
4560,
2223,
1435,
288,
5411,
1071,
918,
7155,
43,
8707,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
21687,
48,
291,
708,
1435,
288,
3639,
3579,
22233,
1318,
5621,
3639,
525,
1388,
21,
18,
1289,
9233,
2223,
12,
2704,
478,
4560,
2223,
1435,
288,
5411,
1071,
918,
7155,
43,
8707,... |
public static void sprocSetRoleDocPermissionSetId(IMCServiceInterface imcref, int metaId, int roleId, int newSetId) { imcref.sqlUpdateProcedure("SetRoleDocPermissionSetId", new String[]{"" + roleId, "" + metaId, "" + newSetId}); | public static void sprocSetRoleDocPermissionSetId( IMCServiceInterface imcref, int metaId, int roleId, int newSetId ) { imcref.sqlUpdateProcedure( "SetRoleDocPermissionSetId", new String[]{"" + roleId, "" + metaId, "" + newSetId} ); | public static void sprocSetRoleDocPermissionSetId(IMCServiceInterface imcref, int metaId, int roleId, int newSetId) { imcref.sqlUpdateProcedure("SetRoleDocPermissionSetId", new String[]{"" + roleId, "" + metaId, "" + newSetId}); } | 8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/f203f6fc91c9ae8d2fcd69e28ea9f0981a4ee690/DocumentMapper.java/buggy/server/src/imcode/server/document/DocumentMapper.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
272,
9381,
694,
2996,
1759,
5041,
18523,
12,
3445,
39,
18348,
709,
71,
1734,
16,
509,
2191,
548,
16,
509,
21152,
16,
4766,
8227,
509,
394,
18523,
13,
288,
3639,
709,
71,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
272,
9381,
694,
2996,
1759,
5041,
18523,
12,
3445,
39,
18348,
709,
71,
1734,
16,
509,
2191,
548,
16,
509,
21152,
16,
4766,
8227,
509,
394,
18523,
13,
288,
3639,
709,
71,... |
public org.quickfix.field.LegCurrency getLegCurrency() throws FieldNotFound { org.quickfix.field.LegCurrency value = new org.quickfix.field.LegCurrency(); | public quickfix.field.LegCurrency getLegCurrency() throws FieldNotFound { quickfix.field.LegCurrency value = new quickfix.field.LegCurrency(); | public org.quickfix.field.LegCurrency getLegCurrency() throws FieldNotFound { org.quickfix.field.LegCurrency value = new org.quickfix.field.LegCurrency(); getField(value); return value; } | 8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/TradeCaptureReport.java/buggy/src/java/src/quickfix/fix44/TradeCaptureReport.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
7623,
336,
8329,
7623,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
7623,
460,
273,
394,
2358,
18,
19525,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
7623,
336,
8329,
7623,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
7623,
460,
273,
394,
2358,
18,
19525,
... |
Statistics stats= new Statistics(); | Statistics stats; | private Statistics computeStats(Dim dimension) { Statistics stats= new Statistics(); Set set= new HashSet(); for (int j= 0; j < fDataPoints.length; j++) { DataPoint dp= fDataPoints[j]; set.add(new Integer(dp.getStep())); } long mags[]= new long[fDataPoints.length]; switch (set.size()) { cas... | 14221 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14221/d62d7b1a870b74cb529e17d6691b859fcad1c3b7/StatisticsSession.java/buggy/src/org/eclipse/test/internal/performance/eval/StatisticsSession.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
22964,
3671,
4195,
12,
5225,
4968,
13,
288,
202,
377,
9506,
202,
8569,
3177,
33,
394,
22964,
5621,
9506,
202,
694,
444,
33,
394,
6847,
5621,
202,
202,
1884,
261,
474,
525,
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,
225,
202,
1152,
22964,
3671,
4195,
12,
5225,
4968,
13,
288,
202,
377,
9506,
202,
8569,
3177,
33,
394,
22964,
5621,
9506,
202,
694,
444,
33,
394,
6847,
5621,
202,
202,
1884,
261,
474,
525,
33... |
List resources = (List) new ArrayList(); | List resources = new ArrayList(); | public void deleteAllProperties(CmsRequestContext context, String resourceName, int deleteOption) throws CmsException { CmsResource resource = null; List resources = (List) new ArrayList(); try { // read the resource resource = readFileHeader(context, resourceName, CmsReso... | 8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/19c5fe9a1e7b32089bfff15faca41564091f4c37/CmsDriverManager.java/buggy/src/org/opencms/db/CmsDriverManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
27283,
2297,
12,
4747,
21426,
819,
16,
514,
9546,
16,
509,
1430,
1895,
13,
1216,
11228,
288,
3639,
7630,
1058,
273,
446,
31,
3639,
987,
2703,
273,
394,
2407,
5621,
3639,
775,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
27283,
2297,
12,
4747,
21426,
819,
16,
514,
9546,
16,
509,
1430,
1895,
13,
1216,
11228,
288,
3639,
7630,
1058,
273,
446,
31,
3639,
987,
2703,
273,
394,
2407,
5621,
3639,
775,
... |
int falseTarget = acquireLabel(); iCodeTop = addGoto(falseTarget, TokenStream.IFNE, iCodeTop); | int falseJumpStart = iCodeTop; iCodeTop = addForwardGoto(TokenStream.IFNE, iCodeTop); | private int generateICode(Node node, int iCodeTop) { int type = node.getType(); Node child = node.getFirstChild(); Node firstChild = child; switch (type) { case TokenStream.FUNCTION : { iCodeTop = addByte(TokenStream.CLOSURE, iCodeTop); No... | 47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/b41bc47f816e88fc74cb209f1323974fbed7be07/Interpreter.java/buggy/js/rhino/src/org/mozilla/javascript/Interpreter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
2103,
45,
1085,
12,
907,
756,
16,
509,
277,
1085,
3401,
13,
288,
3639,
509,
618,
273,
756,
18,
588,
559,
5621,
3639,
2029,
1151,
273,
756,
18,
588,
3759,
1763,
5621,
3639,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
2103,
45,
1085,
12,
907,
756,
16,
509,
277,
1085,
3401,
13,
288,
3639,
509,
618,
273,
756,
18,
588,
559,
5621,
3639,
2029,
1151,
273,
756,
18,
588,
3759,
1763,
5621,
3639,
... |
dialog.setText("c++filt Command"); | dialog.setText(CUIMessages.getString("BinaryParserPage.label.cppfiltCommand")); | public void createControl(Composite parent) { Composite comp = ControlFactory.createCompositeEx(parent, 2, GridData.FILL_HORIZONTAL); ((GridLayout) comp.getLayout()).makeColumnsEqualWidth = false; Label label = ControlFactory.createLabel(comp, CUIMessages.getString("BinaryParserPage.label.addr2lineCommand")); //$NO... | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/c33e846074da1b016f997084928224a7bcd41439/CygwinPEBinaryParserPage.java/clean/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/dialogs/CygwinPEBinaryParserPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
752,
3367,
12,
9400,
982,
13,
288,
202,
202,
9400,
1161,
273,
8888,
1733,
18,
2640,
9400,
424,
12,
2938,
16,
576,
16,
7145,
751,
18,
29818,
67,
44,
20344,
1769,
202,
20... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
752,
3367,
12,
9400,
982,
13,
288,
202,
202,
9400,
1161,
273,
8888,
1733,
18,
2640,
9400,
424,
12,
2938,
16,
576,
16,
7145,
751,
18,
29818,
67,
44,
20344,
1769,
202,
20... |
ITestNGMethod[] beforeMethodsArray = filteredMethods.toArray(new ITestNGMethod[filteredMethods.size()]); invokeConfigurations(testClass, beforeMethodsArray, suite, params, instance); groupMethods.removeBeforeGroups(groups); | private void invokeBeforeGroupsConfigurations(ITestClass testClass, ITestNGMethod tm, ConfigurationGroupMethods groupMethods, XmlSuite suite, Map<String, String> params, Object instance) { List<ITestNGMethod> filteredMethods = new ArrayList<ITestNGMethod>(); String[] groups = tm.getGro... | 46166 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46166/6277313ba72f743074b5132830ccfbab20f1e274/Invoker.java/buggy/src/main/org/testng/internal/Invoker.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
4356,
4649,
3621,
9698,
12,
1285,
395,
797,
1842,
797,
16,
4202,
467,
4709,
4960,
1305,
6118,
16,
4202,
4659,
1114,
4712,
1041,
4712,
16,
4202,
5714,
13587,
11371,
16,
1635,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
4356,
4649,
3621,
9698,
12,
1285,
395,
797,
1842,
797,
16,
4202,
467,
4709,
4960,
1305,
6118,
16,
4202,
4659,
1114,
4712,
1041,
4712,
16,
4202,
5714,
13587,
11371,
16,
1635,
32... | |
PrintWriter out = BagFormatter.openUTF8Writer(directory, filename); out.print('\uFEFF'); out.println("# Recommended confusable mapping for IDN"); out.println("# $Revision: 1.11 $"); out.println("# $Date: 2006/06/09 21:21:20 $"); out.println(""); | PrintWriter out = openAndWriteHeader(filename, "Recommended confusable mapping for IDN"); | public void writeSourceOrder(String directory, String filename, boolean appendFile, boolean skipNFKEquivs) throws IOException { PrintWriter out = BagFormatter.openUTF8Writer(directory, filename); out.print('\uFEFF'); out.println("# Recommended confusable mapping for IDN"); out.println("# $Revision: 1.11 $"); ... | 5620 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5620/690f5c528c854f682553efccd339aa36db4ef909/GenerateConfusables.java/clean/tools/unicodetools/com/ibm/text/UCD/GenerateConfusables.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
1045,
1830,
2448,
12,
780,
1867,
16,
514,
1544,
16,
1250,
714,
812,
16,
1250,
2488,
26473,
6859,
372,
427,
87,
13,
1216,
1860,
288,
1082,
202,
5108,
2289,
596,
273,
3171... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
1045,
1830,
2448,
12,
780,
1867,
16,
514,
1544,
16,
1250,
714,
812,
16,
1250,
2488,
26473,
6859,
372,
427,
87,
13,
1216,
1860,
288,
1082,
202,
5108,
2289,
596,
273,
3171... |
public static ParseImpl read(DataInput in) throws IOException { | public static ParseImpl read(DataInput in, NutchConf nutchConf) throws IOException { | public static ParseImpl read(DataInput in) throws IOException { ParseImpl parseImpl = new ParseImpl(); parseImpl.readFields(in); return parseImpl; } | 1316 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1316/329ff64e9d7295aff108f85e9a8103f5e5f8f398/ParseImpl.java/buggy/src/java/org/apache/nutch/parse/ParseImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
2884,
2828,
855,
12,
751,
1210,
316,
16,
423,
322,
343,
3976,
290,
322,
343,
3976,
13,
1216,
1860,
288,
565,
2884,
2828,
1109,
2828,
273,
394,
2884,
2828,
5621,
565,
1109,
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,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
2884,
2828,
855,
12,
751,
1210,
316,
16,
423,
322,
343,
3976,
290,
322,
343,
3976,
13,
1216,
1860,
288,
565,
2884,
2828,
1109,
2828,
273,
394,
2884,
2828,
5621,
565,
1109,
28... |
} else if(arg.length != 2){ | } else if(arg.length != 2){ | public static void main(String[] arg) { if(arg.length == 1){ if("-h".equals(arg[0]) || "--help".equals(arg[0])){ print(System.out, getHelpText()); System.exit(0); } else if("--colors".equals(arg[0])){ print(System.out, "The colors ... | 58507 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58507/5f7a69a4e14a6887fc9e0c3ece2046718de046d0/ConvertMain.java/buggy/trunk/src/main/java/org/wiztools/xml2spreadsheet/ConvertMain.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
1501,
13,
288,
3639,
309,
12,
3175,
18,
2469,
422,
404,
15329,
5411,
309,
2932,
17,
76,
9654,
14963,
12,
3175,
63,
20,
5717,
747,
5238,
5201,
9654,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2774,
12,
780,
8526,
1501,
13,
288,
3639,
309,
12,
3175,
18,
2469,
422,
404,
15329,
5411,
309,
2932,
17,
76,
9654,
14963,
12,
3175,
63,
20,
5717,
747,
5238,
5201,
9654,
... |
public boolean canModifyEntryState(long id, int newState) throws WorkflowException { | public boolean canModifyEntryState(long id, int newState) { | public boolean canModifyEntryState(long id, int newState) throws WorkflowException { try { return wf.canModifyEntryState(id, newState); } catch (RemoteException e) { log.error("Error checking modifying entry state", e); throw new WorkflowException(e); } } | 7621 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7621/0ca9c1b022c14486a67ae3e20ab6a037851297fe/EJBWorkflow.java/clean/src/java/com/opensymphony/workflow/ejb/EJBWorkflow.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
848,
11047,
1622,
1119,
12,
5748,
612,
16,
509,
15907,
13,
288,
3639,
775,
288,
5411,
327,
11578,
18,
4169,
11047,
1622,
1119,
12,
350,
16,
15907,
1769,
3639,
289,
1044,
261,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
848,
11047,
1622,
1119,
12,
5748,
612,
16,
509,
15907,
13,
288,
3639,
775,
288,
5411,
327,
11578,
18,
4169,
11047,
1622,
1119,
12,
350,
16,
15907,
1769,
3639,
289,
1044,
261,
... |
attributesComposite.setBackground(background); | protected void createAttributeLayout() { String title = getTitleString(); String keywords = ""; String url = ""; // Attributes Composite- this holds all the combo fiels and text fields Composite attributesComposite = new Composite(infoArea, SWT.NONE); GridLayout attributesLayout = new GridLayout(); attributesLa... | 51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/1243f8693fe3d83fec6d687b2ea7a6dfb8f77388/AbstractBugEditor.java/clean/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/AbstractBugEditor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
752,
1499,
3744,
1435,
288,
202,
202,
780,
2077,
273,
10786,
780,
5621,
202,
202,
780,
7093,
273,
1408,
31,
202,
202,
780,
880,
273,
1408,
31,
202,
202,
759,
9055,
14728... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
752,
1499,
3744,
1435,
288,
202,
202,
780,
2077,
273,
10786,
780,
5621,
202,
202,
780,
7093,
273,
1408,
31,
202,
202,
780,
880,
273,
1408,
31,
202,
202,
759,
9055,
14728... | |
return symbolIndent; | return symbolIndent; | public float listIndent() { return symbolIndent; } | 3011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3011/6288f051b807f9da0a0f308a00b5851da285b8fb/PdfLine.java/buggy/itext/src/com/lowagie/text/pdf/PdfLine.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1431,
666,
7790,
1435,
288,
3639,
327,
3273,
7790,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1431,
666,
7790,
1435,
288,
3639,
327,
3273,
7790,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
if(currentChart != null) | if (currentChart != null) | public Chart getModel(String sSubType, Orientation orientation, String sDimension, Chart currentChart) { ChartWithAxes newChart = null; if(currentChart != null) { newChart = (ChartWithAxes) getConvertedChart(currentChart, sSubType, orientation, sDimension); if(newChart ... | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/33aaa1a97f4ae29f5607eeb332deeff2384cc2e3/LineChart.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/type/LineChart.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
14804,
7454,
12,
780,
272,
30511,
16,
531,
12556,
9820,
16,
514,
272,
8611,
16,
14804,
783,
7984,
13,
565,
288,
3639,
14804,
1190,
26494,
394,
7984,
273,
446,
31,
3639,
309,
261,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
14804,
7454,
12,
780,
272,
30511,
16,
531,
12556,
9820,
16,
514,
272,
8611,
16,
14804,
783,
7984,
13,
565,
288,
3639,
14804,
1190,
26494,
394,
7984,
273,
446,
31,
3639,
309,
261,
... |
public void setMessage(String newMessage) { setMessage(newMessage, null); | public void setMessage(String newMessage, int newType) { super.setMessage(newMessage, newType); if (isCurrentPage()) getContainer().updateMessage(); | public void setMessage(String newMessage) { setMessage(newMessage, null);} | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/a32ea1219bf762f0f808c062a7a180abb39b5c3b/WizardPage.java/buggy/bundles/org.eclipse.ui/Eclipse JFace/org/eclipse/jface/wizard/WizardPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
15227,
12,
780,
394,
1079,
13,
288,
202,
542,
1079,
12,
2704,
1079,
16,
446,
1769,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
15227,
12,
780,
394,
1079,
13,
288,
202,
542,
1079,
12,
2704,
1079,
16,
446,
1769,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
if (allFields.isSelected()) props.setProperty("xtfr.allFields","true"); else props.remove("xtfr.allFields"); | if (allFields.isSelected()) props.setProperty("xtfr.allFields", "true"); else props.remove("xtfr.allFields"); | private void saveXTFRFields() { SessionConfig config = session.getConfiguration(); Properties props = config.getProperties(); if (hostFile.getText().trim().length() > 0) props.setProperty("xtfr.fileName",hostFile.getText().trim()); else props.remove("xtfr.fileName"); if (user... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/6a23de0d5ab12f72eb326ce880d79c3f8f62a42f/XTFRFile.java/buggy/tn5250j/src/org/tn5250j/tools/XTFRFile.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
918,
1923,
3983,
9981,
2314,
1435,
288,
1377,
3877,
809,
642,
273,
1339,
18,
588,
1750,
5621,
1377,
6183,
3458,
273,
642,
18,
588,
2297,
5621,
1377,
309,
261,
2564,
812,
18,
588,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
918,
1923,
3983,
9981,
2314,
1435,
288,
1377,
3877,
809,
642,
273,
1339,
18,
588,
1750,
5621,
1377,
6183,
3458,
273,
642,
18,
588,
2297,
5621,
1377,
309,
261,
2564,
812,
18,
588,
... |
/* * else{ theReturn = "VARCHAR("+maxlength+")"; } */ | else if (maxlength<=4000){ theReturn = "VARCHAR("+maxlength+")"; } | public String getSQLType(String javaClassName, int maxlength) { String theReturn; if (javaClassName.equals("java.lang.Integer")) { theReturn = "INTEGER"; } else if (javaClassName.equals("java.lang.String")) { if (maxlength < 0) { theReturn = "VARCHAR(255)"; } //else if (maxlength<=4000){ /* * else{ ... | 52001 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52001/cdfdb910a863c680efbcab8a069b336753657707/HSQLDatastoreInterface.java/buggy/src/java/com/idega/data/HSQLDatastoreInterface.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
21708,
559,
12,
780,
2252,
3834,
16,
509,
943,
2469,
13,
288,
202,
202,
780,
326,
990,
31,
202,
202,
430,
261,
6290,
3834,
18,
14963,
2932,
6290,
18,
4936,
18,
4522,
6,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
21708,
559,
12,
780,
2252,
3834,
16,
509,
943,
2469,
13,
288,
202,
202,
780,
326,
990,
31,
202,
202,
430,
261,
6290,
3834,
18,
14963,
2932,
6290,
18,
4936,
18,
4522,
6,... |
public XSListODMG30(XSType contentType) { super(contentType); | public XSListODMG30(XSType contentType, final boolean useJava50) { super(contentType, useJava50); | public XSListODMG30(XSType contentType) { super(contentType); this.contentType = contentType; } //-- XSListODMG30 | 3614 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3614/44087e16fa464906abff19b2390830195c60355f/XSListODMG30.java/buggy/castor/trunk/src/main/java/org/exolab/castor/builder/types/XSListODMG30.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1139,
55,
682,
1212,
49,
43,
5082,
12,
60,
55,
559,
5064,
13,
288,
3639,
2240,
12,
22194,
1769,
3639,
333,
18,
22194,
273,
5064,
31,
565,
289,
368,
413,
1139,
55,
682,
1212,
49,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1139,
55,
682,
1212,
49,
43,
5082,
12,
60,
55,
559,
5064,
13,
288,
3639,
2240,
12,
22194,
1769,
3639,
333,
18,
22194,
273,
5064,
31,
565,
289,
368,
413,
1139,
55,
682,
1212,
49,... |
public static Object jsFunction_unshift(Context cx, Scriptable thisObj, Object[] args, Function funOjb) | private static Object jsFunction_unshift(Context cx, Scriptable thisObj, Object[] args) | public static Object jsFunction_unshift(Context cx, Scriptable thisObj, Object[] args, Function funOjb) { Object result; double length = (double)getLengthProperty(thisObj); int argc = args.length; if (args.length > 0) { /* Slide u... | 51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/b6331020dcf96bb85dae57ee2a2ce947b6b0477a/NativeArray.java/buggy/js/rhino/src/org/mozilla/javascript/NativeArray.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1033,
3828,
2083,
67,
13858,
12,
1042,
9494,
16,
22780,
15261,
16,
4766,
5411,
1033,
8526,
833,
16,
4284,
9831,
51,
10649,
13,
565,
288,
3639,
1033,
563,
31,
3639,
1645,
769,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3828,
2083,
67,
13858,
12,
1042,
9494,
16,
22780,
15261,
16,
4766,
5411,
1033,
8526,
833,
16,
4284,
9831,
51,
10649,
13,
565,
288,
3639,
1033,
563,
31,
3639,
1645,
769,
... |
if (buffer[offset] == c) { offset++; return true; | for (;;) { if (end == offset && !fill()) return false; int c = buffer[offset]; if (test == c) { ++offset; return true; } if (c < 128 || !formatChar(c)) { return false; } skipFormatChar(); | boolean match(char c) throws IOException { if (end == offset && !fill()) return false; // This'd be a place where we'd need to map '\r' to '\n' and // do other updates, but TokenStream never looks ahead for // '\n', so we don't bother. if (buffer[offset] == c) { ... | 13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/b5141d614d4ae3c0a7455df83312be1a30e1b2e6/LineBuffer.java/clean/js/rhino/src/org/mozilla/javascript/LineBuffer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1250,
845,
12,
3001,
276,
13,
1216,
1860,
288,
3639,
309,
261,
409,
422,
1384,
597,
401,
5935,
10756,
5411,
327,
629,
31,
3639,
368,
1220,
14271,
506,
279,
3166,
1625,
732,
14271,
1608,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1250,
845,
12,
3001,
276,
13,
1216,
1860,
288,
3639,
309,
261,
409,
422,
1384,
597,
401,
5935,
10756,
5411,
327,
629,
31,
3639,
368,
1220,
14271,
506,
279,
3166,
1625,
732,
14271,
1608,
... |
logger.info (this.getName() + " building dtmHH object for mandatory dc."); | logger.info (this.getName() + " building dtmHH object for joint dc fro PINDEX=" + processorIndex); | private int respondToMessage (Message msg) { int returnValue=0; if ( msg.getSender().equals( modelServer ) ) { if (msg.getId().equals(MessageID.START_INFO)) { //propertyMap = (HashMap)msg.getValue( MessageID.PROPERTY_MAP_KEY ); zdm = (ZonalDataManager)msg.getValue( MessageID.ZONAL_DATA_MANAGER_KEY ); tdm ... | 1120 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1120/498d5b6501a2b5bac85c6de7e787aa102ba817b3/JointDTMWorker.java/clean/src/java/com/pb/morpc/daf/JointDTMWorker.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
509,
6846,
774,
1079,
261,
1079,
1234,
13,
288,
202,
202,
474,
7750,
33,
20,
31,
202,
202,
430,
261,
1234,
18,
588,
12021,
7675,
14963,
12,
938,
2081,
262,
262,
288,
1082,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
509,
6846,
774,
1079,
261,
1079,
1234,
13,
288,
202,
202,
474,
7750,
33,
20,
31,
202,
202,
430,
261,
1234,
18,
588,
12021,
7675,
14963,
12,
938,
2081,
262,
262,
288,
1082,
... |
catch (IOException io) { io.printStackTrace(); } | catch (IOException io) { } | @Test public void testByteArrayDimensions() { boolean success = true; try { int imageCount = reader.getImageCount(currentFile); int sizeX = reader.getSizeX(currentFile); int sizeY = reader.getSizeY(currentFile); int bytesPerPixel = FormatReader.getBytesPerPixel(reader.getPixelType(cu... | 46826 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46826/099f018499f749c51c5b9b2e744efa18eb5b8045/ReaderTest.java/clean/loci/formats/test/ReaderTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
632,
4709,
1071,
918,
1842,
8826,
10796,
1435,
288,
565,
1250,
2216,
273,
638,
31,
565,
775,
288,
1377,
509,
1316,
1380,
273,
2949,
18,
588,
2040,
1380,
12,
2972,
812,
1769,
1377,
509,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
632,
4709,
1071,
918,
1842,
8826,
10796,
1435,
288,
565,
1250,
2216,
273,
638,
31,
565,
775,
288,
1377,
509,
1316,
1380,
273,
2949,
18,
588,
2040,
1380,
12,
2972,
812,
1769,
1377,
509,
... |
out("Reprocessing combining marks"); | if (DEBUG) System.out.println("Reprocessing combining marks"); | private char nextCompose() { out("--------------- top of nextCompose() --------------------"); int explodePos = EMPTY; // Position in input buffer int basePos = 0; // Position of last base in output string int baseIndex = 0; // Index of ... | 5620 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5620/df9c62a61e6f121a728eded18f1b2d41b388e77e/Normalizer.java/clean/icu4j/src/com/ibm/text/Normalizer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1149,
1024,
22375,
1435,
565,
288,
3639,
596,
2932,
18753,
1760,
434,
1024,
22375,
1435,
12146,
6062,
8863,
3639,
509,
377,
3172,
1616,
273,
8984,
31,
540,
368,
11010,
316,
810,
1613,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1149,
1024,
22375,
1435,
565,
288,
3639,
596,
2932,
18753,
1760,
434,
1024,
22375,
1435,
12146,
6062,
8863,
3639,
509,
377,
3172,
1616,
273,
8984,
31,
540,
368,
11010,
316,
810,
1613,... |
case Id_equalsIgnoreCase: return wrap_boolean( jsFunction_equalsIgnoreCase(ScriptRuntime.toString(thisObj), ScriptRuntime.toString(args, 0))); | case Id_match: return jsFunction_match(cx, thisObj, args, f); | public Object execMethod (int methodId, IdFunction f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) throws JavaScriptException { switch (methodId) { case ConstructorId_fromCharCode: return jsStaticFunction_fromCharCode(args); case Id_constr... | 12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/d4a0073458f57af07bf530855ff31413fb1b18b0/NativeString.java/clean/js/rhino/src/org/mozilla/javascript/NativeString.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1196,
1305,
3639,
261,
474,
707,
548,
16,
3124,
2083,
284,
16,
540,
1772,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
1033,
8526,
833,
13,
3639,
1216,
11905,
503,
565,
288,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1196,
1305,
3639,
261,
474,
707,
548,
16,
3124,
2083,
284,
16,
540,
1772,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
1033,
8526,
833,
13,
3639,
1216,
11905,
503,
565,
288,
... |
/* Find the hand the card is to be removed from. */ hand = this.players[p].hand; | /* Find the hand the card is to be removed from. */ hand = this.players[p].hand; | private void handle_msg_play() throws IOException { int p, card_pos; Card card; ArrayList hand; /* Read the card being played. */ p = fd_in.read_seat(); card = fd_in.read_card(); /* * Place the card on the table. Note, this contradicts what the table * code does, since that runs animation that may assume th... | 45800 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45800/44e587940db5385974fd6a597a51d634a1b2ab34/Client.java/clean/java/src/ggz/cards/client/Client.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1640,
67,
3576,
67,
1601,
1435,
1216,
1860,
288,
202,
202,
474,
293,
16,
5270,
67,
917,
31,
202,
202,
6415,
5270,
31,
202,
202,
19558,
948,
31,
202,
202,
20308,
2720,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1640,
67,
3576,
67,
1601,
1435,
1216,
1860,
288,
202,
202,
474,
293,
16,
5270,
67,
917,
31,
202,
202,
6415,
5270,
31,
202,
202,
19558,
948,
31,
202,
202,
20308,
2720,
... |
throw new SchemaDateTimeException ("Not valid date"); | throw new SchemaDateTimeException ("Not valid date: "+str); | protected int[] parse(String str, int[] date) throws SchemaDateTimeException{ resetBuffer(str); //create structure to hold an object if ( date == null ) { date = new int[TOTAL_SIZE]; } resetDateObj(date); // check for preceding '-' sign if (fBuffer.charAt(... | 46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/06d4f5296aaec58f8711338d163ecb3457110c29/YearDatatypeValidator.java/clean/src/org/apache/xerces/validators/datatype/YearDatatypeValidator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
509,
8526,
1109,
12,
780,
609,
16,
509,
8526,
1509,
13,
1216,
4611,
5096,
503,
95,
3639,
2715,
1892,
12,
701,
1769,
3639,
368,
2640,
3695,
358,
6887,
392,
733,
3639,
309,
261,
150... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8526,
1109,
12,
780,
609,
16,
509,
8526,
1509,
13,
1216,
4611,
5096,
503,
95,
3639,
2715,
1892,
12,
701,
1769,
3639,
368,
2640,
3695,
358,
6887,
392,
733,
3639,
309,
261,
150... |
public EllipticCurve(ECField field, BigInteger a, BigInteger b, byte[] seed) { this.field = field; if (this.field == null) { throw new NullPointerException("the field parameter is null"); } this.a = a; if (this.a == null) { throw new NullPointerExc... | 54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/1960ee8229f94b048e67f1fb9faeb372cb91dbe3/EllipticCurve.java/clean/modules/security/src/main/java/common/java/security/spec/EllipticCurve.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
10426,
549,
21507,
9423,
12,
7228,
974,
652,
16,
10246,
279,
16,
5411,
10246,
324,
16,
1160,
8526,
5009,
13,
288,
3639,
333,
18,
1518,
273,
652,
31,
3639,
309,
261,
2211,
18,
1518... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10426,
549,
21507,
9423,
12,
7228,
974,
652,
16,
10246,
279,
16,
5411,
10246,
324,
16,
1160,
8526,
5009,
13,
288,
3639,
333,
18,
1518,
273,
652,
31,
3639,
309,
261,
2211,
18,
1518... | ||
public void initIO () { streamOutput = output; } | public void init () { add (new Filter () { int x; Channel output = new Channel (Integer.TYPE, 1); /* push */ public void init() { this.x = 0; } public void initIO () { streamOutput = output; ... | 5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/7fb0c81c3f373d1f02294caef5a1cac237d8c238/HelloWorld6.java/clean/streams/apps/examples/hello/HelloWorld6.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1208,
1832,
565,
288,
3639,
527,
261,
2704,
4008,
1832,
3639,
288,
5411,
509,
619,
31,
5411,
5307,
876,
273,
394,
5307,
261,
4522,
18,
2399,
16,
404,
1769,
565,
1748,
1817,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1208,
1832,
565,
288,
3639,
527,
261,
2704,
4008,
1832,
3639,
288,
5411,
509,
619,
31,
5411,
5307,
876,
273,
394,
5307,
261,
4522,
18,
2399,
16,
404,
1769,
565,
1748,
1817,
1... | |
survey.setStartDate(Transformer.getCalendarFromString(sform.getStartDate())); survey.setFinishDate(Transformer.getCalendarFromString(sform.getEndDate())); | survey.setStartDate(Transformer.getCalendarFromString(sform .getStartDate())); survey.setFinishDate(Transformer.getCalendarFromString(sform .getEndDate())); | public void updatePersistedSurvey(HttpServletRequest request, SurveyForm sform){ Survey survey; HttpSession session = request.getSession(); if(sform.getSectionName()!=null && !sform.getSectionName().equals("")) survey = addSectionToSurvey(request, sform); else { survey = (Survey) session.getAttribute("currentS... | 54385 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54385/1987aafdf9f6e92293bee44cf33ba906d200af2c/SurveyWebComponent.java/buggy/survey/src/java/ar/com/survey/web/component/SurveyWebComponent.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1089,
12771,
329,
22165,
12,
2940,
18572,
590,
16,
16680,
9062,
1204,
272,
687,
15329,
202,
202,
22165,
14902,
31,
202,
202,
2940,
2157,
1339,
273,
590,
18,
588,
2157,
5621... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1089,
12771,
329,
22165,
12,
2940,
18572,
590,
16,
16680,
9062,
1204,
272,
687,
15329,
202,
202,
22165,
14902,
31,
202,
202,
2940,
2157,
1339,
273,
590,
18,
588,
2157,
5621... |
void uninstallListeners() | protected void uninstallListeners() | void uninstallListeners() { list.removeFocusListener(focusListener); list.getModel().removeListDataListener(listDataListener); list.removeListSelectionListener(listSelectionListener); list.removeMouseListener(mouseInputListener); list.removeMouseMotionListener(mouseInputListener); list.removeProper... | 45163 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45163/7878167de36c868f3f4b0f507094bb155efbb199/BasicListUI.java/buggy/libjava/javax/swing/plaf/basic/BasicListUI.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
918,
16577,
5583,
1435,
225,
288,
565,
666,
18,
4479,
9233,
2223,
12,
13923,
2223,
1769,
565,
666,
18,
588,
1488,
7675,
4479,
682,
751,
2223,
12,
1098,
751,
2223,
1769,
565,
666,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
16577,
5583,
1435,
225,
288,
565,
666,
18,
4479,
9233,
2223,
12,
13923,
2223,
1769,
565,
666,
18,
588,
1488,
7675,
4479,
682,
751,
2223,
12,
1098,
751,
2223,
1769,
565,
666,
... |
if (previous != null && previous.getDegreeOfInterest() != null) previousInterest = previous.getDegreeOfInterest().getValue(); | if (previous != null && previous.getInterest() != null) previousInterest = previous.getInterest().getValue(); | private void propegateDoiToParents(IMylarElement node, float previousInterest, float decayOffset, int level, List<IMylarElement> elementDelta) { if (level > MAX_PROPAGATION || node == null || node.getDegreeOfInterest().getValue() <= 0) return;// || "/".equals(node.getElementHandle())) return; ... | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/3de551576cd45b220ad7744a1ad0804a812b93d4/MylarContextManager.java/clean/org.eclipse.mylyn.context.core/src/org/eclipse/mylyn/core/internal/MylarContextManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
450,
9001,
340,
3244,
77,
774,
13733,
12,
3445,
93,
7901,
1046,
756,
16,
1431,
2416,
29281,
16,
1431,
22286,
2335,
16,
509,
1801,
16,
987,
32,
3445,
93,
7901,
1046,
34,
930,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
450,
9001,
340,
3244,
77,
774,
13733,
12,
3445,
93,
7901,
1046,
756,
16,
1431,
2416,
29281,
16,
1431,
22286,
2335,
16,
509,
1801,
16,
987,
32,
3445,
93,
7901,
1046,
34,
930,
... |
String underlineValue = underline.getSelection( ) ? DesignChoiceConstants.TEXT_UNDERLINE_UNDERLINE | String underlineValue = underline.getSelection( ) ? DesignChoiceConstants.TEXT_UNDERLINE_UNDERLINE | protected void okPressed( ) { try { String familyValue = getRawFontFamily( ); String sizeValue = getRawFontSize( ); int colorValue = DEUtil.getRGBInt( color.getRGB( ) ); int backColorValue = DEUtil.getRGBInt( backColor.getRGB( ) ); String italicValue = italic.getSelection( ) ? DesignChoiceConstants.FONT_ST... | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/e2b6eafcb11806e8cec2333182f81de479004998/HighlightRuleBuilder.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/HighlightRuleBuilder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1529,
24624,
12,
262,
202,
95,
202,
202,
698,
202,
202,
95,
1082,
202,
780,
6755,
620,
273,
10547,
5711,
9203,
12,
11272,
1082,
202,
780,
963,
620,
273,
10547,
22688,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1529,
24624,
12,
262,
202,
95,
202,
202,
698,
202,
202,
95,
1082,
202,
780,
6755,
620,
273,
10547,
5711,
9203,
12,
11272,
1082,
202,
780,
963,
620,
273,
10547,
22688,
12... |
TemplateSet.getInstance().add(template); | fTemplates.add(template); | private void add() { Template template= new Template(); template.setContext(TemplateContext.JAVA); //$NON-NLS-1$ EditTemplateDialog dialog= new EditTemplateDialog(getShell(), template, false); if (dialog.open() == dialog.OK) { TemplateSet.getInstance().add(template); fTableViewer.refresh(); fTableViewer.setC... | 9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/2c833e5d9fc0d97e03e635e4f014fbc5ac1b426b/TemplatePreferencePage.java/clean/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
527,
1435,
288,
202,
202,
2283,
1542,
33,
394,
5035,
5621,
202,
202,
3202,
18,
542,
1042,
12,
2283,
1042,
18,
27264,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
527,
1435,
288,
202,
202,
2283,
1542,
33,
394,
5035,
5621,
202,
202,
3202,
18,
542,
1042,
12,
2283,
1042,
18,
27264,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
202,
202,
4... |
} | } | public CharSpan(int lo,int hi,String type, String docID) { this.lo=lo; this.hi=hi; this.type = type; this.docID=docID; } | 51753 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51753/e6f5547ded82a315c0b8bcee96ff61710888c5a2/TextBaseLoader.java/clean/src/edu/cmu/minorthird/text/TextBaseLoader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3703,
6952,
12,
474,
437,
16,
474,
10118,
16,
780,
618,
16,
514,
997,
734,
13,
288,
202,
565,
333,
18,
383,
33,
383,
31,
333,
18,
12266,
33,
12266,
31,
333,
18,
723,
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,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3703,
6952,
12,
474,
437,
16,
474,
10118,
16,
780,
618,
16,
514,
997,
734,
13,
288,
202,
565,
333,
18,
383,
33,
383,
31,
333,
18,
12266,
33,
12266,
31,
333,
18,
723,
273,
... |
Rectangle rect = new Rectangle( 0, 0, clippedBounds.height, | Rectangle rect = new Rectangle( 0, 0, clippedBounds.height, | protected void paintFigure( Graphics graphics ) { //set /* * @TODO:Pratik maybe you can break this method into a few methods. that * might make it a little easier to read and understand. plus, * sub-classes could customize certain parts. */ setIntervalForPaint( ); double dotsPerUnit = getDPU( ); Rectangle... | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/61cce071e25248ce85d293e05344845aab740350/EditorRulerFigure.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/rulers/EditorRulerFigure.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
12574,
42,
15906,
12,
16830,
17313,
262,
202,
95,
202,
202,
759,
542,
202,
202,
20308,
1082,
380,
632,
6241,
30,
2050,
270,
1766,
6944,
1846,
848,
898,
333,
707,
1368,
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,
1117,
918,
12574,
42,
15906,
12,
16830,
17313,
262,
202,
95,
202,
202,
759,
542,
202,
202,
20308,
1082,
380,
632,
6241,
30,
2050,
270,
1766,
6944,
1846,
848,
898,
333,
707,
1368,
2... |
private final int addString(String str, int iCodeTop) | private int addString(String str, int iCodeTop) | private final int addString(String str, int iCodeTop) { int index = itsData.itsStringTableIndex; if (itsData.itsStringTable.length == index) { String[] sa = new String[index * 2]; System.arraycopy(itsData.itsStringTable, 0, sa, 0, index); itsData.itsStringTable = sa... | 12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/7f850f6162d49fce5f2a418eb4b32ba1cf9d58bf/Interpreter.java/buggy/src/org/mozilla/javascript/Interpreter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
527,
780,
12,
780,
609,
16,
509,
277,
1085,
3401,
13,
565,
288,
3639,
509,
770,
273,
2097,
751,
18,
1282,
780,
1388,
1016,
31,
3639,
309,
261,
1282,
751,
18,
1282,
780,
138... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
527,
780,
12,
780,
609,
16,
509,
277,
1085,
3401,
13,
565,
288,
3639,
509,
770,
273,
2097,
751,
18,
1282,
780,
1388,
1016,
31,
3639,
309,
261,
1282,
751,
18,
1282,
780,
138... |
return lm.swapsRejectedRecognizedID; | return LocationManager.swapsRejectedRecognizedID; | public int getSwapsRejectedRecognizedID() { return lm.swapsRejectedRecognizedID; } | 56348 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56348/f79658a86e4a0f06462206ea41312edb9ae1f465/Node.java/buggy/src/freenet/node/Node.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
1322,
91,
6679,
19902,
5650,
9367,
734,
1435,
288,
202,
202,
2463,
14966,
18,
5328,
6679,
19902,
5650,
9367,
734,
31,
202,
97,
2,
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,
509,
1322,
91,
6679,
19902,
5650,
9367,
734,
1435,
288,
202,
202,
2463,
14966,
18,
5328,
6679,
19902,
5650,
9367,
734,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
public static char getCombiningChar(char c, char d) { switch (c) { case 0x0300 : switch (d) { case 0x0041 : return 0x00C0; case 0x0045 : return 0x00C8; case 0x0049 : return 0x00CC; case 0x004F : ... | 5019 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5019/5a70bb5e1a663b495a4eb352ec7c7510a3bfc2f1/Unicode.java/buggy/src/org/marc4j/util/Unicode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
3845,
343,
826,
24107,
310,
2156,
12,
3001,
71,
16,
343,
1060,
15329,
202,
9610,
12,
71,
15329,
3593,
20,
92,
4630,
713,
30,
9610,
12,
72,
15329,
3593,
20,
92,
713,
9803,
30,
2463,
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,
1071,
3845,
343,
826,
24107,
310,
2156,
12,
3001,
71,
16,
343,
1060,
15329,
202,
9610,
12,
71,
15329,
3593,
20,
92,
4630,
713,
30,
9610,
12,
72,
15329,
3593,
20,
92,
713,
9803,
30,
2463,
2... | ||
return getInputStream(); | return ch.getContent(this); | public Object getContent() throws IOException { if (!connected) connect(); // FIXME: Doc indicates that other criteria should be applied as // heuristics to determine the true content type, e.g. see // guessContentTypeFromName() and guessContentTypeFromStream methods // as well as FileNameMap cl... | 25337 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25337/2a81deb9769ceea4775c22641c27bc9bc5399c18/URLConnection.java/buggy/libjava/java/net/URLConnection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1033,
5154,
1435,
1216,
1860,
225,
288,
565,
309,
16051,
8537,
13,
1377,
3077,
5621,
565,
368,
9852,
30,
3521,
8527,
716,
1308,
3582,
1410,
506,
6754,
487,
565,
368,
3904,
295,
4287... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1033,
5154,
1435,
1216,
1860,
225,
288,
565,
309,
16051,
8537,
13,
1377,
3077,
5621,
565,
368,
9852,
30,
3521,
8527,
716,
1308,
3582,
1410,
506,
6754,
487,
565,
368,
3904,
295,
4287... |
assertQueryEquals("field:the -y", "-y"); | assertQueryEquals("field:the -y", "field:the -y"); assertQueryEquals("\"the y\"", "\"the y\""); | public void testParseQuery() throws Exception { //simple tests assertQueryEquals("x", "x"); assertQueryEquals("X", "x"); assertQueryEquals("+x", "x"); assertQueryEquals("-x", "-x"); assertQueryEquals("x y", "x y"); assertQueryEquals(" x y ", "x y"); assertQueryEquals("test +", "test"); // ... | 57484 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57484/0de9cbb52b5f216a10307e881a96d4a6271a9e0e/TestQueryParser.java/clean/src/test/org/apache/nutch/analysis/TestQueryParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1842,
3201,
1138,
1435,
1216,
1185,
288,
565,
368,
9647,
7434,
565,
1815,
1138,
8867,
2932,
92,
3113,
315,
92,
8863,
565,
1815,
1138,
8867,
2932,
60,
3113,
315,
92,
8863,
565,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1842,
3201,
1138,
1435,
1216,
1185,
288,
565,
368,
9647,
7434,
565,
1815,
1138,
8867,
2932,
92,
3113,
315,
92,
8863,
565,
1815,
1138,
8867,
2932,
60,
3113,
315,
92,
8863,
565,
... |
} | } | public void add(Method method) { String methodName = method.getName(); List l = (List) methodByNameMap.get( methodName ); if ( l == null) { l = new ArrayList(); methodByNameMap.put(methodName, l); } l.add(method); return; } | 9291 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9291/37d89f07fbf3f42538c188dceaf622063b2531dd/MethodMap.java/clean/src/java/org/apache/velocity/util/introspection/MethodMap.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
527,
12,
1305,
707,
13,
565,
288,
3639,
514,
4918,
273,
707,
18,
17994,
5621,
3639,
987,
328,
273,
261,
682,
13,
707,
5911,
863,
18,
588,
12,
4918,
11272,
3639,
309,
261,
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,
918,
527,
12,
1305,
707,
13,
565,
288,
3639,
514,
4918,
273,
707,
18,
17994,
5621,
3639,
987,
328,
273,
261,
682,
13,
707,
5911,
863,
18,
588,
12,
4918,
11272,
3639,
309,
261,
3... |
String[] errExpected = new String[]{"cvc-attribute"}; | String[] errExpected = new String[]{ XmlErrorCodes.DATATYPE_VALID$UNION}; | public void testUnionType() throws Throwable { UnionEltDocument doc = UnionEltDocument.Factory.newInstance(); assertEquals(null, doc.getUnionElt()); doc.setUnionElt("small"); try { assertTrue(doc.validate(validateOptions)); } catch (Throwable t) { show... | 3520 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3520/a3544b33c277dec96499dfa1bafa85ae3e81cb9d/UnionType.java/clean/v2/test/src/scomp/contentType/simple/detailed/UnionType.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
14325,
559,
1435,
1216,
4206,
288,
3639,
9589,
15899,
2519,
997,
273,
9589,
15899,
2519,
18,
1733,
18,
2704,
1442,
5621,
3639,
1815,
8867,
12,
2011,
16,
997,
18,
588,
143... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14325,
559,
1435,
1216,
4206,
288,
3639,
9589,
15899,
2519,
997,
273,
9589,
15899,
2519,
18,
1733,
18,
2704,
1442,
5621,
3639,
1815,
8867,
12,
2011,
16,
997,
18,
588,
143... |
DatanodeInfo[] chooseTargets(int desiredReplicates, TreeSet forbiddenNodes) { | DatanodeInfo[] chooseTargets(int desiredReplicates, TreeSet forbiddenNodes, UTF8 clientMachine) { | DatanodeInfo[] chooseTargets(int desiredReplicates, TreeSet forbiddenNodes) { TreeSet alreadyChosen = new TreeSet(); Vector targets = new Vector(); for (int i = 0; i < desiredReplicates; i++) { DatanodeInfo target = chooseTarget(forbiddenNodes, alreadyChosen); if (target !... | 50370 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50370/9068db10336ebb26576213d8fc57590c6deea873/FSNamesystem.java/buggy/src/java/org/apache/hadoop/dfs/FSNamesystem.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
26739,
966,
8526,
9876,
9432,
12,
474,
6049,
426,
1780,
815,
16,
19461,
17987,
3205,
16,
6380,
28,
1004,
6981,
13,
288,
3639,
19461,
1818,
782,
8918,
273,
394,
19461,
5621,
3639,
5589,
57... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
26739,
966,
8526,
9876,
9432,
12,
474,
6049,
426,
1780,
815,
16,
19461,
17987,
3205,
16,
6380,
28,
1004,
6981,
13,
288,
3639,
19461,
1818,
782,
8918,
273,
394,
19461,
5621,
3639,
5589,
57... |
newDescription = IDEWorkbenchPlugin.getPluginWorkspace() .loadProjectDescription(path); | if (isDefaultLocation(path)) { projectName = path.segment(path.segmentCount()-2); newDescription = IDEWorkbenchPlugin.getPluginWorkspace().newProjectDescription(projectName); } else { newDescription = IDEWorkbenchPlugin.getPluginWorkspace() .loadProjectDescription(path); } | private void setProjectName() { IProjectDescription newDescription = null; try { if (projectArchiveFile != null) { InputStream stream = provider .getContents(projectArchiveFile); if (stream != null){ newDescription = IDEWorkbenchPlugin.getPluginWorkspace() .loadProjectDescription(stre... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/97e4630ace175097291bf5a8da7d3fb12e25957f/WizardProjectsImportPage.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/wizards/datatransfer/WizardProjectsImportPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
1152,
918,
25323,
461,
1435,
288,
1082,
202,
45,
4109,
3291,
394,
3291,
273,
446,
31,
1082,
202,
698,
288,
9506,
202,
430,
261,
4406,
7465,
812,
480,
446,
13,
288,
6862,
202,
4348... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
1152,
918,
25323,
461,
1435,
288,
1082,
202,
45,
4109,
3291,
394,
3291,
273,
446,
31,
1082,
202,
698,
288,
9506,
202,
430,
261,
4406,
7465,
812,
480,
446,
13,
288,
6862,
202,
4348... |
throw new MessageInvalidException(ProtocolErrorMessage.INTERNAL_ERROR, "Internal error: could not allocate temp bucket: "+e.toString(), identifier); | throw new MessageInvalidException(ProtocolErrorMessage.INTERNAL_ERROR, "Internal error: could not allocate temp bucket: "+e.toString(), identifier, global); | public DirectDirPutFile(SimpleFieldSet subset, String identifier, BucketFactory bf) throws MessageInvalidException { super(subset, identifier); String s = subset.get("DataLength"); if(s == null) throw new MessageInvalidException(ProtocolErrorMessage.MISSING_FIELD, "UploadFrom=direct requires a DataLength for "+na... | 48807 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48807/bbb3c23ec38ea1c7abb48040a17f5fc7932248bc/DirectDirPutFile.java/clean/src/freenet/node/fcp/DirectDirPutFile.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
9908,
1621,
6426,
812,
12,
5784,
974,
694,
7931,
16,
514,
2756,
16,
7408,
1733,
16222,
13,
1216,
2350,
1941,
503,
288,
202,
202,
9565,
12,
15657,
16,
2756,
1769,
202,
202,
780... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9908,
1621,
6426,
812,
12,
5784,
974,
694,
7931,
16,
514,
2756,
16,
7408,
1733,
16222,
13,
1216,
2350,
1941,
503,
288,
202,
202,
9565,
12,
15657,
16,
2756,
1769,
202,
202,
780... |
private int calculateRemaining() { //the number of times this filter fires in the initialization //schedule int initFire = initMult; //if this is not a twostage, fake it by adding to initFire, //so we always think the preWork is called //if (!(filter instanceof SIRTwoStageFilter)) if(!filter.isTwoStage()) i... | 47772 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47772/06d527d00e9dadd89c6688c4b11ba6083f76c9bb/FilterInfo.java/clean/streams/src/at/dms/kjc/spacetime/FilterInfo.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
474,
11162,
11429,
1435,
95,
202,
759,
15991,
1226,
4401,
381,
395,
76,
291,
2188,
74,
2814,
267,
5787,
6769,
1588,
202,
759,
10676,
202,
474,
2738,
9723,
33,
2738,
5049,
31,
202,
759,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
474,
11162,
11429,
1435,
95,
202,
759,
15991,
1226,
4401,
381,
395,
76,
291,
2188,
74,
2814,
267,
5787,
6769,
1588,
202,
759,
10676,
202,
474,
2738,
9723,
33,
2738,
5049,
31,
202,
759,
... | ||
for ( int row = 0; row < height; ++row ) { int rowOffset = row * width; for ( int col = 0; col < width; ++col ) { | for (int row = 0; row < height; ++row) { for (int col = 0; col < width; ++col) { | protected void encodeDone() throws IOException { // MD: added quantizer for max color limitation int[] palette = Quantize.quantizeImage(rgbPixels, 255); int transparentIndex = -1; int transparentRgb = -1; // Put all the pixels into a hash table. colorHash = new IntHa... | 57341 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57341/f1a2e8bd347e294e5391728379b76d4500a7093d/GIFEncoder.java/clean/freehep-graphicsio/src/main/java/org/freehep/graphicsio/gif/GIFEncoder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
2017,
7387,
1435,
1216,
1860,
288,
3639,
368,
10852,
30,
3096,
10251,
1824,
364,
943,
2036,
17732,
3639,
509,
8526,
12127,
273,
4783,
970,
554,
18,
17753,
554,
2040,
12,
10948,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2017,
7387,
1435,
1216,
1860,
288,
3639,
368,
10852,
30,
3096,
10251,
1824,
364,
943,
2036,
17732,
3639,
509,
8526,
12127,
273,
4783,
970,
554,
18,
17753,
554,
2040,
12,
10948,
... |
+ lSep + "Remember that for JAR files to be visible to ant tasks implemented" +lSep + "in ANT_HOME/lib, the files must be in the same directory or on the" +lSep + "classpath"+ lSep + lSep + "Please do not file bug reports on this problem, nor email the" +lSep + "ant mailing lists, until all of these causes have been ex... | + lSep + "Remember that for JAR files to be visible to Ant tasks implemented" +lSep + "in ANT_HOME/lib, the files must be in the same directory or on the" +lSep + "classpath"+ lSep + lSep + "Please neither file bug reports on this problem, nor email the" +lSep + "Ant mailing lists, until all of these causes have been e... | protected BuildException getNotFoundException(String what, String elementName) { String lSep = System.getProperty("line.separator"); String msg = "Could not create " + what + " of type: " + elementName + "." + lSep+ lSep + "Ant cou... | 17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/4d18df6a9a71f77fda97e230e301ac2398c8eb6e/UnknownElement.java/buggy/src/main/org/apache/tools/ant/UnknownElement.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
18463,
336,
3990,
12,
780,
4121,
16,
4766,
5375,
514,
14453,
13,
288,
3639,
514,
328,
5097,
273,
2332,
18,
588,
1396,
2932,
1369,
18,
11287,
8863,
3639,
514,
1234,
273,
315,
4445,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
18463,
336,
3990,
12,
780,
4121,
16,
4766,
5375,
514,
14453,
13,
288,
3639,
514,
328,
5097,
273,
2332,
18,
588,
1396,
2932,
1369,
18,
11287,
8863,
3639,
514,
1234,
273,
315,
4445,
... |
Class javaClass = Class.forName(className); | Class javaClass = getJavaClass(); | private Method getMethod() { try { Class javaClass = Class.forName(className); Class[] args = new Class[2 + arity]; args[0] = Ruby.class; args[1] = IRubyObject.class; for (int i = 2; i < args.length; i++) { args[i] = IRubyObject.class; ... | 47134 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47134/af1920a5c29079063127d9968487d5e5fbf75031/CompiledReflectionCallback.java/buggy/src/org/jruby/runtime/CompiledReflectionCallback.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
2985,
6272,
1435,
288,
3639,
775,
288,
5411,
1659,
2252,
797,
273,
18911,
797,
5621,
5411,
1659,
8526,
833,
273,
394,
1659,
63,
22,
397,
19353,
15533,
5411,
833,
63,
20,
65,
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,
2985,
6272,
1435,
288,
3639,
775,
288,
5411,
1659,
2252,
797,
273,
18911,
797,
5621,
5411,
1659,
8526,
833,
273,
394,
1659,
63,
22,
397,
19353,
15533,
5411,
833,
63,
20,
65,
273,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.