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 |
|---|---|---|---|---|---|---|
public void buildWebapp( MavenProject project ) throws IOException { getLog().info( "Assembling webapp " + project.getArtifactId() + " in " + webappDirectory ); File libDirectory = new File( webappDirectory, WEB_INF + "/lib" ); File tldDirectory = new File( webappDirectory, WEB_INF + ... | 47160 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47160/fd3e9fe9e29b5a6d361320f8a629a28803c4436b/WarMojo.java/clean/maven-plugins/maven-war-plugin/src/main/java/org/apache/maven/plugin/war/WarMojo.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
6459,
3510,
4079,
2910,
12,
49,
7638,
4109,
4406,
13,
15069,
14106,
95,
588,
1343,
7675,
1376,
2932,
1463,
5747,
2456,
4875,
2910,
6,
15,
4406,
18,
588,
7581,
548,
1435,
9078,
267,
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,
1071,
6459,
3510,
4079,
2910,
12,
49,
7638,
4109,
4406,
13,
15069,
14106,
95,
588,
1343,
7675,
1376,
2932,
1463,
5747,
2456,
4875,
2910,
6,
15,
4406,
18,
588,
7581,
548,
1435,
9078,
267,
6,
... | ||
JFrame.setDefaultLookAndFeelDecorated(true); | public static void main(String[] args) { JFrame.setDefaultLookAndFeelDecorated(true); Toolbox toolbox = new Toolbox(); } | 3506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3506/34643d610d34d949739e35a680eb8b5752a43585/Toolbox.java/buggy/itext/src/com/lowagie/tools/Toolbox.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
2774,
12,
780,
8526,
833,
13,
288,
202,
202,
46,
3219,
18,
542,
1868,
9794,
1876,
2954,
292,
7859,
690,
12,
3767,
1769,
202,
202,
6364,
2147,
5226,
2147,
273,
394,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
760,
918,
2774,
12,
780,
8526,
833,
13,
288,
202,
202,
46,
3219,
18,
542,
1868,
9794,
1876,
2954,
292,
7859,
690,
12,
3767,
1769,
202,
202,
6364,
2147,
5226,
2147,
273,
394,
... | |
return getIfInfo().getAliasDir(m_ifAliasComment); | return getIfInfo().getAliasDir(m_ifAlias, m_ifAliasComment); | String getAliasDir() { return getIfInfo().getAliasDir(m_ifAliasComment); } | 11849 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11849/43f33e8554adbe7d2143df50096daecfb7451542/AliasedResource.java/clean/opennms-services/src/main/java/org/opennms/netmgt/collectd/AliasedResource.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
514,
13131,
1621,
1435,
288,
3639,
327,
336,
2047,
966,
7675,
588,
2936,
1621,
12,
81,
67,
430,
2936,
16,
312,
67,
430,
2936,
4469,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
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,
514,
13131,
1621,
1435,
288,
3639,
327,
336,
2047,
966,
7675,
588,
2936,
1621,
12,
81,
67,
430,
2936,
16,
312,
67,
430,
2936,
4469,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100... |
nodeEngine = new DefaultMutableTreeNode(sciEngineInfo.getIdEngine()); nodeEngine.add(new DefaultMutableTreeNode(sciEngineInfo.getSciEngineUrl())); | nodeEngine = new TreeEngineNode(sciEngineInfo.getIdEngine()); nodeEngine.add(new TreeEngineNode(sciEngineInfo.getSciEngineUrl())); | private void refreshTreeEngine(){ HashMap mapEngine = this.service.getMapEngine(); SciEngineInfo sciEngineInfo; DefaultMutableTreeNode nodeEngine; int i = 0; int count = this.rootEngine.getChildCount(); while(i<count){ nodeEngine = (DefaultMutableTreeNode) this.rootEngine.getChildAt(i); sciEngineInfo = (Sc... | 23362 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/23362/21261276b03c1a4e5e11ffe02bf227ac59b3e3d1/SciFrame.java/clean/src/org/objectweb/proactive/ext/scilab/gui/SciFrame.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
4460,
2471,
4410,
1435,
95,
202,
202,
8658,
852,
4410,
273,
333,
18,
3278,
18,
588,
863,
4410,
5621,
202,
202,
1541,
77,
4410,
966,
31363,
4410,
966,
31,
202,
202,
1868,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4460,
2471,
4410,
1435,
95,
202,
202,
8658,
852,
4410,
273,
333,
18,
3278,
18,
588,
863,
4410,
5621,
202,
202,
1541,
77,
4410,
966,
31363,
4410,
966,
31,
202,
202,
1868,... |
Iterator<VPartDependency> depIter = part.dependencyIterator(); while( depIter.hasNext() ) { VPartDependency dep = depIter.next(); String descr = "" + dep.GetLocation().toString().charAt(0); if( dep.GetCondition() == VPartDependency.Condition.Optional ) descr += "? "; else descr += " "; descr += dep.GetTypeInfo().Get... | addPartChilds(childs, part); } else if( parent instanceof TagListNode ) { TagListNode tagNode = (TagListNode)parent; | public Object[] getChildren(Object parent) { LinkedList<Object> childs = new LinkedList<Object>(); if( parent instanceof Entity ) { Entity entity = (Entity)parent; // add entity parts Iterator<Part> partIter = entity.PartIterator(); while( partIter.hasNext() ) { childs.add(partIter.next()); ... | 3290 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3290/b2cac279c077e229049f17623665e83449e50ba8/SceneView.java/clean/velox/Editor/EclipsePlugin/src/de/velox/editor/views/SceneView.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
1033,
8526,
10268,
12,
921,
982,
13,
288,
1082,
202,
13174,
682,
32,
921,
34,
21619,
273,
394,
10688,
32,
921,
34,
5621,
1082,
202,
430,
12,
982,
1276,
3887,
262,
288,
9506,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1033,
8526,
10268,
12,
921,
982,
13,
288,
1082,
202,
13174,
682,
32,
921,
34,
21619,
273,
394,
10688,
32,
921,
34,
5621,
1082,
202,
430,
12,
982,
1276,
3887,
262,
288,
9506,
... |
ReferenceType parameterizedType = | ReferenceType parameterizedType = | private final ResolvedType resolveToReferenceType(UnresolvedType ty) { if (ty.isParameterizedType()) { // ======= parameterized types ================ ReferenceType genericType = (ReferenceType)resolveGenericTypeFor(ty,false); currentlyResolvingBaseType = genericType; ReferenceType parameterizedType = ... | 53148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53148/2883a55829716132efcf288acec08bf3ab6826a7/World.java/clean/weaver/src/org/aspectj/weaver/World.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
727,
22776,
559,
2245,
774,
2404,
559,
12,
984,
11792,
559,
13806,
13,
288,
202,
202,
430,
261,
4098,
18,
291,
1662,
13091,
10756,
288,
1082,
202,
759,
422,
894,
33,
17629,
1953,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
22776,
559,
2245,
774,
2404,
559,
12,
984,
11792,
559,
13806,
13,
288,
202,
202,
430,
261,
4098,
18,
291,
1662,
13091,
10756,
288,
1082,
202,
759,
422,
894,
33,
17629,
1953,
... |
if (stepWizard.canFinishOnReviewPage()) instructionLabel.setText(IDEWorkbenchMessages.MultiStepReviewWizardPage_instructionFinishLabel); else instructionLabel.setText(IDEWorkbenchMessages.MultiStepReviewWizardPage_instructionNextLabel); | if (stepWizard.canFinishOnReviewPage()) { instructionLabel.setText(IDEWorkbenchMessages.MultiStepReviewWizardPage_instructionFinishLabel); } else { instructionLabel.setText(IDEWorkbenchMessages.MultiStepReviewWizardPage_instructionNextLabel); } | public void setVisible(boolean visible) { super.setVisible(visible); if (visible) { if (stepWizard.canFinishOnReviewPage()) instructionLabel.setText(IDEWorkbenchMessages.MultiStepReviewWizardPage_instructionFinishLabel); else instructionLabel.setText... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/MultiStepReviewWizardPage.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/MultiStepReviewWizardPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
16697,
12,
6494,
6021,
13,
288,
3639,
2240,
18,
542,
6207,
12,
8613,
1769,
3639,
309,
261,
8613,
13,
288,
5411,
309,
261,
4119,
27130,
18,
4169,
11641,
1398,
9159,
1964,
10756,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
16697,
12,
6494,
6021,
13,
288,
3639,
2240,
18,
542,
6207,
12,
8613,
1769,
3639,
309,
261,
8613,
13,
288,
5411,
309,
261,
4119,
27130,
18,
4169,
11641,
1398,
9159,
1964,
10756,... |
UMOEvent event = new MuleEvent(new MuleMessage("hello", null), ep, new MuleSession(), false); | UMOEvent event = new MuleEvent(new MuleMessage("hello", null), ep, MuleTestUtils.getTestSession(), false); | public void testEndpointFromURI() throws Exception { MuleEndpoint ep = new MuleEndpoint("test://hello?remoteSync=true&remoteSyncTimeout=2002", true); ep.initialise(); assertTrue(ep.isRemoteSync()); assertEquals(2002, ep.getRemoteSyncTimeout()); assertEquals(UMOEndpoint.ENDPOINT... | 2370 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2370/c6f6cd58073cb481556e83916c280bc896e75771/MuleEndpointConfigurationTestCase.java/clean/tests/integration/src/test/java/org/mule/test/integration/MuleEndpointConfigurationTestCase.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
3293,
1265,
3098,
1435,
1216,
1185,
565,
288,
3639,
490,
725,
3293,
5529,
273,
394,
490,
725,
3293,
2932,
3813,
2207,
23711,
35,
7222,
4047,
33,
3767,
10,
7222,
4047,
269... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3293,
1265,
3098,
1435,
1216,
1185,
565,
288,
3639,
490,
725,
3293,
5529,
273,
394,
490,
725,
3293,
2932,
3813,
2207,
23711,
35,
7222,
4047,
33,
3767,
10,
7222,
4047,
269... |
sb.append("Interaction request for the accept / reject interaction pattern."); | log.debug("Base URL is "+baseURL); | public String getMessageBody(URL baseURL, String id) { StringBuffer sb = new StringBuffer(); sb.append("Interaction request for the accept / reject interaction pattern."); try { URL targetURL = new URL(baseURL,"interactionApplet?id="+id); sb.append("\n\n"+targetURL.toString()+"\n"); } catch (MalformedURLEx... | 7616 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7616/c7d8146b4b6a1d5df8de2eb977e9cc5aeecfaaeb/AcceptReject.java/clean/trunk/interaction/src/net/sf/taverna/interaction/server/patterns/AcceptReject.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
2381,
2250,
12,
1785,
17480,
16,
514,
612,
13,
288,
202,
780,
1892,
2393,
273,
394,
6674,
5621,
202,
18366,
18,
6923,
2932,
17419,
590,
364,
326,
2791,
342,
4925,
13581,
1936,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
2381,
2250,
12,
1785,
17480,
16,
514,
612,
13,
288,
202,
780,
1892,
2393,
273,
394,
6674,
5621,
202,
18366,
18,
6923,
2932,
17419,
590,
364,
326,
2791,
342,
4925,
13581,
1936,
... |
public boolean collect(IWContext iwc) { if (iwc != null) { String homePhone = iwc.getParameter(homePhoneFieldName); String workPhone = iwc.getParameter(workPhoneFieldName); String mobilePhone = iwc.getParameter(mobilePhoneFieldName); String faxPhone = iwc.getParameter(faxPhoneFieldName); String homePhoneTyp... | 57353 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57353/3d3a9f8444e1b2e2c1c4c7d5e71a685e7f0aa419/GroupOfficeContactTab.java/buggy/src/java/is/idega/idegaweb/member/presentation/GroupOfficeContactTab.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
6494,
14676,
12,
45,
59,
1042,
22315,
71,
15329,
202,
202,
430,
12,
22315,
71,
5,
33,
2011,
15329,
1082,
202,
780,
8712,
9451,
33,
22315,
71,
18,
588,
1662,
12,
8712,
9451,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6494,
14676,
12,
45,
59,
1042,
22315,
71,
15329,
202,
202,
430,
12,
22315,
71,
5,
33,
2011,
15329,
1082,
202,
780,
8712,
9451,
33,
22315,
71,
18,
588,
1662,
12,
8712,
9451,
... | ||
"Total", new Integer(0), new Integer(0) | "Total", new Integer(0), new Integer(0) | private void addInformationPanel() { // Create UI elements for connection information. JPanel informationPanel = new JPanel(); informationPanel.setLayout(new BorderLayout()); // Add the Host information JPanel connPanel = new JPanel(); connPanel.setLayout(new GridBagLayout(... | 52005 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52005/a43b8a1cdb5f3b07a0a1df0570681125d1cc1725/EnhancedDebugger.java/clean/source/org/jivesoftware/smackx/debugger/EnhancedDebugger.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
527,
5369,
5537,
1435,
288,
3639,
368,
1788,
6484,
2186,
364,
1459,
1779,
18,
3639,
24048,
1779,
5537,
273,
394,
24048,
5621,
3639,
1779,
5537,
18,
542,
3744,
12,
2704,
30814,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
527,
5369,
5537,
1435,
288,
3639,
368,
1788,
6484,
2186,
364,
1459,
1779,
18,
3639,
24048,
1779,
5537,
273,
394,
24048,
5621,
3639,
1779,
5537,
18,
542,
3744,
12,
2704,
30814,
... |
URLEndIndex = line.indexOf(" ", URLStartIndex); String srcValue = line.substring(URLStartIndex,URLEndIndex); return srcValue; | URLEndIndex = line.indexOf(" ", URLStartIndex); String srcValue = line.substring(URLStartIndex, URLEndIndex); return srcValue; | private static String extractURL(String line) { int URLStartIndex = 0; int URLEndIndex = 0; //need this to make sure only image paths are pointed to and not href. int srcIndex = line.indexOf(" src"); if(line.indexOf("https://",srcIndex)!= -1) ... | 24959 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/24959/1d1cfc11313b342904e169e103c62f47ba0aa767/ProxyWriter.java/buggy/source/org/jasig/portal/serialize/ProxyWriter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
514,
2608,
1785,
12,
780,
980,
13,
565,
288,
5411,
509,
1976,
16792,
273,
374,
31,
5411,
509,
1976,
24152,
273,
374,
31,
5411,
368,
14891,
333,
358,
1221,
3071,
1338,
1316,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
514,
2608,
1785,
12,
780,
980,
13,
565,
288,
5411,
509,
1976,
16792,
273,
374,
31,
5411,
509,
1976,
24152,
273,
374,
31,
5411,
368,
14891,
333,
358,
1221,
3071,
1338,
1316,
2... |
returnAST = quantifiedInVarBinding_AST; } finally { traceOut("quantifiedInVarBinding"); | quantifiedInVarBinding_AST = (org.exist.xquery.parser.XQueryAST)astFactory.make( (new ASTArray(2)).add((org.exist.xquery.parser.XQueryAST)astFactory.create(VARIABLE_BINDING,varName)).add(quantifiedInVarBinding_AST)); currentAST.root = quantifiedInVarBinding_AST; currentAST.child = quantifiedInVarBinding_AST!=null &&qua... | public final void quantifiedInVarBinding() throws RecognitionException, TokenStreamException { traceIn("quantifiedInVarBinding"); try { // debugging returnAST = null; ASTPair currentAST = new ASTPair(); org.exist.xquery.parser.XQueryAST quantifiedInVarBinding_AST = null; String varName; match(DOLLAR);... | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/848376fedfdb64086be7a20004c255cefe7b1015/XQueryParser.java/buggy/src/org/exist/xquery/parser/XQueryParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
10251,
939,
382,
1537,
5250,
1435,
1216,
9539,
16,
3155,
1228,
503,
288,
9506,
202,
5129,
382,
2932,
17753,
939,
382,
1537,
5250,
8863,
202,
202,
698,
288,
368,
10450,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
10251,
939,
382,
1537,
5250,
1435,
1216,
9539,
16,
3155,
1228,
503,
288,
9506,
202,
5129,
382,
2932,
17753,
939,
382,
1537,
5250,
8863,
202,
202,
698,
288,
368,
10450,... |
public void updateContext(Reader reader, String filename, int type, IASTInclusion inclusion, ISourceElementRequestor requestor, int macroOffset, int macroLength) throws ContextException { int startLine = 1; if (type == IScannerContext.ContextKind.MACROEXPANSION) { if (getCurrentContext().getKind() == IScannerContext... | public void updateContext(Reader reader, String filename, int type, IASTInclusion inclusion, ISourceElementRequestor requestor) throws ContextException { updateContext(reader, filename, type, inclusion, requestor, -1, -1); } | public void updateContext(Reader reader, String filename, int type, IASTInclusion inclusion, ISourceElementRequestor requestor, int macroOffset, int macroLength) throws ContextException { int startLine = 1; // If we expand a macro within a macro, then keep offsets of the top-level one, // as only ... | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/7a2c6de5fb3f720d4ccf6d80c100a157056f2b77/ContextStack.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner/ContextStack.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1089,
1042,
12,
2514,
2949,
16,
514,
1544,
16,
509,
618,
16,
467,
9053,
382,
15335,
26485,
16,
467,
1830,
1046,
691,
280,
590,
280,
16,
509,
11522,
2335,
16,
509,
11522,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1042,
12,
2514,
2949,
16,
514,
1544,
16,
509,
618,
16,
467,
9053,
382,
15335,
26485,
16,
467,
1830,
1046,
691,
280,
590,
280,
16,
509,
11522,
2335,
16,
509,
11522,
... |
mod.type = "checkin"; | String fileName = substringFromLastSlash(folderLine); String folderName = substringToLastSlash(folderLine); Modification.ModifiedFile modfile = mod.createModifiedFile(fileName, folderName); modfile.action = "checkin"; | protected Modification handleEntry(List historyEntry) { Modification mod = new Modification(); String nameAndDateLine = (String) historyEntry.get(2); mod.userName = parseUser(nameAndDateLine); mod.modifiedTime = parseDate(nameAndDateLine); String folderLine = (String) historyEntry... | 55334 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55334/6c388b514a0547682989734ceba9679338747a3a/VssJournal.java/clean/main/src/net/sourceforge/cruisecontrol/sourcecontrols/VssJournal.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
3431,
1480,
1640,
1622,
12,
682,
4927,
1622,
13,
288,
3639,
3431,
1480,
681,
273,
394,
3431,
1480,
5621,
3639,
514,
508,
1876,
1626,
1670,
273,
261,
780,
13,
4927,
1622,
18,
588,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
3431,
1480,
1640,
1622,
12,
682,
4927,
1622,
13,
288,
3639,
3431,
1480,
681,
273,
394,
3431,
1480,
5621,
3639,
514,
508,
1876,
1626,
1670,
273,
261,
780,
13,
4927,
1622,
18,
588,
... |
if (generatorPass == HEADER_PASS) { | if (generatorPass != SOURCE_PASS) { | private String generateOperationPrefix(Object op) { StringBuffer sb = new StringBuffer(80); sb.append(generateConcurrency(op)); if (generatorPass == HEADER_PASS) { // make all operations to virtual - as long as they are not "leaf" Object scope = Model.getFacade().getOwnerS... | 7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/1d3b53fab6b14f5a8286bfe6338d2740ffe3724e/GeneratorCpp.java/clean/modules/cpp/src/org/argouml/language/cpp/generator/GeneratorCpp.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
514,
2103,
2988,
2244,
12,
921,
1061,
13,
288,
3639,
6674,
2393,
273,
394,
6674,
12,
3672,
1769,
3639,
2393,
18,
6923,
12,
7163,
18273,
12,
556,
10019,
3639,
309,
261,
8812,
6433,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2103,
2988,
2244,
12,
921,
1061,
13,
288,
3639,
6674,
2393,
273,
394,
6674,
12,
3672,
1769,
3639,
2393,
18,
6923,
12,
7163,
18273,
12,
556,
10019,
3639,
309,
261,
8812,
6433,
... |
return ch; | int c = read (); if (c >= 0) unread(); return c; | public int peek () throws java.io.IOException { int oldLineStartPos = lineStartPos; int ch = read (); if (ch >= 0) { pos--; lineStartPos = oldLineStartPos; } return ch; } | 36870 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/36870/b771dc468e99200d66f25e9e1505c760debb93cf/LineBufferedReader.java/clean/kawa/lang/LineBufferedReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
8032,
1832,
4202,
1216,
2252,
18,
1594,
18,
14106,
225,
288,
565,
509,
1592,
1670,
1685,
1616,
273,
29208,
1616,
31,
565,
509,
462,
273,
855,
261,
1769,
565,
309,
261,
343,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
8032,
1832,
4202,
1216,
2252,
18,
1594,
18,
14106,
225,
288,
565,
509,
1592,
1670,
1685,
1616,
273,
29208,
1616,
31,
565,
509,
462,
273,
855,
261,
1769,
565,
309,
261,
343,
1... |
n.getChildAt(i).accept(this); | n.getChildAt(i).accept(tcv); | public void genericFun(/*@ non_null @*/ String s, TFunction n){ out.appendI("("+ s+" "); int i =0; for(; i < n.sons.size(); i++) { n.getChildAt(i).accept(this); if(i != n.sons.size() - 1) out.appendN(" "); } out.appendN(")"); if((n.getChildAt(--i)) instanceof TName || (n.getC... | 46634 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46634/ae436ffae1eab5a91900bfb4851300054c4cb26e/ABasicCoqVisitor.java/buggy/src/escjava/trunk/ESCTools/Escjava/java/escjava/vcGeneration/coq/visitor/ABasicCoqVisitor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
5210,
22783,
12,
20308,
36,
1661,
67,
2011,
632,
5549,
514,
272,
16,
399,
2083,
290,
15329,
377,
202,
659,
18,
6923,
45,
2932,
2932,
15,
272,
9078,
315,
1769,
377,
202,
474,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5210,
22783,
12,
20308,
36,
1661,
67,
2011,
632,
5549,
514,
272,
16,
399,
2083,
290,
15329,
377,
202,
659,
18,
6923,
45,
2932,
2932,
15,
272,
9078,
315,
1769,
377,
202,
474,
... |
support.getExternalBrowser().openURL(url); } catch (PartInitException e1) { MessageDialog.openError(null, "Link error", "Could not open browser"); } catch (MalformedURLException e) { MessageDialog.openError(null, "Link error", "Hyperlink address is malformed"); } } | support.getExternalBrowser().openURL(url); } catch (PartInitException e1) { MessageDialog.openError(null, "Link error", "Could not open browser"); } catch (MalformedURLException e) { MessageDialog.openError(null, "Link error", "Hyperlink address is malformed"); } } | public void linkActivated(HyperlinkEvent event) { try { // Perhaps should use TaskListUiUtil.openUrl instead? URL url = new URL((String)event.getHref()); IWorkbenchBrowserSupport support = PlatformUI.getWorkbench().getBrowserSupport(); support.getExternalBrowser().openURL(url)... | 51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/dbc174ae73ca89a83ba02de2ee39dee30bf1b142/AbstractBugEditor.java/buggy/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/AbstractBugEditor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4405,
225,
1071,
918,
1692,
28724,
12,
15996,
1232,
1133,
871,
13,
288,
25083,
225,
775,
288,
6862,
1082,
225,
368,
5722,
19312,
1410,
999,
3837,
682,
13943,
1304,
18,
3190,
1489,
3560,
35,
25... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4405,
225,
1071,
918,
1692,
28724,
12,
15996,
1232,
1133,
871,
13,
288,
25083,
225,
775,
288,
6862,
1082,
225,
368,
5722,
19312,
1410,
999,
3837,
682,
13943,
1304,
18,
3190,
1489,
3560,
35,
25... |
s.setAttribute("reset-stored-state", ss); | s.setAttribute("direct-stored-state", ss); | private void setStoredState(StoredState ss) { Session s = SessionManager.getCurrentSession(); if (s.getAttribute("direct-stored-state") == null || ss == null) { s.setAttribute("reset-stored-state", ss); } } | 51479 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51479/2abbb1f70ab973935c0a01152597573b3e4e31dd/SkinnableCharonPortal.java/buggy/portal-impl/impl/src/java/org/sakaiproject/portal/charon/SkinnableCharonPortal.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
444,
18005,
1119,
12,
18005,
1119,
5202,
13,
202,
95,
202,
202,
2157,
272,
273,
3877,
1318,
18,
588,
3935,
2157,
5621,
202,
202,
430,
261,
87,
18,
588,
1499,
2932,
7205,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
444,
18005,
1119,
12,
18005,
1119,
5202,
13,
202,
95,
202,
202,
2157,
272,
273,
3877,
1318,
18,
588,
3935,
2157,
5621,
202,
202,
430,
261,
87,
18,
588,
1499,
2932,
7205,... |
SchemaGrammar grammar = fGrammarBucket.getGrammar(typeName.uri); if (grammar != null) type = grammar.getGlobalTypeDecl(typeName.localpart); | if (typeName.uri == URI_SCHEMAFORSCHEMA) { type = SchemaGrammar.SG_SchemaNS.getGlobalTypeDecl(typeName.localpart); } if (type == null) { SchemaGrammar grammar = fGrammarBucket.getGrammar(typeName.uri); if (grammar != null) type = grammar.getGlobalTypeDecl(typeName.localpart); } | void getAndCheckXsiType(QName element, String xsiType) { // This method also deals with clause 1.2.1.2 of the constraint // Validation Rule: Schema-Validity Assessment (Element) // Element Locally Valid (Element) // 4 If there is an attribute information item among the element informatio... | 1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/970ce40ae1182183dee7e0be723e7037875919c2/XMLSchemaValidator.java/buggy/src/org/apache/xerces/impl/xs/XMLSchemaValidator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
22909,
1564,
60,
7722,
559,
12,
13688,
930,
16,
514,
619,
7722,
559,
13,
288,
3639,
368,
1220,
707,
2546,
443,
1031,
598,
6591,
404,
18,
22,
18,
21,
18,
22,
434,
326,
4954,
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,
918,
22909,
1564,
60,
7722,
559,
12,
13688,
930,
16,
514,
619,
7722,
559,
13,
288,
3639,
368,
1220,
707,
2546,
443,
1031,
598,
6591,
404,
18,
22,
18,
21,
18,
22,
434,
326,
4954,
3639,... |
Paint fillPaint = (Paint)aci.getAttribute(TextAttribute.FOREGROUND); Stroke stroke = (Stroke) aci.getAttribute (GVTAttributedCharacterIterator.TextAttribute.STROKE); Paint strokePaint = (Paint) aci.getAttribute (GVTAttributedCharacterIterator.TextAttribute.STROKE_PAINT); | TextPaintInfo tpi = (TextPaintInfo)aci.getAttribute (GVTAttributedCharacterIterator.TextAttribute.PAINT_INFO); if (tpi == null) return; Paint fillPaint = tpi.fillPaint; Stroke stroke = tpi.strokeStroke; Paint strokePaint = tpi.strokePaint; | public void draw(Graphics2D graphics2D, AttributedCharacterIterator aci) { int numGlyphs = getNumGlyphs(); aci.first(); Paint fillPaint = (Paint)aci.getAttribute(TextAttribute.FOREGROUND); Stroke stroke = (Stroke) aci.getAttribute (GVTAttributedCharacterIte... | 45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/32ff210f47c7773fb0e4cf575e28f5c475c824a9/AWTGVTGlyphVector.java/clean/sources/org/apache/batik/gvt/font/AWTGVTGlyphVector.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3724,
12,
17558,
22,
40,
17313,
22,
40,
16,
5397,
2380,
11050,
7069,
3198,
1721,
77,
13,
288,
3639,
509,
818,
25399,
273,
11187,
25399,
5621,
3639,
1721,
77,
18,
3645,
5621,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3724,
12,
17558,
22,
40,
17313,
22,
40,
16,
5397,
2380,
11050,
7069,
3198,
1721,
77,
13,
288,
3639,
509,
818,
25399,
273,
11187,
25399,
5621,
3639,
1721,
77,
18,
3645,
5621,
... |
public final void enableReschedule(boolean releaseSchedulerLock, ProcessorLock otherLock) { | public final void enableReschedule(boolean releaseSchedulerLock) { | public final void enableReschedule(boolean releaseSchedulerLock, ProcessorLock otherLock) { if (releaseSchedulerLock) { scheduler.unlock(otherLock); } lockCount--; if (lockCount == 0) { getTSIAddress() .atomicAnd(Word.fromIntSignExtend(~TSI_BLOCK_... | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/62994783631e20e868b65c6250b1b0c82dff528a/VmProcessor.java/clean/core/src/core/org/jnode/vm/scheduler/VmProcessor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
918,
4237,
607,
2847,
12,
6494,
3992,
11870,
2531,
13,
288,
3639,
309,
261,
9340,
11870,
2531,
13,
288,
5411,
8129,
18,
26226,
12,
3011,
2531,
1769,
3639,
289,
3639,
2176,
1380... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
918,
4237,
607,
2847,
12,
6494,
3992,
11870,
2531,
13,
288,
3639,
309,
261,
9340,
11870,
2531,
13,
288,
5411,
8129,
18,
26226,
12,
3011,
2531,
1769,
3639,
289,
3639,
2176,
1380... |
/** * Tests the two forms of prepareStatement() */ public void testPrepareStatement() { try { java.sql.Connection conn = JDBC2Tests.openDB(); String sql = "select source,cost,imageid from test_c"; java.sql.PreparedStatement stat = conn.prepareStatement(sql); assert(stat!=null); stat.close(); stat = conn.prepareSt... | public void testCreateStatement() { try { java.sql.Connection conn = JDBC2Tests.openDB(); // A standard Statement java.sql.Statement stat = conn.createStatement(); assert(stat!=null); stat.close(); // Ask for Updateable ResultSets stat = conn.createStatement(java.sql.ResultSet.TY... | 45672 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45672/b75814aee320ef2b67ad01ba72c266dbbf94db45/ConnectionTest.java/clean/src/interfaces/jdbc/org/postgresql/test/jdbc2/ConnectionTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1842,
1684,
3406,
1435,
288,
565,
775,
288,
1377,
2252,
18,
4669,
18,
1952,
1487,
273,
16364,
22,
14650,
18,
3190,
2290,
5621,
1377,
368,
432,
4529,
8056,
1377,
2252,
18,
4669,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1684,
3406,
1435,
288,
565,
775,
288,
1377,
2252,
18,
4669,
18,
1952,
1487,
273,
16364,
22,
14650,
18,
3190,
2290,
5621,
1377,
368,
432,
4529,
8056,
1377,
2252,
18,
4669,... | |
return breakValue == null ? runtime.getNil() : breakValue; | return breakValue == null ? getRuntime().getNil() : breakValue; | private IRubyObject yieldUnder(RubyModule under) { return under.executeUnder(new Callback() { public IRubyObject execute(IRubyObject self, IRubyObject[] args) { ThreadContext context = runtime.getCurrentContext(); Block block = context.getBlockStack().getCurrent(); ... | 49687 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49687/870e1da9b41bfdbae259e1fc5f18fc8b76686998/RubyObject.java/buggy/src/org/jruby/RubyObject.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
15908,
10340,
921,
2824,
14655,
12,
54,
10340,
3120,
3613,
13,
288,
3639,
327,
3613,
18,
8837,
14655,
12,
2704,
8444,
1435,
288,
5411,
1071,
15908,
10340,
921,
1836,
12,
7937,
10340,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
15908,
10340,
921,
2824,
14655,
12,
54,
10340,
3120,
3613,
13,
288,
3639,
327,
3613,
18,
8837,
14655,
12,
2704,
8444,
1435,
288,
5411,
1071,
15908,
10340,
921,
1836,
12,
7937,
10340,
... |
public DOMFile(File file, int buffers, int dataBuffers) { this(buffers, dataBuffers); setFile(file); | public DOMFile(int buffers, int dataBuffers) { super(buffers); fileHeader = (DOMFileHeader) getFileHeader(); fileHeader.setPageCount(0); fileHeader.setTotalCount(0); buffer = new ClockPageBuffer(dataBuffers); | public DOMFile(File file, int buffers, int dataBuffers) { this(buffers, dataBuffers); setFile(file); } | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/1c0cc42431436631d1b2e9ea8af63bb6dd883496/DOMFile.java/buggy/src/org/exist/storage/DOMFile.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4703,
812,
12,
812,
585,
16,
509,
9664,
16,
509,
501,
13699,
13,
288,
202,
202,
2211,
12,
28101,
16,
501,
13699,
1769,
202,
202,
542,
812,
12,
768,
1769,
202,
97,
2,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4703,
812,
12,
812,
585,
16,
509,
9664,
16,
509,
501,
13699,
13,
288,
202,
202,
2211,
12,
28101,
16,
501,
13699,
1769,
202,
202,
542,
812,
12,
768,
1769,
202,
97,
2,
-100,
... |
public org.quickfix.field.TradeRequestID get(org.quickfix.field.TradeRequestID value) | public quickfix.field.TradeRequestID get(quickfix.field.TradeRequestID value) | public org.quickfix.field.TradeRequestID get(org.quickfix.field.TradeRequestID value) throws FieldNotFound { getField(value); return value; } | 8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/TradeCaptureReportRequest.java/buggy/src/java/src/quickfix/fix43/TradeCaptureReportRequest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
9549,
904,
18,
1518,
18,
22583,
691,
734,
336,
12,
19525,
904,
18,
1518,
18,
22583,
691,
734,
225,
460,
13,
565,
1216,
2286,
2768,
225,
288,
5031,
12,
1132,
1769,
327,
460,
31,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
9549,
904,
18,
1518,
18,
22583,
691,
734,
336,
12,
19525,
904,
18,
1518,
18,
22583,
691,
734,
225,
460,
13,
565,
1216,
2286,
2768,
225,
288,
5031,
12,
1132,
1769,
327,
460,
31,
... |
+ " owl:onProperty src:type ;" + ENDL | + " owl:onProperty src:OrganisationType__type ;" + ENDL | public void testGetRestrictionSubclassNested() throws Exception { String ENDL = System.getProperty("line.separator"); // add max cardinality one restrictions String owl = "@prefix : <" + tgtNs + "> ." + ENDL + "@prefix src: <" + srcNs + "> ." + ENDL + "@prefix rdf: <" + O... | 29158 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/29158/21bfbea214aa8427ba527d71b44588cb4aa59716/DataTranslatorTest.java/clean/intermine/src/test/org/intermine/dataconversion/DataTranslatorTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
967,
11670,
1676,
1106,
8649,
1435,
1216,
1185,
288,
3639,
514,
7273,
48,
273,
2332,
18,
588,
1396,
2932,
1369,
18,
11287,
8863,
3639,
368,
527,
943,
14379,
1245,
17499,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
967,
11670,
1676,
1106,
8649,
1435,
1216,
1185,
288,
3639,
514,
7273,
48,
273,
2332,
18,
588,
1396,
2932,
1369,
18,
11287,
8863,
3639,
368,
527,
943,
14379,
1245,
17499,
... |
int alt59=2; int LA59_0 = input.LA(1); if ( (LA59_0>=46 && LA59_0<=47) ) { alt59=1; } switch (alt59) { | int alt60=2; int LA60_0 = input.LA(1); if ( (LA60_0>=46 && LA60_0<=47) ) { alt60=1; } switch (alt60) { | public void constraint(List constraints) throws RecognitionException { Token fb=null; Token f=null; Token bvc=null; Token con=null; String op = null; String lc = null; String rvc = null; PatternDescr d = null; try { // /home/mic... | 31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/12c8feffd968f958100f654d836fa3c2ee21ded8/RuleParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4954,
12,
682,
6237,
13,
1216,
9539,
288,
6647,
3155,
12754,
33,
2011,
31,
3639,
3155,
284,
33,
2011,
31,
3639,
3155,
324,
4227,
33,
2011,
31,
3639,
3155,
356,
33,
2011,
31,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4954,
12,
682,
6237,
13,
1216,
9539,
288,
6647,
3155,
12754,
33,
2011,
31,
3639,
3155,
284,
33,
2011,
31,
3639,
3155,
324,
4227,
33,
2011,
31,
3639,
3155,
356,
33,
2011,
31,
... |
return new ArrayList(this.viewLinks); | List newList = FastList.newInstance(); newList.addAll(this.viewLinks); return newList; | public List getViewLinksCopy() { return new ArrayList(this.viewLinks); } | 22229 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/22229/f701d5dcc3b233813787c77eb6d860b522558fa0/ModelViewEntity.java/buggy/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
987,
8893,
7100,
2951,
1435,
288,
3639,
987,
23605,
273,
9545,
682,
18,
2704,
1442,
5621,
23605,
18,
1289,
1595,
12,
2211,
18,
1945,
7100,
1769,
327,
23605,
31,
565,
289,
2,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
987,
8893,
7100,
2951,
1435,
288,
3639,
987,
23605,
273,
9545,
682,
18,
2704,
1442,
5621,
23605,
18,
1289,
1595,
12,
2211,
18,
1945,
7100,
1769,
327,
23605,
31,
565,
289,
2,
-100,
... |
factory.connectRepository1(); assertNull(factory.repository.getMilestones()); factory.repository.updateAttributes(new NullProgressMonitor()); TracVersion[] versions = factory.repository.getVersions(); | connect010(); assertNull(repository.getMilestones()); repository.updateAttributes(new NullProgressMonitor()); TracVersion[] versions = repository.getVersions(); | public void testUpdateAttributes() throws Exception { factory.connectRepository1(); assertNull(factory.repository.getMilestones()); factory.repository.updateAttributes(new NullProgressMonitor()); TracVersion[] versions = factory.repository.getVersions(); assertEquals(2, versions.length); Arrays.sort(versions, ne... | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/312c78d721814073d17f104ab334cbe54b3954cc/Trac09ClientTest.java/clean/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/Trac09ClientTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
1891,
2498,
1435,
1216,
1185,
288,
202,
202,
6848,
18,
3612,
3305,
21,
5621,
202,
202,
11231,
2041,
12,
6848,
18,
9071,
18,
588,
49,
14849,
5322,
10663,
202,
202,
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,
918,
1842,
1891,
2498,
1435,
1216,
1185,
288,
202,
202,
6848,
18,
3612,
3305,
21,
5621,
202,
202,
11231,
2041,
12,
6848,
18,
9071,
18,
588,
49,
14849,
5322,
10663,
202,
202,
6... |
assertEquals(1,Filter.FilterCommandLine.getVersionNum(versionNames, timeStamps, "1", true, 2)); | assertEquals(1,Filter.FilterCommandLine.getVersionNum(versionNames, timeStamps, "1", true, 3)); | public void test1() { assertEquals(1,Filter.FilterCommandLine.getVersionNum(versionNames, timeStamps, "1", true, 2)); } | 10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/b8dca37518ccc3850350471a0d5f894fa0bc9b20/FindSeqNumTest.java/buggy/findbugs/src/junit/edu/umd/cs/findbugs/workflow/FindSeqNumTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
21,
1435,
288,
202,
202,
11231,
8867,
12,
21,
16,
1586,
18,
1586,
21391,
18,
588,
1444,
2578,
12,
1589,
1557,
16,
18198,
87,
16,
315,
21,
3113,
638,
16,
576,
1001... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
225,
202,
482,
918,
1842,
21,
1435,
288,
202,
202,
11231,
8867,
12,
21,
16,
1586,
18,
1586,
21391,
18,
588,
1444,
2578,
12,
1589,
1557,
16,
18198,
87,
16,
315,
21,
3113,
638,
16,
576,
1001... |
public boolean canChangeConnectedNode(Object newNode, Object oldNode, Object edge) { | public boolean canChangeConnectedNode(Object newNode, Object oldNode, Object edge) { | public boolean canChangeConnectedNode(Object newNode, Object oldNode, Object edge) { // prevent no changes... if ( newNode == oldNode) return false; // check parameter types: if ( !(newNode instanceof MClass || oldNode instanceof MClass || edge instanceof MAssociation ) ) { return false; } ret... | 7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/23464f9cbc3169e9d2f1919998cae2c59b514985/ClassDiagramGraphModel.java/clean/src_new/org/argouml/uml/diagram/static_structure/ClassDiagramGraphModel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
848,
3043,
8932,
907,
12,
921,
10942,
16,
1033,
1592,
907,
16,
1033,
3591,
13,
288,
202,
759,
5309,
1158,
3478,
2777,
202,
430,
261,
10942,
422,
1592,
907,
13,
202,
565,
327... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3043,
8932,
907,
12,
921,
10942,
16,
1033,
1592,
907,
16,
1033,
3591,
13,
288,
202,
759,
5309,
1158,
3478,
2777,
202,
430,
261,
10942,
422,
1592,
907,
13,
202,
565,
327... |
if (SWT.getPlatform().equals("win32") == false) { drawDirect = (event.text.length() == 1) || (replacedLength == 1); } | void modifyContent(Event event, boolean updateCaret) { event.doit = true; notifyListeners(SWT.Verify, event); if (event.doit) { StyledTextEvent styledTextEvent = null; int replacedLength = event.end - event.start; boolean isBackspace = event.start < caretOffset; boolean isDirectionBoundary = false; if (updateCar... | 12413 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12413/69ee1a54e3186341c257348cbeae19ccad394fe4/StyledText.java/clean/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
918,
5612,
1350,
12,
1133,
871,
16,
1250,
1089,
39,
20731,
13,
288,
202,
2575,
18,
2896,
305,
273,
638,
31,
202,
12336,
5583,
12,
55,
8588,
18,
8097,
16,
871,
1769,
202,
430,
261,
2575,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
918,
5612,
1350,
12,
1133,
871,
16,
1250,
1089,
39,
20731,
13,
288,
202,
2575,
18,
2896,
305,
273,
638,
31,
202,
12336,
5583,
12,
55,
8588,
18,
8097,
16,
871,
1769,
202,
430,
261,
2575,
18... | |
if (atoms[i].getFlag(CDKConstants.ISAROMATIC)) { if (getAromaticCarbonsCount(ac, atoms[i]) == 2) { | if (atoms[i].getFlag(CDKConstants.ISAROMATIC) && aromaticRing) { if (getAromaticCarbonsCount(ac, atoms[i]) >= 2) { | public DescriptorValue calculate(AtomContainer ac) throws CDKException { RingSet rs = (new AllRingsFinder()).findAllRings(ac); HueckelAromaticityDetector.detectAromaticity(ac, rs, true); double xlogP = 0; org.openscience.cdk.interfaces.Atom[] atoms = ac.getAtoms(); String symbol = ""; int bondCount = 0; int hsC... | 1306 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1306/4a5972030c58ddaddae01131565720e9592189d1/XLogPDescriptor.java/clean/src/org/openscience/cdk/qsar/XLogPDescriptor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
12823,
620,
4604,
12,
3641,
2170,
1721,
13,
1216,
24570,
288,
202,
202,
10369,
694,
3597,
273,
261,
2704,
4826,
54,
899,
8441,
1435,
2934,
4720,
1595,
54,
899,
12,
1077,
1769,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
12823,
620,
4604,
12,
3641,
2170,
1721,
13,
1216,
24570,
288,
202,
202,
10369,
694,
3597,
273,
261,
2704,
4826,
54,
899,
8441,
1435,
2934,
4720,
1595,
54,
899,
12,
1077,
1769,
... |
} else if (methodName == VM_MagicNames.wordToInt || | } else if (methodName == VM_MagicNames.wordToInt || | private boolean generateInlineCode(VM_MethodReference methodToBeCalled) { VM_Atom methodName = methodToBeCalled.getName(); if (methodToBeCalled.getType() == VM_TypeReference.SysCall) { VM_TypeReference[] args = methodToBeCalled.getParameterTypes(); // (1) Set up arguments according to OS callin... | 49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/46484f676cdcd68e02973e737d0439677b2bbe16/VM_Compiler.java/buggy/rvm/src/vm/arch/powerPC/compilers/baseline/VM_Compiler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
1250,
225,
2103,
10870,
1085,
12,
7397,
67,
1305,
2404,
707,
15360,
8185,
13,
288,
565,
8251,
67,
3641,
4918,
273,
707,
15360,
8185,
18,
17994,
5621,
1850,
309,
261,
2039,
15360,
81... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1250,
225,
2103,
10870,
1085,
12,
7397,
67,
1305,
2404,
707,
15360,
8185,
13,
288,
565,
8251,
67,
3641,
4918,
273,
707,
15360,
8185,
18,
17994,
5621,
1850,
309,
261,
2039,
15360,
81... |
protected boolean damagePiece ( | protected void damagePiece ( | protected boolean damagePiece ( BangObject bangobj, ArrayList<ChainDamage> damaged, Piece p, int step, IntIntMap dammap) { boolean chain = false; int damage = getBaseDamage(p); chain = (damage == STEAM_DAMAGE); damage += p.damage; damage = Math.min(damage... | 8059 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8059/3ed8240c6ff667a85e41a6197395259d52f3ad60/LightningEffect.java/buggy/src/java/com/threerings/bang/game/data/effect/LightningEffect.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
302,
301,
410,
22607,
261,
5411,
605,
539,
921,
324,
539,
2603,
16,
2407,
32,
3893,
40,
301,
410,
34,
302,
301,
11349,
16,
2398,
453,
8414,
293,
16,
509,
2235,
16,
3094,
17... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
302,
301,
410,
22607,
261,
5411,
605,
539,
921,
324,
539,
2603,
16,
2407,
32,
3893,
40,
301,
410,
34,
302,
301,
11349,
16,
2398,
453,
8414,
293,
16,
509,
2235,
16,
3094,
17... |
source.append((char)ts.IF); int lineno = ts.getLineno(); Object cond = condition(ts, source); source.append((char)ts.LC); source.append((char)ts.EOL); Object ifTrue = statement(ts, source); | sourceAdd((char)ts.IF); int lineno = ts.getLineno(); Object cond = condition(ts); sourceAdd((char)ts.LC); sourceAdd((char)ts.EOL); Object ifTrue = statement(ts); | private Object statementHelper(TokenStream ts, Source source) throws IOException, JavaScriptException { Object pn = null; // If skipsemi == true, don't add SEMI + EOL to source at the // end of this statment. For compound statements, IF/FOR etc. boolean skipsemi = false; ... | 19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/92ccdd736e7a1516e4fb6d1eaf915e7021c8dc95/Parser.java/clean/src/org/mozilla/javascript/Parser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1033,
3021,
2276,
12,
1345,
1228,
3742,
16,
4998,
1084,
13,
3639,
1216,
1860,
16,
11905,
503,
565,
288,
3639,
1033,
11059,
273,
446,
31,
3639,
368,
971,
2488,
307,
9197,
422,
638,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1033,
3021,
2276,
12,
1345,
1228,
3742,
16,
4998,
1084,
13,
3639,
1216,
1860,
16,
11905,
503,
565,
288,
3639,
1033,
11059,
273,
446,
31,
3639,
368,
971,
2488,
307,
9197,
422,
638,
... |
System.err.println("inline makeProc count:"+countMethods+" name:"+name); | public Expression inline (ApplyExp exp) { Expression[] args = exp.getArgs(); int alen = args.length; Expression method = null; int countMethods = 0; String name = null; for (int i = 0; i < alen; i++) { Expression arg = args[i]; Object key; if (arg instanceof QuoteExp && (ke... | 41089 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41089/5507875b45227819138b4ec1c87f7782327df940/MakeProcedure.java/buggy/gnu/kawa/functions/MakeProcedure.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
5371,
6370,
261,
7001,
2966,
1329,
13,
225,
288,
565,
5371,
8526,
833,
273,
1329,
18,
588,
2615,
5621,
565,
509,
524,
275,
273,
833,
18,
2469,
31,
565,
5371,
707,
273,
446,
31,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
5371,
6370,
261,
7001,
2966,
1329,
13,
225,
288,
565,
5371,
8526,
833,
273,
1329,
18,
588,
2615,
5621,
565,
509,
524,
275,
273,
833,
18,
2469,
31,
565,
5371,
707,
273,
446,
31,
... | |
mod.type = "delete"; | protected Modification handleEntry(List historyEntry) { Modification mod = new Modification(); String nameAndDateLine = (String) historyEntry.get(2); mod.userName = parseUser(nameAndDateLine); mod.modifiedTime = parseDate(nameAndDateLine); String folderLine = (String) historyEntry... | 52149 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52149/6c388b514a0547682989734ceba9679338747a3a/VssJournal.java/buggy/main/src/net/sourceforge/cruisecontrol/sourcecontrols/VssJournal.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
3431,
1480,
1640,
1622,
12,
682,
4927,
1622,
13,
288,
3639,
3431,
1480,
681,
273,
394,
3431,
1480,
5621,
3639,
514,
508,
1876,
1626,
1670,
273,
261,
780,
13,
4927,
1622,
18,
588,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
3431,
1480,
1640,
1622,
12,
682,
4927,
1622,
13,
288,
3639,
3431,
1480,
681,
273,
394,
3431,
1480,
5621,
3639,
514,
508,
1876,
1626,
1670,
273,
261,
780,
13,
4927,
1622,
18,
588,
... | |
AST tmp1821_AST_in = (AST)_t; | AST tmp1824_AST_in = (AST)_t; | public final void argfunc(AST _t) throws RecognitionException { AST argfunc_AST_in = (_t == ASTNULL) ? null : (AST)_t; if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case AACBIT: { AST __t310 = _t; AST tmp1735_AST_in = (AST)_t; match(_t,AACBIT); _t = _t.getFirstChild(); funargs(_t); _t = _retT... | 13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/TreeParser03.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparser03/TreeParser03.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1501,
644,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1501,
644,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1501,
644,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1501,
644,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
... |
removeCms(); | public void delete() { if (!canBeDeleted()) { throw new DomainException("error.person.cannot.be.deleted"); } if (hasPersonalPhoto()) { getPersonalPhoto().delete(); } getPersonRoles().clear(); getManageableDepartmentCredits().clear(); getAdvisories().clear(); removeCms(); removeNationality(); removeCountryOf... | 2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/182988833f95e7c1ae4339678cd9495a7641cb03/Person.java/clean/src/net/sourceforge/fenixedu/domain/Person.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1430,
1435,
288,
202,
430,
16051,
4169,
1919,
7977,
10756,
288,
202,
565,
604,
394,
24569,
2932,
1636,
18,
12479,
18,
12892,
18,
2196,
18,
8600,
8863,
202,
97,
202,
430,
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,
918,
1430,
1435,
288,
202,
430,
16051,
4169,
1919,
7977,
10756,
288,
202,
565,
604,
394,
24569,
2932,
1636,
18,
12479,
18,
12892,
18,
2196,
18,
8600,
8863,
202,
97,
202,
430,
261,
... | |
if (newTile != currentMap.getNullTile() && newTile != currentTile) { | if (newTile != currentMap.getNullTile()) { | private void doMouse(MouseEvent event) { if (currentMap == null || currentLayer < 0) { return; } //MapLayerEdit mle; //Component c = e.getComponent(); //System.out.println(e.toString()); //System.out.println(c.getClass().toString()); Point tile = mapView.s... | 6621 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6621/0ccdf044d1c2050a196cba4fd6b891f33510af62/MapEditor.java/clean/tiled/mapeditor/MapEditor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
741,
9186,
12,
9186,
1133,
871,
13,
288,
3639,
309,
261,
2972,
863,
422,
446,
747,
783,
4576,
411,
374,
13,
288,
5411,
327,
31,
3639,
289,
3639,
368,
863,
4576,
4666,
312,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
741,
9186,
12,
9186,
1133,
871,
13,
288,
3639,
309,
261,
2972,
863,
422,
446,
747,
783,
4576,
411,
374,
13,
288,
5411,
327,
31,
3639,
289,
3639,
368,
863,
4576,
4666,
312,
... |
return lm.swaps; | return LocationManager.swaps; | public int getSwaps() { return lm.swaps; } | 50493 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50493/f79658a86e4a0f06462206ea41312edb9ae1f465/Node.java/buggy/src/freenet/node/Node.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
1322,
91,
6679,
1435,
288,
202,
202,
2463,
14966,
18,
5328,
6679,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
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,
509,
1322,
91,
6679,
1435,
288,
202,
202,
2463,
14966,
18,
5328,
6679,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
gd.widthHint = 88; | protected void doFillIntoGrid( Composite parent, int numColumns ) { Control control = getLabelControl( parent ); GridData gd = new GridData( GridData.HORIZONTAL_ALIGN_CENTER ); control.setLayoutData( gd ); bUnderLine = getUnderLinePropControl( parent ); gd = new GridData( ); gd.widthHint = 88; bUnderLine.setLay... | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/2b1a682e7918a41e8fec50be6f1cf2096407d338/DecorationFieldEditor.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/DecorationFieldEditor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
741,
8026,
5952,
6313,
12,
14728,
982,
16,
509,
30109,
262,
202,
95,
202,
202,
3367,
3325,
273,
11237,
3367,
12,
982,
11272,
202,
202,
6313,
751,
15551,
273,
394,
7145,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
741,
8026,
5952,
6313,
12,
14728,
982,
16,
509,
30109,
262,
202,
95,
202,
202,
3367,
3325,
273,
11237,
3367,
12,
982,
11272,
202,
202,
6313,
751,
15551,
273,
394,
7145,
... | |
}catch(NumberFormatException ignored) { } } if (!found) { String[] temp = new String[5]; temp[0] = ""+tempId; selectedId = temp[0]; temp[1] = req.getParameter("country_code"); temp[2] = req.getParameter("area_code"); temp[3] = req.getParameter("local_code"); temp[4] = userId; phonesV.addElement(temp); } } res.sen... | } | public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { String host = req.getHeader("Host") ; IMCServiceInterface imcref = IMCServiceRMI.getIMCServiceInterfaceByHost(host) ; // Lets validate the session if (super.checkSession(req,res) == false) return ; // Lets ... | 8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/a89912bad5f3737c86b424775d95f3bb99aabb10/AdminUserProps.java/clean/servlets/AdminUserProps.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
741,
3349,
12,
2940,
18572,
1111,
16,
12446,
400,
13,
202,
15069,
16517,
16,
1860,
288,
202,
780,
1479,
9506,
202,
33,
1111,
18,
588,
1864,
2932,
2594,
7923,
274,
202,
3445,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
741,
3349,
12,
2940,
18572,
1111,
16,
12446,
400,
13,
202,
15069,
16517,
16,
1860,
288,
202,
780,
1479,
9506,
202,
33,
1111,
18,
588,
1864,
2932,
2594,
7923,
274,
202,
3445,
... |
public void testSelfRegistryThrowsIllegalArgument(){ | public void testSelfRegistryThrowsIllegalArgument() { | public void testSelfRegistryThrowsIllegalArgument(){ DefaultPicoContainer pico = new DefaultPicoContainer(); try { pico.registerComponentInstance(pico); fail("Should not be able to register a container to itself"); } catch (PicoRegistrationException e) { } } | 9344 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9344/ea2e0399811881c95a8fdfc9a563878606dc17ba/AbstractPicoContainerTestCase.java/clean/trunk/java/picocontainer/src/test/org/picocontainer/tck/AbstractPicoContainerTestCase.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
10084,
4243,
21845,
12195,
1379,
1435,
288,
3639,
2989,
52,
10764,
2170,
293,
10764,
273,
394,
2989,
52,
10764,
2170,
5621,
3639,
775,
288,
5411,
293,
10764,
18,
4861,
1841... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10084,
4243,
21845,
12195,
1379,
1435,
288,
3639,
2989,
52,
10764,
2170,
293,
10764,
273,
394,
2989,
52,
10764,
2170,
5621,
3639,
775,
288,
5411,
293,
10764,
18,
4861,
1841... |
try { pushIterator( navigator.getSelfAxisIterator( contextNode ) ); } catch (UnsupportedAxisException e) { } init( contextNode, navigator ); | this.contextNode = contextNode; this.navigator = navigator; | public AncestorOrSelfAxisIterator(Object contextNode, Navigator navigator) { try { pushIterator( navigator.getSelfAxisIterator( contextNode ) ); } catch (UnsupportedAxisException e) { } init( contextNode, ... | 47110 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47110/6408581f63f5f8c1357acf7b22b2bb397155ac4d/AncestorOrSelfAxisIterator.java/buggy/jaxen/src/java/main/org/jaxen/util/AncestorOrSelfAxisIterator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1922,
7248,
1162,
10084,
6558,
3198,
12,
921,
819,
907,
16,
4766,
1377,
423,
13061,
19796,
13,
565,
288,
3639,
775,
3639,
288,
5411,
1817,
3198,
12,
19796,
18,
588,
10084,
6558,
319... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1922,
7248,
1162,
10084,
6558,
3198,
12,
921,
819,
907,
16,
4766,
1377,
423,
13061,
19796,
13,
565,
288,
3639,
775,
3639,
288,
5411,
1817,
3198,
12,
19796,
18,
588,
10084,
6558,
319... |
private void mergePageFile(String resourcename) throws CmsXmlException, CmsImportExportException { try { if (LOG.isDebugEnabled()) { LOG.debug(Messages.get().key(Messages.LOG_IMPORTEXPORT_START_MERGING_1, resourcename)); } // in OpenCms version... | 8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/c7083871cfaaede3aa187a175b34be606d8431f2/CmsImportVersion2.java/buggy/src/org/opencms/importexport/CmsImportVersion2.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2691,
1964,
812,
12,
780,
31174,
1069,
13,
1216,
16084,
503,
16,
2149,
5010,
6144,
503,
288,
3639,
775,
288,
13491,
309,
261,
4842,
18,
291,
2829,
1526,
10756,
288,
7734,
2018,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2691,
1964,
812,
12,
780,
31174,
1069,
13,
1216,
16084,
503,
16,
2149,
5010,
6144,
503,
288,
3639,
775,
288,
13491,
309,
261,
4842,
18,
291,
2829,
1526,
10756,
288,
7734,
2018,... | ||
broker = pool.get(); | broker = pool.get(session.getUser()); | public int xupdateResource( String sessionId, String documentName, String xupdate) throws RemoteException { DBBroker broker = null; Session session = getSession(sessionId); try { broker = pool.get(); Document doc = broker.getDocument(documentName); if (doc == null) throw new RemoteException( "docum... | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/91fb6727d090c3c155ee6b50216353ebcb6eadcd/AdminSoapBindingImpl.java/buggy/src/org/exist/soap/AdminSoapBindingImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
619,
2725,
1420,
12,
202,
202,
780,
10338,
16,
202,
202,
780,
1668,
461,
16,
202,
202,
780,
619,
2725,
13,
202,
202,
15069,
18361,
288,
202,
202,
2290,
11194,
8625,
273,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
619,
2725,
1420,
12,
202,
202,
780,
10338,
16,
202,
202,
780,
1668,
461,
16,
202,
202,
780,
619,
2725,
13,
202,
202,
15069,
18361,
288,
202,
202,
2290,
11194,
8625,
273,
... |
public void mMISC() throws RecognitionException { int MISC_StartIndex = input.index(); try { int type = MISC; int start = getCharIndex(); int line = getLine(); int charPosition = getCharPositionInLine(); int channel = Token.DEFAULT_CHANNEL; ... | 5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/31d63bcc9d3d8766c62d2c237554a38462a57456/RuleParserLexer.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParserLexer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
312,
7492,
2312,
1435,
1216,
9539,
288,
3639,
509,
20806,
2312,
67,
16792,
273,
810,
18,
1615,
5621,
3639,
775,
288,
5411,
509,
618,
273,
20806,
2312,
31,
5411,
509,
787,
273,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
312,
7492,
2312,
1435,
1216,
9539,
288,
3639,
509,
20806,
2312,
67,
16792,
273,
810,
18,
1615,
5621,
3639,
775,
288,
5411,
509,
618,
273,
20806,
2312,
31,
5411,
509,
787,
273,
... | ||
Attr attrib = doc.createAttributeNS(namespace, name); | Attr attrib = namespace != null && namespace.length() > 0 ? doc.createAttributeNS(namespace, name) : doc.createAttribute(name); | public void startElement( String namespaceURI, String localName, String qName, Attributes atts) throws SAXException { // save accumulated character content if (inModification && charBuf.length() > 0) { final String normalized = preserveWhitespace ? charBuf.toString() : charBuf.getNormalizedString(FastStrin... | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/46afda7b5e8f0e1842b30630c1ba56c809b4b4dd/XUpdateProcessor.java/buggy/src/org/exist/xupdate/XUpdateProcessor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
13591,
12,
202,
202,
780,
19421,
16,
202,
202,
780,
11927,
16,
202,
202,
780,
22914,
16,
202,
202,
2498,
15687,
13,
202,
202,
15069,
14366,
288,
202,
202,
759,
1923,
2489... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13591,
12,
202,
202,
780,
19421,
16,
202,
202,
780,
11927,
16,
202,
202,
780,
22914,
16,
202,
202,
2498,
15687,
13,
202,
202,
15069,
14366,
288,
202,
202,
759,
1923,
2489... |
try { Connection con = JDBC2Tests.openDB(); | try { Statement stmt = con.createStatement(); assertEquals(1, stmt.executeUpdate(JDBC2Tests.insertSQL("testdate", "'1950-02-07'"))); assertEquals(1, stmt.executeUpdate(JDBC2Tests.insertSQL("testdate", "'1970-06-02'"))); assertEquals(1, stmt.executeUpdate(JDBC2Tests.insertSQL("testdate", "'1999-08-11'"))); assertEquals... | public void testGetDate() { try { Connection con = JDBC2Tests.openDB(); Statement st=con.createStatement(); JDBC2Tests.createTable(con,"dt date"); st.executeUpdate(JDBC2Tests.insert("'1950-02-07'")); st.executeUpdate(JDBC2Tests.insert("'1970-06-02'")); st.executeUpdate(JDBC2Tests.inse... | 45672 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45672/b75814aee320ef2b67ad01ba72c266dbbf94db45/DateTest.java/buggy/src/interfaces/jdbc/org/postgresql/test/jdbc2/DateTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1842,
967,
1626,
1435,
288,
565,
775,
288,
1377,
4050,
356,
273,
16364,
22,
14650,
18,
3190,
2290,
5621,
1377,
8056,
384,
33,
591,
18,
2640,
3406,
5621,
1377,
16364,
22,
14650,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
967,
1626,
1435,
288,
565,
775,
288,
1377,
4050,
356,
273,
16364,
22,
14650,
18,
3190,
2290,
5621,
1377,
8056,
384,
33,
591,
18,
2640,
3406,
5621,
1377,
16364,
22,
14650,... |
return CONTINUE; } | return CONTINUE; } | public int execute(Object key, Object value, Object arg) { return CONTINUE; } | 49476 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49476/0a7181933af700ea8025a4197f3a5ebcc08333c3/RubyObject.java/buggy/org/jruby/RubyObject.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4697,
202,
482,
509,
1836,
12,
921,
498,
16,
1033,
460,
16,
1033,
1501,
13,
288,
6862,
202,
2463,
8020,
26725,
31,
9506,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
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,
4697,
202,
482,
509,
1836,
12,
921,
498,
16,
1033,
460,
16,
1033,
1501,
13,
288,
6862,
202,
2463,
8020,
26725,
31,
9506,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
long now = System.currentTimeMillis(); if(verifiedIncompatibleOlderVersion || verifiedIncompatibleNewerVersion) { sendHandshakeTime = now + Node.MIN_TIME_BETWEEN_VERSION_SENDS + node.random.nextInt(Node.RANDOMIZED_TIME_BETWEEN_VERSION_SENDS) + node.random.nextInt(Node.RANDOMIZED_TIME_BETWEEN_VERSION_SENDS); } else if(... | long now = -1; synchronized(this) { now = System.currentTimeMillis(); if(verifiedIncompatibleOlderVersion || verifiedIncompatibleNewerVersion) { sendHandshakeTime = now + Node.MIN_TIME_BETWEEN_VERSION_SENDS + node.random.nextInt(Node.RANDOMIZED_TIME_BETWEEN_VERSION_SENDS) + node.random.nextInt(Node.RANDOMIZED_TIME_BET... | public synchronized void sentHandshake() { Logger.debug(this, "sentHandshake(): "+this); long now = System.currentTimeMillis(); if(verifiedIncompatibleOlderVersion || verifiedIncompatibleNewerVersion) { // Let them know we're here, but have no hope of connecting sendHands... | 46731 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46731/3e44bef45be2463a8891c67103daf30bf3bf82a4/PeerNode.java/clean/src/freenet/node/PeerNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
918,
3271,
14545,
1435,
288,
3639,
4242,
18,
4148,
12,
2211,
16,
315,
7569,
14545,
13332,
13773,
2211,
1769,
3639,
1525,
2037,
273,
2332,
18,
2972,
28512,
5621,
3639,
309,
12,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
918,
3271,
14545,
1435,
288,
3639,
4242,
18,
4148,
12,
2211,
16,
315,
7569,
14545,
13332,
13773,
2211,
1769,
3639,
1525,
2037,
273,
2332,
18,
2972,
28512,
5621,
3639,
309,
12,
... |
public Mask createMask(GraphicsNode maskedNode, BridgeContext bridgeContext, Element maskElement, Element maskedElement) { // Get the mask region CSSStyleDeclaration cssDecl = bridgeContext.getViewCSS().g... | 45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/4db4e1ef3d44f26cae3e4fef04040cd441935f5c/SVGMaskElementBridge.java/clean/sources/org/apache/batik/refimpl/bridge/SVGMaskElementBridge.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
16698,
752,
5796,
12,
17558,
907,
225,
13196,
907,
16,
21821,
24219,
1042,
10105,
1042,
16,
21821,
3010,
3066,
1046,
16,
21821,
3010,
13196,
1046,
13,
288,
7734,
368,
968,
326,
3066,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
16698,
752,
5796,
12,
17558,
907,
225,
13196,
907,
16,
21821,
24219,
1042,
10105,
1042,
16,
21821,
3010,
3066,
1046,
16,
21821,
3010,
13196,
1046,
13,
288,
7734,
368,
968,
326,
3066,
... | ||
throw new IllegalStateException("Must be higher than prev: "+num+" "+prevNum); | throw new IllegalStateException("Must be higher than prev: "+num+ ' ' +prevNum); | private synchronized void checkSorted() { long prevNum = -1; for(int i=0;i<Math.min(count, items.length);i++) { NumberedItem item = items[i]; long num = item == null ? -1 : item.getNumber(); if((item != null) && (num < 0)) throw new IllegalStateException... | 56348 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56348/62fd59041864b4ed1f43adc676de6bfb5ea977f3/NumberedRecentItems.java/buggy/src/freenet/support/NumberedRecentItems.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
3852,
918,
866,
11739,
1435,
288,
3639,
1525,
2807,
2578,
273,
300,
21,
31,
3639,
364,
12,
474,
277,
33,
20,
31,
77,
32,
10477,
18,
1154,
12,
1883,
16,
1516,
18,
2469,
1769,
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,
377,
3238,
3852,
918,
866,
11739,
1435,
288,
3639,
1525,
2807,
2578,
273,
300,
21,
31,
3639,
364,
12,
474,
277,
33,
20,
31,
77,
32,
10477,
18,
1154,
12,
1883,
16,
1516,
18,
2469,
1769,
77,... |
if (_address != null && hostname == null) { return _address; } else { Logger.minor(this, "Looking up '"+hostname+"' in DNS"); /* * Peers are constructed from an address once a * handshake has been completed, so this lookup * will only be performed during a handshake * (this method should normally only be called * from... | return addr.getHandshakeAddress(); | public InetAddress getHandshakeAddress() { // Since we're handshaking, hostname-to-IP may have changed if (_address != null && hostname == null) { return _address; } else { Logger.minor(this, "Looking up '"+hostname+"' in DNS"); /* * Peers are constructed from an ad... | 50493 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50493/474d190c633c367c5c3ff7fbe0f75a1ea669294b/Peer.java/buggy/src/freenet/io/comm/Peer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
14218,
336,
14545,
1887,
1435,
288,
202,
565,
368,
7897,
732,
4565,
948,
674,
6159,
16,
5199,
17,
869,
17,
2579,
2026,
1240,
3550,
202,
565,
309,
261,
67,
2867,
480,
446,
597,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14218,
336,
14545,
1887,
1435,
288,
202,
565,
368,
7897,
732,
4565,
948,
674,
6159,
16,
5199,
17,
869,
17,
2579,
2026,
1240,
3550,
202,
565,
309,
261,
67,
2867,
480,
446,
597,... |
} else if (context instanceof IVariable) { IVariable variable = (IVariable) context; ISelection stackSelection = DebugContextManager.getDefault().getActiveContext(getSite().getWorkbenchWindow()); if (stackSelection instanceof IStructuredSelection) { Object stack = ((IStructuredSelection) stackSelection).getFirstElem... | } if (input == null) { ISelection stackSelection = DebugContextManager.getDefault().getActiveContext(getSite().getWorkbenchWindow()); if (stackSelection instanceof IStructuredSelection) { Object selection = ((IStructuredSelection) stackSelection).getFirstElement(); if (selection instanceof IJavaStackFrame) { try { IJ... | protected void setViewerInput(Object context) { Object input = null; if (context instanceof IJavaStackFrame) { try { IJavaObject stackObj = ((IJavaStackFrame) context).getThis(); if ((stackObj != null) && (stackObj.getJavaType() != null) ... | 53688 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53688/eee32a85b57718a7130e381062fb9d92a9e0334f/DroolsDebugEventHandlerView.java/clean/drools-ide/src/main/java/org/drools/ide/debug/DroolsDebugEventHandlerView.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
444,
18415,
1210,
12,
921,
819,
13,
288,
377,
202,
921,
810,
273,
446,
31,
377,
202,
430,
261,
2472,
1276,
467,
5852,
2624,
3219,
13,
288,
5411,
775,
288,
7734,
467,
5852,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
444,
18415,
1210,
12,
921,
819,
13,
288,
377,
202,
921,
810,
273,
446,
31,
377,
202,
430,
261,
2472,
1276,
467,
5852,
2624,
3219,
13,
288,
5411,
775,
288,
7734,
467,
5852,
... |
HClass in[] = ((HClass)uv.elementAt(i)).getInterfaces(); | HClass in[] = uv.get(i).getInterfaces(); | public final boolean isSuperinterfaceOf(HClass hc) { assert _linker == hc._linker || isPrimitive() || hc.isPrimitive(); assert this.isInterface(); UniqueVector uv = new UniqueVector();//unique in case of circularity for ( ; hc!=null; hc = hc.getSuperclass()) uv.addElement(hc); for (int i=0; i<uv.... | 2866 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2866/91db2ae372a24034dde1a708854ac2e5144a541f/HClass.java/buggy/ClassFile/HClass.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
727,
1250,
353,
8051,
5831,
951,
12,
44,
797,
11684,
13,
288,
565,
1815,
389,
1232,
264,
422,
11684,
6315,
1232,
264,
747,
19598,
1435,
747,
11684,
18,
291,
9840,
5621,
565,
1815,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
727,
1250,
353,
8051,
5831,
951,
12,
44,
797,
11684,
13,
288,
565,
1815,
389,
1232,
264,
422,
11684,
6315,
1232,
264,
747,
19598,
1435,
747,
11684,
18,
291,
9840,
5621,
565,
1815,
... |
public URL(String spec) throws MalformedURLException { this((URL) null, spec, (URLStreamHandler) null); | public URL(String protocol, String host, int port, String file) throws MalformedURLException { this(protocol, host, port, file, null); | public URL(String spec) throws MalformedURLException { this((URL) null, spec, (URLStreamHandler) null); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9ce66a563f0f5fab6f343b0309996bee3627787a/URL.java/buggy/core/src/classpath/java/java/net/URL.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1976,
12,
780,
857,
13,
1216,
20710,
288,
3639,
333,
12443,
1785,
13,
446,
16,
857,
16,
261,
1785,
1228,
1503,
13,
446,
1769,
565,
289,
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,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1976,
12,
780,
857,
13,
1216,
20710,
288,
3639,
333,
12443,
1785,
13,
446,
16,
857,
16,
261,
1785,
1228,
1503,
13,
446,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
null, | runtime.getNil(), | public IRubyObject to_proc() { return runtime.iterate( CallbackFactory.getSingletonMethod(RubyMethod.class, "mproc"), null, CallbackFactory.getBlockMethod(RubyMethod.class, "bmcall"), this); } | 46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/76d37f709db398798e5b6a889937559a9e75e062/RubyMethod.java/clean/org/jruby/RubyMethod.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
358,
67,
9381,
1435,
288,
3639,
327,
3099,
18,
18793,
12,
5411,
8444,
1733,
18,
588,
19571,
1305,
12,
54,
10340,
1305,
18,
1106,
16,
315,
81,
9381,
6,
3631,
541... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
358,
67,
9381,
1435,
288,
3639,
327,
3099,
18,
18793,
12,
5411,
8444,
1733,
18,
588,
19571,
1305,
12,
54,
10340,
1305,
18,
1106,
16,
315,
81,
9381,
6,
3631,
541... |
public SimpleDocRef(Set authors, String location) { | public SimpleDocRef(List authors, String location) { | public SimpleDocRef(Set authors, String location) { if (authors==null || authors.isEmpty()) throw new IllegalArgumentException("Authors cannot be null or empty"); if (location==null) throw new IllegalArgumentException("Location cannot be null"); this.crossref = null; this.authors = new H... | 50397 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50397/88640d228841047db8c0dd29d58ebf88063e8cc0/SimpleDocRef.java/clean/src/org/biojavax/SimpleDocRef.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4477,
1759,
1957,
12,
682,
14494,
16,
514,
2117,
13,
288,
3639,
309,
261,
19368,
631,
2011,
747,
14494,
18,
291,
1921,
10756,
604,
394,
2754,
2932,
1730,
1383,
2780,
506,
446,
578,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1759,
1957,
12,
682,
14494,
16,
514,
2117,
13,
288,
3639,
309,
261,
19368,
631,
2011,
747,
14494,
18,
291,
1921,
10756,
604,
394,
2754,
2932,
1730,
1383,
2780,
506,
446,
578,
... |
wrap(new String[] { | fold(new String[] { | public void testParallelPeriod() throws Exception { assertAxisReturns("parallelperiod([Time].[Quarter], 1, [Time].[1998].[Q1])", "[Time].[1997].[Q4]"); assertAxisReturns("parallelperiod([Time].[Quarter], -1, [Time].[1997].[Q1])", "[Time].[1997].[Q2]"); assertAxisRe... | 51263 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51263/bb703add381acf854e2d5aed1045911b7ab143b4/FunctionTest.java/clean/testsrc/main/mondrian/olap/fun/FunctionTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
13056,
5027,
1435,
1216,
1185,
288,
3639,
1815,
6558,
1356,
2932,
1065,
454,
1602,
2386,
3816,
950,
8009,
63,
928,
14153,
6487,
404,
16,
306,
950,
8009,
63,
19818,
28,
80... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13056,
5027,
1435,
1216,
1185,
288,
3639,
1815,
6558,
1356,
2932,
1065,
454,
1602,
2386,
3816,
950,
8009,
63,
928,
14153,
6487,
404,
16,
306,
950,
8009,
63,
19818,
28,
80... |
pages++; | public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { response.setContentType("text/html; charset=utf-8"); if(isBogus != null) { PrintWriter out = response.getWriter(); out.println("<html>"); ou... | 27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/e43915ec846c0cc836e388e9a95f377ffa188dd8/SurveyMain.java/clean/tools/java/org/unicode/cldr/web/SurveyMain.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
23611,
12,
2940,
18572,
590,
16,
12446,
766,
13,
565,
1216,
1860,
16,
16517,
565,
288,
3639,
766,
18,
542,
8046,
2932,
955,
19,
2620,
31,
4856,
33,
3158,
17,
28,
8863,
7734,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
23611,
12,
2940,
18572,
590,
16,
12446,
766,
13,
565,
1216,
1860,
16,
16517,
565,
288,
3639,
766,
18,
542,
8046,
2932,
955,
19,
2620,
31,
4856,
33,
3158,
17,
28,
8863,
7734,
... | |
List sortedNodes = lattice.sortNodes(); Iterator i = sortedNodes.iterator(); | Collection nodes = lattice.nodes.values(); Iterator i = nodes.iterator(); | public Sausage makeSausage() { //TODO: this first loop should be taken out as soon as node have //proper starting times without it. Iterator n = lattice.getNodes().iterator(); while (n.hasNext()) { ((Node)n.next()).calculateBeginTime(); } Vector clusters = new Ve... | 48839 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48839/878af02c24c319eaf33da251329664cff2ccb2cb/SausageMaker.java/buggy/sphinx4/edu/cmu/sphinx/result/SausageMaker.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
348,
69,
9167,
1221,
55,
69,
9167,
1435,
288,
3639,
368,
6241,
30,
333,
1122,
2798,
1410,
506,
9830,
596,
487,
17136,
487,
756,
1240,
3639,
368,
22754,
5023,
4124,
2887,
518,
18,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
348,
69,
9167,
1221,
55,
69,
9167,
1435,
288,
3639,
368,
6241,
30,
333,
1122,
2798,
1410,
506,
9830,
596,
487,
17136,
487,
756,
1240,
3639,
368,
22754,
5023,
4124,
2887,
518,
18,
... |
if(_debug) { | if(_log.isDebugEnabled()) { | private void processPersistenceMgrEntry(Entity manager) { String agent = manager.getName(); if(!_agents.contains(agent)) { AddressEntry entry = null; try { // look up the agent's info in the white pages entry = _wps.get(agent, WhitePagesUtil.WP_HTTP_TYPE); if(_debug) { _log.debug("address entry ... | 12869 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12869/119b9e4242e09518b33291f1eb55ffddda8d4a63/PersistenceMgrPolicyServiceImpl.java/clean/securityservices/src/org/cougaar/core/security/dataprotection/PersistenceMgrPolicyServiceImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1207,
13182,
9455,
1622,
12,
1943,
3301,
13,
288,
1377,
514,
4040,
273,
3301,
18,
17994,
5621,
1377,
309,
12,
5,
67,
23560,
18,
12298,
12,
5629,
3719,
288,
202,
1887,
1622,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1207,
13182,
9455,
1622,
12,
1943,
3301,
13,
288,
1377,
514,
4040,
273,
3301,
18,
17994,
5621,
1377,
309,
12,
5,
67,
23560,
18,
12298,
12,
5629,
3719,
288,
202,
1887,
1622,
1... |
problemView.selectCategoryField(groupingField, problemView .getMarkerAdapter().getCategorySorter()); getMarkerAdapter().getCategorySorter().saveState( getDialogSettings()); | if (isChecked()) { Job categoryJob = new Job(MarkerMessages.ProblemView_UpdateCategoryJob) { /* (non-Javadoc) * @see org.eclipse.core.runtime.jobs.Job#run(org.eclipse.core.runtime.IProgressMonitor) */ protected IStatus run(IProgressMonitor monitor) { try { markerProcessJob.join(); } catch (InterruptedException e) { ret... | public void run() { problemView.selectCategoryField(groupingField, problemView .getMarkerAdapter().getCategorySorter()); getMarkerAdapter().getCategorySorter().saveState( getDialogSettings()); } | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/8f673499d4aff638154657f99aaacae03fd203a6/ProblemView.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/ProblemView.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
1086,
1435,
288,
1082,
202,
18968,
1767,
18,
4025,
4457,
974,
12,
25592,
974,
16,
6199,
1767,
6862,
202,
18,
588,
7078,
4216,
7675,
588,
4457,
24952,
10663,
1082,
202,
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,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
1086,
1435,
288,
1082,
202,
18968,
1767,
18,
4025,
4457,
974,
12,
25592,
974,
16,
6199,
1767,
6862,
202,
18,
588,
7078,
4216,
7675,
588,
4457,
24952,
10663,
1082,
202,
588... |
if (element.getTextRange().getEndOffset() == element.getPsi().getContainingFile().getTextLength()) | if (element.getTextRange().getEndOffset() == element.getPsi().getContainingFile().getTextLength()) { | private static boolean hasNonEmptyNext(final ASTNode element) { ASTNode current = element.getTreeNext(); while (current != null) { if (current.getTextLength() > 0) { return true; } if (current.getElementType() == ElementType.WHITE_SPACE) { return false; } current = current... | 12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/69cbdaa6919556b1e5e8c90f2564d9f88fb7549f/CodeEditUtil.java/buggy/source/com/intellij/psi/impl/source/codeStyle/CodeEditUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
1250,
711,
23176,
2134,
12,
6385,
9183,
907,
930,
13,
288,
565,
9183,
907,
783,
273,
930,
18,
588,
2471,
2134,
5621,
565,
1323,
261,
2972,
480,
446,
13,
288,
1377,
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,
282,
3238,
760,
1250,
711,
23176,
2134,
12,
6385,
9183,
907,
930,
13,
288,
565,
9183,
907,
783,
273,
930,
18,
588,
2471,
2134,
5621,
565,
1323,
261,
2972,
480,
446,
13,
288,
1377,
309,
261,
... |
if (msgBox) { | if (osm instanceof Node) { String reason = deleteNodeAndJoinSegment((Node)osm); if (reason != null && msgBox) { JOptionPane.showMessageDialog(Main.parent, "Cannot delete node. "+reason); return; } } else if (msgBox) { | private void delete(Collection<OsmPrimitive> selection, boolean msgBox) { Collection<OsmPrimitive> del = new HashSet<OsmPrimitive>(); for (OsmPrimitive osm : selection) { CollectBackReferencesVisitor v = new CollectBackReferencesVisitor(Main.ds); osm.visit(v); if (!selection.containsAll(v.data)) { if (msgBo... | 2204 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2204/d1708eb3caf2beef8ea823068878cbfd80d8ca72/DeleteAction.java/buggy/src/org/openstreetmap/josm/actions/mapmode/DeleteAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1430,
12,
2532,
32,
51,
4808,
9840,
34,
4421,
16,
1250,
1234,
3514,
13,
288,
202,
202,
2532,
32,
51,
4808,
9840,
34,
1464,
273,
394,
6847,
32,
51,
4808,
9840,
34,
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,
1152,
918,
1430,
12,
2532,
32,
51,
4808,
9840,
34,
4421,
16,
1250,
1234,
3514,
13,
288,
202,
202,
2532,
32,
51,
4808,
9840,
34,
1464,
273,
394,
6847,
32,
51,
4808,
9840,
34,
5621... |
if (!shouldDeferToOverridePath(foundExtension.getDescriptor(), | if (!isOverridingExtensionInSet(foundExtension.getDescriptor(), | private Object[] internalGetChildren(Object aParentElementOrPath) { Object aParentElement = internalAsElement(aParentElementOrPath); Set enabledExtensions = contentService .findContentExtensionsByTriggerPoint(aParentElement); if (enabledExtensions.size() == 0) { return NO_CHILDREN; } ContributorTrackingSet f... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/760f9bf6c2e4d21502cb533a888c5fe64e58bdf8/NavigatorContentServiceContentProvider.java/buggy/bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/internal/navigator/NavigatorContentServiceContentProvider.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1033,
8526,
2713,
967,
4212,
12,
921,
279,
3054,
1046,
16383,
13,
288,
202,
202,
921,
279,
3054,
1046,
273,
2713,
1463,
1046,
12,
69,
3054,
1046,
16383,
1769,
202,
202,
694,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1033,
8526,
2713,
967,
4212,
12,
921,
279,
3054,
1046,
16383,
13,
288,
202,
202,
921,
279,
3054,
1046,
273,
2713,
1463,
1046,
12,
69,
3054,
1046,
16383,
1769,
202,
202,
694,
... |
setAltKey(null); | private void evaluateExpressions() throws JspException { try { setAccesskey((String) evalAttr("accessKey", getAccesskey(), String.class)); } catch (NullAttributeException ex) { setAccesskey(null); } try { setAlt((... | 48068 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48068/db064e19656421b94aaf753550935d95f44bd5f9/ELTextTag.java/buggy/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELTextTag.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
5956,
8927,
1435,
1216,
27485,
288,
3639,
775,
288,
5411,
444,
1862,
856,
12443,
780,
13,
5302,
3843,
2932,
3860,
653,
3113,
21909,
856,
9334,
4766,
6647,
514,
18,
1106,
10019,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
5956,
8927,
1435,
1216,
27485,
288,
3639,
775,
288,
5411,
444,
1862,
856,
12443,
780,
13,
5302,
3843,
2932,
3860,
653,
3113,
21909,
856,
9334,
4766,
6647,
514,
18,
1106,
10019,
... | |
if (labelText.length() <= underlinedChar) | if (labelText != null && labelText.length() <= underlinedChar) | public void setText(String text) { if (text != labelText) { String oldText = labelText; labelText = text; firePropertyChange(TEXT_CHANGED_PROPERTY, oldText, labelText); if (labelText.length() <= underlinedChar) setDisplayedMnemonicIndex(labelText.length() - 1); } } | 25337 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25337/14511e3ad21013e92c6399b2bd2ec09a8263e33a/JLabel.java/buggy/libjava/javax/swing/JLabel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
7883,
12,
780,
977,
13,
225,
288,
565,
309,
261,
955,
480,
1433,
1528,
13,
1377,
288,
202,
780,
1592,
1528,
273,
1433,
1528,
31,
202,
1925,
1528,
273,
977,
31,
202,
12179,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7883,
12,
780,
977,
13,
225,
288,
565,
309,
261,
955,
480,
1433,
1528,
13,
1377,
288,
202,
780,
1592,
1528,
273,
1433,
1528,
31,
202,
1925,
1528,
273,
977,
31,
202,
12179,
... |
if ((tpcalleventcriteria.CallEventName | byte0) == byte0){ return;} | if ((tpcalleventcriteria.CallEventName | byte0) == byte0) { return; } | private void callEventCriteria(TpCallEventCriteria tpcalleventcriteria) throws P_INVALID_CRITERIA, P_INVALID_EVENT_TYPE { if (tpcalleventcriteria.MonitorMode == TpCallMonitorMode.P_CALL_MONITOR_MODE_DO_NOT_MONITOR) throw new P_INVALID_CRITERIA("DO_NOT_MONITOR is invalid here"); byte byte0 = 6; if ((tpcalleventc... | 9163 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9163/84d21abd4bd3ae80642f1ce9e4de17a57ea87a27/IpCallControlManagerImpl.java/buggy/gccs/src/group5/server/IpCallControlManagerImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
745,
1133,
7231,
12,
56,
84,
1477,
1133,
7231,
8071,
771,
298,
616,
9714,
13,
1082,
202,
15069,
453,
67,
9347,
67,
5093,
11844,
15188,
16,
453,
67,
9347,
67,
10454,
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,
225,
202,
1152,
918,
745,
1133,
7231,
12,
56,
84,
1477,
1133,
7231,
8071,
771,
298,
616,
9714,
13,
1082,
202,
15069,
453,
67,
9347,
67,
5093,
11844,
15188,
16,
453,
67,
9347,
67,
10454,
67,
... |
if(_children == null) update(); | if (_children == null) update(); | public Enumeration children() { if(_children == null) update(); return new EnumerationAdapter(_children.iterator()); } | 7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/UMLMetaclassInstanceTreeNode.java/buggy/src_new/org/argouml/uml/ui/UMLMetaclassInstanceTreeNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
13864,
2325,
1435,
288,
3639,
309,
261,
67,
5906,
422,
446,
13,
1089,
5621,
3639,
327,
394,
13864,
4216,
24899,
5906,
18,
9838,
10663,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
13864,
2325,
1435,
288,
3639,
309,
261,
67,
5906,
422,
446,
13,
1089,
5621,
3639,
327,
394,
13864,
4216,
24899,
5906,
18,
9838,
10663,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-10... |
public void initIO() | public void init () | public void init() { add(new FeedbackLoop() { public void init() { setDelay(2); setJoiner(WEIGHTED_ROUND_ROBIN(0, 1)); setBody(new Filter() { Channel input = ... | 47772 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47772/e4e63e1768c1661823f004fc6e0b62737906e716/Fib2.java/buggy/streams/apps/examples/fib/Fib2.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1208,
1435,
565,
288,
3639,
527,
12,
2704,
14013,
823,
6452,
1435,
5411,
288,
7734,
1071,
918,
1208,
1435,
7734,
288,
10792,
444,
6763,
12,
22,
1769,
10792,
444,
4572,
264,
12,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1208,
1435,
565,
288,
3639,
527,
12,
2704,
14013,
823,
6452,
1435,
5411,
288,
7734,
1071,
918,
1208,
1435,
7734,
288,
10792,
444,
6763,
12,
22,
1769,
10792,
444,
4572,
264,
12,... |
if (step.getMpUsed() > entity.getRunMP(false)) { | if (step.getMpUsed() > entity.getRunMP(false) && !step.isOnlyPavement()) { | private String doPSRCheck(MovePath md) { StringBuffer nagReport = new StringBuffer(); final Entity entity = ce(); // okay, proceed with movement calculations Coords lastPos = entity.getPosition(); Coords curPos = entity.getPosition(); int curFacing = entity.getFacing(); ... | 4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/32f1d4022f1eca3c83e1c5b35ea1c1ef18372b0a/MovementDisplay.java/buggy/megamek/src/megamek/client/ui/AWT/MovementDisplay.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
514,
741,
5857,
54,
1564,
12,
7607,
743,
3481,
13,
288,
3639,
6674,
290,
346,
4820,
273,
394,
6674,
5621,
3639,
727,
3887,
1522,
273,
5898,
5621,
3639,
368,
21194,
16,
11247,
598,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
741,
5857,
54,
1564,
12,
7607,
743,
3481,
13,
288,
3639,
6674,
290,
346,
4820,
273,
394,
6674,
5621,
3639,
727,
3887,
1522,
273,
5898,
5621,
3639,
368,
21194,
16,
11247,
598,
... |
"B", 1, "-B <classifier specification>")); | "W", 1, "-W <classifier specification>")); | public Enumeration listOptions() { Vector newVector = new Vector(4); newVector.addElement(new Option( "\tFull class name of classifier to use, followed\n" + "\tby scheme options. (required)\n" + "\teg: \"weka.classifiers.bayes.NaiveBayes -D\"", "B", 1, "-B <classifier specification>")); ... | 4773 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4773/cfd8086e0d1d71e78afaf5aa4cbaacfc6756880e/AdditiveRegression.java/buggy/weka/classifiers/meta/AdditiveRegression.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
13864,
666,
1320,
1435,
288,
565,
5589,
394,
5018,
273,
394,
5589,
12,
24,
1769,
565,
394,
5018,
18,
1289,
1046,
12,
2704,
2698,
12,
202,
1377,
1548,
88,
5080,
667,
508,
434,
1462... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13864,
666,
1320,
1435,
288,
565,
5589,
394,
5018,
273,
394,
5589,
12,
24,
1769,
565,
394,
5018,
18,
1289,
1046,
12,
2704,
2698,
12,
202,
1377,
1548,
88,
5080,
667,
508,
434,
1462... |
public boolean isEnabled() { return false; } | public boolean isEnabled() { return Component.this.isEnabled(); } | public boolean isEnabled() { return false; } | 47947 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47947/fb0219dcce2e53020800c655562b5f7351b0579b/Component.java/clean/java/awt/Component.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
12047,
1435,
288,
327,
629,
31,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
12047,
1435,
288,
327,
629,
31,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
return filter.testAttribute(object, name, value); } | return filter.testAttribute(object, name, value); } | private boolean preciselyMatches(Object object) { // Get the action filter. IActionFilter filter = getActionFilter(object); if (filter == null) return false; // Run the action filter. return filter.testAttribute(object, name, value); } | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/5cfb5f88a049bbc9efcf0fade7d5687d0ec50ed3/ActionExpression.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ActionExpression.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
1250,
13382,
291,
2357,
6869,
12,
921,
733,
13,
288,
5411,
368,
968,
326,
1301,
1034,
18,
5411,
467,
1803,
1586,
1034,
273,
12473,
1586,
12,
1612,
1769,
5411,
309,
261,
2188,
422,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
1250,
13382,
291,
2357,
6869,
12,
921,
733,
13,
288,
5411,
368,
968,
326,
1301,
1034,
18,
5411,
467,
1803,
1586,
1034,
273,
12473,
1586,
12,
1612,
1769,
5411,
309,
261,
2188,
422,
... |
log.info( "#######################################" ); log.info( "starting test server " + getName() ); | log.debug( "#######################################" ); log.debug( "starting test server " + getName() ); | public void start() throws Exception { log.info( "#######################################" ); log.info( "starting test server " + getName() ); Dispatcher dispatcher = getMasterDispatcher(); this.runner.setTestServerName( getName() ); if (dispatcher == null) { throw new MissingPrope... | 4523 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4523/c2bb4286b0028cde19d8c4c590aef29b984fc132/TestServer.java/clean/sysunit-old/src/java/org/sysunit/command/test/TestServer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
787,
1435,
1216,
1185,
288,
3639,
613,
18,
1376,
12,
315,
10140,
1970,
13151,
6,
11272,
3639,
613,
18,
1376,
12,
315,
18526,
1842,
1438,
315,
397,
1723,
1435,
11272,
377,
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,
377,
1071,
918,
787,
1435,
1216,
1185,
288,
3639,
613,
18,
1376,
12,
315,
10140,
1970,
13151,
6,
11272,
3639,
613,
18,
1376,
12,
315,
18526,
1842,
1438,
315,
397,
1723,
1435,
11272,
377,
202,
... |
public org.quickfix.field.AgreementDesc getAgreementDesc() throws FieldNotFound { org.quickfix.field.AgreementDesc value = new org.quickfix.field.AgreementDesc(); | public quickfix.field.AgreementDesc getAgreementDesc() throws FieldNotFound { quickfix.field.AgreementDesc value = new quickfix.field.AgreementDesc(); | public org.quickfix.field.AgreementDesc getAgreementDesc() throws FieldNotFound { org.quickfix.field.AgreementDesc value = new org.quickfix.field.AgreementDesc(); getField(value); return value; } | 8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/QuoteStatusRequest.java/clean/src/java/src/quickfix/fix44/QuoteStatusRequest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
17420,
4217,
336,
17420,
4217,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
17420,
4217,
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,
17420,
4217,
336,
17420,
4217,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
17420,
4217,
460,
273,
394,
2358,
18,
19525,... |
test.add(new Integer(0)); int nonExp = 0; | test.add(new Integer(-1)); int nonExp = -1; | public void testNulls(){ // Each method should return a null or an empty set as appropriate //TODO getHb().findCGCIHierarchies( ); //TODO generate OMENullData(); and use it here. //TODO OMEData toString(); Set test = new HashSet(); test.add(new Integer(0)); // Non-e... | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/2bc67970abd041b6cb8e0252d02a6e27f304bec4/AbstractOmeroHierarchyBrowserIntegrationTest.java/buggy/components/common/src/org/openmicroscopy/omero/tests/AbstractOmeroHierarchyBrowserIntegrationTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
31326,
1435,
95,
3639,
368,
8315,
707,
1410,
327,
279,
446,
578,
392,
1008,
444,
487,
5505,
3639,
368,
6241,
7628,
70,
7675,
4720,
20585,
7266,
44,
5148,
606,
12,
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,
377,
1071,
918,
1842,
31326,
1435,
95,
3639,
368,
8315,
707,
1410,
327,
279,
446,
578,
392,
1008,
444,
487,
5505,
3639,
368,
6241,
7628,
70,
7675,
4720,
20585,
7266,
44,
5148,
606,
12,
202,
... |
if (majorCode < 0 || majorCode >= fgMessageKeys.length) { | if ( majorCode < 0 || majorCode >= fgMessageKeys.length ) { | public String createMessage(Locale locale, int majorCode, int minorCode, Object args[]) { boolean throwex = false; if (fResourceBundle == null || locale != fLocale) { if (locale != null) fResourceBundle = ListResourceBundle.getBundle("org.apache.xerces.msg.DatatypeMessages", ... | 4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/38d73cf7c0d35586a71e68d0fe233c425d82b6bd/DatatypeMessageProvider.java/buggy/src/org/apache/xerces/validators/datatype/DatatypeMessageProvider.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
23836,
12,
3916,
2573,
16,
509,
7888,
1085,
16,
509,
8439,
1085,
16,
1033,
833,
63,
5717,
288,
3639,
1250,
604,
338,
273,
629,
31,
3639,
309,
261,
74,
18731,
422,
446,
747,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
23836,
12,
3916,
2573,
16,
509,
7888,
1085,
16,
509,
8439,
1085,
16,
1033,
833,
63,
5717,
288,
3639,
1250,
604,
338,
273,
629,
31,
3639,
309,
261,
74,
18731,
422,
446,
747,
... |
public void visitArgsCatNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitArgsCatNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitArgsCatNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 46770 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46770/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/clean/org/jruby/nodes/NodeVisitorAdapter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
2615,
11554,
907,
12,
907,
277,
30019,
13,
202,
95,
202,
202,
11658,
12,
77,
30019,
1769,
202,
202,
19574,
12,
77,
30019,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
2615,
11554,
907,
12,
907,
277,
30019,
13,
202,
95,
202,
202,
11658,
12,
77,
30019,
1769,
202,
202,
19574,
12,
77,
30019,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
... |
"examples.DataOperationWithBindVariables"); | "examples.DataOperationWithBindVariables"); | public void testDataOperationWithBindVariables() { DataOperation operation = getSession(). retrieveDataOperation("examples.DataOperationWithBindVariables"); // neither variable being bound should throw a PersistenceException try { operation.execute(); fail("c... | 12196 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12196/558097820abc0198518796cedde797658cda9a5e/DataOperationTest.java/clean/archive/core-platform/test/src/com/arsdigita/persistence/DataOperationTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
751,
2988,
1190,
3357,
6158,
1435,
288,
3639,
1910,
2988,
1674,
273,
7183,
7675,
5411,
4614,
751,
2988,
2932,
16858,
18,
751,
2988,
1190,
3357,
6158,
8863,
6647,
368,
15826... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
751,
2988,
1190,
3357,
6158,
1435,
288,
3639,
1910,
2988,
1674,
273,
7183,
7675,
5411,
4614,
751,
2988,
2932,
16858,
18,
751,
2988,
1190,
3357,
6158,
8863,
6647,
368,
15826... |
try { st.executeUpdate("drop table "+getTableName()); } catch(SQLException se) { } st.executeUpdate("create table "+getTableName()+" ("+columns+")"); st.close(); } catch(SQLException ex) { | st.executeUpdate( "create table " + table + " (" + columns + ")" ); } finally { st.close(); } } catch(SQLException ex) { | public static void closeDB(Connection conn) { try { if(conn!=null) conn.close(); } catch(SQLException ex) { TestCase.assert(ex.getMessage(),false); } } /** * Helper - creates a test table for use by a test */ public static void createTable(Connection conn,String columns) { try { ... | 11803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11803/b6385efb7907e1aefe65a699bb1fcc115d98ee23/JDBC2Tests.java/buggy/src/interfaces/jdbc/org/postgresql/test/JDBC2Tests.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
918,
1746,
2290,
12,
1952,
1487,
13,
288,
565,
775,
288,
1377,
309,
12,
4646,
5,
33,
2011,
13,
3639,
1487,
18,
4412,
5621,
565,
289,
1044,
12,
23116,
431,
13,
288,
1377,
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,
282,
1071,
760,
918,
1746,
2290,
12,
1952,
1487,
13,
288,
565,
775,
288,
1377,
309,
12,
4646,
5,
33,
2011,
13,
3639,
1487,
18,
4412,
5621,
565,
289,
1044,
12,
23116,
431,
13,
288,
1377,
77... |
svb.insert(0, "VERSION " + (String) value); | if (svb != null) { svb.insert(11, (String) value); } else { svb = new StringBuffer("VERSION " + (String) value); } | public void addSequenceProperty(Object key, Object value) throws ParseException { if (key.equals("LOCUS")) { idb.setLength(0); idb.append("LOCUS " + (String) value); } else if (key.equals("TYPE")) { typeb.append(value); } else if (key.equa... | 50397 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50397/bf69c9573e2503a92677f8ae9a3b42c128555ff2/GenpeptFileFormer.java/clean/src/org/biojava/bio/seq/io/GenpeptFileFormer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
527,
4021,
1396,
12,
921,
498,
16,
1033,
460,
13,
202,
15069,
10616,
565,
288,
3639,
309,
261,
856,
18,
14963,
2932,
29450,
3378,
6,
3719,
288,
5411,
612,
70,
18,
542,
1782,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4021,
1396,
12,
921,
498,
16,
1033,
460,
13,
202,
15069,
10616,
565,
288,
3639,
309,
261,
856,
18,
14963,
2932,
29450,
3378,
6,
3719,
288,
5411,
612,
70,
18,
542,
1782,
... |
assertEquals( ((IASTVariable)node.getCompletionContext()).getName(), "b" ); | assertEquals( ((IASTVariable)node.getCompletionContext()).getName(), "b" ); | public void testMemberCompletion_Arrow() throws Exception { StringWriter writer = new StringWriter(); writer.write( "class A {" ); writer.write( " public: void aPublicBaseMethod();" ); writer.write( " private: void aPrivateBaseMethod();" ); writer.write( "};" ); writer.write( "class B : public A {" ); wr... | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/d730ff0f947954910a1a59eb5fe977d0983fd23e/CompletionParseTest.java/buggy/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/CompletionParseTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
4419,
11238,
67,
18691,
1435,
1216,
1185,
202,
95,
202,
202,
780,
2289,
2633,
273,
394,
17436,
5621,
202,
202,
6299,
18,
2626,
12,
315,
1106,
432,
12528,
11272,
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,
1842,
4419,
11238,
67,
18691,
1435,
1216,
1185,
202,
95,
202,
202,
780,
2289,
2633,
273,
394,
17436,
5621,
202,
202,
6299,
18,
2626,
12,
315,
1106,
432,
12528,
11272,
202,
... |
if (end == 0) { current = null; } else { final int b = base; for (int i = 0; i < end; i++) docs[i] += b; return end; | if (end == 0) { current = null; } else { final int b = base; for (int i = 0; i < end; i++) docs[i] += b; return end; | public int read(final int[] docs, final int[] freqs) throws IOException { while (true) { while (current == null) { if (pointer < readers.length) { // try next segment base = starts[pointer]; current = termDocs(pointer++); } else { return 0; } } int end = current.read(docs, freqs); ... | 1514 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1514/b48c75c33cbc8f4834834d931f10db5c0db0af6b/MultiReader.java/clean/src/java/org/apache/lucene/index/MultiReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
855,
12,
6385,
509,
8526,
3270,
16,
727,
509,
8526,
24423,
13,
1377,
1216,
1860,
288,
565,
1323,
261,
3767,
13,
288,
1377,
1323,
261,
2972,
422,
446,
13,
288,
202,
430,
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,
282,
1071,
509,
855,
12,
6385,
509,
8526,
3270,
16,
727,
509,
8526,
24423,
13,
1377,
1216,
1860,
288,
565,
1323,
261,
3767,
13,
288,
1377,
1323,
261,
2972,
422,
446,
13,
288,
202,
430,
261,
... |
case -25: break; case 25: | case -26: break; case 26: | public void _locateToken () { char yy_lookahead; int yy_anchor = YY_NO_ANCHOR; int yy_state = yy_state_dtrans[yy_lexical_state]; int yy_next_state = YY_NO_STATE; int yy_last_accept_state = YY_NO_STATE; boolean yy_initial = true; int yy_this_accept; yy_buffer_start = yy_buffer_index; yy_this_accept = yy_acpt[y... | 56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/c7233dd393dd7afda01bf11ff3d6591ed94a1b01/_HtmlLexer.java/buggy/source/com/intellij/lexer/_HtmlLexer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
389,
25450,
1345,
1832,
288,
202,
202,
3001,
9016,
67,
7330,
11617,
31,
202,
202,
474,
9016,
67,
16215,
273,
1624,
61,
67,
3417,
67,
20360,
916,
31,
202,
202,
474,
9016,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
389,
25450,
1345,
1832,
288,
202,
202,
3001,
9016,
67,
7330,
11617,
31,
202,
202,
474,
9016,
67,
16215,
273,
1624,
61,
67,
3417,
67,
20360,
916,
31,
202,
202,
474,
9016,
... |
if (QueryFilters.isRawField(field)) { | if (this.queryFilters.isRawField(field)) { | final public ArrayList phrase(String field) throws ParseException { int start; int end; ArrayList result = new ArrayList(); String term; jj_consume_token(QUOTE); start = token.endColumn; label_2: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case PLUS: case MINUS: case COL... | 1316 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1316/329ff64e9d7295aff108f85e9a8103f5e5f8f398/NutchAnalysis.java/clean/src/java/org/apache/nutch/analysis/NutchAnalysis.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
1071,
2407,
13045,
12,
780,
652,
13,
1216,
10616,
288,
225,
509,
787,
31,
225,
509,
679,
31,
225,
2407,
563,
273,
394,
2407,
5621,
225,
514,
2481,
31,
565,
10684,
67,
21224,
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,
282,
727,
1071,
2407,
13045,
12,
780,
652,
13,
1216,
10616,
288,
225,
509,
787,
31,
225,
509,
679,
31,
225,
2407,
563,
273,
394,
2407,
5621,
225,
514,
2481,
31,
565,
10684,
67,
21224,
67,
... |
if (s == null || m == null || m.getCacheTree() == null) { return; } | if (s == null || m == null || m.getCacheTree() == null) { return; } | private void add(final Map tomerge, final IResource toAdd) throws CoreException { final GitProjectData pd = GitProjectData.get(toAdd.getProject()); IResource r = toAdd; String s = null; RepositoryMapping m = null; while (r != null) { m = pd.getRepositor... | 45532 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45532/a4e486719ce78b8050373e6534dfaf4a1572b269/TrackOperation.java/clean/org.spearce.egit.core/src/org/spearce/egit/core/op/TrackOperation.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
527,
12,
6385,
1635,
358,
2702,
16,
727,
467,
1420,
25607,
13,
3639,
1216,
30015,
565,
288,
3639,
727,
6646,
4109,
751,
4863,
273,
6646,
4109,
751,
18,
588,
12,
869,
986,
18,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
527,
12,
6385,
1635,
358,
2702,
16,
727,
467,
1420,
25607,
13,
3639,
1216,
30015,
565,
288,
3639,
727,
6646,
4109,
751,
4863,
273,
6646,
4109,
751,
18,
588,
12,
869,
986,
18,... |
} | } | public BufferedImage openImage(String id, int no) throws FormatException, IOException { if (!id.equals(currentId)) initFile(id); if (no < 0 || no >= getImageCount(id)) { throw new FormatException("Invalid image number: " + no); } if (DEBUG) System.out.println("Reading image #" + no + "..."); Z... | 46826 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46826/f8fea5aec2de454fd84e68759019ac47d99be52a/LegacyZVIReader.java/buggy/loci/formats/LegacyZVIReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
12362,
1696,
2040,
12,
780,
612,
16,
509,
1158,
13,
565,
1216,
4077,
503,
16,
1860,
225,
288,
565,
309,
16051,
350,
18,
14963,
12,
2972,
548,
3719,
1208,
812,
12,
350,
1769,
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,
12362,
1696,
2040,
12,
780,
612,
16,
509,
1158,
13,
565,
1216,
4077,
503,
16,
1860,
225,
288,
565,
309,
16051,
350,
18,
14963,
12,
2972,
548,
3719,
1208,
812,
12,
350,
1769,
565,
... |
long usedMemory = Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory(); System.out.println("Used memory: " + usedMemory + " bytes"); System.out.print("Enter words: "); } Timer timer = Timer.getTimer("test", "lookup trigram"); List list1 = new ArrayList(); WordSequence ws1 = new WordSequence("t", ... | if (false) { long usedMemory = Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory(); System.out.println("Used memory: " + usedMemory + " bytes"); System.out.print("Enter words: "); } | public static void main(String[] args) throws Exception { String propsPath; if (args.length == 0) { propsPath = "file:./binary.props"; } else { propsPath = args[0]; } Timer.start("LM Load"); SphinxProperties.initContext("test", new URL(propsPath)); ... | 52185 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52185/ef368666f7102af27d133f38694b695495bc2f80/LargeTrigramModelTest.java/clean/edu/cmu/sphinx/knowledge/language/large/LargeTrigramModelTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
1216,
1185,
288,
3639,
514,
3458,
743,
31,
540,
309,
261,
1968,
18,
2469,
422,
374,
13,
288,
5411,
3458,
743,
273,
315,
768,
13147,
19,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
1216,
1185,
288,
3639,
514,
3458,
743,
31,
540,
309,
261,
1968,
18,
2469,
422,
374,
13,
288,
5411,
3458,
743,
273,
315,
768,
13147,
19,
8... |
final org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane()); | final GroupLayout layout = new GroupLayout(getContentPane()); | private void initComponents() { label = new javax.swing.JLabel(); close = new javax.swing.JButton(); openDetails = new javax.swing.JButton(); scrollPane = new javax.swing.JScrollPane(); exceptionArea = new javax.swing.JTextArea(); label.setText(exception.getLocalizedMessage... | 56011 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56011/31ac93248cfda78f3322a313ae68a9b11c4c62ac/VExceptionDialog.java/buggy/trunk/src/java/unikn/dbis/univis/exception/VExceptionDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1208,
7171,
1435,
288,
3639,
1433,
273,
394,
6863,
18,
5328,
310,
18,
46,
2224,
5621,
3639,
1746,
273,
394,
6863,
18,
5328,
310,
18,
46,
3616,
5621,
3639,
1696,
3790,
273,
39... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1208,
7171,
1435,
288,
3639,
1433,
273,
394,
6863,
18,
5328,
310,
18,
46,
2224,
5621,
3639,
1746,
273,
394,
6863,
18,
5328,
310,
18,
46,
3616,
5621,
3639,
1696,
3790,
273,
39... |
public RegexExpression(String regex) { this.regex = regex; | public RegexExpression(Expression gstring) { this.gstring = gstring; | public RegexExpression(String regex) { this.regex = regex; } | 6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/5ec6b5e86b7cbc71dc2341217c153ed60698df56/RegexExpression.java/clean/src/main/org/codehaus/groovy/ast/expr/RegexExpression.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15078,
2300,
12,
780,
3936,
13,
288,
3639,
333,
18,
7584,
273,
3936,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15078,
2300,
12,
780,
3936,
13,
288,
3639,
333,
18,
7584,
273,
3936,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
buf.append(((RubyString)tmp).getValue()); | buf.append(((RubyString)tmp).toString()); | public RubyString join(RubyString sep) { StringBuffer buf = new StringBuffer(); int length = getLength(); if (length == 0) { getRuntime().newString(""); } boolean taint = isTaint() || sep.isTaint(); RubyString str; IRubyObject tmp = null; for (long ... | 46258 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46258/9f2efc63a858fa0507245b207025eab027840a04/RubyArray.java/clean/src/org/jruby/RubyArray.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
780,
1233,
12,
54,
10340,
780,
5478,
13,
288,
3639,
6674,
1681,
273,
394,
6674,
5621,
3639,
509,
769,
273,
9888,
5621,
3639,
309,
261,
2469,
422,
374,
13,
288,
5411,
18814,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
780,
1233,
12,
54,
10340,
780,
5478,
13,
288,
3639,
6674,
1681,
273,
394,
6674,
5621,
3639,
509,
769,
273,
9888,
5621,
3639,
309,
261,
2469,
422,
374,
13,
288,
5411,
18814,
... |
case 579: { | case 580: { | public void ruleAction(int ruleNumber) { if (bad_rule != 0) return; switch (ruleNumber) { // // Rule 1: identifier ::= IDENTIFIER // case 1: { if (prsStream.getKind(btParser.getToken(1)) != X10Parsersym.TK_IDENTIFIER && (Re... | 1832 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1832/0c6c148f7be6e4cc0e87c12a307232047c894d1b/X10Parser.java/buggy/x10.compiler/src/x10/parser/X10Parser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1720,
1803,
12,
474,
1720,
1854,
13,
565,
288,
3639,
309,
261,
8759,
67,
5345,
480,
374,
13,
5411,
327,
31,
3639,
1620,
261,
5345,
1854,
13,
3639,
288,
2398,
368,
5411,
368,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1720,
1803,
12,
474,
1720,
1854,
13,
565,
288,
3639,
309,
261,
8759,
67,
5345,
480,
374,
13,
5411,
327,
31,
3639,
1620,
261,
5345,
1854,
13,
3639,
288,
2398,
368,
5411,
368,
... |
return false; } | boolean isDestinationSameAsSource(IContainer destination, List sourceResources) { for (Iterator e = sourceResources.iterator(); e.hasNext();) { IResource source = (IResource)e.next(); if (source.getParent().equals(destination)) { return true; } } return false;} | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/bf752ac27dbe2a869d9900197181599a8561dc6a/CopyResourceAction.java/buggy/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/actions/CopyResourceAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1250,
353,
5683,
8650,
1463,
1830,
12,
45,
2170,
2929,
16,
987,
1084,
3805,
13,
288,
202,
1884,
261,
3198,
425,
273,
1084,
3805,
18,
9838,
5621,
425,
18,
5332,
2134,
5621,
13,
288,
202,
202,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1250,
353,
5683,
8650,
1463,
1830,
12,
45,
2170,
2929,
16,
987,
1084,
3805,
13,
288,
202,
1884,
261,
3198,
425,
273,
1084,
3805,
18,
9838,
5621,
425,
18,
5332,
2134,
5621,
13,
288,
202,
202,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.