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 |
|---|---|---|---|---|---|---|
public org.quickfix.field.LegPool getLegPool() throws FieldNotFound { org.quickfix.field.LegPool value = new org.quickfix.field.LegPool(); | public quickfix.field.LegPool getLegPool() throws FieldNotFound { quickfix.field.LegPool value = new quickfix.field.LegPool(); | public org.quickfix.field.LegPool getLegPool() throws FieldNotFound { org.quickfix.field.LegPool value = new org.quickfix.field.LegPool(); getField(value); return value; } | 5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/TradeCaptureReportAck.java/buggy/src/java/src/quickfix/fix44/TradeCaptureReportAck.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
2864,
336,
8329,
2864,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
2864,
460,
273,
394,
2358,
18,
19525,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
2864,
336,
8329,
2864,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
2864,
460,
273,
394,
2358,
18,
19525,
... |
byte[] getNetPacket(int streamId, byte buffer[]) throws IOException { synchronized (socketTable) { VirtualSocket vsock = lookup(streamId); // // Return any cached input // if (vsock.inputPkts > 0) { return dequeueInput(vsock); }... | 5753 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5753/2c6b79107e175244186289d6b526b670a6bcb122/SharedSocket.java/clean/src/main/net/sourceforge/jtds/jdbc/SharedSocket.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1160,
8526,
336,
7308,
6667,
12,
474,
21035,
16,
1160,
1613,
63,
5717,
1216,
1860,
288,
3639,
3852,
261,
7814,
1388,
13,
288,
5411,
7269,
4534,
6195,
975,
273,
3689,
12,
3256,
548,
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,
1160,
8526,
336,
7308,
6667,
12,
474,
21035,
16,
1160,
1613,
63,
5717,
1216,
1860,
288,
3639,
3852,
261,
7814,
1388,
13,
288,
5411,
7269,
4534,
6195,
975,
273,
3689,
12,
3256,
548,
1769,
... | ||
public void paintFixed(Context c, BlockBox block) { int xoff = 0; int yoff = 0; xoff = c.canvas.getWidth(); yoff = c.canvas.getHeight(); if (block.right_set) { xoff = xoff - block.width; } if (block.bottom_set) { //joshy: this should rea... | 53937 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53937/07ab625b03cad242caa27ac48e830592130b24a1/BoxLayout.java/clean/src/java/org/joshy/html/BoxLayout.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
6459,
84,
1598,
7505,
12,
1042,
71,
16,
1768,
3514,
2629,
15329,
474,
92,
3674,
33,
20,
31,
474,
93,
3674,
33,
20,
31,
92,
3674,
33,
71,
18,
15424,
18,
588,
2384,
5621,
93,
3674,
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,
1071,
6459,
84,
1598,
7505,
12,
1042,
71,
16,
1768,
3514,
2629,
15329,
474,
92,
3674,
33,
20,
31,
474,
93,
3674,
33,
20,
31,
92,
3674,
33,
71,
18,
15424,
18,
588,
2384,
5621,
93,
3674,
3... | ||
ac.addBond(new Bond(a1, a2, bond.getOrder())); | Bond newBond = new Bond(a1, a2, bond.getOrder()); newBond.setFlag( CDKConstants.ISAROMATIC, bond.getFlag(CDKConstants.ISAROMATIC) ); ac.addBond(newBond); | public static AtomContainer project(List rMapList, AtomContainer g, int id) { AtomContainer ac = new AtomContainer(); Bond[] bondList = g.getBonds(); Hashtable table = new Hashtable(); Atom a1 = null; Atom a2 = null; Atom a = null; Bond bond = null; for (Iterator i = rMapList.iterator(); i.has... | 45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/fda85e2e70b3cd137c9404e72e9414d9bf306284/UniversalIsomorphismTester.java/clean/src/org/openscience/cdk/isomorphism/UniversalIsomorphismTester.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
7149,
2170,
1984,
12,
682,
436,
863,
682,
16,
7149,
2170,
314,
16,
509,
612,
13,
288,
565,
7149,
2170,
1721,
273,
394,
7149,
2170,
5621,
565,
605,
1434,
8526,
8427,
682,
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,
282,
1071,
760,
7149,
2170,
1984,
12,
682,
436,
863,
682,
16,
7149,
2170,
314,
16,
509,
612,
13,
288,
565,
7149,
2170,
1721,
273,
394,
7149,
2170,
5621,
565,
605,
1434,
8526,
8427,
682,
273,... |
X86RegisterPool pool = eContext.getPool(); if (!it.uses(reg)) { if (!pool.isFree(reg)) { notImplemented(); } pool.request(reg, it); } | X86RegisterPool pool = eContext.getPool(); if (!it.uses(reg)) { if (!pool.isFree(reg)) { notImplemented(); } pool.request(reg, it); } | private void requestRegister(Register reg, Item it) { X86RegisterPool pool = eContext.getPool(); // check item doesn't already use register if (!it.uses(reg)) { if (!pool.isFree(reg)) { notImplemented(); //TODO: spill register; make sure that the stack items // and floating ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2dae0b481ae2c6630293d1adeea4e81e12d7547b/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
590,
3996,
12,
3996,
960,
16,
4342,
518,
13,
288,
377,
202,
60,
5292,
3996,
2864,
2845,
273,
425,
1042,
18,
588,
2864,
5621,
377,
202,
377,
202,
759,
866,
761,
3302,
1404,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
590,
3996,
12,
3996,
960,
16,
4342,
518,
13,
288,
377,
202,
60,
5292,
3996,
2864,
2845,
273,
425,
1042,
18,
588,
2864,
5621,
377,
202,
377,
202,
759,
866,
761,
3302,
1404,
... |
result.merge(checkCallsToDeclaringClassConstructors(new SubProgressMonitor(pm, 1))); | result.merge(checkCallsToClassConstructors(getDeclaringType(), new SubProgressMonitor(pm, 1))); | public RefactoringStatus checkFinalConditions(IProgressMonitor pm) throws CoreException { try { pm.beginTask(RefactoringCoreMessages.getString("PushDownRefactoring.creating_preview"), 5); //$NON-NLS-1$ clearCaches(); RefactoringStatus result= new RefactoringStatus(); result.merge(checkMembersInDestin... | 9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/4c432e231311c8cf3a59a661132d21bc0ea55380/PushDownRefactoring.java/buggy/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PushDownRefactoring.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
868,
3493,
6053,
1482,
866,
7951,
8545,
12,
45,
5491,
7187,
7430,
13,
1216,
30015,
288,
202,
202,
698,
288,
1082,
202,
7755,
18,
10086,
2174,
12,
426,
3493,
6053,
4670,
5058,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
868,
3493,
6053,
1482,
866,
7951,
8545,
12,
45,
5491,
7187,
7430,
13,
1216,
30015,
288,
202,
202,
698,
288,
1082,
202,
7755,
18,
10086,
2174,
12,
426,
3493,
6053,
4670,
5058,
... |
if (presentationSite.getState() == IPresentationSite.STATE_MAXIMIZED) { | if (newState == IPresentationSite.STATE_MAXIMIZED) { | private void setState(int newState) { if (newState == presentationSite.getState()) { return; } int oldState = presentationSite.getState(); presentationSite.setPresentationState(newState); if (current != null) { if (presentationSite.getState() == IPresentationSite.STATE_MAXIMIZED) { ((PartPane) curren... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/14827ce06d2a1c73b89c11076cc8a1b4cdcb9379/PartTabFolder.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PartTabFolder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
12947,
12,
474,
15907,
13,
288,
202,
202,
430,
261,
2704,
1119,
422,
22525,
4956,
18,
588,
1119,
10756,
288,
1082,
202,
2463,
31,
202,
202,
97,
9506,
202,
474,
26440,
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,
225,
202,
1152,
918,
12947,
12,
474,
15907,
13,
288,
202,
202,
430,
261,
2704,
1119,
422,
22525,
4956,
18,
588,
1119,
10756,
288,
1082,
202,
2463,
31,
202,
202,
97,
9506,
202,
474,
26440,
27... |
if (elementName == null) { | if (elementName==null) { | public void startElement(String uri, String loc, String raw, Attributes a) throws SAXException { level++; switch (level) { case 1: if (loc.equals("pagesheet")) { // This object represents pagesheet return; } ... | 46428 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46428/88da451e7ed0aeef9bb960d9348189d3ed40d79d/Pagesheet.java/clean/src/scratchpad/src/org/apache/cocoon/transformation/pagination/Pagesheet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
13591,
12,
780,
2003,
16,
514,
1515,
16,
514,
1831,
16,
9055,
279,
13,
1216,
14366,
288,
3639,
1801,
9904,
31,
3639,
1620,
261,
2815,
13,
288,
5411,
648,
404,
30,
7734,
309,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
13591,
12,
780,
2003,
16,
514,
1515,
16,
514,
1831,
16,
9055,
279,
13,
1216,
14366,
288,
3639,
1801,
9904,
31,
3639,
1620,
261,
2815,
13,
288,
5411,
648,
404,
30,
7734,
309,
... |
Vector refPos = getPositionsInRange(this.positions, where, this.content.length + nitems - where); Iterator iter = refPos.iterator(); | if (marks != null) { Iterator iter = marks.iterator(); | public UndoableEdit remove(int where, int nitems) throws BadLocationException { checkLocation(where, nitems + 1); char[] temp = new char[(this.content.length - nitems)]; this.count = this.count - nitems; RemoveUndo rundo = new RemoveUndo(where, new String(this.content, where, nitems)); // Copy... | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/ba862f89183b5347853381927a04e1e399fae5db/StringContent.java/clean/core/src/classpath/javax/javax/swing/text/StringContent.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1351,
2896,
429,
4666,
1206,
12,
474,
1625,
16,
509,
290,
3319,
13,
1216,
6107,
2735,
503,
225,
288,
565,
866,
2735,
12,
6051,
16,
290,
3319,
397,
404,
1769,
565,
1149,
8526,
1906... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1351,
2896,
429,
4666,
1206,
12,
474,
1625,
16,
509,
290,
3319,
13,
1216,
6107,
2735,
503,
225,
288,
565,
866,
2735,
12,
6051,
16,
290,
3319,
397,
404,
1769,
565,
1149,
8526,
1906... |
+ ( (DesignElementHandle) firstSelectedElement ).getDefn( ) .getDisplayName( ) ); | + ( (DesignElementHandle) firstSelectedElement ) .getDefn( ).getDisplayName( ) ); | public void buildContextMenu( IMenuManager menuManager ) { GEFActionConstants.addStandardActionGroups( menuManager ); Object firstSelectedElement = getFirstElement( ); Object selectedElements = getSelectedElement( ); Object multiSelection = getMultiSelectedElement( ); // special for dealing with multi selected el... | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/e2cfefeda592f2030e7f1600e05d1ce18b6d2faf/SchematicContextMenuProvider.java/clean/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/schematic/providers/SchematicContextMenuProvider.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1361,
27315,
12,
467,
4599,
1318,
3824,
1318,
262,
202,
95,
202,
202,
7113,
42,
1803,
2918,
18,
1289,
8336,
1803,
3621,
12,
3824,
1318,
11272,
202,
202,
921,
1122,
7416,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1361,
27315,
12,
467,
4599,
1318,
3824,
1318,
262,
202,
95,
202,
202,
7113,
42,
1803,
2918,
18,
1289,
8336,
1803,
3621,
12,
3824,
1318,
11272,
202,
202,
921,
1122,
7416,
... |
assertEquals("", new ToStringBuilder(null, null).toString()); | assertEquals("<null>", new ToStringBuilder(null, null).toString()); | public void testConstructorEx2() { assertEquals("", new ToStringBuilder(null, null).toString()); new ToStringBuilder(this.base, null).toString(); } | 4554 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4554/8e45d583ee93d357c0949320da79f3d4a4596aa5/ToStringBuilderTest.java/clean/src/test/org/apache/commons/lang/builder/ToStringBuilderTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
6293,
424,
22,
1435,
288,
3639,
1815,
8867,
2932,
32,
2011,
2984,
16,
394,
2974,
21253,
12,
2011,
16,
446,
2934,
10492,
10663,
3639,
394,
2974,
21253,
12,
2211,
18,
1969,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
6293,
424,
22,
1435,
288,
3639,
1815,
8867,
2932,
32,
2011,
2984,
16,
394,
2974,
21253,
12,
2011,
16,
446,
2934,
10492,
10663,
3639,
394,
2974,
21253,
12,
2211,
18,
1969,... |
if (a < 0) | while (a < start) | public boolean containsAngle(double a) { double start = getAngleStart(); double end = start + getAngleExtent(); start %= 360; if (start < 0) start += 360; end %= 360; if (end < 0) end += 360; a %= 360; if (a < 0) a += 360; return a >= start && a <= end; } | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/560cf787ab92cba97cf57ce7b258e72947e5efbc/Arc2D.java/clean/core/src/classpath/java/java/awt/geom/Arc2D.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
1914,
8467,
12,
9056,
279,
13,
225,
288,
565,
1645,
787,
273,
336,
8467,
1685,
5621,
565,
1645,
679,
273,
787,
397,
336,
8467,
17639,
5621,
565,
787,
30582,
12360,
31,
565,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1250,
1914,
8467,
12,
9056,
279,
13,
225,
288,
565,
1645,
787,
273,
336,
8467,
1685,
5621,
565,
1645,
679,
273,
787,
397,
336,
8467,
17639,
5621,
565,
787,
30582,
12360,
31,
565,
... |
alertNode.addChild("#", NEVER_CONN_START.replace("{NEVER_CONN}", Integer.toString(neverConn))); | alertNode.addChild("#", replace(NEVER_CONN_START, "{NEVER_CONN}", Integer.toString(neverConn))); | public HTMLNode getHTMLText() { HTMLNode alertNode = new HTMLNode("div"); int disconnected = peers - conns; if (peers == 0) { if(n.isTestnetEnabled()) alertNode.addChild("#", NO_PEERS_TESTNET); else alertNode.addChild("#", NO_PEERS_DARKNET); } else if (conns == 0) { alertNode.addChild("#", NO_CONNS); ... | 50619 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50619/89258c127cb3b0f73aa57374b50b6d35a02ac021/PeerManagerUserAlert.java/clean/src/freenet/node/useralerts/PeerManagerUserAlert.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
3982,
907,
336,
4870,
1528,
1435,
288,
202,
202,
4870,
907,
6881,
907,
273,
394,
3982,
907,
2932,
2892,
8863,
202,
202,
474,
17853,
273,
10082,
300,
18976,
31,
202,
202,
430,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3982,
907,
336,
4870,
1528,
1435,
288,
202,
202,
4870,
907,
6881,
907,
273,
394,
3982,
907,
2932,
2892,
8863,
202,
202,
474,
17853,
273,
10082,
300,
18976,
31,
202,
202,
430,
... |
public void init (ChannelConfig chConfig) {} | public void init (ChannelConfig chConfig) {this.chConfig = chConfig;} | public void init (ChannelConfig chConfig) {} | 24959 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/24959/01c21dcb2efe47440ca901bbf760f68f438d09e9/CBookmarks.java/clean/source/org/jasig/portal/channels/CBookmarks.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1208,
261,
2909,
809,
462,
809,
13,
288,
2211,
18,
343,
809,
273,
462,
809,
31,
97,
282,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
918,
1208,
261,
2909,
809,
462,
809,
13,
288,
2211,
18,
343,
809,
273,
462,
809,
31,
97,
282,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
synchronized(subscriptionListeners){ Iterator listeners = subscriptionListeners.iterator(); | Iterator listeners = null; | void fireContactPropertyChangeEvent( String eventID, ContactIcqImpl sourceContact, Object oldValue, Object newValue) { ContactPropertyChan... | 43455 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/43455/4b7af66795876f56cf66335081d9d374016ece8d/OperationSetPersistentPresenceIcqImpl.java/buggy/src/net/java/sip/communicator/impl/protocol/icq/OperationSetPersistentPresenceIcqImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
4452,
6567,
1396,
20930,
12,
514,
9079,
871,
734,
16,
29159,
13329,
45,
71,
85,
2828,
4202,
1084,
6567,
16,
29159,
1033,
9079,
11144,
16,
29159,
1033,
9079,
6129,
13,
565,
288,
3639,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
4452,
6567,
1396,
20930,
12,
514,
9079,
871,
734,
16,
29159,
13329,
45,
71,
85,
2828,
4202,
1084,
6567,
16,
29159,
1033,
9079,
11144,
16,
29159,
1033,
9079,
6129,
13,
565,
288,
3639,... |
AST __t2037 = _t; AST tmp2193_AST_in = (AST)_t; | AST __t2040 = _t; AST tmp2196_AST_in = (AST)_t; | public final void spacephrase(AST _t) throws RecognitionException { AST spacephrase_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t2037 = _t; AST tmp2193_AST_in = (AST)_t; match(_t,SPACE); _t = _t.getFirstChild(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case LEFTPAREN: { funargs(_t); ... | 13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/TreeParser03.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparser03/TreeParser03.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
3476,
9429,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
3476,
9429,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
3476,
9429,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
3476,
9429,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053... |
}; | } | void createStyledTextStyleGroup () { final Display display = controlGroup.getDisplay (); styledTextStyleGroup = new Group (controlGroup, SWT.NONE); styledTextStyleGroup.setText (ControlExample.getResourceString ("StyledText_Styles")); styledTextStyleGroup.setLayout (new GridLayout(5, false)); GridData data = new ... | 12413 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12413/c2ce437a63d3b60125a283c15cfca323c2e2ec7b/StyledTextTab.java/clean/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/StyledTextTab.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
6459,
752,
24273,
1259,
1528,
2885,
1114,
1832,
288,
202,
202,
6385,
9311,
2562,
273,
3325,
1114,
18,
588,
4236,
261,
1769,
202,
202,
334,
93,
1259,
1528,
2885,
1114,
273,
394,
3756,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6459,
752,
24273,
1259,
1528,
2885,
1114,
1832,
288,
202,
202,
6385,
9311,
2562,
273,
3325,
1114,
18,
588,
4236,
261,
1769,
202,
202,
334,
93,
1259,
1528,
2885,
1114,
273,
394,
3756,... |
viewConsoleItemActionPerformed(evt); | loadBugsItemActionPerformed(evt); | public void actionPerformed(java.awt.event.ActionEvent evt) { viewConsoleItemActionPerformed(evt); } | 7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/9e786b0d1a7e5b23874458bb460631bf7df21105/FindBugsFrame.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/gui/FindBugsFrame.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
26100,
12,
6290,
18,
2219,
88,
18,
2575,
18,
1803,
1133,
6324,
13,
288,
7734,
1262,
31559,
1180,
19449,
12,
73,
11734,
1769,
5411,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
918,
26100,
12,
6290,
18,
2219,
88,
18,
2575,
18,
1803,
1133,
6324,
13,
288,
7734,
1262,
31559,
1180,
19449,
12,
73,
11734,
1769,
5411,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
... |
return (FilterRule) loadClass( (String) filter_el, "FilterRule"); | return (FilterRule) loadClass( (String) filter_el, FilterRule.class); | protected FilterRule constructFilterRule(String mimeType) { Object filter_el = definitionMap.getMapElement(mimeType + AU_FILTER_SUFFIX); if (filter_el instanceof String) { return (FilterRule) loadClass( (String) filter_el, "FilterRule"); } else if (filter_el instanceof List) { if ( ( (Lis... | 8150 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8150/50e37e97a4b2e7cad04ad752a91f8e53c18a8468/DefinableArchivalUnit.java/buggy/src/org/lockss/plugin/definable/DefinableArchivalUnit.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
4008,
2175,
4872,
1586,
2175,
12,
780,
10707,
13,
288,
565,
1033,
1034,
67,
292,
273,
2379,
863,
18,
588,
863,
1046,
12,
19176,
3639,
397,
28235,
67,
11126,
67,
14964,
1769,
565,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
4008,
2175,
4872,
1586,
2175,
12,
780,
10707,
13,
288,
565,
1033,
1034,
67,
292,
273,
2379,
863,
18,
588,
863,
1046,
12,
19176,
3639,
397,
28235,
67,
11126,
67,
14964,
1769,
565,
... |
if (myValue.getClass().isArray() && other.getValue().getClass().isArray()) { return arrayEquals(other.getValue()); } else { return myKey.equals(other.getKey()) && myValue.equals(other.getValue()); } } | if (myValue.getClass().isArray() && other.getValue().getClass().isArray()) { return arrayEquals(other.getValue()); } else { return myKey.equals(other.getKey()) && myValue.equals(other.getValue()); } } | public boolean equals( Object o ) { if (!(o instanceof MapEntry)) { return false; } MapEntry other = (MapEntry)o; if (myValue.getClass().isArray() && other.getValue().getClass().isArray()) { return arrayEquals(other.getValue()); } else { return myKey.equals(other.getKey()) && myValue.equals(other.getValue()... | 2796 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2796/a917aff361c58c31c5dce12a5e8052df6803dbe1/MapEntry.java/clean/jmock/core/src/org/jmock/expectation/MapEntry.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
1606,
12,
1033,
320,
262,
288,
202,
202,
430,
16051,
12,
83,
1276,
1635,
1622,
3719,
288,
1082,
202,
2463,
629,
31,
202,
202,
97,
202,
202,
863,
1622,
1308,
273,
261,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
1606,
12,
1033,
320,
262,
288,
202,
202,
430,
16051,
12,
83,
1276,
1635,
1622,
3719,
288,
1082,
202,
2463,
629,
31,
202,
202,
97,
202,
202,
863,
1622,
1308,
273,
261,
... |
System.out.println(changeEvent.getState() + " " + d); | log.info(changeEvent.getState() + " " + d); | public void onSessionChanged(SessionChangeEvent changeEvent) { Session ses = (Session)changeEvent.getSource(); switch (changeEvent.getState()) { case STATE_CONNECTED: final String d = ses.getAllocDeviceName(); if (d != null) { System.out.println(changeEvent.getSt... | 4212 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4212/41959614f13a424f5e04ebb4ca1b8fee5af0f908/Gui5250MDIFrame.java/buggy/src/org/tn5250j/Gui5250MDIFrame.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
603,
2157,
5033,
12,
2157,
20930,
2549,
1133,
13,
288,
1377,
3877,
24138,
273,
261,
2157,
13,
3427,
1133,
18,
588,
1830,
5621,
1377,
1620,
261,
3427,
1133,
18,
588,
1119,
10756... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
603,
2157,
5033,
12,
2157,
20930,
2549,
1133,
13,
288,
1377,
3877,
24138,
273,
261,
2157,
13,
3427,
1133,
18,
588,
1830,
5621,
1377,
1620,
261,
3427,
1133,
18,
588,
1119,
10756... |
if(uploadFrom == null || uploadFrom.equalsIgnoreCase("direct")) { | if((uploadFrom == null) || uploadFrom.equalsIgnoreCase("direct")) { | public ClientPutMessage(SimpleFieldSet fs) throws MessageInvalidException { identifier = fs.get("Identifier"); if(identifier == null) throw new MessageInvalidException(ProtocolErrorMessage.MISSING_FIELD, "No Identifier", null); try { String u = fs.get("URI"); if(u == null) throw new MessageInvalidException... | 51738 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51738/ca136843ae9ecb30cadada58a33a5dc2cf8ad064/ClientPutMessage.java/buggy/src/freenet/node/fcp/ClientPutMessage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2445,
6426,
1079,
12,
5784,
974,
694,
2662,
13,
1216,
2350,
1941,
503,
288,
202,
202,
5644,
273,
2662,
18,
588,
2932,
3004,
8863,
202,
202,
430,
12,
5644,
422,
446,
13,
1082,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2445,
6426,
1079,
12,
5784,
974,
694,
2662,
13,
1216,
2350,
1941,
503,
288,
202,
202,
5644,
273,
2662,
18,
588,
2932,
3004,
8863,
202,
202,
430,
12,
5644,
422,
446,
13,
1082,
... |
final float radius = 0.03f; | final float radius = 0.015f; | public static void main(String[] args) { SunflowAPI api = SunflowAPI.create(null); api.shader("ao", new AmbientOcclusionShader()); final float size = 5; final float radius = 0.03f; final int numFrames = 24 * 16; Display display = null; if (args.length == 0) { ... | 51147 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51147/340ca3c65fd2efc9927cd494952a25e06ad8badc/DLASimulator.java/clean/src/DLASimulator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
288,
3639,
31608,
2426,
2557,
1536,
273,
31608,
2426,
2557,
18,
2640,
12,
2011,
1769,
3639,
1536,
18,
674,
1143,
2932,
6033,
3113,
394,
432,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
288,
3639,
31608,
2426,
2557,
1536,
273,
31608,
2426,
2557,
18,
2640,
12,
2011,
1769,
3639,
1536,
18,
674,
1143,
2932,
6033,
3113,
394,
432,
... |
requestRegister(ECX, cnt); | L1AHelper.requestRegister(eContext, ECX, cnt); | public final void visit_lshr() { final IntItem cnt = vstack.popInt(); final LongItem val = vstack.popLong(); final X86RegisterPool pool = eContext.getPool(); // Get cnt into ECX if (!cnt.uses(ECX)) { val.spillIfUsing(eContext, ECX); requestRegister(ECX, cnt); cnt.loadTo(eContext, ECX); } // Load val val.... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7f3f443c80552e30cb144c1a1ce760d89fa35f2b/X86BytecodeVisitor.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
3757,
67,
80,
674,
86,
1435,
288,
202,
202,
6385,
3094,
1180,
7599,
273,
19510,
18,
5120,
1702,
5621,
202,
202,
6385,
3407,
1180,
1244,
273,
19510,
18,
5120,
3708,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
3757,
67,
80,
674,
86,
1435,
288,
202,
202,
6385,
3094,
1180,
7599,
273,
19510,
18,
5120,
1702,
5621,
202,
202,
6385,
3407,
1180,
1244,
273,
19510,
18,
5120,
3708,
5... |
String iconPath = "icons/full/"; try { AbstractUIPlugin plugin = (AbstractUIPlugin) Platform .getPlugin(PlatformUI.PLUGIN_ID); URL installURL = plugin.getDescriptor().getInstallURL(); URL url = new URL(installURL, iconPath + relativePath); return ImageDescriptor.createFromURL(url); } catch (MalformedURLException e) { ... | return WorkbenchImages.getWorkbenchImageDescriptor(relativePath); | protected ImageDescriptor getImageDescriptor(String relativePath) { String iconPath = "icons/full/"; //$NON-NLS-1$ try { AbstractUIPlugin plugin = (AbstractUIPlugin) Platform .getPlugin(PlatformUI.PLUGIN_ID); URL installURL = plugin.getDescriptor().getInstallUR... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/8fd0f2b4fd47f07d36004083215b102b7c5bcc8b/ResourceNavigatorActionGroup.java/clean/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/navigator/ResourceNavigatorActionGroup.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
3421,
3187,
10567,
3187,
12,
780,
12820,
13,
288,
3639,
514,
4126,
743,
273,
315,
14516,
19,
2854,
4898,
31,
4329,
3993,
17,
5106,
17,
21,
8,
3639,
775,
288,
5411,
4115,
5370,
377... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3421,
3187,
10567,
3187,
12,
780,
12820,
13,
288,
3639,
514,
4126,
743,
273,
315,
14516,
19,
2854,
4898,
31,
4329,
3993,
17,
5106,
17,
21,
8,
3639,
775,
288,
5411,
4115,
5370,
377... |
if (i.callMethod(cmp, to).isTrue()) { | if (i.callMethod(cmp, test).isTrue()) { | public IRubyObject step(RubyNumeric to, RubyNumeric step) { RubyNumeric i = this; if (step.getLongValue() == 0) { throw getRuntime().newArgumentError("step cannot be 0"); } String cmp = "<"; if (((RubyBoolean) step.callMethod("<", getRuntime().newFixnum(0))).isFalse()) ... | 46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/803c66ee682936beecc8a43fe2cfc90fe5645b22/RubyInteger.java/clean/src/org/jruby/RubyInteger.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
2235,
12,
54,
10340,
9902,
358,
16,
19817,
9902,
2235,
13,
288,
3639,
19817,
9902,
277,
273,
333,
31,
3639,
309,
261,
4119,
18,
588,
3708,
620,
1435,
422,
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,
15908,
10340,
921,
2235,
12,
54,
10340,
9902,
358,
16,
19817,
9902,
2235,
13,
288,
3639,
19817,
9902,
277,
273,
333,
31,
3639,
309,
261,
4119,
18,
588,
3708,
620,
1435,
422,
374,
... |
networks.addElement(cache); | networkAdd(cache); | public void run() { setProgressOwner(this); CacheNetworkAccess cache; logger.debug("Before networks"); if(configuredNetworks == null || configuredNetworks.length == 0) { NetworkAccess[] nets = netdc.a_finder().retrieve_all(); netDCToNetMap.put(netdc, nets); setProgressMax(this, nets.length+1);... | 52623 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52623/b183f8e71d17b20aa1e9acf1014a5ad8f36f3dd7/ChannelChooser.java/clean/src/edu/sc/seis/fissuresUtil/chooser/ChannelChooser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1086,
1435,
288,
202,
565,
444,
5491,
5541,
12,
2211,
1769,
202,
565,
4379,
3906,
1862,
1247,
31,
202,
565,
1194,
18,
4148,
2932,
4649,
13884,
8863,
202,
565,
309,
12,
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,
225,
202,
482,
918,
1086,
1435,
288,
202,
565,
444,
5491,
5541,
12,
2211,
1769,
202,
565,
4379,
3906,
1862,
1247,
31,
202,
565,
1194,
18,
4148,
2932,
4649,
13884,
8863,
202,
565,
309,
12,
16... |
public IManagedDependencyGenerator getDependencyGeneratorForExtension(String sourceExt) { | public IManagedDependencyGeneratorType getDependencyGeneratorForExtension(String sourceExt) { | public IManagedDependencyGenerator getDependencyGeneratorForExtension(String sourceExt) { return null; } | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/c7f73a40517ebbe266d35bf3a3c441c1f33003b8/ToolReference.java/clean/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/ToolReference.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
6246,
4184,
7787,
3908,
336,
7787,
3908,
1290,
3625,
12,
780,
1084,
2482,
13,
288,
202,
202,
2463,
446,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
6246,
4184,
7787,
3908,
336,
7787,
3908,
1290,
3625,
12,
780,
1084,
2482,
13,
288,
202,
202,
2463,
446,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
return(_properties.getProperty(name)); | return _properties.getProperty(name); | public String getOutputProperty(String name) throws IllegalArgumentException { if (!validOutputProperty(name)) { ErrorMsg err = new ErrorMsg(ErrorMsg.JAXP_UNKNOWN_PROP_ERR, name); throw new IllegalArgumentException(err.toString()); } return(_properties.getProperty(name)); } | 46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/ee5f7629a90e982a1395486f1cb4e74a3269d07f/TransformerImpl.java/buggy/src/org/apache/xalan/xsltc/trax/TransformerImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
11062,
1396,
12,
780,
508,
13,
202,
15069,
2754,
288,
202,
430,
16051,
877,
1447,
1396,
12,
529,
3719,
288,
202,
565,
1068,
3332,
393,
273,
394,
1068,
3332,
12,
668,
3332,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
11062,
1396,
12,
780,
508,
13,
202,
15069,
2754,
288,
202,
430,
16051,
877,
1447,
1396,
12,
529,
3719,
288,
202,
565,
1068,
3332,
393,
273,
394,
1068,
3332,
12,
668,
3332,
18... |
jj_la1[11] = jj_gen; | jj_la1[13] = jj_gen; | final public void NestedClassDeclaration() throws ParseException { /*@bgen(jjtree) NestedClassDeclaration */ ASTNestedClassDeclaration jjtn000 = new ASTNestedClassDeclaration(this, JJTNESTEDCLASSDECLARATION); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { label_5: while (true) { s... | 45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/6b2ea5d38e0b6b4adb468f80aa5e82b2d9884c6d/JavaParser.java/buggy/pmd/src/net/sourceforge/pmd/ast/JavaParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
1071,
918,
19071,
797,
6094,
1435,
1216,
10616,
288,
1748,
36,
70,
4507,
12,
78,
78,
3413,
13,
19071,
797,
6094,
1195,
225,
9183,
8649,
797,
6094,
10684,
5088,
3784,
273,
394,
9183,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19071,
797,
6094,
1435,
1216,
10616,
288,
1748,
36,
70,
4507,
12,
78,
78,
3413,
13,
19071,
797,
6094,
1195,
225,
9183,
8649,
797,
6094,
10684,
5088,
3784,
273,
394,
9183,
... |
int tempVal = AttributeVisualizationPanel.this.getWidth()-4; if (tempVal < 1) { tempVal = 1; | int intervals = as.totalCount>10 ? (int)(as.totalCount*0.1):(int)as.totalCount; if(intervals > AttributeVisualizationPanel.this.getWidth()) { intervals = AttributeVisualizationPanel.this.getWidth()-4; if(intervals<1) intervals = 1; | public void run() { synchronized (m_locker) { if(m_data.attribute(classIndex).isNominal()) { int tempVal = AttributeVisualizationPanel.this.getWidth()-4; if (tempVal < 1) { tempVal = 1; } int histClassCounts[][] = (AttributeVisualizationPanel.this.getWidth()<(int)(as.totalCount*0.1)) ? new int... | 48918 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48918/4e3f217939366bfb75cdbbae5f243491de506bd7/AttributeVisualizationPanel.java/clean/weka/gui/AttributeVisualizationPanel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
1435,
288,
1377,
3852,
261,
81,
67,
739,
264,
13,
288,
202,
430,
12,
81,
67,
892,
18,
4589,
12,
1106,
1016,
2934,
291,
26685,
1490,
10756,
288,
202,
225,
509,
1906,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
1435,
288,
1377,
3852,
261,
81,
67,
739,
264,
13,
288,
202,
430,
12,
81,
67,
892,
18,
4589,
12,
1106,
1016,
2934,
291,
26685,
1490,
10756,
288,
202,
225,
509,
1906,
3... |
Rule rule = new MockRule("name", "desc"); | Rule rule = new MockRule("name", "desc", "msg"); | public void testComparatorWithDifferentFilenames() { Rule rule = new MockRule("name", "desc"); RuleViolation.RuleViolationComparator comp = new RuleViolation.RuleViolationComparator(); RuleViolation r1 = new RuleViolation(rule, 10, "description", "filename1"); RuleViolation r2 = new Rule... | 45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/4d17923c1e55d25a2db5e2fa96f62312bc1e97bb/RuleViolationTest.java/clean/pmd/regress/test/net/sourceforge/pmd/RuleViolationTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
5559,
1190,
26270,
25579,
6809,
1435,
288,
3639,
6781,
1720,
273,
394,
7867,
2175,
2932,
529,
3113,
315,
5569,
3113,
315,
3576,
8863,
3639,
6781,
11683,
18,
2175,
11683,
55... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5559,
1190,
26270,
25579,
6809,
1435,
288,
3639,
6781,
1720,
273,
394,
7867,
2175,
2932,
529,
3113,
315,
5569,
3113,
315,
3576,
8863,
3639,
6781,
11683,
18,
2175,
11683,
55... |
if (getEditorInput() != prePage.getEditorInput()) { setInput(prePage.getEditorInput()); | if ( prePage.isDirty( ) ) { prePage.doSave( null ); | public boolean onBroughtToTop(IReportEditorPage prePage) { if (this.isMissingParameter()) { if (this.parameterDialog != null) { this.parameterDialog.open(); } return true; } if (getEditorInput() != prePage.getEditorInput()) { setInput(prePage.getEditorInput()); } if (prePage.isDirty()) { prePage.doSa... | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/e1379dc44d22afdeafb3e66d4b2a9adc8b7f4f7a/ReportPreviewFormPage.java/clean/UI/org.eclipse.birt.report.designer.ui.preview/src/org/eclipse/birt/report/designer/ui/preview/editors/ReportPreviewFormPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
603,
38,
303,
9540,
774,
3401,
12,
45,
4820,
6946,
1964,
675,
1964,
13,
288,
202,
202,
430,
261,
2211,
18,
291,
4841,
1662,
10756,
288,
1082,
202,
430,
261,
2211,
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,
1250,
603,
38,
303,
9540,
774,
3401,
12,
45,
4820,
6946,
1964,
675,
1964,
13,
288,
202,
202,
430,
261,
2211,
18,
291,
4841,
1662,
10756,
288,
1082,
202,
430,
261,
2211,
18,
... |
String label= CorrectionMessages.getFormattedString("UnresolvedElementsSubProcessor.createclassusingwizard.description", typeName); proposals.add(new NewCUCompletionUsingWizardProposal(label, cu, node, true, relevance)); | proposals.add(new NewCUCompletionUsingWizardProposal(cu, node, true, enclosingPackage, relevance)); | private static void addNewTypeProposals(ICompilationUnit cu, Name node, int kind, ArrayList proposals) { String typeName= ASTResolving.getSimpleName(node); while (true) { String addedCUName= typeName + ".java"; //$NON-NLS-1$ if (!JavaConventions.validateCompilationUnitName(addedCUName).matches(IStatus.ERROR)) { ... | 9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/988b31305987b37af88f24031d0e867f63ff179c/UnresolvedElementsSubProcessor.java/buggy/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/UnresolvedElementsSubProcessor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
918,
20973,
559,
626,
22536,
12,
45,
19184,
2802,
15985,
16,
1770,
756,
16,
509,
3846,
16,
2407,
450,
22536,
13,
288,
202,
202,
780,
8173,
33,
9183,
2903,
6282,
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,
760,
918,
20973,
559,
626,
22536,
12,
45,
19184,
2802,
15985,
16,
1770,
756,
16,
509,
3846,
16,
2407,
450,
22536,
13,
288,
202,
202,
780,
8173,
33,
9183,
2903,
6282,
18,
588,... |
public org.quickfix.field.EncodedUnderlyingIssuerLen getEncodedUnderlyingIssuerLen() throws FieldNotFound { org.quickfix.field.EncodedUnderlyingIssuerLen value = new org.quickfix.field.EncodedUnderlyingIssuerLen(); | public quickfix.field.EncodedUnderlyingIssuerLen getEncodedUnderlyingIssuerLen() throws FieldNotFound { quickfix.field.EncodedUnderlyingIssuerLen value = new quickfix.field.EncodedUnderlyingIssuerLen(); | public org.quickfix.field.EncodedUnderlyingIssuerLen getEncodedUnderlyingIssuerLen() throws FieldNotFound { org.quickfix.field.EncodedUnderlyingIssuerLen value = new org.quickfix.field.EncodedUnderlyingIssuerLen(); getField(value); return value; } | 5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/OrderMassCancelRequest.java/clean/src/java/src/quickfix/fix44/OrderMassCancelRequest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
14655,
6291,
16667,
2891,
28799,
14655,
6291,
16667,
2891,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
1465... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
14655,
6291,
16667,
2891,
28799,
14655,
6291,
16667,
2891,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
10397,
1465... |
JMenu menu = view.getWindowsMenu(); | JMenu menu = ImViewerFactory.getWindowsMenu(); | private void attachWindowListeners() { JMenu menu = view.getWindowsMenu(); menu.addMenuListener(new MenuListener() { public void menuSelected(MenuEvent e) { createWindowsMenuItems(); } /** * Required by I/F but not actually needed in our case, ... | 55464 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55464/8b5ed57b1a06841fc56344f3b4489a5dc633e6c0/ImViewerControl.java/clean/SRC/org/openmicroscopy/shoola/agents/imviewer/view/ImViewerControl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3306,
3829,
5583,
1435,
565,
288,
3639,
804,
4599,
3824,
273,
2221,
18415,
1733,
18,
588,
10399,
4599,
5621,
3639,
3824,
18,
1289,
4599,
2223,
12,
2704,
9809,
2223,
1435,
288,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3306,
3829,
5583,
1435,
565,
288,
3639,
804,
4599,
3824,
273,
2221,
18415,
1733,
18,
588,
10399,
4599,
5621,
3639,
3824,
18,
1289,
4599,
2223,
12,
2704,
9809,
2223,
1435,
288,
... |
if (MylarPlugin.getDefault().getStructureBridge(node.getStructureKind()).isDocument(node.getElementHandle())) { | if (MylarPlugin.getDefault().getStructureBridge(node.getContentKind()).isDocument(node.getElementHandle())) { | public Set<IMylarContextNode> getInterestingResources(IMylarContext context) { Set<IMylarContextNode> interestingFiles = new HashSet<IMylarContextNode>(); List<IMylarContextNode> allIntersting = context.getInteresting(); for (IMylarContextNode node : allIntersting) { if (MylarPlugin.... | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/ffea9ed89adc29b1ae1184818ee9577e822d6fde/MylarContextManager.java/clean/org.eclipse.mylyn.context.core/src/org/eclipse/mylyn/core/internal/MylarContextManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1000,
32,
3445,
93,
7901,
1042,
907,
34,
336,
2465,
10100,
3805,
12,
3445,
93,
7901,
1042,
819,
13,
288,
3639,
1000,
32,
3445,
93,
7901,
1042,
907,
34,
26122,
2697,
273,
394,
6847... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1000,
32,
3445,
93,
7901,
1042,
907,
34,
336,
2465,
10100,
3805,
12,
3445,
93,
7901,
1042,
819,
13,
288,
3639,
1000,
32,
3445,
93,
7901,
1042,
907,
34,
26122,
2697,
273,
394,
6847... |
yaccValue = ">"; src.unread(c); | src.unread(c); yaccValue = new Token(">", getPosition(null, false)); | private int yylex() { char c; boolean spaceSeen = false; boolean commandState; if (lex_strterm != null) { int tok = lex_strterm.parseString(this, src); if (tok == Tokens.tSTRING_END || tok == Tokens.tREGEXP_END) { lex_strterm = null; lex_state = LexState.EXPR_END;... | 50993 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50993/b1293eda8454686e846e2a9837b348e2983bb423/RubyYaccLexer.java/buggy/src/org/jruby/lexer/yacc/RubyYaccLexer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
677,
1362,
92,
1435,
288,
3639,
1149,
276,
31,
3639,
1250,
3476,
15160,
273,
629,
31,
3639,
1250,
1296,
1119,
31,
7734,
309,
261,
4149,
67,
701,
6408,
480,
446,
13,
288,
1082... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
509,
677,
1362,
92,
1435,
288,
3639,
1149,
276,
31,
3639,
1250,
3476,
15160,
273,
629,
31,
3639,
1250,
1296,
1119,
31,
7734,
309,
261,
4149,
67,
701,
6408,
480,
446,
13,
288,
1082... |
Map compilerOptions= null; if (input instanceof IResourceProvider) { IResource resource= ((IResourceProvider) input).getResource(); if (resource != null) { IJavaElement element= JavaCore.create(resource); if (element != null) { IJavaProject javaProject= element.getJavaProject(); if (javaProject != null) compilerOptions... | return createStructureComparator(input, buffer, doc, null); | public IStructureComparator getStructure(final Object input) { String contents= null; char[] buffer= null; IDocument doc= CompareUI.getDocument(input); if (doc == null) { if (input instanceof IStreamContentAccessor) { IStreamContentAccessor sca= (IStreamContentAccessor) input; try { contents= JavaCo... | 9698 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9698/2cc61b3806ec5eee7dc12e2ddd226ef13221c89a/JavaStructureCreator.java/buggy/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaStructureCreator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
6999,
5559,
18730,
12,
6385,
1033,
810,
13,
288,
202,
202,
780,
2939,
33,
446,
31,
202,
202,
3001,
8526,
1613,
33,
446,
31,
202,
202,
734,
504,
650,
997,
33,
11051,
537... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
467,
6999,
5559,
18730,
12,
6385,
1033,
810,
13,
288,
202,
202,
780,
2939,
33,
446,
31,
202,
202,
3001,
8526,
1613,
33,
446,
31,
202,
202,
734,
504,
650,
997,
33,
11051,
537... |
context = new LimitedScannerContext( this, scannerData.getInitialReader(), resolvedFilename, ScannerContext.ContextKind.TOP, offsetLimit ); | context = new LimitedScannerContext( this, scannerData.getInitialReader(), resolvedFilename, ScannerContext.ContextKind.TOP, offsetLimit, 0 ); | private void setupInitialContext() { String resolvedFilename = scannerData.getInitialFilename() == null ? TEXT : scannerData.getInitialFilename(); IScannerContext context = null; try { if( offsetLimit == NO_OFFSET_LIMIT ) context = new ScannerContext(scannerData.getInitialReader(), resolv... | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/7a2c6de5fb3f720d4ccf6d80c100a157056f2b77/Scanner.java/clean/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/scanner/Scanner.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
3875,
4435,
1042,
1435,
565,
288,
377,
202,
780,
4640,
5359,
273,
7683,
751,
18,
588,
4435,
5359,
1435,
422,
446,
692,
9204,
294,
7683,
751,
18,
588,
4435,
5359,
5621,
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,
1152,
918,
3875,
4435,
1042,
1435,
565,
288,
377,
202,
780,
4640,
5359,
273,
7683,
751,
18,
588,
4435,
5359,
1435,
422,
446,
692,
9204,
294,
7683,
751,
18,
588,
4435,
5359,
5621,
3... |
public void addRightFloat(Box block) { //Uu.p("adding a right float: " + block); right_floats.add(block); offset_map.put(block, getOffset()); } | 52947 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52947/9ac58abece8ac0f02983d3b07df9656b6a59c78a/BlockFormattingContext.java/buggy/src/java/org/xhtmlrenderer/layout/BlockFormattingContext.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
527,
4726,
4723,
12,
3514,
1203,
13,
288,
202,
202,
759,
57,
89,
18,
84,
2932,
3439,
279,
2145,
1431,
30,
315,
397,
1203,
1769,
3639,
2145,
67,
5659,
87,
18,
1289,
12,
2629... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
527,
4726,
4723,
12,
3514,
1203,
13,
288,
202,
202,
759,
57,
89,
18,
84,
2932,
3439,
279,
2145,
1431,
30,
315,
397,
1203,
1769,
3639,
2145,
67,
5659,
87,
18,
1289,
12,
2629... | ||
il.append(methodGen.loadCurrentNode()); il.append(new INVOKEINTERFACE(pos, 4)); | il.append(methodGen.loadContextNode()); il.append(new INVOKEINTERFACE(pos, 3)); | public void translate(ClassGenerator classGen, MethodGenerator methodGen) { final InstructionList il = methodGen.getInstructionList(); // If we're a part of an expression's preficate we want to know what // type of node we want to be looking for if (getParent() instanceof Expression) { if (getParent().getParent... | 46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/55c7e7b1d0d253233427e97e19ee63ad1f81ba31/PositionCall.java/buggy/src/org/apache/xalan/xsltc/compiler/PositionCall.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4204,
12,
797,
3908,
667,
7642,
16,
2985,
3908,
707,
7642,
13,
288,
202,
6385,
24605,
682,
14254,
273,
707,
7642,
18,
588,
11983,
682,
5621,
202,
759,
971,
732,
4565,
279,
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,
1071,
918,
4204,
12,
797,
3908,
667,
7642,
16,
2985,
3908,
707,
7642,
13,
288,
202,
6385,
24605,
682,
14254,
273,
707,
7642,
18,
588,
11983,
682,
5621,
202,
759,
971,
732,
4565,
279,
10... |
sizeDif = -sizeDif; | sizeDif = 0; | public Double identity() { int sizeMul = 1; // assuming DNA; use 3 for protein. long qAliSize = sizeMul * this.getQueryEnd() - this.getQueryStart(); long tAliSize = this.getTargetEnd() - this.getTargetStart(); long aliSize = Math.min( qAliSize, tAliSize ); if ( aliSize <= 0 ) retu... | 4335 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4335/f1c5ceaec58726a9823420ae4d836610b8ede4d5/BlatResultImpl.java/buggy/gemma-mda/src/main/java/ubic/gemma/model/genome/sequenceAnalysis/BlatResultImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3698,
4215,
1435,
288,
3639,
509,
963,
27860,
273,
404,
31,
368,
15144,
463,
11277,
31,
999,
890,
364,
14314,
18,
3639,
1525,
1043,
37,
549,
1225,
273,
963,
27860,
380,
333,
18,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3698,
4215,
1435,
288,
3639,
509,
963,
27860,
273,
404,
31,
368,
15144,
463,
11277,
31,
999,
890,
364,
14314,
18,
3639,
1525,
1043,
37,
549,
1225,
273,
963,
27860,
380,
333,
18,
5... |
WebClient webClient = new WebClient(); WebResponse webResponse = new HttpWebConnection(webClient).getResponse( | final WebClient webClient = new WebClient(); final WebResponse webResponse = new HttpWebConnection(webClient).getResponse( | public static void testHtmlUnitHomePage() throws Exception { URL htmlUnitSite = new URL("http://htmlunit.sourceforge.net"); try { URLConnection connection = htmlUnitSite.openConnection(); connection.connect(); } catch (ConnectException e) { /* sf.net's fl... | 47843 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47843/bfbb9e2a2e54bf7040308f5f0b4fd744c80370c8/HTMLParserTest.java/clean/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/HTMLParserTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
1842,
4353,
2802,
8684,
1964,
1435,
1216,
1185,
288,
3639,
1976,
1729,
2802,
4956,
273,
394,
1976,
2932,
2505,
2207,
2620,
4873,
18,
3168,
1884,
908,
18,
2758,
8863,
3639,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
1842,
4353,
2802,
8684,
1964,
1435,
1216,
1185,
288,
3639,
1976,
1729,
2802,
4956,
273,
394,
1976,
2932,
2505,
2207,
2620,
4873,
18,
3168,
1884,
908,
18,
2758,
8863,
3639,
... |
public Message create( String beginString, String msgType ) { if("0".equals(msgType)) { return new quickfix.fix41.Heartbeat(); } if("A".equals(msgType)) { return new quickfix.fix41.Logon(); } if("1".equals(msgType)) { return new quickfix.fix41.TestRequest(); } if("2".equals(msgType)) { r... | 5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/1550773ed3d856616a145b520aada7f5e496c228/MessageFactory.java/buggy/src/java/src/quickfix/fix41/MessageFactory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2350,
752,
12,
514,
2376,
780,
16,
514,
1234,
559,
262,
288,
282,
309,
2932,
20,
9654,
14963,
12,
3576,
559,
3719,
288,
377,
327,
394,
9549,
904,
18,
904,
9803,
18,
15894,
5621,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2350,
752,
12,
514,
2376,
780,
16,
514,
1234,
559,
262,
288,
282,
309,
2932,
20,
9654,
14963,
12,
3576,
559,
3719,
288,
377,
327,
394,
9549,
904,
18,
904,
9803,
18,
15894,
5621,
... | ||
_context.statManager().addRateData("netDb.lookupsMatched", 1, 0); _context.statManager().addRateData("netDb.lookupsHandled", 1, 0); | getContext().statManager().addRateData("netDb.lookupsMatched", 1, 0); getContext().statManager().addRateData("netDb.lookupsHandled", 1, 0); | private void sendData(Hash key, DataStructure data, Hash toPeer, TunnelId replyTunnel) { if (_log.shouldLog(Log.DEBUG)) _log.debug("Sending data matching key key " + key.toBase64() + " to peer " + toPeer.toBase64() + " tunnel " + replyTunnel); DatabaseStoreMessage msg... | 27493 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27493/e737e5c9507ed0d463dc9e45a8f63657f466b177/HandleDatabaseLookupMessageJob.java/buggy/router/java/src/net/i2p/router/networkdb/HandleDatabaseLookupMessageJob.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1366,
751,
12,
2310,
498,
16,
1910,
6999,
501,
16,
2474,
358,
6813,
16,
399,
8564,
548,
4332,
20329,
13,
288,
3639,
309,
261,
67,
1330,
18,
13139,
1343,
12,
1343,
18,
9394,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1366,
751,
12,
2310,
498,
16,
1910,
6999,
501,
16,
2474,
358,
6813,
16,
399,
8564,
548,
4332,
20329,
13,
288,
3639,
309,
261,
67,
1330,
18,
13139,
1343,
12,
1343,
18,
9394,
... |
super(data); | this(defaultMessage); | public ShortMessage(byte[] data) { super(data); } | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/563d61706c08a9c62b0e997a1e5a45e90d1e8cd7/ShortMessage.java/buggy/core/src/classpath/javax/javax/sound/midi/ShortMessage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
7925,
1079,
12,
7229,
8526,
501,
13,
225,
288,
565,
333,
12,
1886,
1079,
1769,
225,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
282,
1071,
7925,
1079,
12,
7229,
8526,
501,
13,
225,
288,
565,
333,
12,
1886,
1079,
1769,
225,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
public org.quickfix.field.RelatdSym getRelatdSym() throws FieldNotFound { org.quickfix.field.RelatdSym value = new org.quickfix.field.RelatdSym(); | public quickfix.field.RelatdSym getRelatdSym() throws FieldNotFound { quickfix.field.RelatdSym value = new quickfix.field.RelatdSym(); | public org.quickfix.field.RelatdSym getRelatdSym() throws FieldNotFound { org.quickfix.field.RelatdSym value = new org.quickfix.field.RelatdSym(); getField(value); return value; } | 8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/News.java/buggy/src/java/src/quickfix/fix41/News.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
1971,
270,
72,
11901,
336,
1971,
270,
72,
11901,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
1971,
270,
72,
11901,
46... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
1971,
270,
72,
11901,
336,
1971,
270,
72,
11901,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
1971,
270,
72,
11901,
46... |
protected String format(LocoNetMessage l) { boolean showStatus = false; /* show track status in this message? */ int minutes; // temporary time values int hours; switch (l.getOpCode()) { /*************************** * ; 2 Byte MESSAGE OPCODES *... | 213 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/213/4a837d20a59978313a3b2ca9554db41b11210910/Llnmon.java/buggy/jmri/jmrix/loconet/locomon/Llnmon.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
514,
740,
12,
1333,
83,
7308,
1079,
328,
13,
288,
7734,
1250,
2405,
1482,
273,
629,
31,
282,
1748,
2405,
3298,
1267,
316,
333,
883,
35,
1195,
540,
202,
474,
6824,
31,
225,
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,
514,
740,
12,
1333,
83,
7308,
1079,
328,
13,
288,
7734,
1250,
2405,
1482,
273,
629,
31,
282,
1748,
2405,
3298,
1267,
316,
333,
883,
35,
1195,
540,
202,
474,
6824,
31,
225,
368,
... | ||
gopher.l = l; CrossProductResidue r = (CrossProductResidue) ourResidues.get(gopher); | CrossProductResidue r; synchronized(gopher) { gopher.l = l; r = (CrossProductResidue) ourResidues.get(gopher); } | public CrossProductResidue getResidue(List l) throws IllegalAlphabetException { gopher.l = l; CrossProductResidue r = (CrossProductResidue) ourResidues.get(gopher); if (r == null) { throw new IllegalAlphabetException( "Unable to find CrossProduct residue for " + l + " in alphabet " + getNa... | 50115 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50115/dc7b3edc7f85e7b94903a263787fdbfcd26d71e3/SimpleCrossProductAlphabet.java/buggy/src/org/biojava/bio/seq/tools/SimpleCrossProductAlphabet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
19742,
4133,
607,
23965,
31792,
23965,
12,
682,
328,
13,
1216,
2141,
27316,
503,
288,
565,
22096,
1614,
18,
80,
273,
328,
31,
565,
19742,
4133,
607,
23965,
436,
273,
261,
13941,
413... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19742,
4133,
607,
23965,
31792,
23965,
12,
682,
328,
13,
1216,
2141,
27316,
503,
288,
565,
22096,
1614,
18,
80,
273,
328,
31,
565,
19742,
4133,
607,
23965,
436,
273,
261,
13941,
413... |
"ms, missing ACKs from " + ack_collector.getMissing() + " (received=" + ack_collector.getReceived() + | "ms, missing ACKs from " + ack_collector.printMissing() + " (received=" + ack_collector.printReceived() + | public void castViewChangeWithDest(View new_view, Digest digest, java.util.List members) { Message view_change_msg; GmsHeader hdr; long start, stop; ViewId vid=new_view.getVid(); int size=-1; if(members == null || members.size() == 0) members=new_... | 48949 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48949/5f54b164eba4b5bcde2aa03985f78bbe2cc05deb/GMS.java/buggy/src/org/jgroups/protocols/pbcast/GMS.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4812,
1767,
3043,
1190,
9378,
12,
1767,
394,
67,
1945,
16,
15864,
5403,
16,
2252,
18,
1367,
18,
682,
4833,
13,
288,
3639,
2350,
282,
1476,
67,
3427,
67,
3576,
31,
3639,
611,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4812,
1767,
3043,
1190,
9378,
12,
1767,
394,
67,
1945,
16,
15864,
5403,
16,
2252,
18,
1367,
18,
682,
4833,
13,
288,
3639,
2350,
282,
1476,
67,
3427,
67,
3576,
31,
3639,
611,
... |
if (linkTargetFile.exists() == false) { | if (linkTargetFile.exists()) { IStatus fileTypeStatus = validateFileType(linkTargetFile); if (fileTypeStatus.isOK() == false) return fileTypeStatus; } else if (locationStatus.getSeverity() == IStatus.OK) { | public IStatus validateLinkLocation(IResource linkHandle) { if (linkTargetField == null || linkTargetField.isDisposed()) return createStatus(IStatus.OK, ""); //$NON-NLS-1$ IWorkspace workspace = WorkbenchPlugin.getPluginWorkspace(); String linkTargetName = linkTargetField.getText(); IPath path = new Path(linkTargetNa... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/1249a6d5d0d0b1943d05cb5937bcd35b679a88d7/CreateLinkedResourceGroup.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/CreateLinkedResourceGroup.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
467,
1482,
1954,
2098,
2735,
12,
45,
1420,
1692,
3259,
13,
288,
202,
430,
261,
1232,
2326,
974,
422,
446,
747,
1692,
2326,
974,
18,
291,
1669,
7423,
10756,
202,
202,
2463,
752,
1482,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
467,
1482,
1954,
2098,
2735,
12,
45,
1420,
1692,
3259,
13,
288,
202,
430,
261,
1232,
2326,
974,
422,
446,
747,
1692,
2326,
974,
18,
291,
1669,
7423,
10756,
202,
202,
2463,
752,
1482,
1... |
public Iterator findIterator (Object instance) throws PropertyException { if (iteratorMethod != null) { Object ret = invoke(iteratorMethod, instance, null); if (ret instanceof Iterator) { return (Iterator) ret; } else if (ret instanceof Enumeration) { return new EnumIterator((Enumeration) ret); } else if (ret instanceo... | public Iterator findIterator(Object instance) throws PropertyException { if (iteratorMethod != null) { Object ret = invoke(iteratorMethod, instance, null); if (ret instanceof Iterator) { return (Iterator) ret; } else if (ret instanceof Enumeration) { return new EnumIterator((Enumeration) ret); } else if (ret instanceof... | public Iterator findIterator (Object instance) throws PropertyException { if (iteratorMethod != null) { Object ret = invoke(iteratorMethod, instance, null); if (ret instanceof Iterator) { return (Iterator) ret; } else ... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/67ca4e7044b0f2675e520acfb786c52497facbe2/PropertyOperatorCache.java/buggy/webmacro/src/org/webmacro/engine/PropertyOperatorCache.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4498,
1104,
3198,
261,
921,
791,
13,
5411,
1216,
4276,
503,
565,
288,
3639,
309,
261,
9838,
1305,
480,
446,
13,
3639,
288,
5411,
1033,
325,
273,
4356,
12,
9838,
1305,
16,
791,
16,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4498,
1104,
3198,
261,
921,
791,
13,
5411,
1216,
4276,
503,
565,
288,
3639,
309,
261,
9838,
1305,
480,
446,
13,
3639,
288,
5411,
1033,
325,
273,
4356,
12,
9838,
1305,
16,
791,
16,... |
m_tcpPort = port; | m_tcpPort = TCP_PORT; | TcpServer(Fiber parent, List handlers, int port ) throws IOException { m_parent = parent; m_tcpPort = port; m_tcpSock = new ServerSocket(m_tcpPort); m_receivers = new LinkedList(); m_stop = false; m_context = null; m_handlers= handlers; m_logPrefix = org.opennms.netmgt.eventd.Eventd.LOG4J_CATEGORY; m_rec... | 25465 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25465/b3612967cb053036bdb295ee74cb2e369c6ca18d/TcpServer.java/buggy/src/services/org/opennms/netmgt/eventd/adaptors/tcp/TcpServer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
27591,
2081,
12,
22041,
982,
16,
987,
4919,
16,
509,
1756,
262,
202,
202,
15069,
1860,
202,
95,
202,
202,
81,
67,
2938,
225,
273,
982,
31,
202,
202,
81,
67,
14832,
2617,
273,
175... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
27591,
2081,
12,
22041,
982,
16,
987,
4919,
16,
509,
1756,
262,
202,
202,
15069,
1860,
202,
95,
202,
202,
81,
67,
2938,
225,
273,
982,
31,
202,
202,
81,
67,
14832,
2617,
273,
175... |
org.exist.xquery.parser.XQueryAST tmp189_AST = null; tmp189_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp189_AST); | org.exist.xquery.parser.XQueryAST tmp190_AST = null; tmp190_AST = (org.exist.xquery.parser.XQueryAST)astFactory.create(LT(1)); astFactory.makeASTRoot(currentAST, tmp190_AST); | public final void multiplicativeExpr() throws RecognitionException, TokenStreamException, XPathException { returnAST = null; ASTPair currentAST = new ASTPair(); org.exist.xquery.parser.XQueryAST multiplicativeExpr_AST = null; unaryExpr(); astFactory.addASTChild(currentAST, returnAST); { _loop169: do { if... | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/10544e5ec103a411822c6180ed81ef38eab15de8/XQueryParser.java/buggy/src/org/exist/xquery/parser/XQueryParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
3309,
28884,
4742,
1435,
1216,
9539,
16,
3155,
1228,
503,
16,
10172,
503,
288,
9506,
202,
2463,
9053,
273,
446,
31,
202,
202,
9053,
4154,
783,
9053,
273,
394,
9183,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3309,
28884,
4742,
1435,
1216,
9539,
16,
3155,
1228,
503,
16,
10172,
503,
288,
9506,
202,
2463,
9053,
273,
446,
31,
202,
202,
9053,
4154,
783,
9053,
273,
394,
9183,
... |
if (this.resultId != 0) { int currentRow = getResultCount(); setResultRows(currentRow); if (isError()) { Exception ex = getException(); setError(null); setException(null); | int currentRow = 0; if (this.resultId != 0) { try { currentRow = database.getNumRows(resultId); setResultRows(currentRow); } catch (Exception ex){ logger.error("Get number of results failed. Exception caught in UserManager. Details: "+ex.getMessage()); | public void processResult(int from, int count) throws Exception { if (this.resultId != 0) { int currentRow = getResultCount(); setResultRows(currentRow); if (isError()) { Exception ex = getException(); setError(null); setEx... | 57211 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57211/4ce496b391a312d560b94be94ee4ceb687bfc0a5/UserManager.java/clean/trunk/src/net/sf/plantlore/client/user/UserManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1207,
1253,
12,
474,
628,
16,
509,
1056,
13,
1216,
1185,
288,
7734,
309,
261,
2211,
18,
2088,
548,
480,
374,
13,
288,
5411,
509,
31185,
273,
8601,
1380,
5621,
5411,
21582,
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,
918,
1207,
1253,
12,
474,
628,
16,
509,
1056,
13,
1216,
1185,
288,
7734,
309,
261,
2211,
18,
2088,
548,
480,
374,
13,
288,
5411,
509,
31185,
273,
8601,
1380,
5621,
5411,
21582,
43... |
Account account = prov.get(AccountBy.NAME, username); | Account account = prov.get(AccountBy.name, username); | boolean doLOGIN(String tag, String username, String password) throws IOException { if (!checkState(tag, ImapSession.STATE_NOT_AUTHENTICATED)) return CONTINUE_PROCESSING; else if (!mStartedTLS && !allowCleartextLogin()) { sendNO(tag, "cleartext logins disabled"); return... | 6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/fd0f862d7df8ece6c184e0d4602c7c3b874e5623/OzImapConnectionHandler.java/clean/ZimbraServer/src/java/com/zimbra/cs/imap/OzImapConnectionHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1250,
741,
19022,
12,
780,
1047,
16,
514,
2718,
16,
514,
2201,
13,
1216,
1860,
288,
3639,
309,
16051,
1893,
1119,
12,
2692,
16,
467,
1458,
2157,
18,
7998,
67,
4400,
67,
25114,
6344,
371... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1250,
741,
19022,
12,
780,
1047,
16,
514,
2718,
16,
514,
2201,
13,
1216,
1860,
288,
3639,
309,
16051,
1893,
1119,
12,
2692,
16,
467,
1458,
2157,
18,
7998,
67,
4400,
67,
25114,
6344,
371... |
final ArrayList<FocusTrackback> stack = getStackForRoot(myRoot); | final List<FocusTrackback> stack = getStackForRoot(myRoot); | public FocusTrackback(Object requestor, Window parent) { myRequestor = requestor; myParentWindow = parent; if (ApplicationManager.getApplication().isUnitTestMode() || SystemInfo.isWindows) return; register(parent); final ArrayList<FocusTrackback> stack = getStackForRoot(myRoot); if (stack.indexOf(th... | 17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/81fc6eec603453d2027dd6381b24767971ee6c45/FocusTrackback.java/buggy/source/com/intellij/ui/FocusTrackback.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
478,
4560,
4402,
823,
12,
921,
590,
280,
16,
6076,
982,
13,
288,
565,
3399,
691,
280,
273,
590,
280,
31,
565,
3399,
3054,
3829,
273,
982,
31,
565,
309,
261,
3208,
1318,
18,
588,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
478,
4560,
4402,
823,
12,
921,
590,
280,
16,
6076,
982,
13,
288,
565,
3399,
691,
280,
273,
590,
280,
31,
565,
3399,
3054,
3829,
273,
982,
31,
565,
309,
261,
3208,
1318,
18,
588,... |
CreateEMWindow(); | CreateEMWindow(url, NewWindowListener.CHROME_ALL); | public EmbeddedMozillaImpl() { CreateEMWindow();} | 54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/c51f266635955ea9a40fa057209a78cf7b0fb900/EmbeddedMozillaImpl.java/buggy/java/webclient/classes_spec/org/mozilla/webclient/test/EmbeddedMozillaImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
21829,
49,
11142,
10745,
2828,
1435,
288,
225,
1788,
3375,
3829,
5621,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
21829,
49,
11142,
10745,
2828,
1435,
288,
225,
1788,
3375,
3829,
5621,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
throws XOMException { ElementDef def = null; try { Object[] args = new Object[1]; args[0] = elt; def = (ElementDef)(rootConstructor.newInstance(args)); } catch (InstantiationException ex) { throw new XOMException("Unable to instantiate holder class " + rootDef.getName() + ": " + ex.getMessage()); } catch (IllegalAccess... | throws XOMException { ElementDef def = null; try { Object[] args = new Object[1]; args[0] = elt; def = (ElementDef)(rootConstructor.newInstance(args)); } catch (InstantiationException ex) { throw new XOMException("Unable to instantiate holder class " + rootDef.getName() + ": " + ex.getMessage()); } catch (IllegalAccess... | private ElementDef instantiate(DOMWrapper elt) throws XOMException { ElementDef def = null; try { Object[] args = new Object[1]; args[0] = elt; def = (ElementDef)(rootConstructor.newInstance(args)); } catch (InstantiationException ex) { throw new XOMException("Unable to instantiate holder class " ... | 4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/b5b5168edc3af09cb74945a80b0c36e6630ed502/MetaTester.java/buggy/src/main/mondrian/xom/MetaTester.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
3010,
3262,
10275,
12,
8168,
3611,
11572,
13,
202,
202,
15069,
1139,
1872,
503,
202,
95,
202,
202,
1046,
3262,
1652,
273,
446,
31,
202,
202,
698,
288,
1082,
202,
921,
8526,
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,
225,
202,
1152,
3010,
3262,
10275,
12,
8168,
3611,
11572,
13,
202,
202,
15069,
1139,
1872,
503,
202,
95,
202,
202,
1046,
3262,
1652,
273,
446,
31,
202,
202,
698,
288,
1082,
202,
921,
8526,
8... |
private void setSource(VehicleCollection source) { VehicleIterator iter = source.iterator(); while(iter.hasNext()) addUnit(iter.next()); // source.addMspCollectionEventListener(this); } | 49678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49678/5fda2950c143ad8d1b0e934bde42458164834421/VehicleTableModel.java/buggy/org/mars_sim/msp/ui/standard/tool/monitor/VehicleTableModel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
18913,
12,
58,
73,
18870,
2532,
1084,
13,
288,
202,
202,
58,
73,
18870,
3198,
1400,
273,
1084,
18,
9838,
5621,
202,
202,
17523,
12,
2165,
18,
5332,
2134,
10756,
527,
280... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
18913,
12,
58,
73,
18870,
2532,
1084,
13,
288,
202,
202,
58,
73,
18870,
3198,
1400,
273,
1084,
18,
9838,
5621,
202,
202,
17523,
12,
2165,
18,
5332,
2134,
10756,
527,
280... | ||
assertTrue("d) Failed on tertiary difference", c.compare(o, o2) == 0); | assertEquals("d) Failed on tertiary difference", 0, c.compare(o, o2)); | public void test_compareLjava_lang_ObjectLjava_lang_Object() { Collator c = Collator.getInstance(Locale.FRENCH); Object o, o2; c.setStrength(Collator.IDENTICAL); o = "E"; o2 = "F"; assertTrue("a) Failed on primary difference", c.compare(o, o2) < 0); o = "e"; o2 = "\u00e9"; assertTrue("a) Failed on secondary d... | 54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/aa7f5ac38085143bcf2542c95a675411434e9ae6/CollatorTest.java/clean/modules/text/src/test/java/org/apache/harmony/text/tests/java/text/CollatorTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
67,
9877,
21159,
67,
4936,
67,
921,
21159,
67,
4936,
67,
921,
1435,
288,
202,
202,
13535,
639,
276,
273,
17596,
639,
18,
588,
1442,
12,
3916,
18,
42,
24296,
1792,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
67,
9877,
21159,
67,
4936,
67,
921,
21159,
67,
4936,
67,
921,
1435,
288,
202,
202,
13535,
639,
276,
273,
17596,
639,
18,
588,
1442,
12,
3916,
18,
42,
24296,
1792,
... |
while (! additionalPath.segments.isEmpty()) { additionalHead = (IntLine) additionalPath.segments.removeFirst(); | while (i.hasNext()) { additionalHead = (IntLine) i.next(); | public Point moveTailTo(TrainPath additionalPath) { IntLine additionalHead = (IntLine) additionalPath.segments.removeFirst(); IntLine tail = getLastSegment(); Point oldHeadPoint = new Point (additionalHead.x1, additionalHead.y1); if (tail.getDirection() == additionalHead.getDirection()) { tail.append(additi... | 9170 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9170/bfd6774f5be1d037bbcc2f2732e4b72ea8102291/TrainPath.java/buggy/railz/src/jfreerails/world/train/TrainPath.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4686,
3635,
12363,
774,
12,
23419,
743,
3312,
743,
13,
288,
202,
1702,
1670,
3312,
1414,
273,
261,
1702,
1670,
13,
202,
565,
3312,
743,
18,
12838,
18,
4479,
3759,
5621,
202,
1702,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4686,
3635,
12363,
774,
12,
23419,
743,
3312,
743,
13,
288,
202,
1702,
1670,
3312,
1414,
273,
261,
1702,
1670,
13,
202,
565,
3312,
743,
18,
12838,
18,
4479,
3759,
5621,
202,
1702,
... |
return new Object[]{"UTF-8", null}; | return new Object[]{"UTF-8", null, Boolean.FALSE}; | private Object[] getEncodingName(byte[] b4, int count) { if (count < 2) { return new Object[]{"UTF-8", null}; } // UTF-16, with BOM int b0 = b4[0] & 0xFF; int b1 = b4[1] & 0xFF; if (b0 == 0xFE && b1 == 0xFF) { // UTF-16, big-endian return ne... | 26330 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/26330/7e55d59e7a32637ca63b2cec65835a56dd760a98/XMLEncodingDetector.java/buggy/java/org/apache/jasper/xmlparser/XMLEncodingDetector.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1033,
8526,
29505,
461,
12,
7229,
8526,
324,
24,
16,
509,
1056,
13,
288,
3639,
309,
261,
1883,
411,
576,
13,
288,
5411,
327,
394,
1033,
63,
7073,
6,
5159,
17,
28,
3113,
446,
16,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1033,
8526,
29505,
461,
12,
7229,
8526,
324,
24,
16,
509,
1056,
13,
288,
3639,
309,
261,
1883,
411,
576,
13,
288,
5411,
327,
394,
1033,
63,
7073,
6,
5159,
17,
28,
3113,
446,
16,... |
else | else | public final SelectionKey register (Selector selin, int ops, Object att) throws ClosedChannelException { if (!isOpen ()) throw new ClosedChannelException(); SelectionKey k = null; AbstractSelector selector = (AbstractSelector) selin; synchronized (LOCK) { k = locate (selector); if (k... | 27835 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27835/f851ffbfdbf05aefe9acc61f2645a3318e3c201c/AbstractSelectableChannel.java/clean/libjava/java/nio/channels/spi/AbstractSelectableChannel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
727,
12977,
653,
1744,
261,
4320,
357,
267,
16,
509,
6727,
16,
1033,
2403,
13,
565,
1216,
25582,
2909,
503,
225,
288,
565,
309,
16051,
291,
3678,
1832,
13,
1377,
604,
394,
25582,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
727,
12977,
653,
1744,
261,
4320,
357,
267,
16,
509,
6727,
16,
1033,
2403,
13,
565,
1216,
25582,
2909,
503,
225,
288,
565,
309,
16051,
291,
3678,
1832,
13,
1377,
604,
394,
25582,
... |
int bufferSize) throws IOException { super(new Buffer(new PositionCache(new Summer(fs, file, overwrite, conf)), bufferSize)); | int bufferSize, short replication ) throws IOException { super(new Buffer( new PositionCache( new Summer(fs, file, overwrite, replication, conf)), bufferSize)); | public FSDataOutputStream(FileSystem fs, File file, boolean overwrite, Configuration conf, int bufferSize) throws IOException { super(new Buffer(new PositionCache(new Summer(fs, file, overwrite, conf)), bufferSize)); } | 49935 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49935/ba0ca973d8fbf49c1b7c2d29e7763226576364e8/FSDataOutputStream.java/clean/src/java/org/apache/hadoop/fs/FSDataOutputStream.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
9247,
751,
4632,
12,
11785,
2662,
16,
1387,
585,
16,
18701,
1250,
6156,
16,
4659,
2195,
16,
18701,
509,
16939,
13,
565,
1216,
1860,
288,
565,
2240,
12,
2704,
3525,
12,
2704,
11010,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9247,
751,
4632,
12,
11785,
2662,
16,
1387,
585,
16,
18701,
1250,
6156,
16,
4659,
2195,
16,
18701,
509,
16939,
13,
565,
1216,
1860,
288,
565,
2240,
12,
2704,
3525,
12,
2704,
11010,
... |
if (this.rights.getEditGroup() != null) { | if (this.plantloreUser.getRight().getEditAll() == 1) { equal = true; } if (this.rights.getEditGroup() != null) { | private void checkRights(Object data, int type) throws DBLayerException { DBLayerException ex; Session sess; // Check rights for table TAUTHORS if (data instanceof Author) { if ((type == DELETE) || (type == UPDATE)) { // Only data of the user and those l... | 57211 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57211/768f7952f9f656f5d41a6d51bcc974d36a0559b2/HibernateDBLayer.java/buggy/trunk/src/net/sf/plantlore/server/HibernateDBLayer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
866,
18464,
12,
921,
501,
16,
509,
618,
13,
1216,
2383,
4576,
503,
288,
3639,
2383,
4576,
503,
431,
31,
3639,
3877,
8451,
31,
7734,
368,
2073,
14989,
364,
1014,
399,
7131,
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,
3238,
918,
866,
18464,
12,
921,
501,
16,
509,
618,
13,
1216,
2383,
4576,
503,
288,
3639,
2383,
4576,
503,
431,
31,
3639,
3877,
8451,
31,
7734,
368,
2073,
14989,
364,
1014,
399,
7131,
14... |
i < parser.getNamespaceCount (parser.getDepth ())-1; i++) { | i <= parser.getNamespaceCount (parser.getDepth ())-1; i++) { | public void writeStartTag () throws XmlPullParserException, IOException { //check forcase when feature xml roundtrip is supported //if (parser.getFeature (FEATURE_XML_ROUNDTRIP)) { //TODO: how to do pass through string with actual start tag in getText() //return; //} if (!p... | 3949 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3949/01ca7d4eb52ddd064614b58fc473f9ea1346001b/Roundtrip.java/buggy/src/java/samples/Roundtrip.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
24961,
1805,
1832,
1216,
5714,
9629,
25746,
16,
1860,
288,
3639,
368,
1893,
364,
3593,
1347,
2572,
2025,
3643,
25125,
353,
3260,
3639,
368,
430,
261,
4288,
18,
588,
4595,
261,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
24961,
1805,
1832,
1216,
5714,
9629,
25746,
16,
1860,
288,
3639,
368,
1893,
364,
3593,
1347,
2572,
2025,
3643,
25125,
353,
3260,
3639,
368,
430,
261,
4288,
18,
588,
4595,
261,
... |
if (children.length == 0) { | if(children.length == 0){ | private void replaceIteratorNext(PsiElement element, String contentVariableName, String iteratorName, PsiElement childToSkip, StringBuffer out) { if (isIteratorNext(element, iteratorName)) { out.append(contentVariableName); } else { ... | 56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/dba8b183fc1b08e7ad664812bfc0c64d1e4abd3c/ForCanBeForeachInspection.java/clean/plugins/InspectionGadgets/src/com/siyeh/ig/verbose/ForCanBeForeachInspection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
918,
1453,
3198,
2134,
12,
52,
7722,
1046,
930,
16,
514,
913,
21519,
16,
514,
2775,
461,
16,
29159,
453,
7722,
1046,
1151,
774,
6368,
16,
6674,
596,
13,
288,
5411,
309,
261,
291,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
3238,
918,
1453,
3198,
2134,
12,
52,
7722,
1046,
930,
16,
514,
913,
21519,
16,
514,
2775,
461,
16,
29159,
453,
7722,
1046,
1151,
774,
6368,
16,
6674,
596,
13,
288,
5411,
309,
261,
291,
... |
public void setActionCommand(String s) { com = s; } | public void setActionCommand(String s) { if (actionCommand != s) { actionCommand = s; fireStateChanged(changeEvent); } } | public void setActionCommand(String s) { com = s; } | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/2703ae3b51c371a2a79d28271cd57b4046c647d0/DefaultButtonModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultButtonModel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
22517,
2189,
12,
780,
272,
13,
288,
202,
202,
832,
273,
272,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
22517,
2189,
12,
780,
272,
13,
288,
202,
202,
832,
273,
272,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
closeULTag(buffer); | closeULTag(buffer); | private void getUnitsList(Unit parentUnit, StringBuilder buffer) { openLITag(buffer); if (parentUnit.hasAnySubUnits()) { putImage(parentUnit, buffer); } buffer.append("<a href=\"").append(getContextPath()).append( "/departmentAdmOffice/functionsManagement/choose... | 2645 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2645/e17bdd6146311612f2d913a22731a9cc3ffc4548/FunctionsManagementBackingBean.java/clean/src/net/sourceforge/fenixedu/presentationTier/backBeans/departmentAdmOffice/FunctionsManagementBackingBean.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
336,
7537,
682,
12,
2802,
982,
2802,
16,
3225,
1613,
13,
288,
3639,
1696,
15716,
346,
12,
4106,
1769,
3639,
309,
261,
2938,
2802,
18,
5332,
2961,
1676,
7537,
10756,
288,
5411,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
336,
7537,
682,
12,
2802,
982,
2802,
16,
3225,
1613,
13,
288,
3639,
1696,
15716,
346,
12,
4106,
1769,
3639,
309,
261,
2938,
2802,
18,
5332,
2961,
1676,
7537,
10756,
288,
5411,
... |
public org.quickfix.field.CouponRate getCouponRate() throws FieldNotFound { org.quickfix.field.CouponRate value = new org.quickfix.field.CouponRate(); | public quickfix.field.CouponRate getCouponRate() throws FieldNotFound { quickfix.field.CouponRate value = new quickfix.field.CouponRate(); | public org.quickfix.field.CouponRate getCouponRate() throws FieldNotFound { org.quickfix.field.CouponRate value = new org.quickfix.field.CouponRate(); getField(value); return value; } | 8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/SecurityStatus.java/buggy/src/java/src/quickfix/fix43/SecurityStatus.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
22744,
4727,
19850,
9899,
4727,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
22744,
4727,
460,
273,
394,
2358,
18,
19525... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
22744,
4727,
19850,
9899,
4727,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
22744,
4727,
460,
273,
394,
2358,
18,
19525... |
returnSet.addAll(getUserRecipients(allCourseMembers)); | returnSet.add(matchingItem.getUser()); | private Set getRecipients() { Set allCourseMembers = getAllCourseMembers(); List selectedList = getSelectedComposeToList(); Set returnSet = new HashSet(); for (Iterator i = selectedList.iterator(); i.hasNext();){ String selectedItem = (String) i.next(); if (selectedItem.equals(R... | 52248 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52248/d0393d6eee68ff0564560b86de020e85fb85a327/PrivateMessagesTool.java/clean/messageforums-app/src/java/org/sakaiproject/tool/messageforums/PrivateMessagesTool.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
1000,
5561,
15079,
1435,
225,
288,
3639,
1000,
777,
39,
3117,
6918,
273,
5514,
39,
3117,
6918,
5621,
565,
987,
3170,
682,
273,
16625,
22375,
25772,
5621,
3639,
1000,
327,
694,
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,
282,
3238,
1000,
5561,
15079,
1435,
225,
288,
3639,
1000,
777,
39,
3117,
6918,
273,
5514,
39,
3117,
6918,
5621,
565,
987,
3170,
682,
273,
16625,
22375,
25772,
5621,
3639,
1000,
327,
694,
273,
... |
switch (args.length) { case 0 : return this; case 1 : return (RubyException) m_new(getRuby(), this, args); default : throw new RubyArgumentException(getRuby(), "Wrong argument count"); } | switch (args.length) { case 0 : return this; case 1 : return (RubyException) m_new(getRuby(), this, args); default : throw new RubyArgumentException(getRuby(), "Wrong argument count"); } | public RubyException m_exception(RubyObject[] args) { switch (args.length) { case 0 : return this; case 1 : return (RubyException) m_new(getRuby(), this, args); default : throw new RubyArgumentException(getRuby(), "Wrong argument count"); } } | 47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/0a7181933af700ea8025a4197f3a5ebcc08333c3/RubyException.java/buggy/org/jruby/RubyException.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
19817,
503,
312,
67,
4064,
12,
54,
10340,
921,
8526,
833,
13,
288,
202,
202,
9610,
261,
1968,
18,
2469,
13,
288,
1082,
202,
3593,
374,
294,
9506,
202,
2463,
333,
31,
1082,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
19817,
503,
312,
67,
4064,
12,
54,
10340,
921,
8526,
833,
13,
288,
202,
202,
9610,
261,
1968,
18,
2469,
13,
288,
1082,
202,
3593,
374,
294,
9506,
202,
2463,
333,
31,
1082,
2... |
return org.apache.derby.client.am.DateTime.timestampBytesToDate(dataBuffer_, columnDataPosition_[column - 1], recyclableDate_); | try { return org.apache.derby.client.am.DateTime.timestampBytesToDate(dataBuffer_, columnDataPosition_[column - 1], recyclableDate_, charsetName_[column -1]); } catch (UnsupportedEncodingException e) { throw new SqlException(agent_.logWriter_, e, "Encoding is unsupported for conversion to DATE"); } | private final java.sql.Date getDateFromTIMESTAMP(int column) throws SqlException { return org.apache.derby.client.am.DateTime.timestampBytesToDate(dataBuffer_, columnDataPosition_[column - 1], recyclableDate_); } | 56322 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56322/491c5b6e92688d7480de337b81cbc1d45e56451e/Cursor.java/clean/java/client/org/apache/derby/client/am/Cursor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
727,
2252,
18,
4669,
18,
1626,
10713,
1265,
17201,
12,
474,
1057,
13,
1216,
8855,
503,
288,
3639,
327,
2358,
18,
19211,
18,
765,
1637,
18,
2625,
18,
301,
18,
5096,
18,
5508,
2160,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
727,
2252,
18,
4669,
18,
1626,
10713,
1265,
17201,
12,
474,
1057,
13,
1216,
8855,
503,
288,
3639,
327,
2358,
18,
19211,
18,
765,
1637,
18,
2625,
18,
301,
18,
5096,
18,
5508,
2160,... |
metaClass.setProperty(target,DomainClassMethods.ERRORS_PROPERTY,errors.getAllErrors()); | metaClass.setProperty(target,DomainClassMethods.ERRORS_PROPERTY,errors); | protected Object doInvokeInternal(Object target, Object[] arguments) { Errors errors = new BindException(target, target.getClass().getName()); GrailsDomainClass domainClass = application.getGrailsDomainClass( target.getClass().getName() ); Validator validator = null; if(domainClass != null) validator = applica... | 26970 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/26970/9319b2487e82433202c4b7e86c557193a7ad2ae3/ValidatePersistentMethod.java/buggy/src/persistence/org/codehaus/groovy/grails/orm/hibernate/metaclass/ValidatePersistentMethod.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
1033,
741,
10969,
3061,
12,
921,
1018,
16,
1033,
8526,
1775,
13,
288,
202,
202,
4229,
1334,
273,
394,
6936,
503,
12,
3299,
16,
1018,
18,
588,
797,
7675,
17994,
10663,
202,
20... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
1033,
741,
10969,
3061,
12,
921,
1018,
16,
1033,
8526,
1775,
13,
288,
202,
202,
4229,
1334,
273,
394,
6936,
503,
12,
3299,
16,
1018,
18,
588,
797,
7675,
17994,
10663,
202,
20... |
resolver ); | resolver ); | public RuleBaseImpl() { ObjectTypeResolver resolver = new ClassObjectTypeResolver(); this.rete = new Rete( resolver ); this.reteBuilder = new ReteBuilder( this, resolver ); this.factHandleFactory = new DefaultFactHandleFactory(); this.pkg... | 5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/a87b2c8a9b5103c50661f46e554225ed51da192b/RuleBaseImpl.java/buggy/drools-core/src/main/java/org/drools/reteoo/RuleBaseImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
6781,
2171,
2828,
1435,
288,
7734,
21338,
4301,
5039,
273,
394,
1659,
17610,
4301,
5621,
3639,
333,
18,
266,
736,
273,
394,
534,
12865,
12,
5039,
11272,
3639,
333,
18,
266,
736,
126... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6781,
2171,
2828,
1435,
288,
7734,
21338,
4301,
5039,
273,
394,
1659,
17610,
4301,
5621,
3639,
333,
18,
266,
736,
273,
394,
534,
12865,
12,
5039,
11272,
3639,
333,
18,
266,
736,
126... |
if (!delegate.isFullyStarted()) | if (!isFullyStarted()) | private void updateFromStarted() { if (!delegate.isFullyStarted()) delegate.setServerStopped(); } | 10123 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10123/c285a1d49e5bd5f7fb10e1609df1d46d094856f2/UpdateServerStateTask.java/clean/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/UpdateServerStateTask.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1089,
1265,
9217,
1435,
288,
202,
202,
430,
16051,
22216,
18,
291,
16999,
9217,
10756,
1082,
202,
22216,
18,
542,
2081,
15294,
5621,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
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,
1152,
918,
1089,
1265,
9217,
1435,
288,
202,
202,
430,
16051,
22216,
18,
291,
16999,
9217,
10756,
1082,
202,
22216,
18,
542,
2081,
15294,
5621,
202,
97,
2,
-100,
-100,
-100,
-100,
-1... |
HashMap attributes = dm.authenticate(goodCredentials, new String[] {}); | HashMap attributes = dm.authenticate(null, goodCredentials, new String[] {}); | public void testGoodAuthenticationWithoutAttributes() { // Set configuration properties. Properties config = new Properties(); config.setProperty(DirectoryManagerConfiguration.CONFIGURATION_PROPERTY, goodConfiguration); try { // Test successful authentication with empty array ... | 1637 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1637/e87879c325461797bb66534e0461f7ade58100a6/DummyDirectoryManagerTest.java/buggy/moria2/modules/moria-dm/src/test/java/no/feide/moria/directory/DummyDirectoryManagerTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
18195,
6492,
8073,
2498,
1435,
288,
3639,
368,
1000,
1664,
1790,
18,
3639,
6183,
642,
273,
394,
6183,
5621,
3639,
642,
18,
542,
1396,
12,
2853,
1318,
1750,
18,
21200,
67,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
18195,
6492,
8073,
2498,
1435,
288,
3639,
368,
1000,
1664,
1790,
18,
3639,
6183,
642,
273,
394,
6183,
5621,
3639,
642,
18,
542,
1396,
12,
2853,
1318,
1750,
18,
21200,
67,... |
public void actionPerformed( ActionEvent evt ) { getFrame( DOMInspector.this ).hide(); } | public void actionPerformed(ActionEvent evt) { getFrame(DOMInspector.this).hide(); } | public void actionPerformed( ActionEvent evt ) { getFrame( DOMInspector.this ).hide(); } | 53937 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53937/93d814d7886e593bc9bd7f476b2a18571a009aa6/DOMInspector.java/buggy/src/java/org/xhtmlrenderer/swing/DOMInspector.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
7682,
1071,
918,
26100,
12,
19641,
6324,
262,
288,
18701,
25396,
12,
4703,
19443,
18,
2211,
262,
18,
11248,
5621,
13491,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
7682,
1071,
918,
26100,
12,
19641,
6324,
262,
288,
18701,
25396,
12,
4703,
19443,
18,
2211,
262,
18,
11248,
5621,
13491,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
public AbstractContent( IContent content ) | public AbstractContent( ) | public AbstractContent( IContent content ) { this( content.getReport( ) ); this.name = content.getName( ); this.bounds = content.getBounds( ); this.x = content.getX( ); this.y = content.getY( ); this.width = content.getWidth( ); this.height = content.getHeight( ); this.hyperlink = content.getHyperlinkAction( )... | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/d6a1d0c77febe86e6fbda983160d688704b57e87/AbstractContent.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/content/impl/AbstractContent.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4115,
1350,
12,
467,
1350,
913,
262,
202,
95,
202,
202,
2211,
12,
913,
18,
588,
4820,
12,
262,
11272,
202,
202,
2211,
18,
529,
273,
913,
18,
17994,
12,
11272,
202,
202,
2211... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4115,
1350,
12,
467,
1350,
913,
262,
202,
95,
202,
202,
2211,
12,
913,
18,
588,
4820,
12,
262,
11272,
202,
202,
2211,
18,
529,
273,
913,
18,
17994,
12,
11272,
202,
202,
2211... |
String [] fieldRefResultModel = {"EntryResult: word=fieldRef/y/C/B/A, refs={ 1 }"}; | String [] fieldRefResultModel = {"EntryResult: word=fieldRef/y/C/B/A, refs={ 1 }, offsets={ [ 2161] }"}; | public void testRefs() throws Exception{ //Add a new file to the project importFile("reftest.cpp","resources/indexer/reftest.cpp"); //$NON-NLS-1$ //$NON-NLS-2$ //Make sure project got added to index IPath testProjectPath = testProject.getFullPath(); IIndex ind = sourceIndexer.getIndex(testProject... | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/985b120edf25579fa8305435a8ee93f694d389ab/SourceIndexerTests.java/buggy/core/org.eclipse.cdt.core.tests/indexer/org/eclipse/cdt/core/indexer/tests/SourceIndexerTests.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1842,
9837,
1435,
1216,
1185,
95,
1082,
225,
368,
986,
279,
394,
585,
358,
326,
1984,
1082,
225,
1930,
812,
2932,
266,
1222,
395,
18,
4057,
84,
15937,
4683,
19,
24541,
19,
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,
282,
1071,
918,
1842,
9837,
1435,
1216,
1185,
95,
1082,
225,
368,
986,
279,
394,
585,
358,
326,
1984,
1082,
225,
1930,
812,
2932,
266,
1222,
395,
18,
4057,
84,
15937,
4683,
19,
24541,
19,
26... |
suite.addTestSuite(test.ClassPatternTest.class); suite.addTestSuite(test.MethodPatternTest.class); suite.addTestSuite(test.ConstructorPatternTest.class); suite.addTestSuite(test.FieldPatternTest.class); suite.addTestSuite(test.ExceptionTest.class); suite.addTestSuite(test.MethodComparatorTest.class); suite.addTestSuite... | public static Test suite() { TestSuite suite = new TestSuite("All tests"); // definition tests suite.addTestSuite(test.ClassPatternTest.class); suite.addTestSuite(test.MethodPatternTest.class); suite.addTestSuite(test.ConstructorPatternTest.class); suite.addTestSuite(test.F... | 7954 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7954/c348135b38cae1482bbb489d82e473326972ab61/AllTests.java/clean/aspectwerkz2/src/test/test/AllTests.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
7766,
11371,
1435,
288,
3639,
7766,
13587,
11371,
273,
394,
7766,
13587,
2932,
1595,
7434,
8863,
3639,
368,
2379,
7434,
3639,
11371,
18,
1289,
4709,
13587,
12,
3813,
18,
797,
323... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7766,
11371,
1435,
288,
3639,
7766,
13587,
11371,
273,
394,
7766,
13587,
2932,
1595,
7434,
8863,
3639,
368,
2379,
7434,
3639,
11371,
18,
1289,
4709,
13587,
12,
3813,
18,
797,
323... | |
MarkerList getCurrentMarkers(){ return lastMarkers; } | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/9c327194f7a9a7699e6d64522542c2dd844398bd/MarkerAdapter.java/buggy/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerAdapter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
7078,
682,
5175,
21644,
1435,
95,
202,
202,
2463,
1142,
21644,
31,
1082,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
7078,
682,
5175,
21644,
1435,
95,
202,
202,
2463,
1142,
21644,
31,
1082,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... | ||
private static void duplicateExtensionIdentifier( DesignElementHandle source, DesignElementHandle destination ) | static void duplicateExtensionIdentifier( DesignElement source, DesignElement destination, Module sourceModule ) | private static void duplicateExtensionIdentifier( DesignElementHandle source, DesignElementHandle destination ) { // for the special oda cases, the extension id must be set before // copy properties. Otherwise, destination cannot find its ODA // properties. if ( source.getElement( ) instanceof IOdaExtendableElem... | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/109f373d0c281370aac71b18e0a0c73a11c18729/ModelUtil.java/buggy/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/util/ModelUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
918,
6751,
3625,
3004,
12,
1082,
202,
15478,
1046,
3259,
1084,
16,
29703,
1046,
3259,
2929,
262,
202,
95,
202,
202,
759,
364,
326,
4582,
320,
2414,
6088,
16,
326,
2710,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6751,
3625,
3004,
12,
1082,
202,
15478,
1046,
3259,
1084,
16,
29703,
1046,
3259,
2929,
262,
202,
95,
202,
202,
759,
364,
326,
4582,
320,
2414,
6088,
16,
326,
2710,
... |
setIcon(getOpenIcon()); | setOpenIcon(getOpenIcon()); | public Component getTreeCellRendererComponent(JTree tree, Object val, boolean selected, boolean expanded, ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/65fc7899e6a31f0880fa2d7c7f5bd6905d251de4/DefaultTreeCellRenderer.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultTreeCellRenderer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
5435,
15867,
4020,
6747,
1841,
12,
46,
2471,
2151,
16,
4766,
15604,
1033,
1244,
16,
4766,
15604,
1250,
3170,
16,
4766,
15604,
1250,
8406,
16,
4766,
15604,
1250,
7839,
16,
4766,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5435,
15867,
4020,
6747,
1841,
12,
46,
2471,
2151,
16,
4766,
15604,
1033,
1244,
16,
4766,
15604,
1250,
3170,
16,
4766,
15604,
1250,
8406,
16,
4766,
15604,
1250,
7839,
16,
4766,
... |
String defaultPrefix = MylarPlugin.getDefault().getPreferenceStore().getString(MylarTasklistPlugin.DEFAULT_URL_PREFIX); | String defaultPrefix = MylarPlugin.getDefault().getPreferenceStore().getString(MylarTaskListPlugin.DEFAULT_URL_PREFIX); | protected void setButtonStatus(){ String url = issueURLTextWidget.getText(); if (url.length() > 10 && (url.startsWith("http://") || url.startsWith("https://"))){ String defaultPrefix = MylarPlugin.getDefault().getPreferenceStore().getString(MylarTasklistPlugin.DEFAULT_URL_PREFIX); if (url.equals(defaultPrefix)... | 51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/7434c54adb9b67993df3b0ee032cca0eaf5003f3/TaskInputDialog.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/views/TaskInputDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
444,
3616,
1482,
1435,
95,
202,
202,
780,
880,
273,
5672,
1785,
1528,
4609,
18,
588,
1528,
5621,
9506,
202,
430,
261,
718,
18,
2469,
1435,
405,
1728,
597,
261,
718,
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,
1117,
918,
444,
3616,
1482,
1435,
95,
202,
202,
780,
880,
273,
5672,
1785,
1528,
4609,
18,
588,
1528,
5621,
9506,
202,
430,
261,
718,
18,
2469,
1435,
405,
1728,
597,
261,
718,
18,
... |
case Id_italics: return realThis(thisObj, f). jsFunction_italics(); | case Id_fixed: return realThis(thisObj, f).jsFunction_fixed(); | public Object execMethod (int methodId, IdFunction f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) throws JavaScriptException { switch (methodId) { case ConstructorId_fromCharCode: return jsStaticFunction_fromCharCode(args); case Id_constr... | 11366 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11366/35caf7c2bb93872680ae16e34746d94fe1e533e3/NativeString.java/buggy/js/rhino/src/org/mozilla/javascript/NativeString.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1196,
1305,
3639,
261,
474,
707,
548,
16,
3124,
2083,
284,
16,
540,
1772,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
1033,
8526,
833,
13,
3639,
1216,
11905,
503,
565,
288,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
1196,
1305,
3639,
261,
474,
707,
548,
16,
3124,
2083,
284,
16,
540,
1772,
9494,
16,
22780,
2146,
16,
22780,
15261,
16,
1033,
8526,
833,
13,
3639,
1216,
11905,
503,
565,
288,
... |
(pixels[y*width + x] & 0x00ffffff) : pixels[y*width + x]; | (pixels[y*width + x] | 0xff000000) : pixels[y*width + x]; | public int get(int x, int y) { if ((x < 0) || (y < 0) || (x >= width) || (y >= height)) return 0; return (format == RGB) ? (pixels[y*width + x] & 0x00ffffff) : pixels[y*width + x]; //(pixels[y*width + x] & 0xff000000) : pixels[y*width + x]; } | 8833 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8833/331bf24f949323923485cf63f610d7922d31946f/PImage.java/clean/core/PImage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
509,
336,
12,
474,
619,
16,
509,
677,
13,
288,
565,
309,
14015,
92,
411,
374,
13,
747,
261,
93,
411,
374,
13,
747,
261,
92,
1545,
1835,
13,
747,
261,
93,
1545,
2072,
3719,
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,
282,
1071,
509,
336,
12,
474,
619,
16,
509,
677,
13,
288,
565,
309,
14015,
92,
411,
374,
13,
747,
261,
93,
411,
374,
13,
747,
261,
92,
1545,
1835,
13,
747,
261,
93,
1545,
2072,
3719,
327... |
public CredentialsNotSetException(UMOMessage umoMessage, UMOSecurityContext context, UMOImmutableEndpoint endpoint, UMOEndpointSecurityFilter filter) | public CredentialsNotSetException(Message message, UMOMessage umoMessage) | public CredentialsNotSetException(UMOMessage umoMessage, UMOSecurityContext context, UMOImmutableEndpoint endpoint, UMOEndpointSecurityFilter filter) { super(umoMessage, context, endpoint, filter... | 28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/5f11d3c7c4a6860001997529ec9cb38955dcdcf5/CredentialsNotSetException.java/buggy/mule/src/main/java/org/mule/umo/security/CredentialsNotSetException.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
14582,
1248,
24582,
12,
2799,
51,
1079,
9570,
83,
1079,
16,
4766,
1377,
587,
5980,
28646,
819,
16,
4766,
1377,
587,
5980,
16014,
3293,
2494,
16,
4766,
1377,
587,
5980,
3293,
4368,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
14582,
1248,
24582,
12,
2799,
51,
1079,
9570,
83,
1079,
16,
4766,
1377,
587,
5980,
28646,
819,
16,
4766,
1377,
587,
5980,
16014,
3293,
2494,
16,
4766,
1377,
587,
5980,
3293,
4368,
1... |
else return id; | return id; | public String getRootPath() { String[] path = getParentPath(); if (path != null && path.length > 0) return path[0]; else return id; } | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/23cbb9b66f3df77f808e086e90482a516f0c469f/Category.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/registry/Category.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
18863,
1435,
288,
3639,
514,
8526,
589,
273,
5089,
743,
5621,
3639,
309,
261,
803,
480,
446,
597,
589,
18,
2469,
405,
374,
13,
5411,
327,
589,
63,
20,
15533,
3639,
469,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
514,
18863,
1435,
288,
3639,
514,
8526,
589,
273,
5089,
743,
5621,
3639,
309,
261,
803,
480,
446,
597,
589,
18,
2469,
405,
374,
13,
5411,
327,
589,
63,
20,
15533,
3639,
469,
5411,... |
locationEClass = createEClass(LOCATION); createEAttribute(locationEClass, LOCATION__X); createEAttribute(locationEClass, LOCATION__Y); | locationEClass = createEClass(LOCATION); createEAttribute(locationEClass, LOCATION__X); createEAttribute(locationEClass, LOCATION__Y); | public void createPackageContents() { if (isCreated) return; isCreated = true; // Create classes and their features edgeEClass = createEClass(EDGE); createEReference(edgeEClass, EDGE__SOURCE); createEReference(edgeEClass, EDGE__TARGET); createEReference(edgeEClass, EDGE__BENDPOINTS); createEReference(edgeEClas... | 1758 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1758/1d1e28c0f7853dd16bd3fe819770773ed4e61d20/NotationPackageImpl.java/buggy/org.eclipse.gmf.notation/plugins/org.eclipse.gmf.runtime.notation/src/org/eclipse/gmf/runtime/notation/impl/NotationPackageImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
752,
2261,
6323,
1435,
288,
202,
202,
430,
261,
291,
6119,
13,
327,
31,
202,
202,
291,
6119,
273,
638,
31,
202,
202,
759,
1788,
3318,
471,
3675,
4467,
202,
202,
7126,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
752,
2261,
6323,
1435,
288,
202,
202,
430,
261,
291,
6119,
13,
327,
31,
202,
202,
291,
6119,
273,
638,
31,
202,
202,
759,
1788,
3318,
471,
3675,
4467,
202,
202,
7126,
5... |
if (ref != null) { IWorkbenchPart part = ref.getPart(true); Assert.isNotNull(part); if (part instanceof MultiEditor) { IWorkbenchPartSite site = ((MultiEditor) part) | if (ref != null) { IWorkbenchPart part = ref.getPart(true); Assert.isNotNull(part); if (part instanceof MultiEditor) { IWorkbenchPartSite site = ((MultiEditor) part) | public void setActiveEditor(IEditorReference ref) { if (ref == activeEditorReference) { return; } // A part can't be activated until it is added //Assert.isTrue(ref == null || parts.contains(ref)); if (ref != null) { IWorkbenchPart part = ref.getPart(... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/1b0dac5907b7e377a3c295ce4c321d6a5feea581/PartList.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PartList.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
20669,
6946,
12,
45,
6946,
2404,
1278,
13,
288,
3639,
309,
261,
1734,
422,
2695,
6946,
2404,
13,
288,
5411,
327,
31,
3639,
289,
7734,
368,
432,
1087,
848,
1404,
506,
14892,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
20669,
6946,
12,
45,
6946,
2404,
1278,
13,
288,
3639,
309,
261,
1734,
422,
2695,
6946,
2404,
13,
288,
5411,
327,
31,
3639,
289,
7734,
368,
432,
1087,
848,
1404,
506,
14892,
3... |
System.err.println("NOTE: Using compiler class: " + | System.err.println(Messages.getString("rmi.console.08") + | public static final JavaCompiler locateJavaCompiler(boolean verbose) throws JavaCompilerException { // Checking JAVA_COMPILER_CLASS_PROPERTY. String compilerClassName = System.getProperty(JAVA_COMPILER_CLASS_PROPERTY); if (compilerClassName != null) { String... | 54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/b348e06c6dac9b88f66841b025d00af43b5afac0/JavaCompiler.java/clean/modules/rmi/src/main/java/org/apache/harmony/rmi/common/JavaCompiler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
727,
5110,
9213,
10627,
5852,
9213,
12,
6494,
3988,
13,
5411,
1216,
5110,
9213,
503,
288,
3639,
368,
24471,
21227,
67,
31075,
14668,
67,
5237,
67,
9900,
18,
3639,
514,
5274,
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,
377,
1071,
760,
727,
5110,
9213,
10627,
5852,
9213,
12,
6494,
3988,
13,
5411,
1216,
5110,
9213,
503,
288,
3639,
368,
24471,
21227,
67,
31075,
14668,
67,
5237,
67,
9900,
18,
3639,
514,
5274,
38... |
case SINGLETON_FACTORY : return m_handler.getComponentManager().getInstance(); | case SINGLETON_FACTORY : return m_handler.getComponentManager().getInstance(); | public Object getService(Bundle bundle, ServiceRegistration registration) { switch(m_metadata.getFactoryPolicy()) { case SINGLETON_FACTORY : return m_handler.getComponentManager().getInstance(); case SERVICE_FACTORY : return m_handler.getComponentManager().createInstance(); case COMP... | 45948 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45948/ade5d36d9bda6dfac49dec23cf83e543691726ab/ProvidedService.java/clean/ipojo/src/main/java/org/apache/felix/ipojo/handlers/providedservice/ProvidedService.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
6373,
12,
3405,
3440,
16,
1956,
7843,
7914,
13,
288,
377,
202,
9610,
12,
81,
67,
4165,
18,
588,
1733,
2582,
10756,
288,
377,
202,
3593,
15915,
56,
673,
67,
16193,
294,
5411,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
6373,
12,
3405,
3440,
16,
1956,
7843,
7914,
13,
288,
377,
202,
9610,
12,
81,
67,
4165,
18,
588,
1733,
2582,
10756,
288,
377,
202,
3593,
15915,
56,
673,
67,
16193,
294,
5411,... |
super ("UTF-16LE", null); | super ("UTF-16LE", new String[] { "UTF16LE", /* These names are provided by * http: */ "x-utf-16le", "ibm-1202", "ibm-13490", "ibm-17586", "UTF16_LittleEndian", "UnicodeLittleUnmarked" }); | UTF_16LE () { super ("UTF-16LE", null); } | 5916 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5916/8b9521b543363733791b0cb3aa8b0aad118ae75e/UTF_16LE.java/buggy/libjava/gnu/java/nio/charset/UTF_16LE.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
6380,
67,
2313,
900,
1832,
225,
288,
565,
2240,
7566,
5159,
17,
2313,
900,
3113,
394,
514,
8526,
288,
225,
315,
5159,
2313,
900,
3113,
1748,
8646,
1257,
854,
2112,
635,
380,
1062,
30,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6380,
67,
2313,
900,
1832,
225,
288,
565,
2240,
7566,
5159,
17,
2313,
900,
3113,
394,
514,
8526,
288,
225,
315,
5159,
2313,
900,
3113,
1748,
8646,
1257,
854,
2112,
635,
380,
1062,
30,
1... |
final int node = _node + 1; return node < _treeNodeLimit ? returnNode(_node = node) : NULL; } | final int node = _node + 1; return node < _treeNodeLimit ? returnNode(_node = node) : NULL; } | public int next() { final int node = _node + 1; return node < _treeNodeLimit ? returnNode(_node = node) : NULL; } | 2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/264066e4e3d606d5167a1f5680c45669efd7e5c9/DOMImpl.java/clean/src/org/apache/xalan/xsltc/dom/DOMImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
1024,
1435,
288,
202,
565,
727,
509,
756,
273,
389,
2159,
397,
404,
31,
202,
565,
327,
756,
411,
389,
3413,
907,
3039,
692,
327,
907,
24899,
2159,
273,
756,
13,
294,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
1024,
1435,
288,
202,
565,
727,
509,
756,
273,
389,
2159,
397,
404,
31,
202,
565,
327,
756,
411,
389,
3413,
907,
3039,
692,
327,
907,
24899,
2159,
273,
756,
13,
294,
32... |
SipURI toAddress = addressFactory.createSipURI(toUser, toSipAddress); | SipURI toAddress = addressFactory .createSipURI(toUser, toSipAddress); | public void sendInvite() { try { String fromName = "BigGuy"; String fromSipAddress = "here.com"; String fromDisplayName = "The Master Blaster"; String toSipAddress = "there.com"; String toUser = "LittleGuy"; String toDisplayName = "The Little Blister"; // create >From Header SipURI fromAddress = ad... | 3364 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3364/68c0ca844a7d5fe4a7744cbf9898184966ce0680/Shootist.java/clean/src/test/load/concurrency/Shootist.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1366,
22730,
1435,
288,
202,
202,
698,
288,
1082,
202,
780,
628,
461,
273,
315,
9901,
6099,
93,
14432,
1082,
202,
780,
628,
17550,
1887,
273,
315,
14852,
18,
832,
14432,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1366,
22730,
1435,
288,
202,
202,
698,
288,
1082,
202,
780,
628,
461,
273,
315,
9901,
6099,
93,
14432,
1082,
202,
780,
628,
17550,
1887,
273,
315,
14852,
18,
832,
14432,
... |
System.out.println("Can't execute native browser. ErrMsg is " + e.getMessage()); | System.out.println("Can't execute native browser. Error message is: " + e.getCause().getMessage()); | public void run() { // create native browser process try { if (WebBrowser.getBrowserBinary() == null) { setBrowsersInitFailReason("BrowserBinary not set"); WebBrowser.trace("browserBinary not set, system exit"); return; } ... | 46042 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46042/2e48a3c2b6c09a2a916e9b864fd3933c0da477c0/NativeEventThread.java/buggy/src/jdic/src/share/classes/org/jdesktop/jdic/browser/NativeEventThread.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
1435,
288,
3639,
368,
752,
6448,
4748,
1207,
3639,
775,
288,
5411,
309,
261,
4079,
9132,
18,
588,
9132,
5905,
1435,
422,
446,
13,
288,
1171,
15268,
13221,
2570,
3754,
838... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
368,
752,
6448,
4748,
1207,
3639,
775,
288,
5411,
309,
261,
4079,
9132,
18,
588,
9132,
5905,
1435,
422,
446,
13,
288,
1171,
15268,
13221,
2570,
3754,
838... |
return this.get(positionY - this.getWidth()); | return this.get(position - this.getWidth()); | public Object up(Object o) { int positionY = this.getY(this.indexOf(o)); if (positionY != 0) { return this.get(positionY - this.getWidth()); } else { return null; } } | 58694 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58694/f65ce438302658787d8a974be204323b67888d57/Cube.java/clean/src/org/objectweb/proactive/core/group/topology/Cube.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
731,
12,
921,
320,
13,
288,
3639,
509,
1754,
61,
273,
333,
18,
588,
61,
12,
2211,
18,
31806,
12,
83,
10019,
3639,
309,
261,
3276,
61,
480,
374,
13,
288,
5411,
327,
333,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
731,
12,
921,
320,
13,
288,
3639,
509,
1754,
61,
273,
333,
18,
588,
61,
12,
2211,
18,
31806,
12,
83,
10019,
3639,
309,
261,
3276,
61,
480,
374,
13,
288,
5411,
327,
333,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.