rem stringlengths 1 53.3k | add stringlengths 0 80.5k | context stringlengths 6 326k | meta stringlengths 141 403 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|---|
if (waitingForRequestIcon != null) setIcon(waitingForRequestIcon); | if (waitByNecessityIcon != null) setIcon(waitByNecessityIcon); | public java.awt.Component getListCellRendererComponent(javax.swing.JList list, Object val, int index, boolean isSelected, boolean cellHasFocus) { if (! (val instanceof SpyEvent)) return this; SpyEvent event = (SpyEvent) val; switch (event.getType()) { case SpyEvent.REQUEST_SENT_MESSAGE_TYPE: ... | 23362 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/23362/2666230e00db643175e81dac0b52f3f8ba384784/EventListsPanel.java/clean/src/org/objectweb/proactive/ic2d/gui/EventListsPanel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2252,
18,
2219,
88,
18,
1841,
10033,
4020,
6747,
1841,
12,
28384,
18,
5328,
310,
18,
46,
682,
666,
16,
1033,
1244,
16,
509,
770,
16,
1250,
20956,
16,
1250,
2484,
5582,
9233,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2252,
18,
2219,
88,
18,
1841,
10033,
4020,
6747,
1841,
12,
28384,
18,
5328,
310,
18,
46,
682,
666,
16,
1033,
1244,
16,
509,
770,
16,
1250,
20956,
16,
1250,
2484,
5582,
9233,
13,
... |
ResultSet result = ExecSQL("select oid from pg_type where typname='" + typeName + "'"); | String sql; if (haveMinimumServerVersion("7.3")) { sql = "SELECT oid FROM pg_catalog.pg_type WHERE typname='" + typeName + "'"; } else { sql = "SELECT oid FROM pg_type WHERE typname='" + typeName + "'"; } ResultSet result = ExecSQL(sql); | public int getPGType(String typeName) throws SQLException { int oid = -1; if (typeName != null) { Integer oidValue = (Integer) typeOidCache.get(typeName); if (oidValue != null) { oid = oidValue.intValue(); } else { // it's not in the cache, so perform a query, and add the result to the cache Re... | 52522 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52522/7c553901d7ab010ad1cb5bf44f9ca2fdae83909a/AbstractJdbc1Connection.java/clean/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1Connection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
1689,
43,
559,
12,
780,
8173,
13,
1216,
6483,
202,
95,
202,
202,
474,
7764,
273,
300,
21,
31,
202,
202,
430,
261,
723,
461,
480,
446,
13,
202,
202,
95,
1082,
202,
452... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
1689,
43,
559,
12,
780,
8173,
13,
1216,
6483,
202,
95,
202,
202,
474,
7764,
273,
300,
21,
31,
202,
202,
430,
261,
723,
461,
480,
446,
13,
202,
202,
95,
1082,
202,
452... |
setLine(line); setPos(pos); | public TComma(int line, int pos) { super.setText(","); setLine(line); setPos(pos); } | 50059 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50059/a343b73e05abe516d42c4d6672f63a8325be4a98/TComma.java/buggy/sub/source/net/sourceforge/texlipse/bibparser/node/TComma.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
399,
15594,
12,
474,
980,
16,
509,
949,
13,
565,
288,
3639,
2240,
18,
542,
1528,
2932,
16,
8863,
3639,
26482,
12,
1369,
1769,
3639,
444,
1616,
12,
917,
1769,
565,
289,
2,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
399,
15594,
12,
474,
980,
16,
509,
949,
13,
565,
288,
3639,
2240,
18,
542,
1528,
2932,
16,
8863,
3639,
26482,
12,
1369,
1769,
3639,
444,
1616,
12,
917,
1769,
565,
289,
2,
-100,
... | |
java.sql.ResultSet columnNameRS = connection.ExecSQL("select a.attname FROM pg_attribute a WHERE (a.attnum = " + columnOrdinals[i] + ") AND (a.attrelid = " + r.getInt(9) + ")"); columnNameRS.next(); tuple[8] = columnNameRS.getBytes(1); | if (columnNameRS.next()) { tuple[8] = columnNameRS.getBytes(1); } else { tuple[8] = "".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... | 45534 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45534/deaad93462febc938230cff510f17780bf619862/DatabaseMetaData.java/buggy/src/interfaces/jdbc/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... |
rsvc.error(msg); | rsvc.getLog().error(msg); | public void merge( Context context, Writer writer) throws ResourceNotFoundException, ParseErrorException, MethodInvocationException, Exception { /* * we shouldn't have to do this, as if there is an error condition, * the application code should never get a reference to the ... | 9291 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9291/f4adefb79ccda5d9df1f60719e0ede8f167e4089/Template.java/buggy/src/java/org/apache/velocity/Template.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2691,
12,
1772,
819,
16,
5497,
2633,
13,
3639,
1216,
16676,
16,
2884,
10009,
16,
2985,
9267,
503,
16,
1185,
565,
288,
3639,
1748,
540,
380,
225,
732,
12044,
1404,
1240,
358,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2691,
12,
1772,
819,
16,
5497,
2633,
13,
3639,
1216,
16676,
16,
2884,
10009,
16,
2985,
9267,
503,
16,
1185,
565,
288,
3639,
1748,
540,
380,
225,
732,
12044,
1404,
1240,
358,
... |
if(whereExpr != null) whereExpr.analyze(this, flags); | if(whereExpr != null) { whereExpr.analyze(this, flags | IN_PREDICATE); } | public void analyze(Expression parent, int flags, OrderSpec orderBy[]) throws XPathException { // Save the local variable stack LocalVariable mark = context.markLocalVariables(); // Declare the iteration variable context.declareVariable(new LocalVariable(QName.parse(context, varName, null))); inputSeque... | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/6f42510a4a949e59f3c55b7bcc7a8bab9532e10a/LetExpr.java/buggy/src/org/exist/xquery/LetExpr.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
12375,
12,
2300,
982,
16,
509,
2943,
16,
4347,
1990,
5278,
63,
5717,
1216,
10172,
503,
288,
3639,
368,
7074,
326,
1191,
2190,
2110,
202,
202,
2042,
3092,
2267,
273,
819,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12375,
12,
2300,
982,
16,
509,
2943,
16,
4347,
1990,
5278,
63,
5717,
1216,
10172,
503,
288,
3639,
368,
7074,
326,
1191,
2190,
2110,
202,
202,
2042,
3092,
2267,
273,
819,
... |
while(enterCount > 0) { | while (enterCount > 0) { | void interrupted(Context cx) { synchronized(swingMonitor) { if(java.awt.EventQueue.isDispatchThread()) { dispatcherIsWaiting++; if(nonDispatcherWaiting) { // Another thread is stopped in the debugger // process events until it res... | 12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/5b760bc86060749267746b7d77c0c8da1d3b9c1d/Main.java/buggy/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/Main.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
15711,
12,
1042,
9494,
13,
288,
3639,
3852,
12,
5328,
310,
7187,
13,
288,
5411,
309,
12,
6290,
18,
2219,
88,
18,
1133,
3183,
18,
291,
5325,
3830,
10756,
288,
7734,
7393,
2520,
1594... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
15711,
12,
1042,
9494,
13,
288,
3639,
3852,
12,
5328,
310,
7187,
13,
288,
5411,
309,
12,
6290,
18,
2219,
88,
18,
1133,
3183,
18,
291,
5325,
3830,
10756,
288,
7734,
7393,
2520,
1594... |
public void algorithmRescheduled(Algorithm algorithm, Calendar time) { | public synchronized void algorithmRescheduled(Algorithm algorithm, Calendar time) { | public void algorithmRescheduled(Algorithm algorithm, Calendar time) { _schedulerListener.algorithmRescheduled(algorithm, time); } | 45843 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45843/c0bd6541b8531af1fa0e2dd8c91dda140fbbda4a/SchedulerServiceImpl.java/buggy/core/org.cishell.reference/src/org/cishell/reference/app/service/scheduler/SchedulerServiceImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
918,
4886,
607,
2847,
72,
12,
6801,
4886,
16,
5542,
813,
13,
288,
3639,
389,
19972,
2223,
18,
12743,
607,
2847,
72,
12,
12743,
16,
813,
1769,
5411,
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,
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,
3852,
918,
4886,
607,
2847,
72,
12,
6801,
4886,
16,
5542,
813,
13,
288,
3639,
389,
19972,
2223,
18,
12743,
607,
2847,
72,
12,
12743,
16,
813,
1769,
5411,
289,
2,
-100,
-100,
-100,... |
((FigEdgeModelElement)_content).computeRoute(); | ((FigEdgeModelElement) _content).computeRoute(); | public void mouseReleased(MouseEvent me) { // check pre-conds if (me.isConsumed() || armed == false || pointIndex==-1){ armed = false; super.mouseReleased(me); return; } //Set-up: int x = me.getX(), y = me.getY(); // the fig t... | 7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/SelectionRerouteEdge.java/clean/src_new/org/argouml/uml/diagram/ui/SelectionRerouteEdge.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
7644,
26363,
12,
9186,
1133,
1791,
13,
288,
3639,
368,
866,
675,
17,
20874,
3639,
309,
261,
3501,
18,
291,
20554,
1435,
747,
419,
2937,
422,
629,
747,
1634,
1016,
631,
17,
21... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
7644,
26363,
12,
9186,
1133,
1791,
13,
288,
3639,
368,
866,
675,
17,
20874,
3639,
309,
261,
3501,
18,
291,
20554,
1435,
747,
419,
2937,
422,
629,
747,
1634,
1016,
631,
17,
21... |
return this.split; | return split; | public JSplitPane getPanel() { return this.split; } | 47012 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47012/0458430a0dc8a713aa2b4d64f000cbbaaeb4adea/IndexBrowserPanel.java/buggy/src/thaw/plugins/index/IndexBrowserPanel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
804,
5521,
8485,
1689,
30427,
1435,
288,
202,
202,
2463,
333,
18,
4939,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
804,
5521,
8485,
1689,
30427,
1435,
288,
202,
202,
2463,
333,
18,
4939,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
KoLmafia.updateDisplay( PENDING_STATE, lastUpdate ); | KoLmafia.updateDisplay( ERROR_STATE, lastUpdate ); | protected static void parseConsumption( String responseText, boolean showHTML ) { if ( lastItemUsed == null ) return; // Assume initially that this causes the item to disappear. // In the event that the item is not used, then proceed to // undo the consumption. int consumptionType = TradeableItemDatabase.getCon... | 50364 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50364/721035d155e7c4ac34e4bc7113ba1b6e4f3125ca/ConsumeItemRequest.java/buggy/src/net/sourceforge/kolmafia/ConsumeItemRequest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
760,
918,
1109,
11911,
375,
12,
514,
23630,
16,
1250,
2405,
4870,
262,
202,
95,
202,
202,
430,
261,
1142,
1180,
6668,
422,
446,
262,
1082,
202,
2463,
31,
202,
202,
759,
15983... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
760,
918,
1109,
11911,
375,
12,
514,
23630,
16,
1250,
2405,
4870,
262,
202,
95,
202,
202,
430,
261,
1142,
1180,
6668,
422,
446,
262,
1082,
202,
2463,
31,
202,
202,
759,
15983... |
return values; | return dataValueDelegatingList; | public EList getValues() { EStructuralFeature feature = getFeature(); if (feature instanceof EAttribute) { EList values = new BasicEList(); EDataType type = (EDataType)feature.getEType(); for (Iterator iter = getDataValues().iterator(); iter.hasNext(); ) { values.add(EcoreUtil.cre... | 11224 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11224/bbb08196df3d1d178da6b1a05faf45fa3cba8df4/ListChangeImpl.java/clean/plugins/org.eclipse.emf.ecore.change/src/org/eclipse/emf/ecore/change/impl/ListChangeImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
17021,
13500,
1435,
225,
288,
565,
512,
14372,
4595,
2572,
273,
17961,
5621,
565,
309,
261,
7238,
1276,
512,
1499,
13,
565,
288,
1377,
17021,
924,
273,
394,
7651,
41,
682,
5621,
137... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
17021,
13500,
1435,
225,
288,
565,
512,
14372,
4595,
2572,
273,
17961,
5621,
565,
309,
261,
7238,
1276,
512,
1499,
13,
565,
288,
1377,
17021,
924,
273,
394,
7651,
41,
682,
5621,
137... |
return to_a().to_s(); | if(!getRuntime().registerInspecting(this)) { return getRuntime().newString("{...}"); } try { return to_a().to_s(); } finally { getRuntime().unregisterInspecting(this); } | public IRubyObject to_s() { return to_a().to_s(); } | 49687 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49687/c41f74da90a0fae6fd661222d04c6b602b3bc6ec/RubyHash.java/buggy/src/org/jruby/RubyHash.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
358,
67,
87,
1435,
288,
3639,
309,
12,
5,
588,
5576,
7675,
4861,
12073,
310,
12,
2211,
3719,
288,
327,
18814,
7675,
2704,
780,
2932,
95,
2777,
1532,
1769,
289,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
358,
67,
87,
1435,
288,
3639,
309,
12,
5,
588,
5576,
7675,
4861,
12073,
310,
12,
2211,
3719,
288,
327,
18814,
7675,
2704,
780,
2932,
95,
2777,
1532,
1769,
289,
... |
for( i=0; i<tdsPool.size(); i++ ) { try { if( commit ) ((TdsInstance)tdsPool.elementAt(i)).tds.commit(); else ((TdsInstance)tdsPool.elementAt(i)).tds.rollback(); } catch( java.sql.SQLException e ) { | for (i = 0; i < tdsPool.size(); i++) { try { if (commit) { ((TdsInstance) tdsPool.elementAt(i)).tds.commit(); } else { ((TdsInstance) tdsPool.elementAt(i)).tds.rollback(); } } catch (java.sql.SQLException e) { | private void commitOrRollback(boolean commit) throws SQLException { int i; // @todo SAfe Check when does clearWarnings actually have to be called warningChain.clearWarnings(); // MJH Commit or Rollback Tds connections directly rather than mess with TdsStatement for( i=0; i<tds... | 439 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/439/fb8d83e970f8d6bd9cc0f859d3736d3613730e2b/TdsConnection.java/buggy/trunk/jtds/src/main/net/sourceforge/jtds/jdbc/TdsConnection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3294,
1162,
12703,
12,
6494,
3294,
13,
1216,
6483,
565,
288,
3639,
509,
277,
31,
3639,
368,
632,
9012,
17127,
3030,
2073,
1347,
1552,
2424,
4312,
6013,
1240,
358,
506,
2566,
36... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3294,
1162,
12703,
12,
6494,
3294,
13,
1216,
6483,
565,
288,
3639,
509,
277,
31,
3639,
368,
632,
9012,
17127,
3030,
2073,
1347,
1552,
2424,
4312,
6013,
1240,
358,
506,
2566,
36... |
System.err.println("ERROR ["+clazz+"] "+ message); | System.err.println("ERROR ["+clazz+"] "+ message); | public void error(Object message) { if (logLevel <= ERROR) System.err.println("ERROR ["+clazz+"] "+ message); } | 4212 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4212/53734e3a004051ab457f4ef459dc7d8916307f95/ConsoleLogger.java/clean/src/org/tn5250j/tools/logging/ConsoleLogger.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
555,
12,
921,
883,
13,
288,
1377,
309,
261,
1330,
2355,
1648,
5475,
13,
1377,
2332,
18,
370,
18,
8222,
2932,
3589,
8247,
15,
830,
3638,
9078,
65,
13773,
883,
1769,
282,
289,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
565,
1071,
918,
555,
12,
921,
883,
13,
288,
1377,
309,
261,
1330,
2355,
1648,
5475,
13,
1377,
2332,
18,
370,
18,
8222,
2932,
3589,
8247,
15,
830,
3638,
9078,
65,
13773,
883,
1769,
282,
289,
... |
Tree qual1 = makeStableId(tree.pos, pre); | Tree qual1 = gen.This(tree.pos, nextcontext.enclClass.owner); | Tree transformIdent(Tree tree, Name name) { //System.out.println("transforming " + name);//DEBUG // find applicable definition and assign to `sym' Symbol sym = Symbol.NONE; Type pre; Tree qual = Tree.Empty; int stopPos = Integer.MIN_VALUE; Context nextcontext = context; while (sym.kind == NONE && nextcontext != Con... | 55146 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55146/366ae6010879ded62bf292daef2f0799add92428/Analyzer.java/clean/sources/scalac/typechecker/Analyzer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4902,
2510,
6106,
12,
2471,
2151,
16,
1770,
508,
13,
288,
202,
759,
3163,
18,
659,
18,
8222,
2932,
6547,
310,
315,
397,
508,
1769,
759,
9394,
202,
759,
1104,
12008,
2379,
471,
2683,
358... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4902,
2510,
6106,
12,
2471,
2151,
16,
1770,
508,
13,
288,
202,
759,
3163,
18,
659,
18,
8222,
2932,
6547,
310,
315,
397,
508,
1769,
759,
9394,
202,
759,
1104,
12008,
2379,
471,
2683,
358... |
return count; | return set; | private int findMoves(MasterHex hex, Player player, Legion legion, int roll, int block, int cameFrom, boolean show) { int count = 0; // If there are enemy legions in this hex, mark it // as a legal move and stop recursing. If there is // also a friendly legion there, just stop... | 51862 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51862/6966a6627dfe9dd5fda3f5d5af9df1d47daef99f/Game.java/buggy/Colossus/Game.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
1104,
19297,
12,
7786,
7037,
3827,
16,
19185,
7291,
16,
17167,
285,
4553,
285,
16,
3639,
509,
5824,
16,
509,
1203,
16,
509,
22497,
1265,
16,
1250,
2405,
13,
565,
288,
3639,
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,
3238,
509,
1104,
19297,
12,
7786,
7037,
3827,
16,
19185,
7291,
16,
17167,
285,
4553,
285,
16,
3639,
509,
5824,
16,
509,
1203,
16,
509,
22497,
1265,
16,
1250,
2405,
13,
565,
288,
3639,
5... |
throw new TransformerException(new Message(Messages.TRANSFORM_FAILED_FROM_X_TO_X, msg.getClass().getName(), "byte[]"), e); | throw new TransformerException(new Message(Messages.TRANSFORM_FAILED_FROM_X_TO_X, msg .getClass().getName(), "byte[]"), e); | public byte[] getTransformedMessageAsBytes() throws TransformerException { Object msg = getTransformedMessage(); if (msg instanceof byte[]) { return (byte[])msg; } else if (msg instanceof String) { try { return msg.toString().getBytes(getEncoding()); ... | 28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/6de1510957924530f45b91a16430b826029ecf1b/MuleEvent.java/clean/src/java/org/mule/impl/MuleEvent.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1160,
8526,
336,
4059,
329,
1079,
1463,
2160,
1435,
1216,
21684,
565,
288,
3639,
1033,
1234,
273,
336,
4059,
329,
1079,
5621,
3639,
309,
261,
3576,
1276,
1160,
63,
5717,
288,
5411,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1160,
8526,
336,
4059,
329,
1079,
1463,
2160,
1435,
1216,
21684,
565,
288,
3639,
1033,
1234,
273,
336,
4059,
329,
1079,
5621,
3639,
309,
261,
3576,
1276,
1160,
63,
5717,
288,
5411,
... |
} while (rs.next() && (structId = rs.getInt(1)) == lastStructId); } while(!rs.isAfterLast()); | if (!rs.next()) { break readParm; } } while ((structId = rs.getInt(1)) == lastStructId); } | public Document getUserLayout (IPerson person, int profileId) throws Exception { int userId = person.getID(); Connection con = rdbmService.getConnection(); String str_uLayoutXML = null; try { DocumentImpl doc = new DocumentImpl(); Element root = doc.createElement("layout"); Statement stmt =... | 24959 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/24959/d2d36dc78ab3ce2e5d754549619a6442afce50ec/RDBMUserLayoutStore.java/buggy/source/org/jasig/portal/RDBMUserLayoutStore.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
4319,
4735,
3744,
261,
2579,
3565,
6175,
16,
509,
25903,
13,
1216,
1185,
288,
565,
509,
6249,
273,
6175,
18,
588,
734,
5621,
565,
4050,
356,
273,
436,
1966,
81,
1179,
18,
588,
195... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4319,
4735,
3744,
261,
2579,
3565,
6175,
16,
509,
25903,
13,
1216,
1185,
288,
565,
509,
6249,
273,
6175,
18,
588,
734,
5621,
565,
4050,
356,
273,
436,
1966,
81,
1179,
18,
588,
195... |
mangled.append("To"); | mangled.append(i == 1 ? "to" : "To"); | public static String mangleName (String name) { int len = name.length (); StringBuffer mangled = new StringBuffer (len); for (int i = 0; i < len; i++) { char ch = name.charAt (i); // This function is probably not quite enough ... // (Note the verifier may be picky about class names.) if (Character.is... | 36870 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/36870/0a820848f7d64971115fbe74bb9bff5a16b4bbf9/Compilation.java/clean/gnu/expr/Compilation.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
514,
312,
4341,
461,
261,
780,
508,
13,
225,
288,
565,
509,
562,
273,
508,
18,
2469,
261,
1769,
565,
6674,
29674,
1259,
273,
394,
6674,
261,
1897,
1769,
565,
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,
282,
1071,
760,
514,
312,
4341,
461,
261,
780,
508,
13,
225,
288,
565,
509,
562,
273,
508,
18,
2469,
261,
1769,
565,
6674,
29674,
1259,
273,
394,
6674,
261,
1897,
1769,
565,
364,
261,
474,
... |
ObjectStoreDummyImpl os = new ObjectStoreDummyImpl(); os.setResultsSize(12); | ObjectStoreDummyImpl objectStore = new ObjectStoreDummyImpl(); objectStore.setResultsSize(12); | public void testCount() throws Exception { ObjectStoreDummyImpl os = new ObjectStoreDummyImpl(); os.setResultsSize(12); Query q = new Query(); assertEquals(os.count(q, 0), 12); } | 29158 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/29158/23f1c6cb3b3980b8412d00bb3021ee244f7d5dae/ObjectStoreDummyImplTest.java/buggy/intermine/src/test/org/intermine/objectstore/dummy/ObjectStoreDummyImplTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
1380,
1435,
1216,
1185,
288,
3639,
1033,
2257,
20094,
2828,
1140,
273,
394,
1033,
2257,
20094,
2828,
5621,
3639,
1140,
18,
542,
3447,
1225,
12,
2138,
1769,
3639,
2770,
1043... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
1380,
1435,
1216,
1185,
288,
3639,
1033,
2257,
20094,
2828,
1140,
273,
394,
1033,
2257,
20094,
2828,
5621,
3639,
1140,
18,
542,
3447,
1225,
12,
2138,
1769,
3639,
2770,
1043... |
Class receiverClass =Class.forName(clasName,true, | Class receiverClass = Class.forName(clasName, true, | private void processTransportReceivers(Iterator trs_senders) throws DeploymentException { while (trs_senders.hasNext()) { TransportInDescription transportIN; OMElement transport = (OMElement) trs_senders.next(); // getting trsnport Name OMAttribute trsName = transp... | 49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/5f07c5c348ac1bfe427010be901bc10e3f0a6182/AxisConfigBuilder.java/clean/modules/core/src/org/apache/axis2/deployment/AxisConfigBuilder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1207,
6568,
4779,
6760,
12,
3198,
433,
87,
67,
4661,
414,
13,
1216,
8587,
503,
288,
3639,
1323,
261,
28007,
67,
4661,
414,
18,
5332,
2134,
10756,
288,
5411,
9514,
382,
3291,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1207,
6568,
4779,
6760,
12,
3198,
433,
87,
67,
4661,
414,
13,
1216,
8587,
503,
288,
3639,
1323,
261,
28007,
67,
4661,
414,
18,
5332,
2134,
10756,
288,
5411,
9514,
382,
3291,
... |
} catch ( IOException except ) { } catch (SecurityException sx) { | } catch (SecurityException e) { LOG.warn(Messages.format("conf.privilegesError", e)); } catch (IOException e) { LOG.warn(Messages.format("conf.nonCriticalError", e)); | public static Properties loadProperties(String resourceName, String fileName) { File file; Properties properties = new Properties(); boolean found = false; // Get detault configuration from the Castor JAR. // Complain if not found. try { properties.lo... | 3614 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3614/97e0e597002f342475f6b5ac7c08b55d5e391a4d/Configuration.java/buggy/trunk/castor/src/main/org/exolab/castor/util/Configuration.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
6183,
1262,
2297,
12,
780,
9546,
16,
514,
3968,
13,
202,
95,
3639,
1387,
3639,
585,
31,
3639,
6183,
1790,
273,
394,
6183,
5621,
3639,
1250,
1392,
273,
629,
31,
7734,
368,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
6183,
1262,
2297,
12,
780,
9546,
16,
514,
3968,
13,
202,
95,
3639,
1387,
3639,
585,
31,
3639,
6183,
1790,
273,
394,
6183,
5621,
3639,
1250,
1392,
273,
629,
31,
7734,
368,... |
throw new NotImplementedError(); | public void raise(RubyException exc) { // TODO: How do we raise the exception from the target thread // (as opposed to the calling thread)? //throw exc; } | 45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/97a2e6c00e86a04f4922893e5ab540f1c1636188/RubyThread.java/clean/org/jruby/RubyThread.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
604,
394,
11206,
5621,
225,
1071,
918,
1002,
12,
54,
10340,
503,
3533,
13,
288,
12849,
394,
11206,
5621,
604,
394,
11206,
5621,
282,
368,
2660,
30,
9017,
741,
732,
1002,
326,
1520,
628,
326,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
604,
394,
11206,
5621,
225,
1071,
918,
1002,
12,
54,
10340,
503,
3533,
13,
288,
12849,
394,
11206,
5621,
604,
394,
11206,
5621,
282,
368,
2660,
30,
9017,
741,
732,
1002,
326,
1520,
628,
326,
... | |
}else{ | } else { | public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException{ // Lets get the server this request was aimed for String host = req.getHeader("Host") ; String imcServer = Utility.getDomainPref("adminserver",host) ; HttpSession session = req.getSession(); imcode.server.Use... | 8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/7c08439e633ade9fd1b35d27e55611d3c71d2e7f/AdminQuestionsFile.java/buggy/servlets/AdminQuestionsFile.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
741,
3349,
12,
2940,
18572,
1111,
16,
12446,
400,
13,
202,
15069,
16517,
16,
1860,
95,
202,
202,
759,
511,
2413,
336,
326,
1438,
333,
590,
1703,
279,
381,
329,
364,
202,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
741,
3349,
12,
2940,
18572,
1111,
16,
12446,
400,
13,
202,
15069,
16517,
16,
1860,
95,
202,
202,
759,
511,
2413,
336,
326,
1438,
333,
590,
1703,
279,
381,
329,
364,
202,
... |
private void callEscape() throws SQLException { // Insert EXECUTE into SQL so that proc can be called as normal SQL copyLiteral("EXECUTE "); keyWord = "execute"; // Process procedure name procName = copyProcName(); skipWhiteSpace(); if (in[s] == '(') { // Opt... | 5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/7280c48789e4df146f790790062fb954f7dc9903/SQLParser.java/clean/src/main/net/sourceforge/jtds/jdbc/SQLParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
745,
8448,
1435,
1216,
6483,
288,
3639,
368,
8040,
24508,
9099,
1368,
3063,
1427,
716,
5418,
848,
506,
2566,
487,
2212,
3063,
3639,
1610,
6177,
2932,
15271,
9099,
315,
1769,
3639... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
745,
8448,
1435,
1216,
6483,
288,
3639,
368,
8040,
24508,
9099,
1368,
3063,
1427,
716,
5418,
848,
506,
2566,
487,
2212,
3063,
3639,
1610,
6177,
2932,
15271,
9099,
315,
1769,
3639... | ||
startTime = System.currentTimeMillis(); | int nbTasks = 3 * engine.length; log("Creating " + nbTasks + " intervals"); int intheight = IMAGE_HEIGHT / nbTasks; | private void render() { // Checks there are some engines usde if (li_enginesUsed.getItems().length == 0) { showMessageAll("No engines ... contact the dispatcher"); return; } // Toggles the rendering flag.. b_render = true; // Benchmarking stuff... startTime = System.currentTimeMillis(); Interval interval;... | 14315 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14315/80a90996a87b23c561b5cc820ea57e1356c218b2/C3DDispatcher.java/clean/src/org/objectweb/proactive/examples/c3d/C3DDispatcher.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1743,
1435,
202,
95,
202,
202,
759,
13074,
1915,
854,
2690,
20504,
584,
323,
202,
202,
430,
261,
549,
67,
275,
14660,
6668,
18,
588,
3126,
7675,
2469,
422,
374,
13,
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,
918,
1743,
1435,
202,
95,
202,
202,
759,
13074,
1915,
854,
2690,
20504,
584,
323,
202,
202,
430,
261,
549,
67,
275,
14660,
6668,
18,
588,
3126,
7675,
2469,
422,
374,
13,
202,... |
try { enumeration = ClassHelper.class.getClassLoader().getResources(resourceName); } catch (IOException e) { } | enumeration = (Enumeration) AccessController.doPrivileged(new PrivilegedAction() { public Object run() { try { return ClassHelper.class.getClassLoader().getResources(resourceName); } catch (IOException e) { return null; } } }); | public static Enumeration getResources(String resourceName, Class callingClass) { Enumeration enumeration = null; try { enumeration = Thread.currentThread().getContextClassLoader().getResources(resourceName); } catch (IOException e) { } if (enumeration == null) { ... | 28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/474b57065fd42f121b8743a207c223c19f72c625/ClassHelper.java/clean/mule/src/java/org/mule/util/ClassHelper.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
13864,
14590,
12,
780,
9546,
16,
1659,
4440,
797,
13,
288,
3639,
13864,
16836,
273,
446,
31,
3639,
775,
288,
5411,
16836,
273,
4884,
18,
2972,
3830,
7675,
29120,
7805,
7675,
58... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13864,
14590,
12,
780,
9546,
16,
1659,
4440,
797,
13,
288,
3639,
13864,
16836,
273,
446,
31,
3639,
775,
288,
5411,
16836,
273,
4884,
18,
2972,
3830,
7675,
29120,
7805,
7675,
58... |
case Id_toLocaleTimeString: return realThis(thisObj, f, true). jsFunction_toLocaleTimeString(); | case Id_toLocaleTimeString: return realThis(thisObj, f, true). jsFunction_toLocaleTimeString(); | public Object execMethod (int methodId, IdFunction f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) throws JavaScriptException { switch (methodId) { case ConstructorId_UTC: return wrap_double (jsStaticFunction_UTC(args)); case ConstructorId... | 47609 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47609/35caf7c2bb93872680ae16e34746d94fe1e533e3/NativeDate.java/buggy/js/rhino/src/org/mozilla/javascript/NativeDate.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1196,
1305,
3639,
261,
474,
707,
548,
16,
3124,
2083,
284,
16,
540,
1772,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
1033,
8526,
833,
13,
3639,
1216,
11905,
503,
565,
288,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1196,
1305,
3639,
261,
474,
707,
548,
16,
3124,
2083,
284,
16,
540,
1772,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
1033,
8526,
833,
13,
3639,
1216,
11905,
503,
565,
288,
... |
_loop201: | _loop833: | public final void throwsClause() throws RecognitionException, TokenStreamException { returnAST = null; ASTPair currentAST = new ASTPair(); AST throwsClause_AST = null; AST tmp150_AST = null; tmp150_AST = astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp150_AST); match(LITERAL_throws); nls();... | 6462 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6462/0116bf864ced52bd188b9d77a4ac03fe93680645/GroovyRecognizer.java/buggy/src/main/org/codehaus/groovy/antlr/parser/GroovyRecognizer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1216,
7044,
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,
202,
9... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1216,
7044,
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,
202,
9... |
for(int i=0;i<k;i++) if(readers[i] != null) readers[i].close(); for(int i=0;i<n-k;i++) if(writers[i] != null) writers[i].close(); | private void realEncode(SplitfileBlock[] dataBlockStatus, SplitfileBlock[] checkBlockStatus, int blockLength, BucketFactory bf) throws IOException { System.err.println("************* Encoding "+dataBlockStatus.length+" -> "+checkBlockStatus.length+" *************"); Logger.minor(this, "Doing encode: "+dataBlockStatu... | 51738 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51738/fbdde7654afdefd24ae4365520a38c1c680248a7/StandardOnionFECCodec.java/buggy/src/freenet/client/StandardOnionFECCodec.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
2863,
5509,
12,
5521,
768,
1768,
8526,
501,
1768,
1482,
16,
5385,
768,
1768,
8526,
866,
1768,
1482,
16,
509,
25367,
16,
7408,
1733,
16222,
13,
1216,
1860,
288,
202,
202,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
2863,
5509,
12,
5521,
768,
1768,
8526,
501,
1768,
1482,
16,
5385,
768,
1768,
8526,
866,
1768,
1482,
16,
509,
25367,
16,
7408,
1733,
16222,
13,
1216,
1860,
288,
202,
202,
... | |
LoadFile(Main db, Scriptable scope, String fileName) { | LoadFile(DebugGui debugGui, Scriptable scope, String fileName) { | LoadFile(Main db, Scriptable scope, String fileName) { this.scope = scope; this.fileName = fileName; this.db = db; } | 11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/7ceadc8e69bfcf427fd421373c750f8de120f15c/Main.java/clean/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/Main.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4444,
812,
12,
2829,
18070,
1198,
18070,
16,
22780,
2146,
16,
514,
3968,
13,
288,
3639,
333,
18,
4887,
273,
2146,
31,
3639,
333,
18,
17812,
273,
3968,
31,
3639,
333,
18,
1966,
273,
1319... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4444,
812,
12,
2829,
18070,
1198,
18070,
16,
22780,
2146,
16,
514,
3968,
13,
288,
3639,
333,
18,
4887,
273,
2146,
31,
3639,
333,
18,
17812,
273,
3968,
31,
3639,
333,
18,
1966,
273,
1319... |
private void sendMail ( IMCServiceInterface imcref, String[] poll_param, String meta_id, TreeMap textQuestions, TreeMap textAnswers ) throws IOException { String mailFromAddress = getText( imcref, Integer.parseInt(meta_id), Integer.parseInt(poll_param[9]) ); String mailToAddress = get... | 8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/d060a6873350aa2972f54c354321cf3756f50e6f/PollHandler.java/buggy/server/src/com/imcode/imcms/servlet/misc/PollHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1366,
6759,
261,
6246,
39,
18348,
709,
71,
1734,
16,
514,
8526,
7672,
67,
891,
16,
514,
2191,
67,
350,
16,
18701,
16381,
977,
30791,
1115,
16,
16381,
977,
19543,
262,
1216,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1366,
6759,
261,
6246,
39,
18348,
709,
71,
1734,
16,
514,
8526,
7672,
67,
891,
16,
514,
2191,
67,
350,
16,
18701,
16381,
977,
30791,
1115,
16,
16381,
977,
19543,
262,
1216,
1... | ||
l.addFirst(obj); | l.addFirst(obj); | public void addAtHead(Object obj) throws QueueClosedException { if(closed) throw new QueueClosedException(); if ( this.num_markers > 0 ) throw new QueueClosedException("LinkedListQueue.addAtHead(): queue has been closed. You can not add more elements. " + "Waiting for remo... | 49475 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49475/4071daaa0d7c1c82cdc06c63ce8b9cfb7b0eff8c/LinkedListQueue.java/buggy/src/org/jgroups/util/LinkedListQueue.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
527,
861,
1414,
12,
921,
1081,
13,
1216,
7530,
7395,
503,
288,
3639,
309,
12,
12204,
13,
5411,
604,
394,
7530,
7395,
503,
5621,
3639,
309,
261,
333,
18,
2107,
67,
22807,
405,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
861,
1414,
12,
921,
1081,
13,
1216,
7530,
7395,
503,
288,
3639,
309,
12,
12204,
13,
5411,
604,
394,
7530,
7395,
503,
5621,
3639,
309,
261,
333,
18,
2107,
67,
22807,
405,... |
if ( debug ) { System.out.println(""+returnObj); } | public Object invoke(Object proxy, Method method, Object[] args) throws Throwable{ if (isInvalidReference) throw new NoSuchObjectException("reference is invalid"); String methodName = method.getName(); if (method.getDeclaringClass() == Object.class ) { if ( methodName.equals( "toStri... | 47052 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47052/19b310d4a4308bdf16072bc85924fbaf2e903df7/BaseEjbProxyHandler.java/clean/openejb0/src/main/org/openejb/core/ivm/BaseEjbProxyHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
4356,
12,
921,
2889,
16,
2985,
707,
16,
1033,
8526,
833,
13,
1216,
4206,
95,
3639,
309,
261,
291,
1941,
2404,
13,
604,
394,
5823,
921,
503,
2932,
6180,
353,
2057,
8863,
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,
1033,
4356,
12,
921,
2889,
16,
2985,
707,
16,
1033,
8526,
833,
13,
1216,
4206,
95,
3639,
309,
261,
291,
1941,
2404,
13,
604,
394,
5823,
921,
503,
2932,
6180,
353,
2057,
8863,
3639... | |
assertTrue(message.indexOf("FORG0001") > -1); | assertTrue(message.indexOf("FORG0001") > -1 | message.indexOf("FOCH0002") > -1); | public void testMax() throws XPathException { ResourceSet result = null; String r = ""; String message; try { result = service.query( "max((1, 2))" ); r = (String) result.getResource(0).getContent(); assertEquals( "2", r ); result = service.query( "max((<a>1</a>, <b>2</b>))" ); r = (Stri... | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/9f25d7c6227c1d691befbbb78b627daa3310fdc4/XQueryFunctionsTest.java/clean/src/org/exist/xquery/test/XQueryFunctionsTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
2747,
1435,
1216,
10172,
503,
288,
202,
202,
1420,
694,
563,
3196,
202,
33,
446,
31,
202,
202,
780,
202,
202,
86,
1082,
202,
33,
1408,
31,
202,
202,
780,
883,
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,
482,
918,
1842,
2747,
1435,
1216,
10172,
503,
288,
202,
202,
1420,
694,
563,
3196,
202,
33,
446,
31,
202,
202,
780,
202,
202,
86,
1082,
202,
33,
1408,
31,
202,
202,
780,
883,
31,... |
buf.append("mg.iinc("); | public void visitIincInsn (final int var, final int increment) { buf.setLength(0); buf.append("mg.iinc("); if (var < firstLocal) { Type[] args = Type.getArgumentTypes(desc); int nextLocal = ((Opcodes.ACC_STATIC & access) != 0) ? 0 : 1; int v = 0; while (nextLocal != var) { next... | 2697 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2697/ca01aa23cc6eeb07e39f56aa25261875461565cc/GASMifierMethodVisitor.java/clean/asm/src/org/objectweb/asm/commons/GASMifierMethodVisitor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
3757,
45,
9523,
11796,
261,
6385,
509,
569,
16,
727,
509,
5504,
13,
288,
565,
1681,
18,
542,
1782,
12,
20,
1769,
6647,
309,
261,
1401,
411,
1122,
2042,
13,
288,
1377,
1412,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3757,
45,
9523,
11796,
261,
6385,
509,
569,
16,
727,
509,
5504,
13,
288,
565,
1681,
18,
542,
1782,
12,
20,
1769,
6647,
309,
261,
1401,
411,
1122,
2042,
13,
288,
1377,
1412,
... | |
if (canSupportAssertion(assertion, moduleList)) { throw new AxisFault("atleast one module can't support " + assertion.getName()); | if (!canSupportAssertion(assertion, moduleList)) { throw new AxisFault("atleast one module can't support " + assertion.getName()); | public void applyPolicy(Policy policy) throws AxisFault { AxisConfiguration configuration = getAxisConfiguration(); // sets AxisDescription policy this.policyInclude.setPolicy(policy); /* * now we should take the effective one .. it is necessary since * AxisDescription.ap... | 49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/244aa4f43ff8119055aa57a36d41877e9626c506/AxisDescription.java/buggy/modules/kernel/src/org/apache/axis2/description/AxisDescription.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2230,
2582,
12,
2582,
3329,
13,
1216,
15509,
7083,
288,
3639,
15509,
1750,
1664,
273,
4506,
5674,
1750,
5621,
3639,
368,
1678,
15509,
3291,
3329,
3639,
333,
18,
5086,
8752,
18,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2230,
2582,
12,
2582,
3329,
13,
1216,
15509,
7083,
288,
3639,
15509,
1750,
1664,
273,
4506,
5674,
1750,
5621,
3639,
368,
1678,
15509,
3291,
3329,
3639,
333,
18,
5086,
8752,
18,
... |
pm.create(group); | try { pm.create(group); } catch (Exception e) { } | private void initSportletGroup(SportletGroup group) { String groupName = group.getName(); if (!existsGroupWithName(groupName)) { pm.create(group); } } | 49343 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49343/8fe6fa8f3ac1a87d0b74390db316dd51b9a9642e/GridSphereUserManager.java/clean/src/org/gridlab/gridsphere/services/core/user/impl/GridSphereUserManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1208,
55,
655,
1810,
1114,
12,
55,
655,
1810,
1114,
1041,
13,
288,
3639,
514,
11619,
273,
1041,
18,
17994,
5621,
3639,
309,
16051,
1808,
1114,
17557,
12,
1655,
461,
3719,
288,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1208,
55,
655,
1810,
1114,
12,
55,
655,
1810,
1114,
1041,
13,
288,
3639,
514,
11619,
273,
1041,
18,
17994,
5621,
3639,
309,
16051,
1808,
1114,
17557,
12,
1655,
461,
3719,
288,
... |
if (paramSampleName != null) { aliquots = searchSampleService.searchAliquotBySampleName(paramSampleName); } else { aliquots = searchSampleService.searchAliquotsByAliquotName( aliquotName, sampleType, sampleSource, sourceSampleId, dateAccessionedBegin, dateAccessionedEnd, sampleSubmitter, storageLocation); } | aliquots = searchSampleService.searchAliquotsByAliquotName( aliquotName, sampleType, sampleSource, sourceSampleId, dateAccessionedBegin, dateAccessionedEnd, sampleSubmitter, storageLocation); | public ActionForward executeTask(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { ActionForward forward = null; ActionMessages msgs = new ActionMessages(); HttpSession session = request.getSession(); try { DynaValidatorForm theForm = (DynaVa... | 46992 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46992/eaf4740fcb16a9a11c6ff258fdc392de113899fb/SearchSampleAction.java/clean/src/gov/nih/nci/calab/ui/search/SearchSampleAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4382,
8514,
1836,
2174,
12,
1803,
3233,
2874,
16,
4382,
1204,
646,
16,
1082,
202,
2940,
18572,
590,
16,
12446,
766,
13,
1082,
202,
15069,
1185,
288,
202,
202,
1803,
8514,
5104,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4382,
8514,
1836,
2174,
12,
1803,
3233,
2874,
16,
4382,
1204,
646,
16,
1082,
202,
2940,
18572,
590,
16,
12446,
766,
13,
1082,
202,
15069,
1185,
288,
202,
202,
1803,
8514,
5104,
... |
MBMessageServiceUtil.subscribeMessage(topicId, messageId); | MBMessageServiceUtil.subscribeMessage(messageId); | protected void subscribeMessage(ActionRequest req) throws Exception { String topicId = ParamUtil.getString(req, "topicId"); String messageId = ParamUtil.getString(req, "messageId"); MBMessageServiceUtil.subscribeMessage(topicId, messageId); } | 53908 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53908/d6b02fdb73be07a1fc7332713e89293b3822dfb8/EditMessageAction.java/buggy/portal-ejb/src/com/liferay/portlet/messageboards/action/EditMessageAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
9129,
1079,
12,
1803,
691,
1111,
13,
1216,
1185,
288,
202,
202,
780,
3958,
548,
273,
3014,
1304,
18,
588,
780,
12,
3658,
16,
315,
10476,
548,
8863,
202,
202,
780,
19090,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9129,
1079,
12,
1803,
691,
1111,
13,
1216,
1185,
288,
202,
202,
780,
3958,
548,
273,
3014,
1304,
18,
588,
780,
12,
3658,
16,
315,
10476,
548,
8863,
202,
202,
780,
19090,... |
protected Map getResourcesToAdd( File file ) throws IOException { if ( !file.exists() || doUpdate == false ) { return getFiles(); } ZipFile zipFile = new ZipFile( file ); Map result = new HashMap(); for ( Iterator iter = getFiles().keySet().iterator();... | 10884 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10884/8348e0b29d34f62b8f140a99598373fb0cbf7fcb/AbstractZipArchiver.java/buggy/src/main/java/org/codehaus/plexus/archiver/zip/AbstractZipArchiver.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
1635,
14590,
13786,
12,
1387,
585,
262,
1216,
1860,
565,
288,
3639,
309,
261,
401,
768,
18,
1808,
1435,
747,
741,
1891,
422,
629,
262,
3639,
288,
5411,
327,
18262,
5621,
3639,
289,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1635,
14590,
13786,
12,
1387,
585,
262,
1216,
1860,
565,
288,
3639,
309,
261,
401,
768,
18,
1808,
1435,
747,
741,
1891,
422,
629,
262,
3639,
288,
5411,
327,
18262,
5621,
3639,
289,
... | ||
iy -= (int) lm.getDescent(); | public static void paintText(Context c, int lx, int ly, int ix, int iy, InlineTextBox inline) { String text = inline.getSubstring(); Graphics g = c.getGraphics(); //adjust font for current settings Font oldfont = c.getGraphics().getFont(); c.getGraphics().setFont(FontUtil.getFont(... | 52947 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52947/71b2cfce5b6554582e24848d6c3702480ac8ba6c/InlineRendering.java/buggy/src/java/org/xhtmlrenderer/render/InlineRendering.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
12574,
1528,
12,
1042,
276,
16,
509,
15855,
16,
509,
18519,
16,
509,
8288,
16,
509,
23466,
16,
16355,
1528,
3514,
6370,
13,
288,
3639,
514,
977,
273,
6370,
18,
588,
1676... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
12574,
1528,
12,
1042,
276,
16,
509,
15855,
16,
509,
18519,
16,
509,
8288,
16,
509,
23466,
16,
16355,
1528,
3514,
6370,
13,
288,
3639,
514,
977,
273,
6370,
18,
588,
1676... | |
_namespacePrefix = lookupPrefix(namespace); | _prefix = lookupPrefix(namespace); | public void parseContents(Parser parser) { final SymbolTable stable = parser.getSymbolTable(); // Get the "name" attribute of the <xsl:element> element String name = getAttribute("name"); if ((name == null) || (name.equals(Constants.EMPTYSTRING))) { final ErrorMsg msg = new ErrorMsg("You can't call an element \... | 46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/894e8576e7043433f4ffd9df9e214c347f84df6e/XslElement.java/clean/src/org/apache/xalan/xsltc/compiler/XslElement.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1109,
6323,
12,
2678,
2082,
13,
288,
202,
6385,
8565,
1388,
14114,
273,
2082,
18,
588,
5335,
1388,
5621,
202,
759,
968,
326,
315,
529,
6,
1566,
434,
326,
411,
30903,
30,
2956... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1109,
6323,
12,
2678,
2082,
13,
288,
202,
6385,
8565,
1388,
14114,
273,
2082,
18,
588,
5335,
1388,
5621,
202,
759,
968,
326,
315,
529,
6,
1566,
434,
326,
411,
30903,
30,
2956... |
createButton( parent, IDialogConstants.OK_ID, IDialogConstants.OK_LABEL, true); createButton( parent, IDialogConstants.CANCEL_ID, IDialogConstants.CANCEL_LABEL, false); | createButton(parent, IDialogConstants.OK_ID, IDialogConstants.OK_LABEL, true); createButton(parent, IDialogConstants.CANCEL_ID, IDialogConstants.CANCEL_LABEL, false); | protected void createButtonsForButtonBar(Composite parent) { // create OK and Cancel buttons by default createButton( parent, IDialogConstants.OK_ID, IDialogConstants.OK_LABEL, true); createButton( parent, IDialogConstants.CANCEL_ID, IDialogConstants.CANCEL_LABEL, false); } | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/b55db1f8df03ebade4e59f55f97c8c3917057362/Dialog.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/Dialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
752,
14388,
1290,
3616,
5190,
12,
9400,
982,
13,
288,
202,
202,
759,
752,
7791,
471,
10347,
9502,
635,
805,
202,
202,
2640,
3616,
12,
1082,
202,
2938,
16,
1082,
202,
734... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
752,
14388,
1290,
3616,
5190,
12,
9400,
982,
13,
288,
202,
202,
759,
752,
7791,
471,
10347,
9502,
635,
805,
202,
202,
2640,
3616,
12,
1082,
202,
2938,
16,
1082,
202,
734... |
} | public boolean references(QName var) { if (name != null && name.references(var)) { return true; } if (namespace != null && namespace.references(var)) { return true; } return super.references(var); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/ElementNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/ElementNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
5351,
12,
13688,
569,
13,
225,
288,
565,
309,
261,
529,
480,
446,
597,
508,
18,
14353,
12,
1401,
3719,
1377,
288,
3639,
327,
638,
31,
540,
309,
261,
4937,
480,
446,
597,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
5351,
12,
13688,
569,
13,
225,
288,
565,
309,
261,
529,
480,
446,
597,
508,
18,
14353,
12,
1401,
3719,
1377,
288,
3639,
327,
638,
31,
540,
309,
261,
4937,
480,
446,
597,
1... | |
public void worked(int work) { getInternalMonitor().worked(work); } | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/dbe27565dfaf5a01ee200188f00a3b4c6b654ea2/WorkbenchMonitorProvider.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/WorkbenchMonitorProvider.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
6459,
1252,
329,
12,
474,
1252,
15329,
9506,
202,
588,
3061,
7187,
7675,
1252,
329,
12,
1252,
1769,
1082,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
6459,
1252,
329,
12,
474,
1252,
15329,
9506,
202,
588,
3061,
7187,
7675,
1252,
329,
12,
1252,
1769,
1082,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... | ||
public ATNil base_print(ATObject obj) throws XTypeMismatch { IATIO._INSTANCE_.print(obj.meta_print().javaValue); | public ATNil base_print(ATObject[] objs) throws XTypeMismatch { for (int i = 0; i < objs.length; i++) { IATIO._INSTANCE_.print(objs[i].meta_print().javaValue); } | public ATNil base_print(ATObject obj) throws XTypeMismatch { IATIO._INSTANCE_.print(obj.meta_print().javaValue); return NATNil._INSTANCE_; } | 53007 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53007/3dba2d4e6fa21f8467a78dfc8eefdab26cf7da10/OBJSystem.java/buggy/src/edu/vub/at/objects/natives/OBJSystem.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
14464,
12616,
1026,
67,
1188,
12,
789,
921,
1081,
13,
1216,
1139,
559,
16901,
288,
202,
202,
45,
789,
4294,
6315,
13341,
27799,
1188,
12,
2603,
18,
3901,
67,
1188,
7675,
6290,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
14464,
12616,
1026,
67,
1188,
12,
789,
921,
1081,
13,
1216,
1139,
559,
16901,
288,
202,
202,
45,
789,
4294,
6315,
13341,
27799,
1188,
12,
2603,
18,
3901,
67,
1188,
7675,
6290,
... |
if (total_log_record_length > currentBuffer.bytes_free && total_log_record_length <= currentBuffer.buffer.length) { switchLogBuffer(); } | public void writeLogRecord( int length, long instant, byte[] data, int data_offset, byte[] optional_data, int optional_data_offset, int optional_data_length) throws StandardException, IOException { int total_log_record_length = length + LOG_RECORD_FIXED_OV... | 56322 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56322/d609ee3af0fc89b1e4ddcc8b9ce925734517e712/LogAccessFile.java/clean/java/engine/org/apache/derby/impl/store/raw/log/LogAccessFile.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1045,
25723,
12,
565,
509,
377,
769,
16,
565,
1525,
565,
5934,
16,
565,
1160,
8526,
225,
501,
16,
565,
509,
377,
501,
67,
3348,
16,
565,
1160,
8526,
225,
3129,
67,
892,
16,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1045,
25723,
12,
565,
509,
377,
769,
16,
565,
1525,
565,
5934,
16,
565,
1160,
8526,
225,
501,
16,
565,
509,
377,
501,
67,
3348,
16,
565,
1160,
8526,
225,
3129,
67,
892,
16,... | |
public int insertBlobTrigger(Connection conn, Trigger trigger) throws SQLException, IOException; | int insertBlobTrigger(Connection conn, Trigger trigger) throws SQLException, IOException; | public int insertBlobTrigger(Connection conn, Trigger trigger) throws SQLException, IOException; | 15562 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15562/f6eeea5a952e67d6b7fc8b54ae64d0b9e7098a98/DriverDelegate.java/clean/src/java/org/quartz/impl/jdbcjobstore/DriverDelegate.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
2243,
9405,
6518,
12,
1952,
1487,
16,
11321,
3080,
13,
5411,
1216,
6483,
16,
1860,
31,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
2243,
9405,
6518,
12,
1952,
1487,
16,
11321,
3080,
13,
5411,
1216,
6483,
16,
1860,
31,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
if ((occurrences & 7) != 0) { currentByte >>= 7 - (occurrences & 7); result.append((char) (currentByte & 0xff)); } | if ((occurrences & 7) != 0) { currentByte >>= 7 - (occurrences & 7); result.append((char) (currentByte & 0xff)); } | public static RubyString pack(List list, RubyString formatString) { IRuby runtime = formatString.getRuntime(); PtrList format = new PtrList(formatString.getValue()); StringBuffer result = new StringBuffer(); int listSize = list.size(); char type = format.nextChar(); ... | 46454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46454/415b1e0db282c02d672a7e34a34a2bea0f69ccb2/Pack.java/clean/src/org/jruby/util/Pack.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
19817,
780,
2298,
12,
682,
666,
16,
19817,
780,
27107,
13,
288,
3639,
15908,
10340,
3099,
273,
27107,
18,
588,
5576,
5621,
3639,
14898,
682,
740,
273,
394,
14898,
682,
12,
2139... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
19817,
780,
2298,
12,
682,
666,
16,
19817,
780,
27107,
13,
288,
3639,
15908,
10340,
3099,
273,
27107,
18,
588,
5576,
5621,
3639,
14898,
682,
740,
273,
394,
14898,
682,
12,
2139... |
rsvc.info("Resources Loaded From: " + dataSourceName + "/" + tableName); rsvc.info("Resource Loader using columns: " + keyColumn + ", " + templateColumn + " and " + timestampColumn); rsvc.info("Resource Loader Initalized."); | if (log.isInfoEnabled()) { log.info("Resources Loaded From: " + dataSourceName + "/" + tableName); log.info("Resource Loader using columns: " + keyColumn + ", " + templateColumn + " and " + timestampColumn); log.info("Resource Loader Initalized."); } | public void init(ExtendedProperties configuration) { dataSourceName = configuration.getString("resource.datasource"); tableName = configuration.getString("resource.table"); keyColumn = configuration.getString("resource.keycolumn"); templateColumn = configuration.ge... | 55820 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55820/f4adefb79ccda5d9df1f60719e0ede8f167e4089/DataSourceResourceLoader.java/clean/src/java/org/apache/velocity/runtime/resource/loader/DataSourceResourceLoader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1377,
1071,
918,
1208,
12,
11456,
2297,
1664,
13,
377,
288,
540,
10233,
461,
225,
273,
1664,
18,
588,
780,
2932,
3146,
18,
13178,
552,
8863,
540,
4775,
4202,
273,
1664,
18,
588,
780,
2932,
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,
1377,
1071,
918,
1208,
12,
11456,
2297,
1664,
13,
377,
288,
540,
10233,
461,
225,
273,
1664,
18,
588,
780,
2932,
3146,
18,
13178,
552,
8863,
540,
4775,
4202,
273,
1664,
18,
588,
780,
2932,
3... |
Edge<Object> e = g.addEdge(v1, v2); | DefaultEdge e = g.addEdge(v1, v2); | public void testGraphListener() { init(); ListenableGraph<Object,Edge<Object>> g = new ListenableUndirectedGraph<Object, Edge<Object>>(); GraphListener<Object, Edge<Object>> listener = new MyGraphListner(); g.addGraphListener(listener); String v1 = new String("v1"); Stri... | 47032 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47032/c3e5aa9fad3b9e0927939b2a916ae5049377758b/ListenableGraphTest.java/buggy/testsrc/org/jgrapht/graph/ListenableGraphTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
4137,
2223,
1435,
565,
288,
3639,
1208,
5621,
3639,
987,
7589,
4137,
32,
921,
16,
6098,
32,
921,
9778,
314,
273,
394,
987,
7589,
984,
26830,
4137,
32,
921,
16,
11342,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
4137,
2223,
1435,
565,
288,
3639,
1208,
5621,
3639,
987,
7589,
4137,
32,
921,
16,
6098,
32,
921,
9778,
314,
273,
394,
987,
7589,
984,
26830,
4137,
32,
921,
16,
11342,
3... |
urlText.addListener(SWT.FocusIn, new GenericListener()); | urlText.addListener(SWT.FocusIn, new GenericListener()); | protected void addUrlText(String url, Composite attributesComposite) {// newLayout(attributesComposite, 1, "URL:", PROPERTY); toolkit.createLabel(attributesComposite, "URL:"); urlText = toolkit.createText(attributesComposite, url); urlText.setFont(TEXT_FONT); GridData urlTextData = new GridData(GridData.HORIZONTA... | 51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/dbc174ae73ca89a83ba02de2ee39dee30bf1b142/AbstractBugEditor.java/buggy/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/AbstractBugEditor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
527,
1489,
1528,
12,
780,
880,
16,
14728,
1677,
9400,
13,
288,
759,
202,
202,
2704,
3744,
12,
4350,
9400,
16,
404,
16,
315,
1785,
2773,
16,
9759,
1769,
202,
202,
6738,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
527,
1489,
1528,
12,
780,
880,
16,
14728,
1677,
9400,
13,
288,
759,
202,
202,
2704,
3744,
12,
4350,
9400,
16,
404,
16,
315,
1785,
2773,
16,
9759,
1769,
202,
202,
6738,
... |
removeItem(items.next()); | Item item = items.next(); if (item.isOwningCollection(this)) { Collection[] collections = item.getCollections(); for (int i=0; i< collections.length; i++) { collections[i].removeItem(item); } } else { removeItem(item); } | void delete() throws SQLException, AuthorizeException, IOException { log.info(LogManager.getHeader(ourContext, "delete_collection", "collection_id=" + getID())); // remove from index DSIndexer.unIndexContent(ourContext, this); // Remove from cache ourContext.remo... | 51882 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51882/c6e5a20b1595d317953d7da3bd3b3ac3a3f14f3a/Collection.java/buggy/dspace/src/org/dspace/content/Collection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
1430,
1435,
1216,
6483,
16,
23859,
503,
16,
1860,
565,
288,
3639,
613,
18,
1376,
12,
1343,
1318,
18,
588,
1864,
12,
477,
1042,
16,
315,
3733,
67,
5548,
3113,
7734,
315,
5548,
67,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
1430,
1435,
1216,
6483,
16,
23859,
503,
16,
1860,
565,
288,
3639,
613,
18,
1376,
12,
1343,
1318,
18,
588,
1864,
12,
477,
1042,
16,
315,
3733,
67,
5548,
3113,
7734,
315,
5548,
67,
... |
ast= null; | ast[0]= null; | private void reconcile(boolean initialReconcile) { CompilationUnit ast= null; try { ICompilationUnit unit= fManager.getWorkingCopy(fEditor.getEditorInput()); if (unit != null) { try { /* fix for missing cancel flag communication */ IProblemRequestorExtension extension= getProblemRequestorExtension(); ... | 9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/3d9699d6c3751cdc68f2dbec53b119d4674d5e2a/JavaReconcilingStrategy.java/buggy/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaReconcilingStrategy.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
27163,
12,
6494,
2172,
426,
11504,
398,
13,
288,
202,
202,
19184,
2802,
3364,
33,
446,
31,
202,
202,
698,
288,
1082,
202,
45,
19184,
2802,
2836,
33,
284,
1318,
18,
588,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
27163,
12,
6494,
2172,
426,
11504,
398,
13,
288,
202,
202,
19184,
2802,
3364,
33,
446,
31,
202,
202,
698,
288,
1082,
202,
45,
19184,
2802,
2836,
33,
284,
1318,
18,
588,
... |
detachDataSets(); | detachAllDataSets(); if (legend != null) legend.removeAllDataSets(); plotCount = 0; | private void regeneratePlots() { if (tm == null) return; detachDataSets(); // find start of data (i.e. lose headers) int columnStart = 1; int rowStart = 0; search : { for (; rowStart < tm.getRowCount(); rowStart++) { for (; columnStar... | 7169 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7169/79eee7680d9471f004bd7d9705ac91339e963552/CLinePlotChart.java/clean/uiframework/src/org/cougaar/lib/uiframework/ui/components/CLinePlotChart.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
20821,
29311,
1435,
565,
288,
3639,
309,
261,
16925,
422,
446,
13,
327,
31,
3639,
10199,
1595,
751,
2785,
5621,
309,
261,
16292,
480,
446,
13,
7241,
18,
4479,
1595,
751,
2785,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
20821,
29311,
1435,
565,
288,
3639,
309,
261,
16925,
422,
446,
13,
327,
31,
3639,
10199,
1595,
751,
2785,
5621,
309,
261,
16292,
480,
446,
13,
7241,
18,
4479,
1595,
751,
2785,
... |
finder.addBaseDirectory(new File(args[++i])); | baseDir = args[++i]; | private void parseArguments(String[] args) throws Exception { FileFinder finder = new FileFinder(); for (int i = 0; i < args.length; i++) { if (args[i].equals("--basedir")) { finder.addBaseDirectory(new File(args[++i])); } else if (args[i].equals("--datafile")) { setDataFile( args[++i]); } else if (args[... | 50197 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50197/c26f5a170c752d9d1d5b884dd7eb60b982637269/Main.java/buggy/cobertura/src/net/sourceforge/cobertura/reporting/Main.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1109,
4628,
12,
780,
8526,
833,
13,
1216,
1185,
288,
202,
202,
812,
8441,
7532,
273,
394,
1387,
8441,
5621,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
833,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1109,
4628,
12,
780,
8526,
833,
13,
1216,
1185,
288,
202,
202,
812,
8441,
7532,
273,
394,
1387,
8441,
5621,
202,
202,
1884,
261,
474,
277,
273,
374,
31,
277,
411,
833,
... |
return "accessType = " + accessType + ", line = " + line; | return "accessType = " + accessType + ", line = " + node.getLine(); | public String toString() { return "accessType = " + accessType + ", line = " + line; } | 41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/1a55076414a8d47bb22ffae2ed65d2bd94b5ed05/UselessAssignment.java/buggy/pmd/src/net/sourceforge/pmd/rules/UselessAssignment.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
514,
1762,
1435,
288,
5411,
327,
315,
3860,
559,
273,
315,
397,
2006,
559,
397,
3104,
980,
273,
315,
397,
756,
18,
588,
1670,
5621,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
514,
1762,
1435,
288,
5411,
327,
315,
3860,
559,
273,
315,
397,
2006,
559,
397,
3104,
980,
273,
315,
397,
756,
18,
588,
1670,
5621,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-10... |
public void ruleAction(int ruleNumber) { switch (ruleNumber) { // // Rule 1: TypeName ::= TypeName . ErrorId // case 1: { //#line 6 "C:/Docume~1/Administrator/MyDocu~1/work/x10/cvs/x10.compiler/src/x10/parser/MissingId.gi" ... | 1832 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1832/f8e1720cd66996a6339b992bf154aa0d019240a3/X10Parser.java/clean/x10.compiler/src/x10/parser/X10Parser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1720,
1803,
12,
474,
1720,
1854,
13,
565,
288,
3639,
1620,
261,
5345,
1854,
13,
3639,
288,
2398,
368,
5411,
368,
6781,
404,
30,
225,
21036,
493,
33,
21036,
263,
1068,
548,
54... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1720,
1803,
12,
474,
1720,
1854,
13,
565,
288,
3639,
1620,
261,
5345,
1854,
13,
3639,
288,
2398,
368,
5411,
368,
6781,
404,
30,
225,
21036,
493,
33,
21036,
263,
1068,
548,
54... | ||
}); state.pipelineInputs = getConnectedInputs(); state.nameToBottomInputMap = config.getNameToInputMap(); state.started = true; for (Iterator i = config.getProcessorsToStart().iterator(); i.hasNext();) { final Processor processor = (Processor) i.next(); executeChildren(context, new Runnable() { public void run() ... | state.started = true; | public void start(final PipelineContext context) { // Check that we are not already started State state = (State) getState(context); if (state.started) throw new IllegalStateException("ASTPipeline Processor already started"); // Create config. We have 2 cases: // 1) The... | 57229 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57229/e2d4df756d65e5e560c6707604297966ee6447b3/PipelineProcessor.java/clean/src/java/org/orbeon/oxf/processor/pipeline/PipelineProcessor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
787,
12,
6385,
13671,
1042,
819,
13,
288,
3639,
368,
2073,
716,
732,
854,
486,
1818,
5746,
3639,
3287,
919,
273,
261,
1119,
13,
8997,
12,
2472,
1769,
3639,
309,
261,
2019,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
787,
12,
6385,
13671,
1042,
819,
13,
288,
3639,
368,
2073,
716,
732,
854,
486,
1818,
5746,
3639,
3287,
919,
273,
261,
1119,
13,
8997,
12,
2472,
1769,
3639,
309,
261,
2019,
18... |
return getObjectInstanciatorURI(className.getName(), templateName); | if(USE_NEW_URL_SCHEME){ return this.getWindowOpenerURI(className) + templateParameter + "=" + getEncryptedClassName(templateName); } else{ return getObjectInstanciatorURI() + "?" + classToInstanciateParameter + "=" + getEncryptedClassName(className) + "&" + templateParameter + "=" + getEncryptedClassName(templateName)... | public String getObjectInstanciatorURI(Class className, String templateName) { return getObjectInstanciatorURI(className.getName(), templateName); } | 52001 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52001/692bf79037ef50be5792b167ad679f2186122bdc/IWMainApplication.java/buggy/src/java/com/idega/idegaweb/IWMainApplication.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
6455,
382,
541,
8450,
639,
3098,
12,
797,
2658,
16,
514,
15523,
13,
288,
540,
309,
12,
8001,
67,
12917,
67,
1785,
67,
22870,
15329,
327,
333,
18,
588,
3829,
3817,
708,
3098,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6455,
382,
541,
8450,
639,
3098,
12,
797,
2658,
16,
514,
15523,
13,
288,
540,
309,
12,
8001,
67,
12917,
67,
1785,
67,
22870,
15329,
327,
333,
18,
588,
3829,
3817,
708,
3098,
... |
int lastYlo = height - lastDatum; int nextYlo = height - nextDatum; int yhi = height; | int lastYlo = y + height - lastDatum; int nextYlo = y + height - nextDatum; int yhi = y + height; | public static Icon getIcon( final StyleSet styleSet ) { final int height = 16; final double[][] data = { { 0, 4, 7, 12, 15, 9, 0 }, { 0, 2, 6, 8, 9, 3, 0 } }; final int nSet = data.length; final int nBar = data[ 0 ].length - 2; final int barWidth... | 48494 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48494/e872248073cb65a47b494c646bac54e9e2eb8b5e/BarStyles.java/buggy/topcat/src/main/uk/ac/starlink/topcat/plot/BarStyles.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
16011,
21724,
12,
727,
9767,
694,
2154,
694,
262,
288,
3639,
727,
509,
2072,
273,
2872,
31,
3639,
727,
1645,
63,
6362,
65,
501,
273,
288,
288,
374,
16,
1059,
16,
2371,
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,
760,
16011,
21724,
12,
727,
9767,
694,
2154,
694,
262,
288,
3639,
727,
509,
2072,
273,
2872,
31,
3639,
727,
1645,
63,
6362,
65,
501,
273,
288,
288,
374,
16,
1059,
16,
2371,
16,
... |
buf.append("<input type=\"submit\" name=\"delete_"+b.hashCode()+"\" value=\"Delete\" style=\"float: right; \" />\n"); buf.append("<input type=\"submit\" name=\"edit_"+b.hashCode()+"\" value=\"Edit\" style=\"float: right; \" />\n"); | public void handleGet(URI uri, ToadletContext ctx) throws ToadletContextClosedException, IOException { StringBuffer buf = new StringBuffer(); HTTPRequest request = new HTTPRequest(uri); if (request.getParam("newbookmark").length() > 0) { ctx.getPageMaker().makeHead(buf, "Add a Bookmark"); buf.append("<form... | 51834 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51834/3e9a0e69aa75e1bc4861d7046dee1bbd1997387b/WelcomeToadlet.java/clean/src/freenet/clients/http/WelcomeToadlet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1640,
967,
12,
3098,
2003,
16,
2974,
361,
1810,
1042,
1103,
13,
1216,
2974,
361,
1810,
1042,
7395,
503,
16,
1860,
288,
202,
202,
780,
1892,
1681,
273,
394,
6674,
5621,
95... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1640,
967,
12,
3098,
2003,
16,
2974,
361,
1810,
1042,
1103,
13,
1216,
2974,
361,
1810,
1042,
7395,
503,
16,
1860,
288,
202,
202,
780,
1892,
1681,
273,
394,
6674,
5621,
95... | |
text.append("\nTime: " + dateFormat.format(m_time)); | public String toString() { StringBuffer text = new StringBuffer(); SimpleDateFormat dateFormat = new SimpleDateFormat("mm 'min' ss 's' SSS 'ms'"); SimpleLinkedList.LinkedListIterator iter = m_results.iterator(); int size = m_results.size(); int i = 0; text.append("\nTertius\n=======\n\n"); ... | 4179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4179/5a3f3175f4aa9fbc635ff5b9de4f31ecc1f6db31/Tertius.java/clean/trunk/weka/associations/Tertius.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
1762,
1435,
288,
565,
6674,
977,
273,
394,
6674,
5621,
565,
17005,
16996,
4202,
273,
394,
17005,
2932,
7020,
296,
1154,
11,
5202,
296,
87,
11,
348,
1260,
296,
959,
4970,
1769,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
1762,
1435,
288,
565,
6674,
977,
273,
394,
6674,
5621,
565,
17005,
16996,
4202,
273,
394,
17005,
2932,
7020,
296,
1154,
11,
5202,
296,
87,
11,
348,
1260,
296,
959,
4970,
1769,
... | |
if (!validClass || !validMethod) return; | public void sawOpcode(int seen) { if (!validClass || !validMethod) return; // System.out.println( OPCODE_NAMES[seen] ); switch (state) { case SEEN_NOTHING: if (seen == ALOAD_0) state = SEEN_ALOAD_0; break; case SEEN_ALOAD_0: if (seen == INVOKESPECIAL) System.out.println(getNameConstantOperand()); ... | 7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/96efe1942465d6945a936d29f80ad9ecdc1022cb/InvalidJUnitTest.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/detect/InvalidJUnitTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
19821,
22808,
12,
474,
5881,
13,
288,
202,
202,
430,
16051,
877,
797,
747,
401,
877,
1305,
13,
1082,
202,
2463,
31,
202,
202,
759,
2332,
18,
659,
18,
8222,
12,
531,
351... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19821,
22808,
12,
474,
5881,
13,
288,
202,
202,
430,
16051,
877,
797,
747,
401,
877,
1305,
13,
1082,
202,
2463,
31,
202,
202,
759,
2332,
18,
659,
18,
8222,
12,
531,
351... | |
if(obj == this) { | if (obj == this) { | public boolean equals(Object obj) { if(obj == null) { return false; } if(obj == this) { return true; } if(!(obj instanceof PDFPattern)) { return false; } PDFPattern patt = (PDFPattern)obj; if(patternType != patt.patternType) { ... | 5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/392781f30969e4da0b510da16b96099a320089ba/PDFPattern.java/clean/src/org/apache/fop/pdf/PDFPattern.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1606,
12,
921,
1081,
13,
288,
3639,
309,
12,
2603,
422,
446,
13,
288,
5411,
327,
629,
31,
3639,
289,
3639,
309,
261,
2603,
422,
333,
13,
288,
5411,
327,
638,
31,
3639,
289... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1606,
12,
921,
1081,
13,
288,
3639,
309,
12,
2603,
422,
446,
13,
288,
5411,
327,
629,
31,
3639,
289,
3639,
309,
261,
2603,
422,
333,
13,
288,
5411,
327,
638,
31,
3639,
289... |
private String getId(IConfigurationElement element) { String id = element.getAttribute(IWorkbenchRegistryConstants.ATT_ID); // For sub-menu management -all- items must be id'd so enforce this // here (we could optimize by checking the 'name' of the config // element == "menu" if (id == null || id.length() == 0)... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/7708c9aa128d7f727df6c085dc73634c29372cac/MenuAdditionCacheEntry.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/menus/MenuAdditionCacheEntry.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
514,
2634,
12,
45,
1750,
1046,
930,
13,
288,
202,
202,
780,
612,
273,
930,
18,
588,
1499,
12,
45,
2421,
22144,
4243,
2918,
18,
789,
56,
67,
734,
1769,
9506,
202,
759,
2457,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
514,
2634,
12,
45,
1750,
1046,
930,
13,
288,
202,
202,
780,
612,
273,
930,
18,
588,
1499,
12,
45,
2421,
22144,
4243,
2918,
18,
789,
56,
67,
734,
1769,
9506,
202,
759,
2457,... | ||
popInput (); break; } } char c = readBuffer [readBufferPos++]; if (c == '\n') { line++; column = 0; } else { if (c == '<') { /* the most common return to parseContent () ... NOP */ } else if (((c < 0x0020 && (c != '\t') && (c != '\r')) || c > 0xFFFD) || ((c >= 0x007f) && (c <= 0x009f) && (c != 0x0085) && xmlVersion =... | return c; } | private char readCh () throws SAXException, IOException { // As long as there's nothing in the // read buffer, try reading more data // (for an external entity) or popping // the entity stack (for either). while (readBufferPos >= readBufferLength) { switch (sourceType) { case INPUT_READER: case IN... | 25337 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25337/7fb7568e63c3fe14af521de4699cb37898923ca7/XmlParser.java/buggy/libjava/gnu/xml/aelfred2/XmlParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1149,
855,
782,
1832,
565,
1216,
14366,
16,
1860,
565,
288,
202,
759,
2970,
1525,
487,
1915,
1807,
5083,
316,
326,
202,
759,
855,
1613,
16,
775,
6453,
1898,
501,
202,
759,
261,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1149,
855,
782,
1832,
565,
1216,
14366,
16,
1860,
565,
288,
202,
759,
2970,
1525,
487,
1915,
1807,
5083,
316,
326,
202,
759,
855,
1613,
16,
775,
6453,
1898,
501,
202,
759,
261,
18... |
openProjectItemActionPerformed(evt); | newProjectItemActionPerformed(evt); | public void actionPerformed(java.awt.event.ActionEvent evt) { openProjectItemActionPerformed(evt); } | 7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/bedb208220cb4195693c8b55751ea1aa39f71359/FindBugsFrame.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/gui/FindBugsFrame.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
26100,
12,
6290,
18,
2219,
88,
18,
2575,
18,
1803,
1133,
6324,
13,
288,
7734,
394,
4109,
1180,
19449,
12,
73,
11734,
1769,
5411,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
26100,
12,
6290,
18,
2219,
88,
18,
2575,
18,
1803,
1133,
6324,
13,
288,
7734,
394,
4109,
1180,
19449,
12,
73,
11734,
1769,
5411,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
... |
if (tprov == null) { if (column == 0) { ViewerLabel updateLabel = new ViewerLabel(item .getText(), item.getImage()); if(vprov != null) { buildLabel(updateLabel,element,vprov); } else{ if(lprov != null) { buildLabel(updateLabel,element,lprov); } } if (item.isDisposed()) { unmapElement(element, item); return; } text... | if (item.isDisposed()) { unmapElement(element, item); return; | protected void doUpdateItem(Widget widget, Object element, boolean fullMap) { if (widget instanceof TableItem) { final TableItem item = (TableItem) widget; // remember element we are showing if (fullMap) { associate(element, item); } else { Object data = item.getData(); if (data != ... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/72b02dfa9a75652d45af68d329d447e0e8bbe40d/TableViewer.java/buggy/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/TableViewer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
741,
1891,
1180,
12,
4609,
3604,
16,
1033,
930,
16,
1250,
1983,
863,
13,
288,
202,
202,
430,
261,
6587,
1276,
3555,
1180,
13,
288,
1082,
202,
6385,
3555,
1180,
761,
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,
741,
1891,
1180,
12,
4609,
3604,
16,
1033,
930,
16,
1250,
1983,
863,
13,
288,
202,
202,
430,
261,
6587,
1276,
3555,
1180,
13,
288,
1082,
202,
6385,
3555,
1180,
761,
273,... |
throw new SAXException(new InvalidSerializedDataException("missing mandatory sv:name attribute of element sv:node")); | throw new SAXException(new InvalidSerializedDataException( "missing mandatory sv:name attribute of element sv:node")); | public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException { // check namespace if (!NS_SV_URI.equals(namespaceURI)) { throw new SAXException(new InvalidSerializedDataException("invalid namespace ... | 48761 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48761/e89c1f0023710e42d712449aaa565dfacda9b5e2/SysViewImportHandler.java/buggy/src/java/org/apache/jackrabbit/core/xml/SysViewImportHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
13591,
12,
780,
19421,
16,
514,
11927,
16,
11794,
514,
22914,
16,
9055,
15687,
13,
5411,
1216,
14366,
288,
3639,
368,
866,
1981,
3639,
309,
16051,
3156,
67,
23927,
67,
3098,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
13591,
12,
780,
19421,
16,
514,
11927,
16,
11794,
514,
22914,
16,
9055,
15687,
13,
5411,
1216,
14366,
288,
3639,
368,
866,
1981,
3639,
309,
16051,
3156,
67,
23927,
67,
3098,
18... |
if( destinations.contains(destination) ) | if( destinations.contains(destination) ){ System.err.println(brokerService.getBrokerName() + " SPLATYTTTT!!!!"); | public Destination addDestination(ConnectionContext context, ActiveMQDestination destination) throws Exception { if( destinations.contains(destination) ) throw new JMSException("Destination already exists: "+destination); Destination answer = null; switch(destination.getDesti... | 11783 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11783/a9c49a7f1666068274b0c2c464bdfda7ec8becfc/RegionBroker.java/clean/activemq-core/src/main/java/org/apache/activemq/broker/region/RegionBroker.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
10691,
527,
5683,
12,
1952,
1042,
819,
16,
8857,
9682,
5683,
2929,
13,
1216,
1185,
288,
3639,
309,
12,
20456,
18,
12298,
12,
10590,
13,
262,
95,
2332,
18,
370,
18,
8222,
12,
21722... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10691,
527,
5683,
12,
1952,
1042,
819,
16,
8857,
9682,
5683,
2929,
13,
1216,
1185,
288,
3639,
309,
12,
20456,
18,
12298,
12,
10590,
13,
262,
95,
2332,
18,
370,
18,
8222,
12,
21722... |
private double js_max(Object[] args) { | private double js_max(Object[] args) { | private double js_max(Object[] args) { double result = Double.NEGATIVE_INFINITY; if (args.length == 0) return result; for (int i = 0; i < args.length; i++) { double d = ScriptRuntime.toNumber(args[i]); if (d != d) return d; // if (result < d) result ... | 51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/b6331020dcf96bb85dae57ee2a2ce947b6b0477a/NativeMath.java/buggy/js/rhino/org/mozilla/javascript/NativeMath.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1645,
3828,
67,
1896,
12,
921,
8526,
833,
13,
288,
540,
1645,
563,
273,
3698,
18,
5407,
22421,
67,
17716,
31,
3639,
309,
261,
1968,
18,
2469,
422,
374,
13,
5411,
327,
563,
31,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1645,
3828,
67,
1896,
12,
921,
8526,
833,
13,
288,
540,
1645,
563,
273,
3698,
18,
5407,
22421,
67,
17716,
31,
3639,
309,
261,
1968,
18,
2469,
422,
374,
13,
5411,
327,
563,
31,
3... |
return null; } | return null; } | public RubyArray m_protected_methods() { // return getRubyClass().m_protected_instance_methods(getRuby().getTrue()); return null; } | 50993 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50993/0a7181933af700ea8025a4197f3a5ebcc08333c3/RubyObject.java/buggy/org/jruby/RubyObject.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
19817,
1076,
312,
67,
1117,
67,
5163,
1435,
288,
202,
202,
759,
327,
4170,
10340,
797,
7675,
81,
67,
1117,
67,
1336,
67,
5163,
12,
588,
54,
10340,
7675,
588,
5510,
10663,
202,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
19817,
1076,
312,
67,
1117,
67,
5163,
1435,
288,
202,
202,
759,
327,
4170,
10340,
797,
7675,
81,
67,
1117,
67,
1336,
67,
5163,
12,
588,
54,
10340,
7675,
588,
5510,
10663,
202,... |
if (!previouslyGeneratedObjectKey(request.objectKey())) | if (!previouslyGeneratedObjectKey(request.objectKey())) | public void _invoke(ServerRequest request) throws WrongAdapter { synchronized(poaDestructionLog) { checkDestructionApparent (); // if the request is for this poa check whether the object // key is generated from him if (r... | 46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/a74dc4ac69615c8e503cb9145c3594f1702d4c75/POA.java/buggy/src/org/jacorb/poa/POA.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
389,
14407,
12,
2081,
691,
590,
13,
540,
1216,
24668,
4216,
377,
288,
3639,
3852,
12,
1631,
69,
6305,
313,
4062,
1343,
13,
540,
288,
4766,
565,
866,
6305,
313,
4062,
1294,
29... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
389,
14407,
12,
2081,
691,
590,
13,
540,
1216,
24668,
4216,
377,
288,
3639,
3852,
12,
1631,
69,
6305,
313,
4062,
1343,
13,
540,
288,
4766,
565,
866,
6305,
313,
4062,
1294,
29... |
public void initializeAsForward(Message msg, int aScope) { mCompositionPanel.setReferredMessage(msg); MessageExtra mextra = MessageExtraFactory.Get(msg); try { mCompositionPanel.setSubject("[Fwd: " + mextra.simplifiedSubject() + "]"); } catch (MessagingException e) { } // Quote the original tex... | 54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/3cd6e9d81112e3ab17a910eaef36b9e56b2a8b6a/Composition.java/buggy/grendel/sources/grendel/composition/Composition.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
4046,
1463,
8514,
12,
1079,
1234,
16,
509,
279,
3876,
13,
288,
565,
312,
28940,
5537,
18,
542,
426,
4193,
1079,
12,
3576,
1769,
565,
2350,
7800,
312,
7763,
273,
2350,
7800,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4046,
1463,
8514,
12,
1079,
1234,
16,
509,
279,
3876,
13,
288,
565,
312,
28940,
5537,
18,
542,
426,
4193,
1079,
12,
3576,
1769,
565,
2350,
7800,
312,
7763,
273,
2350,
7800,
1... | ||
number = number.replaceAll(" ",""); | private void removeUnnecessaryChars() { number = number.replaceAll("\\(0"," "); number = number.replaceAll("\\)",""); number = number.replaceAll(" ",""); } | 7476 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7476/0f06e68d230d998be71208652760529446d257b0/PhoneNumber.java/buggy/jfritz/src/de/moonflower/jfritz/struct/PhoneNumber.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1206,
984,
82,
4128,
7803,
1435,
288,
202,
565,
1300,
273,
1300,
18,
2079,
1595,
2932,
1695,
12,
20,
15937,
315,
1769,
202,
565,
1300,
273,
1300,
18,
2079,
1595,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1206,
984,
82,
4128,
7803,
1435,
288,
202,
565,
1300,
273,
1300,
18,
2079,
1595,
2932,
1695,
12,
20,
15937,
315,
1769,
202,
565,
1300,
273,
1300,
18,
2079,
1595,
2932,
1... | |
sessionHandle = new DesignEngine( new DesignConfig( ) ) .newSessionHandle( ULocale.getDefault( ) ); | sessionHandle = new DesignEngine( new DesignConfig( ) ).newSessionHandle( ULocale.getDefault( ) ); | public SessionHandle getSessionHandle( ) { if ( sessionHandle == null ) { sessionHandle = new DesignEngine( new DesignConfig( ) ) .newSessionHandle( ULocale.getDefault( ) ); } return sessionHandle; } | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/0c3229334ab3352862830f19eec73f8815cb56fb/SessionHandleAdapter.java/buggy/UI/org.eclipse.birt.report.designer.core/src/org/eclipse/birt/report/designer/core/model/SessionHandleAdapter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3877,
3259,
7183,
3259,
12,
262,
202,
95,
202,
202,
430,
261,
1339,
3259,
422,
446,
262,
202,
202,
95,
1082,
202,
3184,
3259,
273,
394,
29703,
4410,
12,
394,
29703,
809,
12,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3877,
3259,
7183,
3259,
12,
262,
202,
95,
202,
202,
430,
261,
1339,
3259,
422,
446,
262,
202,
202,
95,
1082,
202,
3184,
3259,
273,
394,
29703,
4410,
12,
394,
29703,
809,
12,
... |
private AnAction processActionElement(Element element, final ClassLoader loader, PluginId pluginId) { final Application app = ApplicationManager.getApplication(); final IdeaPluginDescriptor plugin = app.getPlugin(pluginId); @NonNls final String resBundleName = plugin != null ? plugin.getResourceBundleBaseNam... | 56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/4972de74093751aa507c641e7a852c8feb15d5e3/ActionManagerImpl.java/clean/action-system/impl/com/intellij/openapi/actionSystem/impl/ActionManagerImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
979,
1803,
2567,
1803,
1046,
12,
1046,
2956,
16,
6385,
7805,
6714,
16,
3773,
548,
4094,
548,
15329,
6385,
3208,
2910,
33,
3208,
1318,
18,
588,
3208,
5621,
6385,
45,
323,
69,
3773,
3187,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
979,
1803,
2567,
1803,
1046,
12,
1046,
2956,
16,
6385,
7805,
6714,
16,
3773,
548,
4094,
548,
15329,
6385,
3208,
2910,
33,
3208,
1318,
18,
588,
3208,
5621,
6385,
45,
323,
69,
3773,
3187,
... | ||
if (ok != null) ok.setEnabled(selectedItems.length == 1); | if (ok != null) { ok.setEnabled(selectedItems.length == 1); } | private void updateButtons() { TableItem selectedItems[] = editorsTable.getSelection(); boolean hasDirty = false; for (int i = 0; i < selectedItems.length; i++) { Adapter editor = (Adapter) selectedItems[i].getData(); if (editor.isDirty()) { hasDirty = true;... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/fa4a8cff0e027f8d3c6b1fcb92b30f46767dd191/WorkbenchEditorsDialog.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/WorkbenchEditorsDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1089,
14388,
1435,
288,
3639,
3555,
1180,
3170,
3126,
8526,
273,
29431,
1388,
18,
588,
6233,
5621,
3639,
1250,
711,
10785,
273,
629,
31,
3639,
364,
261,
474,
277,
273,
374,
31,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1089,
14388,
1435,
288,
3639,
3555,
1180,
3170,
3126,
8526,
273,
29431,
1388,
18,
588,
6233,
5621,
3639,
1250,
711,
10785,
273,
629,
31,
3639,
364,
261,
474,
277,
273,
374,
31,... |
stmt.executeUpdate(Insert); | insertStmt.executeUpdate(Insert); } | public Document getUserLayout (IPerson person, UserProfile profile) throws Exception { int userId = person.getID(); int realUserId = userId; ResultSet rs; Connection con = RDBMServices.getConnection(); RDBMServices.setAutoCommit(con, false); // May speed things up, can't hurt try { Doc... | 24959 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/24959/4f267d2f1089d418823d322c5663ce0606d8f83f/RDBMUserLayoutStore.java/buggy/source/org/jasig/portal/RDBMUserLayoutStore.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
4319,
4735,
3744,
261,
2579,
3565,
6175,
16,
2177,
4029,
3042,
13,
1216,
1185,
288,
565,
509,
6249,
273,
6175,
18,
588,
734,
5621,
565,
509,
2863,
10502,
273,
6249,
31,
565,
10842,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4319,
4735,
3744,
261,
2579,
3565,
6175,
16,
2177,
4029,
3042,
13,
1216,
1185,
288,
565,
509,
6249,
273,
6175,
18,
588,
734,
5621,
565,
509,
2863,
10502,
273,
6249,
31,
565,
10842,
... |
Token xsp; xsp = jj_scanpos; if (jj_3_33()) { jj_scanpos = xsp; if (jj_3R_134()) return true; } | if (jj_scan_token(DOT)) return true; if (jj_3R_73()) return true; if (jj_scan_token(IDENTIFIER)) return true; | final private boolean jj_3R_82() { Token xsp; xsp = jj_scanpos; if (jj_3_33()) { jj_scanpos = xsp; if (jj_3R_134()) return true; } return false; } | 41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/204bebdbecd44fd7e3376db20b9709780ab79771/JavaParser.java/clean/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,
11149,
1435,
288,
565,
3155,
619,
1752,
31,
565,
619,
1752,
273,
10684,
67,
9871,
917,
31,
565,
309,
261,
78,
78,
67,
23,
67,
3707,
10756,
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,
727,
3238,
1250,
10684,
67,
23,
54,
67,
11149,
1435,
288,
565,
3155,
619,
1752,
31,
565,
619,
1752,
273,
10684,
67,
9871,
917,
31,
565,
309,
261,
78,
78,
67,
23,
67,
3707,
10756,
288,... |
String[][] chars = {{"\\\\", "\"", "\'", }, {"\\\\\\\\", "\\\\\"", "\\\\\'", }}; | String[][] chars = { { "\\\\", "\"", "\'", }, { "\\\\\\\\", "\\\\\"", "\\\\\'", } }; | public static String escape( String str ) { String[][] chars = {{"\\\\", "\"", "\'", //$NON-NLS-1$//$NON-NLS-2$//$NON-NLS-3$ }, {"\\\\\\\\", "\\\\\"", "\\\\\'", //$NON-NLS-1$//$NON-NLS-2$//$NON-NLS-3$ }}; String result = str; for ( int i = 0; i < chars[0].length; i++ ) { result = result.replaceAll( chars[0][i]... | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/65c31b53af468bafee3d7b3a9d5249824989932a/DEUtil.java/buggy/UI/org.eclipse.birt.report.designer.core/src/org/eclipse/birt/report/designer/util/DEUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
514,
4114,
12,
514,
609,
262,
202,
95,
202,
202,
780,
63,
6362,
65,
5230,
273,
10179,
6,
13011,
3113,
7023,
3113,
1548,
11,
3113,
4329,
3993,
17,
5106,
17,
21,
8,
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,
225,
202,
482,
760,
514,
4114,
12,
514,
609,
262,
202,
95,
202,
202,
780,
63,
6362,
65,
5230,
273,
10179,
6,
13011,
3113,
7023,
3113,
1548,
11,
3113,
4329,
3993,
17,
5106,
17,
21,
8,
759,
... |
if (data != null) result.add(data); | if (data != null) { result.add(data); } | private void internalCollectChecked(List result, Widget widget) { Item[] items = getChildren(widget); for (int i = 0; i < items.length; i++) { Item item = items[i]; if (item instanceof TreeItem && ((TreeItem) item).getChecked()) { Object data = item.getData(); ... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/391f2606b4ea2c1fb5052d938ca90877ee7631f6/CheckboxTreeViewer.java/clean/bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/CheckboxTreeViewer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2713,
10808,
11454,
12,
682,
563,
16,
11103,
3604,
13,
288,
3639,
4342,
8526,
1516,
273,
10268,
12,
6587,
1769,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
1516,
18,
24... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2713,
10808,
11454,
12,
682,
563,
16,
11103,
3604,
13,
288,
3639,
4342,
8526,
1516,
273,
10268,
12,
6587,
1769,
3639,
364,
261,
474,
277,
273,
374,
31,
277,
411,
1516,
18,
24... |
throws InvalidParameterException { return engine.engineGetParameter(param); } | throws InvalidParameterException { return engineGetParameter(param); } | public final Object getParameter(String param) throws InvalidParameterException { return engine.engineGetParameter(param); } | 45713 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45713/c133414452f7d3f9607e77a80e3ae003b3b3fb91/Signature.java/clean/libraries/javalib/java/security/Signature.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
1033,
5575,
12,
780,
579,
13,
1082,
202,
15069,
26669,
288,
202,
202,
2463,
4073,
18,
8944,
967,
1662,
12,
891,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
1033,
5575,
12,
780,
579,
13,
1082,
202,
15069,
26669,
288,
202,
202,
2463,
4073,
18,
8944,
967,
1662,
12,
891,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
System.out.println("connectedAtoms.length: " + connectedAtoms.length); | logger.debug("connectedAtoms.length: " + connectedAtoms.length); | public void mouseReleased(MouseEvent event) { isUndoableChange = false; logger.debug("MouseReleased Event Props: mode=", c2dm.getDrawModeString()); if (logger.isDebugEnabled()) { logger.debug(" trigger=" + event.isPopupTrigger(), ", Click count: " + event.getClickCount()); } if ((event.getModifiers() & M... | 45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/2a0e4ca704337f2fb039649c289f2d93c4b7d03d/Controller2D.java/clean/src/org/openscience/cdk/controller/Controller2D.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
7644,
26363,
12,
9186,
1133,
871,
13,
202,
95,
202,
202,
291,
31224,
429,
3043,
273,
629,
31,
202,
202,
4901,
18,
4148,
2932,
9186,
26363,
2587,
1186,
1121,
30,
1965,
154... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7644,
26363,
12,
9186,
1133,
871,
13,
202,
95,
202,
202,
291,
31224,
429,
3043,
273,
629,
31,
202,
202,
4901,
18,
4148,
2932,
9186,
26363,
2587,
1186,
1121,
30,
1965,
154... |
for (Iterator e = gameModeList.iterator(); e.hasNext();) | for ( GameMode gameMode : gameModeList ) | public static GameMode getGameModeNamed(final String aString) { for (Iterator e = gameModeList.iterator(); e.hasNext();) { final GameMode gameMode = (GameMode) e.next(); if (gameMode.getName().equalsIgnoreCase(aString)) { return gameMode; } } return null; } | 48301 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48301/746f9fbe7d3bb98c609b2f38fbc5ffad4e685726/SystemCollections.java/clean/code/src/java/pcgen/core/SystemCollections.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
14121,
2309,
7162,
339,
2309,
7604,
12,
6385,
514,
279,
780,
13,
202,
95,
202,
202,
1884,
261,
3198,
425,
273,
7920,
2309,
682,
18,
9838,
5621,
425,
18,
5332,
2134,
5621,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
14121,
2309,
7162,
339,
2309,
7604,
12,
6385,
514,
279,
780,
13,
202,
95,
202,
202,
1884,
261,
3198,
425,
273,
7920,
2309,
682,
18,
9838,
5621,
425,
18,
5332,
2134,
5621,... |
return getResourceBundle(getLocale()); | return I18n.getResourceBundle(I18n.getLocale()); | public static ResourceBundle getResourceBundle() { return getResourceBundle(getLocale()); } | 47012 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47012/0458430a0dc8a713aa2b4d64f000cbbaaeb4adea/I18n.java/clean/src/thaw/core/I18n.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
19198,
5070,
3405,
1435,
288,
202,
202,
2463,
5070,
3405,
12,
588,
3916,
10663,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
19198,
5070,
3405,
1435,
288,
202,
202,
2463,
5070,
3405,
12,
588,
3916,
10663,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
public SelectExpression(int multiplicity, metamodel.Class theClass, Expression condition, RelatedToOperation rto ) { super(); | public SelectExpression(int multiplicity, metamodel.Class theClass, Expression condition ) { | public SelectExpression(int multiplicity, metamodel.Class theClass, Expression condition, RelatedToOperation rto ) { super(); this.theClass = theClass; this.multiplicity = multiplicity ; if ( condition != null ) { this.hasCondition = true; this.condition ... | 10434 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10434/cd47dedb459e0ba9a9809c7c198bd64ddf5aa1d2/SelectExpression.java/clean/trunk/src/metamodel/SelectExpression.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
6766,
2300,
12,
474,
3309,
20458,
16,
5100,
13474,
18,
797,
326,
797,
16,
5371,
2269,
16,
23892,
774,
2988,
436,
869,
262,
288,
7734,
2240,
5621,
540,
333,
18,
5787,
797,
273,
326... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
6766,
2300,
12,
474,
3309,
20458,
16,
5100,
13474,
18,
797,
326,
797,
16,
5371,
2269,
16,
23892,
774,
2988,
436,
869,
262,
288,
7734,
2240,
5621,
540,
333,
18,
5787,
797,
273,
326... |
super (limit >> 3, limit >> 3, position >> 3, mark >> 3); | super (capacity, capacity, 0, -1); | public LongViewBufferImpl (ByteBuffer bb, int offset, int capacity, int limit, int position, int mark, boolean readOnly, ByteOrder endian) { super (limit >> 3, limit >> 3, position >> 3, mark >> 3); this.bb = bb; this.offset = offset; this.readOnly = readOnly; this.endian = endian; } | 27835 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27835/e88045708e1899ddaec5c5597476cbd3efd39266/LongViewBufferImpl.java/buggy/libjava/java/nio/LongViewBufferImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
3407,
1767,
1892,
2828,
261,
12242,
7129,
16,
509,
1384,
16,
509,
7519,
16,
9506,
377,
509,
1800,
16,
509,
1754,
16,
509,
2267,
16,
9506,
377,
1250,
15075,
16,
30845,
14759,
13,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
3407,
1767,
1892,
2828,
261,
12242,
7129,
16,
509,
1384,
16,
509,
7519,
16,
9506,
377,
509,
1800,
16,
509,
1754,
16,
509,
2267,
16,
9506,
377,
1250,
15075,
16,
30845,
14759,
13,
2... |
"Check repository configuration: "+e.getMessage(), e); | "Check repository configuration: " + e.getMessage(), e); | public IStatus performQuery(final AbstractRepositoryQuery query, TaskRepository repository, IProgressMonitor monitor, QueryHitCollector resultCollector) { IStatus queryStatus = Status.OK_STATUS; try { BugzillaClient client = getClientManager().getClient(repository); client.getSearchHits(query, resultCollector,... | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/03f3816483b487f20214837cafbbbb03ffc5336e/BugzillaRepositoryConnector.java/clean/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaRepositoryConnector.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
1482,
3073,
1138,
12,
6385,
4115,
3305,
1138,
843,
16,
3837,
3305,
3352,
16,
467,
5491,
7187,
6438,
16,
1082,
202,
1138,
13616,
7134,
563,
7134,
13,
288,
202,
202,
45,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
1482,
3073,
1138,
12,
6385,
4115,
3305,
1138,
843,
16,
3837,
3305,
3352,
16,
467,
5491,
7187,
6438,
16,
1082,
202,
1138,
13616,
7134,
563,
7134,
13,
288,
202,
202,
45,
14... |
getString(theData.itsStringTable, iCode, pc + 1) + "\""); | theData.itsStringTable[getShort(iCode, pc + 1)] + "\""); | private static void dumpICode(InterpreterData theData) { if (printICode) { try { int iCodeLength = theData.itsICodeTop; byte iCode[] = theData.itsICode; out = new PrintWriter(new FileOutputStream("icode.txt", true)); out.p... | 19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/7f850f6162d49fce5f2a418eb4b32ba1cf9d58bf/Interpreter.java/clean/src/org/mozilla/javascript/Interpreter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
918,
4657,
45,
1085,
12,
30010,
751,
326,
751,
13,
288,
3639,
309,
261,
1188,
45,
1085,
13,
288,
5411,
775,
288,
7734,
509,
277,
1085,
1782,
273,
326,
751,
18,
1282,
45,
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,
760,
918,
4657,
45,
1085,
12,
30010,
751,
326,
751,
13,
288,
3639,
309,
261,
1188,
45,
1085,
13,
288,
5411,
775,
288,
7734,
509,
277,
1085,
1782,
273,
326,
751,
18,
1282,
45,
10... |
return (getBounds().contains(p) && getOutline().contains(p)); | return (getBounds().contains(p) && paintedArea.contains(p)); | public boolean contains(Point2D p) { return (getBounds().contains(p) && getOutline().contains(p)); } | 46680 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46680/369d85dd5e515091212595e053ccae50e9de1af2/ConcreteShapeNode.java/clean/sources/org/apache/batik/refimpl/gvt/ConcreteShapeNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1914,
12,
2148,
22,
40,
293,
13,
288,
3639,
327,
261,
588,
5694,
7675,
12298,
12,
84,
13,
597,
12574,
329,
5484,
18,
12298,
12,
84,
10019,
565,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1914,
12,
2148,
22,
40,
293,
13,
288,
3639,
327,
261,
588,
5694,
7675,
12298,
12,
84,
13,
597,
12574,
329,
5484,
18,
12298,
12,
84,
10019,
565,
289,
2,
-100,
-100,
-100,
-... |
AssertMo.assertIncludes( "result of toString() should include name", MOCK_NAME, coreMock.toString()); } | AssertMo.assertIncludes("result of toString() should include name", MOCK_NAME, coreMock.toString()); } | public void testReturnsNameFromToString() { AssertMo.assertIncludes( "result of toString() should include name", MOCK_NAME, coreMock.toString()); } | 54028 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54028/4aaf60d8fa76687c3492c508dd98678fbbd3d935/CGLIBCoreMockTest.java/buggy/jmock/extensions/cglib/src/test/jmock/cglib/CGLIBCoreMockTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
1356,
461,
1265,
5808,
1435,
288,
3639,
5452,
16727,
18,
11231,
16815,
12,
315,
2088,
434,
1762,
1435,
1410,
2341,
508,
3113,
1850,
6862,
1082,
16070,
3507,
67,
1985,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
1356,
461,
1265,
5808,
1435,
288,
3639,
5452,
16727,
18,
11231,
16815,
12,
315,
2088,
434,
1762,
1435,
1410,
2341,
508,
3113,
1850,
6862,
1082,
16070,
3507,
67,
1985,
16,
... |
super(test); } | super(test); } | public ClientDriverTestSetup(Test test) { super(test); } | 50930 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50930/7f72236bc3559146844f6f17165ded6e995fe80f/ClientDriverSuite.java/clean/clients/java/src/test/java/com/thoughtworks/selenium/ClientDriverSuite.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2445,
4668,
4709,
7365,
12,
4709,
1842,
13,
288,
3639,
2240,
12,
3813,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2445,
4668,
4709,
7365,
12,
4709,
1842,
13,
288,
3639,
2240,
12,
3813,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
retval.append(" "+XMLHandler.addTagValue("password", "Encrypted "+Encr.encryptPassword(getPassword())) ); | String encrPassword = ""; List varList = new ArrayList(); StringUtil.getUsedVariables(getPassword(), varList, true); if (varList.size()==0) { encrPassword = "Encrypted "+Encr.encryptPassword(getPassword()); } else { encrPassword = getPassword(); } retval.append(" "+XMLHandler.addTagValue("password", encrPassword)... | public String getXML() { StringBuffer retval = new StringBuffer(); retval.append(" <connection>"+Const.CR); retval.append(" "+XMLHandler.addTagValue("name", getName())); retval.append(" "+XMLHandler.addTagValue("server", getHostname())); retval.append(" "+XMLHandler.addTagValue("type",... | 9547 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9547/6adf7cebd4f2139e195a2fc9289ca3fd089fc9fb/DatabaseMeta.java/buggy/src/be/ibridge/kettle/core/database/DatabaseMeta.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
336,
4201,
1435,
202,
95,
3639,
6674,
5221,
273,
394,
6674,
5621,
9506,
202,
18341,
18,
6923,
2932,
225,
411,
4071,
2984,
15,
9661,
18,
5093,
1769,
202,
202,
18341,
18,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
336,
4201,
1435,
202,
95,
3639,
6674,
5221,
273,
394,
6674,
5621,
9506,
202,
18341,
18,
6923,
2932,
225,
411,
4071,
2984,
15,
9661,
18,
5093,
1769,
202,
202,
18341,
18,
6... |
link = ModelMapper.unlinkChildFromParent( ((DataObject) i.next()).asImage(), mParent); if (link != null) links.add(link); | link = gateway.findLink(Category.class, mParent, ((DataObject) i.next()).asImage()); if (link != null) links.add(link); | public void declassify(Set images, Set categories) throws DSOutOfServiceException, DSAccessException { try { images.toArray(new ImageData[] {}); } catch (ArrayStoreException ase) { throw new IllegalArgumentException( "The images set only contains ... | 55464 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55464/3be9d381a3d593d28d0b987df4bc2963a9fa97b8/OmeroDataServiceImpl.java/buggy/SRC/org/openmicroscopy/shoola/env/data/OmeroDataServiceImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
443,
1106,
1164,
12,
694,
4602,
16,
1000,
6477,
13,
5411,
1216,
8678,
11224,
15133,
16,
8678,
9773,
565,
288,
3639,
775,
288,
5411,
4602,
18,
31447,
12,
2704,
3421,
751,
8526,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
443,
1106,
1164,
12,
694,
4602,
16,
1000,
6477,
13,
5411,
1216,
8678,
11224,
15133,
16,
8678,
9773,
565,
288,
3639,
775,
288,
5411,
4602,
18,
31447,
12,
2704,
3421,
751,
8526,
... |
(2000 * 3600, "Asia/Jerusalem", Calendar.APRIL, 1, 0, 1000 * 3600, Calendar.OCTOBER, 1, 0, 1000 * 3600); timezones0.put("Asia/Jerusalem", tz); tz = new SimpleTimeZone | static synchronized HashMap timezones() { if (timezones0 == null) { HashMap timezones = new HashMap(); timezones0 = timezones; TimeZone tz; // Automatically generated by scripts/timezones.pl // XXX - Should we read this data from a file? tz = new SimpleTimeZone(-11000 * 3600, "MIT"); timezones0.put("MIT... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ebc5ff4942beb7f0eda4abe3e16ca60092e4db1d/TimeZone.java/clean/core/src/classpath/java/java/util/TimeZone.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
3852,
4317,
25954,
1435,
225,
288,
565,
309,
261,
957,
14203,
20,
422,
446,
13,
4202,
288,
202,
8658,
25954,
273,
394,
4317,
5621,
202,
957,
14203,
20,
273,
25954,
31,
202,
202,
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,
282,
760,
3852,
4317,
25954,
1435,
225,
288,
565,
309,
261,
957,
14203,
20,
422,
446,
13,
4202,
288,
202,
8658,
25954,
273,
394,
4317,
5621,
202,
957,
14203,
20,
273,
25954,
31,
202,
202,
16... | |
ci.precision = types[SYBDATETIME4].precision; ci.sqlType = types[SYBDATETIME4].sqlType; | ci.precision = types[SYBDATETIME4].precision; ci.sqlType = types[SYBDATETIME4].sqlType; | static int readType(ResponseStream in, ColInfo ci) throws IOException, ProtocolException { boolean isTds8 = in.getTdsVersion() >= Driver.TDS80; int bytesRead = 1; // Get the TDS data type code int type = in.read(); if (types[type] == null) { throw new ProtocolExcepti... | 439 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/439/f23675b413a471c068f08551f90854f46440ea89/TdsData.java/buggy/trunk/jtds/src/main/net/sourceforge/jtds/jdbc/TdsData.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
509,
855,
559,
12,
1064,
1228,
316,
16,
1558,
966,
9039,
13,
565,
1216,
1860,
16,
4547,
503,
288,
3639,
1250,
353,
56,
2377,
28,
273,
316,
18,
588,
56,
2377,
1444,
1435,
1545,
93... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
509,
855,
559,
12,
1064,
1228,
316,
16,
1558,
966,
9039,
13,
565,
1216,
1860,
16,
4547,
503,
288,
3639,
1250,
353,
56,
2377,
28,
273,
316,
18,
588,
56,
2377,
1444,
1435,
1545,
93... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.