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 |
|---|---|---|---|---|---|---|
String dir_attr = requireAttribute (f, "dir"); | String dir_attr = requireAttribute(f, "dir"); | protected ArrayList getPacks(XMLElement data) throws CompilerException { // Initialisation ArrayList packs = new ArrayList(); XMLElement root = requireChildNamed(data, "packs"); // dummy variable used for values from XML String val; // We process each pack markup int packCounter = 0; Iterator... | 58440 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58440/47db88bfea6b64e47a33aa3c937b2ce6e8640d56/Compiler.java/buggy/izpack-src/trunk/src/lib/com/izforge/izpack/compiler/Compiler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
2407,
1689,
22098,
12,
15223,
501,
13,
1216,
28227,
225,
288,
565,
368,
10188,
10742,
565,
2407,
2298,
87,
273,
394,
2407,
5621,
565,
1139,
11155,
1365,
273,
2583,
1763,
7604,
12,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
2407,
1689,
22098,
12,
15223,
501,
13,
1216,
28227,
225,
288,
565,
368,
10188,
10742,
565,
2407,
2298,
87,
273,
394,
2407,
5621,
565,
1139,
11155,
1365,
273,
2583,
1763,
7604,
12,
8... |
final Object[] array = (Object[]) context.declaration.getExtractor().getValue( left ); | final Object[] array = (Object[]) context.getVariableDeclaration().getExtractor().getValue( left ); | public boolean evaluateCachedRight(final VariableContextEntry context, final Object left) { final Object value = ((ObjectVariableContextEntry) context).right; final Object[] array = (Object[]) context.declaration.getExtractor().getValue( left ); ... | 5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/b6d27b51773c616f04e39b7d6c5e3cd95aeab255/ArrayFactory.java/buggy/drools-core/src/main/java/org/drools/base/evaluators/ArrayFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
1250,
5956,
9839,
4726,
12,
6385,
7110,
1042,
1622,
819,
16,
4766,
6647,
727,
1033,
2002,
13,
288,
5411,
727,
1033,
460,
273,
14015,
921,
3092,
1042,
1622,
13,
819,
2934,
4083,
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,
540,
1071,
1250,
5956,
9839,
4726,
12,
6385,
7110,
1042,
1622,
819,
16,
4766,
6647,
727,
1033,
2002,
13,
288,
5411,
727,
1033,
460,
273,
14015,
921,
3092,
1042,
1622,
13,
819,
2934,
4083,
31,
... |
private Region getRegion(Rectangle outerShellSize, Shell newShell) { | private Region getBorderRegion(Rectangle outerShellSize, Shell newShell) { | protected void addRoundBorder(final Shell paintShell, final int borderSize) { paintShell.addPaintListener(new PaintListener() { /* * (non-Javadoc) * * @see org.eclipse.swt.events.PaintListener#paintControl(org.eclipse.swt.events.PaintEvent) */ public void paintControl(PaintEvent event) { if ... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/4634ffb53bb93952f4331d37127b0307d5f130b3/AssociatedWindow.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/AssociatedWindow.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
527,
11066,
8107,
12,
6385,
19433,
12574,
13220,
16,
727,
509,
5795,
1225,
13,
288,
9506,
202,
84,
1598,
13220,
18,
1289,
12699,
2223,
12,
2704,
30001,
2223,
1435,
288,
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,
225,
202,
1117,
918,
527,
11066,
8107,
12,
6385,
19433,
12574,
13220,
16,
727,
509,
5795,
1225,
13,
288,
9506,
202,
84,
1598,
13220,
18,
1289,
12699,
2223,
12,
2704,
30001,
2223,
1435,
288,
10... |
AbstractTaskContainer fromContainer = task.getCategory(); | AbstractTaskContainer fromContainer = task.getContainer(); | public void moveToContainer(AbstractTaskContainer toContainer, ITask task) { if (!tasks.containsKey(task.getHandleIdentifier())) { tasks.put(task.getHandleIdentifier(), task); } AbstractTaskContainer fromContainer = task.getCategory();// if (toCategory.equals(getRootCategory())) {// moveToRoot(task);// } el... | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/8a60e73b00e04e8c6f027c4cc27bca727df1975f/TaskList.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/provisional/tasklist/TaskList.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
13863,
2170,
12,
7469,
2174,
2170,
358,
2170,
16,
467,
2174,
1562,
13,
288,
202,
202,
430,
16051,
9416,
18,
12298,
653,
12,
4146,
18,
588,
3259,
3004,
1435,
3719,
288,
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,
225,
202,
482,
918,
13863,
2170,
12,
7469,
2174,
2170,
358,
2170,
16,
467,
2174,
1562,
13,
288,
202,
202,
430,
16051,
9416,
18,
12298,
653,
12,
4146,
18,
588,
3259,
3004,
1435,
3719,
288,
10... |
this.EDexit(); | if (this!=Thread.currentThread()) this.EDexit(); | public void die() { if (!dead) { // Dump waitingToJoin to ready if ( waitingToJoin != null ) { Scheduler.addReadyThreadList(waitingToJoin); waitingToJoin= null; } dead= true; } this.EDexit(); } | 2866 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2866/27039b9f61927e3c81f934b466cb969f9b635c4d/Thread.java/clean/JDK1.1/java/lang/Thread.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
10387,
1435,
565,
288,
202,
430,
16051,
22097,
13,
288,
202,
565,
368,
18242,
7336,
774,
4572,
358,
5695,
202,
565,
309,
261,
7336,
774,
4572,
480,
446,
262,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
10387,
1435,
565,
288,
202,
430,
16051,
22097,
13,
288,
202,
565,
368,
18242,
7336,
774,
4572,
358,
5695,
202,
565,
309,
261,
7336,
774,
4572,
480,
446,
262,
288,
202,
202,
1... |
TestHelper.waitMilliSeconds(100); | public void testAbortUpload() { assertEquals(0, bartModelListener.events.size()); // Create a 10 megs file TestHelper.createRandomFile(getFolderAtBart().getLocalBase(), 20000000); getFolderAtBart().forceScanOnNextMaintenance(); getFolderAtBart().maintain(); TestHelper.waitF... | 51438 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51438/816c0bfebdc5f08b9fa284c8c525c31211b44531/UploadsTableModelTest.java/clean/src/test/de/dal33t/powerfolder/test/ui/UploadsTableModelTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
7766,
2276,
18,
7048,
30388,
6762,
12,
6625,
1769,
7766,
2276,
18,
7048,
30388,
6762,
12,
6625,
1769,
7766,
2276,
18,
7048,
30388,
6762,
12,
6625,
1769,
7766,
2276,
18,
7048,
30388,
6762,
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,
7766,
2276,
18,
7048,
30388,
6762,
12,
6625,
1769,
7766,
2276,
18,
7048,
30388,
6762,
12,
6625,
1769,
7766,
2276,
18,
7048,
30388,
6762,
12,
6625,
1769,
7766,
2276,
18,
7048,
30388,
6762,
12,
... | |
public void templateDeclarationEnd( Object templateDecl ); | public void templateDeclarationEnd( Object templateDecl, Token lastToken ); | public void templateDeclarationEnd( Object templateDecl ); | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/938a074dd8962c326220efab64196bd8a4dcef54/IParserCallback.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/IParserCallback.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
202,
202,
3202,
6094,
1638,
12,
1033,
1542,
3456,
11272,
202,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
202,
202,
3202,
6094,
1638,
12,
1033,
1542,
3456,
11272,
202,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
removeSortFromAxis(axis); | removeSortFromAxis(axis); | public void sort(int axis, int direction, Member[] members) { Util.assertPrecondition(AxisOrdinal.instance.isValid(axis), "AxisOrdinal.instance.isValid(axis)"); Util.assertPrecondition(axis < axes.length, "axis < axes.length"); Util.assertPrecondition(SortDirection.instance().isValid(direction), "SortDirection.inst... | 4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/b5b5168edc3af09cb74945a80b0c36e6630ed502/Query.java/clean/src/main/mondrian/olap/Query.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1524,
12,
474,
2654,
16,
509,
4068,
16,
8596,
8526,
4833,
13,
288,
202,
202,
1304,
18,
11231,
1386,
4175,
12,
6558,
22830,
18,
1336,
18,
26810,
12,
4890,
3631,
315,
6558,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1524,
12,
474,
2654,
16,
509,
4068,
16,
8596,
8526,
4833,
13,
288,
202,
202,
1304,
18,
11231,
1386,
4175,
12,
6558,
22830,
18,
1336,
18,
26810,
12,
4890,
3631,
315,
6558,... |
public BaseInspectionVisitor buildVisitor() { | public BaseInspectionVisitor buildVisitor(){ | public BaseInspectionVisitor buildVisitor() { return new FinalizeDeclaredProtectedVisitor(); } | 56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/bd57f07c33c419f20715b114b71a7e93425b34c9/FinalizeNotProtectedInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/finalization/FinalizeNotProtectedInspection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3360,
14985,
7413,
1361,
7413,
1435,
95,
3639,
327,
394,
30740,
18888,
15933,
7413,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
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,
3360,
14985,
7413,
1361,
7413,
1435,
95,
3639,
327,
394,
30740,
18888,
15933,
7413,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
case 5: | case 'C': | public final static VmArrayClass getPrimitiveArrayClass(int type) { switch (type) { case 4: return BooleanArrayClass; case 8: return ByteArrayClass; case 5: return CharArrayClass; case 9: return ShortArrayClass; case 10: return IntArrayClass; case 6: return FloatArrayClass; case 11: return LongAr... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/10b9028253f5fe6331eb3ee3c17eb137e07633c9/VmType.java/buggy/core/src/core/org/jnode/vm/classmgr/VmType.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
760,
776,
81,
1076,
797,
8248,
5025,
1076,
797,
12,
474,
618,
13,
288,
202,
202,
9610,
261,
723,
13,
288,
202,
202,
3593,
1059,
30,
1082,
202,
2463,
3411,
1076,
797,
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,
727,
760,
776,
81,
1076,
797,
8248,
5025,
1076,
797,
12,
474,
618,
13,
288,
202,
202,
9610,
261,
723,
13,
288,
202,
202,
3593,
1059,
30,
1082,
202,
2463,
3411,
1076,
797,
31... |
Thread t = new Thread(this); | Thread t = new Thread(this, "SimpleToadletServer$SocketHandler"); | public SocketHandler(Socket conn) { this.sock = conn; Thread t = new Thread(this); t.setDaemon(true); t.start(); } | 56348 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56348/15af5628d945ad583fe71b5bb56db0df7f7e4470/SimpleToadletServer.java/buggy/src/freenet/clients/http/SimpleToadletServer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
8758,
1503,
12,
4534,
1487,
13,
288,
1082,
202,
2211,
18,
15031,
273,
1487,
31,
1082,
202,
3830,
268,
273,
394,
4884,
12,
2211,
1769,
1082,
202,
88,
18,
542,
12858,
12,
3767,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
8758,
1503,
12,
4534,
1487,
13,
288,
1082,
202,
2211,
18,
15031,
273,
1487,
31,
1082,
202,
3830,
268,
273,
394,
4884,
12,
2211,
1769,
1082,
202,
88,
18,
542,
12858,
12,
3767,... |
{ IconManager IM = IconManager.getInstance(registry); histogram = new JButton(IM.getIcon(IconManager.HISTOGRAM)); histogram.setToolTipText( UIUtilities.formatToolTipText("Bring the histogram dialog.")); histogram.setBorder(null); } | { IconManager IM = IconManager.getInstance(registry); histogram = new JButton(IM.getIcon(IconManager.HISTOGRAM)); histogram.setToolTipText( UIUtilities.formatToolTipText("Bring the histogram dialog.")); histogram.setBorder(null); } | private void initButton(Registry registry) { IconManager IM = IconManager.getInstance(registry); histogram = new JButton(IM.getIcon(IconManager.HISTOGRAM)); histogram.setToolTipText( UIUtilities.formatToolTipText("Bring the histogram dialog.")); histogram.setBorder(null); } | 55636 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55636/1722ebf9ac60fc8e45cdc8d0049e85db5b86715c/DomainPane.java/buggy/SRC/org/openmicroscopy/shoola/agents/rnd/pane/DomainPane.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1208,
3616,
12,
4243,
4023,
13,
202,
95,
202,
202,
5554,
1318,
6246,
273,
16011,
1318,
18,
588,
1442,
12,
9893,
1769,
202,
202,
22702,
273,
394,
28804,
12,
3445,
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,
1208,
3616,
12,
4243,
4023,
13,
202,
95,
202,
202,
5554,
1318,
6246,
273,
16011,
1318,
18,
588,
1442,
12,
9893,
1769,
202,
202,
22702,
273,
394,
28804,
12,
3445,
18,
588... |
setType(null); | private void evaluateExpressions() throws JspException { try { setCollection(evalAttr("collection", getCollectionExpr(), Object.class)); } catch (NullAttributeException ex) { setCollection(null); } try { setId((String) e... | 48068 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48068/db064e19656421b94aaf753550935d95f44bd5f9/ELIterateTag.java/clean/contrib/struts-el/src/share/org/apache/strutsel/taglib/logic/ELIterateTag.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
5956,
8927,
1435,
1216,
27485,
288,
3639,
775,
288,
5411,
444,
2532,
12,
8622,
3843,
2932,
5548,
3113,
12075,
4742,
9334,
4766,
565,
1033,
18,
1106,
10019,
3639,
289,
1044,
261,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
5956,
8927,
1435,
1216,
27485,
288,
3639,
775,
288,
5411,
444,
2532,
12,
8622,
3843,
2932,
5548,
3113,
12075,
4742,
9334,
4766,
565,
1033,
18,
1106,
10019,
3639,
289,
1044,
261,
... | |
if (_treeIsGenerated) | if (_treeIsGenerated) { | public void addFileSelectionListener(final FileSelectionListener l) { TreeSelectionListener tsl = new TreeSelectionListener() { public void valueChanged(TreeSelectionEvent e) { int n = e.getPaths().length; File[] changed = new File[n]; boolean[] areNew = new boolean[n]; for (int i=... | 11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/ea58ebfcec38aad3c446138f5dc29fb9b0bd55b4/DirectoryChooser.java/buggy/drjava/src/edu/rice/cs/util/swing/DirectoryChooser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
18671,
6233,
2223,
12,
6385,
1387,
6233,
2223,
328,
13,
288,
565,
4902,
6233,
2223,
268,
2069,
273,
394,
4902,
6233,
2223,
1435,
288,
1377,
1071,
918,
460,
5033,
12,
2471,
6233... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
18671,
6233,
2223,
12,
6385,
1387,
6233,
2223,
328,
13,
288,
565,
4902,
6233,
2223,
268,
2069,
273,
394,
4902,
6233,
2223,
1435,
288,
1377,
1071,
918,
460,
5033,
12,
2471,
6233... |
MockInterface iface = m_network.getInterface(1, "192.168.1.2"); m_pollerConfig.addScheduledOutage(m_pollerConfig.getPackage("TestPackage"), "TestOutage", start, start + 5000, iface.getIpAddr()); MockUtil.println("Begin Outage"); startDaemons(); | MockInterface iface = m_network.getInterface(1, "192.168.1.2"); m_pollerConfig.addScheduledOutage(m_pollerConfig .getPackage("TestPackage"), "TestOutage", start, start + 5000, iface.getIpAddr()); MockUtil.println("Begin Outage"); startDaemons(); | public void testDontPollDuringScheduledOutages() { long start = System.currentTimeMillis(); MockInterface iface = m_network.getInterface(1, "192.168.1.2"); m_pollerConfig.addScheduledOutage(m_pollerConfig.getPackage("TestPackage"), "TestOutage", start, start + 5000, iface.getIpAddr()); M... | 48885 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48885/e3db1312e8cc2636034eb4d7b29db88850613e3b/PollerTest.java/clean/opennms-services/src/test/java/org/opennms/netmgt/poller/PollerTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
40,
1580,
19085,
26424,
10660,
1182,
1023,
1435,
288,
3639,
1525,
787,
273,
2332,
18,
2972,
28512,
5621,
3639,
7867,
1358,
9751,
273,
312,
67,
5185,
18,
588,
1358,
12,
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,
1842,
40,
1580,
19085,
26424,
10660,
1182,
1023,
1435,
288,
3639,
1525,
787,
273,
2332,
18,
2972,
28512,
5621,
3639,
7867,
1358,
9751,
273,
312,
67,
5185,
18,
588,
1358,
12,
21... |
throw new UnavailableException("Cannot locate path "+path); | throw new UnavailableException("Cannot locate path " + path); | protected void parseModuleConfigFile(Digester digester, String path) throws UnavailableException { try { List paths = splitAndResolvePaths(path); if (paths.size() > 0) { // Get first path as was the old behavior URL url = (URL)paths.get(0); ... | 2722 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2722/22fccc36154c6b13c98c040efe9504d75e1cb7a1/ActionServlet.java/buggy/src/share/org/apache/struts/action/ActionServlet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1109,
3120,
13705,
12,
4907,
7654,
23821,
16,
514,
589,
13,
3639,
1216,
1351,
5699,
503,
288,
3639,
775,
288,
5411,
987,
2953,
273,
1416,
1876,
8460,
4466,
12,
803,
1769,
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,
4750,
918,
1109,
3120,
13705,
12,
4907,
7654,
23821,
16,
514,
589,
13,
3639,
1216,
1351,
5699,
503,
288,
3639,
775,
288,
5411,
987,
2953,
273,
1416,
1876,
8460,
4466,
12,
803,
1769,
5411,... |
return element instanceof BugzillaTask || element instanceof BugzillaHit | return element instanceof BugzillaTask || element instanceof BugzillaQueryHit | public boolean acceptsItem(ITaskListElement element) { return element instanceof BugzillaTask || element instanceof BugzillaHit || element instanceof BugzillaQueryCategory; } | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/5a4089e23aba6176a3b09546e2c8518d3e94a268/BugzillaTaskHandler.java/buggy/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/tasklist/BugzillaTaskHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
8104,
1180,
12,
1285,
835,
682,
1046,
930,
13,
288,
202,
202,
2463,
930,
1276,
16907,
15990,
2174,
747,
930,
1276,
16907,
15990,
13616,
9506,
202,
20081,
930,
1276,
16907,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
8104,
1180,
12,
1285,
835,
682,
1046,
930,
13,
288,
202,
202,
2463,
930,
1276,
16907,
15990,
2174,
747,
930,
1276,
16907,
15990,
13616,
9506,
202,
20081,
930,
1276,
16907,
... |
} | } | public String getrealm () { return res.realm; } | 3798 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3798/289f87d5ff3a4ebcafe98543ad52c37a38709f1e/ResponseBean.java/buggy/src/helma/framework/ResponseBean.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
336,
24056,
1832,
288,
202,
2463,
400,
18,
24056,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
336,
24056,
1832,
288,
202,
2463,
400,
18,
24056,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
btParser.setSym1(Flags.PROTECTED); break; } | btParser.setSym1(Flags.PRIVATE); break; } | public void ruleAction(int ruleNumber) { if (bad_rule != 0) return; switch (ruleNumber) { // // Rule 1: identifier ::= IDENTIFIER // case 1: { if (prsStream.getKind(btParser.getToken(1)) != X10Parsersym.TK_IDENTIFIER) ... | 1769 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1769/10b0c7616a7abbf0fc08b5455c9818b3be9b7cbc/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,
309,
261,
8759,
67,
5345,
480,
374,
13,
5411,
327,
31,
3639,
1620,
261,
5345,
1854,
13,
3639,
288,
2398,
368,
5411,
368,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1720,
1803,
12,
474,
1720,
1854,
13,
565,
288,
3639,
309,
261,
8759,
67,
5345,
480,
374,
13,
5411,
327,
31,
3639,
1620,
261,
5345,
1854,
13,
3639,
288,
2398,
368,
5411,
368,
... |
switch (drdaType) | case DRDAConstants.DRDA_TYPE_NINTEGER: | private ArrayList readAndSetParams(int i, DRDAStatement stmt, int drdaType, EmbedParameterSetMetaData pmeta, ArrayList paramExtPositions, int paramLenNumBytes) throws DRDAProtocolException, SQLException { PreparedStatement ps = stmt.getPreparedStatement(); // mask out null indicator... | 56322 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56322/d2989b7c8e85d8e5237ca2f36344eb4f163a426b/DRDAConnThread.java/clean/java/drda/org/apache/derby/impl/drda/DRDAConnThread.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
2407,
855,
13152,
1370,
12,
474,
277,
16,
16801,
9793,
3406,
3480,
16,
509,
6862,
4202,
5081,
2414,
559,
16,
14564,
1662,
694,
6998,
293,
3901,
16,
6862,
4202,
2407,
579,
2482,
1102... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2407,
855,
13152,
1370,
12,
474,
277,
16,
16801,
9793,
3406,
3480,
16,
509,
6862,
4202,
5081,
2414,
559,
16,
14564,
1662,
694,
6998,
293,
3901,
16,
6862,
4202,
2407,
579,
2482,
1102... |
-1, -1, 91, -1, -1, 505, 506, 507, 331, -1, -1, 511, -1, -1, 41, 338, -1, 44, -1, 565, 343, -1, 522, 523, 826, 348, 349, 350, 351, 650, -1, -1, -1, 579, 61, 837, 657, 658, 59, 660, 661, -1, 844, -1, 771, 772, 546, -1, 262, 263, 264, -1, -1, -1, 268,... | -1, 41, 91, 91, 44, 505, 506, 507, 330, -1, -1, 511, -1, 279, 280, 337, -1, -1, 91, 565, 342, 61, 522, 523, 826, 347, 348, 349, 350, 650, -1, -1, -1, 579, -1, 837, 657, 658, 59, 660, 661, -1, 844, -1, 771, 772, 546, -1, -1, -1, -1, 91, -1, -1, -1, ... | private static final short[] yyCheck1() { return new short[] { 15, 16, 215, 14, 19, 7, 247, 15, 16, 6, 378, 19, 15, 16, 21, 375, 19, 41, 6, 7, 392, 398, 27, 15, 16, 27, 342, 19, 43, 44, 10, 3, 693, 370, 49, 50... | 45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/a404cb04ade8bbc527b55cf473199686102428e1/YyTables.java/clean/src/org/jruby/parser/YyTables.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
760,
727,
3025,
8526,
9016,
1564,
21,
1435,
288,
1377,
327,
394,
3025,
8526,
288,
6647,
4711,
16,
282,
2872,
16,
225,
576,
3600,
16,
282,
5045,
16,
282,
5342,
16,
565,
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,
565,
3238,
760,
727,
3025,
8526,
9016,
1564,
21,
1435,
288,
1377,
327,
394,
3025,
8526,
288,
6647,
4711,
16,
282,
2872,
16,
225,
576,
3600,
16,
282,
5045,
16,
282,
5342,
16,
565,
2371,
16,
... |
DateFormatter dateFormat; | DateFormatter dateFormat = null; | protected boolean formatValue( Object value, String formatStr, StyleDesign style, StringBuffer formattedStr ) { if ( value == null ) { return false; } assert style != null && formattedStr != null; assert context.getLocale( ) != null; if ( ( value instanceof Number ) ) { NumberFormatter numberFormat; if ... | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/5e9b56cf7b8135282c03b97d8af0909f1c511509/StyledItemExecutor.java/clean/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/StyledItemExecutor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
1250,
740,
620,
12,
1033,
460,
16,
514,
740,
1585,
16,
1082,
202,
2885,
15478,
2154,
16,
6674,
4955,
1585,
262,
202,
95,
202,
202,
430,
261,
460,
422,
446,
262,
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,
1117,
1250,
740,
620,
12,
1033,
460,
16,
514,
740,
1585,
16,
1082,
202,
2885,
15478,
2154,
16,
6674,
4955,
1585,
262,
202,
95,
202,
202,
430,
261,
460,
422,
446,
262,
202,
202,
9... |
TaskRepositoryClient client = MylarTaskListPlugin.getRepositoryManager().getRepositoryClient(BugzillaPlugin.REPOSITORY_KIND); | AbstractTaskRepositoryClient client = MylarTaskListPlugin.getRepositoryManager().getRepositoryClient(BugzillaPlugin.REPOSITORY_KIND); | public void addHit(IQueryHit hit) { TaskRepositoryClient client = MylarTaskListPlugin.getRepositoryManager().getRepositoryClient(BugzillaPlugin.REPOSITORY_KIND); ITask correspondingTask = client.getTaskFromArchive( hit.getHandleIdentifier()); hit.setCorrespondingTask(correspondingTask); hits.add(hit); } | 51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/d5fd48618e12c1233cda9f944485a6047eb75677/BugzillaQueryCategory.java/buggy/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaQueryCategory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
527,
13616,
12,
45,
1138,
13616,
6800,
13,
288,
202,
202,
2174,
3305,
1227,
1004,
273,
8005,
7901,
2174,
682,
3773,
18,
588,
3305,
1318,
7675,
588,
3305,
1227,
12,
19865,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
527,
13616,
12,
45,
1138,
13616,
6800,
13,
288,
202,
202,
2174,
3305,
1227,
1004,
273,
8005,
7901,
2174,
682,
3773,
18,
588,
3305,
1318,
7675,
588,
3305,
1227,
12,
19865,
... |
for (int oldIndex = 0, index = line.indexOf(DELIMITER, 0); true; | for (int oldIndex = 0, index = line.indexOf(DELIMITER, 0); true; | private String[] tokeniseEntry(String line) { int maxTokens = 8; int minTokens = maxTokens - 1; // comment may be absent. String[] tokens = new String[maxTokens]; Arrays.fill(tokens, ""); int tokenIndex = 0; for (int oldIndex = 0, index = line.indexOf(DELIMITER, 0); true; ... | 52149 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52149/3218e24b6efd64f52e0a0f7be5393dc7a49c2b1b/ClearCase.java/clean/main/src/net/sourceforge/cruisecontrol/sourcecontrols/ClearCase.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
514,
8526,
1147,
784,
1622,
12,
780,
980,
13,
288,
3639,
509,
943,
5157,
273,
1725,
31,
3639,
509,
1131,
5157,
273,
943,
5157,
300,
404,
31,
368,
2879,
2026,
506,
17245,
18,
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,
514,
8526,
1147,
784,
1622,
12,
780,
980,
13,
288,
3639,
509,
943,
5157,
273,
1725,
31,
3639,
509,
1131,
5157,
273,
943,
5157,
300,
404,
31,
368,
2879,
2026,
506,
17245,
18,
3639,... |
.haveActiveContextsChanged(), false, false, false, false, false, false, null, null, null)); | .isActiveContextsChanged(), false, false, false, false, false, false, null, null, null)); | public final void contextManagerChanged(final ContextManagerEvent event) { fireCommandManagerChanged(new CommandManagerEvent(this, event .haveActiveContextsChanged(), false, false, false, false, false, false, null, null, null)); } | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/27a0b33bc311f95dbf221a6ff17f50aa537c6a6c/CommandManagerWrapper.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/commands/CommandManagerWrapper.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
819,
1318,
5033,
12,
6385,
1772,
1318,
1133,
871,
13,
288,
202,
202,
12179,
2189,
1318,
5033,
12,
2704,
3498,
1318,
1133,
12,
2211,
16,
871,
9506,
202,
18,
21516,
38... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
819,
1318,
5033,
12,
6385,
1772,
1318,
1133,
871,
13,
288,
202,
202,
12179,
2189,
1318,
5033,
12,
2704,
3498,
1318,
1133,
12,
2211,
16,
871,
9506,
202,
18,
21516,
38... |
status = ERRORED | COMPLETE; | status = ERRORED; | public boolean imageUpdate(Image img, int flags, int x, int y, int width, int height) { if ((flags & ABORT) != 0) status = ABORTED | COMPLETE; else if ((flags & ERROR) != 0) status = ERRORED | COMPLETE; else if ((flags & ALLBITS) != 0) status = COMPLETE; else if... | 1043 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1043/66c6bae7a65cc3aec9e520b1f2e9a98ede5798df/MediaTracker.java/buggy/libjava/java/awt/MediaTracker.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1316,
1891,
12,
2040,
3774,
16,
509,
2943,
16,
509,
619,
16,
509,
677,
16,
4697,
4202,
509,
1835,
16,
509,
2072,
13,
565,
288,
1377,
309,
14015,
7133,
473,
10336,
3871,
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,
1250,
1316,
1891,
12,
2040,
3774,
16,
509,
2943,
16,
509,
619,
16,
509,
677,
16,
4697,
4202,
509,
1835,
16,
509,
2072,
13,
565,
288,
1377,
309,
14015,
7133,
473,
10336,
3871,
13,
... |
int line = (iCode[pc + 1] << 8) | (iCode[pc + 2] & 0xFF); String name = getString(theData.itsStringTable, iCode, pc + 3); int count = (iCode[pc + 5] << 8) | (iCode[pc + 6] & 0xFF); | int line = getShort(iCode, pc + 1); String name = theData. itsStringTable[getShort(iCode, pc + 3)]; int count = getShort(iCode, pc + 5); | 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... | 51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/f6c346cc7699c007b0b9b27d9c3cdb5446052c64/Interpreter.java/buggy/js/rhino/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... |
SimpleFieldSet fs = new SimpleFieldSet(); | SimpleFieldSet fs = new SimpleFieldSet(false); | public SimpleFieldSet getFieldSet() { SimpleFieldSet fs = new SimpleFieldSet(); fs.put("Identifier", identifier); fs.put("Metadata.ContentType", mimeType); fs.put("DataLength", Long.toString(dataLength)); return fs; } | 51834 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51834/2d2b5012400f5bab60d65d3d26d67efa9cf7d1d6/DataFoundMessage.java/clean/src/freenet/node/fcp/DataFoundMessage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4477,
974,
694,
5031,
694,
1435,
288,
202,
202,
5784,
974,
694,
2662,
273,
394,
4477,
974,
694,
5621,
202,
202,
2556,
18,
458,
2932,
3004,
3113,
2756,
1769,
202,
202,
2556,
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,
225,
202,
482,
4477,
974,
694,
5031,
694,
1435,
288,
202,
202,
5784,
974,
694,
2662,
273,
394,
4477,
974,
694,
5621,
202,
202,
2556,
18,
458,
2932,
3004,
3113,
2756,
1769,
202,
202,
2556,
18... |
IPatch p = new Patch(sysex,this); | Patch p = new Patch(sysex,this); | public IPatch createNewPatch (){ byte [] sysex = new byte[HSIZE + SSIZE + 1]; sysex[0]=(byte)0xF0; sysex[1]=(byte)0x41; sysex[3]=(byte)0x2A; sysex[4]=(byte)0x12; sysex[9]=(byte)0x01; sysex[10]=(byte)0x02; sysex[11]=(byte)0x03; sysex[12]=(byte)0x04; sysex[13]=(byte)0x05; sysex[14]=(byte)0x06; sysex[15]=(byte)0x... | 7591 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7591/3f915bc6d4c0d171ccc9686fc86cdd81ff620836/RolandGP16SingleDriver.java/buggy/JSynthLib/synthdrivers/RolandGP16/RolandGP16SingleDriver.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2971,
505,
15291,
7332,
1832,
95,
202,
1160,
5378,
1393,
20909,
273,
394,
1160,
63,
44,
4574,
397,
348,
4574,
397,
404,
15533,
202,
1393,
20909,
63,
20,
65,
28657,
7229,
13,
20,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2971,
505,
15291,
7332,
1832,
95,
202,
1160,
5378,
1393,
20909,
273,
394,
1160,
63,
44,
4574,
397,
348,
4574,
397,
404,
15533,
202,
1393,
20909,
63,
20,
65,
28657,
7229,
13,
20,
1... |
if ( hasUnbranchedInternals(d)) return true; | if ( hasUnbranchedInternals(d)) return true; | public boolean hasUnbranchedInternals(int node) { if (!inBounds(node)) return false; if (nodeIsTerminal(node)) return false; if (nodeIsUnbranchedInternal(node)) return true; for (int d = firstDaughterOfNode(node); nodeExists(d); d = nextSisterOfNode(d)) if ( hasUnbranchedInternals(d)) return true; r... | 56479 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56479/c150b559bc39c5d510d0bbd29c1d04982a6173bb/MesquiteTree.java/buggy/Source/mesquite/lib/MesquiteTree.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
225,
1250,
711,
984,
70,
2450,
2049,
21843,
1031,
12,
474,
756,
13,
288,
202,
202,
430,
16051,
267,
5694,
12,
2159,
3719,
1082,
202,
2463,
629,
31,
202,
202,
430,
261,
2159,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
225,
1250,
711,
984,
70,
2450,
2049,
21843,
1031,
12,
474,
756,
13,
288,
202,
202,
430,
16051,
267,
5694,
12,
2159,
3719,
1082,
202,
2463,
629,
31,
202,
202,
430,
261,
2159,
... |
DSpaceObject scope, | Collection scope, | public static List harvest(Context context, DSpaceObject scope, String startDate, String endDate, int offset, int limit, boolean items, boolean containers, boolean withdrawn) throws SQLException { // SQL to add to the list of tables after the ... | 25205 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25205/564aa767ae3958fb227322d346195962712ce24e/Harvest.java/buggy/dspace/src/org/dspace/search/Harvest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
987,
17895,
26923,
12,
1042,
819,
16,
3639,
2200,
2146,
16,
3639,
514,
12572,
16,
3639,
514,
13202,
16,
3639,
509,
1384,
16,
3639,
509,
1800,
16,
3639,
1250,
1516,
16,
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,
760,
987,
17895,
26923,
12,
1042,
819,
16,
3639,
2200,
2146,
16,
3639,
514,
12572,
16,
3639,
514,
13202,
16,
3639,
509,
1384,
16,
3639,
509,
1800,
16,
3639,
1250,
1516,
16,
3639,
... |
if (message != null) { StringTokenizer msg = new StringTokenizer(message, "\n\r"); while (msg.hasMoreTokens()) { body.print( msg.nextToken() ); body.println("<br>"); } } body.println("</body>"); body.println("</html>"); } | if (message != null) { StringTokenizer msg = new StringTokenizer(message, "\n\r"); while (msg.hasMoreTokens()) { body.print(msg.nextToken()); body.println("<br>"); } } body.println("</body>"); body.println("</html>"); } | public void do500(HttpRequest request, HttpResponse response, String message){ response.reset(500, "Internal Server Error."); java.io.PrintWriter body = response.getPrintWriter(); body.println("<html>"); body.println("<body>"); body.println("<h3>Internal Server Error</h3>"); ... | 47052 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47052/1bda52cee15a422f4be7d6ad3b16e20e802f5271/DefaultHttpBean.java/clean/openejb0/src/facilities/org/openejb/admin/web/DefaultHttpBean.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
741,
12483,
12,
8988,
590,
16,
9476,
766,
16,
514,
883,
15329,
3639,
766,
18,
6208,
12,
12483,
16,
315,
3061,
3224,
1068,
1199,
1769,
3639,
2252,
18,
1594,
18,
5108,
2289,
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,
377,
1071,
918,
741,
12483,
12,
8988,
590,
16,
9476,
766,
16,
514,
883,
15329,
3639,
766,
18,
6208,
12,
12483,
16,
315,
3061,
3224,
1068,
1199,
1769,
3639,
2252,
18,
1594,
18,
5108,
2289,
14... |
else if(filename.endsWith(".txt")) | else if(resource.endsWith(".txt")) | public String getHeaderField(String name) { if(name.equals("content-type")) { String filename = getURL().getFile().toLowerCase(); if(filename.endsWith(".html")) return "text/html"; else if(filename.endsWith(".txt")) return "text/plain"; else if(filename.endsWith(".rtf")) return "text/rtf"; else if... | 6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/817695ca09c63287de3c8c7bbbd6eec0c7a1b7ef/PluginResURLConnection.java/buggy/org/gjt/sp/jedit/proto/jeditresource/PluginResURLConnection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
514,
7911,
974,
12,
780,
508,
13,
202,
95,
202,
202,
430,
12,
529,
18,
14963,
2932,
1745,
17,
723,
6,
3719,
202,
202,
95,
1082,
202,
780,
1544,
273,
19341,
7675,
29925,
7675... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7911,
974,
12,
780,
508,
13,
202,
95,
202,
202,
430,
12,
529,
18,
14963,
2932,
1745,
17,
723,
6,
3719,
202,
202,
95,
1082,
202,
780,
1544,
273,
19341,
7675,
29925,
7675... |
lastBuffer = (int[]) bufferArrayList.get(bufferArrayList.size() - 1); | lastBufferIndex = Math.min((size>>n), bufferArrayList.size() - 1); lastBuffer = (int[]) bufferArrayList.get(lastBufferIndex); | public void store(int[] input){ if (input == null) { throw new IllegalArgumentException("context buffer can't store a null pointer"); } //if (input.length != incSize) { // throw a derivative of runtime exceptions // throw new NavException("Store: Input size doesn't match increment size"); ... | 3680 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3680/fc6cb827d39a1cb1eb0eb6a6350aeb243a435880/ContextBuffer.java/clean/com/ximpleware/ContextBuffer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
1707,
12,
474,
8526,
810,
15329,
565,
309,
261,
2630,
422,
446,
13,
288,
3639,
604,
394,
2754,
2932,
2472,
1613,
848,
1404,
1707,
279,
446,
4407,
8863,
565,
289,
565,
368,
430,
26... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
918,
1707,
12,
474,
8526,
810,
15329,
565,
309,
261,
2630,
422,
446,
13,
288,
3639,
604,
394,
2754,
2932,
2472,
1613,
848,
1404,
1707,
279,
446,
4407,
8863,
565,
289,
565,
368,
430,
26... |
public final int getMonth() { return get(Calendar.MONTH); } | public final int getMonth( ) { return get( Calendar.MONTH ); } | public final int getMonth() { return get(Calendar.MONTH); } | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/bdab78403751f288b76844a99f50b999c34fb491/CDateTime.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/util/CDateTime.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
509,
19627,
1435,
565,
288,
3639,
327,
336,
12,
7335,
18,
13942,
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,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
509,
19627,
1435,
565,
288,
3639,
327,
336,
12,
7335,
18,
13942,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
if (status != null) | if (status != null) { | public boolean desiredAssertionStatus() { ClassLoader c = getClassLoader(); Object status; if (c == null) return VMClassLoader.defaultAssertionStatus(); if (c.classAssertionStatus != null) synchronized (c) { status = c.classAssertionStatus.get(getName... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f04abefd7ae06ec51e8f4cbc12f3512d60f9391d/Class.java/clean/core/src/classpath/vm/java/lang/Class.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
6049,
14979,
1482,
1435,
288,
3639,
9403,
276,
273,
14352,
5621,
3639,
1033,
1267,
31,
3639,
309,
261,
71,
422,
446,
13,
5411,
327,
8251,
7805,
18,
1886,
14979,
1482,
5621,
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,
1071,
1250,
6049,
14979,
1482,
1435,
288,
3639,
9403,
276,
273,
14352,
5621,
3639,
1033,
1267,
31,
3639,
309,
261,
71,
422,
446,
13,
5411,
327,
8251,
7805,
18,
1886,
14979,
1482,
5621,
36... |
new Object[] { triggerSequence.format() })); | new Object[] { keySequence.format() })); | protected Control createButtonBar(Composite parent) { // Create a composite for the button bar contents. final Composite composite = new Composite(parent, SWT.NONE); composite.setLayout(new GridLayout()); composite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); composite.setBackground(parent.getBackground... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/419e3fe3a65aaac0eb4f974d711712853ff084e6/KeyAssistDialog.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/keys/KeyAssistDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
8888,
752,
3616,
5190,
12,
9400,
982,
13,
288,
202,
202,
759,
1788,
279,
9635,
364,
326,
3568,
4653,
2939,
18,
202,
202,
6385,
14728,
9635,
273,
394,
14728,
12,
2938,
16,
348... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
8888,
752,
3616,
5190,
12,
9400,
982,
13,
288,
202,
202,
759,
1788,
279,
9635,
364,
326,
3568,
4653,
2939,
18,
202,
202,
6385,
14728,
9635,
273,
394,
14728,
12,
2938,
16,
348... |
public int CMO_Lookback( int optInTimePeriod ){ int retValue; retValue = optInTimePeriod + (this.unstablePeriod[TA_FuncUnstId.TA_FUNC_UNST_CMO.ordinal()]) ; if( (this.compatibility) == TA_Compatibility. TA_COMPATIBILITY_METASTOCK ) retValue--; return retValue;} | 7231 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7231/1bccb7a13486c61b10e8ebdf0c938797539a3f3d/Core.java/clean/ta-lib/java/src/TA/Lib/Core.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
474,
39,
5980,
67,
9794,
823,
12,
474,
3838,
382,
26540,
15329,
474,
1349,
620,
31,
1349,
620,
33,
3838,
382,
26540,
15,
12,
2211,
18,
318,
15021,
5027,
63,
9833,
67,
2622,
984,
334,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
474,
39,
5980,
67,
9794,
823,
12,
474,
3838,
382,
26540,
15329,
474,
1349,
620,
31,
1349,
620,
33,
3838,
382,
26540,
15,
12,
2211,
18,
318,
15021,
5027,
63,
9833,
67,
2622,
984,
334,
... | ||
if (file.createNewFile()) return new FileOutputStream(path, append); | if (!file.exists () || append) { FileOutputStream fout = new FileOutputStream (file, append); if (logFiles.isEmpty ()) logFiles.addFirst (path); return new ostr (fout); } | private static java.io.OutputStream createFileStream(String pattern, int limit, int count, boolean append, int generation) { String path; int unique = 0; /* Throws a SecurityException if the caller does not have * LoggingPermission("control"). */ ... | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/11aafc23ec4e191f57d02c34f8e6bfeb90bed5a2/FileHandler.java/buggy/core/src/classpath/java/java/util/logging/FileHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
2252,
18,
1594,
18,
4632,
21266,
1228,
12,
780,
1936,
16,
6862,
1082,
4202,
509,
1800,
16,
6862,
1082,
4202,
509,
1056,
16,
6862,
1082,
4202,
1250,
714,
16,
6862,
1082,
4202,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
760,
2252,
18,
1594,
18,
4632,
21266,
1228,
12,
780,
1936,
16,
6862,
1082,
4202,
509,
1800,
16,
6862,
1082,
4202,
509,
1056,
16,
6862,
1082,
4202,
1250,
714,
16,
6862,
1082,
4202,
... |
{ save(); doHyperSearch(); } | ok(); | public void actionPerformed(ActionEvent evt) { Object source = evt.getSource(); if(source == close) dispose(); else if(source == findBtn || source == find) { save(); doHyperSearch(); } else if(source == multifileBtn) { showMultiFileDialog(); } else if(source == multifile) { if(mult... | 6564 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6564/8240f4c4a60fb5631e119032d95c53c93ecbb82f/HyperSearch.java/clean/org/gjt/sp/jedit/gui/HyperSearch.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3196,
202,
482,
918,
26100,
12,
1803,
1133,
6324,
13,
202,
202,
95,
1082,
202,
921,
1084,
273,
6324,
18,
588,
1830,
5621,
1082,
202,
430,
12,
3168,
422,
1746,
13,
9506,
202,
2251,
4150,
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,
3196,
202,
482,
918,
26100,
12,
1803,
1133,
6324,
13,
202,
202,
95,
1082,
202,
921,
1084,
273,
6324,
18,
588,
1830,
5621,
1082,
202,
430,
12,
3168,
422,
1746,
13,
9506,
202,
2251,
4150,
5621... |
throw cx.reportRuntimeError0("msg.bad.uri"); | throw Context.reportRuntimeError0("msg.bad.uri"); | private static String encode(Context cx, String str, boolean fullUri) { byte[] utf8buf = null; StringBuffer sb = null; for (int k = 0, length = str.length(); k != length; ++k) { char C = str.charAt(k); if (encodeUnescaped(C, fullUri)) { if (sb != null) { ... | 19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/0b056816ae240bd12d40a9a4926520fc5cf9299b/NativeGlobal.java/clean/src/org/mozilla/javascript/NativeGlobal.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
514,
2017,
12,
1042,
9494,
16,
514,
609,
16,
1250,
1983,
3006,
13,
288,
3639,
1160,
8526,
7718,
28,
4385,
273,
446,
31,
3639,
6674,
2393,
273,
446,
31,
3639,
364,
261,
474,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
514,
2017,
12,
1042,
9494,
16,
514,
609,
16,
1250,
1983,
3006,
13,
288,
3639,
1160,
8526,
7718,
28,
4385,
273,
446,
31,
3639,
6674,
2393,
273,
446,
31,
3639,
364,
261,
474,
... |
pn = nf.createBinary(tt, pn, mulExpr(ts, source)); | pn = nf.createBinary(tt, pn, mulExpr(ts)); | private Object addExpr(TokenStream ts, Source source) throws IOException, JavaScriptException { int tt; Object pn = mulExpr(ts, source); while ((tt = ts.getToken()) == ts.ADD || tt == ts.SUB) { source.append((char)tt); // flushNewLines pn = nf.createBi... | 12904 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12904/cb763059f39a0f44e8695140a747f151637d1ad8/Parser.java/buggy/js/rhino/src/org/mozilla/javascript/Parser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1033,
527,
4742,
12,
1345,
1228,
3742,
16,
4998,
1084,
13,
3639,
1216,
1860,
16,
11905,
503,
565,
288,
3639,
509,
3574,
31,
3639,
1033,
11059,
273,
14064,
4742,
12,
3428,
16,
1084,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1033,
527,
4742,
12,
1345,
1228,
3742,
16,
4998,
1084,
13,
3639,
1216,
1860,
16,
11905,
503,
565,
288,
3639,
509,
3574,
31,
3639,
1033,
11059,
273,
14064,
4742,
12,
3428,
16,
1084,
... |
public Library read( DesignSession session, String fileName, InputStream inputStream ) throws DesignFileException | public Library read( DesignSession session, Module host, String fileName, String namespace, InputStream inputStream, ModuleOption options ) throws DesignFileException | public Library read( DesignSession session, String fileName, InputStream inputStream ) throws DesignFileException { URL systemId = URIUtil.getDirectory( fileName ); LibraryParserHandler handler = new LibraryParserHandler( session, null, systemId, fileName ); return (Library) readModule( handler, inputStream ); } | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/21c70f47c2840b52107289eb0dfc883e4f4d2420/LibraryReader.java/buggy/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/parser/LibraryReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
18694,
855,
12,
29703,
2157,
1339,
16,
514,
3968,
16,
1082,
202,
4348,
10010,
262,
1216,
29703,
812,
503,
202,
95,
202,
202,
1785,
30083,
273,
3699,
1304,
18,
588,
2853,
12,
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,
18694,
855,
12,
29703,
2157,
1339,
16,
514,
3968,
16,
1082,
202,
4348,
10010,
262,
1216,
29703,
812,
503,
202,
95,
202,
202,
1785,
30083,
273,
3699,
1304,
18,
588,
2853,
12,
3... |
paintBoundingBox(minmaxReactants, "Reactants", 10, graphics); paintMolecule(reactantContainer, graphics); | public void paintReaction(Reaction reaction, Graphics graphics) { // paint reactants content AtomContainer reactantContainer = new AtomContainer(); Molecule[] reactants = reaction.getReactants(); for (int i=0; i<reactants.length; i++) { reactantContainer.add(reactants[i]); ... | 46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/f736ba4e7655efeb99a8433c5e9cadb509eaa4e5/Renderer2D.java/clean/src/org/openscience/cdk/renderer/Renderer2D.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
12574,
21581,
12,
21581,
12836,
16,
16830,
17313,
13,
288,
3639,
368,
12574,
13417,
4388,
913,
3639,
7149,
2170,
13417,
970,
2170,
273,
394,
7149,
2170,
5621,
3639,
490,
10545,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
12574,
21581,
12,
21581,
12836,
16,
16830,
17313,
13,
288,
3639,
368,
12574,
13417,
4388,
913,
3639,
7149,
2170,
13417,
970,
2170,
273,
394,
7149,
2170,
5621,
3639,
490,
10545,
8... | |
if ( value == null ) return null; String retValue = validateExtendedChoicesByName( value ); return retValue == null ? getType( ).toNumber( module, value ) : null; | return getType( ).toNumber( module, value ); | public BigDecimal getNumberValue( Module module, Object value ) { if ( value == null ) return null; String retValue = validateExtendedChoicesByName( value ); return retValue == null ? getType( ).toNumber( module, value ) : null; } | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/e7114ad5bbd4556bfe90ad8fef8d73f7007b3bbf/PropertyDefn.java/clean/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/metadata/PropertyDefn.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
8150,
18491,
620,
12,
5924,
1605,
16,
1033,
460,
262,
202,
95,
202,
202,
430,
261,
460,
422,
446,
262,
1082,
202,
2463,
446,
31,
202,
202,
780,
21236,
273,
1954,
11456,
17442,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8150,
18491,
620,
12,
5924,
1605,
16,
1033,
460,
262,
202,
95,
202,
202,
430,
261,
460,
422,
446,
262,
1082,
202,
2463,
446,
31,
202,
202,
780,
21236,
273,
1954,
11456,
17442,... |
protected ServerMessage renderUpdate(Connection conn, Document clientMessageDocument) { ServerMessage serverMessage = new ServerMessage(); RenderContext rc = new RenderContextImpl(conn, serverMessage); ContainerInstance ci = rc.getContainerInstance(); ApplicationInstance applicat... | 45635 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45635/0da3368e89eae38a4a3beb10ac87d5940ae859ae/ContainerSynchronizeService.java/buggy/src/webcontainer/java/nextapp/echo2/webcontainer/ContainerSynchronizeService.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
2081,
49,
403,
6817,
2345,
1891,
12,
1952,
4646,
16,
2519,
2625,
1079,
2519,
15329,
2081,
5058,
12330,
1079,
33,
2704,
2081,
1079,
5621,
3420,
660,
14523,
71,
33,
2704,
3420,
1042,
2828,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
2081,
49,
403,
6817,
2345,
1891,
12,
1952,
4646,
16,
2519,
2625,
1079,
2519,
15329,
2081,
5058,
12330,
1079,
33,
2704,
2081,
1079,
5621,
3420,
660,
14523,
71,
33,
2704,
3420,
1042,
2828,
... | ||
private NodeImpl doMergeTest(SessionImpl srcSession, boolean bestEffort) throws RepositoryException, AccessDeniedException { // If N does not have a corresponding node then the merge result for N is leave. NodeImpl srcNode = getCorrespondingNode(srcSession); if (srcNode == null) { ... | 49304 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49304/1ba42cc4d993c9d04b8b7a2f3c63dd57b8c86b1d/NodeImpl.java/buggy/src/java/org/apache/jackrabbit/core/NodeImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
2029,
2828,
741,
6786,
4709,
12,
2157,
2828,
1705,
2157,
16,
1250,
3796,
41,
1403,
499,
13,
5411,
1216,
13367,
16,
21665,
288,
3639,
368,
971,
423,
1552,
486,
1240,
279,
4656,
756,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2029,
2828,
741,
6786,
4709,
12,
2157,
2828,
1705,
2157,
16,
1250,
3796,
41,
1403,
499,
13,
5411,
1216,
13367,
16,
21665,
288,
3639,
368,
971,
423,
1552,
486,
1240,
279,
4656,
756,
... | ||
FilteringXmlMessageSplitter splitter = new FilteringXmlMessageSplitter(); | RoundRobinXmlSplitter splitter = new RoundRobinXmlSplitter(); | public void testInvalidXmlPayloadThrowsException() throws Exception { Mock session = MuleTestUtils.getMockSession(); FilteringXmlMessageSplitter splitter = new FilteringXmlMessageSplitter(); UMOMessage message = new MuleMessage("This is not XML."); try { splitter.route(message... | 2370 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2370/65d774ee765ef057132d52265e50a7593c393b0c/RoundRobinXmlSplitterTestCase.java/buggy/src/test/java/org/mule/test/routing/outbound/RoundRobinXmlSplitterTestCase.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
1941,
4432,
6110,
21845,
503,
1435,
1216,
1185,
288,
3639,
7867,
1339,
273,
490,
725,
4709,
1989,
18,
588,
9865,
2157,
5621,
3639,
11370,
14444,
267,
4432,
26738,
21553,
27... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1941,
4432,
6110,
21845,
503,
1435,
1216,
1185,
288,
3639,
7867,
1339,
273,
490,
725,
4709,
1989,
18,
588,
9865,
2157,
5621,
3639,
11370,
14444,
267,
4432,
26738,
21553,
27... |
int year = 1970 + (gregorian | int year = 1970 + (int)(gregorian | private void calculateDay(int day, boolean gregorian) { // the epoch is a Thursday. int weekday = (day + THURSDAY) % 7; if (weekday <= 0) weekday += 7; fields[DAY_OF_WEEK] = weekday; // get a first approximation of the year. This may be one // year to big. int year = 1970 + (gregorian ? ((day - ... | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/61b8e27fab61a8487622d1793b61aa19c130c7ab/GregorianCalendar.java/clean/core/src/classpath/java/java/util/GregorianCalendar.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
4604,
4245,
12,
474,
2548,
16,
1250,
314,
14510,
13,
225,
288,
202,
202,
759,
326,
7632,
353,
279,
935,
25152,
2881,
18,
202,
202,
474,
7560,
273,
261,
2881,
397,
7662,
1099,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
4604,
4245,
12,
474,
2548,
16,
1250,
314,
14510,
13,
225,
288,
202,
202,
759,
326,
7632,
353,
279,
935,
25152,
2881,
18,
202,
202,
474,
7560,
273,
261,
2881,
397,
7662,
1099,... |
ISVNLocalResource svnResource = SVNWorkspaceRoot.getSVNResourceFor(resources[i]); svnResource.revert(); resources[i].refreshLocal(IResource.DEPTH_INFINITE, monitor); | ISVNLocalResource svnResource = SVNWorkspaceRoot.getSVNResourceFor(resources[i]); svnResource.revert(); if (resources[i].getType() == IResource.FILE) { resources[i].getParent().refreshLocal(IResource.DEPTH_ONE, monitor); } else { resources[i].refreshLocal(IResource.DEPTH_INFINITE, monitor); } | public void execute(IProgressMonitor monitor) throws InvocationTargetException { IResource[] resources = getSelectedResources(); try { for (int i = 0; i < resources.length; i++) { ISVNLocalResource svnResource = SVNWorkspaceRoot.getSVNResourceFor(resources[i]); ... | 6016 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6016/098684e165c72701c1f5273a418e85a236ae7c2f/RevertAction.java/buggy/ui/src/org/tigris/subversion/subclipse/ui/actions/RevertAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
1836,
12,
45,
5491,
7187,
6438,
13,
1216,
15342,
288,
9506,
202,
45,
1420,
8526,
2703,
273,
16625,
3805,
5621,
6862,
9506,
202,
698,
288,
6862,
202,
1884,
261,
474,
277,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1875,
202,
482,
918,
1836,
12,
45,
5491,
7187,
6438,
13,
1216,
15342,
288,
9506,
202,
45,
1420,
8526,
2703,
273,
16625,
3805,
5621,
6862,
9506,
202,
698,
288,
6862,
202,
1884,
261,
474,
277,
... |
return fact == null; | return fact == null; | boolean isVirtual() { return fact == null; } | 4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/b5b5168edc3af09cb74945a80b0c36e6630ed502/RolapCube.java/clean/src/main/mondrian/rolap/RolapCube.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1250,
353,
6466,
1435,
288,
202,
202,
2463,
5410,
422,
446,
31,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1250,
353,
6466,
1435,
288,
202,
202,
2463,
5410,
422,
446,
31,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
System.out.println("oldkey="+oldKey+" newkey="+newKey); | log.debug("oldkey="+oldKey+" newkey="+newKey); | public void loadXMLFile(File file) { if (file == null) { throw new IllegalArgumentException("Cannot parse XML file because file is null."); } long start = System.currentTimeMillis(); // Document doc = XMLTest.parseGedcom(file); Document newDoc = XMLTest.docParsedWithKay(file); Element root = newDoc.getRoo... | 6190 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6190/d2d582edadf33a1929a11fbc1f96b47d2e22a65f/MacPAFDocumentJDOM.java/clean/MacPAF/src/com/redbugz/macpaf/jdom/MacPAFDocumentJDOM.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1262,
4201,
812,
12,
812,
585,
13,
288,
202,
202,
430,
261,
768,
422,
446,
13,
288,
1082,
202,
12849,
394,
2754,
2932,
4515,
1109,
3167,
585,
2724,
585,
353,
446,
1199,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1262,
4201,
812,
12,
812,
585,
13,
288,
202,
202,
430,
261,
768,
422,
446,
13,
288,
1082,
202,
12849,
394,
2754,
2932,
4515,
1109,
3167,
585,
2724,
585,
353,
446,
1199,
... |
public int doStartTag() throws JspException { list = new Vector(); if (!beanId.equals("")) { panelBean = (PanelBean)pageContext.getSession().getAttribute(getBeanKey()); if (panelBean != null) { return SKIP_BODY; } else { panelBean = new Pa... | 49343 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49343/a68a3484a5f14c46bcce87dedf434471235ecbda/PanelTag.java/clean/src/org/gridlab/gridsphere/tags/portletui/PanelTag.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
741,
30512,
1435,
1216,
27485,
288,
565,
666,
273,
394,
5589,
5621,
565,
309,
16051,
14496,
548,
18,
14963,
2932,
6,
3719,
288,
1377,
6594,
3381,
273,
261,
5537,
3381,
13,
2433... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
741,
30512,
1435,
1216,
27485,
288,
565,
666,
273,
394,
5589,
5621,
565,
309,
16051,
14496,
548,
18,
14963,
2932,
6,
3719,
288,
1377,
6594,
3381,
273,
261,
5537,
3381,
13,
2433... | ||
loc.y = tp.titlePanel.getHeight() + loc.y; jScr.getViewport().setViewPosition(loc); | JViewport jView = jScr.getViewport(); if(jView.getExtentSize().getHeight() < jView.getViewSize().getHeight()) jScr.getViewport().setViewPosition(loc); | public void actionPerformed(ActionEvent e) { if (e.getSource() instanceof GotoEditor.TableButton) { GotoEditor.TableButton tb = (GotoEditor.TableButton) e.getSource(); JTable jt = tb.table; TableModel model = jt.getModel(); Object obj = model.getValueAt(tb.whichRow, 1); if (o... | 55415 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55415/4e8c51412960105742cf467893740a131c71ec23/MetadataPane.java/clean/loci/ome/notebook/MetadataPane.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
26100,
12,
1803,
1133,
425,
13,
288,
1377,
309,
261,
73,
18,
588,
1830,
1435,
1276,
611,
6302,
6946,
18,
1388,
3616,
13,
288,
3639,
611,
6302,
6946,
18,
1388,
3616,
8739,
273... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
26100,
12,
1803,
1133,
425,
13,
288,
1377,
309,
261,
73,
18,
588,
1830,
1435,
1276,
611,
6302,
6946,
18,
1388,
3616,
13,
288,
3639,
611,
6302,
6946,
18,
1388,
3616,
8739,
273... |
if (value instanceof SeqPosition || value instanceof TreeList) return true; | public static boolean booleanValue(Object value) { if (value instanceof Boolean) return ((Boolean) value).booleanValue(); if (value instanceof SeqPosition) return true; if (value instanceof Values) { Values values = (Values) value; value = values.getPosNext(0); if (value == Sequence.eofValue)... | 36870 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/36870/a18fe92e778868701a6bf82f741993a5ec327195/BooleanValue.java/buggy/gnu/xquery/util/BooleanValue.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
1250,
16708,
12,
921,
460,
13,
225,
288,
565,
309,
261,
1132,
1276,
3411,
13,
1377,
327,
14015,
5507,
13,
460,
2934,
6494,
620,
5621,
565,
309,
261,
1132,
1276,
14367,
2555,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1250,
16708,
12,
921,
460,
13,
225,
288,
565,
309,
261,
1132,
1276,
3411,
13,
1377,
327,
14015,
5507,
13,
460,
2934,
6494,
620,
5621,
565,
309,
261,
1132,
1276,
14367,
2555,
... | |
sskInsertStarter = new RequestStarter(core, sskInsertThrottle, "SSK Insert starter ("+portNumber+")", node.requestOutputThrottle, node.requestInputThrottle, node.localSskInsertBytesSentAverage, node.localSskFetchBytesReceivedAverage, true); | sskInsertStarter = new RequestStarter(core, sskInsertThrottle, "SSK Insert starter ("+portNumber+ ')', node.requestOutputThrottle, node.requestInputThrottle, node.localSskInsertBytesSentAverage, node.localSskFetchBytesReceivedAverage, true); | RequestStarterGroup(Node node, NodeClientCore core, int portNumber, RandomSource random, Config config, SimpleFieldSet fs) { SubConfig schedulerConfig = new SubConfig("node.scheduler", config); throttleWindow = new ThrottleWindowManager(2.0, fs == null ? null : fs.subset("ThrottleWindow")); chkRequestThrottle = n... | 52909 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52909/62fd59041864b4ed1f43adc676de6bfb5ea977f3/RequestStarterGroup.java/clean/src/freenet/node/RequestStarterGroup.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
691,
510,
14153,
1114,
12,
907,
756,
16,
2029,
1227,
4670,
2922,
16,
509,
1756,
1854,
16,
8072,
1830,
2744,
16,
1903,
642,
16,
4477,
974,
694,
2662,
13,
288,
202,
202,
1676,
809,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
691,
510,
14153,
1114,
12,
907,
756,
16,
2029,
1227,
4670,
2922,
16,
509,
1756,
1854,
16,
8072,
1830,
2744,
16,
1903,
642,
16,
4477,
974,
694,
2662,
13,
288,
202,
202,
1676,
809,
... |
if (classFileName != null) { | if (classFileName != null) { | public void removeGeneratedClassFiles() { try { String classFileName = ctxt.getClassFileName(); if (classFileName != null) { File classFile = new File(classFileName); if( log.isDebugEnabled() ) log.debug( "Deleting " + classFile ); ... | 7284 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7284/ea5857c4cef1cb29975e7fa24489265ce454d3f3/Compiler.java/buggy/displaytag/src/test/java/org/apache/jasper/compiler/Compiler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1206,
7823,
797,
2697,
1435,
288,
3639,
775,
288,
5411,
514,
667,
4771,
273,
14286,
18,
588,
797,
4771,
5621,
5411,
309,
261,
1106,
4771,
480,
446,
13,
288,
7734,
1387,
29728,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1206,
7823,
797,
2697,
1435,
288,
3639,
775,
288,
5411,
514,
667,
4771,
273,
14286,
18,
588,
797,
4771,
5621,
5411,
309,
261,
1106,
4771,
480,
446,
13,
288,
7734,
1387,
29728,
... |
setEnabled(false); if (selection == null || selection.isEmpty()) { return; } for (Iterator iterator = selection.iterator(); iterator.hasNext();) { Object obj = iterator.next(); if (!(obj instanceof IMarker)) { return; } IMarker marker = (IMarker) obj; if (!marker.getAttribute(IMarker.USER_EDITABLE, true)) { return; } i... | setEnabled(false); if (selection == null || selection.isEmpty()) { return; } for (Iterator iterator = selection.iterator(); iterator.hasNext();) { Object obj = iterator.next(); if (!(obj instanceof ConcreteMarker)) { return; } IMarker marker = ((ConcreteMarker) obj).getMarker(); if (!marker.getAttribute(IMarker.USER_ED... | public void selectionChanged(IStructuredSelection selection) { setEnabled(false); if (selection == null || selection.isEmpty()) { return; } for (Iterator iterator = selection.iterator(); iterator.hasNext();) { Object obj = iterator.next(); if (!(obj insta... | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/cd30df30dfb88f9bda2fa203f31e3dd26ff697b7/ActionMarkCompleted.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/ActionMarkCompleted.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4421,
5033,
12,
45,
30733,
6233,
4421,
13,
288,
3639,
12888,
12,
5743,
1769,
3639,
309,
261,
10705,
422,
446,
747,
4421,
18,
291,
1921,
10756,
288,
5411,
327,
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,
918,
4421,
5033,
12,
45,
30733,
6233,
4421,
13,
288,
3639,
12888,
12,
5743,
1769,
3639,
309,
261,
10705,
422,
446,
747,
4421,
18,
291,
1921,
10756,
288,
5411,
327,
31,
3639,
289,
... |
public PreferenceImportExportWizard(final boolean exportWizard, FilteredPreferenceDialog parentDialog) { | public PreferenceImportExportWizard(final boolean exportWizard, FilteredPreferenceDialog parentDialog) { | public PreferenceImportExportWizard(final boolean exportWizard, FilteredPreferenceDialog parentDialog) { super(); export = exportWizard; parent = parentDialog; if (exportWizard) { setWindowTitle(WorkbenchMessages.getString("ImportExportPages.exportWindowTitle")); //$NON-NLS-1$ } else { setWindowTitle(Work... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/3c63964b69c8784aa8b834145ebb9177bab4d07e/PreferenceImportExportWizard.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/PreferenceImportExportWizard.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
29125,
5010,
6144,
27130,
12,
6385,
1250,
3359,
27130,
16,
4008,
329,
9624,
6353,
982,
6353,
13,
288,
202,
202,
9565,
5621,
9506,
202,
6530,
273,
3359,
27130,
31,
202,
202,
2938... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
29125,
5010,
6144,
27130,
12,
6385,
1250,
3359,
27130,
16,
4008,
329,
9624,
6353,
982,
6353,
13,
288,
202,
202,
9565,
5621,
9506,
202,
6530,
273,
3359,
27130,
31,
202,
202,
2938... |
loadProps(jEdit.class.getResourceAsStream( "/org/gjt/sp/jedit/jedit.props"),true); loadProps(jEdit.class.getResourceAsStream( "/org/gjt/sp/jedit/jedit_gui.props"),true); loadProps(jEdit.class.getResourceAsStream( "/org/gjt/sp/jedit/jedit_keys.props"),true); | propMgr.loadSystemProps(jEdit.class.getResourceAsStream( "/org/gjt/sp/jedit/jedit.props")); propMgr.loadSystemProps(jEdit.class.getResourceAsStream( "/org/gjt/sp/jedit/jedit_gui.props")); propMgr.loadSystemProps(jEdit.class.getResourceAsStream( "/org/gjt/sp/jedit/jedit_keys.props")); | private static void initSystemProperties() { defaultProps = props = new Properties(); try { loadProps(jEdit.class.getResourceAsStream( "/org/gjt/sp/jedit/jedit.props"),true); loadProps(jEdit.class.getResourceAsStream( "/org/gjt/sp/jedit/jedit_gui.props"),true); loadProps(jEdit.class.getResourceAsStream(... | 8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/b88cef14727ce754b8f7fa074ea3b0e456be0b54/jEdit.java/clean/org/gjt/sp/jedit/jEdit.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
918,
1208,
3163,
2297,
1435,
202,
95,
202,
202,
1886,
5047,
273,
3458,
273,
394,
6183,
5621,
202,
202,
698,
202,
202,
95,
1082,
202,
945,
5047,
12,
78,
4666,
18,
1106,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
918,
1208,
3163,
2297,
1435,
202,
95,
202,
202,
1886,
5047,
273,
3458,
273,
394,
6183,
5621,
202,
202,
698,
202,
202,
95,
1082,
202,
945,
5047,
12,
78,
4666,
18,
1106,
... |
UMLComboBox2 source = (UMLComboBox2)e.getSource(); | UMLComboBox2 source = (UMLComboBox2) e.getSource(); | public void actionPerformed(ActionEvent e) { super.actionPerformed(e); Object selected = null; if (e.getSource() instanceof UMLComboBox2) { UMLComboBox2 source = (UMLComboBox2)e.getSource(); selected = source.getSelectedItem(); if (selected instanceof MAssociati... | 7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/ActionSetAssociationRoleBase.java/clean/src_new/org/argouml/uml/ui/behavior/collaborations/ActionSetAssociationRoleBase.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
26100,
12,
1803,
1133,
425,
13,
288,
3639,
2240,
18,
1128,
13889,
12,
73,
1769,
3639,
1033,
3170,
273,
446,
31,
3639,
309,
261,
73,
18,
588,
1830,
1435,
1276,
587,
1495,
2219... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
26100,
12,
1803,
1133,
425,
13,
288,
3639,
2240,
18,
1128,
13889,
12,
73,
1769,
3639,
1033,
3170,
273,
446,
31,
3639,
309,
261,
73,
18,
588,
1830,
1435,
1276,
587,
1495,
2219... |
protected Properties loadProperties(String propertyFilename) { | protected synchronized Properties loadProperties(String propertyFilename) { | protected Properties loadProperties(String propertyFilename) { Properties properties = new Properties(); try { properties.load(getClass().getClassLoader().getResourceAsStream(propertyFilename)); } catch (NullPointerException exc) { if (A_OpenCms.isLogging() && I_CmsLogChan... | 51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/13800bc9901ef233804cde14a40105c18bf67203/CmsSqlManager.java/buggy/src/org/opencms/db/generic/CmsSqlManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
3852,
6183,
1262,
2297,
12,
780,
1272,
5359,
13,
288,
3639,
6183,
1790,
273,
394,
6183,
5621,
3639,
775,
288,
5411,
1790,
18,
945,
12,
588,
797,
7675,
588,
7805,
7675,
588,
1420,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3852,
6183,
1262,
2297,
12,
780,
1272,
5359,
13,
288,
3639,
6183,
1790,
273,
394,
6183,
5621,
3639,
775,
288,
5411,
1790,
18,
945,
12,
588,
797,
7675,
588,
7805,
7675,
588,
1420,
... |
public static Icon getMenuArrowIcon() { return new Icon() { public int getIconHeight() { return 12; } public int getIconWidth() { return 12; } public void paintIcon(Component c, Graphics g, int x, int y) { g.translate(x, y); Color saved = g.getColor(); g.setColor(Color.BLACK); g.fillPolygon(new P... | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/563d61706c08a9c62b0e997a1e5a45e90d1e8cd7/BasicIconFactory.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicIconFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
3845,
5554,
588,
4599,
18691,
5554,
1435,
95,
2463,
2704,
5554,
1435,
95,
202,
482,
474,
588,
5554,
2686,
1435,
202,
95,
202,
2463,
2138,
31,
202,
97,
202,
482,
474,
588,
5554,
2384,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
3845,
5554,
588,
4599,
18691,
5554,
1435,
95,
2463,
2704,
5554,
1435,
95,
202,
482,
474,
588,
5554,
2686,
1435,
202,
95,
202,
2463,
2138,
31,
202,
97,
202,
482,
474,
588,
5554,
2384,
1... | ||
this.jarFile = ((PluginDescriptorModel)descr).getJarFile(); | this.jarFile = ((PluginDescriptorModel) descr).getJarFile(); | public void connect() throws IOException { try { final PluginManager pluginMgr = (PluginManager) InitialNaming.lookup(PluginManager.NAME); final PluginDescriptor descr = pluginMgr.getRegistry().getPluginDescriptor(pluginId); if (descr == null) { throw new IOException("Plugin " + pluginId + " not found"); }... | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/964b69e3c5d0861662f58b7bf2c24e2388ca0247/PluginURLConnection.java/clean/core/src/core/org/jnode/protocol/plugin/PluginURLConnection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3077,
1435,
1216,
1860,
288,
202,
202,
698,
288,
1082,
202,
6385,
6258,
1318,
1909,
9455,
273,
261,
3773,
1318,
13,
10188,
24102,
18,
8664,
12,
3773,
1318,
18,
1985,
1769,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3077,
1435,
1216,
1860,
288,
202,
202,
698,
288,
1082,
202,
6385,
6258,
1318,
1909,
9455,
273,
261,
3773,
1318,
13,
10188,
24102,
18,
8664,
12,
3773,
1318,
18,
1985,
1769,
... |
ClassType type = repos.classTypeFromDottedClassName("com.foobar.MyClass"); Assert.assertEquals(type.getSignature(), "Lcom/foobar/MyClass;"); Assert.assertEquals(type.getClassName(), "com.foobar.MyClass"); | ClassType myClassType = repos.classTypeFromDottedClassName("com.foobar.MyClass"); Assert.assertEquals(myClassType.getSignature(), "Lcom/foobar/MyClass;"); Assert.assertEquals(myClassType.getClassName(), "com.foobar.MyClass"); | public void testClassFromDottedClassName() { ClassType type = repos.classTypeFromDottedClassName("com.foobar.MyClass"); Assert.assertEquals(type.getSignature(), "Lcom/foobar/MyClass;"); Assert.assertEquals(type.getClassName(), "com.foobar.MyClass"); } | 10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/b79bf01f0dde3c9532dc4d65830e7f4e6c6ab92a/TypeRepositoryTest.java/buggy/findbugs/src/junit/edu/umd/cs/findbugs/ba/type/TypeRepositoryTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
797,
1265,
10412,
2344,
3834,
1435,
288,
202,
202,
18328,
618,
273,
13686,
18,
1106,
559,
1265,
10412,
2344,
3834,
2932,
832,
18,
617,
947,
297,
18,
12062,
797,
8863,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
797,
1265,
10412,
2344,
3834,
1435,
288,
202,
202,
18328,
618,
273,
13686,
18,
1106,
559,
1265,
10412,
2344,
3834,
2932,
832,
18,
617,
947,
297,
18,
12062,
797,
8863,... |
pageId, element, keywordReferences); | pageId, element); | private void processPageElement(IConfigurationElement element) { String pageId = element.getAttribute(ATT_ID); String pageClassName = element.getAttribute(ATT_CLASS); String objectClassName = element.getAttribute(ATT_OBJECTCLASS); Collection keywordReferences = readKeywordReferences(element... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/ae3e100ae6878a705a77e44dd4224a8c8afb3d99/PropertyPagesRegistryReader.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/registry/PropertyPagesRegistryReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1207,
1964,
1046,
12,
45,
1750,
1046,
930,
13,
288,
377,
202,
780,
18720,
273,
930,
18,
588,
1499,
12,
789,
56,
67,
734,
1769,
3639,
514,
1363,
3834,
273,
930,
18,
588,
149... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1964,
1046,
12,
45,
1750,
1046,
930,
13,
288,
377,
202,
780,
18720,
273,
930,
18,
588,
1499,
12,
789,
56,
67,
734,
1769,
3639,
514,
1363,
3834,
273,
930,
18,
588,
149... |
return myRootManager.getFileIndex().getModuleForFile(e.getFile()) == null; | return !myFileFilter.isFileAllowed(e.getFile()); | private void subscribeForFileChanges() { myFileListener = new VirtualFileAdapter() { @Override public void fileCreated(VirtualFileEvent e) { if (notForMe(e)) return; createFile(e.getFile()); } @Override public void contentsChanged(VirtualFileEvent e) { if (notForMe(e))... | 12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/df4e4df7f9848c9856eabd3e1f05b48377a55a5c/LocalVcsService.java/clean/LocalVcs/src/com/intellij/localvcs/integration/LocalVcsService.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
9129,
1290,
812,
7173,
1435,
288,
565,
3399,
812,
2223,
273,
394,
7269,
812,
4216,
1435,
288,
1377,
632,
6618,
1377,
1071,
918,
585,
6119,
12,
6466,
812,
1133,
425,
13,
288,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
9129,
1290,
812,
7173,
1435,
288,
565,
3399,
812,
2223,
273,
394,
7269,
812,
4216,
1435,
288,
1377,
632,
6618,
1377,
1071,
918,
585,
6119,
12,
6466,
812,
1133,
425,
13,
288,
... |
Record[] docChildren = _documentRecord.getChildRecords(); Record endDoc = docChildren[docChildren.length - 1]; if(endDoc.getRecordType() != RecordTypes.EndDocument.typeID) { throw new IllegalStateException("The last child record of a Document should be EndDocument, but it was " + endDoc); } _documentRecord.addChildBe... | _documentRecord.addSlideListWithText(slist); slwts = _documentRecord.getSlideListWithTexts(); | public Slide createSlide() throws IOException { SlideListWithText[] slwts = _documentRecord.getSlideListWithTexts(); SlideListWithText slist = null; if(slwts.length > 1) { // Just use the last one slist = slwts[slwts.length - 1]; } else { // Need to add a new one slist = new SlideList... | 509 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/509/72fd120c8ffe019c915bf4ff4a14b3770c451f60/SlideShow.java/buggy/src/scratchpad/src/org/apache/poi/hslf/usermodel/SlideShow.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
202,
482,
348,
8130,
752,
21068,
1435,
1216,
1860,
288,
21114,
202,
21068,
682,
1190,
1528,
8526,
2020,
91,
3428,
273,
389,
5457,
2115,
18,
588,
21068,
682,
1190,
30114,
5621,
21114,
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,
565,
202,
482,
348,
8130,
752,
21068,
1435,
1216,
1860,
288,
21114,
202,
21068,
682,
1190,
1528,
8526,
2020,
91,
3428,
273,
389,
5457,
2115,
18,
588,
21068,
682,
1190,
30114,
5621,
21114,
202,
... |
super(scanner, logService, parserMode, config .supportStatementsInExpressions(), config .supportTypeofUnaryExpressions(), config .supportAlignOfUnaryExpression(), config .supportKnRC(), config.supportGCCOtherBuiltinSymbols(), config.supportAttributeSpecifiers()); supportGCCStyleDesignators = config.supportGCCStyleDesig... | this(scanner, parserMode, logService, config, null); | public GNUCSourceParser(IScanner scanner, ParserMode parserMode, IParserLogService logService, ICParserExtensionConfiguration config) { super(scanner, logService, parserMode, config .supportStatementsInExpressions(), config .supportTypeofUnaryExpressions(), config ... | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/3c449d0ac8bb36e50dffe8d1445ca6a67ea14647/GNUCSourceParser.java/buggy/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/c/GNUCSourceParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
611,
50,
17479,
1830,
2678,
12,
45,
11338,
7683,
16,
6783,
2309,
2082,
2309,
16,
5411,
467,
2678,
1343,
1179,
613,
1179,
16,
26899,
2678,
3625,
1750,
642,
13,
288,
3639,
2240,
12,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
611,
50,
17479,
1830,
2678,
12,
45,
11338,
7683,
16,
6783,
2309,
2082,
2309,
16,
5411,
467,
2678,
1343,
1179,
613,
1179,
16,
26899,
2678,
3625,
1750,
642,
13,
288,
3639,
2240,
12,
... |
ListNodeUtil.addAll(list, (IListNode) yaccValue); | ListNodeUtil.addAll(list, (IListNode) yaccValue); | private int parseHereDocument(int closeQuote, boolean indent) { int c; ISourcePosition position = support.getPosition(); // int linesave = ruby.getSourceLine(); newtok(); switch (closeQuote) { case '\'' : case '"' : case '`' : while ((c = nextc()) != closeQuote) { tokadd(c); } if (closeQuote ==... | 45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/af104711597d4d5b2089320e2517b95b8df14492/RubyYaccLexer.java/buggy/org/jruby/lexer/yacc/RubyYaccLexer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
509,
1109,
26715,
2519,
12,
474,
1746,
10257,
16,
1250,
3504,
13,
288,
202,
202,
474,
276,
31,
202,
202,
45,
1830,
2555,
1754,
273,
2865,
18,
588,
2555,
5621,
202,
202,
759,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
509,
1109,
26715,
2519,
12,
474,
1746,
10257,
16,
1250,
3504,
13,
288,
202,
202,
474,
276,
31,
202,
202,
45,
1830,
2555,
1754,
273,
2865,
18,
588,
2555,
5621,
202,
202,
759,
... |
if (bp.getException() != null) throw bp.getException(); | if (bp.getException() != null) { throw bp.getException(); } | public String intercept(ActionInvocation actionInvocation) throws Exception { String name = actionInvocation.getProxy().getActionName(); Map session = actionInvocation.getInvocationContext().getSession(); synchronized (session) { BackgroundProcess bp = (BackgroundProcess) session.get... | 15560 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15560/bf1388d4cfff80fd0d1318371a87c510c66e8605/ExecuteAndWaitInterceptor.java/buggy/src/java/com/opensymphony/webwork/interceptor/ExecuteAndWaitInterceptor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
10883,
12,
1803,
9267,
1301,
9267,
13,
1216,
1185,
288,
3639,
514,
508,
273,
1301,
9267,
18,
588,
3886,
7675,
588,
31149,
5621,
3639,
1635,
1339,
273,
1301,
9267,
18,
588,
9267... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10883,
12,
1803,
9267,
1301,
9267,
13,
1216,
1185,
288,
3639,
514,
508,
273,
1301,
9267,
18,
588,
3886,
7675,
588,
31149,
5621,
3639,
1635,
1339,
273,
1301,
9267,
18,
588,
9267... |
for (Iterator<AbstractRepositoryTaskAttribute> it = bug.getAttributes().iterator(); it.hasNext();) { AbstractRepositoryTaskAttribute a = it.next(); | for (Iterator<RepositoryTaskAttribute> it = bug.getAttributes().iterator(); it.hasNext();) { RepositoryTaskAttribute a = it.next(); | public static BugzillaReportSubmitForm makeExistingBugPost(RepositoryReport bug, String repositoryUrl, String userName, String password, Proxy proxySettings, Set<String> removeCC, String characterEncoding) throws UnsupportedEncodingException { BugzillaReportSubmitForm bugReportPostHandler; if (characterEncoding ... | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/11ba991a7c176a0ea4c187e5f674932dc37851d1/BugzillaReportSubmitForm.java/clean/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaReportSubmitForm.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
16907,
15990,
4820,
11620,
1204,
1221,
9895,
19865,
3349,
12,
3305,
4820,
7934,
16,
514,
3352,
1489,
16,
1082,
202,
780,
12065,
16,
514,
2201,
16,
7659,
2889,
2628,
16,
100... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
16907,
15990,
4820,
11620,
1204,
1221,
9895,
19865,
3349,
12,
3305,
4820,
7934,
16,
514,
3352,
1489,
16,
1082,
202,
780,
12065,
16,
514,
2201,
16,
7659,
2889,
2628,
16,
100... |
public int compareTo(Object o) { LimitValue limitValue = (LimitValue)o; | public int compareTo(Object o) { LimitValue rhs = (LimitValue) o; Limit thisLimit = this.getLimit(); Limit rhsLimit = rhs.getLimit(); | public int compareTo(Object o) { LimitValue limitValue = (LimitValue)o; int comparison = this.getLimit().getDisplayOrder() - limitValue.getLimit().getDisplayOrder(); if (comparison == 0) { Choice choice0; Choice choice1; try { choice0 = this ... | 5235 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5235/e02758bc3031b56df1c2d4d3400ceca47f8b9e3c/LimitValue.java/clean/signet/src/edu/internet2/middleware/signet/LimitValue.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
9292,
12,
921,
320,
13,
288,
565,
7214,
620,
1800,
620,
273,
261,
3039,
620,
13,
83,
31,
3639,
509,
5826,
1377,
273,
333,
18,
588,
3039,
7675,
588,
4236,
2448,
1435,
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,
282,
1071,
509,
9292,
12,
921,
320,
13,
288,
565,
7214,
620,
1800,
620,
273,
261,
3039,
620,
13,
83,
31,
3639,
509,
5826,
1377,
273,
333,
18,
588,
3039,
7675,
588,
4236,
2448,
1435,
3639,
... |
return RubyFixnum.newFixnum(getRuby(), end[(int) index.getValue()]); | return RubyFixnum.newFixnum(getRuby(), end[(int) index.getLongValue()]); | public RubyObject end(RubyFixnum index) { if (outOfBounds(index)) { return getRuby().getNil(); } return RubyFixnum.newFixnum(getRuby(), end[(int) index.getValue()]); } | 52337 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52337/786cea08c1dd2092a02d1254b49fbee371ace5f9/RubyMatchData.java/buggy/org/jruby/RubyMatchData.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
921,
679,
12,
54,
10340,
8585,
2107,
770,
13,
288,
3639,
309,
261,
659,
951,
5694,
12,
1615,
3719,
288,
5411,
327,
4170,
10340,
7675,
588,
12616,
5621,
3639,
289,
3639,
327,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
921,
679,
12,
54,
10340,
8585,
2107,
770,
13,
288,
3639,
309,
261,
659,
951,
5694,
12,
1615,
3719,
288,
5411,
327,
4170,
10340,
7675,
588,
12616,
5621,
3639,
289,
3639,
327,
... |
jj_la1[48] = jj_gen; | jj_la1[49] = jj_gen; | final public void ResultType() throws ParseException { /*@bgen(jjtree) ResultType */ ASTResultType jjtn000 = new ASTResultType(this, JJTRESULTTYPE); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case VOID: jj_consume_token(VOID); bre... | 45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/0687038c0aeeacc81c38706b6c1d8dac4185836b/JavaParser.java/buggy/pmd/src/net/sourceforge/pmd/ast/JavaParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
1071,
918,
3438,
559,
1435,
1216,
10616,
288,
1748,
36,
70,
4507,
12,
78,
78,
3413,
13,
3438,
559,
1195,
225,
9183,
1253,
559,
10684,
5088,
3784,
273,
394,
9183,
1253,
559,
12,
221... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
1071,
918,
3438,
559,
1435,
1216,
10616,
288,
1748,
36,
70,
4507,
12,
78,
78,
3413,
13,
3438,
559,
1195,
225,
9183,
1253,
559,
10684,
5088,
3784,
273,
394,
9183,
1253,
559,
12,
221... |
return isWritable(column); | return false; | public boolean isDefinitelyWritable(int column) throws SQLException { return isWritable(column); } | 45454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45454/0059c4216c1e106311cd935dee2b9c42d9a7a1d3/ResultSetMetaData.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc1/ResultSetMetaData.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
353,
6443,
25818,
12061,
12,
474,
1057,
13,
1216,
6483,
225,
288,
565,
327,
629,
31,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
353,
6443,
25818,
12061,
12,
474,
1057,
13,
1216,
6483,
225,
288,
565,
327,
629,
31,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
int beforeFocus = results.size(); results.addAll(getResultsAfterFocus(scope, itemValue, beforeFocus)); | int total = countTotalInIndex(scope, results.size()); int matches = countMatches(scope, itemValue, total, results.size()); | private static BrowseInfo doBrowse(BrowseScope scope) throws SQLException { // Check for a cached browse BrowseInfo cachedInfo = BrowseCache.get(scope); if (cachedInfo != null) { return cachedInfo; } int transactionIsolation = setTransactionIsolation(scope); ... | 49711 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49711/36e0aff656ae4c75308793a5e6744544f92e9646/Browse.java/clean/dspace/src/org/dspace/browse/Browse.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
605,
12481,
966,
741,
27304,
12,
27304,
3876,
2146,
13,
1216,
6483,
565,
288,
3639,
368,
2073,
364,
279,
3472,
21670,
3639,
605,
12481,
966,
3472,
966,
273,
605,
12481,
1649,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
605,
12481,
966,
741,
27304,
12,
27304,
3876,
2146,
13,
1216,
6483,
565,
288,
3639,
368,
2073,
364,
279,
3472,
21670,
3639,
605,
12481,
966,
3472,
966,
273,
605,
12481,
1649,
1... |
if ( result.toString( ).equals( name ) ) | if ( result.toString( ).equals( literal ) ) | public static ActionType get( String name ) { for ( int i = 0; i < VALUES_ARRAY.length; ++i ) { ActionType result = VALUES_ARRAY[i]; if ( result.toString( ).equals( name ) ) { return result; } } return null; } | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/036e8c78765730b146e5854b9d6c397a296fed86/ActionType.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/ActionType.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
4382,
559,
336,
12,
514,
508,
262,
202,
95,
202,
202,
1884,
261,
509,
277,
273,
374,
31,
277,
411,
13477,
67,
8552,
18,
2469,
31,
965,
77,
262,
202,
202,
95,
1082,
20... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
4382,
559,
336,
12,
514,
508,
262,
202,
95,
202,
202,
1884,
261,
509,
277,
273,
374,
31,
277,
411,
13477,
67,
8552,
18,
2469,
31,
965,
77,
262,
202,
202,
95,
1082,
20... |
res.sendRedirect(url); return; | public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { ImcmsServices service = Imcms.getServices(); UserDomainObject loggedOnUser = Utility.getLoggedOnUser(req); String whichButton = req.getParameter("AdminTask"); if ( null !... | 8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/02037801834aaf2886ac787431a04e77bc4e8cb1/AdminManager.java/buggy/server/src/com/imcode/imcms/servlet/superadmin/AdminManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
741,
3349,
12,
2940,
18572,
1111,
16,
12446,
400,
13,
5411,
1216,
16517,
16,
1860,
288,
3639,
2221,
6851,
5676,
1156,
273,
2221,
6851,
18,
588,
5676,
5621,
3639,
2177,
3748,
92... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
741,
3349,
12,
2940,
18572,
1111,
16,
12446,
400,
13,
5411,
1216,
16517,
16,
1860,
288,
3639,
2221,
6851,
5676,
1156,
273,
2221,
6851,
18,
588,
5676,
5621,
3639,
2177,
3748,
92... | |
error.fSeverity = DOMError.SEVERITY_WARNING; fErrorHandler.getErrorHandler().handleError(error); } } | error.fSeverity = DOMError.SEVERITY_WARNING; fErrorHandler.getErrorHandler ().handleError (error); } } | protected final void handleBaseURI (Node node){ if (fDocumentImpl != null) { // REVISIT: remove dependency on our implementation when // DOM L3 becomes REC String baseURI = null; short nodeType = node.getNodeType(); if (nodeType == Node.... | 1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/b4cd180911aea48174dc85f3cf80e53272cd1419/AbstractDOMParser.java/clean/src/org/apache/xerces/parsers/AbstractDOMParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
727,
918,
1640,
2171,
3098,
261,
907,
756,
15329,
3639,
309,
261,
74,
2519,
2828,
480,
446,
13,
288,
5411,
368,
2438,
26780,
1285,
30,
1206,
4904,
603,
3134,
4471,
1347,
5411,
368,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
727,
918,
1640,
2171,
3098,
261,
907,
756,
15329,
3639,
309,
261,
74,
2519,
2828,
480,
446,
13,
288,
5411,
368,
2438,
26780,
1285,
30,
1206,
4904,
603,
3134,
4471,
1347,
5411,
368,
... |
IASTParameterDeclaration b = fDtor.getParameters()[1]; IASTName name_b = b.getDeclarator().getName(); | IASTParameterDeclaration b = fDtor.getParameters()[1]; IASTName name_b = b.getDeclarator().getName(); | public void testSimpleFunction() throws Exception { StringBuffer buffer = new StringBuffer("void f( int a, int b ) { } \n"); //$NON-NLS-1$ IASTTranslationUnit tu = parse(buffer.toString(), ParserLanguage.C); IASTFunctionDefinition fDef = (IASTFunctionDefinition) tu .getDeclarations()[0]; ... | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/98145350e052e39e57313251e0f805a20472a08d/AST2Tests.java/clean/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2Tests.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
1842,
5784,
2083,
1435,
1216,
1185,
288,
1377,
6674,
1613,
273,
394,
6674,
2932,
6459,
284,
12,
509,
279,
16,
509,
324,
262,
288,
289,
225,
521,
82,
8863,
4329,
3993,
17,
510... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
1842,
5784,
2083,
1435,
1216,
1185,
288,
1377,
6674,
1613,
273,
394,
6674,
2932,
6459,
284,
12,
509,
279,
16,
509,
324,
262,
288,
289,
225,
521,
82,
8863,
4329,
3993,
17,
510... |
public void set(org.quickfix.field.MiscFeeAmt value) | public void set(quickfix.field.MiscFeeAmt value) | public void set(org.quickfix.field.MiscFeeAmt value) { setField(value); } | 8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/Allocation.java/clean/src/java/src/quickfix/fix41/Allocation.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
12,
19525,
904,
18,
1518,
18,
11729,
71,
14667,
31787,
460,
13,
225,
288,
16331,
12,
1132,
1769,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
444,
12,
19525,
904,
18,
1518,
18,
11729,
71,
14667,
31787,
460,
13,
225,
288,
16331,
12,
1132,
1769,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
IdentityManager idManager = IdentityManager.getIdentityManager(); | IdentityManager idManager = theDaemon.getIdentityManager(); | private void updateReputations(Poll.VoteTally results) { IdentityManager idManager = IdentityManager.getIdentityManager(); Iterator voteIt = results.getPollVotes().iterator(); while (voteIt.hasNext()) { Vote vote = (Vote)voteIt.next(); int repChange = IdentityManager.AGREE_VOTE; if (!vote.isAg... | 8150 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8150/791b5cca75536f160ce06c9f90f61d6370c6faba/NodeManagerImpl.java/buggy/src/org/lockss/state/NodeManagerImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
1089,
426,
458,
1012,
12,
19085,
18,
19338,
56,
1230,
1686,
13,
288,
565,
7808,
1318,
612,
1318,
273,
326,
12858,
18,
588,
4334,
1318,
5621,
565,
4498,
12501,
7193,
273,
1686,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
1089,
426,
458,
1012,
12,
19085,
18,
19338,
56,
1230,
1686,
13,
288,
565,
7808,
1318,
612,
1318,
273,
326,
12858,
18,
588,
4334,
1318,
5621,
565,
4498,
12501,
7193,
273,
1686,
... |
XSDHandler me = new XSDHandler(new XSGrammarResolver(), new XMLErrorReporter(), new EntityResolverWrapper(), new SymbolTable()); | DefaultHandler handler = new DefaultHandler(); XSDHandler me = new XSDHandler(new XSGrammarResolver(), new XMLErrorReporter(), new EntityResolverWrapper(new org.apache.xerces.impl.v2.XSDHandler.DummyResolver()), new SymbolTable()); | public static void main (String args[]) throws Exception { XSDHandler me = new XSDHandler(new XSGrammarResolver(), new XMLErrorReporter(), new EntityResolverWrapper(), new SymbolTable()); me.parseSchema(args[0], args[1]); System.err.println("traversing completed!"); } // main | 4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/6f04e9c6fc78d4e3eda5026b14b51f3b636479ac/XSDHandler.java/buggy/src/org/apache/xerces/impl/v2/XSDHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
261,
780,
833,
63,
5717,
1216,
1185,
288,
3639,
2989,
1503,
1838,
273,
394,
2989,
1503,
5621,
26462,
1503,
1791,
273,
394,
26462,
1503,
12,
2704,
1139,
55,
18576,
43... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
261,
780,
833,
63,
5717,
1216,
1185,
288,
3639,
2989,
1503,
1838,
273,
394,
2989,
1503,
5621,
26462,
1503,
1791,
273,
394,
26462,
1503,
12,
2704,
1139,
55,
18576,
43... |
switch ( eDerivedStructuralFeatureID( eFeature ) ) | switch ( featureID ) | public boolean eIsSet( EStructuralFeature eFeature ) { switch ( eDerivedStructuralFeatureID( eFeature ) ) { case AttributePackage.DATA_POINT__COMPONENTS : return components != null && !components.isEmpty( ); case AttributePackage.DATA_POINT__PREFIX : return PREFIX_EDEFAULT == null ? prefix != null : !... | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/036e8c78765730b146e5854b9d6c397a296fed86/DataPointImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/attribute/impl/DataPointImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
20372,
12,
512,
14372,
4595,
425,
4595,
262,
202,
95,
202,
202,
9610,
261,
425,
21007,
14372,
4595,
734,
12,
425,
4595,
262,
262,
202,
202,
95,
1082,
202,
3593,
3601,
22... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
20372,
12,
512,
14372,
4595,
425,
4595,
262,
202,
95,
202,
202,
9610,
261,
425,
21007,
14372,
4595,
734,
12,
425,
4595,
262,
262,
202,
202,
95,
1082,
202,
3593,
3601,
22... |
if (Platform.getLocation().isPrefixOf(locationPath)) | if (Platform.getLocation().isPrefixOf(locationPath)) { | private boolean createExistingProject(final ProjectRecord record, IProgressMonitor monitor) throws InvocationTargetException, InterruptedException { String projectName = record.getProjectName(); final IWorkspace workspace = ResourcesPlugin.getWorkspace(); final IProject project = workspace.getRoot().getProject(proj... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/WizardProjectsImportPage.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/wizards/datatransfer/WizardProjectsImportPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1250,
752,
9895,
4109,
12,
6385,
5420,
2115,
1409,
16,
467,
5491,
7187,
6438,
13,
1216,
15342,
16,
7558,
288,
202,
202,
780,
17234,
273,
1409,
18,
588,
4109,
461,
5621,
202,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
1250,
752,
9895,
4109,
12,
6385,
5420,
2115,
1409,
16,
467,
5491,
7187,
6438,
13,
1216,
15342,
16,
7558,
288,
202,
202,
780,
17234,
273,
1409,
18,
588,
4109,
461,
5621,
202,
... |
mySDFactory.getTimeSpanFromPreferences(request.getServicePreferences()); | SDFactory.getTimeSpanFromPreferences(request.getServicePreferences()); | protected boolean requested(Role role, TimeSpan timeSpan) { TimeSpanSet requestTimeSpanSet = new TimeSpanSet(); for (Iterator relayIterator = myServiceContractRelaySubscription.iterator(); relayIterator.hasNext();) { ServiceContractRelay relay = (ServiceContractRelay) relayIterat... | 14011 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14011/f7b5dfc49b768ed3e42deaa55878720f16e51c24/SDClientPlugin.java/buggy/servicediscovery/src/org/cougaar/servicediscovery/plugin/SDClientPlugin.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
1250,
3764,
12,
2996,
2478,
16,
9506,
1377,
2647,
6952,
813,
6952,
13,
288,
3639,
2647,
6952,
694,
590,
950,
6952,
694,
273,
394,
2647,
6952,
694,
5621,
565,
364,
261,
3198,
18874,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
1250,
3764,
12,
2996,
2478,
16,
9506,
1377,
2647,
6952,
813,
6952,
13,
288,
3639,
2647,
6952,
694,
590,
950,
6952,
694,
273,
394,
2647,
6952,
694,
5621,
565,
364,
261,
3198,
18874,
... |
final FeaturePredicate predicate = new FeaturePredicate() | final FeaturePredicate predicate = new FeaturePredicate() | private boolean displaySaveWarnings(final Entry entry) { final FeatureVector invalid_starts = entry.checkFeatureStartCodons(); final FeatureVector invalid_stops = entry.checkFeatureStopCodons(); final FeatureVector invalid_keys = entry.checkForNonEMBLKeys(); final FeatureVector duplicate_features = entr... | 10874 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10874/a3c8ce394ca10a35741f69826cdd9144dad5b5c3/EntryEdit.java/clean/uk/ac/sanger/artemis/components/EntryEdit.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
1250,
2562,
4755,
4312,
12,
6385,
3841,
1241,
13,
282,
288,
565,
727,
7881,
5018,
2057,
67,
17514,
273,
1241,
18,
1893,
4595,
1685,
29633,
7008,
5621,
565,
727,
7881,
5018,
2057,
67... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
1250,
2562,
4755,
4312,
12,
6385,
3841,
1241,
13,
282,
288,
565,
727,
7881,
5018,
2057,
67,
17514,
273,
1241,
18,
1893,
4595,
1685,
29633,
7008,
5621,
565,
727,
7881,
5018,
2057,
67... |
this.document = new Document(); | public void configure(Configuration conf) throws ConfigurationException { this.setContentLength = conf.getChild("set-content-length").getValueAsBoolean(true); this.mimetype = conf.getAttribute("mime-type"); getLogger().debug("iTextSerializer mime-type:" + mimetype); this.document = new D... | 46428 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46428/08f490a528933c39c11068c4ebda2a1a04e4dc29/iTextSerializer.java/buggy/src/blocks/itext/java/org/apache/cocoon/serialization/iTextSerializer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
5068,
12,
1750,
2195,
13,
1216,
22196,
288,
3639,
333,
18,
542,
1350,
1782,
273,
2195,
18,
588,
1763,
2932,
542,
17,
1745,
17,
2469,
20387,
24805,
1463,
5507,
12,
3767,
1769,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
5068,
12,
1750,
2195,
13,
1216,
22196,
288,
3639,
333,
18,
542,
1350,
1782,
273,
2195,
18,
588,
1763,
2932,
542,
17,
1745,
17,
2469,
20387,
24805,
1463,
5507,
12,
3767,
1769,
... | |
public boolean displayShowAllCheckBox() { | public final boolean displayShowAllCheckBox() { | public boolean displayShowAllCheckBox() { return false; } | 13291 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13291/615094576784f8eacf0891411a5b25d98778892b/TypeAheadPopup.java/buggy/src/org/jedit/ruby/structure/TypeAheadPopup.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
727,
1250,
2562,
5706,
1595,
19174,
1435,
288,
5411,
327,
629,
31,
3639,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
727,
1250,
2562,
5706,
1595,
19174,
1435,
288,
5411,
327,
629,
31,
3639,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
RmiTrace.send(host, data); | RmiTrace.send(url, data); | public void send_message(java.io.OutputStream output, String host) { if (RMI_TRACE) { byte[] data = new byte[_offset]; System.arraycopy(_buffer, 0, data, 0, _offset); RmiTrace.send(host, data); } try { output.write(_buffer, 0, _offset); out... | 12474 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12474/5c788225030ea2bb15cb5f3f9696c52b755b6d54/CdrOutputStream.java/buggy/modules/interop/src/java/org/apache/geronimo/interop/rmi/iiop/CdrOutputStream.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1366,
67,
2150,
12,
6290,
18,
1594,
18,
4632,
876,
16,
514,
1479,
13,
288,
3639,
309,
261,
54,
7492,
67,
23827,
13,
288,
5411,
1160,
8526,
501,
273,
394,
1160,
63,
67,
3348... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1366,
67,
2150,
12,
6290,
18,
1594,
18,
4632,
876,
16,
514,
1479,
13,
288,
3639,
309,
261,
54,
7492,
67,
23827,
13,
288,
5411,
1160,
8526,
501,
273,
394,
1160,
63,
67,
3348... |
protected int findPrototypeId(String s) { int id;// #generated# Last update: 2006-09-26 14:27:05 CEST L0: { id = 0; String X = null; int c; L: switch (s.length()) { case 3: c=s.charAt(2); if (c=='b') { if (s.charAt(0)=='s' && s.charAt(1)=='u') {id=Id_sub; break ... | 13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/9366d4fcc9ec432e72e80986c6aa8cdc944ee9c1/NativeString.java/clean/js/rhino/src/org/mozilla/javascript/NativeString.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
509,
1104,
15846,
548,
12,
780,
272,
13,
565,
288,
3639,
509,
612,
31,
759,
468,
11168,
7,
6825,
1089,
30,
27212,
17,
5908,
17,
5558,
5045,
30,
5324,
30,
6260,
385,
11027,
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,
4750,
509,
1104,
15846,
548,
12,
780,
272,
13,
565,
288,
3639,
509,
612,
31,
759,
468,
11168,
7,
6825,
1089,
30,
27212,
17,
5908,
17,
5558,
5045,
30,
5324,
30,
6260,
385,
11027,
3639,
... | ||
jsFunction_setSeconds(args)); | makeTime(args, 2, true)); | public Object execMethod (int methodId, IdFunction f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) throws JavaScriptException { if (prototypeFlag) { switch (methodId) { case ConstructorId_UTC: return wrap_double(jsStat... | 47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/dbefc5595ba41854ec04751abfc8db52f70a5796/NativeDate.java/clean/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,
... |
if (inFunction && !cx.hasCompileFunctionsWithDynamicScope()) { | if (inFunction && !cx.hasCompileFunctionsWithDynamicScope() && directParameterCount == -1) { | private void generatePrologue(Context cx, Node tree, boolean inFunction, int directParameterCount) { funObjLocal = reserveWordLocal(0); contextLocal = reserveWordLocal(1); variableObjectLocal = reserveWordLocal(2); thisObjLocal = reserveWordLocal(3); ... | 13991 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13991/108f81d6ac0edee4a558a7c077581454f81ace8d/Codegen.java/clean/js/rhino/org/mozilla/javascript/optimizer/Codegen.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2103,
626,
1330,
344,
12,
1042,
9494,
16,
2029,
2151,
16,
1250,
316,
2083,
16,
21394,
509,
2657,
1662,
1380,
13,
565,
288,
3639,
9831,
2675,
2042,
273,
20501,
3944,
2042,
12,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2103,
626,
1330,
344,
12,
1042,
9494,
16,
2029,
2151,
16,
1250,
316,
2083,
16,
21394,
509,
2657,
1662,
1380,
13,
565,
288,
3639,
9831,
2675,
2042,
273,
20501,
3944,
2042,
12,
... |
match(input,ID,FOLLOW_ID_in_fact_binding1227); following.push(FOLLOW_opt_eol_in_fact_binding1237); | match(input,ID,FOLLOW_ID_in_fact_binding1192); following.push(FOLLOW_opt_eol_in_fact_binding1202); | public PatternDescr fact_binding() throws RecognitionException { PatternDescr d; Token id=null; PatternDescr f = null; d=null; boolean multi=false; try { // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:3... | 6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/afa2dad261bf082d1acd2655e8290f80c6bffb15/RuleParser.java/clean/drools-compiler/src/main/java/org/drools/lang/RuleParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
6830,
16198,
5410,
67,
7374,
1435,
1216,
9539,
288,
6647,
6830,
16198,
302,
31,
3639,
3155,
612,
33,
2011,
31,
3639,
6830,
16198,
284,
273,
446,
31,
1171,
202,
202,
72,
33,
2011,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6830,
16198,
5410,
67,
7374,
1435,
1216,
9539,
288,
6647,
6830,
16198,
302,
31,
3639,
3155,
612,
33,
2011,
31,
3639,
6830,
16198,
284,
273,
446,
31,
1171,
202,
202,
72,
33,
2011,
... |
out.write(buf.toString().getBytes()); | out.write(buf.toString()); | public void generateStatsPage(OutputStream out) throws IOException { StringBuffer buf = new StringBuffer(16*1024); buf.append("<h1>Router statistics</h1>"); buf.append("<i><a href=\"/oldconsole.jsp\">console</a> | <a href=\"/oldstats.jsp\">stats</a></i><hr />"); buf.append("<form action=... | 27493 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27493/62ed6c6a58f9adaa081ae5a6cb591d18c6ad4f85/StatsGenerator.java/buggy/router/java/src/net/i2p/router/admin/StatsGenerator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2103,
4195,
1964,
12,
4632,
596,
13,
1216,
1860,
288,
3639,
6674,
1681,
273,
394,
6674,
12,
2313,
14,
2163,
3247,
1769,
3639,
1681,
18,
6923,
2932,
32,
76,
21,
34,
8259,
7691... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2103,
4195,
1964,
12,
4632,
596,
13,
1216,
1860,
288,
3639,
6674,
1681,
273,
394,
6674,
12,
2313,
14,
2163,
3247,
1769,
3639,
1681,
18,
6923,
2932,
32,
76,
21,
34,
8259,
7691... |
Coords[] coords = Coords.intervening(a, b); | ArrayList<Coords> coords = Coords.intervening(a, b); | public static int getFriendlyECCMFields(Entity ae, Coords a, Coords b) { if (a == null || b == null) return 0; //Start at zero nothing protecting the mech. int ECCMCount = 0; if ( ae.hasActiveECCM() ) ECCMCount++; // Only grab enemies with active ECM V... | 4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/cbe74d020e74a85c0e3b8ebf32d1ebc85c1ba62f/Compute.java/buggy/megamek/src/megamek/common/Compute.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
509,
2812,
9258,
41,
6743,
49,
2314,
12,
1943,
14221,
16,
10320,
87,
279,
16,
10320,
87,
324,
13,
288,
3639,
309,
261,
69,
422,
446,
747,
324,
422,
446,
13,
5411,
327,
374,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
509,
2812,
9258,
41,
6743,
49,
2314,
12,
1943,
14221,
16,
10320,
87,
279,
16,
10320,
87,
324,
13,
288,
3639,
309,
261,
69,
422,
446,
747,
324,
422,
446,
13,
5411,
327,
374,... |
Connection c = new Connection(client_socket); | new Connection(client_socket); | public void run() { try { while (true) { Socket client_socket = listen_socket.accept(); Connection c = new Connection(client_socket); } } catch (IOException e) { fail(e, "Exception while listening"); } } | 51275 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51275/4de981d222f83e66d1366800ef337f5155d5e627/TestServer.java/buggy/netwerk/testserver/TestServer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1086,
1435,
288,
202,
202,
698,
288,
1082,
202,
17523,
261,
3767,
13,
288,
9506,
202,
4534,
1004,
67,
7814,
273,
6514,
67,
7814,
18,
9436,
5621,
9506,
202,
1952,
276,
273... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1086,
1435,
288,
202,
202,
698,
288,
1082,
202,
17523,
261,
3767,
13,
288,
9506,
202,
4534,
1004,
67,
7814,
273,
6514,
67,
7814,
18,
9436,
5621,
9506,
202,
1952,
276,
273... |
buffer.append( ", " ); | buffer.append( ", " ); | protected void processVisibility( ReportItemDesign design, IContent content ) { VisibilityDesign visibility = design.getVisibility( ); if ( visibility != null ) { StringBuffer buffer = new StringBuffer( ); for ( int i = 0; i < visibility.count( ); i++ ) { VisibilityRuleDesign rule = visibility.getRule( i )... | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/223285a5b7d82da9ab4bfb2f5c755c9f974f2aba/StyledItemExecutor.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/StyledItemExecutor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1207,
10135,
12,
8706,
1180,
15478,
8281,
16,
467,
1350,
913,
262,
202,
95,
202,
202,
10135,
15478,
9478,
273,
8281,
18,
588,
10135,
12,
11272,
202,
202,
430,
261,
9478,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1207,
10135,
12,
8706,
1180,
15478,
8281,
16,
467,
1350,
913,
262,
202,
95,
202,
202,
10135,
15478,
9478,
273,
8281,
18,
588,
10135,
12,
11272,
202,
202,
430,
261,
9478,
... |
errTot += UpdateUtils.performAllOperations(cfg, Constants.TYPE_ALL, selOps.getSelectedIDs(), d); | errTot += UpdateUtils.performAllOperations(cfg, Constants.DownloadType.all, selOps.getSelectedIDs(), d); | public void run() { try { Thread.sleep(150); int errTot; errTot = UpdateUtils.performAllOperations(cfg, Constants.TYPE_CRITICAL, null, d); System.out.println("sbp.r: error total (crit) was: " + errTot); errTot += UpdateUtils.performAllOperations(cfg, Con... | 46767 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46767/f8c3f2f6e6d7cb03e85223c158f7430237119704/StandardButtonPanel.java/buggy/cynchMain/client/src/com/muddyhorse/cynch/gui/StandardButtonPanel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
1435,
288,
3639,
775,
288,
5411,
4884,
18,
19607,
12,
23014,
1769,
5411,
509,
393,
18801,
31,
5411,
393,
18801,
273,
2315,
1989,
18,
16092,
1595,
9343,
12,
7066,
16,
5245... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1086,
1435,
288,
3639,
775,
288,
5411,
4884,
18,
19607,
12,
23014,
1769,
5411,
509,
393,
18801,
31,
5411,
393,
18801,
273,
2315,
1989,
18,
16092,
1595,
9343,
12,
7066,
16,
5245... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.