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 |
|---|---|---|---|---|---|---|
ZimbraSoapContext lc = getZimbraContext(context); | ZimbraSoapContext lc = getZimbraSoapContext(context); | public Element handle(Element request, Map context) throws ServiceException, SoapFaultException { ZimbraSoapContext lc = getZimbraContext(context); Element action = request.getElement(MailService.E_ACTION); String operation = action.getAttribute(MailService.A_OPERATION).toLowerCase(); St... | 6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/73c7a43f58826ebd459515a85e8460518f31e6cc/ConvAction.java/buggy/ZimbraServer/src/java/com/zimbra/cs/service/mail/ConvAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3010,
1640,
12,
1046,
590,
16,
1635,
819,
13,
1216,
16489,
16,
21789,
7083,
503,
288,
3639,
2285,
381,
15397,
20601,
1042,
9109,
273,
23448,
381,
15397,
20601,
1042,
12,
2472,
1769,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3010,
1640,
12,
1046,
590,
16,
1635,
819,
13,
1216,
16489,
16,
21789,
7083,
503,
288,
3639,
2285,
381,
15397,
20601,
1042,
9109,
273,
23448,
381,
15397,
20601,
1042,
12,
2472,
1769,
... |
fns = flatNodes.iterator(); while (fns.hasNext()) { streamGraph.parentMap.put(fns.next(), this); } | topLevelSIR = newTop; StreamItDot.printGraph(topLevelSIR, SpaceDynamicBackend .makeDotFileName("setTLSIR", topLevelSIR)); Iterator fns = flatNodes.iterator(); while (fns.hasNext()) { streamGraph.parentMap.remove(fns.next()); } graphFlattener = new GraphFlattener(topLevelSIR); topLevel = graphFlattener.top; setBott... | public void setTopLevelSIR(SIRStream newTop) { //can only call this before layout!! assert streamGraph.getLayout() == null; System.out.println(" **** CALLING SETTOPLEVELSIR **** "); topLevelSIR = newTop; //dump the graph StreamItDot.printGraph(topLevelSIR, SpaceDynamicBackend.makeDotFileName("setTLSI... | 5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/dd914c557f787cd0caa9ece1eed33102c36059e3/StaticStreamGraph.java/buggy/streams/src/at/dms/kjc/spacedynamic/StaticStreamGraph.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
27046,
2320,
54,
12,
2320,
54,
1228,
394,
3401,
13,
377,
288,
202,
759,
4169,
1338,
745,
333,
1865,
3511,
8548,
202,
11231,
1407,
4137,
18,
588,
3744,
1435,
422,
446,
31... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
27046,
2320,
54,
12,
2320,
54,
1228,
394,
3401,
13,
377,
288,
202,
759,
4169,
1338,
745,
333,
1865,
3511,
8548,
202,
11231,
1407,
4137,
18,
588,
3744,
1435,
422,
446,
31... |
if ( !isAncestorTypeValid(refNode)) { | if ( !isLegalContainer( refNode.getParentNode() ) || !isLegalContainedNode( refNode ) ) { | public void selectNode(Node refNode) throws RangeException { if( fDetach) { throw new DOMException( DOMException.INVALID_STATE_ERR, "DOM011 Invalid state"); } if ( !isAncestorTypeValid(refNode)) { throw new RangeExceptionImpl( RangeException.INVALID_NODE_TYPE_ERR... | 6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/013174179b785580fe302aeee257f2fba33fc895/RangeImpl.java/clean/src/org/apache/xerces/dom/RangeImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2027,
907,
12,
907,
1278,
907,
13,
3639,
1216,
8086,
503,
565,
288,
377,
202,
430,
12,
284,
17650,
13,
288,
377,
202,
202,
12849,
394,
4703,
503,
12,
377,
1082,
202,
8168,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2027,
907,
12,
907,
1278,
907,
13,
3639,
1216,
8086,
503,
565,
288,
377,
202,
430,
12,
284,
17650,
13,
288,
377,
202,
202,
12849,
394,
4703,
503,
12,
377,
1082,
202,
8168,
... |
Strand oStrand = new Strand(); | Strand oStrand = builder.newStrand(); | public void testSetStrandName_String() { Strand oStrand = new Strand(); oStrand.setStrandName("A"); assertEquals("A", oStrand.getStrandName()); } | 1306 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1306/67261c8143759a6ee4feb79dc1687d6dcfa25f40/StrandTest.java/buggy/src/org/openscience/cdk/test/StrandTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
694,
1585,
464,
461,
67,
780,
1435,
202,
95,
202,
202,
1585,
464,
320,
1585,
464,
273,
394,
3978,
464,
5621,
202,
202,
83,
1585,
464,
18,
542,
1585,
464,
461,
293... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
694,
1585,
464,
461,
67,
780,
1435,
202,
95,
202,
202,
1585,
464,
320,
1585,
464,
273,
394,
3978,
464,
5621,
202,
202,
83,
1585,
464,
18,
542,
1585,
464,
461,
293... |
if ( !( (ChartWithoutAxes) cm ).getSeriesDefinitions( ).isEmpty( ) ) | Map renders = rtc.getSeriesRenderers( ); if ( renders != null && !( (ChartWithoutAxes) cm ).getSeriesDefinitions( ) .isEmpty( ) ) | public final Size compute( IDisplayServer xs, Chart cm, SeriesDefinition[] seda, RunTimeContext rtc ) throws ChartException { // THREE CASES: // 1. ALL SERIES IN ONE ARRAYLIST // 2. ONE SERIES PER ARRAYLIST // 3. ALL OTHERS Legend lg = cm.getLegend( ); if ( !lg.isSetOrientation( ) ) { throw new ChartExcepti... | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/ad38cf76f1d641ada210d2a5b0551677d4e55a71/LegendBuilder.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/LegendBuilder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
6321,
3671,
12,
1599,
291,
1601,
2081,
9280,
16,
14804,
5003,
16,
1082,
202,
6485,
1852,
8526,
24336,
69,
16,
1939,
950,
1042,
436,
5111,
262,
1216,
14804,
503,
202,
95,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
6321,
3671,
12,
1599,
291,
1601,
2081,
9280,
16,
14804,
5003,
16,
1082,
202,
6485,
1852,
8526,
24336,
69,
16,
1939,
950,
1042,
436,
5111,
262,
1216,
14804,
503,
202,
95,
... |
public AbstractTableModel() { } | public AbstractTableModel() { } | public AbstractTableModel() { // TODO } // AbstractTableModel() | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/2703ae3b51c371a2a79d28271cd57b4046c647d0/AbstractTableModel.java/buggy/core/src/classpath/javax/javax/swing/table/AbstractTableModel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4115,
1388,
1488,
1435,
288,
202,
202,
759,
2660,
202,
97,
368,
4115,
1388,
1488,
1435,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
4115,
1388,
1488,
1435,
288,
202,
202,
759,
2660,
202,
97,
368,
4115,
1388,
1488,
1435,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
prev = prev.getPreviousSibling(); | prev = prev.getPreviousSibling(); | public Text replaceWholeText(String content) throws DOMException { if (needsSyncData()) { synchronizeData(); } //if the content is null Node parent = this.getParentNode(); if (content == null || content.length() == 0) { // remove current node if (p... | 6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/1db1139127c11e16043f0cbd38ab1b65575e8b32/TextImpl.java/buggy/src/org/apache/xerces/dom/TextImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3867,
1453,
2888,
790,
1528,
12,
780,
913,
13,
1216,
4703,
503,
288,
3639,
309,
261,
20600,
4047,
751,
10756,
288,
5411,
16978,
751,
5621,
3639,
289,
3639,
368,
430,
326,
913,
353,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3867,
1453,
2888,
790,
1528,
12,
780,
913,
13,
1216,
4703,
503,
288,
3639,
309,
261,
20600,
4047,
751,
10756,
288,
5411,
16978,
751,
5621,
3639,
289,
3639,
368,
430,
326,
913,
353,
... |
return maxY - minY; | return (int) (maxY - minY); | public static final int getNewHeigth(int rotation,int width,int heigth,double cosR,double sinR) { if(rotation == -90 || rotation == 90 || rotation == 270 || rotation == -270){ return width; } else if(rotation == 360 || rotation == 180 || rotation == 0){ return heigth; } int pointY1 = MathUtil.round(0 * sinR +... | 9804 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9804/c14555b08d15c3121416578aa7bbfa65ee40378e/ImageUtil.java/buggy/enough-polish-j2me/source/src/de/enough/polish/util/ImageUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
727,
509,
12654,
5256,
360,
451,
12,
474,
6752,
16,
474,
1835,
16,
474,
3904,
360,
451,
16,
9056,
4987,
54,
16,
9056,
5367,
54,
13,
202,
95,
202,
202,
430,
12,
18807,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
727,
509,
12654,
5256,
360,
451,
12,
474,
6752,
16,
474,
1835,
16,
474,
3904,
360,
451,
16,
9056,
4987,
54,
16,
9056,
5367,
54,
13,
202,
95,
202,
202,
430,
12,
18807,
... |
public OpenMap(String shapefile) { try { mapHandler = new MapHandler(); mapHandler.add(this); // Create a MapBean mapBean = getMapBean(); //get the projection and set its background color and center point // Proj proj = ... | 52623 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52623/b4ba99e860cd2a55f19b72a24ebdbc1e539d4af1/OpenMap.java/clean/src/edu/sc/seis/fissuresUtil/map/OpenMap.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3502,
863,
12,
780,
2179,
768,
13,
288,
3639,
775,
288,
5411,
852,
1503,
273,
394,
1635,
1503,
5621,
5411,
852,
1503,
18,
1289,
12,
2211,
1769,
5411,
368,
1788,
279,
1635,
3381,
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,
3502,
863,
12,
780,
2179,
768,
13,
288,
3639,
775,
288,
5411,
852,
1503,
273,
394,
1635,
1503,
5621,
5411,
852,
1503,
18,
1289,
12,
2211,
1769,
5411,
368,
1788,
279,
1635,
3381,
5... | ||
protected Control createDialogArea(Composite parent) { // create message area Control messageArea = createMessageArea(parent); // create the top level composite for the dialog area Composite composite = new Composite(parent, SWT.NULL); GridLayout layout = new GridLayout(); layout.marginHeight = 0; layout.marginWidth ... | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/3720ba900129d620e8187ec75026bd83e7642778/MessageDialog.java/buggy/bundles/org.eclipse.ui/Eclipse JFace/org/eclipse/jface/dialogs/MessageDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
3367,
2640,
6353,
5484,
12,
799,
1724,
881,
817,
15329,
202,
202,
759,
2640,
2150,
5036,
202,
3367,
2150,
5484,
33,
2640,
1079,
5484,
12,
2938,
1769,
202,
202,
759,
27350,
546,
278,
556,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
3367,
2640,
6353,
5484,
12,
799,
1724,
881,
817,
15329,
202,
202,
759,
2640,
2150,
5036,
202,
3367,
2150,
5484,
33,
2640,
1079,
5484,
12,
2938,
1769,
202,
202,
759,
27350,
546,
278,
556,... | ||
if(d > 30) d = 30; for(int i = count -1; i >= 0; i--, x += d, y += d) { | if (d > 30) d = 30; for (int i = count -1; i >= 0; i--, x += d, y += d) { | void actionPerformed(ActionEvent e) { String cmd = e.getActionCommand(); int returnValue = -1; if(cmd.equals("Cut") || cmd.equals("Copy") || cmd.equals("Paste")) { JInternalFrame f = getSelectedFrame(); if(f != null && f instanceof ActionListener) { ((Action... | 19042 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19042/bebd557da53b74c60ab8525aa96904d4cee6224c/Main.java/buggy/toolsrc/org/mozilla/javascript/tools/debugger/Main.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
26100,
12,
1803,
1133,
425,
13,
288,
3639,
514,
1797,
273,
425,
18,
588,
1803,
2189,
5621,
3639,
509,
7750,
273,
300,
21,
31,
3639,
309,
12,
4172,
18,
14963,
2932,
15812,
7923,
747... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
26100,
12,
1803,
1133,
425,
13,
288,
3639,
514,
1797,
273,
425,
18,
588,
1803,
2189,
5621,
3639,
509,
7750,
273,
300,
21,
31,
3639,
309,
12,
4172,
18,
14963,
2932,
15812,
7923,
747... |
public List constraints() throws RecognitionException { List constraints; constraints = new ArrayList(); try { // /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/lang/drl.g:642:17: ( opt_eol ( constraint[constraints] | predicate[constraints... | 31577 /local/tlutelli/issta_data/temp/all_java3context/java/2006_temp/2006/31577/35c3932466a0269c296ae52afa8a1f8048a309d2/RuleParser.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
987,
6237,
1435,
1216,
9539,
288,
6647,
987,
6237,
31,
540,
202,
202,
11967,
273,
394,
2407,
5621,
540,
202,
3639,
775,
288,
5411,
368,
342,
6588,
19,
70,
947,
19,
17300,
87,
19,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
987,
6237,
1435,
1216,
9539,
288,
6647,
987,
6237,
31,
540,
202,
202,
11967,
273,
394,
2407,
5621,
540,
202,
3639,
775,
288,
5411,
368,
342,
6588,
19,
70,
947,
19,
17300,
87,
19,
... | ||
AbstractRepositoryReportAttribute opSysAttribute = newBugModel.getAttribute(BugzillaReportElement.OP_SYS); AbstractRepositoryReportAttribute platformAttribute = newBugModel.getAttribute(BugzillaReportElement.REP_PLATFORM); | AbstractRepositoryTaskAttribute opSysAttribute = newBugModel.getAttribute(BugzillaReportElement.OP_SYS); AbstractRepositoryTaskAttribute platformAttribute = newBugModel.getAttribute(BugzillaReportElement.REP_PLATFORM); | public void setPlatformOptions(NewBugzillaReport newBugModel) { try { // A Map from Java's OS and Platform to Buzilla's Map<String, String> java2buzillaOSMap = new HashMap<String, String>(); Map<String, String> java2buzillaPlatformMap = new HashMap<String, String>(); java2buzillaPlatformMap.put("x86", "PC"); ... | 51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/79a47ddfa7ed9523e61e6b537d46299e10d722eb/AbstractBugzillaWizardPage.java/clean/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/wizard/AbstractBugzillaWizardPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
444,
8201,
1320,
12,
1908,
19865,
15990,
4820,
394,
19865,
1488,
13,
288,
202,
202,
698,
288,
1082,
202,
759,
432,
1635,
628,
5110,
1807,
5932,
471,
11810,
358,
605,
89,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
444,
8201,
1320,
12,
1908,
19865,
15990,
4820,
394,
19865,
1488,
13,
288,
202,
202,
698,
288,
1082,
202,
759,
432,
1635,
628,
5110,
1807,
5932,
471,
11810,
358,
605,
89,
... |
if (jj_scan_token(LBRACE)) return true; | if (jj_3R_39()) return true; | final private boolean jj_3R_23() { if (jj_scan_token(LBRACE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; if (jj_3_24()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; while (true) { xsp = jj_scanpos; if (jj_3_24()) { jj_scanpos... | 47007 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47007/d9311230f82f4404a6caf7a2cb902c26b0b86646/SoarParser.java/buggy/OldSoar/trunk/visualsoar/Source/edu/umich/visualsoar/parser/SoarParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
3238,
1250,
10684,
67,
23,
54,
67,
4366,
1435,
288,
565,
309,
261,
78,
78,
67,
23,
54,
67,
5520,
10756,
327,
638,
31,
565,
309,
261,
78,
78,
67,
11821,
422,
374,
597,
10684,
67... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
3238,
1250,
10684,
67,
23,
54,
67,
4366,
1435,
288,
565,
309,
261,
78,
78,
67,
23,
54,
67,
5520,
10756,
327,
638,
31,
565,
309,
261,
78,
78,
67,
11821,
422,
374,
597,
10684,
67... |
} else if (str.startsWith("\\q")){ System.exit(0); | private void doEscape(String str) throws IOException, SQLException, ArchitectException { String rest = null; if (str.length() > 2) { rest = str.substring(2); } if (str.startsWith("\\d")) { // Display if (rest == null){ throw new ArchitectException("\\d needs display arg"); } display(rest); } else if... | 53257 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53257/b70d17181701870e26f0d4a5827b62fa36a670e3/SQLRunner.java/clean/src/ca/sqlpower/architect/sqlrunner/SQLRunner.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
741,
8448,
12,
780,
609,
13,
1216,
1860,
16,
6483,
16,
16959,
15004,
503,
225,
288,
202,
202,
780,
3127,
273,
446,
31,
202,
202,
430,
261,
701,
18,
2469,
1435,
405,
57... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
741,
8448,
12,
780,
609,
13,
1216,
1860,
16,
6483,
16,
16959,
15004,
503,
225,
288,
202,
202,
780,
3127,
273,
446,
31,
202,
202,
430,
261,
701,
18,
2469,
1435,
405,
57... | |
return VERSION_EDEFAULT == null ? version != null : !VERSION_EDEFAULT.equals(version); | return isSetVersion(); | public boolean eIsSet(EStructuralFeature eFeature) { switch (eDerivedStructuralFeatureID(eFeature)) { case ModelPackage.CHART__VERSION: return VERSION_EDEFAULT == null ? version != null : !VERSION_EDEFAULT.equals(version); case ModelPackage.CHART__TYPE: ... | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/869b9dc91ef4dd13d07f589c6394484a744642f0/ChartImpl.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/impl/ChartImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
20372,
12,
41,
14372,
4595,
425,
4595,
13,
565,
288,
3639,
1620,
261,
73,
21007,
14372,
4595,
734,
12,
73,
4595,
3719,
3639,
288,
5411,
648,
3164,
2261,
18,
1792,
4928,
972,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
20372,
12,
41,
14372,
4595,
425,
4595,
13,
565,
288,
3639,
1620,
261,
73,
21007,
14372,
4595,
734,
12,
73,
4595,
3719,
3639,
288,
5411,
648,
3164,
2261,
18,
1792,
4928,
972,
... |
super(shell, WorkbenchMessages.getString("MoveResourceAction.text")); setToolTipText(WorkbenchMessages.getString("MoveResourceAction.toolTip")); setId(MoveResourceAction.ID); WorkbenchHelp.setHelp(this, IHelpContextIds.MOVE_RESOURCE_ACTION); } | super(shell, WorkbenchMessages.getString("MoveResourceAction.text")); setToolTipText(WorkbenchMessages.getString("MoveResourceAction.toolTip")); setId(MoveResourceAction.ID); WorkbenchHelp.setHelp(this, IHelpContextIds.MOVE_RESOURCE_ACTION); } | public MoveResourceAction(Shell shell) { super(shell, WorkbenchMessages.getString("MoveResourceAction.text")); //$NON-NLS-1$ setToolTipText(WorkbenchMessages.getString("MoveResourceAction.toolTip")); //$NON-NLS-1$ setId(MoveResourceAction.ID); WorkbenchHelp.setHelp(this, IHelpContextIds.MOVE_RESOURCE_ACTION);} | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/38a2f8845fe9079264dbe0964d601d25b782b63a/MoveResourceAction.java/buggy/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/actions/MoveResourceAction.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
9933,
1420,
1803,
12,
13220,
5972,
13,
288,
202,
9565,
12,
10304,
16,
4147,
22144,
5058,
18,
588,
780,
2932,
7607,
1420,
1803,
18,
955,
7923,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
202... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
9933,
1420,
1803,
12,
13220,
5972,
13,
288,
202,
9565,
12,
10304,
16,
4147,
22144,
5058,
18,
588,
780,
2932,
7607,
1420,
1803,
18,
955,
7923,
1769,
4329,
3993,
17,
5106,
17,
21,
8,
202... |
match(_t,MODULO); | match(_t,DIVIDE); | public final void sqlscalar(AST _t) throws RecognitionException { AST sqlscalar_AST_in = (_t == ASTNULL) ? null : (AST)_t; if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case PLUS: { AST __t2509 = _t; AST tmp1795_AST_in = (AST)_t; match(_t,PLUS); _t = _t.getFirstChild(); sqlscalar(_t); _t = _r... | 13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/865876f0e6319c071fef156818ff116c276cfdff/TreeParser01.java/buggy/trunk/org.prorefactor.core/src/org/prorefactor/treeparser01/TreeParser01.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
1847,
8748,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1847,
8748,
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,
1847,
8748,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
1847,
8748,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053... |
private void tokenToWords(String tokenVal) { FeatureSet tokenFeatures = tokenItem.getFeatures(); String itemName = tokenFeatures.getString("name"); int tokenLength = tokenVal.length(); | private void tokenToWords(WordRelation wordRelation, Item tokenItem, String tokenVal) { | private void tokenToWords(String tokenVal) { FeatureSet tokenFeatures = tokenItem.getFeatures(); String itemName = tokenFeatures.getString("name"); int tokenLength = tokenVal.length(); if (tokenFeatures.isPresent("phones")) { wordRelation.addWord(tokenVal); } else if ((tokenVal.equals("a") || tokenVal.eq... | 24259 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/24259/6a55df45b5e749262e5610405145a505d38c6c9e/TokenToWords.java/clean/java/de/dfki/lt/mary/modules/en/TokenToWords.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1147,
774,
7363,
12,
780,
1147,
3053,
13,
288,
3639,
202,
4595,
694,
1147,
8696,
273,
1147,
1180,
18,
588,
8696,
5621,
202,
780,
23488,
273,
1147,
8696,
18,
588,
780,
2932,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1147,
774,
7363,
12,
780,
1147,
3053,
13,
288,
3639,
202,
4595,
694,
1147,
8696,
273,
1147,
1180,
18,
588,
8696,
5621,
202,
780,
23488,
273,
1147,
8696,
18,
588,
780,
2932,
5... |
throw new NotImplementedError("not implemented"); | throw new NotImplementedError(receiver.getRuntime(), "not implemented"); | public IRubyObject callIndexed(int index, IRubyObject receiver, IRubyObject[] args) { switch (index) { case AUTOLOAD : throw new NotImplementedError("not implemented"); case BACKQUOTE : return KernelModule.backquote(receiver, args[0]); case BLOCK... | 47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/76d37f709db398798e5b6a889937559a9e75e062/Kernel.java/buggy/org/jruby/internal/runtime/builtin/definitions/Kernel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
745,
15034,
12,
474,
770,
16,
15908,
10340,
921,
5971,
16,
15908,
10340,
921,
8526,
833,
13,
288,
3639,
1620,
261,
1615,
13,
288,
5411,
648,
17191,
7783,
294,
773... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
745,
15034,
12,
474,
770,
16,
15908,
10340,
921,
5971,
16,
15908,
10340,
921,
8526,
833,
13,
288,
3639,
1620,
261,
1615,
13,
288,
5411,
648,
17191,
7783,
294,
773... |
m_report.print(org.opencms.report.Messages.get().container(org.opencms.report.Messages.RPT_SUCCESSION_2, String.valueOf(count++), String.valueOf(size)), I_CmsReport.C_FORMAT_NOTE); m_report.println(Messages.get().container(Messages.RPT_PROCESS_1, resName), I_CmsReport.C_FORMAT_NOTE); | m_report.print(org.opencms.report.Messages.get().container( org.opencms.report.Messages.RPT_SUCCESSION_2, String.valueOf(count++), String.valueOf(size)), I_CmsReport.C_FORMAT_NOTE); m_report.println(Messages.get().container(Messages.RPT_PROCESS_1, resName), I_CmsReport.C_FORMAT_NOTE); | private void reportList(List collected, boolean doReport) { int size = collected.size(); // now loop through all collected resources m_report.println(Messages.get().container(Messages.RPT_NUM_PAGES_1, new Integer(size)), I_CmsReport.C_FORMAT_HEADLINE); if (doReport) { int cou... | 51784 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51784/41dcaa9d1a1b8f8fa6c1dd9a04fc8532eb83ebb7/CmsMergePages.java/clean/src-modules/org/opencms/workplace/tools/content/CmsMergePages.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2605,
682,
12,
682,
12230,
16,
1250,
741,
4820,
13,
288,
3639,
509,
963,
273,
12230,
18,
1467,
5621,
3639,
368,
2037,
2798,
3059,
777,
12230,
2703,
3639,
312,
67,
6006,
18,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2605,
682,
12,
682,
12230,
16,
1250,
741,
4820,
13,
288,
3639,
509,
963,
273,
12230,
18,
1467,
5621,
3639,
368,
2037,
2798,
3059,
777,
12230,
2703,
3639,
312,
67,
6006,
18,
8... |
Element password = createNodeWithTextValue(document, "password", IOUtilities.xorEncode(_tvraterPlugin .getSettings().getProperty("password"), 21)); user.appendChild(password); | Element password = createNodeWithTextValue(document, "password", IOUtilities.xorEncode(_tvraterPlugin.getSettings() .getProperty("password"), 21)); user.appendChild(password); | private void writeData(OutputStream output) throws ParserConfigurationException, IOException { Document document; DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilder builder = factory.newDocumentBuilder(); document = builder.newDocument(); Elemen... | 9266 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9266/b69c693a997ea1b365c25d4057c09a4c959354a2/Updater.java/clean/tvbrowser/src/tvraterplugin/Updater.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1045,
751,
12,
4632,
876,
13,
1216,
6783,
10737,
16,
1860,
288,
3639,
4319,
1668,
31,
3639,
30236,
3272,
273,
30236,
18,
2704,
1442,
5621,
3639,
4319,
1263,
2089,
273,
3272,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1045,
751,
12,
4632,
876,
13,
1216,
6783,
10737,
16,
1860,
288,
3639,
4319,
1668,
31,
3639,
30236,
3272,
273,
30236,
18,
2704,
1442,
5621,
3639,
4319,
1263,
2089,
273,
3272,
18... |
Object obj = getProperty(name); | boolean defaultValueFlag; Object obj; PropValue value = (PropValue)properties.get(name); if(value != null) { obj = value.value; defaultValueFlag = value.defaultValue; } else { obj = getProperty(name); defaultValueFlag = true; } | public int getIntegerProperty(String name, int defaultValue) { Object obj = getProperty(name); if(obj == null) return defaultValue; if(obj instanceof Number) return ((Number)obj).intValue(); else { try { int value = Integer.parseInt(getStringProperty(name).trim()); properties.put(name,new Integer(va... | 8690 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8690/56b92e777130835e3e5f5f618717143154dc019f/Buffer.java/buggy/org/gjt/sp/jedit/Buffer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
19921,
1396,
12,
780,
508,
16,
509,
4593,
13,
202,
95,
202,
202,
921,
1081,
273,
3911,
12,
529,
1769,
202,
202,
430,
12,
2603,
422,
446,
13,
1082,
202,
2463,
4593,
31,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
19921,
1396,
12,
780,
508,
16,
509,
4593,
13,
202,
95,
202,
202,
921,
1081,
273,
3911,
12,
529,
1769,
202,
202,
430,
12,
2603,
422,
446,
13,
1082,
202,
2463,
4593,
31,
... |
public org.quickfix.field.LegProduct getLegProduct() throws FieldNotFound { org.quickfix.field.LegProduct value = new org.quickfix.field.LegProduct(); | public quickfix.field.LegProduct getLegProduct() throws FieldNotFound { quickfix.field.LegProduct value = new quickfix.field.LegProduct(); | public org.quickfix.field.LegProduct getLegProduct() throws FieldNotFound { org.quickfix.field.LegProduct value = new org.quickfix.field.LegProduct(); getField(value); return value; } | 5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/Confirmation.java/clean/src/java/src/quickfix/fix44/Confirmation.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
4133,
336,
8329,
4133,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
4133,
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,
4133,
336,
8329,
4133,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
4133,
460,
273,
394,
2358,
18,
19525,
... |
return null; | return retrieveEvents(); | public EventIterator resolveMergeConflict(SessionInfo sessionInfo, NodeId nodeId, NodeId[] mergeFailedIds, NodeId[] predecessorIds) throws VersionException, InvalidItemStateException, UnsupportedRepositoryOperationException, RepositoryException { PropPatchMethod method = null; try { List ch... | 48761 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48761/414fe0c3845e19ef26e77c48553aa370436fb257/RepositoryServiceImpl.java/buggy/contrib/spi/spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/RepositoryServiceImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2587,
3198,
2245,
6786,
10732,
12,
2157,
966,
1339,
966,
16,
2029,
548,
11507,
16,
2029,
548,
8526,
2691,
2925,
2673,
16,
2029,
548,
8526,
24282,
2673,
13,
1216,
4049,
503,
16,
1962... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2587,
3198,
2245,
6786,
10732,
12,
2157,
966,
1339,
966,
16,
2029,
548,
11507,
16,
2029,
548,
8526,
2691,
2925,
2673,
16,
2029,
548,
8526,
24282,
2673,
13,
1216,
4049,
503,
16,
1962... |
String nodeId = getContentHosting().getUuid(resId); | private Element wizardToXML(Wizard wiz, Map exportForms, Map exportFiles, List exportGuidanceIds) { Element rootNode = new Element("ospiWizard"); if(wiz == null) return rootNode; rootNode.setAttribute("formatVersion", "2.1"); Element attrNode = new Element("name"); attrNode.ad... | 48996 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48996/6ac49246f1a4c88404cea4e1482f18a00d425a76/WizardManagerImpl.java/clean/wizard/api-impl/src/java/org/theospi/portfolio/wizard/mgt/impl/WizardManagerImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
3010,
24204,
774,
4201,
12,
27130,
341,
452,
16,
1635,
3359,
18529,
16,
1635,
3359,
2697,
16,
987,
3359,
22549,
1359,
2673,
13,
282,
288,
4202,
3010,
10181,
273,
394,
3010,
2932,
53... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
3238,
3010,
24204,
774,
4201,
12,
27130,
341,
452,
16,
1635,
3359,
18529,
16,
1635,
3359,
2697,
16,
987,
3359,
22549,
1359,
2673,
13,
282,
288,
4202,
3010,
10181,
273,
394,
3010,
2932,
53... | |
org.drools.leaps.LeapsRuleBase leapsRuleBase = null; | public void testDynamicRuleRemovals() throws Exception { final PackageBuilder builder = new PackageBuilder(); builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_Dynamic1.drl" ) ) ); builder.addPackageFromDrl( new InputStreamReader( getClass().getReso... | 6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/dde741e9a64ec2acd6237192cd5e253455aa7e29/IntegrationCases.java/clean/drools-compiler/src/test/java/org/drools/integrationtests/IntegrationCases.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
9791,
2175,
4579,
1031,
1435,
1216,
1185,
288,
3639,
727,
7508,
1263,
2089,
273,
394,
7508,
1263,
5621,
3639,
2089,
18,
1289,
2261,
1265,
40,
1321,
12,
394,
15322,
12,
29... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
9791,
2175,
4579,
1031,
1435,
1216,
1185,
288,
3639,
727,
7508,
1263,
2089,
273,
394,
7508,
1263,
5621,
3639,
2089,
18,
1289,
2261,
1265,
40,
1321,
12,
394,
15322,
12,
29... | |
if (ch > 0xFF) { codecs.decoding_error("utf-8", unicode, errors, "ordinal not in range(255)"); i++; continue; } | public static String PyUnicode_DecodeUTF8(String str, String errors) { int size = str.length(); StringBuffer unicode = new StringBuffer(size); /* Unpack UTF-8 encoded data */ for (int i = 0; i < size; ) { int ch = str.charAt(i); if (ch > 0xFF) { codec... | 6527 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6527/d8392acd4441d3cae1f0e9b174e96e66d192d32e/codecs.java/clean/src/org/python/core/codecs.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
514,
4707,
16532,
67,
6615,
5159,
28,
12,
780,
609,
16,
514,
1334,
13,
288,
3639,
509,
963,
273,
609,
18,
2469,
5621,
3639,
6674,
5252,
273,
394,
6674,
12,
1467,
1769,
3639,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
514,
4707,
16532,
67,
6615,
5159,
28,
12,
780,
609,
16,
514,
1334,
13,
288,
3639,
509,
963,
273,
609,
18,
2469,
5621,
3639,
6674,
5252,
273,
394,
6674,
12,
1467,
1769,
3639,
... | |
data = c.decompress(data, fetchContext.bucketFactory, Math.max(fetchContext.maxTempLength, fetchContext.maxOutputLength), out); | data = c.decompress(data, fetchContext.bucketFactory, maxLen, maxLen * 4, out); | private void finish() { try { synchronized(this) { if(finished) { Logger.error(this, "Was already finished"); return; } finished = true; } Bucket data = finalStatus(); // Decompress while(!decompressors.isEmpty()) { Compressor c = (Compressor) decompressors.removeLast(); try { Buc... | 48807 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48807/f466a9cbfdb3a13d7bde7e38d0a46b0f45645263/SplitFileFetcher.java/clean/src/freenet/client/async/SplitFileFetcher.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
4076,
1435,
288,
202,
202,
698,
288,
1082,
202,
22043,
12,
2211,
13,
288,
9506,
202,
430,
12,
13527,
13,
288,
6862,
202,
3328,
18,
1636,
12,
2211,
16,
315,
14992,
1818,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4076,
1435,
288,
202,
202,
698,
288,
1082,
202,
22043,
12,
2211,
13,
288,
9506,
202,
430,
12,
13527,
13,
288,
6862,
202,
3328,
18,
1636,
12,
2211,
16,
315,
14992,
1818,
... |
if (info != currentInfo) | if (partClosed && info != currentInfo) | public NavigationHistory(WorkbenchPage page) { this.page = page; page.addPartListener(new IPartListener() { public void partActivated(IWorkbenchPart part) { } public void partBroughtToTop(IWorkbenchPart part) { } public void partDeactivated(IWorkb... | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/a6c0489d00806ad610aad7b827b6577ee6bfab15/NavigationHistory.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/NavigationHistory.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
22924,
5623,
12,
2421,
22144,
1964,
1363,
13,
288,
3639,
333,
18,
2433,
273,
1363,
31,
3639,
1363,
18,
1289,
1988,
2223,
12,
2704,
467,
1988,
2223,
1435,
288,
5411,
1071,
918,
1087,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
22924,
5623,
12,
2421,
22144,
1964,
1363,
13,
288,
3639,
333,
18,
2433,
273,
1363,
31,
3639,
1363,
18,
1289,
1988,
2223,
12,
2704,
467,
1988,
2223,
1435,
288,
5411,
1071,
918,
1087,... |
String name = Default.ucd.getName(s); String comp = Default.nfc.normalize(s); int cat = Default.ucd.getCategory(UTF16.charAt(comp,0)); | String name = Default.ucd().getName(s); String comp = Default.nfc().normalize(s); int cat = Default.ucd().getCategory(UTF16.charAt(comp,0)); | static void showCell(PrintWriter output, String s, String prefix, String extra, boolean skipName) { if (s.equals("\u0300")) { System.out.println(); } String name = Default.ucd.getName(s); String comp = Default.nfc.normalize(s); int cat = Default.ucd.getCategory(UT... | 5620 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5620/d1ef79fafdbbeaaf4dcbaa9d3c534754c217d955/WriteCharts.java/buggy/tools/unicodetools/com/ibm/text/UCA/WriteCharts.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
918,
2405,
4020,
12,
5108,
2289,
876,
16,
514,
272,
16,
4202,
514,
1633,
16,
514,
2870,
16,
1250,
2488,
461,
13,
288,
3639,
309,
261,
87,
18,
14963,
31458,
89,
4630,
713,
6,
3719... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
760,
918,
2405,
4020,
12,
5108,
2289,
876,
16,
514,
272,
16,
4202,
514,
1633,
16,
514,
2870,
16,
1250,
2488,
461,
13,
288,
3639,
309,
261,
87,
18,
14963,
31458,
89,
4630,
713,
6,
3719... |
long now = System.currentTimeMillis(); if(sleepUntil < now) { if(waitingClients()) break; | long now; do { now = System.currentTimeMillis(); if(now < sleepUntil) try { Thread.sleep(sleepUntil - now); } catch (InterruptedException e) { } } while(now < sleepUntil); } else { synchronized(this) { req = sched.removeFirst(); if(req != null) continue; | public void run() { long sentRequestTime = System.currentTimeMillis(); while(true) { RequestStarterClient client; client = getNextClient(); Logger.minor(this, "getNextClient() = "+client); if(client != null) { boolean success; try { success = client.send(cycleNumber); } catch (Throwable t) { ... | 50493 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50493/d32229c02576d531c915059f111c468591f30e84/RequestStarter.java/buggy/src/freenet/node/RequestStarter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1086,
1435,
288,
202,
202,
5748,
3271,
691,
950,
273,
2332,
18,
2972,
28512,
5621,
202,
202,
17523,
12,
3767,
13,
288,
1082,
202,
691,
510,
14153,
1227,
1004,
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,
918,
1086,
1435,
288,
202,
202,
5748,
3271,
691,
950,
273,
2332,
18,
2972,
28512,
5621,
202,
202,
17523,
12,
3767,
13,
288,
1082,
202,
691,
510,
14153,
1227,
1004,
31,
1082,
2... |
samps[ndx] = sum; if (log) samps[ndx] = (float) Math.log(samps[ndx] + 1); if (samps[ndx] > maxVal) maxVal = samps[ndx]; | public void plotData(boolean rescale) { if (minX < 0) minX = 0; if (minX >= width) minX = width - 1; if (maxX < 0) maxX = 0; if (maxX >= width) maxX = width - 1; if (minX > maxX) { int x = minX; minX = maxX; maxX = x; } if (minY < 0) minY = 0; if (minY >= height) minY = height -... | 11426 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11426/1de1936b126cff0a7aa0c87975d237db709e4135/SlimPlotter.java/buggy/loci/slim/SlimPlotter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
3207,
751,
12,
6494,
30323,
13,
288,
565,
309,
261,
1154,
60,
411,
374,
13,
21586,
273,
374,
31,
565,
309,
261,
1154,
60,
1545,
1835,
13,
21586,
273,
1835,
300,
404,
31,
56... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3207,
751,
12,
6494,
30323,
13,
288,
565,
309,
261,
1154,
60,
411,
374,
13,
21586,
273,
374,
31,
565,
309,
261,
1154,
60,
1545,
1835,
13,
21586,
273,
1835,
300,
404,
31,
56... | |
setDirty(true); | isDirty = true; | public void setValueHandlerExtraArgument(String extraArgument) { if (extraArgument == null) extraArgument = ""; //$NON-NLS-1$ if (valueHandlerExtraArgument == null || !valueHandlerExtraArgument.equals(extraArgument)) { valueHandlerExtraArgument = extraArgument; setDirty(true); } } | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/ed3ae35c1dc0e68c8ebc13972381dd628db1fb20/Option.java/buggy/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/Option.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
5524,
1503,
7800,
1379,
12,
780,
2870,
1379,
13,
288,
202,
202,
430,
261,
7763,
1379,
422,
446,
13,
1082,
202,
7763,
1379,
273,
1408,
31,
4329,
3993,
17,
5106,
17,
21,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
5524,
1503,
7800,
1379,
12,
780,
2870,
1379,
13,
288,
202,
202,
430,
261,
7763,
1379,
422,
446,
13,
1082,
202,
7763,
1379,
273,
1408,
31,
4329,
3993,
17,
5106,
17,
21,
... |
return !(myself.get(botid) == null); | return !(myself.hashmap.get(botid) == null); | public static boolean include(String botid) { return !(myself.get(botid) == null); } | 49735 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49735/306ee985ce74b5d4db3ea4d28a186012adbfea90/Bots.java/buggy/src/org/aitools/programd/bot/Bots.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1250,
2341,
12,
780,
2512,
350,
13,
565,
288,
3639,
327,
401,
12,
4811,
2890,
18,
2816,
1458,
18,
588,
12,
4819,
350,
13,
422,
446,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1250,
2341,
12,
780,
2512,
350,
13,
565,
288,
3639,
327,
401,
12,
4811,
2890,
18,
2816,
1458,
18,
588,
12,
4819,
350,
13,
422,
446,
1769,
565,
289,
2,
-100,
-100,
-100,
-10... |
org.drools.reteoo.RuleBaseImpl ruleBase = new org.drools.reteoo.RuleBaseImpl(); | org.drools.reteoo.RuleBaseImpl reteooRuleBase = null; org.drools.leaps.RuleBaseImpl leapsRuleBase = null; RuleBase ruleBase = getRuleBase(); if ( ruleBase instanceof org.drools.reteoo.RuleBaseImpl ) { reteooRuleBase = (org.drools.reteoo.RuleBaseImpl) ruleBase; } else if ( ruleBase instanceof org.drools.leaps.RuleBaseI... | public void testDynamicRuleRemovals() throws Exception { PackageBuilder builder = new PackageBuilder(); builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( "test_Dynamic1.drl" ) ) ); builder.addPackageFromDrl( new InputStreamReader( getClass().getResourceAsStream( ... | 5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/c8826e96f1a6270ea4a18034d6e5026fc860f759/IntegrationCases.java/buggy/drools-compiler/src/test/java/org/drools/integrationtests/IntegrationCases.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
9791,
2175,
4579,
1031,
1435,
1216,
1185,
288,
3639,
7508,
1263,
2089,
273,
394,
7508,
1263,
5621,
3639,
2089,
18,
1289,
2261,
1265,
40,
1321,
12,
394,
15322,
12,
2900,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
9791,
2175,
4579,
1031,
1435,
1216,
1185,
288,
3639,
7508,
1263,
2089,
273,
394,
7508,
1263,
5621,
3639,
2089,
18,
1289,
2261,
1265,
40,
1321,
12,
394,
15322,
12,
2900,
7... |
if (current.getTreeParent() != null && current.getTreeParent().getElementType() == ElementType.CLASS) return true; if (current.getElementType() == ElementType.METHOD) return true; if (current.getElementType() == ElementType.CLASS) return true; if (ElementType.STATEMENT_BIT_SET.isInSet(current.getElementType())) return ... | final ASTNode treeParent = current.getTreeParent(); if (treeParent == null) return true; if (treeParent.getElementType() == ElementType.BINARY_EXPRESSION) return false; return true; | private boolean isSignificantJavaElement(final ASTNode current) { if (current.getTreeParent() != null && current.getTreeParent().getElementType() == ElementType.CLASS) return true; if (current.getElementType() == ElementType.METHOD) return true; if (current.getElementType() == ElementType.CLASS) return true;... | 56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/a49b5318bd72fbf3e3be8631872394dfb312363e/CodeStyleManagerImpl.java/clean/source/com/intellij/psi/impl/source/codeStyle/CodeStyleManagerImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
1250,
353,
29822,
5852,
1046,
12,
6385,
9183,
907,
783,
13,
288,
565,
309,
261,
2972,
18,
588,
2471,
3054,
1435,
480,
446,
597,
783,
18,
588,
2471,
3054,
7675,
588,
17481,
1435,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
1250,
353,
29822,
5852,
1046,
12,
6385,
9183,
907,
783,
13,
288,
565,
309,
261,
2972,
18,
588,
2471,
3054,
1435,
480,
446,
597,
783,
18,
588,
2471,
3054,
7675,
588,
17481,
1435,
4... |
m_maxBlurSize = SCALE_DEFAULT_MAX_BLUR_SIZE; | m_maxBlurSize = CmsImageLoader.getMaxBlurSize(); | private void init() { m_height = -1; m_width = -1; m_type = 0; m_position = 0; m_renderMode = 0; m_quality = 0; m_color = Color.WHITE; m_filters = new ArrayList(); m_maxBlurSize = SCALE_DEFAULT_MAX_BLUR_SIZE; } | 8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/337fa3d0b55d4bb89fdab7c13b051950bb932daf/CmsImageScaler.java/clean/src/org/opencms/loader/CmsImageScaler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1208,
1435,
288,
3639,
312,
67,
4210,
273,
300,
21,
31,
3639,
312,
67,
2819,
273,
300,
21,
31,
3639,
312,
67,
723,
273,
374,
31,
3639,
312,
67,
3276,
273,
374,
31,
3639,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1208,
1435,
288,
3639,
312,
67,
4210,
273,
300,
21,
31,
3639,
312,
67,
2819,
273,
300,
21,
31,
3639,
312,
67,
723,
273,
374,
31,
3639,
312,
67,
3276,
273,
374,
31,
3639,
... |
"<td><tr>\n" + | "</td></tr>\n" + | private void writeTestSummary(TestSummary summary) throws FileNotFoundException { File file = new File(m_prefix + FileUtils.replaceExtension(m_file, "tst", "html")); PrintStream out = new PrintStream(new FileOutputStream(file)); out.print("<html>\n" + ... | 2255 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2255/87b6d1b853b2f0b04ae499533ef8e69c721a46cc/GtpRegress.java/buggy/src/gtpregress/GtpRegress.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1045,
4709,
4733,
12,
4709,
4733,
4916,
13,
3639,
1216,
13707,
565,
288,
3639,
1387,
585,
273,
5411,
394,
1387,
12,
81,
67,
3239,
5397,
397,
13779,
18,
2079,
3625,
12,
81,
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,
3238,
918,
1045,
4709,
4733,
12,
4709,
4733,
4916,
13,
3639,
1216,
13707,
565,
288,
3639,
1387,
585,
273,
5411,
394,
1387,
12,
81,
67,
3239,
5397,
397,
13779,
18,
2079,
3625,
12,
81,
67... |
protected void afterSend(OutNetMessage msg, boolean sendSuccessful, boolean allowRequeue, long msToSend) { boolean log = false; msg.timestamp("afterSend(" + sendSuccessful + ")"); if (!sendSuccessful) msg.transportFailed(getStyle()); if (msToSend > 1000) { if (_log.shouldLog(Log.WARN)) _log.warn("afterSend: [success=... | protected void afterSend(OutNetMessage msg, boolean sendSuccessful) { afterSend(msg, sendSuccessful, true, 0); | protected void afterSend(OutNetMessage msg, boolean sendSuccessful, boolean allowRequeue, long msToSend) { boolean log = false; msg.timestamp("afterSend(" + sendSuccessful + ")"); if (!sendSuccessful) msg.transportFailed(getStyle()); if (msToSend > 1000) { i... | 45677 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45677/66aa29e3d4b2f3419efb8a8b38a2616c8de518de/TransportImpl.java/buggy/router/java/src/net/i2p/router/transport/TransportImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1839,
3826,
12,
1182,
7308,
1079,
1234,
16,
1250,
1366,
14277,
16,
1250,
1699,
426,
4000,
16,
1525,
4086,
28878,
13,
288,
3639,
1250,
613,
273,
629,
31,
3639,
1234,
18,
5508,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1839,
3826,
12,
1182,
7308,
1079,
1234,
16,
1250,
1366,
14277,
16,
1250,
1699,
426,
4000,
16,
1525,
4086,
28878,
13,
288,
3639,
1250,
613,
273,
629,
31,
3639,
1234,
18,
5508,
... |
if (value == null) { value = RubyArray.newArray(runtime, 0); | INode blockVar = currentBlock.getVar(); if (blockVar != null) { if (blockVar instanceof ZeroArgNode) { if (yieldProc && arrayLength(value) != 0) { throw new ArgumentError(runtime, "wrong # of arguments(" + ((RubyArray)value).getLength() + "for 0)"); } } else if (blockVar instanceof MultipleAsgnNode) { if (!aValue) { ... | public IRubyObject yield(IRubyObject value, IRubyObject self, RubyModule klass, boolean checkArguments) { if (! isBlockGiven()) { throw new RaiseException(runtime, runtime.getExceptions().getLocalJumpError(), "yield called out of block"); } pushDynamicVars(); Block currentBloc... | 46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/f5c9a1ebd775712f2dc086acfce1a14a123ec632/ThreadContext.java/buggy/src/org/jruby/runtime/ThreadContext.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
15908,
10340,
921,
2824,
12,
7937,
10340,
921,
460,
16,
15908,
10340,
921,
365,
16,
19817,
3120,
7352,
16,
1250,
866,
4628,
13,
288,
3639,
309,
16051,
31394,
6083,
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,
1071,
15908,
10340,
921,
2824,
12,
7937,
10340,
921,
460,
16,
15908,
10340,
921,
365,
16,
19817,
3120,
7352,
16,
1250,
866,
4628,
13,
288,
3639,
309,
16051,
31394,
6083,
10756,
288,
5411,
... |
public static void importProject(String prjFilePath) throws Exception { IPath path = new Path(prjFilePath+File.separator + ".project"); final IProjectDescription newDescription = loadProjectDescription(path); final IProject project = ResourcesPlugin.getWorkspace().getRoot() .getProject(newDescription.getName()); if (pr... | public static void importProject( String prjFilePath ) throws Exception { IPath path = new Path( prjFilePath + File.separator + ".project" ); final IProjectDescription newDescription = loadProjectDescription( path ); final IProject project = ResourcesPlugin.getWorkspace( ).getRoot( ) .getProject( newDescription.getName... | public static void importProject(String prjFilePath) throws Exception { IPath path = new Path(prjFilePath+File.separator + ".project"); final IProjectDescription newDescription = loadProjectDescription(path); final IProject project = ResourcesPlugin.getWorkspace().getRoot() .getProject(newDescription.getName());... | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/f83c04e4c661a40917b7f1a4691db27145568807/DebugUtil.java/clean/UI/org.eclipse.birt.report.debug.ui/src/org/eclipse/birt/report/debug/internal/ui/launcher/util/DebugUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
1930,
4109,
12,
780,
27378,
5598,
13,
1216,
1185,
288,
202,
202,
45,
743,
589,
273,
394,
2666,
12,
683,
78,
5598,
15,
812,
18,
11287,
397,
3552,
4406,
8863,
202,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
1930,
4109,
12,
780,
27378,
5598,
13,
1216,
1185,
288,
202,
202,
45,
743,
589,
273,
394,
2666,
12,
683,
78,
5598,
15,
812,
18,
11287,
397,
3552,
4406,
8863,
202,
2... |
public abstract java.lang.Object apply(int i); | public abstract Object apply(int i); | public abstract java.lang.Object apply(int i); | 5590 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5590/27b51e096e467f35a33e37e0191031477ea9ba8b/Array.java/buggy/sources/scala/Array.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
8770,
2252,
18,
4936,
18,
921,
2230,
12,
474,
277,
1769,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
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,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
8770,
2252,
18,
4936,
18,
921,
2230,
12,
474,
277,
1769,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
StringEntry str = new StringEntry( OStrings.getString("TF_INTRO_EMPTYPROJECT")); | StringEntry str = new StringEntry(OStrings.getString("TF_INTRO_EMPTYPROJECT")); | public SourceTextEntry getSTE(int num) { try { return (SourceTextEntry) m_srcTextEntryArray.get(num); } catch( IndexOutOfBoundsException iobe ) { StringEntry str = new StringEntry( OStrings.getString("TF_INTRO_EMPTYPROJECT")); ... | 8797 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8797/d76bcd54805e907e7fa0dcad27f410bb2dec2a60/CommandThread.java/clean/src/org/omegat/core/threads/CommandThread.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4998,
1528,
1622,
336,
882,
41,
12,
474,
818,
13,
565,
288,
3639,
775,
3639,
288,
5411,
327,
261,
1830,
1528,
1622,
13,
312,
67,
4816,
1528,
1622,
1076,
18,
588,
12,
2107,
1769,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
4998,
1528,
1622,
336,
882,
41,
12,
474,
818,
13,
565,
288,
3639,
775,
3639,
288,
5411,
327,
261,
1830,
1528,
1622,
13,
312,
67,
4816,
1528,
1622,
1076,
18,
588,
12,
2107,
1769,
... |
throw new BuildException("unknown key in properties file " | throw new BuildException("unknown key: '" + precomputeKey + "' in properties file " | protected Map getPrecomputeQueries() throws BuildException { Map returnMap = new TreeMap(); // TODO - read selectAllFields and createAllOrders from properties // TODO - property to not create empty tables Iterator iter = new TreeSet(precomputeProperties.keySet()).iterator(); while... | 7196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7196/c402a72fbe7bf867b6f76986125226fab9e29da7/PrecomputeTask.java/buggy/intermine/objectstore/main/src/org/intermine/task/PrecomputeTask.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
1635,
12822,
9200,
9592,
1435,
1216,
18463,
288,
3639,
1635,
327,
863,
273,
394,
16381,
5621,
3639,
368,
2660,
300,
855,
27787,
2314,
471,
752,
1595,
16528,
628,
1790,
3639,
368,
2660... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
1635,
12822,
9200,
9592,
1435,
1216,
18463,
288,
3639,
1635,
327,
863,
273,
394,
16381,
5621,
3639,
368,
2660,
300,
855,
27787,
2314,
471,
752,
1595,
16528,
628,
1790,
3639,
368,
2660... |
cr = new Any2sRGBRed(cr); | protected void loadImage() { try { SeekableStream seekableInput; try { seekableInput = new FileCacheSeekableStream(inputStream); } catch (IOException ioe) { seekableInput = new MemoryCacheSeekableStream(inputStream); } CachableRed cr = dec... | 5268 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5268/6a9cd2ae762b37009bca0940266de2e92eec5504/BatikImage.java/buggy/src/java/org/apache/fop/image/BatikImage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1262,
2040,
1435,
288,
3639,
775,
288,
5411,
15363,
429,
1228,
6520,
429,
1210,
31,
5411,
775,
288,
6520,
429,
1210,
273,
394,
1387,
1649,
16134,
429,
1228,
12,
2630,
1228,
176... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1262,
2040,
1435,
288,
3639,
775,
288,
5411,
15363,
429,
1228,
6520,
429,
1210,
31,
5411,
775,
288,
6520,
429,
1210,
273,
394,
1387,
1649,
16134,
429,
1228,
12,
2630,
1228,
176... | |
final File segmentDumpFile = new File(new File(job.getOutputDir(), SegmentReader.DIR_NAME), name); | final File segmentDumpFile = new File(job.getOutputDir(), name); | public RecordWriter getRecordWriter(final FileSystem fs, JobConf job, String name) throws IOException { final File segmentDumpFile = new File(new File(job.getOutputDir(), SegmentReader.DIR_NAME), name); // Get the old copy out of the way fs.delete(segmentDumpFile); fin... | 46828 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46828/82abec76c6fbc6a6fb6149749849e1fb3f354dbd/SegmentReader.java/clean/src/java/org/apache/nutch/segment/SegmentReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
5059,
2289,
11674,
2289,
12,
6385,
10931,
2662,
16,
3956,
3976,
1719,
16,
4766,
1377,
514,
508,
13,
1216,
1860,
288,
282,
727,
1387,
3267,
10628,
812,
273,
377,
394,
1387,
12,
2704,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5059,
2289,
11674,
2289,
12,
6385,
10931,
2662,
16,
3956,
3976,
1719,
16,
4766,
1377,
514,
508,
13,
1216,
1860,
288,
282,
727,
1387,
3267,
10628,
812,
273,
377,
394,
1387,
12,
2704,... |
if (log.isDebugEnabled()) log.debug("run: calling onEvent on " + m_listener.getName() + " for event " + event.getUei()); | if (log.isInfoEnabled()) { log.info("run: calling onEvent on " + m_listener.getName() + " for event " + event.getUei() + " dbid " + event.getDbid() + " with time " + event.getTime()); } | public void run() { Category log = ThreadCategory.getInstance(this.getClass()); if (log.isDebugEnabled()) log.debug("In ListenerThread " + m_listener.getName() + " run"); while (!m_shutdown) { Object obj = null; try { ... | 48885 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48885/709b3b05e544880455632b331afb98159896174d/EventIpcManagerDefaultImpl.java/clean/opennms-services/src/main/java/org/opennms/netmgt/eventd/EventIpcManagerDefaultImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1086,
1435,
288,
5411,
9856,
613,
273,
4884,
4457,
18,
588,
1442,
12,
2211,
18,
588,
797,
10663,
5411,
309,
261,
1330,
18,
291,
2829,
1526,
10756,
7734,
613,
18,
4148,
2932,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1086,
1435,
288,
5411,
9856,
613,
273,
4884,
4457,
18,
588,
1442,
12,
2211,
18,
588,
797,
10663,
5411,
309,
261,
1330,
18,
291,
2829,
1526,
10756,
7734,
613,
18,
4148,
2932,
... |
recruitPeopleForMission(startingPerson); | if (!isDone()) recruitPeopleForMission(startingPerson); | public TravelToSettlement(Person startingPerson) throws MissionException { // Use RoverMission constructor super("Travel To Settlement", startingPerson); if (!isDone()) { // Initialize data members startingSettlement = startingPerson.getSettlement(); // Set miss... | 49678 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49678/438a0e37ca1d0758d725a571398444fa18cbaf13/TravelToSettlement.java/clean/org/mars_sim/msp/simulation/person/ai/mission/TravelToSettlement.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2197,
941,
25208,
88,
806,
12,
8346,
5023,
8346,
13,
1216,
490,
19710,
503,
288,
377,
202,
759,
2672,
534,
1643,
49,
19710,
3885,
3639,
2240,
2932,
1609,
941,
2974,
1000,
88,
806,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2197,
941,
25208,
88,
806,
12,
8346,
5023,
8346,
13,
1216,
490,
19710,
503,
288,
377,
202,
759,
2672,
534,
1643,
49,
19710,
3885,
3639,
2240,
2932,
1609,
941,
2974,
1000,
88,
806,
... |
if ((obj != null) && obj instanceof Pauseable) { ((Pauseable) obj).setPaused(true); updateCurrentlySelectedNodeInDispatchThread(); | if (node == null) { return; | public void run() { Object obj = getCurrentlySelectedUserObject(); if ((obj != null) && obj instanceof Pauseable) { ((Pauseable) obj).setPaused(true); updateCurrentlySelectedNodeInDispatchThread(); } } | 47730 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47730/abad170435af8a8a16b45597166c6e476f15948e/ReceiversPanel.java/clean/src/java/org/apache/log4j/chainsaw/receivers/ReceiversPanel.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1086,
1435,
288,
1850,
1033,
1081,
273,
5175,
715,
7416,
1299,
921,
5621,
1850,
309,
14015,
2603,
480,
446,
13,
597,
1081,
1276,
31357,
429,
13,
288,
5411,
14015,
19205,
429,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1086,
1435,
288,
1850,
1033,
1081,
273,
5175,
715,
7416,
1299,
921,
5621,
1850,
309,
14015,
2603,
480,
446,
13,
597,
1081,
1276,
31357,
429,
13,
288,
5411,
14015,
19205,
429,
1... |
int xvalue; | int xvalue = 0; | protected static int[][] compressYvalues(LocalSeismogram seismogram, TimePlotConfig config, Dimension size)throws UnsupportedDataEncoding { int[][] uncomp = scaleXvalues(seismogram, config, size); // enough points to take the extra time to compress the line int[][] comp = new int[... | 52623 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52623/d9b4d61815127dbe87d3ad43e27185c1f085ce03/SeisPlotUtil.java/clean/src/edu/sc/seis/fissuresUtil/display/SeisPlotUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
760,
509,
63,
6362,
65,
8099,
61,
2372,
12,
2042,
1761,
6228,
5553,
695,
6228,
5553,
16,
9944,
377,
2647,
11532,
809,
642,
16,
25083,
377,
13037,
963,
13,
15069,
7221,
751,
4705,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
760,
509,
63,
6362,
65,
8099,
61,
2372,
12,
2042,
1761,
6228,
5553,
695,
6228,
5553,
16,
9944,
377,
2647,
11532,
809,
642,
16,
25083,
377,
13037,
963,
13,
15069,
7221,
751,
4705,
... |
saveLine(curr_line, prev_line, elem, bounds.width, bounds.x, c, block, true); | saveLine(curr_line, currentStyle, prev_line, bounds.width, bounds.x, c, block, true); | public Box layoutChildren(Context c, Box box) { //u.p("starting to lay out the children"); if (LayoutUtil.isHiddenNode(box.getElement(), c)) { return box; } //TODO: probably a temporary hack, may have a Content-object in the box that can be called instead List contentLi... | 53937 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53937/bbe26e114cd1f823901a5ca3d63b5fccfdfedf81/InlineLayout.java/buggy/src/java/org/xhtmlrenderer/layout/InlineLayout.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
8549,
3511,
4212,
12,
1042,
276,
16,
8549,
3919,
13,
288,
3639,
368,
89,
18,
84,
2932,
18526,
358,
328,
528,
596,
326,
2325,
8863,
3639,
309,
261,
3744,
1304,
18,
291,
9345,
907,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8549,
3511,
4212,
12,
1042,
276,
16,
8549,
3919,
13,
288,
3639,
368,
89,
18,
84,
2932,
18526,
358,
328,
528,
596,
326,
2325,
8863,
3639,
309,
261,
3744,
1304,
18,
291,
9345,
907,
... |
else if (s.length() == 19) | else if (slen == 19) | public static Timestamp toTimestamp(String s, ResultSet resultSet) throws SQLException { if (s == null) return null; // We must be synchronized here incase more theads access the ResultSet // bad practice but possible. Anyhow this is to protect sbuf and // SimpleDateFormat objects synchronized (resultSet) { ... | 47288 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47288/8f83590aa18ed5416b094225fe46b1e0611569e3/ResultSet.java/clean/src/interfaces/jdbc/org/postgresql/jdbc2/ResultSet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
8159,
358,
4921,
12,
780,
272,
16,
10842,
12168,
13,
202,
15069,
6483,
202,
95,
202,
202,
430,
261,
87,
422,
446,
13,
1082,
202,
2463,
446,
31,
202,
202,
759,
1660,
129... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
8159,
358,
4921,
12,
780,
272,
16,
10842,
12168,
13,
202,
15069,
6483,
202,
95,
202,
202,
430,
261,
87,
422,
446,
13,
1082,
202,
2463,
446,
31,
202,
202,
759,
1660,
129... |
ot.bind(f); | noe.bind(f); | public void compute() { logger.debug("Running DecimateVertex"); int roughNrNodes = mesh.getTriangles().size()/2; HashSet nodeset = new HashSet(roughNrNodes); HashMap quadricMap = new HashMap(roughNrNodes); OTriangle ot = new OTriangle(); OTriangle sym = new OTriangle(); for (Iterator itf = mesh.getTriangles().i... | 46701 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46701/fd97ea7251265bad61ee619af56343db36c4a938/DecimateVertex.java/clean/amibe/src/org/jcae/mesh/amibe/algos3d/DecimateVertex.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3671,
1435,
202,
95,
202,
202,
4901,
18,
4148,
2932,
7051,
3416,
4988,
6475,
8863,
202,
202,
474,
23909,
18726,
3205,
273,
6986,
18,
588,
6251,
12356,
7675,
1467,
1435,
19,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3671,
1435,
202,
95,
202,
202,
4901,
18,
4148,
2932,
7051,
3416,
4988,
6475,
8863,
202,
202,
474,
23909,
18726,
3205,
273,
6986,
18,
588,
6251,
12356,
7675,
1467,
1435,
19,... |
public void testMethod9() throws SourceEditingException { | public void testMethod9() { | public void testMethod9() throws SourceEditingException { setUpXML(); eventCase = 9; String expectedString = "<TD></TD>"; fModel.setText(null, "<TD></TD><TD></TD>"); fModel.replaceText(null, 0, 9, ""); String resultString = fModel.getText(); boolean result = (expectedString.equals(resultString)); assertTrue("t... | 58500 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58500/bf6909c4d3023ecde7c185bab4c2c448ae62f947/UnitTests.java/clean/tests/org.eclipse.jst.jsp.ui.tests/src/org/eclipse/jst/jsp/ui/tests/other/UnitTests.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
1305,
29,
1435,
1216,
4998,
4666,
21546,
288,
202,
202,
542,
1211,
4201,
5621,
202,
202,
2575,
2449,
273,
2468,
31,
202,
202,
780,
2665,
780,
273,
3532,
23409,
4695,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1305,
29,
1435,
1216,
4998,
4666,
21546,
288,
202,
202,
542,
1211,
4201,
5621,
202,
202,
2575,
2449,
273,
2468,
31,
202,
202,
780,
2665,
780,
273,
3532,
23409,
4695,
... |
if (getNitrogenOrOxygenCount(ac, atoms[i]) == 0) { | if (getAtomTypeXCount(ac, atoms[i]) == 0) { | public DescriptorValue calculate(AtomContainer ac) throws CDKException { RingSet rs = (new AllRingsFinder()).findAllRings(ac); HueckelAromaticityDetector.detectAromaticity(ac, rs, true); double xlogP = 0; org.openscience.cdk.interfaces.Atom[] atoms = ac.getAtoms(); String symbol = ""; int bondCount = 0; int hsC... | 45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/11cd872c3dbcc51a117ad375706e7a5334b88daa/XLogPDescriptor.java/clean/src/org/openscience/cdk/qsar/XLogPDescriptor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
12823,
620,
4604,
12,
3641,
2170,
1721,
13,
1216,
24570,
288,
202,
202,
10369,
694,
3597,
273,
261,
2704,
4826,
54,
899,
8441,
1435,
2934,
4720,
1595,
54,
899,
12,
1077,
1769,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
12823,
620,
4604,
12,
3641,
2170,
1721,
13,
1216,
24570,
288,
202,
202,
10369,
694,
3597,
273,
261,
2704,
4826,
54,
899,
8441,
1435,
2934,
4720,
1595,
54,
899,
12,
1077,
1769,
... |
} if (connectionFactory != null && connectionFactory instanceof XAConnectionFactory) { if (MuleManager.getInstance().getTransactionManager() != null) { connectionFactory = new ConnectionFactoryWrapper(connectionFactory, MuleManager.getInstance().getTransactionManager()); } | protected Connection createConnection() throws NamingException, JMSException, InitialisationException { Connection connection = null; if (connectionFactory == null) { connectionFactory = createConnectionFactory(); } if (connectionFactory != null && connectionFactory instanc... | 28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/27df65b067288e3ed8468ab0891ff60cf5f4567c/JmsConnector.java/buggy/providers/jms/src/java/org/mule/providers/jms/JmsConnector.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
4050,
27870,
1435,
1216,
26890,
16,
20343,
16,
10188,
10742,
503,
565,
288,
3639,
4050,
1459,
273,
446,
31,
3639,
309,
261,
4071,
1733,
422,
446,
13,
288,
5411,
1459,
1733,
273,
752... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4050,
27870,
1435,
1216,
26890,
16,
20343,
16,
10188,
10742,
503,
565,
288,
3639,
4050,
1459,
273,
446,
31,
3639,
309,
261,
4071,
1733,
422,
446,
13,
288,
5411,
1459,
1733,
273,
752... | |
if (filename.equals("-")) { currentFile = (RubyIO) runtime.getGlobalVar("$stdin"); /*if (ruby_inplace_mode) { rb_warn("Can't do inplace edit for stdio"); rb_defout = rb_stdout; }*/ } else { File file = new File(filename); try { RubyInputStream inStream = new RubyInputStream(new BufferedInputStream(new FileInputStream(f... | if (filename.equals("-")) { currentFile = (RubyIO) runtime.getGlobalVar("$stdin"); } else { File file = new File(filename); try { RubyInputStream inStream = new RubyInputStream(new BufferedInputStream(new FileInputStream(file))); | protected boolean nextArgsFile() { RubyArray args = (RubyArray)runtime.getGlobalVar("$*"); if (!init_p) { if (args.getLength() > 0) { next_p = 1; } else { next_p = -1; currentFile = (RubyIO) runtime.getGlobalVar("$stdin"); ... | 45298 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45298/49c17b4ec0ae2e046650a9ace532caa461a65f20/RubyArgsFile.java/clean/src/org/jruby/RubyArgsFile.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
1250,
1024,
2615,
812,
1435,
288,
3639,
19817,
1076,
833,
273,
261,
54,
10340,
1076,
13,
9448,
18,
588,
5160,
1537,
2932,
8,
7388,
1769,
3639,
309,
16051,
2738,
67,
84,
13,
288,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
1250,
1024,
2615,
812,
1435,
288,
3639,
19817,
1076,
833,
273,
261,
54,
10340,
1076,
13,
9448,
18,
588,
5160,
1537,
2932,
8,
7388,
1769,
3639,
309,
16051,
2738,
67,
84,
13,
288,
5... |
if ( (newColumns != columns) || (lTotalRows != rows.size()) ) { newWidths = new float [newColumns]; float prev = 0.0f; float cur = 0.0f; int idx = 0; Iterator it = tabSet.iterator(); it.next(); while (it.hasNext()) { cur = ((Float)it.next()).floatValue(); newWidths[idx++] = cur-prev; prev = cur; } | if ( (newColumns != columns) || (lTotalRows != rows.size()) ) { newWidths = new float [newColumns]; float prev = 0.0f; float cur = 0.0f; int idx = 0; Iterator it = tabSet.iterator(); it.next(); while (it.hasNext()) { cur = ((Float)it.next()).floatValue(); newWidths[idx++] = cur-prev; prev = cur; } | private void mergeInsertedTables() throws DocumentException { // System.out.println(" mergeInsertedTables"); int i=0, j=0; // the new (flattened) table described by new* variables float [] newWidths = null; ArrayList newRows = null; int newColumns = 0; // to keep tra... | 4174 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4174/4430fd61ccfb4d034e4cd72d51512e2c8f92a804/Table.java/clean/src/com/lowagie/text/Table.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2691,
27329,
6905,
1435,
1216,
4319,
503,
288,
3639,
368,
2332,
18,
659,
18,
8222,
2932,
2691,
27329,
6905,
8863,
3639,
509,
277,
33,
20,
16,
525,
33,
20,
31,
3639,
368,
326,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2691,
27329,
6905,
1435,
1216,
4319,
503,
288,
3639,
368,
2332,
18,
659,
18,
8222,
2932,
2691,
27329,
6905,
8863,
3639,
509,
277,
33,
20,
16,
525,
33,
20,
31,
3639,
368,
326,... |
Collection existingOrgActivities = query(orgActivityPredicate); | Collection existingOrgActivities = blackboard.query(orgActivityPredicate); | public void updateOrgActivities(Oplan update, String orgId, Collection orgActivities) { synchronized (oplans) { String oplanID = update.getOplanId(); Oplan oplan = getOplan(oplanID); if (oplan == null) { System.err.printl... | 7171 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7171/543c76ce090f7c36adab61018412558e81785861/SQLOplanPlugIn.java/clean/glm/src/org/cougaar/domain/mlm/plugin/ldm/SQLOplanPlugIn.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1089,
6001,
21101,
12,
51,
7088,
1089,
16,
21394,
514,
2358,
548,
16,
21394,
2200,
2358,
21101,
13,
288,
565,
3852,
261,
83,
412,
634,
13,
288,
1377,
514,
320,
7088,
734,
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,
918,
1089,
6001,
21101,
12,
51,
7088,
1089,
16,
21394,
514,
2358,
548,
16,
21394,
2200,
2358,
21101,
13,
288,
565,
3852,
261,
83,
412,
634,
13,
288,
1377,
514,
320,
7088,
734,
273... |
public BranchGroup createSceneGraph(float baz, float ang) { BranchGroup objRoot = new BranchGroup(); BranchGroup Axes = new Axis().getAxisBG(); BranchGroup Surface = new Axis().getSurfaceBG(); BranchGroup Motion = new MotionVector(baz,ang).getMotionBG(); BranchGrou... | 52623 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52623/e08eff9ddb51638dbb1d796669535c05f81f42c2/PartMo.java/clean/src/edu/sc/seis/fissuresUtil/parmo3d/PartMo.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
7108,
1114,
2640,
14370,
4137,
12,
5659,
70,
1561,
16,
5659,
539,
15329,
7108,
1114,
2603,
2375,
33,
2704,
7108,
1114,
5621,
7108,
1114,
26494,
33,
2704,
6558,
7675,
588,
6558,
30098,
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,
1071,
7108,
1114,
2640,
14370,
4137,
12,
5659,
70,
1561,
16,
5659,
539,
15329,
7108,
1114,
2603,
2375,
33,
2704,
7108,
1114,
5621,
7108,
1114,
26494,
33,
2704,
6558,
7675,
588,
6558,
30098,
5621... | ||
synchronized void write(File hostFile) throws IOException { repOk(); FileWriter out = new FileWriter(hostFile); synchronized (gWebCache) { for (Iterator iter=gWebCache.getBootstrapServers();iter.hasNext();){ BootstrapServer e=(BootstrapServer)iter.next(); out.write(e.toString()); out.write(ExtendedEndpoint.EOL); } } ... | synchronized void write() throws IOException { write(HOST_FILE); } | synchronized void write(File hostFile) throws IOException { repOk(); FileWriter out = new FileWriter(hostFile); //Write servers from GWebCache to output. synchronized (gWebCache) { for (Iterator iter=gWebCache.getBootstrapServers();iter.hasNext();){ Boots... | 5134 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5134/0f6ca80ee16a3fb8e67e46cee4d39aefa044dc72/HostCatcher.java/buggy/components/gnutella-core/src/main/java/com/limegroup/gnutella/HostCatcher.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3852,
918,
1045,
12,
812,
1479,
812,
13,
1216,
1860,
288,
3639,
2071,
8809,
5621,
3639,
24639,
596,
273,
394,
24639,
12,
2564,
812,
1769,
9079,
368,
3067,
7084,
628,
611,
4079,
1649,
358,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3852,
918,
1045,
12,
812,
1479,
812,
13,
1216,
1860,
288,
3639,
2071,
8809,
5621,
3639,
24639,
596,
273,
394,
24639,
12,
2564,
812,
1769,
9079,
368,
3067,
7084,
628,
611,
4079,
1649,
358,... |
String version = localMetadata.constructVersion(); | public void transformForResolve( Artifact artifact, List remoteRepositories, ArtifactRepository localRepository ) throws ArtifactMetadataRetrievalException { if ( isSnapshot( artifact ) ) { SnapshotArtifactMetadata localMetadata; try { localMet... | 1315 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1315/6f8b171aaf0cd9ebd3f3b22a13c81a81c185c125/SnapshotTransformation.java/buggy/maven-artifact/src/main/java/org/apache/maven/artifact/transform/SnapshotTransformation.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2510,
1290,
8460,
12,
14022,
6462,
16,
987,
2632,
18429,
16,
14022,
3305,
1191,
3305,
262,
3639,
1216,
14022,
2277,
27356,
503,
565,
288,
3639,
309,
261,
353,
4568,
12,
6462,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
2510,
1290,
8460,
12,
14022,
6462,
16,
987,
2632,
18429,
16,
14022,
3305,
1191,
3305,
262,
3639,
1216,
14022,
2277,
27356,
503,
565,
288,
3639,
309,
261,
353,
4568,
12,
6462,
2... | |
String jarFile = jarNameTextField.getText(); | String dirs = jarNameTextField.getText(); String[] jarDirs = parsePaths(dirs); for (int i = 0; i < jarDirs.length; i++) { String jarFile = jarDirs[i]; | private void addJarToList() { String jarFile = jarNameTextField.getText(); if (!jarFile.equals("")) { addJarToProject(jarFile); jarNameTextField.setText(""); } } | 10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/22dd20be53a5b2864450563e5332b2a3ba028244/FindBugsFrame.java/clean/findbugs/src/java/edu/umd/cs/findbugs/gui/FindBugsFrame.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
527,
10813,
25772,
1435,
288,
202,
202,
780,
22588,
273,
7334,
461,
16157,
18,
588,
1528,
5621,
202,
202,
430,
16051,
11930,
812,
18,
14963,
2932,
6,
3719,
288,
1082,
202,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
527,
10813,
25772,
1435,
288,
202,
202,
780,
22588,
273,
7334,
461,
16157,
18,
588,
1528,
5621,
202,
202,
430,
16051,
11930,
812,
18,
14963,
2932,
6,
3719,
288,
1082,
202,... |
private void doDATE() { | private void doDATE(String argument) { | private void doDATE() { //Calendar c = Calendar.getInstance(); //long UTC_OFFSET = c.get(c.ZONE_OFFSET) + c.get(c.DST_OFFSET); Date dt = new Date(System.currentTimeMillis()-UTC_OFFSET); String dtStr = DF_RFC2980.format(new Date(dt.getTime() - UTC_OFFSET)); writer.println("111 "+dt... | 47102 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47102/cc100f37ee536c71759c5c9fd585b8437c35e0e2/NNTPHandler.java/buggy/src/java/org/apache/james/nntpserver/NNTPHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
741,
4594,
12,
780,
1237,
13,
288,
3639,
368,
7335,
276,
273,
5542,
18,
588,
1442,
5621,
3639,
368,
5748,
9951,
67,
11271,
273,
276,
18,
588,
12,
71,
18,
20725,
67,
11271,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
741,
4594,
12,
780,
1237,
13,
288,
3639,
368,
7335,
276,
273,
5542,
18,
588,
1442,
5621,
3639,
368,
5748,
9951,
67,
11271,
273,
276,
18,
588,
12,
71,
18,
20725,
67,
11271,
... |
if ( ( sNewSubType.equalsIgnoreCase( STACKED_SUBTYPE_LITERAL ) || sNewSubType.equalsIgnoreCase( PERCENTSTACKED_SUBTYPE_LITERAL ) ) ) | if ( ( sNewSubType.equalsIgnoreCase( STACKED_SUBTYPE_LITERAL ) || sNewSubType.equalsIgnoreCase( PERCENTSTACKED_SUBTYPE_LITERAL ) ) ) | private Chart getConvertedChart( Chart currentChart, String sNewSubType, Orientation newOrientation, String sNewDimension ) { Chart helperModel = (Chart) EcoreUtil.copy( currentChart ); ChartDimension oldDimension = currentChart.getDimension( ); if ( ( currentChart instanceof ChartWithAxes ) ) { if ( currentCh... | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/182827fe6ad4e223adc4bf4bcf44d469847b773d/BarChart.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/type/BarChart.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
14804,
336,
22063,
7984,
12,
14804,
783,
7984,
16,
514,
272,
1908,
30511,
16,
1082,
202,
14097,
394,
14097,
16,
514,
272,
1908,
8611,
262,
202,
95,
202,
202,
7984,
4222,
1488,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14804,
336,
22063,
7984,
12,
14804,
783,
7984,
16,
514,
272,
1908,
30511,
16,
1082,
202,
14097,
394,
14097,
16,
514,
272,
1908,
8611,
262,
202,
95,
202,
202,
7984,
4222,
1488,
... |
} while (!object.isNull() && !abort && ((Statistics.cycles() < timeCap) || RefCountSpace.RC_SANITY_CHECK)); | } while (!object.isNull() && !abort && ((Statistics.cycles() < timeCap) || RefCountSpace.RC_SANITY_CHECK)); | private final boolean doMarkGreyPhase(long timeCap) { ObjectReference object = ObjectReference.nullReference(); boolean abort = false; phase = MARK_GREY; do { visitCount = 0; while (visitCount < GREY_VISIT_BOUND && !abort && !(object = filteredPurpleBuffer.pop()).isNull()) { i... | 4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/30524c62fa391922d51289c03075f714c772951c/TrialDeletion.java/buggy/MMTk/src/org/mmtk/utility/TrialDeletion.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
727,
1250,
741,
3882,
43,
266,
93,
11406,
12,
5748,
813,
4664,
13,
288,
565,
31321,
733,
273,
31321,
18,
2011,
2404,
5621,
565,
1250,
6263,
273,
629,
31,
565,
6855,
273,
20503,
67... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
727,
1250,
741,
3882,
43,
266,
93,
11406,
12,
5748,
813,
4664,
13,
288,
565,
31321,
733,
273,
31321,
18,
2011,
2404,
5621,
565,
1250,
6263,
273,
629,
31,
565,
6855,
273,
20503,
67... |
value = getServletConfig().getInitParameter("validating"); if (value != null) { if (value.equalsIgnoreCase("true") || value.equalsIgnoreCase("yes")) validating = true; else validating = false; } | protected void initOther() throws ServletException { String value = null; value = getServletConfig().getInitParameter("config"); if (value != null) { config = value; } try { value = getServletConfig().getInitParameter("debug"); debug = Integer.pars... | 48068 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48068/61454fa02aa04ae49088ea014d81a6d72a13e3b3/ActionServlet.java/buggy/src/share/org/apache/struts/action/ActionServlet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1208,
8290,
1435,
1216,
16517,
288,
3639,
514,
460,
273,
446,
31,
3639,
460,
273,
19136,
809,
7675,
588,
2570,
1662,
2932,
1425,
8863,
3639,
309,
261,
1132,
480,
446,
13,
288,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
1208,
8290,
1435,
1216,
16517,
288,
3639,
514,
460,
273,
446,
31,
3639,
460,
273,
19136,
809,
7675,
588,
2570,
1662,
2932,
1425,
8863,
3639,
309,
261,
1132,
480,
446,
13,
288,
... | |
for (int i=0; i<sj.size(); i++) { assert sj.get(i) instanceof SIRFilter; } SRepInfo result = new SRepInfo(sj.size()); result.compute(sj); return result; } | for (int i=0; i<sj.size(); i++) { assert sj.get(i) instanceof SIRFilter; } SRepInfo result = new SRepInfo(sj.size()); result.compute(sj); return result; } | public static SRepInfo calcReps(SIRSplitJoin sj) { for (int i=0; i<sj.size(); i++) { assert sj.get(i) instanceof SIRFilter; } SRepInfo result = new SRepInfo(sj.size()); result.compute(sj); return result; } | 5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/1f4005ca063250a23ca710d43cf669f499d0a14e/FuseSimpleSplit.java/clean/streams/src/at/dms/kjc/sir/lowering/fusion/FuseSimpleSplit.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
348,
18933,
966,
7029,
426,
1121,
12,
2320,
54,
5521,
4572,
30252,
13,
288,
202,
565,
364,
261,
474,
277,
33,
20,
31,
277,
32,
87,
78,
18,
1467,
5621,
277,
27245,
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,
225,
202,
482,
760,
348,
18933,
966,
7029,
426,
1121,
12,
2320,
54,
5521,
4572,
30252,
13,
288,
202,
565,
364,
261,
474,
277,
33,
20,
31,
277,
32,
87,
78,
18,
1467,
5621,
277,
27245,
288,
... |
fBuiltInTypes.put(BOOLEAN, new XSSimpleTypeDecl(fAnySimpleType, BOOLEAN, XSSimpleTypeDecl.DV_BOOLEAN)); fBuiltInTypes.put(BOOLEAN, new XSSimpleTypeDecl(fAnySimpleType, ANYURI, XSSimpleTypeDecl.DV_ANYURI)); fBuiltInTypes.put(BOOLEAN, new XSSimpleTypeDecl(fAnySimpleType, BASE64BINARY, XSSimpleTypeDecl.DV_BASE64BINARY)); ... | fBuiltInTypes.put(ANYURI, new XSSimpleTypeDecl(fAnySimpleType, ANYURI, XSSimpleTypeDecl.DV_ANYURI)); fBuiltInTypes.put(BASE64BINARY, new XSSimpleTypeDecl(fAnySimpleType, BASE64BINARY, XSSimpleTypeDecl.DV_BASE64BINARY)); fBuiltInTypes.put(DURATION, new XSSimpleTypeDecl(fAnySimpleType, DURATION, XSSimpleTypeDecl.DV_DURA... | void createBuiltInTypes() { // all schema simple type names final String ANYSIMPLETYPE = "anySimpleType"; final String ANYURI = "anyURI"; final String BASE64BINARY = "base64Binary"; final String BOOLEAN = "boolean"; final String BYTE ... | 46079 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46079/108e8a02859386d537d41eea73cbdd77d9e800f4/SchemaDVFactoryImpl.java/clean/src/org/apache/xerces/impl/v2/new_datatypes/SchemaDVFactoryImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
752,
16409,
382,
2016,
1435,
288,
3639,
368,
777,
1963,
4143,
618,
1257,
3639,
727,
514,
16743,
31669,
900,
2399,
377,
273,
315,
2273,
5784,
559,
14432,
3639,
727,
514,
16743,
3098,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
752,
16409,
382,
2016,
1435,
288,
3639,
368,
777,
1963,
4143,
618,
1257,
3639,
727,
514,
16743,
31669,
900,
2399,
377,
273,
315,
2273,
5784,
559,
14432,
3639,
727,
514,
16743,
3098,
... |
if ( ! (e instanceof BuildException) ) { throw new ServletException( e.getMessage() ); } | if (!(e instanceof BuildException)) { throw new ServletException(e.getMessage()); } | public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { try { response = res; request = req; initRequest(); executeRequest(); } catch( BuildException e ) { util.log("Error occured: " + e.get... | 506 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/506/c6c232893c39257745a8f7a618bcdb5c59791cae/VAJToolsServlet.java/buggy/src/main/org/apache/tools/ant/taskdefs/optional/ide/VAJToolsServlet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
23611,
12,
2940,
18572,
1111,
16,
12446,
400,
13,
3639,
1216,
16517,
16,
1860,
288,
3639,
775,
288,
5411,
766,
273,
400,
31,
5411,
590,
273,
1111,
31,
5411,
1208,
691,
5621,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
23611,
12,
2940,
18572,
1111,
16,
12446,
400,
13,
3639,
1216,
16517,
16,
1860,
288,
3639,
775,
288,
5411,
766,
273,
400,
31,
5411,
590,
273,
1111,
31,
5411,
1208,
691,
5621,
... |
_objIdCounter = sis.readInt(); _currentCycle = sis.readInt(); int reactions = sis.readInt(); for (int i = 0; i < reactions; ++i) { JacobObject closure = (JacobObject)sis.readObject(); String methodName = sis.readUTF(); Method method = closure.getMethod(methodName); int numArgs = sis.readInt(); Object[] args = new Objec... | _objIdCounter = sis.readInt(); _currentCycle = sis.readInt(); int reactions = sis.readInt(); for (int i = 0; i < reactions; ++i) { JacobObject closure = (JacobObject) sis.readObject(); if (closure instanceof IndexedObject) index((IndexedObject) closure); String methodName = sis.readUTF(); Method method = closure.getMet... | public void read(InputStream iis) throws IOException, ClassNotFoundException { _channels.clear(); _reactions.clear(); ExecutionQueueInputStream sis = new ExecutionQueueInputStream(iis); _objIdCounter = sis.readInt(); _currentCycle = sis.readInt(); int reactions = sis.readInt(); for (int i = 0; i ... | 45373 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45373/9be6cc5ab22ce8d4b2a130072325019353adb38c/ExecutionQueueImpl.java/buggy/jacob/src/main/java/org/apache/ode/jacob/vpu/ExecutionQueueImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
855,
12,
4348,
277,
291,
13,
1216,
1860,
16,
10403,
288,
565,
389,
9114,
18,
8507,
5621,
565,
389,
266,
4905,
18,
8507,
5621,
565,
8687,
3183,
4348,
272,
291,
273,
394,
8687,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
855,
12,
4348,
277,
291,
13,
1216,
1860,
16,
10403,
288,
565,
389,
9114,
18,
8507,
5621,
565,
389,
266,
4905,
18,
8507,
5621,
565,
8687,
3183,
4348,
272,
291,
273,
394,
8687,... |
boolean useMultiFVB = (System.getProperty("MultiFVB")!= null && persp != null); if (minimized && useMultiFVB && this instanceof ViewStack) { | IPreferenceStore preferenceStore = PrefUtil.getAPIPreferenceStore(); boolean useNewMinMax = preferenceStore.getBoolean(IWorkbenchPreferenceConstants.ENABLE_NEW_MIN_MAX); if (minimized && useNewMinMax && this instanceof ViewStack) { | public void setMinimized(boolean minimized) { // 'Smart' minimize; move the stack to the trim Perspective persp = getPage().getActivePerspective(); boolean useMultiFVB = (System.getProperty("MultiFVB")!= null && persp != null); //$NON-NLS-1$ if (minimized && useMultiFVB && this instanceof ViewStack)... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/a3160d1a099ad0cc799b4f28e5c5f845a8f560dd/PartStack.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/PartStack.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
27724,
381,
1235,
12,
6494,
18172,
1235,
13,
288,
377,
202,
759,
296,
23824,
11,
18935,
31,
3635,
326,
2110,
358,
326,
2209,
377,
202,
14781,
16772,
13508,
84,
273,
8957,
7675,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
27724,
381,
1235,
12,
6494,
18172,
1235,
13,
288,
377,
202,
759,
296,
23824,
11,
18935,
31,
3635,
326,
2110,
358,
326,
2209,
377,
202,
14781,
16772,
13508,
84,
273,
8957,
7675,... |
for (int k=0; k< DISPLAYAREAS.length; k++) { | for (int k = 0; k < DISPLAYAREAS.length; k++) { | public static Map getDefaultValuesFromMessages(CmsMessages messages) { HashMap result = new HashMap(); List resTypes = OpenCms.getResourceManager().getResourceTypes(); for (int i=0; i<resTypes.size(); i++) { I_CmsResourceType type = (I_CmsResourceType)resTypes.get(i); ... | 8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/98f698d905eee245c2e39e11531b99a5f27e0d0f/CmsTemplateContentListItem.java/buggy/src/org/opencms/jsp/util/CmsTemplateContentListItem.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1635,
4829,
1972,
1265,
5058,
12,
4747,
5058,
2743,
13,
288,
3639,
4317,
563,
273,
394,
4317,
5621,
3639,
987,
400,
2016,
273,
10319,
18,
588,
1420,
1318,
7675,
588,
1420,
2016... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1635,
4829,
1972,
1265,
5058,
12,
4747,
5058,
2743,
13,
288,
3639,
4317,
563,
273,
394,
4317,
5621,
3639,
987,
400,
2016,
273,
10319,
18,
588,
1420,
1318,
7675,
588,
1420,
2016... |
return super.override(parent, n); | return result = super.override(parent, n); | public Node override(Node parent, Node n) { // a null return indicates that node processing is *not* being overriden. // a non-null value indicates overriding, with the returned node being // the result of running this visitor on n. if (parent instanceof LocalDecl) return (n instanceof TypeNode) ? null : n; if... | 1832 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1832/622f203b22d3be50bb4375aabbec51068c24b25f/TypeElaborator.java/buggy/x10.compiler/src/polyglot/ext/x10/visit/TypeElaborator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2029,
3849,
12,
907,
982,
16,
2029,
290,
13,
288,
202,
202,
759,
279,
446,
327,
8527,
716,
756,
4929,
353,
380,
902,
14,
3832,
31736,
18,
202,
202,
759,
279,
1661,
17,
2011,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
2029,
3849,
12,
907,
982,
16,
2029,
290,
13,
288,
202,
202,
759,
279,
446,
327,
8527,
716,
756,
4929,
353,
380,
902,
14,
3832,
31736,
18,
202,
202,
759,
279,
1661,
17,
2011,... |
workspace.addResourceChangeListener(openProjectAction, IResourceChangeEvent.POST_CHANGE); | protected void makeActions() { Shell shell = navigator.getSite().getShell(); IWorkspace workspace = ResourcesPlugin.getWorkspace(); openProjectAction = new OpenResourceAction(shell); workspace.addResourceChangeListener(openProjectAction, IResourceChangeEvent.POST_CHANGE); closeProjectAction = new CloseResourceAct... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/cd413d776bbd8775fb54c36b2d4f73e85035126c/WorkspaceActionGroup.java/buggy/bundles/org.eclipse.ui.views/src/org/eclipse/ui/views/navigator/WorkspaceActionGroup.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1221,
6100,
1435,
288,
202,
202,
13220,
5972,
273,
19796,
18,
588,
4956,
7675,
588,
13220,
5621,
202,
202,
45,
8241,
6003,
273,
8128,
3773,
18,
588,
8241,
5621,
202,
202,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
918,
1221,
6100,
1435,
288,
202,
202,
13220,
5972,
273,
19796,
18,
588,
4956,
7675,
588,
13220,
5621,
202,
202,
45,
8241,
6003,
273,
8128,
3773,
18,
588,
8241,
5621,
202,
202,
... | |
HtmlHeaderSectionHandler.HEADER_ID); | HtmlHeaderSectionHandler.HEADER_ID) { private static final long serialVersionUID = 1L; public boolean isTransparentResolver() { return true; } }; | public boolean resolve(final MarkupContainer container, final MarkupStream markupStream, final ComponentTag tag) { // Only <head> component tags have the id == "_header" if (tag.getId().equals(HtmlHeaderSectionHandler.HEADER_ID)) { // Create a special header component which will gather additional // input the... | 46434 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46434/bed8c1d44568c4cec30f00a3493545ad5c8f01fb/HtmlHeaderResolver.java/buggy/wicket/src/java/wicket/markup/resolver/HtmlHeaderResolver.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
2245,
12,
6385,
26420,
2170,
1478,
16,
727,
26420,
1228,
9813,
1228,
16,
1082,
202,
6385,
5435,
1805,
1047,
13,
202,
95,
202,
202,
759,
5098,
411,
1978,
34,
1794,
2342,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2245,
12,
6385,
26420,
2170,
1478,
16,
727,
26420,
1228,
9813,
1228,
16,
1082,
202,
6385,
5435,
1805,
1047,
13,
202,
95,
202,
202,
759,
5098,
411,
1978,
34,
1794,
2342,
... |
theDaemon.getLockssRepository(acsAu); theDaemon.getNodeManager(acsAu); BaseCachedUrlSet cus = new BaseCachedUrlSet(acsAu, | theDaemon.getLockssRepository(ieeeAu); theDaemon.getNodeManager(ieeeAu); BaseCachedUrlSet cus = new BaseCachedUrlSet(ieeeAu, | public void testShouldCacheProperPages() throws Exception { URL base = new URL(ROOT_URL); String b_root = base.toString(); String url; IeeeArchivalUnit acsAu = makeAu(base, PUB_NUMBER, VOL_YEAR); theDaemon.getLockssRepository(acsAu); theDaemon.getNodeManager(acsAu); BaseCachedUrlSet cus = new Bas... | 8150 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8150/ed8b9360e83a4bbc323875245217a0783e261bc2/TestIeeeArchivalUnit.java/buggy/test/src/org/lockss/plugin/ieee/TestIeeeArchivalUnit.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
1842,
14309,
1649,
626,
457,
5716,
1435,
1216,
1185,
288,
565,
1976,
1026,
273,
394,
1976,
12,
9185,
67,
1785,
1769,
565,
514,
324,
67,
3085,
273,
1026,
18,
10492,
5621,
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,
918,
1842,
14309,
1649,
626,
457,
5716,
1435,
1216,
1185,
288,
565,
1976,
1026,
273,
394,
1976,
12,
9185,
67,
1785,
1769,
565,
514,
324,
67,
3085,
273,
1026,
18,
10492,
5621,
565,
... |
stmt = m_connection.createStatement(); | stmt = connection.createStatement(); | public synchronized Collection getAllUserNames() throws FtpException { Statement stmt = null; ResultSet rs = null; try { // create sql query String sql = m_selectAllStmt; m_log.info(sql); // execute query pre... | 48500 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48500/f8bdbb2dab0d67be139dd05d6110e466306c8868/DbUserManager.java/buggy/src/java/org/apache/ftpserver/usermanager/DbUserManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
2200,
5514,
1299,
1557,
1435,
1216,
478,
6834,
503,
288,
7734,
8056,
3480,
273,
446,
31,
3639,
10842,
3597,
273,
446,
31,
3639,
775,
288,
13491,
368,
752,
1847,
843,
5411,
514... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
3852,
2200,
5514,
1299,
1557,
1435,
1216,
478,
6834,
503,
288,
7734,
8056,
3480,
273,
446,
31,
3639,
10842,
3597,
273,
446,
31,
3639,
775,
288,
13491,
368,
752,
1847,
843,
5411,
514... |
removeForm.addChild("input", new String[] { "type", "name", "value" }, new String[] { "hidden", "formPassword", core.formPassword }); | public void handlePost(URI uri, Bucket data, ToadletContext ctx) throws ToadletContextClosedException, IOException, RedirectException { if(data.size() > 1024*1024) { this.writeReply(ctx, 400, "text/plain", "Too big", "Too much data, darknet toadlet limited to 1MB"); return; } HTTPRequest request = new HTTPReq... | 56348 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56348/7b992ac7b46f4eaaf97e9e0e1b7e5c18e1c89deb/DarknetConnectionsToadlet.java/clean/src/freenet/clients/http/DarknetConnectionsToadlet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1640,
3349,
12,
3098,
2003,
16,
7408,
501,
16,
2974,
361,
1810,
1042,
1103,
13,
1216,
2974,
361,
1810,
1042,
7395,
503,
16,
1860,
16,
9942,
503,
288,
202,
202,
430,
12,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1640,
3349,
12,
3098,
2003,
16,
7408,
501,
16,
2974,
361,
1810,
1042,
1103,
13,
1216,
2974,
361,
1810,
1042,
7395,
503,
16,
1860,
16,
9942,
503,
288,
202,
202,
430,
12,
... | |
protected synchronized void init( OutputStream output, Properties format, boolean defaultProperties) throws UnsupportedEncodingException { String encoding = getEncoding(); if (encoding == null) { // if not already set then get it from the properties ... | 46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/05ed8d19e86b562b4b81150c9f4903f3f4fc5f7d/ToStream.java/buggy/src/org/apache/xml/serializer/ToStream.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
22043,
6459,
2738,
12,
4632,
2844,
16,
2297,
2139,
16,
6494,
1886,
2297,
13,
15069,
8544,
13836,
95,
780,
5999,
33,
588,
4705,
5621,
430,
12,
5999,
631,
2011,
15329,
759,
430,
902,
17583... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4750,
22043,
6459,
2738,
12,
4632,
2844,
16,
2297,
2139,
16,
6494,
1886,
2297,
13,
15069,
8544,
13836,
95,
780,
5999,
33,
588,
4705,
5621,
430,
12,
5999,
631,
2011,
15329,
759,
430,
902,
17583... | ||
ID3 = molecule.getAtomAt(first_atoms[counter - 2]).getID(); | ID3 = molecule.getAtomAt(first_atoms[counter - 2]).getAtomTypeName(); | public void placeAliphaticHeavyChain(AtomContainer molecule, AtomContainer chain) throws Exception { //System.out.println("******** Place aliphatic Chain *********"); int[] first = new int[2]; int counter = 1; int nextAtomNr = 0; String ID1 = ""; String ID2 = ""; String ID3 = ""; first = findHeavyAtomsInChain(... | 45254 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45254/08b6d8a02d4f7b47ed08d7267b142618995796ab/AtomPlacer3D.java/buggy/src/org/openscience/cdk/modeling/builder3d/AtomPlacer3D.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3166,
37,
549,
844,
2126,
5256,
23935,
3893,
12,
3641,
2170,
13661,
16,
7149,
2170,
2687,
13,
1216,
1185,
288,
202,
202,
759,
3163,
18,
659,
18,
8222,
2932,
1644,
13022,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3166,
37,
549,
844,
2126,
5256,
23935,
3893,
12,
3641,
2170,
13661,
16,
7149,
2170,
2687,
13,
1216,
1185,
288,
202,
202,
759,
3163,
18,
659,
18,
8222,
2932,
1644,
13022,
... |
Module root = getElement( ).getRoot( ) == null ? getModule( ) : getElement( ).getRoot( ); | Module root = getElementHandle( ).getEffectiveModule( ); | public boolean isReadOnly( ) { IElementDefn elementDefn = getElementHandle( ).getDefn( ); if ( elementDefn.isPropertyReadOnly( propDefn.getName( ) ) && !propDefn.isUserProperty( ) ) return true; Module root = getElement( ).getRoot( ) == null ? getModule( ) : getElement( ).getRoot( ); assert root != null... | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/da2f75575d9d02e70bcefc67b5584f1b1dea1220/PropertyHandle.java/buggy/model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/PropertyHandle.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
26249,
12,
262,
202,
95,
202,
202,
45,
1046,
3262,
82,
930,
3262,
82,
273,
7426,
3259,
12,
262,
18,
588,
3262,
82,
12,
11272,
202,
202,
430,
261,
930,
3262,
82,
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,
26249,
12,
262,
202,
95,
202,
202,
45,
1046,
3262,
82,
930,
3262,
82,
273,
7426,
3259,
12,
262,
18,
588,
3262,
82,
12,
11272,
202,
202,
430,
261,
930,
3262,
82,
18,
... |
return result; } | return result; } | static Object median(Evaluator evaluator, List members, ExpBase exp) { SetWrapper sw = evaluateSet(evaluator, members, exp); if (sw.errorCount > 0) { return new Double(Double.NaN); } else if (sw.v.size() == 0) { return Util.nullValue; } double[] asArray = new double[sw.v.size()]; for (int i = 0; i < asArray.... | 4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/b5b5168edc3af09cb74945a80b0c36e6630ed502/FunUtil.java/buggy/src/main/mondrian/olap/fun/FunUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
3845,
1033,
12644,
12,
15876,
18256,
16,
987,
4833,
16,
7784,
2171,
1329,
13,
288,
202,
202,
694,
3611,
1352,
273,
5956,
694,
12,
14168,
639,
16,
4833,
16,
1329,
1769,
202,
202,
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,
225,
202,
3845,
1033,
12644,
12,
15876,
18256,
16,
987,
4833,
16,
7784,
2171,
1329,
13,
288,
202,
202,
694,
3611,
1352,
273,
5956,
694,
12,
14168,
639,
16,
4833,
16,
1329,
1769,
202,
202,
43... |
public void initialize(PipelineContext pipelineContext, Element divsElement, Element repeatIndexesElement) { if (controlsDocument != null) { if (initialized) { // Use existing controls state initialControlsState = currentControlsState; } else { ... | 52783 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52783/5bf41b39207ac1c4b46a263ac96be3dde73d4dc2/XFormsControls.java/buggy/src/java/org/orbeon/oxf/xforms/XFormsControls.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
4046,
12,
8798,
1042,
5873,
1042,
16,
3010,
3739,
87,
1046,
16,
3010,
7666,
8639,
1046,
13,
288,
3639,
309,
261,
24350,
2519,
480,
446,
13,
288,
5411,
309,
261,
13227,
13,
28... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4046,
12,
8798,
1042,
5873,
1042,
16,
3010,
3739,
87,
1046,
16,
3010,
7666,
8639,
1046,
13,
288,
3639,
309,
261,
24350,
2519,
480,
446,
13,
288,
5411,
309,
261,
13227,
13,
28... | ||
rule = findRule("braces", "IfElseStmtsMustUseBraces"); } | rule = findRule("braces", "IfElseStmtsMustUseBraces"); } | public void setUp() throws Exception { rule = findRule("braces", "IfElseStmtsMustUseBraces"); } | 41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/4e45de9075eeb015245ff09f8f8c58cf0f98bbf3/IfElseStmtsMustUseBracesTest.java/buggy/pmd/regress/test/net/sourceforge/pmd/rules/braces/IfElseStmtsMustUseBracesTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
24292,
1435,
1216,
1185,
288,
3639,
1720,
273,
1104,
2175,
2932,
15397,
764,
3113,
315,
2047,
12427,
8952,
87,
10136,
3727,
38,
354,
764,
8863,
565,
289,
2,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
24292,
1435,
1216,
1185,
288,
3639,
1720,
273,
1104,
2175,
2932,
15397,
764,
3113,
315,
2047,
12427,
8952,
87,
10136,
3727,
38,
354,
764,
8863,
565,
289,
2,
-100,
-100,
-100,
-... |
documentMapper.saveHeadline( internalDocument ); | documentMapper.saveHeadlineAttribute( internalDocument ); | public void setHeadline( String headline ) { internalDocument.setHeadline( headline ); documentMapper.saveHeadline( internalDocument ); } | 8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/d45dfd0bb3444686aaba95ba35c789ba96096366/Document.java/clean/server/src/com/imcode/imcms/Document.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
1414,
1369,
12,
514,
910,
1369,
262,
288,
3639,
2713,
2519,
18,
542,
1414,
1369,
12,
910,
1369,
11272,
3639,
1668,
4597,
18,
5688,
1414,
1369,
1499,
12,
2713,
2519,
11272,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
1414,
1369,
12,
514,
910,
1369,
262,
288,
3639,
2713,
2519,
18,
542,
1414,
1369,
12,
910,
1369,
11272,
3639,
1668,
4597,
18,
5688,
1414,
1369,
1499,
12,
2713,
2519,
11272,... |
public void setOption(IOption option, boolean value) throws BuildException { | public IOption setOption(ITool tool, IOption option, boolean value) throws BuildException { IOption retOpt = option; | public void setOption(IOption option, boolean value) throws BuildException { // Is there a delta if (option.getBooleanValue() != value) { createOptionReference(option).setValue(value); isDirty = true; rebuildNeeded = true; } } | 54911 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54911/18b49394c46cbbecf041078a70e83e4975d004a7/Configuration.java/buggy/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/Configuration.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
14211,
12,
45,
1895,
1456,
16,
1250,
460,
13,
1216,
18463,
288,
202,
202,
759,
2585,
1915,
279,
3622,
202,
202,
430,
261,
3482,
18,
588,
5507,
620,
1435,
480,
460,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
14211,
12,
45,
1895,
1456,
16,
1250,
460,
13,
1216,
18463,
288,
202,
202,
759,
2585,
1915,
279,
3622,
202,
202,
430,
261,
3482,
18,
588,
5507,
620,
1435,
480,
460,
13,
... |
return (Frame)getFrameStack().peek(); | return (Frame) getFrameStack().peek(); | public Frame getActFrame() { return (Frame)getFrameStack().peek(); } | 46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/c79adccbaa071501b1c42e97ed6c3284712f57e4/Ruby.java/buggy/org/jruby/Ruby.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
8058,
336,
2459,
3219,
1435,
288,
3639,
327,
261,
3219,
13,
25396,
2624,
7675,
347,
3839,
5621,
565,
289,
2,
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,
377,
1071,
8058,
336,
2459,
3219,
1435,
288,
3639,
327,
261,
3219,
13,
25396,
2624,
7675,
347,
3839,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
s.checkAccept(p.getAddress().getHostAddress(), p.getPort()); | s.checkAccept (p.getAddress().getHostName (), p.getPort ()); if (impl == null) throw new IOException ("Cannot initialize Socket implementation"); if (ch != null && !ch.isBlocking ()) throw new IllegalBlockingModeException (); | public synchronized void receive(DatagramPacket p) throws IOException { SecurityManager s = System.getSecurityManager(); if (s != null) s.checkAccept(p.getAddress().getHostAddress(), p.getPort()); impl.receive(p); } | 1043 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1043/36e953e19158aa2f7e16ad8534450b58f07fea36/DatagramSocket.java/buggy/libjava/java/net/DatagramSocket.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
3852,
918,
6798,
12,
5139,
17049,
6667,
293,
13,
1216,
1860,
225,
288,
565,
6036,
1318,
272,
273,
2332,
18,
588,
4368,
1318,
5621,
565,
309,
261,
87,
480,
446,
13,
1377,
272,
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,
282,
1071,
3852,
918,
6798,
12,
5139,
17049,
6667,
293,
13,
1216,
1860,
225,
288,
565,
6036,
1318,
272,
273,
2332,
18,
588,
4368,
1318,
5621,
565,
309,
261,
87,
480,
446,
13,
1377,
272,
18,
... |
return document.getLineStartOffset(line); | try { return document.getLineStartOffset(line); } catch (IndexOutOfBoundsException e) { return -1; } | protected int calcOffset() { final Document document = PsiDocumentManager.getInstance(file.getProject()).getDocument(file); return document.getLineStartOffset(line); } | 12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/0a3509a95832abe56ca117ce5c062d625c1b5c6b/SourcePosition.java/buggy/openapi/src/com/intellij/debugger/SourcePosition.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
4750,
509,
7029,
2335,
1435,
288,
3639,
727,
4319,
1668,
273,
453,
7722,
2519,
1318,
18,
588,
1442,
12,
768,
18,
588,
4109,
1435,
2934,
588,
2519,
12,
768,
1769,
3639,
775,
288,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
4750,
509,
7029,
2335,
1435,
288,
3639,
727,
4319,
1668,
273,
453,
7722,
2519,
1318,
18,
588,
1442,
12,
768,
18,
588,
4109,
1435,
2934,
588,
2519,
12,
768,
1769,
3639,
775,
288,
327,
1... |
addParameter("source", findValue(sourceAttr)); | listToSort = (List) findValue(sourceAttr); | public int doStartTag() throws JspException { int returnVal = super.doStartTag(); if (sourceAttr == null) { addParameter("source", findValue("top")); } else { addParameter("source", findValue(sourceAttr)); } Comparator c = (Comparator) findValue(comparatorAtt... | 22725 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/22725/412b50e70dfad1458c35331b439d9e454cdf3bbe/SortIteratorTag.java/buggy/src/java/com/opensymphony/webwork/views/jsp/iterator/SortIteratorTag.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
741,
30512,
1435,
1216,
27485,
288,
3639,
509,
28702,
273,
2240,
18,
2896,
30512,
5621,
3639,
309,
261,
3168,
3843,
422,
446,
13,
288,
5411,
14436,
2932,
3168,
3113,
1104,
620,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
741,
30512,
1435,
1216,
27485,
288,
3639,
509,
28702,
273,
2240,
18,
2896,
30512,
5621,
3639,
309,
261,
3168,
3843,
422,
446,
13,
288,
5411,
14436,
2932,
3168,
3113,
1104,
620,
... |
agent = (AgentWithExponentialMigrationAndServer)ProActive.newActive(AgentWithExponentialMigrationAndServer.class.getName(), args, NodeFactory.getNode( nodeName), null, TimedLocationServerMetaObjectFactory.newInstance()); | agent = (AgentWithExponentialMigrationAndServer) ProActive.newActive(AgentWithExponentialMigrationAndServer.class.getName(), args, Bench.StartNode, null, TimedLocationServerMetaObjectFactory.newInstance()); | public static AgentWithExponentialMigrationAndServer startExponentialAgent(double d, Node[] nodes, String nodeName, ... | 50951 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50951/c171c3550f70b496c1228bbed45f5f8feea45a9c/Bench.java/buggy/src/modelisation/server/Bench.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
8669,
1190,
17972,
649,
10224,
1876,
2081,
787,
17972,
649,
3630,
12,
9056,
302,
16,
28524,
7734,
2029,
8526,
2199,
16,
28524,
7734,
514,
7553,
16,
28524,
7734,
1525,
282,
17140,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8669,
1190,
17972,
649,
10224,
1876,
2081,
787,
17972,
649,
3630,
12,
9056,
302,
16,
28524,
7734,
2029,
8526,
2199,
16,
28524,
7734,
514,
7553,
16,
28524,
7734,
1525,
282,
17140,... |
Tree tree = null; if (isNexus) { tree = nexusImporter.importNextTree(); } else { String treeString = line.substring(line.indexOf('(')).trim(); | Tree tree = null; if (isNexus) { tree = nexusImporter.importNextTree(); } else { String treeString = line.substring(line.indexOf('(')).trim(); | public static void main(String[] args) throws IOException, ImportException { if (args.length > 3) { int sampleFrequency = Integer.parseInt(args[1]); boolean includeBranchLengths = Boolean.getBoolean(args[2]); boolean isNexus = Boolean.getBoolean(args[3]); NexusImpo... | 49053 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49053/ecc2159a8784301f4d88a04d811fbdeb62513ba3/NexusImporter.java/buggy/branches/1.4/src/dr/evolution/io/NexusImporter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
1216,
1860,
16,
6164,
503,
288,
3639,
309,
261,
1968,
18,
2469,
405,
890,
13,
288,
5411,
509,
3296,
13865,
273,
2144,
18,
2670,
1702,
12,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
1216,
1860,
16,
6164,
503,
288,
3639,
309,
261,
1968,
18,
2469,
405,
890,
13,
288,
5411,
509,
3296,
13865,
273,
2144,
18,
2670,
1702,
12,
... |
public RubyModule defineModuleUnder(String name) { IRubyObject type = getConstantAt(name); if (type == null) { return (RubyModule) setConstant(name, getRuntime().defineModuleUnder(name, cref)); } if (!(type instanceof RubyModule)) { throw getRunt... | 46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/1278c5bb3507a052d150d814f15453542ae41aed/RubyModule.java/clean/src/org/jruby/RubyModule.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19817,
3120,
4426,
3120,
14655,
12,
780,
508,
13,
288,
3639,
15908,
10340,
921,
618,
273,
24337,
861,
12,
529,
1769,
7734,
309,
261,
723,
422,
446,
13,
288,
5411,
327,
261,
54,
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,
19817,
3120,
4426,
3120,
14655,
12,
780,
508,
13,
288,
3639,
15908,
10340,
921,
618,
273,
24337,
861,
12,
529,
1769,
7734,
309,
261,
723,
422,
446,
13,
288,
5411,
327,
261,
54,
10... | ||
_cnt93++; | _cnt717++; | public final void mNUMBER(boolean _createToken) throws RecognitionException, CharStreamException, TokenStreamException { int _ttype; Token _token=null; int _begin=text.length(); _ttype = NUMBER; int _saveIndex; { int _cnt90=0; _loop90: do { if (((LA(1) >= '0' && LA(1) <= '9'))) { matchRange('0','9'); }... | 48756 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48756/4179c9f6d0a36bc8b8ca5cdef30d4178930114cd/PerlBaseLexer.java/clean/org.epic.debug/src/org/epic/debug/varparser/PerlBaseLexer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
312,
9931,
12,
6494,
389,
2640,
1345,
13,
1216,
9539,
16,
3703,
1228,
503,
16,
3155,
1228,
503,
288,
202,
202,
474,
389,
88,
723,
31,
3155,
389,
2316,
33,
2011,
31... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
312,
9931,
12,
6494,
389,
2640,
1345,
13,
1216,
9539,
16,
3703,
1228,
503,
16,
3155,
1228,
503,
288,
202,
202,
474,
389,
88,
723,
31,
3155,
389,
2316,
33,
2011,
31... |
if (jj_scan_token(EXTENDS)) return true; if (jj_3R_71()) return true; | if (jj_scan_token(LPAREN)) return true; Token xsp; xsp = jj_scanpos; if (jj_3R_302()) jj_scanpos = xsp; if (jj_scan_token(RPAREN)) return true; | final private boolean jj_3R_284() { if (jj_scan_token(EXTENDS)) return true; if (jj_3R_71()) return true; return false; } | 41673 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/41673/2c4cc3303f04cdb3883f34b25cfe841b0bdf1fb5/JavaParser.java/clean/pmd/src/net/sourceforge/pmd/ast/JavaParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
3238,
1250,
10684,
67,
23,
54,
67,
22,
5193,
1435,
288,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
4142,
1157,
3948,
3719,
327,
638,
31,
565,
309,
261,
78,
78,
67,
23,
54,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
727,
3238,
1250,
10684,
67,
23,
54,
67,
22,
5193,
1435,
288,
565,
309,
261,
78,
78,
67,
9871,
67,
2316,
12,
4142,
1157,
3948,
3719,
327,
638,
31,
565,
309,
261,
78,
78,
67,
23,
54,
... |
failed = false; Thread[] servitorThreads = new Thread[numSessions]; Servitor[] servitors = new Servitor[numSessions]; for (int i = 0; i < numSessions; i++) { Servitor servitor = createServitor(numMessages); servitor.init(); servitors[i] = servitor; } | boolean failed = false; | protected void runTest() throws Exception { failed = false; Thread[] servitorThreads = new Thread[numSessions]; Servitor[] servitors = new Servitor[numSessions]; for (int i = 0; i < numSessions; i++) { Servitor servitor = createServitor(numMessages); servi... | 3806 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3806/bb5207822a56158d5b94faff7c6dbe5f094f6f4c/BaseThroughputJob.java/clean/src/main/org/jboss/jms/perf/framework/BaseThroughputJob.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
4750,
918,
1086,
4709,
1435,
1216,
1185,
282,
288,
1377,
2535,
273,
629,
31,
5411,
4884,
8526,
13515,
1811,
13233,
273,
394,
4884,
63,
2107,
13566,
15533,
5411,
1275,
90,
1811,
8526,
13515,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4750,
918,
1086,
4709,
1435,
1216,
1185,
282,
288,
1377,
2535,
273,
629,
31,
5411,
4884,
8526,
13515,
1811,
13233,
273,
394,
4884,
63,
2107,
13566,
15533,
5411,
1275,
90,
1811,
8526,
13515,... |
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { if (featureID >= 0) { switch (eDerivedStructuralFeatureID(featureID, baseClass)) { case DataPackage.SAMPLE_DATA__BASE_SAMPLE_DATA: ... | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/SampleDataImpl.java/clean/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/data/impl/SampleDataImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
27050,
425,
16376,
3288,
12,
3061,
8029,
1308,
1638,
16,
509,
6966,
16,
1659,
23955,
16,
27050,
8733,
13,
565,
288,
3639,
309,
261,
7238,
734,
1545,
374,
13,
3639,
288,
5411,
1620,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
27050,
425,
16376,
3288,
12,
3061,
8029,
1308,
1638,
16,
509,
6966,
16,
1659,
23955,
16,
27050,
8733,
13,
565,
288,
3639,
309,
261,
7238,
734,
1545,
374,
13,
3639,
288,
5411,
1620,
... |
"yes"); | "true"); | private void initIOSettings() { deduceBonding = new BooleanIOSetting("DeduceBonding", IOSetting.LOW, "Should the PDBReader deduce bonding patterns?", "yes"); useRebondTool = new BooleanIOSetting("UseRebondTool", IOSetting.LOW, "Should the RebondTool be used (or a heuristic ... | 46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/361a97eaeafbd0bd72aef3cee3f26a32fa8ebe98/PDBReader.java/clean/src/org/openscience/cdk/io/PDBReader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1208,
4294,
2628,
1435,
288,
3639,
11140,
3965,
9807,
310,
273,
394,
3411,
4294,
5568,
2932,
20563,
3965,
9807,
310,
3113,
1665,
5568,
18,
4130,
16,
1850,
315,
14309,
326,
21601,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1208,
4294,
2628,
1435,
288,
3639,
11140,
3965,
9807,
310,
273,
394,
3411,
4294,
5568,
2932,
20563,
3965,
9807,
310,
3113,
1665,
5568,
18,
4130,
16,
1850,
315,
14309,
326,
21601,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.