rem stringlengths 1 53.3k | add stringlengths 0 80.5k | context stringlengths 6 326k | meta stringlengths 141 403 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|---|
delete( new File( basedir, ".project" ) ); delete( new File( basedir, ".classpath" ) ); delete( new File( basedir, ".wtpmodules" ) ); | delete( new File( basedir, FILE_DOT_PROJECT ) ); delete( new File( basedir, FILE_DOT_CLASSPATH ) ); delete( new File( basedir, FILE_DOT_WTPMODULES ) ); delete( new File( basedir, DIR_DOT_SETTINGS ) ); | public void execute() throws MojoExecutionException { delete( new File( basedir, ".project" ) ); delete( new File( basedir, ".classpath" ) ); delete( new File( basedir, ".wtpmodules" ) ); } | 51807 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51807/4fa86ec4af5c6e918fff7250161556e4b3f0e1d8/EclipseCleanMojo.java/clean/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipseCleanMojo.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1836,
1435,
3639,
1216,
18780,
565,
288,
3639,
1430,
12,
394,
1387,
12,
15573,
16,
3552,
4406,
6,
262,
11272,
3639,
1430,
12,
394,
1387,
12,
15573,
16,
3552,
26302,
6,
262,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1836,
1435,
3639,
1216,
18780,
565,
288,
3639,
1430,
12,
394,
1387,
12,
15573,
16,
3552,
4406,
6,
262,
11272,
3639,
1430,
12,
394,
1387,
12,
15573,
16,
3552,
26302,
6,
262,
1... |
tuple[3] = r.getBoolean(2) ? "f".getBytes() : "t".getBytes(); | tuple[3] = r.getBoolean(2) ? "false".getBytes() : "true".getBytes(); | public java.sql.ResultSet getIndexInfo(String catalog, String schema, String tableName, boolean unique, boolean approximate) throws SQLException { Field f[] = new Field[13]; java.sql.ResultSet r; // ResultSet for the SQL query that we need to do Vector v = new Vector(); // The new ResultSet tuple stuff f[0] = new... | 2413 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2413/2a4a8f53325e860d0d60d4f7ad8666b88ef7d64a/DatabaseMetaData.java/buggy/org/postgresql/jdbc1/DatabaseMetaData.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2252,
18,
4669,
18,
13198,
8088,
966,
12,
780,
6222,
16,
514,
1963,
16,
514,
4775,
16,
1250,
3089,
16,
1250,
21204,
13,
1216,
6483,
202,
95,
202,
202,
974,
284,
8526,
273,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2252,
18,
4669,
18,
13198,
8088,
966,
12,
780,
6222,
16,
514,
1963,
16,
514,
4775,
16,
1250,
3089,
16,
1250,
21204,
13,
1216,
6483,
202,
95,
202,
202,
974,
284,
8526,
273,
3... |
private void setDocInfo() { | private void setDocInfo() throws MalformedURLException { | private void setDocInfo() { List<Source> metadata = endpointInfo.getMetadata(); if (metadata != null) { Map<String, DocInfo> newMetadata = new HashMap<String, DocInfo>(); Transformer transformer = XmlUtil.newTransformer(); for(Source source: metadata) { ... | 9667 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9667/57b943f32c0b7336fd96040f3ff511250e6d55c3/HttpEndpoint.java/clean/jaxws-ri/rt/src/com/sun/xml/ws/transport/http/server/HttpEndpoint.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
444,
30923,
1435,
1216,
20710,
288,
3639,
987,
32,
1830,
34,
1982,
273,
2494,
966,
18,
588,
2277,
5621,
3639,
309,
261,
4165,
480,
446,
13,
288,
5411,
1635,
32,
780,
16,
3521... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
444,
30923,
1435,
1216,
20710,
288,
3639,
987,
32,
1830,
34,
1982,
273,
2494,
966,
18,
588,
2277,
5621,
3639,
309,
261,
4165,
480,
446,
13,
288,
5411,
1635,
32,
780,
16,
3521... |
if (in.charAt(0)=='-') | if (in.charAt(0)=='-' && !in.startsWith("--")) | private static String[] getEraDatetimeZone(String in) { String leader = ""; String datetime = in; String zone = ""; if (in.charAt(0)=='-') { leader = "-"; // '+' is implicit , not allowed datetime = in.substring(1); } int z = getZoneStart(datetime); if (z > ... | 46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/586e26dc30781a2320127c59ab59b55edd225c0d/ExsltDatetime.java/clean/src/org/apache/xalan/lib/ExsltDatetime.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
514,
8526,
4774,
354,
16103,
4226,
12,
780,
316,
13,
565,
288,
1377,
514,
10302,
273,
1408,
31,
1377,
514,
3314,
273,
316,
31,
1377,
514,
4157,
273,
1408,
31,
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,
377,
3238,
760,
514,
8526,
4774,
354,
16103,
4226,
12,
780,
316,
13,
565,
288,
1377,
514,
10302,
273,
1408,
31,
1377,
514,
3314,
273,
316,
31,
1377,
514,
4157,
273,
1408,
31,
1377,
309,
261,... |
if (tw.state == TriggerWrapper.STATE_BLOCKED) | if (tw.state == TriggerWrapper.STATE_BLOCKED) { | public int getTriggerState(SchedulingContext ctxt, String triggerName, String groupName) throws JobPersistenceException { TriggerWrapper tw = (TriggerWrapper) triggersByFQN.get(TriggerWrapper .getTriggerNameKey(triggerName, groupName)); if (tw == null) return Trigger.STATE_NO... | 55677 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55677/cf7f5f77ce5bb6364145230d302b86f1cdadea88/RAMJobStore.java/clean/src/java/org/quartz/simpl/RAMJobStore.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
336,
6518,
1119,
12,
25401,
1042,
14286,
16,
514,
3080,
461,
16,
5411,
514,
11619,
13,
1216,
3956,
13182,
503,
288,
3639,
11321,
3611,
2339,
273,
261,
6518,
3611,
13,
11752,
85... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
336,
6518,
1119,
12,
25401,
1042,
14286,
16,
514,
3080,
461,
16,
5411,
514,
11619,
13,
1216,
3956,
13182,
503,
288,
3639,
11321,
3611,
2339,
273,
261,
6518,
3611,
13,
11752,
85... |
{ | { | public void execute () throws BuildException { // Make sure the template path is set. if (templatePath == null && useClasspath == false) { throw new BuildException( "The template path needs to be defined if you are not using " + "the classpath ... | 55820 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55820/89173502837b4d67a69cd30d0b93cf47ed84c8cc/TexenTask.java/clean/src/java/org/apache/velocity/texen/ant/TexenTask.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1836,
1832,
3639,
1216,
18463,
565,
288,
3639,
368,
4344,
3071,
326,
1542,
589,
353,
444,
18,
3639,
309,
261,
3202,
743,
422,
446,
597,
999,
17461,
422,
629,
13,
3639,
288,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1836,
1832,
3639,
1216,
18463,
565,
288,
3639,
368,
4344,
3071,
326,
1542,
589,
353,
444,
18,
3639,
309,
261,
3202,
743,
422,
446,
597,
999,
17461,
422,
629,
13,
3639,
288,
5... |
public synchronized Entry[] toArray() { | public Entry[] toArray() { | public synchronized Entry[] toArray() { Entry[] array = new Entry[fCurrentSize]; Entry e = fOldest; for (int i = 0; i < array.length; i++) { array[i] = e; e = e.fNewer; } return array; } | 48482 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48482/d3bba4266f35b585495a603d2b7a2630e87ff6c4/History.java/buggy/de.walware.statet.nico.core/src/de/walware/statet/nico/core/runtime/History.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3852,
3841,
8526,
4434,
1435,
288,
9506,
202,
1622,
8526,
526,
273,
394,
3841,
63,
74,
3935,
1225,
15533,
202,
202,
1622,
425,
273,
284,
7617,
395,
31,
3196,
202,
1884,
261,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3852,
3841,
8526,
4434,
1435,
288,
9506,
202,
1622,
8526,
526,
273,
394,
3841,
63,
74,
3935,
1225,
15533,
202,
202,
1622,
425,
273,
284,
7617,
395,
31,
3196,
202,
1884,
261,
4... |
return 0; | return offsets.getStartingOffset(); | public int getStartingOffset() { // TODO Auto-generated method stub return 0; } | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/5a0369683c183e148f3c496273fb138a89fe9911/ASTTemplateDeclaration.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/ast/complete/ASTTemplateDeclaration.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
8635,
310,
2335,
1435,
565,
288,
3639,
368,
2660,
8064,
17,
11168,
707,
7168,
4202,
327,
8738,
18,
588,
11715,
2335,
5621,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
8635,
310,
2335,
1435,
565,
288,
3639,
368,
2660,
8064,
17,
11168,
707,
7168,
4202,
327,
8738,
18,
588,
11715,
2335,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
public void criticalize(AtomicSpinlock lock) { synchronized (criticalLock) { criticalized = true; // if already stopped, don't increment spinlock // it will either decriticalize before waking or criticalize when it wakes if (!isStopped) { spinlock = lock; spinlock.increment(); } } } | 50993 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50993/9e1b6d27bad7a8896eac3ecfc0e89131016d1f85/RubyThread.java/clean/src/org/jruby/RubyThread.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
6459,
28000,
554,
12,
23102,
3389,
267,
739,
739,
15329,
202,
202,
22043,
12,
28000,
2531,
15329,
1082,
202,
28000,
1235,
33,
3767,
31,
25083,
202,
759,
430,
287,
896,
1094,
556... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
6459,
28000,
554,
12,
23102,
3389,
267,
739,
739,
15329,
202,
202,
22043,
12,
28000,
2531,
15329,
1082,
202,
28000,
1235,
33,
3767,
31,
25083,
202,
759,
430,
287,
896,
1094,
556... | ||
JMeterContextService.getContext().getVariables().put( c.getName(), c.getValue()); | if(JMeterContextService.getContext().isSamplingStarted()) { JMeterContextService.getContext().getVariables().put(c.getName(),c.getValue()); } | public void add(Cookie c) { getCookies().addItem(c); JMeterContextService.getContext().getVariables().put( c.getName(), c.getValue()); } | 50179 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50179/8e422b2a77bf29a5cde85107ec8ef08cb077aad5/CookieManager.java/clean/src/protocol/http/org/apache/jmeter/protocol/http/control/CookieManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
527,
12,
6151,
276,
13,
565,
288,
3639,
1927,
5389,
7675,
1289,
1180,
12,
71,
1769,
3639,
804,
16935,
1042,
1179,
18,
29120,
7675,
588,
6158,
7675,
458,
12,
5411,
276,
18,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
527,
12,
6151,
276,
13,
565,
288,
3639,
1927,
5389,
7675,
1289,
1180,
12,
71,
1769,
3639,
804,
16935,
1042,
1179,
18,
29120,
7675,
588,
6158,
7675,
458,
12,
5411,
276,
18,
17... |
protected AbstractFrame initActions(){ searchField.getDocument().addDocumentListener(new DocumentListener(){ private void update(){ if (!searchField.getText().equals(searchField.getHint())) transactionFilter.setFilterText(searchField.getText()); else transactionFilter.setFilterText(""); filtere... | 58048 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58048/afeacfb9452ec3aec82af99cd4f447a19cfa9af2/TransactionsFrame.java/buggy/src/org/homeunix/drummer/controller/TransactionsFrame.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
4115,
3219,
1208,
6100,
1435,
95,
202,
202,
3072,
974,
18,
588,
2519,
7675,
1289,
2519,
2223,
12,
2704,
4319,
2223,
1435,
95,
1082,
202,
1152,
918,
1089,
1435,
95,
9506,
202,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
4115,
3219,
1208,
6100,
1435,
95,
202,
202,
3072,
974,
18,
588,
2519,
7675,
1289,
2519,
2223,
12,
2704,
4319,
2223,
1435,
95,
1082,
202,
1152,
918,
1089,
1435,
95,
9506,
202,
... | ||
cat2task2.setPriority(MylarTaskListPlugin.PriorityLevel.P2.toString()); | cat2task2.setPriority(Task.PriorityLevel.P2.toString()); | public void setUp() throws PartInitException { try { MylarTaskListPlugin.getDefault().getWorkbench().getActiveWorkbenchWindow().getActivePage().showView( "org.eclipse.mylar.tasks.ui.views.TaskListView"); TaskListManager manager = MylarTaskListPlugin.getTaskListManager(); cat1 = new TaskCategory("First Categ... | 51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/248aabd9e7778a78210100fdb20a0c30d368f480/TaskListUiTest.java/clean/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasklist/tests/TaskListUiTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
24292,
1435,
1216,
6393,
2570,
503,
288,
202,
202,
698,
288,
1082,
202,
12062,
7901,
2174,
682,
3773,
18,
588,
1868,
7675,
588,
2421,
22144,
7675,
588,
3896,
2421,
22144,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
24292,
1435,
1216,
6393,
2570,
503,
288,
202,
202,
698,
288,
1082,
202,
12062,
7901,
2174,
682,
3773,
18,
588,
1868,
7675,
588,
2421,
22144,
7675,
588,
3896,
2421,
22144,
3... |
usableSkills.add( skill ); break; | usableSkills.add( skill ); break; | public static void addAvailableSkill( UseSkillRequest skill ) { if ( availableSkills.contains( skill ) ) return; availableSkills.add( skill ); switch ( ClassSkillsDatabase.getSkillType( skill.getSkillID() ) ) { case ClassSkillsDatabase.PASSIVE: // Flavour of Magic gives you access to five other // castab... | 50364 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50364/eb8203b0add11024f00f9d7ed2ad7b2b63269aab/KoLCharacter.java/buggy/src/net/sourceforge/kolmafia/KoLCharacter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
527,
5268,
9030,
12,
2672,
9030,
691,
15667,
262,
202,
95,
202,
202,
430,
261,
2319,
20057,
18,
12298,
12,
15667,
262,
262,
1082,
202,
2463,
31,
202,
202,
5699,
2005... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
527,
5268,
9030,
12,
2672,
9030,
691,
15667,
262,
202,
95,
202,
202,
430,
261,
2319,
20057,
18,
12298,
12,
15667,
262,
262,
1082,
202,
2463,
31,
202,
202,
5699,
2005... |
osd.getDataSetRepresentation( ) ) ); | osd.getDataSetRepresentation( ), i ) ); | private Vector getConvertedOrthogonalSampleDataRepresentation( EList osdList, ArrayList axisTypes ) { Vector vNewOrthogonalSampleData = new Vector( ); for ( int i = 0; i < osdList.size( ); i++ ) { OrthogonalSampleData osd = (OrthogonalSampleData) osdList.get( i ); osd.setDataSetRepresentation( ChartUIUtil.get... | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/4ce1e97aa23d1fe4046bd76743f3c5f90658bab6/BarChart.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/type/BarChart.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
5589,
336,
22063,
1162,
451,
28396,
8504,
751,
13742,
12,
1082,
202,
41,
682,
1140,
72,
682,
16,
2407,
2654,
2016,
262,
202,
95,
202,
202,
5018,
331,
1908,
1162,
451,
28396,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5589,
336,
22063,
1162,
451,
28396,
8504,
751,
13742,
12,
1082,
202,
41,
682,
1140,
72,
682,
16,
2407,
2654,
2016,
262,
202,
95,
202,
202,
5018,
331,
1908,
1162,
451,
28396,
... |
public synchronized void removedContainer(PlatformEvent ev) { ContainerID cid = ev.getContainer(); String name = cid.getName(); // Remove the location from the location list mobilityMgr.removeLocation(name); // Fire a 'container is dead' event RemovedContainer rc = new RemovedContainer(); rc.setC... | 5505 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5505/e9e084dffe3460855e417f83226a577df7918061/ams.java/clean/src/jade/domain/ams.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
3852,
918,
3723,
2170,
12,
8201,
1133,
2113,
13,
288,
565,
4039,
734,
7504,
273,
2113,
18,
588,
2170,
5621,
565,
514,
508,
273,
7504,
18,
17994,
5621,
565,
368,
3581,
326,
2117,
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,
282,
1071,
3852,
918,
3723,
2170,
12,
8201,
1133,
2113,
13,
288,
565,
4039,
734,
7504,
273,
2113,
18,
588,
2170,
5621,
565,
514,
508,
273,
7504,
18,
17994,
5621,
565,
368,
3581,
326,
2117,
6... | ||
oracle.sql.BLOB blob = ((OracleResultSet)res).getBLOB(m_cq.C_USERS_USER_INFO); byte[] value = new byte[(int) blob.length()]; | oracle.sql.BLOB blob = ((OracleResultSet)res).getBLOB(m_cq.C_USERS_USER_INFO); byte[] value = new byte[(int) blob.length()]; | public Vector getUsers(int type) throws CmsException { //System.out.println("PL/SQL: getUsers"); Vector users = new Vector(); PreparedStatement statement = null; Connection con = null; ResultSet res = null; try { statement = con.prepareStatement(m_cq.C_USERS_GETUSERS); statement.setInt(1,type); res ... | 51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/2650e41d0ec3cf443ac9d32172a68296418865b7/CmsDbAccess.java/clean/src/com/opencms/file/oracleplsql/CmsDbAccess.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
5589,
27564,
12,
474,
618,
13,
3196,
202,
15069,
11228,
288,
202,
202,
759,
3163,
18,
659,
18,
8222,
2932,
6253,
19,
3997,
30,
27564,
8863,
202,
202,
5018,
3677,
273,
394,
558... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5589,
27564,
12,
474,
618,
13,
3196,
202,
15069,
11228,
288,
202,
202,
759,
3163,
18,
659,
18,
8222,
2932,
6253,
19,
3997,
30,
27564,
8863,
202,
202,
5018,
3677,
273,
394,
558... |
userId = (String) session.getAttribute("AdminUser.user_id" ) ; Properties currUserInfo = getUserInfoDB(imcref, userId) ; | userId = (String)session.getAttribute( "AdminUser.user_id" ); Properties currUserInfo = getUserInfoDB( imcref, userId ); | public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { IMCServiceInterface imcref = ApplicationServer.getIMCServiceInterface() ; // Lets get an user object String userId = null ; // Get the session HttpSession session = req.getSession(true) ; // ... | 8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/ebf0781020199f986e0621851cc0ceaef92969e2/UserChangePrefs.java/clean/server/src/com/imcode/imcms/servlet/UserChangePrefs.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
741,
3349,
12,
2940,
18572,
1111,
16,
12446,
400,
13,
5411,
1216,
16517,
16,
1860,
288,
3639,
6246,
39,
18348,
709,
71,
1734,
273,
4257,
2081,
18,
588,
3445,
39,
18348,
1435,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5411,
1216,
16517,
16,
1860,
288,
3639,
6246,
39,
18348,
709,
71,
1734,
273,
4257,
2081,
18,
588,
3445,
39,
18348,
1435,
... |
if ( startPoint >= endPoint || startPoint == -1 ) | if ( startPoint == -1 && endPoint == -1 ) return new char[0]; else if ( startPoint >= endPoint || startPoint == -1 ) | private char[] getParameterDefinitionChars( String sqlTxt, char escaper ) throws OdaException { char[] temp = sqlTxt.toCharArray( ); int startPoint = -1; int endPoint = -1; boolean validBracket = true; for ( int i = temp.length - 1; i >= 0; i-- ) { if ( i > 0 && temp[i - 1] == escaper ) continue; if ( v... | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/81cdf978f479d0e1c483b600ca534403a6dce086/SPParameterPositionUtil.java/buggy/data/org.eclipse.birt.report.data.oda.jdbc/src/org/eclipse/birt/report/data/oda/jdbc/SPParameterPositionUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1149,
8526,
5575,
1852,
7803,
12,
514,
1847,
21811,
16,
1149,
2904,
7294,
262,
1082,
202,
15069,
531,
2414,
503,
202,
95,
202,
202,
3001,
8526,
1906,
273,
1847,
21811,
18,
869,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1149,
8526,
5575,
1852,
7803,
12,
514,
1847,
21811,
16,
1149,
2904,
7294,
262,
1082,
202,
15069,
531,
2414,
503,
202,
95,
202,
202,
3001,
8526,
1906,
273,
1847,
21811,
18,
869,... |
if (stepMeta!=null) return stepMeta.getStepID(); | if (stepMeta != null) return stepMeta.getStepID(); | public String getStepID() { if (stepMeta!=null) return stepMeta.getStepID(); return null; } | 58146 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58146/648a567c65474805f079f0175535239c031d705f/BaseStep.java/buggy/kettle/src/be/ibridge/kettle/trans/step/BaseStep.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
30909,
734,
1435,
565,
288,
3639,
309,
261,
4119,
2781,
480,
446,
13,
327,
2235,
2781,
18,
588,
4160,
734,
5621,
3639,
327,
446,
31,
565,
289,
2,
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,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
30909,
734,
1435,
565,
288,
3639,
309,
261,
4119,
2781,
480,
446,
13,
327,
2235,
2781,
18,
588,
4160,
734,
5621,
3639,
327,
446,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100... |
return eDynamicIsSet( eFeature ); | return super.eIsSet( featureID ); | public boolean eIsSet( EStructuralFeature eFeature ) { switch ( eDerivedStructuralFeatureID( eFeature ) ) { case AttributePackage.GRADIENT__TYPE : return isSetType( ); case AttributePackage.GRADIENT__START_COLOR : return startColor != null; case AttributePackage.GRADIENT__END_COLOR : return endColor !... | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/036e8c78765730b146e5854b9d6c397a296fed86/GradientImpl.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/impl/GradientImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
20372,
12,
512,
14372,
4595,
425,
4595,
262,
202,
95,
202,
202,
9610,
261,
425,
21007,
14372,
4595,
734,
12,
425,
4595,
262,
262,
202,
202,
95,
1082,
202,
3593,
3601,
22... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
20372,
12,
512,
14372,
4595,
425,
4595,
262,
202,
95,
202,
202,
9610,
261,
425,
21007,
14372,
4595,
734,
12,
425,
4595,
262,
262,
202,
202,
95,
1082,
202,
3593,
3601,
22... |
org.exist.xquery.parser.XQueryAST tmp303_AST = null; tmp303_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp303_AST); | org.exist.xquery.parser.XQueryAST tmp311_AST = null; tmp311_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.addASTChild(currentAST, tmp311_AST); | public final void elementWithoutAttributes() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); org.exist.xquery.parser.XQueryAST elementWithoutAttributes_AST = null; org.exist.xquery.parser.XQueryAST q_AST = null; org.exist.xquery.parser.XQueryAST content_... | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/ddc6ab496ae303f007a96cb80352f3352974cbcf/XQueryParser.java/clean/src/org/exist/xquery/parser/XQueryParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
930,
8073,
2498,
1435,
1216,
9539,
16,
3155,
1228,
503,
288,
9506,
202,
2463,
9053,
273,
446,
31,
202,
202,
9053,
4154,
783,
9053,
273,
394,
9183,
4154,
5621,
202,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
930,
8073,
2498,
1435,
1216,
9539,
16,
3155,
1228,
503,
288,
9506,
202,
2463,
9053,
273,
446,
31,
202,
202,
9053,
4154,
783,
9053,
273,
394,
9183,
4154,
5621,
202,
2... |
} else if (availTimeLeft < 30 * 1000) { | if (_log.shouldLog(Log.DEBUG)) _log.debug("** sendBestEffort only had " + oldTags + " with " + availTimeLeft + ", adding 50"); } else if (availTimeLeft < 2 * 60 * 1000) { | private boolean sendBestEffort(Destination dest, byte payload[], SessionKey keyUsed, Set tagsSent) throws I2PSessionException { SessionKey key = _context.sessionKeyManager().getCurrentKey(dest.getPublicKey()); if (key == null) key = _context.sessionKeyManager().createSession(dest.ge... | 27493 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27493/603bc99a2f9c1e4cd44901596a42e538f7567979/I2PSessionImpl2.java/buggy/core/java/src/net/i2p/client/I2PSessionImpl2.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
1366,
14173,
41,
1403,
499,
12,
5683,
1570,
16,
1160,
2385,
63,
6487,
3877,
653,
498,
6668,
16,
1000,
2342,
7828,
13,
10792,
1216,
467,
22,
52,
2157,
503,
288,
3639,
3877,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1250,
1366,
14173,
41,
1403,
499,
12,
5683,
1570,
16,
1160,
2385,
63,
6487,
3877,
653,
498,
6668,
16,
1000,
2342,
7828,
13,
10792,
1216,
467,
22,
52,
2157,
503,
288,
3639,
3877,
6... |
boolean ignoreCase, boolean reverseSearch, boolean beanshell, BshMethod replaceMethod) | boolean ignoreCase, boolean beanshell, BshMethod replaceMethod) | public BoyerMooreSearchMatcher(String pattern, String replace, boolean ignoreCase, boolean reverseSearch, boolean beanshell, BshMethod replaceMethod) { if (ignoreCase) this.pattern = pattern.toUpperCase().toCharArray(); else this.pattern = pattern.toCharArray(); if (reverseSearch) { char[] tmp = new char[t... | 6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/020bdcb2f585f2db688d1dce0835d6f9a0bfb860/BoyerMooreSearchMatcher.java/buggy/org/gjt/sp/jedit/search/BoyerMooreSearchMatcher.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
605,
13372,
264,
16727,
479,
2979,
6286,
12,
780,
1936,
16,
514,
1453,
16,
202,
202,
6494,
27681,
16,
1250,
4219,
2979,
16,
202,
202,
6494,
15709,
76,
1165,
16,
605,
674,
1305... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
605,
13372,
264,
16727,
479,
2979,
6286,
12,
780,
1936,
16,
514,
1453,
16,
202,
202,
6494,
27681,
16,
1250,
4219,
2979,
16,
202,
202,
6494,
15709,
76,
1165,
16,
605,
674,
1305... |
int tibOffset = klass.getTibOffset(); | Offset tibOffset = klass.getTibOffset(); | private void genSynchronizedMethodEpilogue () { if (method.isStatic()) { // put java.lang.Class for VM_Type into T0 int tibOffset = klass.getTibOffset(); asm.emitLAddrToc(T0, tibOffset); asm.emitLAddr(T0, 0, T0); asm.emitLAddr(T0, VM_Entrypoints.classForTypeField.getOffset(), T0); } else { ... | 5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/3a1409586ed0fc007c4120f3a96d6f7a1ae3593c/VM_QuickCompiler.java/buggy/rvm/src/vm/arch/powerPC/compilers/quick/VM_QuickCompiler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
3157,
55,
15666,
1305,
18918,
21947,
344,
1832,
288,
565,
309,
261,
2039,
18,
291,
5788,
10756,
288,
368,
1378,
2252,
18,
4936,
18,
797,
364,
8251,
67,
559,
1368,
399,
20,
13... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
3157,
55,
15666,
1305,
18918,
21947,
344,
1832,
288,
565,
309,
261,
2039,
18,
291,
5788,
10756,
288,
368,
1378,
2252,
18,
4936,
18,
797,
364,
8251,
67,
559,
1368,
399,
20,
13... |
if (showSelections() && !showChildrenHierarchy()) return IResource.DEPTH_ZERO; | if (showSelections() && !showChildrenHierarchy()) { return IResource.DEPTH_ZERO; } | int getResourceDepth() { if (showSelections() && !showChildrenHierarchy()) return IResource.DEPTH_ZERO; return IResource.DEPTH_INFINITE; } | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/TaskList.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/tasklist/TaskList.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
509,
5070,
6148,
1435,
288,
3639,
309,
261,
4500,
29913,
1435,
597,
401,
4500,
4212,
12074,
10756,
5411,
327,
467,
1420,
18,
27479,
67,
24968,
31,
3639,
327,
467,
1420,
18,
27479,
67,
706... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
509,
5070,
6148,
1435,
288,
3639,
309,
261,
4500,
29913,
1435,
597,
401,
4500,
4212,
12074,
10756,
5411,
327,
467,
1420,
18,
27479,
67,
24968,
31,
3639,
327,
467,
1420,
18,
27479,
67,
706... |
public Object execute(URIResolver uriResolver, Object context, VariableContextImpl variableContext) { | public Object execute(URIResolver uriResolver, Object context, VariableContextImpl variableContext, DocumentContext documentContext) { | public Object execute(URIResolver uriResolver, Object context, VariableContextImpl variableContext) { if (select == null && statements.length == 0) { return null; } else if (select != null) { return Utils.evaluate(uriResolver, context, variableContext, getLocationData(), select, ... | 54445 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54445/d806a39459dae4e0952f05860297e8edce1d2b2f/Param.java/buggy/src/java/org/orbeon/oxf/transformer/xupdate/statement/Param.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1836,
12,
3098,
4301,
2003,
4301,
16,
1033,
819,
16,
7110,
1042,
2828,
2190,
1042,
16,
4319,
1042,
1668,
1042,
13,
288,
3639,
309,
261,
4025,
422,
446,
597,
6317,
18,
2469,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1836,
12,
3098,
4301,
2003,
4301,
16,
1033,
819,
16,
7110,
1042,
2828,
2190,
1042,
16,
4319,
1042,
1668,
1042,
13,
288,
3639,
309,
261,
4025,
422,
446,
597,
6317,
18,
2469,
... |
stringContent.append(")"); | stringContent.append(')'); | public String toString() { StringBuffer stringContent = new StringBuffer(); stringContent.append("SingleElectron("); stringContent.append(this.hashCode()); if (atom != null) { stringContent.append(", "); stringContent.append(atom.toString()); } stringC... | 1306 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1306/b35703c55343be9e1780756711f8f8cb630300f2/SingleElectron.java/clean/src/org/openscience/cdk/SingleElectron.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1762,
1435,
288,
3639,
6674,
533,
1350,
273,
394,
6674,
5621,
3639,
533,
1350,
18,
6923,
2932,
5281,
28621,
2932,
1769,
3639,
533,
1350,
18,
6923,
12,
2211,
18,
2816,
1085,
106... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1762,
1435,
288,
3639,
6674,
533,
1350,
273,
394,
6674,
5621,
3639,
533,
1350,
18,
6923,
2932,
5281,
28621,
2932,
1769,
3639,
533,
1350,
18,
6923,
12,
2211,
18,
2816,
1085,
106... |
super.setEventState(EventState.OPEN); | changeState(EventState.OPEN); | protected Event() { super(); super.setRootDomainObject(RootDomainObject.getInstance()); super.setOjbConcreteClass(getClass().getName()); super.setWhenOccured(new DateTime()); super.setEventState(EventState.OPEN); } | 2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/5a5e65ab91adbc0b335217f4f65f847134d48fd8/Event.java/buggy/src/net/sourceforge/fenixedu/domain/accounting/Event.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
2587,
1435,
288,
202,
9565,
5621,
202,
9565,
18,
542,
2375,
3748,
921,
12,
2375,
3748,
921,
18,
588,
1442,
10663,
202,
9565,
18,
542,
51,
10649,
25845,
797,
12,
588,
797,
7675,
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,
2587,
1435,
288,
202,
9565,
5621,
202,
9565,
18,
542,
2375,
3748,
921,
12,
2375,
3748,
921,
18,
588,
1442,
10663,
202,
9565,
18,
542,
51,
10649,
25845,
797,
12,
588,
797,
7675,
17... |
public void update(Observable source, final Object parameter) { if(parameter == ServerMng.UPDATE_LIST){ ConnectionInfo[] clients = model.getConnectedUsers(); if(clients != null) users.setListData(clients); else users.setListData(new String[] {""}); } else if( parameter == ServerMng.CONNECTED ) { ja... | 57211 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57211/517bd589d7042b5fd983626c1c2c03c3fbe3dc78/ServerMngView.java/buggy/trunk/src/net/sf/plantlore/server/manager/ServerMngView.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
6459,
2725,
12,
26199,
1538,
552,
16,
6385,
921,
6775,
15329,
202,
202,
430,
12,
6775,
631,
2081,
49,
3368,
18,
8217,
67,
7085,
15329,
1082,
202,
1952,
966,
8526,
16931,
33,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
6459,
2725,
12,
26199,
1538,
552,
16,
6385,
921,
6775,
15329,
202,
202,
430,
12,
6775,
631,
2081,
49,
3368,
18,
8217,
67,
7085,
15329,
1082,
202,
1952,
966,
8526,
16931,
33,
2... | ||
assertEquals("public boolean process(Set<? extends TypeElement> annotations) {println annotations}", pretty("public boolean process(Set<? extends TypeElement> annotations) {println annotations}")); | public void testLiteralExtends() throws Exception { assertEquals("class Foo extends java.util.Date {}", pretty("class Foo extends java.util.Date {}")); assertEquals("class Foo extends Bar {}", pretty("class Foo extends Bar {}")); assertEquals("interface Wibble extends Mooky{}", pretty("interface W... | 6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/a65da9842eee38911e6a58a435cb538f07d0f78d/SourcePrinterTest.java/clean/src/test/org/codehaus/groovy/antlr/treewalker/SourcePrinterTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1815,
8867,
2932,
482,
1250,
1207,
12,
694,
12880,
3231,
21002,
34,
5617,
13,
288,
8222,
5617,
1532,
16,
7517,
2932,
482,
1250,
1207,
12,
694,
12880,
3231,
21002,
34,
5617,
13,
288,
8222,
5617... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1815,
8867,
2932,
482,
1250,
1207,
12,
694,
12880,
3231,
21002,
34,
5617,
13,
288,
8222,
5617,
1532,
16,
7517,
2932,
482,
1250,
1207,
12,
694,
12880,
3231,
21002,
34,
5617,
13,
288,
8222,
5617... | |
if (jj_3R_147()) return true; | if (jj_scan_token(DOUBLE)) return true; | final private boolean jj_3R_119() { if (jj_3R_147()) return true; return false; } | 41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/1d8de6b34ea0ddb64fc94b478c0950c0d35de605/JavaParser.java/buggy/pmd/src/net/sourceforge/pmd/ast/JavaParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
3238,
1250,
10684,
67,
23,
54,
67,
23635,
1435,
288,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
17088,
3719,
327,
638,
31,
565,
327,
629,
31,
225,
289,
2,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
282,
727,
3238,
1250,
10684,
67,
23,
54,
67,
23635,
1435,
288,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
17088,
3719,
327,
638,
31,
565,
327,
629,
31,
225,
289,
2,
-100,
-100,
-100,
... |
throw cx.reportRuntimeError0("msg.bad.uri"); | throw Context.reportRuntimeError0("msg.bad.uri"); | private static String encode(Context cx, String str, boolean fullUri) { byte[] utf8buf = null; StringBuffer sb = null; for (int k = 0, length = str.length(); k != length; ++k) { char C = str.charAt(k); if (encodeUnescaped(C, fullUri)) { if (sb != null) { ... | 51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/4ad826a35e76cb27011d7ce32f9515c2d80a93c0/NativeGlobal.java/clean/js/rhino/src/org/mozilla/javascript/NativeGlobal.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
514,
2017,
12,
1042,
9494,
16,
514,
609,
16,
1250,
1983,
3006,
13,
288,
3639,
1160,
8526,
7718,
28,
4385,
273,
446,
31,
3639,
6674,
2393,
273,
446,
31,
3639,
364,
261,
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,
3238,
760,
514,
2017,
12,
1042,
9494,
16,
514,
609,
16,
1250,
1983,
3006,
13,
288,
3639,
1160,
8526,
7718,
28,
4385,
273,
446,
31,
3639,
6674,
2393,
273,
446,
31,
3639,
364,
261,
474,
... |
obj.main = main; | obj.debugGui = debugGui; | static Runnable action(Main main, SourceInfo sourceInfo) { UpdateFileText obj = new UpdateFileText(); obj.main = main; obj.sourceInfo = sourceInfo; return obj; } | 12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/9f6ca8f9a1c065e5181a0679595b48269838c038/Main.java/buggy/toolsrc/org/mozilla/javascript/tools/debugger/Main.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
10254,
1301,
12,
6376,
2774,
16,
4998,
966,
1084,
966,
13,
565,
288,
3639,
2315,
812,
1528,
1081,
273,
394,
2315,
812,
1528,
5621,
3639,
1081,
18,
4148,
18070,
273,
1198,
18070,
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,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
10254,
1301,
12,
6376,
2774,
16,
4998,
966,
1084,
966,
13,
565,
288,
3639,
2315,
812,
1528,
1081,
273,
394,
2315,
812,
1528,
5621,
3639,
1081,
18,
4148,
18070,
273,
1198,
18070,
31,
... |
throw new MessageInvalidException(ProtocolErrorMessage.REF_PARSE_ERROR, "Error parsing ref from file <"+fileString+">: "+e.getMessage(), null); | throw new MessageInvalidException(ProtocolErrorMessage.REF_PARSE_ERROR, "Error parsing ref from file <"+fileString+">: "+e.getMessage(), null, false); | public void run(FCPConnectionHandler handler, Node node) throws MessageInvalidException { String urlString = fs.get("URL"); String fileString = fs.get("File"); StringBuffer ref = null; BufferedReader in; if(urlString != null) { try { URL url = new URL(urlString); URLConnection uc = url.openConnection(); ... | 8026 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8026/bbb3c23ec38ea1c7abb48040a17f5fc7932248bc/AddPeer.java/buggy/src/freenet/node/fcp/AddPeer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1086,
12,
42,
4258,
1952,
1503,
1838,
16,
2029,
756,
13,
1216,
2350,
1941,
503,
288,
202,
202,
780,
29374,
273,
2662,
18,
588,
2932,
1785,
8863,
202,
202,
780,
585,
780,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1086,
12,
42,
4258,
1952,
1503,
1838,
16,
2029,
756,
13,
1216,
2350,
1941,
503,
288,
202,
202,
780,
29374,
273,
2662,
18,
588,
2932,
1785,
8863,
202,
202,
780,
585,
780,
... |
designators = (ICASTDesignator[]) ArrayUtil.append( ICASTDesignator.class, designators, designator ); | if (designator != null) { designatorsPos++; designators = (ICASTDesignator[]) ArrayUtil.append( ICASTDesignator.class, designators, designator ); } | public void addDesignator(ICASTDesignator designator) { designators = (ICASTDesignator[]) ArrayUtil.append( ICASTDesignator.class, designators, designator ); } | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/8a37c61a8cf7ad9a8e5afee104a5b301a0555dbb/CASTDesignatedInitializer.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/c/CASTDesignatedInitializer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
527,
15478,
639,
12,
2871,
9053,
15478,
639,
8281,
639,
13,
288,
3639,
309,
261,
16934,
639,
480,
446,
13,
288,
8281,
3062,
1616,
9904,
31,
8281,
3062,
273,
261,
2871,
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,
377,
1071,
918,
527,
15478,
639,
12,
2871,
9053,
15478,
639,
8281,
639,
13,
288,
3639,
309,
261,
16934,
639,
480,
446,
13,
288,
8281,
3062,
1616,
9904,
31,
8281,
3062,
273,
261,
2871,
9053,
... |
CurricularYear minCurricularYear = ((CurricularCourseScope) listOfScopes.get(0)) .getCurricularSemester().getCurricularYear(); CurricularYear actualCurricularYear = null; | CurricularYear minCurricularYear = null; | private CurricularYear getCurricularYearWithLowerYear(List<CurricularCourseScope> listOfScopes, Date date) { if (listOfScopes.isEmpty()) { return null; } CurricularYear minCurricularYear = ((CurricularCourseScope) listOfScopes.get(0)) .getCurricularSemester(... | 2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/288c74c62728a7677fd8b22dba3740605d152241/CurricularCourse.java/clean/src/net/sourceforge/fenixedu/domain/CurricularCourse.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
7251,
1512,
2490,
5593,
14135,
1512,
2490,
5593,
1190,
4070,
5593,
12,
682,
32,
2408,
1512,
2490,
39,
3117,
3876,
34,
24692,
12668,
16,
5411,
2167,
1509,
13,
288,
3639,
309,
261,
10... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
7251,
1512,
2490,
5593,
14135,
1512,
2490,
5593,
1190,
4070,
5593,
12,
682,
32,
2408,
1512,
2490,
39,
3117,
3876,
34,
24692,
12668,
16,
5411,
2167,
1509,
13,
288,
3639,
309,
261,
10... |
public boolean accept(Object obj) | public boolean accept(UMOMessage obj) | public boolean accept(Object obj) { if (obj == null) { return false; } if (expression == null) { logger.warn("Expression for JXPathFilter is not set"); return false; } if (value == null) { if (logger.isDebugEnabled()) { ... | 2370 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2370/ae3f76e3f49223d642e920cfaf75c4810823d9a5/JXPathFilter.java/clean/mule/src/java/org/mule/routing/filters/xml/JXPathFilter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
2791,
12,
2799,
51,
1079,
1081,
13,
565,
288,
3639,
309,
261,
2603,
422,
446,
13,
288,
5411,
327,
629,
31,
3639,
289,
3639,
309,
261,
8692,
422,
446,
13,
288,
5411,
1194,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2791,
12,
2799,
51,
1079,
1081,
13,
565,
288,
3639,
309,
261,
2603,
422,
446,
13,
288,
5411,
327,
629,
31,
3639,
289,
3639,
309,
261,
8692,
422,
446,
13,
288,
5411,
1194,
... |
public Main() { //assert (inst == null); inst = this; } | 46634 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46634/88c3a23ce6920080a820fcffe73c2469f7571ad9/Main.java/clean/src/escjava/trunk/ESCTools/Rcc/java/rccwizard/Main.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
12740,
1435,
288,
3639,
368,
11231,
261,
8591,
422,
446,
1769,
3639,
1804,
273,
333,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
12740,
1435,
288,
3639,
368,
11231,
261,
8591,
422,
446,
1769,
3639,
1804,
273,
333,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... | ||
protected void getTimeZone (int[] data, int sign) throws RuntimeException{ data[utc]=fBuffer.charAt(sign); if ( fBuffer.charAt(sign) == 'Z' ) { if (fEnd>(++sign)) { throw new RuntimeException("Error in parsing time zone"); } return; } if ( ... | 6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/fa03213874e6022b4e60324f2dd87064178ccf5a/DateTimeValidator.java/buggy/src/org/apache/xerces/impl/v2/datatypes/DateTimeValidator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
28556,
261,
474,
8526,
501,
16,
509,
1573,
13,
1216,
3235,
95,
3639,
501,
63,
17892,
65,
33,
74,
1892,
18,
3001,
861,
12,
2977,
1769,
3639,
309,
261,
284,
1892,
18,
3001,
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,
4750,
918,
28556,
261,
474,
8526,
501,
16,
509,
1573,
13,
1216,
3235,
95,
3639,
501,
63,
17892,
65,
33,
74,
1892,
18,
3001,
861,
12,
2977,
1769,
3639,
309,
261,
284,
1892,
18,
3001,
8... | ||
return (Atom)this.atom; | return this.atom; | public org.openscience.cdk.interfaces.Atom getAtom() { return (Atom)this.atom; } | 1306 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1306/e624451387ab33dd9a9c5f8c73f7f21efe01b1b7/LonePair.java/clean/src/org/openscience/cdk/LonePair.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2358,
18,
20346,
71,
6254,
18,
71,
2883,
18,
15898,
18,
3641,
12358,
1435,
288,
202,
202,
2463,
261,
3641,
13,
2211,
18,
7466,
31,
202,
97,
2,
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,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2358,
18,
20346,
71,
6254,
18,
71,
2883,
18,
15898,
18,
3641,
12358,
1435,
288,
202,
202,
2463,
261,
3641,
13,
2211,
18,
7466,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
... |
return createDestinationInternal(destinationMBeanConfig, on, jndiName, -1, -1, -1); | return createDestinationInternal(destinationMBeanConfig, on, jndiName, false, -1, -1, -1); | private String createDestinationDefault(boolean isQueue, String name, String jndiName) throws Exception { // // TODO - THIS IS A TEMPORARY IMPLEMENTATION; WILL BE REPLACED WITH INTEGRATION-CONSISTENT ONE // TODO - if I find a way not using UnifiedClassLoader3 directly, then get rid of // ... | 3806 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3806/be2c1e477081af2a0721d60f2551636bb143672a/ServerPeer.java/buggy/src/main/org/jboss/jms/server/ServerPeer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
514,
752,
5683,
1868,
12,
6494,
353,
3183,
16,
514,
508,
16,
514,
31100,
13,
1216,
1185,
282,
288,
1377,
368,
1377,
368,
2660,
300,
20676,
4437,
432,
24401,
916,
6043,
15694,
7618,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
514,
752,
5683,
1868,
12,
6494,
353,
3183,
16,
514,
508,
16,
514,
31100,
13,
1216,
1185,
282,
288,
1377,
368,
1377,
368,
2660,
300,
20676,
4437,
432,
24401,
916,
6043,
15694,
7618,
... |
+ getFormatPattern( ( (String) dialog.getResult( ) ) ) | + ( (String[]) dialog.getResult( ) )[1] | private void insertFormat( int style ) { FormatBuilder dialog = new FormatBuilder( style ); if ( dialog.open( ) == OK ) { String result = " format=\"" //$NON-NLS-1$ + getFormatPattern( ( (String) dialog.getResult( ) ) ) + "\""; //$NON-NLS-1$ textEditor.insert( result ); } } | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/93723d1ddc3fa20d0b82117bc4c24722aab6a837/TextEditor.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/TextEditor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
2243,
1630,
12,
509,
2154,
262,
202,
95,
202,
202,
1630,
1263,
6176,
273,
394,
4077,
1263,
12,
2154,
11272,
202,
202,
430,
261,
6176,
18,
3190,
12,
262,
422,
7791,
262,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2243,
1630,
12,
509,
2154,
262,
202,
95,
202,
202,
1630,
1263,
6176,
273,
394,
4077,
1263,
12,
2154,
11272,
202,
202,
430,
261,
6176,
18,
3190,
12,
262,
422,
7791,
262,
... |
FigGroup fg = fc.getOperationsFig(); int left = fg.getX() + 10; int height = fg.getY() + fg.getHeight() - 7; int right = fg.getX() + fg.getWidth() - 10; g.setColor(Color.red); int i = left; while (true) { g.drawLine(i, height, i + WAVE_LENGTH, height + WAVE_HEIGHT); i += WAVE_LENGTH; if (i >= right) break; g.drawLine(... | FigGroup fg = fc.getOperationsFig(); int left = fg.getX() + 10; int height = fg.getY() + fg.getHeight() - 7; int right = fg.getX() + fg.getWidth() - 10; g.setColor(Color.red); int i = left; while (true) { g.drawLine(i, height, i + WAVE_LENGTH, height + WAVE_HEIGHT); i += WAVE_LENGTH; if (i >= right) break; g.drawLine(... | public void paintIcon(Component c, Graphics g, int x, int y) { if (_fig instanceof FigClass) { FigClass fc = (FigClass) _fig; // added by Eric Lefevre 13 Mar 1999: we must check if the FigText for // operations is drawn before drawing things over it if ( !fc.isOperationVisible() ) { _fig... | 7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/ClOperationCompartment.java/buggy/src_new/org/argouml/uml/cognitive/critics/ClOperationCompartment.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
12574,
5554,
12,
1841,
276,
16,
16830,
314,
16,
509,
619,
16,
509,
677,
13,
288,
565,
309,
261,
67,
470,
1276,
478,
360,
797,
13,
288,
1377,
478,
360,
797,
8036,
273,
261,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
12574,
5554,
12,
1841,
276,
16,
16830,
314,
16,
509,
619,
16,
509,
677,
13,
288,
565,
309,
261,
67,
470,
1276,
478,
360,
797,
13,
288,
1377,
478,
360,
797,
8036,
273,
261,
... |
Set<DomInvocationHandler> fixedChildren = new HashSet<DomInvocationHandler>(myFixedChildren.values()); for (DomInvocationHandler handler : fixedChildren) { | for (DomInvocationHandler handler : myFixedChildren.values()) { | protected final void detach(boolean invalidate) { synchronized (PsiLock.LOCK) { myInvalidated = invalidate; if (!myInitializedChildren.isEmpty()) { Set<DomInvocationHandler> fixedChildren = new HashSet<DomInvocationHandler>(myFixedChildren.values()); for (DomInvocationHandler handler : fixe... | 56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/41267eaad5bc0599341fb00e1e9a442eb0fb005a/DomInvocationHandler.java/buggy/source/com/intellij/util/xml/impl/DomInvocationHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
727,
918,
10199,
12,
6494,
11587,
13,
288,
565,
3852,
261,
52,
7722,
2531,
18,
6589,
13,
288,
1377,
3399,
1941,
690,
273,
11587,
31,
1377,
309,
16051,
4811,
11459,
4212,
18,
291,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
727,
918,
10199,
12,
6494,
11587,
13,
288,
565,
3852,
261,
52,
7722,
2531,
18,
6589,
13,
288,
1377,
3399,
1941,
690,
273,
11587,
31,
1377,
309,
16051,
4811,
11459,
4212,
18,
291,
... |
AboutInfo[] rawArray = ((Workbench)PlatformUI.getWorkbench()).getFeaturesInfo(); | AboutInfo[] rawArray = ((Workbench)PlatformUI.getWorkbench()).getConfigurationInfo().getFeaturesInfo(); | private AboutInfo[] getFeaturesInfo() { AboutInfo[] rawArray = ((Workbench)PlatformUI.getWorkbench()).getFeaturesInfo(); // quickly exclude any that do not have a provider name and image ArrayList infoList = new ArrayList(); for (int i = 0; i < rawArray.length; i++) { if (rawArray[i].getProviderName() != null && raw... | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/d0d7f613d990b6d6bf252aeeaed46185d71d1618/AboutDialog.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/AboutDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
9771,
659,
966,
8526,
13683,
2790,
966,
1435,
288,
202,
24813,
966,
8526,
1831,
1076,
273,
14015,
2421,
22144,
13,
8201,
5370,
18,
588,
2421,
22144,
1435,
2934,
588,
8696,
966,
5621,
202,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
9771,
659,
966,
8526,
13683,
2790,
966,
1435,
288,
202,
24813,
966,
8526,
1831,
1076,
273,
14015,
2421,
22144,
13,
8201,
5370,
18,
588,
2421,
22144,
1435,
2934,
588,
8696,
966,
5621,
202,
... |
Method method = methods[0]; | MemberBox method = methods[0]; | private static Method extractGetMethod(NativeJavaMethod njm, boolean isStatic) { // Grab and inspect the getter method; does it have an empty parameter // list with a return value (eg. a getSomething() or isSomething())? Method[] methods = njm.meth... | 12564 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12564/1b620bbe9ad9c387f8202d7df9e1281bbd4ef637/JavaMembers.java/clean/src/org/mozilla/javascript/JavaMembers.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
2985,
2608,
967,
1305,
12,
9220,
5852,
1305,
290,
78,
81,
16,
4766,
6647,
1250,
16116,
13,
565,
288,
540,
368,
17150,
471,
5334,
326,
7060,
707,
31,
1552,
518,
1240,
392,
100... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2985,
2608,
967,
1305,
12,
9220,
5852,
1305,
290,
78,
81,
16,
4766,
6647,
1250,
16116,
13,
565,
288,
540,
368,
17150,
471,
5334,
326,
7060,
707,
31,
1552,
518,
1240,
392,
100... |
quadtree = new QuadTree(bbmin, bbmax); | quadtree = new KdTree(2, bbmin, bbmax); | public void initQuadTree(double [] bbmin, double [] bbmax) { quadtree = new QuadTree(bbmin, bbmax); outerVertex = new OuterVertex2D((bbmin[0]+bbmax[0])*0.5, (bbmin[1]+bbmax[1])*0.5); } | 46701 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46701/50370aed291f847c841cdf0c61e381540ff0b136/Mesh2D.java/buggy/amibe/src/org/jcae/mesh/amibe/patch/Mesh2D.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1208,
24483,
2471,
12,
9056,
5378,
7129,
1154,
16,
1645,
5378,
7129,
1896,
13,
202,
95,
202,
202,
21733,
3413,
273,
394,
27258,
2471,
12,
9897,
1154,
16,
7129,
1896,
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,
918,
1208,
24483,
2471,
12,
9056,
5378,
7129,
1154,
16,
1645,
5378,
7129,
1896,
13,
202,
95,
202,
202,
21733,
3413,
273,
394,
27258,
2471,
12,
9897,
1154,
16,
7129,
1896,
1769,
... |
File file = (File) object; if ( file.isDirectory( ) ) | ResourceEntry entry = (ResourceEntry) object; if ( entry.getURL( ).getProtocol( ).equals( "file" ) ) | private void configViewer( ) { getTreeViewer( ).addSelectionChangedListener( new ISelectionChangedListener( ) { public void selectionChanged( SelectionChangedEvent event ) { Object object = ( (StructuredSelection) event.getSelection( ) ).getFirstElement( ); if ( object instanceof File ) { File file =... | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/f06fb5699fc635c9c62b83fb721c2da353cf68a6/NewResourceFileDialog.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/resource/NewResourceFileDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
642,
18415,
12,
262,
202,
95,
202,
202,
588,
2471,
18415,
12,
262,
18,
1289,
6233,
5033,
2223,
12,
394,
467,
6233,
5033,
2223,
12,
262,
288,
1082,
202,
482,
918,
4421,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
642,
18415,
12,
262,
202,
95,
202,
202,
588,
2471,
18415,
12,
262,
18,
1289,
6233,
5033,
2223,
12,
394,
467,
6233,
5033,
2223,
12,
262,
288,
1082,
202,
482,
918,
4421,
... |
testLogWriter.println ( LESS_THAN + tagName + SLASH + GREATER_THAN); | testLogWriter.println(LESS_THAN + tagName + SLASH + GREATER_THAN); | protected void emitBeginEndTag ( String tagName ) { if (outputResults) { testLogWriter.println ( LESS_THAN + tagName + SLASH + GREATER_THAN); } } | 3364 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3364/68c0ca844a7d5fe4a7744cbf9898184966ce0680/Torture.java/buggy/src/test/torture/Torture.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
3626,
8149,
25633,
261,
514,
7196,
262,
288,
202,
202,
430,
261,
2844,
3447,
13,
288,
1082,
202,
3813,
1343,
2289,
18,
8222,
1082,
202,
12,
21216,
67,
22408,
397,
7196,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
3626,
8149,
25633,
261,
514,
7196,
262,
288,
202,
202,
430,
261,
2844,
3447,
13,
288,
1082,
202,
3813,
1343,
2289,
18,
8222,
1082,
202,
12,
21216,
67,
22408,
397,
7196,
... |
while(e.hasMoreElements()) { result = ((FileSelector)e.nextElement()).isSelected(basedir, filename,file); | while (e.hasMoreElements()) { result = ((FileSelector) e.nextElement()).isSelected(basedir, filename, file); | public boolean isSelected(File basedir, String filename, File file) { validate(); Enumeration e = selectorElements(); boolean result; while(e.hasMoreElements()) { result = ((FileSelector)e.nextElement()).isSelected(basedir, filename,file); if (!re... | 639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/f83f5c68c975f31a384cc24e94be4e5ebfa2da4d/AndSelector.java/clean/src/main/org/apache/tools/ant/types/selectors/AndSelector.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
20956,
12,
812,
15573,
16,
514,
1544,
16,
1387,
585,
13,
288,
3639,
1954,
5621,
3639,
13864,
425,
273,
3451,
3471,
5621,
3639,
1250,
563,
31,
3639,
1323,
12,
73,
18,
5332,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
20956,
12,
812,
15573,
16,
514,
1544,
16,
1387,
585,
13,
288,
3639,
1954,
5621,
3639,
13864,
425,
273,
3451,
3471,
5621,
3639,
1250,
563,
31,
3639,
1323,
12,
73,
18,
5332,
7... |
JSLFrameEvent fe = | JSLFrameEvent fe = | public void internalFrameDeactivated(InternalFrameEvent e) { ErrorMsg.reportStatus("\""+getTitle()+"\" deactivated."); JSLFrameEvent fe = new JSLFrameEvent(getJSLFrame(), JSLFrameEvent.DEACTIVATED); Iterator it = listeners.iterator(); while (it.hasNext()) { ((JSLFrameListener)it.next()).JSLFrameDeac... | 7591 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7591/37f27f722b5be595ddb5b266f30f3e62d4d310cb/JSLFrame.java/clean/JSynthLib/core/JSLFrame.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
2713,
3219,
758,
18836,
12,
3061,
3219,
1133,
425,
13,
288,
202,
565,
1068,
3332,
18,
6006,
1482,
2932,
8530,
15,
588,
4247,
1435,
9078,
2412,
443,
18836,
1199,
1769,
202,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
2713,
3219,
758,
18836,
12,
3061,
3219,
1133,
425,
13,
288,
202,
565,
1068,
3332,
18,
6006,
1482,
2932,
8530,
15,
588,
4247,
1435,
9078,
2412,
443,
18836,
1199,
1769,
202,
... |
new BufferedInputStream(new FileInputStream(testLog)); | new BufferedInputStream(loadTestLog(logName)); | public void testGetProperties() throws IOException, ParseException { CVS cvs = new CVS(); cvs.setMailAliases(new Hashtable()); cvs.setProperty("property"); cvs.setPropertyOnDelete("propertyOnDelete"); File testLog = new File("test/net/sourceforge/cruisecontrol/sourc... | 52149 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52149/e1751cb2e8931f6aec7f0bab46ec17695dc59615/CVSTest.java/clean/main/test/net/sourceforge/cruisecontrol/sourcecontrols/CVSTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
967,
2297,
1435,
1216,
1860,
16,
10616,
288,
3639,
385,
14640,
276,
6904,
273,
394,
385,
14640,
5621,
3639,
276,
6904,
18,
542,
6759,
9667,
12,
2704,
18559,
10663,
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,
1071,
918,
1842,
967,
2297,
1435,
1216,
1860,
16,
10616,
288,
3639,
385,
14640,
276,
6904,
273,
394,
385,
14640,
5621,
3639,
276,
6904,
18,
542,
6759,
9667,
12,
2704,
18559,
10663,
3639,
... |
md.put(HOST, ds.getHost()); md.put(PORT, ds.getPort()); md.put(USERNAME, ds.getUsername()); md.put(PASSWORD, ds.getPassword()); | static void saveToMetadata(Mailbox mbox, OperationContext octxt, MailItemDataSource ds) throws ServiceException { if (mbox.getId() != ds.getMailboxId()) { throw ServiceException.FAILURE( ds + ": cannot save in a different mailbox (" + mbox.getId() + ")", null); } if... | 6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/5bfb838c3765e778fc9933099df8b983867924e1/MailItemDataSource.java/buggy/ZimbraServer/src/java/com/zimbra/cs/mailbox/MailItemDataSource.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
918,
1923,
774,
2277,
12,
30239,
312,
2147,
16,
4189,
1042,
320,
20364,
16,
11542,
1180,
8597,
3780,
13,
565,
1216,
16489,
288,
3639,
309,
261,
81,
2147,
18,
26321,
1435,
480,
3780,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
918,
1923,
774,
2277,
12,
30239,
312,
2147,
16,
4189,
1042,
320,
20364,
16,
11542,
1180,
8597,
3780,
13,
565,
1216,
16489,
288,
3639,
309,
261,
81,
2147,
18,
26321,
1435,
480,
3780,
... | |
public void execute(final Flags prefix, final Context context, final TokenSource source, final Typesetter typesetter) throws InterpreterException { long branch = source.scanInteger(context, typesetter); if (branch < 0) { if (skipToElseOrFi(context, source)) { ... | 9123 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9123/2477b06f8c3e4196fafb24042e69bb4b89733564/Ifcase.java/buggy/ExTeX/src/java/de/dante/extex/interpreter/primitives/conditional/Ifcase.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
90,
11359,
561,
557,
624,
12,
6385,
5094,
3239,
16,
6385,
1042,
2472,
16,
6385,
1345,
8628,
552,
16,
6385,
2016,
11214,
2352,
11214,
13,
15069,
30010,
503,
95,
5748,
7500,
33,
3168,
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,
1071,
90,
11359,
561,
557,
624,
12,
6385,
5094,
3239,
16,
6385,
1042,
2472,
16,
6385,
1345,
8628,
552,
16,
6385,
2016,
11214,
2352,
11214,
13,
15069,
30010,
503,
95,
5748,
7500,
33,
3168,
18,
... | ||
doctypeSystem = value; | translet._doctypeSystem = value; | public void transferOutputProperties(TransletOutputHandler handler) { // Return right now if no properties are set if (_properties == null) return; String doctypePublic = null; String doctypeSystem = null; // Get a list of all the defined properties Enumeration names = _properties.propertyNames(); while (names.h... | 46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/0799324e880d5520e5bd5ff18c7f4296b122216e/TransformerImpl.java/buggy/src/org/apache/xalan/xsltc/trax/TransformerImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
7412,
1447,
2297,
12,
1429,
1810,
30796,
1838,
13,
565,
288,
202,
759,
2000,
2145,
2037,
309,
1158,
1790,
854,
444,
202,
430,
261,
67,
4738,
422,
446,
13,
327,
31,
202,
780,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
7412,
1447,
2297,
12,
1429,
1810,
30796,
1838,
13,
565,
288,
202,
759,
2000,
2145,
2037,
309,
1158,
1790,
854,
444,
202,
430,
261,
67,
4738,
422,
446,
13,
327,
31,
202,
780,
... |
try | try | final void setByteField(Object obj, byte val) { try { field.setByte(obj, val); } catch(IllegalAccessException x) { throw new InternalError(x.getMessage()); } } | 1739 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1739/126d7770c7bb5b9c74598afb0864a336d457fd92/ObjectStreamField.java/buggy/libjava/java/io/ObjectStreamField.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
918,
444,
3216,
974,
12,
921,
1081,
16,
1160,
1244,
13,
225,
288,
1377,
775,
1377,
288,
202,
225,
652,
18,
542,
3216,
12,
2603,
16,
1244,
1769,
1377,
289,
1377,
1044,
12,
12195,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
918,
444,
3216,
974,
12,
921,
1081,
16,
1160,
1244,
13,
225,
288,
1377,
775,
1377,
288,
202,
225,
652,
18,
542,
3216,
12,
2603,
16,
1244,
1769,
1377,
289,
1377,
1044,
12,
12195,
... |
catch (IOException ex) { ex.printStackTrace(); /* OMIT_FOR_JHMPREAD_COMPILATION BLOCK_BEGIN */ throw new EntityLoadingException("I/O Error reading file"); /* BLOCK_END */ } } | public HmpFile(InputStream is)/* OMIT_FOR_JHMPREAD_COMPILATION BLOCK_BEGIN */ throws EntityLoadingException/* BLOCK_END */ { try { DataInputStream dis = new DataInputStream(is); byte[] buffer = new byte[5]; dis.read(buffer); String version = new String(buffer); // this next one no... | 3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/93e4239a5af0fdbba58b15bf534afc685c30a109/HmpFile.java/clean/megamek/src/megamek/common/loaders/HmpFile.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
670,
1291,
812,
12,
4348,
353,
13176,
14,
531,
6068,
67,
7473,
67,
46,
44,
49,
3670,
1880,
67,
31075,
48,
2689,
14073,
67,
16061,
1195,
1377,
1216,
3887,
10515,
503,
20308,
14073,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
670,
1291,
812,
12,
4348,
353,
13176,
14,
531,
6068,
67,
7473,
67,
46,
44,
49,
3670,
1880,
67,
31075,
48,
2689,
14073,
67,
16061,
1195,
1377,
1216,
3887,
10515,
503,
20308,
14073,
... | |
if (r.getType() != newR.getType()) { | if ((r.getType() != newR.getType()) || (r.isNatural() && newR.isNatural())) { | private CompoundInterval spillMinUnitCost(CompoundInterval newInterval) { if (verboseDebug) { System.out.println(" interval caused a spill: " + newInterval); } OPT_RegisterRestrictions restrict = ir.stackManager.getRestrictions(); OPT_Register r = newInterval.getRegister(); double mi... | 49871 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49871/6569c62cb395c62ee2f21532e4d68467e3394322/OPT_LinearScan.java/buggy/rvm/src/vm/compilers/optimizing/regalloc/linearScan/OPT_LinearScan.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
21327,
4006,
1694,
737,
2930,
2802,
8018,
12,
16835,
4006,
394,
4006,
13,
288,
1377,
309,
261,
11369,
2829,
13,
288,
3639,
2332,
18,
659,
18,
8222,
2932,
3673,
15848,
279,
1694,
737... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
21327,
4006,
1694,
737,
2930,
2802,
8018,
12,
16835,
4006,
394,
4006,
13,
288,
1377,
309,
261,
11369,
2829,
13,
288,
3639,
2332,
18,
659,
18,
8222,
2932,
3673,
15848,
279,
1694,
737... |
yaccValue = "==="; | yaccValue = new Token("===", getPosition(null, false)); | private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;... | 46258 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46258/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/buggy/src/org/jruby/lexer/yacc/RubyYaccLexer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
677,
1362,
92,
1435,
288,
3639,
1149,
276,
31,
3639,
1250,
3476,
15160,
273,
629,
31,
3639,
1250,
1296,
1119,
31,
7734,
309,
261,
4149,
67,
701,
6408,
480,
446,
13,
288,
1082... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
677,
1362,
92,
1435,
288,
3639,
1149,
276,
31,
3639,
1250,
3476,
15160,
273,
629,
31,
3639,
1250,
1296,
1119,
31,
7734,
309,
261,
4149,
67,
701,
6408,
480,
446,
13,
288,
1082... |
return 0; | return 0; | public static final int getHeaderSize() throws InlinePragma {return 0; } | 4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/758ed5c231ce2489135a1eef3a6d5c0ec6ce00d7/TraceInterface.java/clean/MMTk/src/org/mmtk/vm/TraceInterface.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
727,
509,
7911,
1225,
1435,
1216,
16355,
2050,
9454,
288,
2463,
374,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
727,
509,
7911,
1225,
1435,
1216,
16355,
2050,
9454,
288,
2463,
374,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
if (eIsProxy()) return super.toString(); | if (eIsProxy()) return super.toString(); | public String toString() { if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (value: "); result.append(value); result.append(')'); return result.toString(); } | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/TextImpl.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/impl/TextImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1762,
1435,
565,
288,
3639,
309,
261,
73,
2520,
3886,
10756,
327,
2240,
18,
10492,
5621,
3639,
6674,
563,
273,
394,
6674,
12,
9565,
18,
10492,
10663,
3639,
563,
18,
6923,
2932,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
1762,
1435,
565,
288,
3639,
309,
261,
73,
2520,
3886,
10756,
327,
2240,
18,
10492,
5621,
3639,
6674,
563,
273,
394,
6674,
12,
9565,
18,
10492,
10663,
3639,
563,
18,
6923,
2932,... |
public int updateContentSchedule(Inventory inventory) { ScheduledContentPG scp = inventory.getScheduledContentPG(); QuantityScheduleElement qse; Vector new_elements = new Vector(); if (level_ == null) { determineInventoryLevels(); } if (level_ == null) { if(GLMDebug.printDebug()) GLMDebug.... | 7171 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7171/85c52e07502f430e3c3c032255c45a1b145accb5/InventoryBG.java/buggy/glm/src/org/cougaar/domain/glm/ldm/asset/InventoryBG.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
1089,
1350,
6061,
12,
15059,
13086,
13,
288,
565,
17286,
1350,
18679,
30361,
273,
13086,
18,
588,
10660,
1350,
18679,
5621,
565,
18189,
6061,
1046,
1043,
307,
31,
565,
5589,
394,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
1089,
1350,
6061,
12,
15059,
13086,
13,
288,
565,
17286,
1350,
18679,
30361,
273,
13086,
18,
588,
10660,
1350,
18679,
5621,
565,
18189,
6061,
1046,
1043,
307,
31,
565,
5589,
394,... | ||
Map paramMap = new HashMap( ); | Map paramMap = new LinkedHashMap( ); | protected void __execute( ) throws RemoteException { BaseAttributeBean attrBean = ( BaseAttributeBean ) context.getBean( ); assert attrBean != null; Oprand[] params = operation.getOprand( ); String reportDesignName = attrBean.getReportDesignName( ); Map paramMap = new HashMap( ); for ( int i = 0; i < params.leng... | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/13cc7c6f0cb00f2485b4f9bfac2fcc50df184168/AbstractGetCascadeParameterActionHandler.java/buggy/viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/actionhandler/AbstractGetCascadeParameterActionHandler.... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1001,
8837,
12,
262,
1216,
18361,
202,
95,
202,
202,
2171,
1499,
3381,
1604,
3381,
273,
261,
3360,
1499,
3381,
262,
819,
18,
588,
3381,
12,
11272,
202,
202,
11231,
1604,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1001,
8837,
12,
262,
1216,
18361,
202,
95,
202,
202,
2171,
1499,
3381,
1604,
3381,
273,
261,
3360,
1499,
3381,
262,
819,
18,
588,
3381,
12,
11272,
202,
202,
11231,
1604,
... |
private static int DateFromTime(double t) { | private static int DateFromTime(double t) { | private static int DateFromTime(double t) { int d, step, next; d = DayWithinYear(t); if (d <= (next = 30)) return d + 1; step = next; // Originally coded as next += (InLeapYear(t) ? 29 : 28); // but some jits always returned 28! if (InLeapYear(t)) ... | 47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/02ecf7529127113a2cb5d3237d62ee474eb599d0/NativeDate.java/clean/src/org/mozilla/javascript/NativeDate.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
509,
2167,
1265,
950,
12,
9056,
268,
13,
288,
3639,
509,
302,
16,
2235,
16,
1024,
31,
3639,
302,
273,
13735,
18949,
5593,
12,
88,
1769,
3639,
309,
261,
72,
1648,
261,
4285,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
509,
2167,
1265,
950,
12,
9056,
268,
13,
288,
3639,
509,
302,
16,
2235,
16,
1024,
31,
3639,
302,
273,
13735,
18949,
5593,
12,
88,
1769,
3639,
309,
261,
72,
1648,
261,
4285,
... |
public org.quickfix.field.SecurityAltID get(org.quickfix.field.SecurityAltID value) | public quickfix.field.SecurityAltID get(quickfix.field.SecurityAltID value) | public org.quickfix.field.SecurityAltID get(org.quickfix.field.SecurityAltID value) throws FieldNotFound { getField(value); return value; } | 8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/SecurityDefinitionRequest.java/buggy/src/java/src/quickfix/fix43/SecurityDefinitionRequest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
9549,
904,
18,
1518,
18,
4368,
10655,
734,
336,
12,
19525,
904,
18,
1518,
18,
4368,
10655,
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,
4368,
10655,
734,
336,
12,
19525,
904,
18,
1518,
18,
4368,
10655,
734,
225,
460,
13,
565,
1216,
2286,
2768,
225,
288,
5031,
12,
1132,
1769,
327,
460,
31,
... |
int size = Math.max((Util.getCountPrev(init, prev, node) * prevProd), ((Util.getCountPrev(init, prev, node) + Util.getCountPrev(steady, prev, node)) * prevProd - Util.getCount(init, node) * filter.getPopInt())); | if (prev.contents instanceof SIRTwoStageFilter && ((SIRTwoStageFilter)prev.contents).getInitPush() > prevProd) prevProd = ((SIRTwoStageFilter)prev.contents).getInitPush(); } if (filter instanceof SIRTwoStageFilter && ((SIRTwoStageFilter)filter).getInitPop() < currentCons) currentCons = ((SIRTwoStageFilter)filter).ge... | public void visitNode(FlatNode node) { if (node.contents instanceof SIRFilter) { SIRFilter filter = (SIRFilter)node.contents; if (node.inputs > 0) { FlatNode prev = node.incoming[0]; //if prev is a joiner or a splitter, production is 1 int prevProd = 1; if (prev.contents instanceof SIRFilter)... | 5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/248b06d15a46835c5dfb65900b80b3226dbb36fc/CalcBufferSize.java/buggy/streams/src/at/dms/kjc/raw/CalcBufferSize.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3757,
907,
12,
16384,
907,
756,
13,
288,
202,
430,
261,
2159,
18,
3980,
1276,
5705,
54,
1586,
13,
288,
202,
565,
5705,
54,
1586,
1034,
273,
261,
2320,
54,
1586,
13,
2159,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3757,
907,
12,
16384,
907,
756,
13,
288,
202,
430,
261,
2159,
18,
3980,
1276,
5705,
54,
1586,
13,
288,
202,
565,
5705,
54,
1586,
1034,
273,
261,
2320,
54,
1586,
13,
2159,
1... |
return o instanceof MExtensionPoint && ((MExtend)getTarget()).getExtensionPoints().contains(o); | return o instanceof MExtensionPoint && ((MExtend) getTarget()).getExtensionPoints().contains(o); | protected boolean isValidElement(MBase o) { return o instanceof MExtensionPoint && ((MExtend)getTarget()).getExtensionPoints().contains(o); } | 7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/UMLExtendExtensionPointListModel.java/clean/src_new/org/argouml/uml/ui/behavior/use_cases/UMLExtendExtensionPointListModel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
1250,
4908,
1046,
12,
49,
2171,
320,
13,
288,
3639,
327,
320,
1276,
490,
3625,
2148,
597,
14015,
49,
16675,
13,
8571,
1435,
2934,
588,
3625,
5636,
7675,
12298,
12,
83,
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,
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,
4750,
1250,
4908,
1046,
12,
49,
2171,
320,
13,
288,
3639,
327,
320,
1276,
490,
3625,
2148,
597,
14015,
49,
16675,
13,
8571,
1435,
2934,
588,
3625,
5636,
7675,
12298,
12,
83,
1769,
565,
... |
return runtime.getObject().getConstant(name); | return ((RubyModule)recv).getConstant(name); | public static IRubyObject autoload(IRubyObject recv, IRubyObject symbol, final IRubyObject file) { final LoadService loadService = recv.getRuntime().getLoadService(); loadService.addAutoload(symbol.asSymbol(), new IAutoloadMethod() { /** * @see org.jruby.runtime.load.IAutoloadMe... | 52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/07909c1bbecaed91018759825231df5f1506ecbb/RubyKernel.java/buggy/src/org/jruby/RubyKernel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
15908,
10340,
921,
16674,
12,
7937,
10340,
921,
10665,
16,
15908,
10340,
921,
3273,
16,
727,
15908,
10340,
921,
585,
13,
288,
3639,
727,
4444,
1179,
1262,
1179,
273,
10665,
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,
760,
15908,
10340,
921,
16674,
12,
7937,
10340,
921,
10665,
16,
15908,
10340,
921,
3273,
16,
727,
15908,
10340,
921,
585,
13,
288,
3639,
727,
4444,
1179,
1262,
1179,
273,
10665,
18,
... |
else styleDoc.setCharacterAttributes(start, end, atts, replace); } else throw new AssertionError("The EditorKit for StyledTextActions " + "is expected to be a StyledEditorKit"); | StyledEditorKit kit = getStyledEditorKit(editor); MutableAttributeSet inputAtts = kit.getInputAttributes(); if (replace) { inputAtts.removeAttributes(inputAtts); | protected final void setCharacterAttributes(JEditorPane editor, AttributeSet atts, boolean replace) { Document doc = editor.getDocument(); if (doc instanceof StyledDocument) { StyledDocument styleDoc = (Styl... | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/StyledEditorKit.java/clean/core/src/classpath/javax/javax/swing/text/StyledEditorKit.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
727,
918,
444,
7069,
2498,
12,
46,
6946,
8485,
4858,
16,
4766,
7734,
3601,
694,
15687,
16,
4766,
7734,
1250,
1453,
13,
565,
288,
1377,
4319,
997,
273,
4858,
18,
588,
2519,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
727,
918,
444,
7069,
2498,
12,
46,
6946,
8485,
4858,
16,
4766,
7734,
3601,
694,
15687,
16,
4766,
7734,
1250,
1453,
13,
565,
288,
1377,
4319,
997,
273,
4858,
18,
588,
2519,
5621,
1... |
}else if(name.equals(ALIAS)){ res = parseAliasResource(node); }else if(name.equals(MAPPING)){ | res.name = (String) keyNameMap.get(LDMLConstants.EXEMPLAR_CHARACTERS); }else if(name.equals(LDMLConstants.ALIAS)){ res = parseAliasResource(node, xpath); }else if(name.equals(LDMLConstants.MAPPING)){ | private ICUResourceWriter.Resource parseCharacters(Node root, StringBuffer xpath){ ICUResourceWriter.Resource current = null, first=null; int savedLength = xpath.length(); getXPath(root,xpath); int oldLength = xpath.length(); for(Node node = root.getFirstChild(); node!=null; node=... | 27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/e34f8c81f04f1bc2a8e2959a1ee81d86fcefbf65/LDML2ICUConverter.java/clean/tools/java/org/unicode/cldr/icu/LDML2ICUConverter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
28009,
1420,
2289,
18,
1420,
1109,
11600,
12,
907,
1365,
16,
6674,
6748,
15329,
3639,
28009,
1420,
2289,
18,
1420,
783,
273,
446,
16,
1122,
33,
2011,
31,
3639,
509,
5198,
1782,
273,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
28009,
1420,
2289,
18,
1420,
1109,
11600,
12,
907,
1365,
16,
6674,
6748,
15329,
3639,
28009,
1420,
2289,
18,
1420,
783,
273,
446,
16,
1122,
33,
2011,
31,
3639,
509,
5198,
1782,
273,... |
handleImage( imageItem, imageContent ); | public void execute( ReportItemDesign item, IContentEmitter emitter ) { assert item instanceof ImageItemDesign; ImageItemDesign imageItem = (ImageItemDesign) item; IImageContent imageContent = report.createImageContent( ); IContent parent = context.getContent( ); context.pushContent( imageContent ); openResultSe... | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/40fb875c30ce5bec5f9f2f688c4b2f5eaa154bce/ImageItemExecutor.java/clean/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/ImageItemExecutor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1836,
12,
8706,
1180,
15478,
761,
16,
467,
1350,
13476,
11520,
262,
202,
95,
202,
202,
11231,
761,
1276,
3421,
1180,
15478,
31,
202,
202,
2040,
1180,
15478,
1316,
1180,
273... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1836,
12,
8706,
1180,
15478,
761,
16,
467,
1350,
13476,
11520,
262,
202,
95,
202,
202,
11231,
761,
1276,
3421,
1180,
15478,
31,
202,
202,
2040,
1180,
15478,
1316,
1180,
273... | |
int getGroupCount(int tag) { return getGroups(tag).size(); } | 52526 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52526/ac62cdb33fe9cdcbdda5568204116691fedd13fb/FieldMap.java/buggy/src/quickfix/FieldMap.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
509,
588,
1114,
1380,
12,
474,
2692,
15329,
2463,
588,
3621,
12,
2692,
2934,
1467,
5621,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
509,
588,
1114,
1380,
12,
474,
2692,
15329,
2463,
588,
3621,
12,
2692,
2934,
1467,
5621,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... | ||
public static void initDefaults(IPreferenceStore store) { // set the default values for the bugzilla server and the // most recent query getCachedData(); store.setDefault(IBugzillaConstants.BUGZILLA_SERVER, IBugzillaConstants.DEFAULT_BUGZILLA_SERVER); store.setDefault(IBugzillaConstants.MOST_RECENT_QUERY, ""); ... | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/a727d560e212c7df8a02cd1f50061f130d46e189/BugzillaPreferencePage.java/buggy/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/BugzillaPreferencePage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
1208,
7019,
12,
45,
9624,
2257,
1707,
13,
288,
202,
202,
759,
444,
326,
805,
924,
364,
326,
7934,
15990,
1438,
471,
326,
3196,
202,
759,
4486,
8399,
843,
202,
202,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
1208,
7019,
12,
45,
9624,
2257,
1707,
13,
288,
202,
202,
759,
444,
326,
805,
924,
364,
326,
7934,
15990,
1438,
471,
326,
3196,
202,
759,
4486,
8399,
843,
202,
202,
... | ||
table.addValue(new Value("OPERATOR", Value.VALUE_TYPE_STRING, LEN, 0)); table.addValue(new Value("LEFT_NAME", Value.VALUE_TYPE_STRING, LEN, 0)); table.addValue(new Value("CONDITION_FUNCTION", Value.VALUE_TYPE_STRING, LEN, 0)); table.addValue(new Value("RIGHT_NAME", Value.VALUE_TYPE_STRING, LEN, 0)); table.addValue(new ... | table.addValue(new Value("OPERATOR", Value.VALUE_TYPE_STRING, REP_STRING_LENGTH, 0)); table.addValue(new Value("LEFT_NAME", Value.VALUE_TYPE_STRING, REP_STRING_LENGTH, 0)); table.addValue(new Value("CONDITION_FUNCTION", Value.VALUE_TYPE_STRING, REP_STRING_LENGTH, 0)); table.addValue(new Value("RIGHT_NAME", Value.VALUE_... | public void createRepositorySchema(IProgressMonitor monitor, boolean upgrade) throws KettleDatabaseException { Row table; String sql; String tablename; String indexname; String keyfield[]; String user[], pass[], code[], desc[], prof[]; int LEN = 255; int KEY = 9; // integer, no need for bigint! log.logB... | 58146 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58146/7c0845b859a82ac39d1ef02769e8478ec30592c0/Repository.java/clean/kettle/src/be/ibridge/kettle/repository/Repository.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
752,
3305,
3078,
12,
45,
5491,
7187,
6438,
16,
1250,
8400,
13,
1216,
1475,
278,
5929,
4254,
503,
202,
95,
202,
202,
1999,
1014,
31,
202,
202,
780,
1847,
31,
202,
202,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
752,
3305,
3078,
12,
45,
5491,
7187,
6438,
16,
1250,
8400,
13,
1216,
1475,
278,
5929,
4254,
503,
202,
95,
202,
202,
1999,
1014,
31,
202,
202,
780,
1847,
31,
202,
202,
7... |
; | public List getPropertyDescriptors(Object object) { if (itemPropertyDescriptors == null) { super.getPropertyDescriptors(object); CommonPackage pkg = CommonPackage.eINSTANCE; ; // This is for the description feature. // itemPropertyDescriptors.add(new ItemPropertyDescriptor(((ComposeableAdapterFactory) ada... | 8196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8196/911dad9bc1a4890f15514569c974b14a2af3d0a2/EnvEntryItemProvider.java/clean/plugins/org.eclipse.jst.j2ee/commonedit/org/eclipse/jst/j2ee/common/internal/provider/EnvEntryItemProvider.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
987,
3911,
12705,
12,
921,
733,
13,
288,
202,
202,
430,
261,
1726,
1396,
12705,
422,
446,
13,
288,
1082,
202,
9565,
18,
588,
1396,
12705,
12,
1612,
1769,
1082,
202,
6517,
2261... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
987,
3911,
12705,
12,
921,
733,
13,
288,
202,
202,
430,
261,
1726,
1396,
12705,
422,
446,
13,
288,
1082,
202,
9565,
18,
588,
1396,
12705,
12,
1612,
1769,
1082,
202,
6517,
2261... | |
throw new IllegalStateException("Current state not START_ELEMENT or END_ELEMENT"); | throwIllegalState(new int[] { START_ELEMENT, END_ELEMENT }); | public String getNamespacePrefix(int pos) { if (!isElementEvent(eventType)) { throw new IllegalStateException("Current state not START_ELEMENT or END_ELEMENT"); } int currentDepth = depth; int end = getNamespaceCount(currentDepth);//eventType == XMLStreamConstants.END_ELEME... | 2047 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2047/0a48261e76a836a4396f2c4bf6848c3d734fe1fd/MXParser.java/buggy/dev/src/com/bea/xml/stream/MXParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
11153,
2244,
12,
474,
949,
13,
565,
288,
3639,
309,
16051,
291,
1046,
1133,
12,
2575,
559,
3719,
288,
5411,
604,
12195,
1119,
12,
2704,
509,
8526,
288,
10485,
67,
10976,
16,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
11153,
2244,
12,
474,
949,
13,
565,
288,
3639,
309,
16051,
291,
1046,
1133,
12,
2575,
559,
3719,
288,
5411,
604,
12195,
1119,
12,
2704,
509,
8526,
288,
10485,
67,
10976,
16,
... |
} else if ( StyleHandle.TEXT_ALIGN_PROP.equals( property ) ) { | } else if (StyleHandle.TEXT_ALIGN_PROP.equals(property)) { | public static Object[] getChoiceSet( String property ) { //The dataSet has different access method. if ( AttributeConstant.DATASET.equals( property ) ) { return getDataSets( ); } String unitKey = DesignChoiceConstants.CHOICE_UNITS; if ( AttributeConstant.BACKGROUND_COLOR.equals( property ) ) { unitKey = ICo... | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/4d78f7686771fae0403ed68a06a850b0f45d97fa/ChoiceSetFactory.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/views/attributes/providers/ChoiceSetFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1033,
8526,
336,
10538,
694,
12,
514,
1272,
262,
202,
95,
202,
202,
759,
1986,
14837,
711,
3775,
2006,
707,
18,
202,
202,
430,
261,
3601,
6902,
18,
4883,
4043,
18,
14963,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
1033,
8526,
336,
10538,
694,
12,
514,
1272,
262,
202,
95,
202,
202,
759,
1986,
14837,
711,
3775,
2006,
707,
18,
202,
202,
430,
261,
3601,
6902,
18,
4883,
4043,
18,
14963,... |
public static PerClause readPerClause(DataInputStream s, ISourceContext context) throws IOException { | public static PerClause readPerClause(VersionedDataInputStream s, ISourceContext context) throws IOException { | public static PerClause readPerClause(DataInputStream s, ISourceContext context) throws IOException { PerClause ret = new PerObject(Pointcut.read(s, context), s.readBoolean()); ret.readLocation(context, s); return ret; } | 7955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7955/973ea32d9ee90345718d7b7649b817b89dbb4398/PerObject.java/buggy/org.aspectj/modules/weaver/src/org/aspectj/weaver/patterns/PerObject.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
5722,
7044,
855,
2173,
7044,
12,
751,
4348,
272,
16,
467,
1830,
1042,
819,
13,
1216,
1860,
288,
202,
202,
2173,
7044,
325,
273,
394,
5722,
921,
12,
2148,
5150,
18,
896,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
5722,
7044,
855,
2173,
7044,
12,
751,
4348,
272,
16,
467,
1830,
1042,
819,
13,
1216,
1860,
288,
202,
202,
2173,
7044,
325,
273,
394,
5722,
921,
12,
2148,
5150,
18,
896,
... |
return fForceEvaluation || template.matches(getKey(), getContextType().getName()); | String key= getKey(); return template.matches(key, getContextType().getName()) && (fForceEvaluation || ((key.length() != 0) && template.getName().toLowerCase().startsWith(key.toLowerCase()))); | public boolean canEvaluate(Template template) { return fForceEvaluation || template.matches(getKey(), getContextType().getName()); } | 9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/e10b5096f26d88496afbde966e9489466eaa39d2/JavaContext.java/clean/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaContext.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
848,
15369,
12,
2283,
1542,
13,
288,
202,
202,
2463,
284,
10997,
13468,
747,
1542,
18,
8436,
12,
588,
653,
9334,
6474,
559,
7675,
17994,
10663,
202,
97,
2,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
848,
15369,
12,
2283,
1542,
13,
288,
202,
202,
2463,
284,
10997,
13468,
747,
1542,
18,
8436,
12,
588,
653,
9334,
6474,
559,
7675,
17994,
10663,
202,
97,
2,
-100,
-100,
-... |
CharSequence entry = myEntries.get(text); if (entry == null) { | WeakReference<? extends CharSequence> weakReference = myEntries.get(new WeakReference(text)); CharSequence entry = weakReference != null ? weakReference.get() : null; if (entry == null ) { | public CharSequence intern(final CharSequence text) { CharSequence entry = myEntries.get(text); if (entry == null) { entry = createEntry(text); myEntries.put(entry, entry); } return entry; } | 56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/32a6b28a99fecc4efd7d043c39834260091348e6/CharTableImpl.java/clean/source/com/intellij/psi/impl/source/CharTableImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
9710,
8216,
12,
6385,
9710,
977,
13,
288,
565,
9710,
1241,
273,
3399,
5400,
18,
588,
12,
955,
1769,
565,
309,
261,
4099,
422,
446,
13,
288,
1377,
1241,
273,
752,
1622,
12,
955,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9710,
8216,
12,
6385,
9710,
977,
13,
288,
565,
9710,
1241,
273,
3399,
5400,
18,
588,
12,
955,
1769,
565,
309,
261,
4099,
422,
446,
13,
288,
1377,
1241,
273,
752,
1622,
12,
955,
... |
new SVGUserAgent(ua, new AffineTransform()); | new SVGUserAgent(ua, new AffineTransform()); | private FopImage.ImageInfo getImage(String uri, InputStream fis, FOUserAgent ua) { // parse document and get the size attributes of the svg element try { int length = 5; fis.mark(length); byte[] b = new byte[len... | 5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/4e5fe60cb9134363e50dbd8da5c5e82e3c6e9afc/SVGReader.java/buggy/src/org/apache/fop/image/analyser/SVGReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
478,
556,
2040,
18,
2040,
966,
10567,
12,
780,
2003,
16,
5037,
15324,
16,
4766,
282,
17634,
12276,
10165,
13,
288,
5411,
368,
1109,
1668,
471,
336,
326,
963,
1677,
434,
326,
9804,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
478,
556,
2040,
18,
2040,
966,
10567,
12,
780,
2003,
16,
5037,
15324,
16,
4766,
282,
17634,
12276,
10165,
13,
288,
5411,
368,
1109,
1668,
471,
336,
326,
963,
1677,
434,
326,
9804,
... |
FilterByRow( List filters, Scriptable scope, JSRowObject scriptObj ) | FilterByRow( List filters, Scriptable scope, JSRowObject scriptObj ) throws DataException | FilterByRow( List filters, Scriptable scope, JSRowObject scriptObj ) { this.filters = filters; this.scope = scope; this.scriptObj = scriptObj; logger.log( Level.FINER, "FilterByRow starts up" ); } | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/d9810d4e8a5bbf7dca3786ee10eb9ac3902fb08e/FilterByRow.java/clean/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/FilterByRow.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1586,
858,
1999,
12,
987,
3415,
16,
22780,
2146,
16,
6756,
1999,
921,
2728,
2675,
262,
202,
95,
202,
202,
2211,
18,
6348,
273,
3415,
31,
202,
202,
2211,
18,
4887,
273,
2146,
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,
225,
202,
1586,
858,
1999,
12,
987,
3415,
16,
22780,
2146,
16,
6756,
1999,
921,
2728,
2675,
262,
202,
95,
202,
202,
2211,
18,
6348,
273,
3415,
31,
202,
202,
2211,
18,
4887,
273,
2146,
31,
... |
acl.decode(aclChars); acl.merge(entAccess.toCharArray()); | if (entAccess != null) { acl.decode(entAccess.toCharArray()); } acl.merge(aclChars); | private char[] getAclChars(BwShareableDbentity ent) throws CalFacadeException { if (ent instanceof BwShareableContainedDbentity) { BwCalendar container; if (ent instanceof BwCalendar) { container = (BwCalendar)ent; } else { container = ((BwShareableContainedDbentity)ent).getCalendar();... | 50848 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50848/b56f7f3e0fc11470c8ac88ee8a857987a156c956/AccessUtil.java/clean/calendar3/calCore/src/org/bedework/calcore/hibernate/AccessUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
1149,
8526,
4506,
830,
7803,
12,
38,
91,
9535,
429,
4331,
1096,
3281,
13,
1216,
3596,
12467,
503,
288,
565,
309,
261,
319,
1276,
605,
91,
9535,
429,
660,
8707,
4331,
1096,
13,
288... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
1149,
8526,
4506,
830,
7803,
12,
38,
91,
9535,
429,
4331,
1096,
3281,
13,
1216,
3596,
12467,
503,
288,
565,
309,
261,
319,
1276,
605,
91,
9535,
429,
660,
8707,
4331,
1096,
13,
288... |
Hashtable h = super.sanitizeHash(hn, p, pc); | super.sanitizeHash(hn, p, pc); | Hashtable sanitizeHash( Hashtable hn, ParsedTag p, HTMLParseContext pc) throws DataFilterException { // Call parent so we swallow the scripting Hashtable h = super.sanitizeHash(hn, p, pc); return null; // Lose the tags } | 52909 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52909/eda25544c98825ea7f1e9ddd5c08127cd671f788/HTMLFilter.java/clean/src/freenet/clients/http/filter/HTMLFilter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
5582,
14544,
8881,
2310,
12,
1082,
202,
5582,
14544,
366,
82,
16,
1082,
202,
11257,
1805,
293,
16,
1082,
202,
4870,
3201,
1042,
6125,
13,
1216,
1910,
1586,
503,
288,
1082,
202,
759,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
5582,
14544,
8881,
2310,
12,
1082,
202,
5582,
14544,
366,
82,
16,
1082,
202,
11257,
1805,
293,
16,
1082,
202,
4870,
3201,
1042,
6125,
13,
1216,
1910,
1586,
503,
288,
1082,
202,
759,... |
boolean elementIsCached = true; elementIsCached = resultCache.containsKey(element); if (elementIsCached) { pendingUpdate.add(element); } if (!elementIsCached) { decoratorManager.getLightweightManager() .getDecorations(element, cacheResult); if (cacheResult.hasValue() || reference.shouldForceUpdate()) { ... | boolean force = reference.shouldForceUpdate(); IDecorationContext[] contexts = reference.getContexts(); for (int i = 0; i < contexts.length; i++) { IDecorationContext context = contexts[i]; ensureResultCached(element, force, context); | public IStatus run(IProgressMonitor monitor) { if (shutdown)// Cancelled on shutdown return Status.CANCEL_STATUS; while(updatesPending()){ try { Thread.sleep(100); } catch (InterruptedException e) { //Cancel and try again if there was an error schedule(); return Status.... | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/9f91fdc102dc0bda0f133ae3012af277ee55d3ef/DecorationScheduler.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/decorators/DecorationScheduler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
467,
1482,
1086,
12,
45,
5491,
7187,
6438,
13,
288,
9506,
202,
430,
261,
15132,
13,
759,
10347,
1259,
603,
5731,
6862,
202,
2463,
2685,
18,
25268,
67,
8608,
31,
6862,
9506,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
467,
1482,
1086,
12,
45,
5491,
7187,
6438,
13,
288,
9506,
202,
430,
261,
15132,
13,
759,
10347,
1259,
603,
5731,
6862,
202,
2463,
2685,
18,
25268,
67,
8608,
31,
6862,
9506,
2... |
int start = toolBar.getItemCount(); src.fill(toolBar, destIx); int newItems = toolBar.getItemCount() - start; for (int i = 0; i < newItems; i++) { ToolItem item = toolBar.getItem(destIx++); item.setData(src); } } | int start = toolBar.getItemCount(); src.fill(toolBar, destIx); int newItems = toolBar.getItemCount() - start; for (int i = 0; i < newItems; i++) { ToolItem item = toolBar.getItem(destIx++); item.setData(src); } } | public void update(boolean force) { // long startTime= 0; // if (DEBUG) { // dumpStatistics(); // startTime= (new Date()).getTime(); // } if (isDirty() || force) { if (toolBarExist()) { int oldCount = toolBar.getItemCount(); // clean contains all active items without double separators IContributionI... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/2021d0649a924f18c32548a2bb0190a454d58b17/ToolBarManager.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/action/ToolBarManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1089,
12,
6494,
2944,
13,
288,
202,
202,
759,
202,
5748,
8657,
33,
374,
31,
202,
202,
759,
202,
430,
261,
9394,
13,
288,
202,
202,
759,
202,
202,
8481,
8569,
5621,
202,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1089,
12,
6494,
2944,
13,
288,
202,
202,
759,
202,
5748,
8657,
33,
374,
31,
202,
202,
759,
202,
430,
261,
9394,
13,
288,
202,
202,
759,
202,
202,
8481,
8569,
5621,
202,... |
boolean shortLen = (tdsVer == Tds.TDS70) && (wideChars || !outputParam); int len = shortLen ? comm.getTdsShort() : (comm.getByte() & 0xFF); | final boolean shortLen = (tdsVer == Tds.TDS70) && (wideChars || !outputParam); final int len = shortLen ? comm.getTdsShort() : (comm.getByte() & 0xFF); | private Object getCharValue(boolean wideChars, boolean outputParam) throws TdsException, java.io.IOException { Object result; boolean shortLen = (tdsVer == Tds.TDS70) && (wideChars || !outputParam); int len = shortLen ? comm.getTdsShort() : (comm.getByte() & 0xFF); // SAfe 200... | 5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/2be0656d7edb1ef1bceb7cc4bdad62540713e416/Tds.java/buggy/src/main/net/sourceforge/jtds/jdbc/Tds.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1033,
23577,
620,
12,
6494,
14812,
7803,
16,
1250,
876,
786,
13,
5411,
1216,
399,
2377,
503,
16,
2252,
18,
1594,
18,
14106,
288,
3639,
1033,
563,
31,
3639,
1250,
3025,
2891,
273,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1033,
23577,
620,
12,
6494,
14812,
7803,
16,
1250,
876,
786,
13,
5411,
1216,
399,
2377,
503,
16,
2252,
18,
1594,
18,
14106,
288,
3639,
1033,
563,
31,
3639,
1250,
3025,
2891,
273,
... |
this.signature = returnType.getErasureSignature(); | this.returnType = UnresolvedType.forSignature(signature); this.parameterTypes = UnresolvedType.NONE; | public MemberImpl( Kind kind, UnresolvedType declaringType, int modifiers, UnresolvedType returnType, String name, UnresolvedType[] parameterTypes) { super(); this.kind = kind; this.declaringType = declaringType; this.modifiers = modifie... | 53148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53148/757004ca6702a97369aac2ba62532f13ac5ced36/MemberImpl.java/buggy/weaver/src/org/aspectj/weaver/MemberImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
225,
8596,
2828,
12,
3639,
5851,
3846,
16,
540,
1351,
11792,
559,
20845,
559,
16,
540,
509,
10429,
16,
3639,
1351,
11792,
559,
9424,
16,
540,
514,
508,
16,
540,
1351,
11792,
559,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
225,
8596,
2828,
12,
3639,
5851,
3846,
16,
540,
1351,
11792,
559,
20845,
559,
16,
540,
509,
10429,
16,
3639,
1351,
11792,
559,
9424,
16,
540,
514,
508,
16,
540,
1351,
11792,
559,
... |
public int getFirstRow() { return firstRow; } | public int getFirstRow() { return firstRow; } | public int getFirstRow() { return firstRow; } // getFirstRow() | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/0788b89b7368770a1157f825d60dd8c5a9df183e/TableModelEvent.java/buggy/core/src/classpath/javax/javax/swing/event/TableModelEvent.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
7521,
1999,
1435,
288,
202,
202,
2463,
1122,
1999,
31,
202,
97,
368,
7521,
1999,
1435,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
7521,
1999,
1435,
288,
202,
202,
2463,
1122,
1999,
31,
202,
97,
368,
7521,
1999,
1435,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Modification mod = new Modification(); mod.type = getModificationType(revision); | private void addRevision(File revision) { UserAccount account = revision.getServer().getAdministration().findUserAccount(revision.getModifiedBy()); if ((account != null) && (account.getName().equals("BuildMaster"))) return; try { revision.checkout(Item.LockType.UNC... | 55334 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55334/2d7623bc4a2e1475ffb7ab8b918fd2a1661a421f/StarTeamElement.java/clean/main/src/net/sourceforge/cruisecontrol/StarTeamElement.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3431,
1480,
681,
273,
394,
3431,
1480,
5621,
681,
18,
723,
273,
336,
13467,
559,
12,
13057,
1769,
565,
3431,
1480,
681,
273,
394,
3431,
1480,
5621,
681,
18,
723,
273,
336,
13467,
559,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3431,
1480,
681,
273,
394,
3431,
1480,
5621,
681,
18,
723,
273,
336,
13467,
559,
12,
13057,
1769,
565,
3431,
1480,
681,
273,
394,
3431,
1480,
5621,
681,
18,
723,
273,
336,
13467,
559,
1... | |
if (useTrainingInput) { if (!new File(trainingInputDir).isDirectory()) throw new IOException("Training input directory " + trainingInputDir + " does not exist"); AnalysisContext.currentAnalysisContext().setDatabaseInputDir(trainingInputDir); AnalysisContext.currentAnalysisContext().loadInterproceduralDatabases(); } | public void execute() throws java.io.IOException, InterruptedException { // Configure the analysis context analysisContext = new AnalysisContext(bugReporter); analysisContext.setSourcePath(project.getSourceDirList()); if (relaxedReportingMode) { analysisContext.setBoolProperty(FindBugsAnalysisProperties.RELAXE... | 10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/9e9988216fc60b09d2a0e6f35229b8b9943366e8/FindBugs.java/clean/findbugs/src/java/edu/umd/cs/findbugs/FindBugs.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
430,
261,
1202,
14527,
1210,
13,
288,
309,
16051,
2704,
1387,
12,
17584,
1210,
1621,
2934,
291,
2853,
10756,
604,
394,
1860,
2932,
14527,
810,
1867,
315,
397,
8277,
1210,
1621,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
430,
261,
1202,
14527,
1210,
13,
288,
309,
16051,
2704,
1387,
12,
17584,
1210,
1621,
2934,
291,
2853,
10756,
604,
394,
1860,
2932,
14527,
810,
1867,
315,
397,
8277,
1210,
1621,
... | |
ActionGroup actionGroup = (ActionGroup)actionManager.getAction(ImageEditorActions.GROUP_POPUP); | ActionGroup actionGroup = (ActionGroup) actionManager.getAction(ImageEditorActions.GROUP_POPUP); | public void mouseClicked(MouseEvent e) { if (MouseEvent.BUTTON3 == e.getButton() && e.getClickCount() == 1) { // Single right click ActionManager actionManager = ActionManager.getInstance(); ActionGroup actionGroup = (ActionGroup)actionManager.getAction(Im... | 56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/523e4a14e52f07b114e679174f10a780c8fb85bf/ImageEditorUI.java/buggy/plugins/images/src/org/intellij/images/editor/impl/ImageEditorUI.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
7644,
27633,
12,
9186,
1133,
425,
13,
288,
5411,
309,
261,
9186,
1133,
18,
20068,
23,
422,
425,
18,
588,
3616,
1435,
597,
425,
18,
588,
6563,
1380,
1435,
422,
404,
13,
288,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
7644,
27633,
12,
9186,
1133,
425,
13,
288,
5411,
309,
261,
9186,
1133,
18,
20068,
23,
422,
425,
18,
588,
3616,
1435,
597,
425,
18,
588,
6563,
1380,
1435,
422,
404,
13,
288,
... |
public final double classProb(int classIndex,Instance instance) throws Exception { | public final double classProb(int classIndex,Instance instance, int theSubset) throws Exception { | public final double classProb(int classIndex,Instance instance) throws Exception { int theSubset = whichSubset(instance); if (theSubset <= -1) return m_distribution.prob(classIndex); else if (Utils.gr(m_distribution.perBag(theSubset),0)) return m_distribution.prob(classIndex,theSubset); ... | 48918 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48918/a9fb33297839bb8afea61edcce359ca77dc6cbda/BinC45Split.java/clean/weka/classifiers/j48/BinC45Split.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
727,
1645,
667,
9152,
12,
474,
667,
1016,
16,
1442,
791,
13,
3639,
1216,
1185,
288,
565,
509,
326,
20315,
273,
1492,
20315,
12,
1336,
1769,
3639,
309,
261,
5787,
20315,
1648,
300,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1645,
667,
9152,
12,
474,
667,
1016,
16,
1442,
791,
13,
3639,
1216,
1185,
288,
565,
509,
326,
20315,
273,
1492,
20315,
12,
1336,
1769,
3639,
309,
261,
5787,
20315,
1648,
300,
... |
private void addToZip(File file, ZipOutputStream zos) throws IOException { ZipEntry entry = new ZipEntry(file.getName()); zos.putNextEntry(entry); FileInputStream is = new FileInputStream(file); int size = (int) file.length(); byte[] bytes = new byte[size]; is.read(bytes); is.close(); zos.write(bytes, 0, size)... | 47868 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47868/ec2576158a28bfaeeb5879001e3d4802a1e122b1/FileSystemPage.java/clean/src/fitnesse/wiki/FileSystemPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
6459,
1289,
774,
9141,
12,
812,
768,
16,
9141,
4632,
94,
538,
13,
15069,
14106,
202,
95,
202,
202,
9141,
1622,
4099,
33,
2704,
9141,
1622,
12,
768,
18,
17994,
10663,
202,
202... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
6459,
1289,
774,
9141,
12,
812,
768,
16,
9141,
4632,
94,
538,
13,
15069,
14106,
202,
95,
202,
202,
9141,
1622,
4099,
33,
2704,
9141,
1622,
12,
768,
18,
17994,
10663,
202,
202... | ||
throw WrappedException.wrapException(ex); | throw ScriptRuntime.throwAsUncheckedException(ex); | public static Object callMethod(Scriptable object, Object thisObj, String methodId, Object[] args) { Context cx = Context.enter(); try { Object fun = ScriptableObject.getProperty(object,methodId); if (fun == Scriptable.NOT_FOUND) { ... | 51996 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51996/10e5abd5a19b72e9c2545091ffe6117854fc79c8/JavaAdapter.java/buggy/js/rhino/src/org/mozilla/javascript/JavaAdapter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1033,
745,
1305,
12,
3651,
429,
733,
16,
1033,
15261,
16,
4766,
565,
514,
707,
548,
16,
1033,
8526,
833,
13,
565,
288,
3639,
1772,
9494,
273,
1772,
18,
2328,
5621,
3639,
775,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1033,
745,
1305,
12,
3651,
429,
733,
16,
1033,
15261,
16,
4766,
565,
514,
707,
548,
16,
1033,
8526,
833,
13,
565,
288,
3639,
1772,
9494,
273,
1772,
18,
2328,
5621,
3639,
775,... |
Long result = null; | Object result = null; | public static boolean validateCreditCard(Object bean, ValidatorAction va, Field field, ActionMessages errors, HttpServletRequest request) { Long result = null; String value = null... | 54704 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54704/5643e25dd644f2849fe9db78f1a75247d7bb68ea/FieldChecks.java/buggy/src/share/org/apache/struts/validator/FieldChecks.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1250,
1954,
16520,
6415,
12,
921,
3931,
16,
4766,
1850,
9150,
1803,
14162,
16,
2286,
652,
16,
4766,
1850,
4382,
5058,
1334,
16,
4766,
1850,
9984,
590,
13,
288,
3639,
1033,
563,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1250,
1954,
16520,
6415,
12,
921,
3931,
16,
4766,
1850,
9150,
1803,
14162,
16,
2286,
652,
16,
4766,
1850,
4382,
5058,
1334,
16,
4766,
1850,
9984,
590,
13,
288,
3639,
1033,
563,... |
ISelection s = getViewer().getSelection(); if ( s instanceof IStructuredSelection ) { Object[] ss = ((IStructuredSelection)s).toArray(); for ( int i = 0; i < ss.length; ++i ) { fMapping.removeMapEntry( (MapEntrySourceContainer)ss[i] ); | MapEntrySourceContainer[] entries = getSelection(); for ( int i = 0; i < entries.length; ++i ) { fMapping.removeMapEntry( entries[i] ); | protected Control createDialogArea( Composite parent ) { setTitle( "Modify the list of path mappings" ); //TODO Add image Font font = parent.getFont(); Composite composite = new Composite( parent, SWT.NONE ); GridLayout layout = new GridLayout(); layout.numColumns = 2; layout.marginHeight = convertVerticalDLU... | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/af37524c7ae90496885c26ddfc66724b26d89db9/PathMappingDialog.java/buggy/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/sourcelookup/PathMappingDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
8888,
752,
6353,
5484,
12,
14728,
982,
262,
288,
202,
202,
542,
4247,
12,
315,
11047,
326,
666,
434,
589,
7990,
6,
11272,
202,
202,
759,
6241,
1436,
1316,
9506,
202,
5711,
35... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8888,
752,
6353,
5484,
12,
14728,
982,
262,
288,
202,
202,
542,
4247,
12,
315,
11047,
326,
666,
434,
589,
7990,
6,
11272,
202,
202,
759,
6241,
1436,
1316,
9506,
202,
5711,
35... |
super.configureShell(shell); | shell.setImage(SarosUI.getImage("icons/comment.png")); | protected void configureShell(Shell shell) { String sessionName = session.getName(); if (sessionName == null) { sessionName = "Talking to Unknown"; } shell.setText(sessionName); shell.setSize(500, 400); super.configureShell(shell); } | 21541 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/21541/0484b31557fd755b307874063448698905893c33/MessagingWindow.java/buggy/de.fu_berlin.inf.dpp/src/de/fu_berlin/inf/dpp/ui/MessagingWindow.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
5068,
13220,
12,
13220,
5972,
13,
288,
202,
202,
780,
1339,
461,
273,
1339,
18,
17994,
5621,
202,
202,
430,
261,
3184,
461,
422,
446,
13,
288,
1082,
202,
3184,
461,
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,
1117,
918,
5068,
13220,
12,
13220,
5972,
13,
288,
202,
202,
780,
1339,
461,
273,
1339,
18,
17994,
5621,
202,
202,
430,
261,
3184,
461,
422,
446,
13,
288,
1082,
202,
3184,
461,
273,... |
public org.quickfix.field.LegSymbolSfx getLegSymbolSfx() throws FieldNotFound { org.quickfix.field.LegSymbolSfx value = new org.quickfix.field.LegSymbolSfx(); | public quickfix.field.LegSymbolSfx getLegSymbolSfx() throws FieldNotFound { quickfix.field.LegSymbolSfx value = new quickfix.field.LegSymbolSfx(); | public org.quickfix.field.LegSymbolSfx getLegSymbolSfx() throws FieldNotFound { org.quickfix.field.LegSymbolSfx value = new org.quickfix.field.LegSymbolSfx(); getField(value); return value; } | 5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/Confirmation.java/clean/src/java/src/quickfix/fix44/Confirmation.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
5335,
55,
19595,
336,
8329,
5335,
55,
19595,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
5335,
55,
19595,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
5335,
55,
19595,
336,
8329,
5335,
55,
19595,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
5335,
55,
19595,
... |
graph.removeEdges(v.getIncidentEdges()); | public boolean testAttackTolerance() { int cnt = 0; DegreeDistributionRanker ranker = new DegreeDistributionRanker(graph); ranker.evaluate(); Iterator nodeRankingList = ranker.getRankings().iterator(); while (cnt < numNodes) { /* Select a highly-connected node. Deletes all its edges and then delete the no... | 45393 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45393/4507463e7717a0837d637aff76d450b0118e89e5/AttackTolerance.java/buggy/trunk/plugins/analysis/edu.iu.iv.attacktolerance/src/edu/iu/iv/attacktolerance/AttackTolerance.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
1842,
3075,
484,
22678,
1435,
288,
202,
202,
474,
7599,
273,
374,
31,
9506,
202,
22885,
9003,
12925,
264,
6171,
264,
273,
394,
463,
1332,
992,
9003,
12925,
264,
12,
4660,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
1842,
3075,
484,
22678,
1435,
288,
202,
202,
474,
7599,
273,
374,
31,
9506,
202,
22885,
9003,
12925,
264,
6171,
264,
273,
394,
463,
1332,
992,
9003,
12925,
264,
12,
4660,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.