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 |
|---|---|---|---|---|---|---|
data = context.popOperands(2); if (! (data[0] instanceof ArrayList)) { throw new PainterException("setdash: wrong arguments"); } if (! (data[1] instanceof Number)) { throw new PainterException("setdash: wrong arguments"); } ArrayList list = (ArrayList) data[0]; if (list.size() == 0) { return; } float[] dashpattern = ... | data = context.popNumberOperands(1); | public void execute(PAContext context) throws PainterException { Object data[]; BasicStroke newStroke; Stroke oldStroke = context.pencil.graphics.getStroke(); data = context.popOperands(2); if (! (data[0] instanceof ArrayList)) { throw new PainterException("setdash: wro... | 4174 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4174/3c314818d71d25f7c37e4f26642c8ef894a7fcd4/PAContext.java/clean/src/com/lowagie/text/pdf/codec/postscript/PAContext.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
4202,
1071,
918,
1836,
12,
4066,
1042,
819,
13,
1216,
453,
11606,
503,
288,
3639,
1033,
501,
8526,
31,
3639,
7651,
14602,
394,
14602,
31,
3639,
934,
6822,
1592,
14602,
273,
819,
18,
84,
21620,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1071,
918,
1836,
12,
4066,
1042,
819,
13,
1216,
453,
11606,
503,
288,
3639,
1033,
501,
8526,
31,
3639,
7651,
14602,
394,
14602,
31,
3639,
934,
6822,
1592,
14602,
273,
819,
18,
84,
21620,... |
return 32; | return NAME_SIZE; | public int getMaxTableNameLength() throws SQLException { return 32; } | 49868 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49868/1109900a6005730595d9db53263cc42e13efced4/AbstractJdbc1DatabaseMetaData.java/buggy/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
7288,
7147,
1782,
1435,
1216,
6483,
202,
95,
202,
202,
2463,
3847,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
509,
7288,
7147,
1782,
1435,
1216,
6483,
202,
95,
202,
202,
2463,
3847,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
TOCNode rootTocNode = ( (IReportDocument) handle ).findTOC( null ); | String format = "html"; for ( int i = 0; i < supportedFormats.length; i++ ) { if ( ( (Button) formatCheckBtns.get( supportedFormats[i] ) ).getSelection( ) ) { format = supportedFormats[i]; break; } } ITOCTree tocTree = ( (IReportDocument) handle ).getTOCTree( format, SessionHandleAdapter.getInstance( ) .getSessionHandl... | private void initAnchorChooser( Object handle, boolean isToc ) { anchorChooser.removeAll( ); if ( handle instanceof ReportDesignHandle ) { if ( isToc ) { anchorChooser.setItems( (String[]) ( (ReportDesignHandle) handle ).getAllTocs( ) .toArray( new String[0] ) ); } else { anchorChooser.setItems... | 46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/71bab9fcb2ffd54e269eb877991a1642c09e69e3/HyperlinkBuilder.java/buggy/UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/HyperlinkBuilder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1208,
11605,
17324,
12,
1033,
1640,
16,
1250,
353,
56,
504,
262,
202,
95,
202,
202,
16215,
17324,
18,
4479,
1595,
12,
11272,
202,
202,
430,
261,
1640,
1276,
8706,
15478,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1208,
11605,
17324,
12,
1033,
1640,
16,
1250,
353,
56,
504,
262,
202,
95,
202,
202,
16215,
17324,
18,
4479,
1595,
12,
11272,
202,
202,
430,
261,
1640,
1276,
8706,
15478,
... |
bank.sysex[getPatchStart(patchNum)+ 48]=(byte)((p.sysex[6+ 58])); bank.sysex[getPatchStart(patchNum)+ 49]=(byte)((p.sysex[6+ 60]*2+p.sysex[6+ 59])); | ((Patch)bank).sysex[getPatchStart(patchNum)+ 48]=(byte)((((Patch)p).sysex[6+ 58])); ((Patch)bank).sysex[getPatchStart(patchNum)+ 49]=(byte)((((Patch)p).sysex[6+ 60]*2+((Patch)p).sysex[6+ 59])); | public void putPatch(Patch bank,Patch p,int patchNum) //puts a patch into the bank, converting it as needed { if (!canHoldPatch(p)) { DX7FamilyStrings.dxShowError(toString(), "This type of patch does not fit in to this type of bank."); return; } // Transform Voice Data to Bulk Dump Packed Format // *****... | 7591 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7591/b6e99a36d447b749f8ec1622f6d2477fcd586fcb/DX7FamilyVoiceBankDriver.java/buggy/JSynthLib/synthdrivers/YamahaDX7/common/DX7FamilyVoiceBankDriver.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1378,
7332,
12,
7332,
11218,
16,
7332,
293,
16,
474,
4729,
2578,
13,
202,
202,
759,
27010,
279,
4729,
1368,
326,
11218,
16,
14540,
518,
487,
3577,
202,
95,
202,
202,
430,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1378,
7332,
12,
7332,
11218,
16,
7332,
293,
16,
474,
4729,
2578,
13,
202,
202,
759,
27010,
279,
4729,
1368,
326,
11218,
16,
14540,
518,
487,
3577,
202,
95,
202,
202,
430,... |
if(!m_shouldProcess) | if (!m_shouldProcess) | public void endElement (String uri, String localName, String rawName) throws SAXException { m_elementID--; if(!m_shouldProcess) return; if((m_elementID+1) == m_fragmentID) m_shouldProcess = false; flushCharacters(); XSLTElementProcessor p = getCurrentProcessor(); p.endElement (this, ur... | 46591 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46591/6fbfc5b396871b2ddb731ea98fccffe88307b5d3/StylesheetHandler.java/clean/src/org/apache/xalan/processor/StylesheetHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
14840,
261,
780,
2003,
16,
514,
11927,
16,
514,
1831,
461,
13,
565,
1216,
14366,
225,
288,
565,
312,
67,
2956,
734,
413,
31,
377,
309,
16051,
81,
67,
13139,
2227,
13,
1377,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14840,
261,
780,
2003,
16,
514,
11927,
16,
514,
1831,
461,
13,
565,
1216,
14366,
225,
288,
565,
312,
67,
2956,
734,
413,
31,
377,
309,
16051,
81,
67,
13139,
2227,
13,
1377,
... |
UltrapeerSettings.MAX_LEAVES.setValue(1); | UltrapeerSettings.MAX_LEAVES.setValue(4); | public static void setSettings() { //Setup LimeWire backend. For testing other vendors, you can skip all //this and manually configure a client to listen on port 6667, with //incoming slots and no connections. //To keep LimeWire from connecting to the outside network, we filter out ... | 5134 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5134/b4a624b9222353901bdfcfcfd83dd199043faf91/ServerSideOutOfBandReplyTest.java/clean/components/gnutella-core/src/test/java/com/limegroup/gnutella/ServerSideOutOfBandReplyTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
444,
2628,
1435,
288,
3639,
368,
7365,
511,
494,
15249,
4221,
18,
225,
2457,
7769,
1308,
331,
409,
1383,
16,
1846,
848,
2488,
777,
3639,
368,
2211,
471,
10036,
5068,
279,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
444,
2628,
1435,
288,
3639,
368,
7365,
511,
494,
15249,
4221,
18,
225,
2457,
7769,
1308,
331,
409,
1383,
16,
1846,
848,
2488,
777,
3639,
368,
2211,
471,
10036,
5068,
279,
... |
_t = __t819; | _t = __t804; | public final void formatphrase(AST _t) throws RecognitionException { AST formatphrase_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t814 = _t; AST tmp814_AST_in = (AST)_t; match(_t,Format_phrase); _t = _t.getFirstChild(); { int _cnt828=0; _loop828: do { if (_t==null) _t=ASTNULL; switch ( _t.getType... | 13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/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,
740,
9429,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
740,
9429,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
727,
918,
740,
9429,
12,
9053,
389,
88,
13,
1216,
9539,
288,
9506,
202,
9053,
740,
9429,
67,
9053,
67,
267,
273,
261,
67,
88,
422,
9183,
8560,
13,
692,
446,
294,
261,
9053,
... |
public org.quickfix.field.LegRatioQty getLegRatioQty() throws FieldNotFound { org.quickfix.field.LegRatioQty value = new org.quickfix.field.LegRatioQty(); | public quickfix.field.LegRatioQty getLegRatioQty() throws FieldNotFound { quickfix.field.LegRatioQty value = new quickfix.field.LegRatioQty(); | public org.quickfix.field.LegRatioQty getLegRatioQty() throws FieldNotFound { org.quickfix.field.LegRatioQty value = new org.quickfix.field.LegRatioQty(); getField(value); return value; } | 5926 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5926/fecc27f98261270772ff182a1d4dfd94b5daa73d/SecurityListRequest.java/clean/src/java/src/quickfix/fix44/SecurityListRequest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
8541,
53,
4098,
336,
8329,
8541,
53,
4098,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
8541,
53,
4098,
46... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
8541,
53,
4098,
336,
8329,
8541,
53,
4098,
1435,
1216,
2286,
2768,
225,
288,
2358,
18,
19525,
904,
18,
1518,
18,
8329,
8541,
53,
4098,
46... |
private void ensureCapacity (int n) { if (n > 0 && data == null) { data = new String[25]; } | private void ensureCapacity (int n) { if (n <= 0) { return; } int max; if (data == null || data.length == 0) { max = 25; } else if (data.length >= n * 5) { return; } else { max = data.length; } while (max < n * 5) { max *= 2; } | private void ensureCapacity (int n) { if (n > 0 && data == null) { data = new String[25]; } int max = data.length; if (max >= n * 5) { return; } while (max < n * 5) { max *= 2; } String newData[] = new String[max]; System.arraycopy(data, 0, newData, 0, length*5); data = newData; } | 1831 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1831/5d8a9be747b94230370a63bc67735fc114d1e322/AttributesImpl.java/buggy/src/org/xml/sax/helpers/AttributesImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
3387,
7437,
261,
474,
290,
13,
565,
288,
202,
430,
261,
82,
405,
374,
597,
501,
422,
446,
13,
288,
202,
565,
501,
273,
394,
514,
63,
2947,
15533,
202,
97,
202,
474,
943,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3387,
7437,
261,
474,
290,
13,
565,
288,
202,
430,
261,
82,
405,
374,
597,
501,
422,
446,
13,
288,
202,
565,
501,
273,
394,
514,
63,
2947,
15533,
202,
97,
202,
474,
943,
... |
gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; | private void initComponents() {//GEN-BEGIN:initComponents java.awt.GridBagConstraints gridBagConstraints; errorLabel = new javax.swing.JLabel(); errorMessageScrollPane = new javax.swing.JScrollPane(); errorMessageTextArea = new javax.swing.JTextPane(); jSeparator1 = new javax.swin... | 10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/72ab7f16ed0310330188fbe25ed676d5dbb2d01b/AnalysisErrorDialog.java/clean/findbugs/src/java/edu/umd/cs/findbugs/gui/AnalysisErrorDialog.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1208,
7171,
1435,
288,
759,
16652,
17,
16061,
30,
2738,
7171,
3639,
2252,
18,
2219,
88,
18,
6313,
6852,
8747,
31,
3639,
555,
2224,
273,
394,
6863,
18,
5328,
310,
18,
46,
2224... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7171,
1435,
288,
759,
16652,
17,
16061,
30,
2738,
7171,
3639,
2252,
18,
2219,
88,
18,
6313,
6852,
8747,
31,
3639,
555,
2224,
273,
394,
6863,
18,
5328,
310,
18,
46,
2224... | |
Thread currentThread = null; | Thread currentThread = Thread.currentThread(); | public synchronized void invokeGL(Runnable runnable, boolean isReshape, Runnable initAction) throws GLException { Thread currentThread = null; // Defer JAWT and OpenGL operations until onscreen components are // realized if (!realized()) { realized = EventQueue.isDispatchThread(); } if (!re... | 46813 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46813/f516d8cdc25577dd1227b85578d361749ab8063d/GLContext.java/clean/src/net/java/games/jogl/impl/GLContext.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
3852,
918,
4356,
11261,
12,
20013,
14685,
16,
1250,
353,
607,
6560,
16,
10254,
1208,
1803,
13,
1216,
10252,
503,
288,
1377,
4884,
11800,
273,
4884,
18,
2972,
3830,
5621,
3639,
368,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
3852,
918,
4356,
11261,
12,
20013,
14685,
16,
1250,
353,
607,
6560,
16,
10254,
1208,
1803,
13,
1216,
10252,
503,
288,
1377,
4884,
11800,
273,
4884,
18,
2972,
3830,
5621,
3639,
368,
... |
public Object get(int index, Scriptable start) { | public Object get(final int index, final Scriptable start) { | public Object get(int index, Scriptable start) { return wrapped_.get(index, start); } | 3508 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3508/bfbb9e2a2e54bf7040308f5f0b4fd744c80370c8/ScoperFunctionObject.java/buggy/htmlunit/src/java/com/gargoylesoftware/htmlunit/javascript/host/ScoperFunctionObject.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
336,
12,
6385,
509,
770,
16,
727,
22780,
787,
13,
288,
3639,
327,
5805,
27799,
588,
12,
1615,
16,
787,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1033,
336,
12,
6385,
509,
770,
16,
727,
22780,
787,
13,
288,
3639,
327,
5805,
27799,
588,
12,
1615,
16,
787,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
String replyTo = acct.getAttr(Provisioning.A_zimbraPrefReplyToAddress); if (replyTo != null && !replyTo.trim().equals("")) mm.setHeader("Reply-To", replyTo); | Address[] existingReplyTos = mm.getReplyTo(); if (existingReplyTos == null || existingReplyTos.length == 0) { String replyTo = acct.getAttr(Provisioning.A_zimbraPrefReplyToAddress); if (replyTo != null && !replyTo.trim().equals("")) mm.setHeader("Reply-To", replyTo); } | void updateHeaders(MimeMessage mm, Account acct, Account authuser, boolean replyToSender) throws UnsupportedEncodingException, MessagingException { boolean overrideFromHeader = true; try { String fromHdr = mm.getHeader("From", null); if (fromHdr != null && !fromHdr.equals("")) { ... | 6965 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6965/6655e58d984cf1d0546b8a6f0516437b47c40833/MailSender.java/clean/ZimbraServer/src/java/com/zimbra/cs/mailbox/MailSender.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
1089,
3121,
12,
13320,
1079,
9740,
16,
6590,
20774,
16,
6590,
1357,
1355,
16,
1250,
30934,
12021,
13,
1216,
15367,
16,
23794,
503,
288,
3639,
1250,
3849,
1265,
1864,
273,
638,
31,
36... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
1089,
3121,
12,
13320,
1079,
9740,
16,
6590,
20774,
16,
6590,
1357,
1355,
16,
1250,
30934,
12021,
13,
1216,
15367,
16,
23794,
503,
288,
3639,
1250,
3849,
1265,
1864,
273,
638,
31,
36... |
if ( rm != null && rm.length() > 0 ) | if (rm != null && rm.length() > 0) | private void initializeResourceManager() throws Exception { /* * Which resource manager? */ String rm = getString( RuntimeConstants.RESOURCE_MANAGER_CLASS ); if ( rm != null && rm.length() > 0 ) { /* * if something was specified,... | 9291 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9291/e128e4125429834f73621c8aa67036ca877e731e/RuntimeInstance.java/clean/src/java/org/apache/velocity/runtime/RuntimeInstance.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
4046,
1420,
1318,
1435,
3639,
1216,
1185,
565,
288,
3639,
1748,
540,
380,
21918,
1058,
3301,
35,
540,
1195,
1171,
514,
6692,
273,
4997,
12,
2509,
2918,
18,
11395,
67,
19402,
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,
4046,
1420,
1318,
1435,
3639,
1216,
1185,
565,
288,
3639,
1748,
540,
380,
21918,
1058,
3301,
35,
540,
1195,
1171,
514,
6692,
273,
4997,
12,
2509,
2918,
18,
11395,
67,
19402,
67... |
if (o == this) return true; else if (o == null) return false; else if (o instanceof NamespaceNode) { NamespaceNode ns = (NamespaceNode)o; return (equals(parent, ns.getParentNode()) && equals(name, ns.getNodeName()) && equals(value, ns.getNodeValue())); } else { return false; } | if (o == this) return true; else if (o == null) return false; else if (o instanceof NamespaceNode) { NamespaceNode ns = (NamespaceNode)o; return (equals(parent, ns.getParentNode()) && equals(name, ns.getNodeName()) && equals(value, ns.getNodeValue())); } else { return false; | public boolean equals (Object o) { if (o == this) return true; else if (o == null) return false; else if (o instanceof NamespaceNode) { NamespaceNode ns = (NamespaceNode)o; return (equals(parent, ns.getParentNode()) && equals(name, ns.getNodeName()) && equals(value, ns.getNodeValue()));... | 47970 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47970/3ac43009b72d6ad843b7d9ffe836008742d68e22/NamespaceNode.java/clean/src/java/main/org/jaxen/dom/NamespaceNode.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1606,
261,
921,
320,
13,
565,
288,
202,
430,
261,
83,
422,
333,
13,
202,
565,
327,
638,
31,
202,
12107,
309,
261,
83,
422,
446,
13,
202,
565,
327,
629,
31,
202,
12107,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1606,
261,
921,
320,
13,
565,
288,
202,
430,
261,
83,
422,
333,
13,
202,
565,
327,
638,
31,
202,
12107,
309,
261,
83,
422,
446,
13,
202,
565,
327,
629,
31,
202,
12107,
3... |
if (isConstant(rhs)) { | if (PsiUtil.isConstantExpression(rhs)) { | private static boolean isConstantMask(PsiExpression expression) { if (expression == null) { return false; } if (!(expression instanceof PsiBinaryExpression)) { return false; } final PsiBinaryExpression binaryExpression = (PsiBinaryExpression) expression; ... | 17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/10c8a8cdf3f219ba62286b6497b435ac1e283512/IncompatibleMaskInspection.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/bugs/IncompatibleMaskInspection.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1250,
353,
6902,
5796,
12,
52,
7722,
2300,
2652,
13,
288,
3639,
309,
261,
8692,
422,
446,
13,
288,
5411,
327,
629,
31,
3639,
289,
3639,
309,
16051,
12,
8692,
1276,
453,
7722,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
760,
1250,
353,
6902,
5796,
12,
52,
7722,
2300,
2652,
13,
288,
3639,
309,
261,
8692,
422,
446,
13,
288,
5411,
327,
629,
31,
3639,
289,
3639,
309,
16051,
12,
8692,
1276,
453,
7722,... |
IDataItemEventHandler eh = ( IDataItemEventHandler ) getInstance( ( DataItemHandle ) dataItemDesign .getHandle( ) ); | IDataItemEventHandler eh = getEventHandler( dataItemDesign, context ); | public static void handleOnRender( DataContent content, ExecutionContext context ) { try { ReportItemDesign dataItemDesign = ( ReportItemDesign ) content .getGenerateBy( ); IDataItemInstance dataItem = new DataItemInstance( content, context ); if ( handleJS( dataItem, dataItemDesign.getOnRender( ), conte... | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/c0422a1db84842d1e332663c3d4c7e2a8109aca8/DataItemScriptExecutor.java/buggy/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/DataItemScriptExecutor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
1640,
1398,
3420,
12,
1910,
1350,
913,
16,
1082,
202,
3210,
1042,
819,
262,
202,
95,
202,
202,
698,
202,
202,
95,
1082,
202,
4820,
1180,
15478,
27493,
15478,
273,
26... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
1640,
1398,
3420,
12,
1910,
1350,
913,
16,
1082,
202,
3210,
1042,
819,
262,
202,
95,
202,
202,
698,
202,
202,
95,
1082,
202,
4820,
1180,
15478,
27493,
15478,
273,
26... |
accessibleContext = new AccessibleJSplitPane(this); | accessibleContext = new AccessibleJSplitPane(); | public AccessibleContext getAccessibleContext() { if (accessibleContext == null) accessibleContext = new AccessibleJSplitPane(this); return accessibleContext; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/JSplitPane.java/clean/core/src/classpath/javax/javax/swing/JSplitPane.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
5016,
1523,
1042,
336,
10451,
1042,
1435,
225,
288,
565,
309,
261,
26037,
1042,
422,
446,
13,
1377,
12718,
1042,
273,
394,
5016,
1523,
46,
5521,
8485,
5621,
377,
327,
12718,
1042,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
5016,
1523,
1042,
336,
10451,
1042,
1435,
225,
288,
565,
309,
261,
26037,
1042,
422,
446,
13,
1377,
12718,
1042,
273,
394,
5016,
1523,
46,
5521,
8485,
5621,
377,
327,
12718,
1042,
3... |
LOCK_TRIGGER_ACCESS, new TransactionCallback() { public Object execute(Connection conn) throws JobPersistenceException { return Boolean.valueOf(removeTrigger(conn, ctxt, triggerName, groupName)); } })).booleanValue(); | LOCK_TRIGGER_ACCESS, new TransactionCallback() { public Object execute(Connection conn) throws JobPersistenceException { return Boolean.valueOf(removeTrigger(conn, ctxt, triggerName, groupName)); } })).booleanValue(); | public boolean removeTrigger(final SchedulingContext ctxt, final String triggerName, final String groupName) throws JobPersistenceException { return ((Boolean)executeInLock( LOCK_TRIGGER_ACCESS, new TransactionCallback() { public Object execute(Connection conn) thr... | 3431 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3431/0ca5d7d851637eb8695746dba9608de14253a225/JobStoreSupport.java/clean/src/java/org/quartz/impl/jdbcjobstore/JobStoreSupport.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
1206,
6518,
12,
6385,
348,
13252,
1042,
14286,
16,
727,
514,
3080,
461,
16,
3639,
727,
514,
11619,
13,
1216,
3956,
13182,
503,
288,
3639,
327,
14015,
5507,
13,
8837,
382,
2531... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1206,
6518,
12,
6385,
348,
13252,
1042,
14286,
16,
727,
514,
3080,
461,
16,
3639,
727,
514,
11619,
13,
1216,
3956,
13182,
503,
288,
3639,
327,
14015,
5507,
13,
8837,
382,
2531... |
sentSuccess = true; | private void realRun() { runThread = Thread.currentThread(); // FIXME implement rate limiting or something! // Send Accepted Message accepted = DMT.createFNPAccepted(uid); try { source.send(accepted, this); } catch (NotConnectedException e1) { Logger.minor(this, "Lost... | 48807 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48807/eda25544c98825ea7f1e9ddd5c08127cd671f788/InsertHandler.java/buggy/src/freenet/node/InsertHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2863,
1997,
1435,
288,
3639,
1086,
3830,
273,
4884,
18,
2972,
3830,
5621,
7734,
368,
9852,
2348,
4993,
1800,
310,
578,
5943,
5,
3639,
368,
2479,
8662,
329,
3639,
2350,
8494,
27... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2863,
1997,
1435,
288,
3639,
1086,
3830,
273,
4884,
18,
2972,
3830,
5621,
7734,
368,
9852,
2348,
4993,
1800,
310,
578,
5943,
5,
3639,
368,
2479,
8662,
329,
3639,
2350,
8494,
27... | |
{ return true; } | { return true; } | public boolean supportsColumnAliasing() throws SQLException { return true; } | 2413 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2413/0c8299478c05542a0f240973829223c7dae7e4dd/DatabaseMetaData.java/buggy/postgresql/DatabaseMetaData.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
6146,
1494,
2936,
310,
1435,
1216,
6483,
202,
95,
202,
202,
2463,
638,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
1250,
6146,
1494,
2936,
310,
1435,
1216,
6483,
202,
95,
202,
202,
2463,
638,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
System.out.println("INFO: Parsing LDML document for: "+xmlfileName); | System.out.println("INFO: Parsing "+xmlfileName); | private void createResourceBundle(String xmlfileName) { try { System.out.println("INFO: Parsing LDML document for: "+xmlfileName); Document doc = LDMLUtilities.parse(xmlfileName, false); // Create the Resource linked list which will hold the // da... | 27800 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27800/51bc1ccda5174c11ac3549ee5605f555b93ce2e9/LDML2ICUConverter.java/buggy/tools/java/org/unicode/cldr/icu/LDML2ICUConverter.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
752,
18731,
12,
780,
2025,
17812,
13,
288,
540,
775,
288,
2398,
2332,
18,
659,
18,
8222,
2932,
5923,
30,
19761,
13773,
2902,
17812,
1769,
12900,
4319,
997,
273,
28083,
1495,
11... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
752,
18731,
12,
780,
2025,
17812,
13,
288,
540,
775,
288,
2398,
2332,
18,
659,
18,
8222,
2932,
5923,
30,
19761,
13773,
2902,
17812,
1769,
12900,
4319,
997,
273,
28083,
1495,
11... |
String keyString = key.toString(); | String keyString = key.toString(); | void persistBioentryProperty(Connection conn, int bioentry_id, Object key, Object value, boolean removeFirst, boolean silent) throws SQLException { String keyString = key.toString(); // Ought to check for special-case keys. (or just wait 'til the special case // tables get nuked :-) //... | 50397 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50397/8a46d5de3fe9090d980d1d2a6af0d1a91dc8dba3/BioSQLSequenceDB.java/buggy/src/org/biojava/bio/seq/db/biosql/BioSQLSequenceDB.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
3898,
38,
1594,
4099,
1396,
12,
1952,
1487,
16,
6862,
509,
25091,
4099,
67,
350,
16,
6862,
1033,
498,
16,
6862,
1033,
460,
16,
6862,
1250,
1206,
3759,
16,
6862,
1250,
10404,
13,
36... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
918,
3898,
38,
1594,
4099,
1396,
12,
1952,
1487,
16,
6862,
509,
25091,
4099,
67,
350,
16,
6862,
1033,
498,
16,
6862,
1033,
460,
16,
6862,
1250,
1206,
3759,
16,
6862,
1250,
10404,
13,
36... |
public void valueChanged(TreeSelectionEvent treeSelectionEvent) { if (tree.getSelectionPaths() != null && tree.getSelectionPaths().length > 0) { selectedTreePaths = tree.getSelectionModel().getSelectionPaths(); | public void valueChanged(TreeSelectionEvent treeSelectionEvent) { if (this.tree.getSelectionPaths() != null && this.tree.getSelectionPaths().length > 0) { selectedTreePaths = this.tree.getSelectionModel().getSelectionPaths(); | public void valueChanged(TreeSelectionEvent treeSelectionEvent) { if (tree.getSelectionPaths() != null && tree.getSelectionPaths().length > 0) { selectedTreePaths = tree.getSelectionModel().getSelectionPaths(); } } | 51263 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51263/d4a93c3315c8aa9b9d64e1c03577610a1dbca61d/JTreeUpdater.java/clean/src/main/mondrian/gui/JTreeUpdater.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
460,
5033,
12,
2471,
6233,
1133,
2151,
6233,
1133,
13,
288,
202,
202,
430,
261,
3413,
18,
588,
6233,
4466,
1435,
480,
446,
1082,
202,
10,
10,
2151,
18,
588,
6233,
4466,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
460,
5033,
12,
2471,
6233,
1133,
2151,
6233,
1133,
13,
288,
202,
202,
430,
261,
3413,
18,
588,
6233,
4466,
1435,
480,
446,
1082,
202,
10,
10,
2151,
18,
588,
6233,
4466,
... |
putParameter("debug-level", new Integer(5), null, 'f'); | newParameter("debug-level", new Integer(5), null, 'f'); | public DigilibConfiguration() { // create HashMap(20) super(20); // we start with a default logger config BasicConfigurator.configure(); /* * Definition of parameters and default values. System parameters that * are not read from config file have a type 's'. */ // digilib servlet version putParameter( ... | 10369 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10369/28e33e54fd06a387fb3430ba2d1a3b1561523d97/DigilibConfiguration.java/buggy/servlet/src/digilib/servlet/DigilibConfiguration.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
11678,
330,
495,
1750,
1435,
288,
202,
202,
759,
752,
4317,
12,
3462,
13,
202,
202,
9565,
12,
3462,
1769,
202,
202,
759,
732,
787,
598,
279,
805,
1194,
642,
202,
202,
8252,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11678,
330,
495,
1750,
1435,
288,
202,
202,
759,
752,
4317,
12,
3462,
13,
202,
202,
9565,
12,
3462,
1769,
202,
202,
759,
732,
787,
598,
279,
805,
1194,
642,
202,
202,
8252,
... |
if( (errorCode >= GLU.GLU.GLU_INVALID_ENUM) && (errorCode <= GLU.GLU.GLU_INVALID_OPERATION) ) { return( gluErrorStrings[ errorCode - GLU.GLU.GLU_INVALID_ENUM ] ); | if( (errorCode >= GLUImpl.GLU_INVALID_ENUM) && (errorCode <= GLUImpl.GLU_INVALID_OPERATION) ) { return( gluErrorStrings[ errorCode - GLUImpl.GLU_INVALID_ENUM ] ); | public static String gluErrorString( int errorCode ) { if( errorCode == 0 ) { return( "no error" ); } if( (errorCode >= GL.GL_INVALID_ENUM) && (errorCode <= GL.GL_OUT_OF_MEMORY) ) { return( glErrorStrings[ errorCode - GL.GL_INVALID_ENUM ] ); } if( errorCode == GL.GL_TABLE_TOO_LARGE ) { r... | 47282 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47282/dfbee835b5a50b1c6219bd53e15823ea83d73dd6/Error.java/clean/src/net/java/games/jogl/impl/error/Error.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
514,
5118,
89,
668,
780,
12,
509,
12079,
262,
288,
565,
309,
12,
12079,
422,
374,
262,
288,
1377,
327,
12,
315,
2135,
555,
6,
11272,
565,
289,
565,
309,
12,
261,
27754,
154... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
514,
5118,
89,
668,
780,
12,
509,
12079,
262,
288,
565,
309,
12,
12079,
422,
374,
262,
288,
1377,
327,
12,
315,
2135,
555,
6,
11272,
565,
289,
565,
309,
12,
261,
27754,
154... |
img2D = UIHelper.getImage("images/piechartimage.gif"); | img2D = UIHelper.getImage("images/piechartimage.gif"); | public Collection getChartSubtypes(String sDimension, Orientation orientation) { Vector vSubTypes = new Vector(); // Do not respond to requests for unknown orientations if (!orientation.equals(Orientation.VERTICAL_LITERAL)) { return vSubTypes; } if (sDimension... | 5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/7793e94b4d7fab5891f226c6c937e37d85bebad8/PieChart.java/clean/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/type/PieChart.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
2200,
336,
7984,
1676,
2352,
12,
780,
272,
8611,
16,
531,
12556,
9820,
13,
565,
288,
3639,
5589,
331,
1676,
2016,
273,
394,
5589,
5621,
3639,
368,
2256,
486,
6846,
358,
3285,
364,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2200,
336,
7984,
1676,
2352,
12,
780,
272,
8611,
16,
531,
12556,
9820,
13,
565,
288,
3639,
5589,
331,
1676,
2016,
273,
394,
5589,
5621,
3639,
368,
2256,
486,
6846,
358,
3285,
364,
... |
return absolute(current_row+rows); | return absolute(current_row+1+rows); | public boolean relative(int rows) throws SQLException { return absolute(current_row+rows); } | 52522 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52522/d3ef753686384256c0a1439b3afb023bd96589ff/ResultSet.java/clean/src/interfaces/jdbc/org/postgresql/jdbc2/ResultSet.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
3632,
12,
474,
2595,
13,
1216,
6483,
565,
288,
202,
327,
4967,
12,
2972,
67,
492,
15,
21,
15,
3870,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
1250,
3632,
12,
474,
2595,
13,
1216,
6483,
565,
288,
202,
327,
4967,
12,
2972,
67,
492,
15,
21,
15,
3870,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
static int getForwardingWord(VM_Address base) throws VM_PragmaUninterruptible, VM_PragmaInline { | static VM_Word getForwardingWord(VM_Address base) throws VM_PragmaUninterruptible, VM_PragmaInline { | static int getForwardingWord(VM_Address base) throws VM_PragmaUninterruptible, VM_PragmaInline { return VM_Interface.readAvailableBitsWord(base); } | 5245 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5245/e9199992b356786655ffe0ebed85eac89e929500/CopyingHeader.java/clean/rvm/src/vm/memoryManagers/JMTk/header/CopyingHeader.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
8251,
67,
3944,
336,
21487,
3944,
12,
7397,
67,
1887,
1026,
13,
1216,
8251,
67,
2050,
9454,
984,
31847,
1523,
16,
8251,
67,
2050,
9454,
10870,
288,
565,
327,
8251,
67,
1358,
18,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
760,
8251,
67,
3944,
336,
21487,
3944,
12,
7397,
67,
1887,
1026,
13,
1216,
8251,
67,
2050,
9454,
984,
31847,
1523,
16,
8251,
67,
2050,
9454,
10870,
288,
565,
327,
8251,
67,
1358,
18,
89... |
jjCheckNAddStates(4, 8); break; case 18: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(18, 19); break; case 19: if (curChar == 64) jjCheckNAdd(20); break; case 20: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(20, 21); break; case 22: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 19) kind ... | jjCheckNAddTwoStates(47, 48); break; case 48: if ((0x7fffffeL & l) == 0L) | private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 48; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cu... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/2e6a5e583cccdc19c543caf9a1fb259181c98cb6/WikiParserTokenManager.java/buggy/wiki/src/org/tcdi/opensource/wiki/parser/WikiParserTokenManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
727,
509,
10684,
7607,
50,
507,
67,
20,
12,
474,
787,
1119,
16,
509,
662,
1616,
15329,
282,
509,
8526,
1024,
7629,
31,
282,
509,
2542,
861,
273,
374,
31,
282,
10684,
2704,
1119,
11750,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
727,
509,
10684,
7607,
50,
507,
67,
20,
12,
474,
787,
1119,
16,
509,
662,
1616,
15329,
282,
509,
8526,
1024,
7629,
31,
282,
509,
2542,
861,
273,
374,
31,
282,
10684,
2704,
1119,
11750,... |
vars.addLocal(name); | vars.addLocal(name, createVariableObject(name, false)); | protected void addVariables(Node tree, VariableTable vars) { // OPT: a whole pass to collect variables seems expensive. // Could special case to go into statements only. boolean inFunction = tree.getType() == TokenStream.FUNCTION; PreorderNodeIterator iterator = tree.getPreorderIterator(... | 12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/e497d2b898e781a5052344191ab878cd469f3f53/NodeTransformer.java/clean/js/rhino/src/org/mozilla/javascript/NodeTransformer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
527,
6158,
12,
907,
2151,
16,
7110,
1388,
4153,
13,
288,
3639,
368,
16456,
30,
279,
7339,
1342,
358,
3274,
3152,
12001,
19326,
18,
3639,
368,
14312,
4582,
648,
358,
1960,
1368,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
527,
6158,
12,
907,
2151,
16,
7110,
1388,
4153,
13,
288,
3639,
368,
16456,
30,
279,
7339,
1342,
358,
3274,
3152,
12001,
19326,
18,
3639,
368,
14312,
4582,
648,
358,
1960,
1368,... |
final X86RegisterPool pool = eContext.getPool(); final Register scratch = (Register)pool.request(Item.INT); helper.writeArrayStoreWriteBarrier(r, idx.getRegister(), v, scratch); pool.release(scratch); | final X86RegisterPool pool = eContext.getPool(); final Register scratch = (Register)pool.request(Item.INT); helper.writeArrayStoreWriteBarrier(r, idx.getRegister(), v, scratch); pool.release(scratch); | public final void visit_aastore() { final boolean useBarrier = (context.getWriteBarrier() != null); RefItem val = vstack.popRef(); IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); //IMPROVE: optimize case with const value val.load(eContext); // if barr... | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/2dae0b481ae2c6630293d1adeea4e81e12d7547b/X86BytecodeVisitor.java/clean/core/src/core/org/jnode/vm/x86/compiler/l1a/X86BytecodeVisitor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
727,
918,
3757,
67,
69,
689,
479,
1435,
288,
377,
202,
6385,
1250,
999,
5190,
10342,
273,
261,
2472,
18,
588,
3067,
5190,
10342,
1435,
480,
446,
1769,
377,
202,
3639,
3941,
1180,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
727,
918,
3757,
67,
69,
689,
479,
1435,
288,
377,
202,
6385,
1250,
999,
5190,
10342,
273,
261,
2472,
18,
588,
3067,
5190,
10342,
1435,
480,
446,
1769,
377,
202,
3639,
3941,
1180,
... |
return field_218_lcbPlcupcRgbuse; | return field_217_lcbPlcupcRgbuse; | public int getLcbPlcupcRgbuse() { return field_218_lcbPlcupcRgbuse; } | 509 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/509/944c40af98f9912ed6835ed6cbadaea6cc8815cf/FIBAbstractType.java/clean/src/scratchpad/src/org/apache/poi/hdf/model/hdftypes/definitions/FIBAbstractType.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
9014,
7358,
1749,
71,
416,
71,
22333,
1202,
1435,
565,
288,
3639,
327,
652,
67,
22,
4033,
67,
80,
7358,
1749,
71,
416,
71,
22333,
1202,
31,
565,
289,
2,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
9014,
7358,
1749,
71,
416,
71,
22333,
1202,
1435,
565,
288,
3639,
327,
652,
67,
22,
4033,
67,
80,
7358,
1749,
71,
416,
71,
22333,
1202,
31,
565,
289,
2,
-100,
-100,
-100,
-... |
} else { fgColor = colorRegistry .get(IWorkbenchThemeConstants.INACTIVE_TAB_TEXT_COLOR); bgColors[0] = colorRegistry .get(IWorkbenchThemeConstants.INACTIVE_TAB_BG_START); bgColors[1] = colorRegistry .get(IWorkbenchThemeConstants.INACTIVE_TAB_BG_END); percent[0] = currentTheme .getInt(IWorkbenchThemeConstants.INACTIVE_T... | ITheme theme = PlatformUI.getWorkbench().getThemeManager().getCurrentTheme(); ColorRegistry colorRegistry = theme.getColorRegistry(); if (isActive()) { drawGradient( colorRegistry.get(IWorkbenchThemeConstants.ACTIVE_TAB_TEXT_COLOR), new Color [] { colorRegistry.get(IWorkbenchThemeConstants.ACTIVE_TAB_BG_START), colorR... | private void updateGradient() { Color fgColor; ITheme currentTheme = PlatformUI.getWorkbench().getThemeManager() .getCurrentTheme(); FontRegistry fontRegistry = currentTheme.getFontRegistry(); ColorRegistry colorRegistry = currentTheme.getColorRegistry(); Color[] bg... | 55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/6434a8436bae586f7687994e72e815dec3639795/EditorPresentation.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/presentations/EditorPresentation.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1089,
15651,
1435,
288,
3639,
5563,
10186,
2957,
31,
3639,
467,
8335,
783,
8335,
273,
11810,
5370,
18,
588,
2421,
22144,
7675,
588,
8335,
1318,
1435,
7734,
263,
588,
3935,
8335,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1089,
15651,
1435,
288,
3639,
5563,
10186,
2957,
31,
3639,
467,
8335,
783,
8335,
273,
11810,
5370,
18,
588,
2421,
22144,
7675,
588,
8335,
1318,
1435,
7734,
263,
588,
3935,
8335,
... |
setDataSet((DataSet)newValue); return; case TypePackage.PIE_SERIES__FORMAT_SPECIFIER: setFormatSpecifier((FormatSpecifier)newValue); | setDataSet((DataSet) newValue); | public void eSet(EStructuralFeature eFeature, Object newValue) { switch (eDerivedStructuralFeatureID(eFeature)) { case TypePackage.PIE_SERIES__VISIBLE: setVisible(((Boolean)newValue).booleanValue()); return; case TypePackage.PIE_SERIES__LABEL: ... | 12803 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12803/e5c78f0e8317166d02fa384e14c3dd7aa1796f2c/PieSeriesImpl.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/model/type/impl/PieSeriesImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
20199,
12,
41,
14372,
4595,
425,
4595,
16,
1033,
6129,
13,
565,
288,
3639,
1620,
261,
73,
21007,
14372,
4595,
734,
12,
73,
4595,
3719,
3639,
288,
5411,
648,
1412,
2261,
18,
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,
20199,
12,
41,
14372,
4595,
425,
4595,
16,
1033,
6129,
13,
565,
288,
3639,
1620,
261,
73,
21007,
14372,
4595,
734,
12,
73,
4595,
3719,
3639,
288,
5411,
648,
1412,
2261,
18,
2... |
if (name == null) initialProjectFieldValue = null; else { | if (name == null) { initialProjectFieldValue = null; } else { | public void setInitialProjectName(String name) { if (name == null) initialProjectFieldValue = null; else { initialProjectFieldValue = name.trim(); if(locationArea != null) locationArea.updateProjectName(name.trim()); } } | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/e38d295ea613cf9f08aadb93a84a33d2e91abc5f/WizardNewProjectCreationPage.java/clean/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/WizardNewProjectCreationPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
4435,
4109,
461,
12,
780,
508,
13,
288,
3639,
309,
261,
529,
422,
446,
13,
5411,
2172,
4109,
13559,
273,
446,
31,
3639,
469,
288,
5411,
2172,
4109,
13559,
273,
508,
18,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
444,
4435,
4109,
461,
12,
780,
508,
13,
288,
3639,
309,
261,
529,
422,
446,
13,
5411,
2172,
4109,
13559,
273,
446,
31,
3639,
469,
288,
5411,
2172,
4109,
13559,
273,
508,
18,
... |
List list = (List) getArg(evaluator, args, 0); int n = getIntArg(evaluator, args, 1); ExpBase exp = (ExpBase) getArgNoEval(args, 2, null); if (exp != null) { boolean desc = true, brk = true; sort(evaluator, list, exp, desc, brk); | List left = (List) getArg(evaluator, args, 0); List right = (List) getArg(evaluator, args, 1); if (all) { if ((left == null) || left.isEmpty()) { return right; } left.addAll(right); return left; } else { HashSet added = new HashSet(); List result = new ArrayList(); addUnique(result, left, added); addUnique(result, righ... | protected FunDef createFunDef(Exp[] args, FunDef dummyFunDef) { return new FunDefBase(dummyFunDef) { public Object evaluate(Evaluator evaluator, Exp[] args) { List list = (List) getArg(evaluator, args, 0); int n = getIntArg(eval... | 4891 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4891/3041f930b5fc4bf6aa3339845b828801c1d8b366/BuiltinFunTable.java/buggy/src/main/mondrian/olap/fun/BuiltinFunTable.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
4750,
478,
318,
3262,
752,
22783,
3262,
12,
2966,
8526,
833,
16,
478,
318,
3262,
9609,
22783,
3262,
13,
288,
7734,
327,
394,
478,
318,
3262,
2171,
12,
21050,
22783,
3262,
13,
288,
10792,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
4750,
478,
318,
3262,
752,
22783,
3262,
12,
2966,
8526,
833,
16,
478,
318,
3262,
9609,
22783,
3262,
13,
288,
7734,
327,
394,
478,
318,
3262,
2171,
12,
21050,
22783,
3262,
13,
288,
10792,... |
else { return ((sDocComment != null)?(sDocComment):("")); } } | public String generateConstraintEnrichedDocComment (MModelElement me, MAssociationEnd ae) { String sDocComment = generateConstraintEnrichedDocComment (me); MMultiplicity m = ae.getMultiplicity(); if (! (MMultiplicity.M1_1.equals(m) || MMultiplicity.M0_1.eq... | 7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/5cee6094c7b77e3bcf6338f68456e6e531e781b7/GeneratorPHP.java/buggy/modules/php/src/org/argouml/language/php/generator/GeneratorPHP.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
2103,
5806,
664,
12761,
329,
1759,
4469,
261,
49,
1488,
1046,
1791,
16,
4766,
8227,
490,
7174,
1638,
14221,
13,
288,
565,
514,
272,
1759,
4469,
273,
2103,
5806,
664,
12761,
329... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
2103,
5806,
664,
12761,
329,
1759,
4469,
261,
49,
1488,
1046,
1791,
16,
4766,
8227,
490,
7174,
1638,
14221,
13,
288,
565,
514,
272,
1759,
4469,
273,
2103,
5806,
664,
12761,
329... | |
errorManager.println("EventDistiller: shutting down", EDErrorManager.ERROR); /* Shut down the dispatchers */ if (owner == null) try { ((HierarchicalDispatcher)publicSiena).shutdown(); } catch(Exception e) { e.printStackTrace(); } bus.shutdown(); if (eventDriven) failAll(); if (outputFile != null) try { PrintWriter... | public void shutdown() { inShutdown = true; // the loop will die automatically, after cleaning up } | 14534 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14534/0c4918e212206f6df976dec12ab4ee6bdb0f2d1c/EventDistiller.java/buggy/EventDistiller.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
555,
1318,
18,
8222,
2932,
1133,
5133,
24462,
30,
24376,
2588,
3113,
15585,
668,
1318,
18,
3589,
1769,
225,
1748,
2638,
322,
2588,
326,
3435,
414,
1195,
309,
261,
8443,
422,
446,
13,
775,
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,
555,
1318,
18,
8222,
2932,
1133,
5133,
24462,
30,
24376,
2588,
3113,
15585,
668,
1318,
18,
3589,
1769,
225,
1748,
2638,
322,
2588,
326,
3435,
414,
1195,
309,
261,
8443,
422,
446,
13,
775,
288,... | |
public void addToBothSidesOfChildren(er.bugtracker.Component object) { | public void addToBothSidesOfChildren(Component object) { | public void addToBothSidesOfChildren(er.bugtracker.Component object) { addObjectToBothSidesOfRelationshipWithKey(object, "children"); } | 810 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/810/21860412e805f154cb49c770e4efd4a596cf0a19/_Component.java/clean/Wonder/Common/Applications/BugTracker/Frameworks/BTBusinessLogic/Sources/er/bugtracker/_Component.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
9604,
20240,
55,
4369,
951,
4212,
12,
1841,
733,
13,
288,
3639,
31311,
774,
20240,
55,
4369,
951,
8180,
1190,
653,
12,
1612,
16,
315,
5906,
8863,
565,
289,
2,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
9604,
20240,
55,
4369,
951,
4212,
12,
1841,
733,
13,
288,
3639,
31311,
774,
20240,
55,
4369,
951,
8180,
1190,
653,
12,
1612,
16,
315,
5906,
8863,
565,
289,
2,
-100,
-100,
-10... |
super(new Buffer(new PositionCache(new Summer(fs, file, overwrite)), bufferSize)); | super(new Buffer(new PositionCache(new Summer(fs, file, overwrite, nutchConf)), nutchConf.getInt("io.file.buffer.size", 4096))); | public NFSDataOutputStream(NutchFileSystem fs, File file, boolean overwrite, int bufferSize) throws IOException { super(new Buffer(new PositionCache(new Summer(fs, file, overwrite)), bufferSize)); } | 57484 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57484/329ff64e9d7295aff108f85e9a8103f5e5f8f398/NFSDataOutputStream.java/clean/src/java/org/apache/nutch/fs/NFSDataOutputStream.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
31924,
751,
4632,
12,
50,
322,
343,
11785,
2662,
16,
1387,
585,
16,
11794,
1250,
6156,
16,
509,
16939,
13,
565,
1216,
1860,
288,
565,
2240,
12,
2704,
3525,
12,
2704,
11010,
1649,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
31924,
751,
4632,
12,
50,
322,
343,
11785,
2662,
16,
1387,
585,
16,
11794,
1250,
6156,
16,
509,
16939,
13,
565,
1216,
1860,
288,
565,
2240,
12,
2704,
3525,
12,
2704,
11010,
1649,
... |
spfData.setRedirectDomain(null); | public void run(SPF1Data spfData) throws PermErrorException { String host = this.host; try { host = new MacroExpand(spfData).expandDomain(host); spfData.setRedirectDomain(host); } catch (Exception e) { spfData.setRedirectDomain(null); throw new PermEr... | 49306 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49306/8dd14e5e0fcf759527f7528d87c64676e28ff728/RedirectModifier.java/buggy/src/main/java/org/apache/spf/modifier/RedirectModifier.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
12,
3118,
42,
21,
751,
1694,
74,
751,
13,
1216,
13813,
10009,
288,
3639,
514,
1479,
273,
333,
18,
2564,
31,
3639,
775,
288,
5411,
1479,
273,
394,
31203,
12271,
12,
1752... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1086,
12,
3118,
42,
21,
751,
1694,
74,
751,
13,
1216,
13813,
10009,
288,
3639,
514,
1479,
273,
333,
18,
2564,
31,
3639,
775,
288,
5411,
1479,
273,
394,
31203,
12271,
12,
1752... | |
assertEquals("{" + SystemUtils.LINE_SEPARATOR + "foo=bar" + SystemUtils.LINE_SEPARATOR + "foozle=doozle" + SystemUtils.LINE_SEPARATOR + "}", MapUtils.toString(props, true)); | result = MapUtils.toString(props, true); assertTrue(result.startsWith("{" + SystemUtils.LINE_SEPARATOR)); assertTrue(result.indexOf("foo=bar") != -1); assertTrue(result.indexOf("foozle=doozle") != -1); assertTrue(result.endsWith(SystemUtils.LINE_SEPARATOR + "}")); | public void testToStringMultipleElements() throws Exception { Map props = MapUtils.mapWithKeysAndValues(HashMap.class, new Object[]{"foo", "foozle"}, new Object[]{ "bar", "doozle"}); assertEquals("{foo=bar, foozle=doozle}", MapUtils.toString(props, false)); assertEquals("{" + Syst... | 28323 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/28323/059ac8c5e0056c5ac8e2ef697aaf1830bc803b99/MapUtilsTestCase.java/buggy/tests/core/src/test/java/org/mule/test/util/MapUtilsTestCase.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
5808,
8438,
3471,
1435,
1216,
1185,
565,
288,
3639,
1635,
3458,
273,
1635,
1989,
18,
1458,
1190,
2396,
1876,
1972,
12,
8658,
18,
1106,
16,
394,
1033,
63,
7073,
6,
11351,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5808,
8438,
3471,
1435,
1216,
1185,
565,
288,
3639,
1635,
3458,
273,
1635,
1989,
18,
1458,
1190,
2396,
1876,
1972,
12,
8658,
18,
1106,
16,
394,
1033,
63,
7073,
6,
11351,
... |
ElementWildcard.setErrReporter(fStringPool, fErrorReporter); | public void setGrammarResolver(GrammarResolver grammarResolver){ fGrammarResolver = grammarResolver; fSGComparator = new SubstitutionGroupComparator(fGrammarResolver, fStringPool, fErrorReporter); ElementWildcard.setErrReporter(fStringPool, fErrorReporter); if (fValidating) { //optimization -el... | 6373 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6373/c545807606fa5f31dc3e72abcb797d9e919ac0b7/XMLValidator.java/buggy/src/org/apache/xerces/validators/common/XMLValidator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
444,
18576,
4301,
12,
18576,
4301,
6473,
4301,
15329,
1377,
284,
18576,
4301,
273,
6473,
4301,
31,
1377,
284,
30820,
5559,
273,
394,
2592,
14278,
1114,
5559,
12,
74,
18576,
4301,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
565,
1071,
918,
444,
18576,
4301,
12,
18576,
4301,
6473,
4301,
15329,
1377,
284,
18576,
4301,
273,
6473,
4301,
31,
1377,
284,
30820,
5559,
273,
394,
2592,
14278,
1114,
5559,
12,
74,
18576,
4301,... | |
lastCompletedResult= null; searchJob= new ResourceSearchEngineJob(searchJobTicket, model, (ResourceHistory) history, this); | lastCompletedResult = null; searchJob = new ResourceSearchEngineJob(searchJobTicket, model, (ResourceHistory) history, this); | private void scheduleSearchJob() { searchJobTicket++; if (lastComplitedMacher != null && lastComplitedMacher.match(patternString)) { searchJob= new ResourceCachedResultJob(searchJobTicket, lastCompletedResult, model, (ResourceHistory) history); } else { lastComplitedMacher = null; lastCompletedResult= nul... | 56152 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56152/f9c466e731a3fcd6b27ded21559cc21bf6d87935/ResourceSearcher.java/buggy/bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/ResourceSearcher.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
4788,
2979,
2278,
1435,
288,
202,
202,
3072,
2278,
13614,
9904,
31,
202,
202,
430,
261,
2722,
799,
1127,
329,
49,
27779,
480,
446,
597,
1142,
799,
1127,
329,
49,
27779,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4788,
2979,
2278,
1435,
288,
202,
202,
3072,
2278,
13614,
9904,
31,
202,
202,
430,
261,
2722,
799,
1127,
329,
49,
27779,
480,
446,
597,
1142,
799,
1127,
329,
49,
27779,
... |
addVirtualInvoke("org/mozilla/javascript/EcmaError", "getErrorObject", "()Lorg/mozilla/javascript/Scriptable;"); | private void generateCatchBlock(int exceptionType, short savedVariableObject, int catchLabel, int startLabel) { int handler = acquireLabel(); classFile.markHandler(handler); // MS JVM get... | 47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/48b46eb3845fd6cf8fa13cd3def581f9a0ff4339/Codegen.java/clean/src/org/mozilla/javascript/optimizer/Codegen.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2103,
14842,
1768,
12,
474,
1520,
559,
16,
4766,
565,
3025,
5198,
3092,
921,
16,
4766,
565,
509,
1044,
2224,
16,
4766,
565,
509,
787,
2224,
13,
565,
288,
3639,
509,
1838,
273... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
2103,
14842,
1768,
12,
474,
1520,
559,
16,
4766,
565,
3025,
5198,
3092,
921,
16,
4766,
565,
509,
1044,
2224,
16,
4766,
565,
509,
787,
2224,
13,
565,
288,
3639,
509,
1838,
273... | |
stack.resetForMethodEntry(this); | stack.resetForMethodEntry(this); | public void visit(Method obj) { stack.resetForMethodEntry(this); super.visit(obj); } | 7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/b0d608236fd82590bffe3de5e3fdf95e2c9b3982/BadResultSetAccess.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/detect/BadResultSetAccess.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
12,
1305,
1081,
13,
288,
7734,
2110,
18,
6208,
1290,
1305,
1622,
12,
2211,
1769,
202,
202,
9565,
18,
11658,
12,
2603,
1769,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
3757,
12,
1305,
1081,
13,
288,
7734,
2110,
18,
6208,
1290,
1305,
1622,
12,
2211,
1769,
202,
202,
9565,
18,
11658,
12,
2603,
1769,
202,
97,
2,
-100,
-100,
-100,
-100,
-100... |
IPath relPath = pFilePath.removeFirstSegments(getProject().getLocation().segmentCount()); | List cmdList = new ArrayList(); cmdList.add(cmd); Map sc = new HashMap(1); sc.put(ScannerInfoTypes.COMPILER_COMMAND, cmdList); IPath relPath = pFilePath.removeFirstSegments(getProject().getLocation().segmentCount()); | protected boolean processSingleLine(String line) { boolean rc = false; // GCC C/C++ compiler invocation int compilerInvocationIndex = -1; for (int cii = 0; cii < COMPILER_INVOCATION.length; ++cii) { compilerInvocationIndex = line.indexOf(COMPILER_INVOCATION[cii]); ... | 6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/51467c7d3c1899d9f239030ae105e62ca0e137fa/GCCPerFileBOPConsoleParser.java/clean/build/org.eclipse.cdt.make.core/src/org/eclipse/cdt/make/internal/core/scannerconfig/gnu/GCCPerFileBOPConsoleParser.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
1250,
1207,
5281,
1670,
12,
780,
980,
13,
288,
3639,
1250,
4519,
273,
629,
31,
3639,
368,
611,
6743,
385,
19,
39,
9904,
5274,
9495,
540,
509,
5274,
9267,
1016,
273,
300,
21,
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,
4750,
1250,
1207,
5281,
1670,
12,
780,
980,
13,
288,
3639,
1250,
4519,
273,
629,
31,
3639,
368,
611,
6743,
385,
19,
39,
9904,
5274,
9495,
540,
509,
5274,
9267,
1016,
273,
300,
21,
31,
... |
); hs.close(); GrouperLog.debug(LOG, s, MSG_FEMSHIPSG_PRO + " unfiltered: " + l.size()); mships.addAll( _filterMemberships(s, f, l) ); | catch (InsufficientPrivilegeException eIP) { } } | protected static Set findEffectiveMemberships( GrouperSession s, Group g, Field f ) { /* * @caller public Group.getEffectiveMemberships(f) * @caller protected MembershipFinder.findEffectiveMembers(s, g, field) * @filtered true * @session true */ GrouperSession.validate(s); ... | 5235 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5235/c0eaa56df7ae25c0db85519017f250650f770a56/MembershipFinder.java/buggy/grouper/src/grouper/edu/internet2/middleware/grouper/MembershipFinder.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
760,
1000,
1104,
28531,
13447,
87,
12,
565,
3756,
264,
2157,
272,
16,
3756,
314,
16,
2286,
284,
225,
262,
225,
288,
565,
1748,
377,
380,
632,
16140,
565,
1071,
565,
3756,
18,
588,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
760,
1000,
1104,
28531,
13447,
87,
12,
565,
3756,
264,
2157,
272,
16,
3756,
314,
16,
2286,
284,
225,
262,
225,
288,
565,
1748,
377,
380,
632,
16140,
565,
1071,
565,
3756,
18,
588,... |
String s; | public GrantedAuthority[] getGrantedAuthorities(LdapUserDetails userDetails) throws LdapDataAccessException { Assert.notNull(userDetails, "UserDetails can not be null"); Attributes attributes = userDetails.getAttributes(); Assert.notNull(attributes, "Attributes in the UserDetails object cannot ... | 11849 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11849/59510b40d9c7ad0f3ea10e9cd9748a78df6d986f/UserAttributeLdapAuthoritiesPopulator.java/clean/opennms-webapp/src/main/java/org/opennms/web/acegisecurity/UserAttributeLdapAuthoritiesPopulator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
19689,
329,
10962,
8526,
7162,
6890,
329,
3594,
1961,
12,
18437,
1299,
3790,
729,
3790,
13,
1216,
18053,
751,
9773,
288,
3639,
5452,
18,
902,
2041,
12,
1355,
3790,
16,
315,
1299,
37... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19689,
329,
10962,
8526,
7162,
6890,
329,
3594,
1961,
12,
18437,
1299,
3790,
729,
3790,
13,
1216,
18053,
751,
9773,
288,
3639,
5452,
18,
902,
2041,
12,
1355,
3790,
16,
315,
1299,
37... | |
public void newtonRaphsonMinimization(GVector initialCoordinates, PotentialFunction forceField) { initializeMinimizationParameters(initialCoordinates); forceField.setEnergyGradient(kCoordinates); gradientk.set(forceField.getEnergyGradient()); //System.out.println("gradient at iteration 1 : g1 = " + gradientk); ... | 1306 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1306/9adcbd5769512fe518277f87ee5cc7c84de1ccb0/GeometricMinimizer.java/buggy/src/org/openscience/cdk/modeling/forcefield/GeometricMinimizer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
394,
1917,
54,
16003,
816,
2930,
381,
1588,
12,
43,
5018,
2172,
13431,
16,
23435,
2001,
2083,
2944,
974,
13,
288,
9506,
202,
11160,
2930,
381,
1588,
2402,
12,
6769,
13431,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
394,
1917,
54,
16003,
816,
2930,
381,
1588,
12,
43,
5018,
2172,
13431,
16,
23435,
2001,
2083,
2944,
974,
13,
288,
9506,
202,
11160,
2930,
381,
1588,
2402,
12,
6769,
13431,
... | ||
stringBuffer.append(TEXT_169); | stringBuffer.append(TEXT_171); | public String generate(Object argument) { final StringBuffer stringBuffer = new StringBuffer(); final GenDiagram genDiagram = (GenDiagram) ((Object[]) argument)[0];final ImportAssistant importManager = (ImportAssistant) ((Object[]) argument)[1];final GenEditorGenerator editorGen = genDiagram.getEditorGen();fin... | 7409 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7409/88670058e3792eb12387f6a2bac58d878ca8f3f6/NewDiagramFileWizardGenerator.java/clean/plugins/org.eclipse.gmf.codegen.lite/src-templates/org/eclipse/gmf/codegen/templates/lite/editor/NewDiagramFileWizardGenerator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
2103,
12,
921,
1237,
13,
225,
288,
565,
727,
6674,
533,
1892,
273,
394,
6674,
5621,
565,
727,
10938,
14058,
1940,
3157,
14058,
1940,
273,
261,
7642,
14058,
1940,
13,
14015,
921... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
514,
2103,
12,
921,
1237,
13,
225,
288,
565,
727,
6674,
533,
1892,
273,
394,
6674,
5621,
565,
727,
10938,
14058,
1940,
3157,
14058,
1940,
273,
261,
7642,
14058,
1940,
13,
14015,
921... |
return runtime.newFixnum(0); | return newFixnum(runtime, 0); | public static RubyFixnum zero(IRuby runtime) { return runtime.newFixnum(0); } | 49687 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49687/b97a93eb7bcd2bdbafc1df77af959582b7bbab10/RubyFixnum.java/buggy/src/org/jruby/RubyFixnum.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
19817,
8585,
2107,
3634,
12,
7937,
10340,
3099,
13,
288,
3639,
327,
394,
8585,
2107,
12,
9448,
16,
374,
1769,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
19817,
8585,
2107,
3634,
12,
7937,
10340,
3099,
13,
288,
3639,
327,
394,
8585,
2107,
12,
9448,
16,
374,
1769,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
long[] data = { 2281564091665350656L, 2305836407182069516L, 104L, 0L, 0L, 0L}; | long[] data = { 3434485596272197632L, 9223345628728278040L, 416L, 0L, 0L, 0L}; | private static final long[] mk_tokenSet_4() { long[] data = { 2281564091665350656L, 2305836407182069516L, 104L, 0L, 0L, 0L}; return data; } | 2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/722cca774247887cf67fef993c71f848a05e075f/XPathParser2.java/clean/src/org/exist/parser/XPathParser2.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
727,
1525,
8526,
5028,
67,
2316,
694,
67,
24,
1435,
288,
202,
202,
5748,
8526,
501,
273,
288,
576,
6030,
3600,
1105,
5908,
23553,
8643,
3361,
26,
4313,
48,
16,
576,
5082... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
727,
1525,
8526,
5028,
67,
2316,
694,
67,
24,
1435,
288,
202,
202,
5748,
8526,
501,
273,
288,
576,
6030,
3600,
1105,
5908,
23553,
8643,
3361,
26,
4313,
48,
16,
576,
5082... |
try | VersionRange versionRange = VersionRange.createFromVersionSpec( plugin.getVersion() ); List remoteRepositories = new ArrayList(); remoteRepositories.addAll( project.getPluginArtifactRepositories() ); remoteRepositories.addAll( project.getRemoteArtifactRepositories() ); checkRequiredMavenVersion( plugin, localReposito... | private PluginDescriptor verifyVersionedPlugin( Plugin plugin, MavenProject project, ArtifactRepository localRepository ) throws PluginVersionResolutionException, PluginManagerException, ArtifactNotFoundException, ArtifactResolutionException { ... | 47050 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47050/f685d8605d2680e70b1ff2895947d2d11787e3c9/DefaultPluginManager.java/buggy/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginManager.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
6258,
3187,
3929,
23676,
3773,
12,
6258,
1909,
16,
17176,
4109,
1984,
16,
4766,
10792,
14022,
3305,
1191,
3305,
262,
3639,
1216,
6258,
1444,
11098,
503,
16,
6258,
28020,
16,
14022,
39... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6258,
3187,
3929,
23676,
3773,
12,
6258,
1909,
16,
17176,
4109,
1984,
16,
4766,
10792,
14022,
3305,
1191,
3305,
262,
3639,
1216,
6258,
1444,
11098,
503,
16,
6258,
28020,
16,
14022,
39... |
lexState = LexState.EXPR_END; | lexState = LexState.EXPR_END; | private int parseSingleQuotedString(int closeQuote, int openQuote) { ISourcePosition position = support.getPosition(); int c; int nest = 0; // int strstart = ruby.getSourceLine(); StringBuffer stringToken = new StringBuffer(); while ((c = nextc()) != closeQuote || nest > 0) { if (c == -1) { // ruby.setSourc... | 45753 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45753/af104711597d4d5b2089320e2517b95b8df14492/RubyYaccLexer.java/buggy/org/jruby/lexer/yacc/RubyYaccLexer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
509,
1109,
5281,
15919,
780,
12,
474,
1746,
10257,
16,
509,
1696,
10257,
13,
288,
202,
202,
45,
1830,
2555,
1754,
273,
2865,
18,
588,
2555,
5621,
202,
202,
474,
276,
31,
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,
509,
1109,
5281,
15919,
780,
12,
474,
1746,
10257,
16,
509,
1696,
10257,
13,
288,
202,
202,
45,
1830,
2555,
1754,
273,
2865,
18,
588,
2555,
5621,
202,
202,
474,
276,
31,
202,... |
String host = "." + u.getHost(); for (int i = cookieManager.getCookies().size() - 1; i >= 0; i--) { Cookie cookie = (Cookie) cookieManager.getCookies().get(i).getObjectValue(); long exp = cookie.getExpires(); long now = System.currentTimeMillis() / 1000 ; if (cookie == null) continue; if ( host.endsWith(cookie.getDoma... | if (cookieManager!=null){ String host = "." + u.getHost(); for (int i = cookieManager.getCookies().size() - 1; i >= 0; i--) { Cookie cookie = (Cookie) cookieManager.getCookies().get(i).getObjectValue(); long exp = cookie.getExpires(); long now = System.currentTimeMillis() / 1000 ; if (cookie == null) continue; if ( ho... | private String setConnectionCookie(HttpMethod method, URL u, CookieManager cookieManager) { // TODO recode to use HTTPClient matches methods or similar String cookieHeader = ""; // $NON-NLS-1$ String host = "." + u.getHost(); // $NON-NLS-1$ for (int i = cookieManager.getCookies().size() - 1; i >= 0... | 50179 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50179/3427593930a56237feca89a79488fc18d2a2d987/HTTPSampler2.java/buggy/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampler2.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
514,
23871,
6151,
12,
2940,
1305,
707,
16,
1976,
582,
16,
10201,
1318,
3878,
1318,
13,
288,
3639,
368,
2660,
283,
710,
358,
999,
22946,
1885,
2590,
578,
7281,
540,
202,
202,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
514,
23871,
6151,
12,
2940,
1305,
707,
16,
1976,
582,
16,
10201,
1318,
3878,
1318,
13,
288,
3639,
368,
2660,
283,
710,
358,
999,
22946,
1885,
2590,
578,
7281,
540,
202,
202,
... |
public int STOCH_Lookback( int optInFastK_Period, int optInSlowK_Period, TA_MAType optInSlowK_MAType, int optInSlowD_Period, TA_MAType optInSlowD_MAType ){ int retValue; retValue = (optInFastK_Period - 1); retValue += MA_Lookback ( optInSlowK_Period, optInSlowK_MAType ); retValue += MA_Lookback ( optInSlowD_Period, ... | 51465 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51465/1a230e9b7099cbd2b7e9eb1294130ca009bfedf4/Core.java/buggy/trunk/ta-lib/java/src/TA/Lib/Core.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
1071,
474,
31487,
1792,
67,
9794,
823,
12,
474,
3838,
382,
12305,
47,
67,
5027,
16,
474,
3838,
382,
28733,
47,
67,
5027,
16,
9833,
67,
5535,
559,
3838,
382,
28733,
47,
67,
5535,
559,
16,
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,
1071,
474,
31487,
1792,
67,
9794,
823,
12,
474,
3838,
382,
12305,
47,
67,
5027,
16,
474,
3838,
382,
28733,
47,
67,
5027,
16,
9833,
67,
5535,
559,
3838,
382,
28733,
47,
67,
5535,
559,
16,
4... | ||
if (sSeries != null) { for (int i=0; i< sSeries.length; i++) { bin = (int)Math.floor((sSeries[i]-start)/width); if (bin >= 0 && bin < number) { histo[bin]++; } } return histo; } if (fSeries != null) { for (int i=0; i< fSeries.length; i++) { bin = (int)Math.floor((fSeries[i]-start)/width); if (bin >= 0 && bin < number) ... | public int[] histogram(double start, double width, int number) { int[] histo = new int[number]; int bin; if (iSeries != null) { for (int i=0; i< iSeries.length; i++) { bin = (int)Math.floor((iSeries[i]-start)/width); if (bin >= 0 && bin < number) { histo[bin]++; } // ... | 52623 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52623/d5982e47e849069464a67e7ba4da486d79130155/Statistics.java/clean/src/edu/sc/seis/fissuresUtil/bag/Statistics.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
509,
8526,
8892,
12,
9056,
787,
16,
1645,
1835,
16,
509,
1300,
13,
288,
565,
509,
8526,
5356,
83,
273,
394,
509,
63,
2696,
15533,
565,
509,
4158,
31,
565,
309,
261,
77,
6485,
48... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8526,
8892,
12,
9056,
787,
16,
1645,
1835,
16,
509,
1300,
13,
288,
565,
509,
8526,
5356,
83,
273,
394,
509,
63,
2696,
15533,
565,
509,
4158,
31,
565,
309,
261,
77,
6485,
48... | |
String outPath) { | String outPath) throws IOException { | public static void unpackFile(PdfReader reader, PdfDictionary filespec, String outPath) { if (filespec == null) return; try { PdfName type = (PdfName) PdfReader.getPdfObject(filespec .get(PdfName.TYPE)); if (!PdfName.F.equals(type) && !PdfName.FILESPEC.equals(type)) return; PdfDictionary ef = (PdfDi... | 3011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3011/0d101d06841a4870fd8c7e34d68ca60ca3a330f4/ExtractAttachments.java/buggy/itext/src/com/lowagie/tools/plugins/ExtractAttachments.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
918,
6167,
812,
12,
18562,
2514,
2949,
16,
9989,
10905,
1390,
705,
16,
1082,
202,
780,
596,
743,
13,
288,
202,
202,
430,
261,
2354,
705,
422,
446,
13,
1082,
202,
2463,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6167,
812,
12,
18562,
2514,
2949,
16,
9989,
10905,
1390,
705,
16,
1082,
202,
780,
596,
743,
13,
288,
202,
202,
430,
261,
2354,
705,
422,
446,
13,
1082,
202,
2463,
... |
if( transformerFactory != null ) | if( transformerFactory == null ) | public static Transformer createTransformer() { // If we don't have a factory yet, make one. if( transformerFactory != null ) transformerFactory = new net.sf.saxon.TransformerFactoryImpl(); // And make the new transformer that was requested. try { return transformerFactor... | 45239 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45239/17c1cdb0ee105cbc4e0640f0911cf2e455a61f90/IndexUtil.java/buggy/WEB-INF/src/org/cdlib/xtf/textEngine/IndexUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
11519,
752,
8319,
1435,
225,
288,
1377,
368,
971,
732,
2727,
1404,
1240,
279,
3272,
4671,
16,
1221,
1245,
18,
1377,
309,
12,
8360,
1733,
422,
446,
262,
6647,
8360,
1733,
273,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
11519,
752,
8319,
1435,
225,
288,
1377,
368,
971,
732,
2727,
1404,
1240,
279,
3272,
4671,
16,
1221,
1245,
18,
1377,
309,
12,
8360,
1733,
422,
446,
262,
6647,
8360,
1733,
273,
... |
protected boolean alreadyAdded(ComponentData parent, ComponentData self) { if (self == null) | protected boolean alreadyAdded(final ComponentData parent, final ComponentData self) { if (self == null || parent == null) | protected boolean alreadyAdded(ComponentData parent, ComponentData self) { if (self == null) return true; ComponentData[] children = parent.getChildren(); for (int i = 0; i < children.length; i++) { boolean isdiff = false; ComponentData kid = children[i]; if (kid == null) { if (log.isWarn... | 9368 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9368/f40b7e8d4b5594b828707870e89832cee8f0b974/ComponentBase.java/buggy/csmart/src/org/cougaar/tools/csmart/society/ComponentBase.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
4750,
1250,
1818,
8602,
12,
1841,
751,
982,
16,
5435,
751,
365,
13,
288,
565,
309,
261,
2890,
422,
446,
13,
1377,
327,
638,
31,
565,
5435,
751,
8526,
2325,
273,
982,
18,
588,
4212,
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,
4750,
1250,
1818,
8602,
12,
1841,
751,
982,
16,
5435,
751,
365,
13,
288,
565,
309,
261,
2890,
422,
446,
13,
1377,
327,
638,
31,
565,
5435,
751,
8526,
2325,
273,
982,
18,
588,
4212,
56... |
if (loggerLevel != Level.OFF) { | if (DEBUG) { | private RTreeNode[] createDirectoryNodes(RTreeNode[] nodes) { int minEntries = dirMinimum; int maxEntries = dirCapacity - 1; ArrayList<RTreeNode> result = new ArrayList<RTreeNode>(); while (nodes.length > 0) { StringBuffer msg = new StringBuffer(); // get the split axis and split point Bulk... | 5508 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5508/e81bf8cbc24bda6aa26ba70ba17be833f8d952d4/RTree.java/clean/src/de/lmu/ifi/dbs/index/spatial/rstar/RTree.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
534,
12513,
8526,
28430,
3205,
12,
54,
12513,
8526,
2199,
13,
288,
565,
509,
1131,
5400,
273,
1577,
13042,
31,
565,
509,
943,
5400,
273,
1577,
7437,
300,
404,
31,
565,
2407,
32,
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,
282,
3238,
534,
12513,
8526,
28430,
3205,
12,
54,
12513,
8526,
2199,
13,
288,
565,
509,
1131,
5400,
273,
1577,
13042,
31,
565,
509,
943,
5400,
273,
1577,
7437,
300,
404,
31,
565,
2407,
32,
5... |
gfx.setClip(clip.x, clip.y, clip.width, clip.height); clipped = true; gfx.translate(bounds.x, bounds.y); translated = true; visitor.visit(comp, gfx); | visitor.visit(comp, g2); | private void visitChild(Graphics gfx, GfxVisitor visitor, Component comp) { Rectangle bounds = comp.getBounds(); Rectangle oldClip = gfx.getClipBounds(); if (oldClip == null) oldClip = bounds; Rectangle clip = oldClip.intersection(bounds); if (clip.isEmpty()) return; b... | 50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/e4324f195b821a95e3fba2a565af3e14eb6e7f65/Container.java/clean/core/src/classpath/java/java/awt/Container.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
3757,
1763,
12,
17558,
30940,
16,
611,
19595,
7413,
8000,
16,
12900,
5435,
1161,
13,
225,
288,
565,
13264,
4972,
273,
1161,
18,
588,
5694,
5621,
565,
13264,
1592,
15339,
273,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
3238,
918,
3757,
1763,
12,
17558,
30940,
16,
611,
19595,
7413,
8000,
16,
12900,
5435,
1161,
13,
225,
288,
565,
13264,
4972,
273,
1161,
18,
588,
5694,
5621,
565,
13264,
1592,
15339,
273,
3... |
this.log.debug("MyIdentityManager: startService"); | log.debug("MyIdentityManager: startService"); | public void startService() { this.log.debug("MyIdentityManager: startService"); super.startService(); idMap = new HashMap(); } | 8150 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8150/ec2cf36ad997ce8dfa31149b65c0def9619650f6/TestNodeManagerImpl.java/buggy/test/src/org/lockss/state/TestNodeManagerImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
787,
1179,
1435,
288,
1377,
613,
18,
4148,
2932,
12062,
4334,
1318,
30,
787,
1179,
8863,
1377,
2240,
18,
1937,
1179,
5621,
1377,
612,
863,
273,
394,
4317,
5621,
565,
289,
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,
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,
787,
1179,
1435,
288,
1377,
613,
18,
4148,
2932,
12062,
4334,
1318,
30,
787,
1179,
8863,
1377,
2240,
18,
1937,
1179,
5621,
1377,
612,
863,
273,
394,
4317,
5621,
565,
289,
2,
... |
setRowColumn(row, Math.min(table.getColumnCount() - 1, column + 1), true); | setRowColumn(rowIndex, Math.min(columnCount - 1, columnIndex + 1), true); | void keyDown(Event event) { if (table.getItemCount() == 0) return; switch (event.character) { case SWT.CR : notifyListeners(SWT.DefaultSelection, new Event()); return; } switch (event.keyCode) { case SWT.ARROW_UP : setRowColumn(Math.max(0, row - 1), column, true); break; case SWT.ARROW_DOWN : setRowColumn(... | 12413 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12413/e1489e9b81215ca1244a389d6ad6216d07a6b9c1/TableCursor.java/clean/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TableCursor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
918,
498,
4164,
12,
1133,
871,
13,
288,
202,
430,
261,
2121,
18,
588,
30687,
1435,
422,
374,
13,
327,
31,
202,
9610,
261,
2575,
18,
11560,
13,
288,
202,
202,
3593,
348,
8588,
18,
5093,
294... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
918,
498,
4164,
12,
1133,
871,
13,
288,
202,
430,
261,
2121,
18,
588,
30687,
1435,
422,
374,
13,
327,
31,
202,
9610,
261,
2575,
18,
11560,
13,
288,
202,
202,
3593,
348,
8588,
18,
5093,
294... |
synchronized(conn) { | synchronized (conn) { | protected void releaseConnection(Connection c) { if (c == conn) { synchronized(conn) { connInUse = false; LOG.info("Released connection - notifying"); conn.notify(); } } else if (c != null) { Exception trace = new Exception(... | 29158 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/29158/be90eb9e0d8c6624a4922dd569d6c73b4ae3046a/ObjectStoreWriterInterMineImpl.java/clean/intermine/src/java/org/intermine/objectstore/intermine/ObjectStoreWriterInterMineImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
4750,
918,
3992,
1952,
12,
1952,
276,
13,
288,
3639,
309,
261,
71,
422,
1487,
13,
288,
5411,
3852,
261,
4646,
13,
288,
7734,
1487,
15435,
273,
629,
31,
7734,
2018,
18,
1376,
2932,
26363... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3992,
1952,
12,
1952,
276,
13,
288,
3639,
309,
261,
71,
422,
1487,
13,
288,
5411,
3852,
261,
4646,
13,
288,
7734,
1487,
15435,
273,
629,
31,
7734,
2018,
18,
1376,
2932,
26363... |
fillerWords = new HashSet(); | fillerWords = new HashSet<String>(); | public void allocate() throws IOException { if (!allocated) { dictionary = new HashMap(); Timer loadTimer = Timer.getTimer("DictionaryLoad"); fillerWords = new HashSet(); loadTimer.start(); logger.info("Loading dictionary from: " + wordDictionaryFile); ... | 7874 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7874/063275f2440d27815582cc264f0c7b2969fbca80/FastDictionary.java/clean/src/sphinx4/edu/cmu/sphinx/linguist/dictionary/FastDictionary.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
10101,
1435,
1216,
1860,
288,
3639,
309,
16051,
28172,
13,
288,
5411,
3880,
273,
394,
4317,
5621,
5411,
12290,
1262,
6777,
273,
12290,
18,
588,
6777,
2932,
10905,
2563,
8863,
541... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10101,
1435,
1216,
1860,
288,
3639,
309,
16051,
28172,
13,
288,
5411,
3880,
273,
394,
4317,
5621,
5411,
12290,
1262,
6777,
273,
12290,
18,
588,
6777,
2932,
10905,
2563,
8863,
541... |
@NotNull String databaseName, | String databaseName, | public Object mysql_list_tables(Env env, @NotNull String databaseName, @Optional Mysqli conn) { if (databaseName == null) return null; // BooleanValue.FALSE; return mysql_query(env, "SHOW TABLES FROM " + databaseName, conn); } | 3863 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3863/a3879eb2a32247c23a8fbdcdae591df76cbac554/MysqlModule.java/buggy/quercus/src/main/java/com/caucho/quercus/lib/db/MysqlModule.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
1033,
7219,
67,
1098,
67,
9373,
12,
3491,
1550,
16,
21394,
514,
15165,
16,
21394,
632,
6542,
490,
16954,
1487,
13,
225,
288,
565,
309,
261,
6231,
461,
422,
446,
13,
1377,
327,
446... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1033,
7219,
67,
1098,
67,
9373,
12,
3491,
1550,
16,
21394,
514,
15165,
16,
21394,
632,
6542,
490,
16954,
1487,
13,
225,
288,
565,
309,
261,
6231,
461,
422,
446,
13,
1377,
327,
446... |
sb.append("&bug_severity="); sb.append(severity.getItem(selected[i])); | sb.append("&bug_severity="); sb.append(URLEncoder.encode(severity.getItem(selected[i]), repository.getCharacterEncoding())); | protected StringBuffer getQueryParameters() throws UnsupportedEncodingException { StringBuffer sb = new StringBuffer(); sb.append("short_desc_type="); sb.append(patternOperationValues[summaryOperation.getSelectionIndex()]); sb.append("&short_desc="); sb.append(URLEncoder.encode(summaryPattern.getText(), repositor... | 51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/50b7440148ad2473229c38cf32a79269c1b93690/BugzillaSearchPage.java/clean/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/search/BugzillaSearchPage.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1117,
6674,
6041,
2402,
1435,
1216,
15367,
288,
202,
202,
780,
1892,
2393,
273,
394,
6674,
5621,
202,
202,
18366,
18,
6923,
2932,
6620,
67,
5569,
67,
723,
1546,
1769,
202,
202,
18366... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6674,
6041,
2402,
1435,
1216,
15367,
288,
202,
202,
780,
1892,
2393,
273,
394,
6674,
5621,
202,
202,
18366,
18,
6923,
2932,
6620,
67,
5569,
67,
723,
1546,
1769,
202,
202,
18366... |
return nameError; } | return nameError; } | public RubyClass getNameError() { return nameError; } | 47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/0a7181933af700ea8025a4197f3a5ebcc08333c3/RubyExceptions.java/clean/org/jruby/runtime/RubyExceptions.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
19817,
797,
1723,
668,
1435,
288,
202,
202,
2463,
508,
668,
31,
202,
97,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
19817,
797,
1723,
668,
1435,
288,
202,
202,
2463,
508,
668,
31,
202,
97,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
if (cutAction != null) cutAction.addPropertyChangeListener(cutActionListener); | if (cutAction != null) { cutAction.addPropertyChangeListener(cutActionListener); } | public void setCutAction(IAction action) { if (cutAction == action) return; if (cutAction != null) cutAction.removePropertyChangeListener(cutActionListener); cutAction = action; if (cutAction != null) cutAction.addPropertyChangeListener(cutActionListener)... | 57470 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57470/3a23c3b9bac4db696a0452560047155775a707b7/TextActionHandler.java/clean/bundles/org.eclipse.ui.navigator.resources/src/org/eclipse/ui/internal/navigator/resources/actions/TextActionHandler.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
11440,
322,
1803,
12,
45,
1803,
1301,
13,
288,
3639,
309,
261,
5150,
1803,
422,
1301,
13,
5411,
327,
31,
3639,
309,
261,
5150,
1803,
480,
446,
13,
5411,
6391,
1803,
18,
4479,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11440,
322,
1803,
12,
45,
1803,
1301,
13,
288,
3639,
309,
261,
5150,
1803,
422,
1301,
13,
5411,
327,
31,
3639,
309,
261,
5150,
1803,
480,
446,
13,
5411,
6391,
1803,
18,
4479,... |
if ( oValue == null ) | double[] da = sc.getTickCordinates( ); if ( iv.getType( ) == IntersectionValue.MIN ) | public static final double getLocation( AutoScale sc, Object oValue ) throws ChartException, IllegalArgumentException { if ( oValue == null ) { throw new IllegalArgumentException( MessageFormat.format( ResourceBundle.getBundle( Messages.ENGINE, sc.getRunTimeContext( ).getLocale( ) ) .getString( "exceptio... | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/0dbe8d6814b393e6b534d8d9dc409fff1a8f3cce/Methods.java/buggy/chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/computation/Methods.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
727,
1645,
13312,
12,
8064,
5587,
888,
16,
1033,
320,
620,
262,
1082,
202,
15069,
14804,
503,
16,
2754,
202,
95,
202,
202,
430,
261,
320,
620,
422,
446,
262,
202,
202,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
760,
727,
1645,
13312,
12,
8064,
5587,
888,
16,
1033,
320,
620,
262,
1082,
202,
15069,
14804,
503,
16,
2754,
202,
95,
202,
202,
430,
261,
320,
620,
422,
446,
262,
202,
202,
... |
public void mTokens() throws RecognitionException { // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:10: ( T15 | T16 | T17 | T18 | T19 | T20 | T21 | T22 | T23 | T24 | T25 | T26 | T27 | T28 | T29 | T30 | T31 | T32 | T33 | T34 | T35 | T36 | T37 | T38 | T39 | T40 | T41 |... | 6736 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6736/db9ec7bad93dfc15e8ce115941d6e9f0749d5a10/RuleParserLexer.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParserLexer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
312,
5157,
1435,
1216,
9539,
288,
3639,
368,
385,
5581,
15298,
64,
10649,
8464,
17,
7482,
17,
2704,
64,
12215,
17,
9576,
64,
4816,
64,
5254,
64,
4683,
64,
3341,
64,
12215,
64... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
312,
5157,
1435,
1216,
9539,
288,
3639,
368,
385,
5581,
15298,
64,
10649,
8464,
17,
7482,
17,
2704,
64,
12215,
17,
9576,
64,
4816,
64,
5254,
64,
4683,
64,
3341,
64,
12215,
64... | ||
super.release(); } | super.release(); } | public void release() { super.release(); } | 6232 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6232/1f1850be471d4b8bfd2f3c50aa61bc39bf91259a/HiddenValueComponent.java/clean/org.rcfaces.core/src/org/rcfaces/core/component/HiddenValueComponent.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
3992,
1435,
288,
3639,
2240,
18,
9340,
5621,
565,
289,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
918,
3992,
1435,
288,
3639,
2240,
18,
9340,
5621,
565,
289,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
log.error("File not found.\n" + notFound); | System.err.println("File not found.\n" + notFound); | public static void main(String[] args) { String config="config.txt"; BufferedReader fileReader; String line; boolean sender=false; int num_msgs=1000; int msg_size=500; int num_senders=1; long log_interval=1000; MulticastSocket recv_sock; Datagr... | 47927 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47927/5ad015d9a78e1da3350d9b398b46b2f5d4508564/Test.java/clean/tests/other/org/jgroups/tests/adaptudp/Test.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
288,
3639,
514,
642,
1546,
1425,
18,
5830,
14432,
3639,
10633,
585,
2514,
31,
3639,
514,
980,
31,
3639,
1250,
5793,
33,
5743,
31,
3639,
509... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
918,
2774,
12,
780,
8526,
833,
13,
288,
3639,
514,
642,
1546,
1425,
18,
5830,
14432,
3639,
10633,
585,
2514,
31,
3639,
514,
980,
31,
3639,
1250,
5793,
33,
5743,
31,
3639,
509... |
System.out.println("Running XML Test '" + tr.getTest().getName() + "' in Parallel"); runTest(tr); } catch(Exception ex) { ex.printStackTrace(); | Utils.log("[SuiteWorker]", 4, "Running XML Test '" + m_testRunner.getTest().getName() + "' in Parallel"); runTest(m_testRunner); } catch(Exception ex) { ex.printStackTrace(); | public void run() { try { System.out.println("Running XML Test '" + tr.getTest().getName() + "' in Parallel"); runTest(tr); } catch(Exception ex) { ex.printStackTrace(); } } | 50994 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50994/1942e422ba883fe38f1ee641e6b0e4ac97bab5f6/SuiteRunner.java/clean/src/main/org/testng/SuiteRunner.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
540,
1071,
918,
1086,
1435,
288,
5411,
775,
288,
7734,
2332,
18,
659,
18,
8222,
2932,
7051,
3167,
7766,
2119,
397,
7682,
433,
18,
588,
4709,
7675,
17994,
1435,
397,
2491,
316,
20203,
8863,
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,
540,
1071,
918,
1086,
1435,
288,
5411,
775,
288,
7734,
2332,
18,
659,
18,
8222,
2932,
7051,
3167,
7766,
2119,
397,
7682,
433,
18,
588,
4709,
7675,
17994,
1435,
397,
2491,
316,
20203,
8863,
773... |
String size = (String) DesignerConstants.fontMap .get( DesignChoiceConstants.FONT_SIZE_MEDIUM ); | String size = (String) DesignerConstants.fontMap.get( DesignChoiceConstants.FONT_SIZE_MEDIUM ); | private static int getLargerFontSizeIntValue( DesignElementHandle handle ) { if ( !( handle instanceof ReportItemHandle ) ) { if ( handle instanceof ModuleHandle ) { // return 10. String size = (String) DesignerConstants.fontMap .get( DesignChoiceConstants.FONT_SIZE_MEDIUM ); return Integer.parseIn... | 15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/8f4d195ea2cee97486772b52961bc6329e4c409f/DEUtil.java/buggy/UI/org.eclipse.birt.report.designer.core/src/org/eclipse/birt/report/designer/util/DEUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
509,
9014,
297,
693,
22688,
1702,
620,
12,
29703,
1046,
3259,
1640,
262,
202,
95,
202,
202,
430,
261,
401,
12,
1640,
1276,
8706,
1180,
3259,
262,
262,
202,
202,
95,
1082... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
760,
509,
9014,
297,
693,
22688,
1702,
620,
12,
29703,
1046,
3259,
1640,
262,
202,
95,
202,
202,
430,
261,
401,
12,
1640,
1276,
8706,
1180,
3259,
262,
262,
202,
202,
95,
1082... |
assertEquals(41, file.getSize()); | assertEquals(5000000000L, file.getSize()); | public void testParseFieldsOnFile() throws Exception { FTPFile file = getParser().parseFTPEntry("-C--E-----FTP B QUA1I1 18128 41 Aug 12 13:56 QUADTEST"); Calendar today = Calendar.getInstance(); int year = today.get(Calendar.YEAR); assertTrue("Should be a file.", ... | 50121 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50121/aa15730a1563b241d61400d2564dc53cabca0c97/EnterpriseUnixFTPEntryParserTest.java/buggy/src/test/org/apache/commons/net/ftp/parser/EnterpriseUnixFTPEntryParserTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
918,
1842,
3201,
2314,
1398,
812,
1435,
1216,
1185,
565,
288,
3639,
19324,
812,
585,
273,
20804,
7675,
2670,
17104,
1622,
2932,
17,
39,
413,
41,
13465,
17104,
605,
10110,
37,
21,
45... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3201,
2314,
1398,
812,
1435,
1216,
1185,
565,
288,
3639,
19324,
812,
585,
273,
20804,
7675,
2670,
17104,
1622,
2932,
17,
39,
413,
41,
13465,
17104,
605,
10110,
37,
21,
45... |
} else if (myRole1 == ChildRole.ELSE_KEYWORD) { | } else if (myRole1 == ChildRole.ELSE_KEYWORD) { | public void visitIfStatement(PsiIfStatement statement) { if (myRole2 == ChildRole.ELSE_KEYWORD) { if (myChild1.getElementType() != ElementType.BLOCK_STATEMENT) { myResult = Formatter.getInstance().createSpaceProperty(0, 0, 1, mySettings.KEEP_LINE_BREAKS, mySettings.KEEP_BLANK_LINES_IN_CODE); } els... | 56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/1533398430214d8ae562ff3d8dcc5898351f8c45/JavaSpacePropertyProcessor.java/buggy/source/com/intellij/psi/formatter/java/JavaSpacePropertyProcessor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
3757,
2047,
3406,
12,
52,
7722,
2047,
3406,
3021,
13,
288,
565,
309,
261,
4811,
2996,
22,
422,
7451,
2996,
18,
2247,
1090,
67,
28813,
13,
288,
1377,
309,
261,
4811,
1763,
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,
282,
1071,
918,
3757,
2047,
3406,
12,
52,
7722,
2047,
3406,
3021,
13,
288,
565,
309,
261,
4811,
2996,
22,
422,
7451,
2996,
18,
2247,
1090,
67,
28813,
13,
288,
1377,
309,
261,
4811,
1763,
21,... |
GenericActivator.exception("Error while loading components " | exception("Error while loading components " | private void loadComponents(Bundle bundle) { if (bundle.getHeaders().get("Service-Component") == null) { // no components in the bundle, abandon return; } // there should be components, load them with a bundle context BundleContext context = getBundleConte... | 45948 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45948/1b5deeb3e608d9999c7fbc339d73168202c09fca/Activator.java/buggy/scr/src/main/java/org/apache/felix/scr/Activator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
918,
1262,
7171,
12,
3405,
3440,
13,
565,
288,
3639,
309,
261,
9991,
18,
588,
3121,
7675,
588,
2932,
1179,
17,
1841,
7923,
422,
446,
13,
3639,
288,
5411,
368,
1158,
4085,
316,
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,
1262,
7171,
12,
3405,
3440,
13,
565,
288,
3639,
309,
261,
9991,
18,
588,
3121,
7675,
588,
2932,
1179,
17,
1841,
7923,
422,
446,
13,
3639,
288,
5411,
368,
1158,
4085,
316,
326... |
public static WeaponType createSRM2() { WeaponType weapon = new WeaponType(); weapon.name = "SRM 2"; weapon.internalName = weapon.name; weapon.mepName = "IS SRM-2"; weapon.mtfName = "ISSRM2"; weapon.heat = 2; weapon.damage = DAMAGE_MISSILE; weapon.rack... | 4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/19768fb3c0b30b271bc193aa54683c8592962b26/WeaponType.java/clean/megamek/src/megamek/common/WeaponType.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1660,
28629,
559,
752,
55,
8717,
22,
1435,
288,
3639,
1660,
28629,
559,
732,
28629,
273,
394,
1660,
28629,
559,
5621,
7734,
732,
28629,
18,
529,
273,
315,
55,
8717,
576,
14432,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1660,
28629,
559,
752,
55,
8717,
22,
1435,
288,
3639,
1660,
28629,
559,
732,
28629,
273,
394,
1660,
28629,
559,
5621,
7734,
732,
28629,
18,
529,
273,
315,
55,
8717,
576,
14432,... | ||
throw new WorkbenchException( NLS.bind(WorkbenchMessages.Workbench_showPerspectiveError, perspectiveId )); } | IPerspectiveDescriptor desc = getPerspectiveRegistry() .findPerspectiveWithId(perspectiveId); if (desc == null) throw new WorkbenchException( NLS .bind( WorkbenchMessages.WorkbenchPage_ErrorCreatingPerspective, perspectiveId)); win.getShell().open(); if (page == null) page = win.openPage(perspectiveId, input); else pag... | public IWorkbenchPage showPerspective(String perspectiveId, IWorkbenchWindow window) throws WorkbenchException { Assert.isNotNull(perspectiveId); // If the specified window has the requested perspective open, then the // window // is given focus and the perspective is shown. T... | 58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/9337b828e86179850647141c34d497be28275ed2/Workbench.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
467,
2421,
22144,
1964,
2405,
14781,
16772,
12,
780,
26651,
548,
16,
5411,
467,
2421,
22144,
3829,
2742,
13,
1216,
4147,
22144,
503,
288,
3639,
5452,
18,
291,
5962,
12,
10422,
16772,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
467,
2421,
22144,
1964,
2405,
14781,
16772,
12,
780,
26651,
548,
16,
5411,
467,
2421,
22144,
3829,
2742,
13,
1216,
4147,
22144,
503,
288,
3639,
5452,
18,
291,
5962,
12,
10422,
16772,
... |
} | } | public static boolean sortFile(String input_file, String output_file, String keys) { // Warning: uses a unix sort String os = System.getProperty("os.name"); if (!(os.equals("Linux") || (os.equals("SunOS")))) { GLMDebug.ERROR("fileSort()", "Uses unix sort, Not a unix system."); return false; } String command... | 7171 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7171/5c2a2c77f4cef92c09bc9108d87221a8f423d1d5/FileUtils.java/buggy/glm/src/org/cougaar/glm/plugins/FileUtils.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1250,
1524,
812,
12,
780,
810,
67,
768,
16,
514,
876,
67,
768,
16,
514,
1311,
13,
288,
202,
759,
9728,
30,
4692,
279,
9753,
1524,
202,
780,
1140,
273,
2332,
18,
588,
1396,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
1250,
1524,
812,
12,
780,
810,
67,
768,
16,
514,
876,
67,
768,
16,
514,
1311,
13,
288,
202,
759,
9728,
30,
4692,
279,
9753,
1524,
202,
780,
1140,
273,
2332,
18,
588,
1396,
... |
return ADBPullParser.createPullParser(beanName, objetc.toArray()); | return ADBPullParser.createPullParser(beanName, objetc.toArray(), null); | public static XMLStreamReader getPullParser(Object beanObject, QName beanName ) { try { Field [] fields = beanObject.getClass().getDeclaredFields(); ArrayList objetc = new ArrayList(); for (int i = 0; i < fields.length; i++) { Field filed = fields[i]; ... | 49300 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49300/8864cb8f57d74b6a3fc7f9e0f2c78861214d5893/BeanSerializerUtil.java/buggy/modules/codegen/src/org/apache/axis2/util/BeanSerializerUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
760,
15595,
2514,
1689,
420,
2678,
12,
921,
3931,
921,
16,
16723,
17932,
262,
288,
4202,
775,
288,
5411,
2286,
5378,
1466,
273,
3931,
921,
18,
588,
797,
7675,
588,
18888,
2314,
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,
760,
15595,
2514,
1689,
420,
2678,
12,
921,
3931,
921,
16,
16723,
17932,
262,
288,
4202,
775,
288,
5411,
2286,
5378,
1466,
273,
3931,
921,
18,
588,
797,
7675,
588,
18888,
2314,
5621... |
private FieldException newIncorrectDataException(FieldConvertError e, int tag) { return new FieldException(SessionRejectReason.INCORRECT_DATA_FORMAT_FOR_VALUE, e .getMessage(), tag); } | 52526 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52526/ac62cdb33fe9cdcbdda5568204116691fedd13fb/FieldMap.java/buggy/src/quickfix/FieldMap.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
28846,
2704,
16268,
22480,
12,
974,
2723,
29228,
303,
266,
16,
474,
2692,
15329,
2463,
2704,
28846,
12,
2157,
21705,
8385,
18,
706,
9428,
4512,
67,
4883,
67,
7254,
67,
7473,
67,
4051,
16... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
3238,
28846,
2704,
16268,
22480,
12,
974,
2723,
29228,
303,
266,
16,
474,
2692,
15329,
2463,
2704,
28846,
12,
2157,
21705,
8385,
18,
706,
9428,
4512,
67,
4883,
67,
7254,
67,
7473,
67,
4051,
16... | ||
final void isSpecified(boolean value) { flags = (short) (value ? flags | SPECIFIED : flags & ~SPECIFIED); | final boolean isSpecified() { return (flags & SPECIFIED) != 0; | final void isSpecified(boolean value) { flags = (short) (value ? flags | SPECIFIED : flags & ~SPECIFIED); } | 4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/1518c9e49e51e6eed273482fcc98cf7c1fe3df8b/NodeImpl.java/buggy/src/org/apache/xerces/dom/NodeImpl.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
727,
918,
353,
17068,
12,
6494,
460,
13,
288,
3639,
2943,
273,
261,
6620,
13,
261,
1132,
692,
2943,
571,
22872,
13519,
294,
2943,
473,
4871,
13847,
13519,
1769,
565,
289,
2,
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,
727,
918,
353,
17068,
12,
6494,
460,
13,
288,
3639,
2943,
273,
261,
6620,
13,
261,
1132,
692,
2943,
571,
22872,
13519,
294,
2943,
473,
4871,
13847,
13519,
1769,
565,
289,
2,
-100,
-100,
... |
BeanConfiguration instanceRef = springConfig .createSingletonBean(BeanReferenceFactoryBean.class) .addProperty("targetBeanName",grailsServiceClass.getFullName() + "Instance" ); context.registerBeanDefinition(grailsServiceClass.getName() + "Service",instanceRef.getBeanDefinition()); | context.registerBeanDefinition(grailsServiceClass.getPropertyName(),serviceInstance.getBeanDefinition()); | public void registerService(GrailsServiceClass grailsServiceClass, GrailsWebApplicationContext context) { RuntimeSpringConfiguration springConfig = new DefaultRuntimeSpringConfiguration(); BeanConfiguration serviceClassBean = springConfig .createSingletonBean(MethodInvokingFactoryBean.class) ... | 52280 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52280/075145e116446e23fd77adcfc25dab01feb4a27e/GrailsRuntimeConfigurator.java/buggy/src/commons/org/codehaus/groovy/grails/commons/spring/GrailsRuntimeConfigurator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1744,
1179,
12,
14571,
14573,
1179,
797,
3087,
14573,
1179,
797,
16,
10812,
14573,
4079,
28278,
819,
13,
288,
202,
202,
5576,
55,
11638,
1750,
25974,
809,
273,
394,
2989,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1744,
1179,
12,
14571,
14573,
1179,
797,
3087,
14573,
1179,
797,
16,
10812,
14573,
4079,
28278,
819,
13,
288,
202,
202,
5576,
55,
11638,
1750,
25974,
809,
273,
394,
2989,
5... |
TableTag.class, null, "setRequestURI")); | TableTag.class, null, "setRequestURI")); | public PropertyDescriptor[] getPropertyDescriptors() { List proplist = new ArrayList(); try { proplist.add(new PropertyDescriptor("cellpadding", //$NON-NLS-1$ TableTag.class, null, "setCellpadding")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("cel... | 10316 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10316/a68c17afdfb7cb08fd50d001fb8260e045a3c5cd/TableTagBeanInfo.java/clean/displaytag/src/main/java/org/displaytag/tags/TableTagBeanInfo.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
1071,
26761,
8526,
3911,
12705,
1435,
565,
288,
3639,
987,
450,
17842,
273,
394,
2407,
5621,
3639,
775,
3639,
288,
5411,
450,
17842,
18,
1289,
12,
2704,
26761,
2932,
3855,
9598,
3113,
4329,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
26761,
8526,
3911,
12705,
1435,
565,
288,
3639,
987,
450,
17842,
273,
394,
2407,
5621,
3639,
775,
3639,
288,
5411,
450,
17842,
18,
1289,
12,
2704,
26761,
2932,
3855,
9598,
3113,
4329,... |
ID="=N="; | ID="NdoubleDoubleBonded"; | public IAtomType findMatchingAtomType(IAtomContainer atomContainer, IAtom atomInterface) throws CDKException { if (factory == null) { try { factory = AtomTypeFactory.getInstance("org/openscience/cdk/config/data/mm2_atomtypes.xml", atomContainer.getBuilder()); } catch (Excepti... | 45167 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45167/6ab9ece1436a55402bc0543ab4b40954f6109b22/MM2AtomTypeMatcher.java/clean/src/org/openscience/cdk/atomtype/MM2AtomTypeMatcher.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
8831,
559,
1104,
9517,
3641,
559,
12,
45,
3641,
2170,
22487,
16,
8831,
3179,
1358,
13,
1216,
24570,
288,
3639,
309,
261,
6848,
422,
446,
13,
288,
540,
202,
698,
288,
540,
202,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
8831,
559,
1104,
9517,
3641,
559,
12,
45,
3641,
2170,
22487,
16,
8831,
3179,
1358,
13,
1216,
24570,
288,
3639,
309,
261,
6848,
422,
446,
13,
288,
540,
202,
698,
288,
540,
202,... |
value = IsNullValue.nullOnSimplePathValue(); | value = IsNullValue.parameterMarkedAsMightBeNull(methodParameter); | public void initEntryFact(IsNullValueFrame result) { if (cachedEntryFact == null) { cachedEntryFact = createFact(); cachedEntryFact.setValid(); int numLocals = methodGen.getMaxLocals(); boolean instanceMethod = !methodGen.isStatic(); XMethod xm = XFactory.createXMethod(methodGen.getClassName(), met... | 7352 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7352/8bada47db5b5574d9c669a0ab79ffd67d9868bb2/IsNullValueAnalysis.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/ba/npe/IsNullValueAnalysis.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1208,
1622,
9766,
12,
2520,
2041,
620,
3219,
563,
13,
288,
202,
202,
430,
261,
7097,
1622,
9766,
422,
225,
446,
13,
288,
25083,
202,
7097,
1622,
9766,
273,
752,
9766,
562... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1208,
1622,
9766,
12,
2520,
2041,
620,
3219,
563,
13,
288,
202,
202,
430,
261,
7097,
1622,
9766,
422,
225,
446,
13,
288,
25083,
202,
7097,
1622,
9766,
273,
752,
9766,
562... |
public static List<TreePath> collectExpandedPaths(@NotNull final JTree tree){ final ArrayList<TreePath> result = new ArrayList<TreePath>(); final Object root = tree.getModel().getRoot(); final TreePath rootPath = new TreePath(root); result.addAll(collectExpandedPaths(tree, rootPath)); return result; | public static void collectExpandedPaths(final JTree tree, final List<TreePath> paths){ LOG.assertTrue(tree != null); LOG.assertTrue(paths != null); final TreeModel model = tree.getModel(); final Object root = model.getRoot(); LOG.assertTrue(root != null); collectExpandedPathsImpl(tree, paths, new TreePath(root)); | public static List<TreePath> collectExpandedPaths(@NotNull final JTree tree){ final ArrayList<TreePath> result = new ArrayList<TreePath>(); final Object root = tree.getModel().getRoot(); final TreePath rootPath = new TreePath(root); result.addAll(collectExpandedPaths(tree, rootPath)); return result; } | 56627 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56627/4cd6cb8331020e1184c369a59466b2ec1e14ec03/TreeUtil.java/buggy/openapi/src/com/intellij/util/ui/tree/TreeUtil.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
987,
32,
2471,
743,
34,
3274,
17957,
4466,
26964,
5962,
727,
804,
2471,
2151,
15329,
565,
727,
2407,
32,
2471,
743,
34,
563,
273,
394,
2407,
32,
2471,
743,
34,
5621,
565,
727... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
760,
987,
32,
2471,
743,
34,
3274,
17957,
4466,
26964,
5962,
727,
804,
2471,
2151,
15329,
565,
727,
2407,
32,
2471,
743,
34,
563,
273,
394,
2407,
32,
2471,
743,
34,
5621,
565,
727... |
fCategoryIds[i] = elements[i].getAttributeAsIs(ATT_ID); | fCategoryIds[i] = elements[i].getAttribute(ATT_ID); | private void loadRegisteredTemplates() { IExtensionRegistry registry = Platform.getExtensionRegistry(); IConfigurationElement[] elements = registry.getConfigurationElementsFor(StatetPlugin.ID, EXTENSION_POINT); fCategoryIds = new String[elements.length]; fCategoryProvider = new ICodeGenerationTemplatesCategory... | 47575 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47575/89235ce62d3b189a656661040a45cc4a291aa661/CodeGenerationTemplatesConfigurationBlock.java/clean/de.walware.statet.base/src/de/walware/statet/internal/ui/preferences/CodeGenerationTemplatesConfigurationBlock.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
1262,
10868,
8218,
1435,
288,
9506,
202,
45,
3625,
4243,
4023,
273,
11810,
18,
588,
3625,
4243,
5621,
202,
202,
45,
1750,
1046,
8526,
2186,
273,
4023,
18,
588,
1750,
3471,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1262,
10868,
8218,
1435,
288,
9506,
202,
45,
3625,
4243,
4023,
273,
11810,
18,
588,
3625,
4243,
5621,
202,
202,
45,
1750,
1046,
8526,
2186,
273,
4023,
18,
588,
1750,
3471,... |
if (myAssignmentTargetsAreElements) | if (myAssignmentTargetsAreElements) { | public void visitDeclarationStatement(PsiDeclarationStatement statement) { startElement(statement); int pc = myCurrentFlow.getSize(); PsiElement[] elements = statement.getDeclaredElements(); for (int i = 0; i < elements.length; i++) { PsiElement element = elements[i]; if (element instanceof PsiC... | 56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/77a4d47dba7161d37ea711d3a2dab14b07555caf/ControlFlowAnalyzer.java/buggy/source/com/intellij/psi/controlFlow/ControlFlowAnalyzer.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
3757,
6094,
3406,
12,
52,
7722,
6094,
3406,
3021,
13,
288,
565,
13591,
12,
11516,
1769,
565,
509,
6125,
273,
3399,
3935,
5249,
18,
588,
1225,
5621,
565,
453,
7722,
1046,
8526,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
282,
1071,
918,
3757,
6094,
3406,
12,
52,
7722,
6094,
3406,
3021,
13,
288,
565,
13591,
12,
11516,
1769,
565,
509,
6125,
273,
3399,
3935,
5249,
18,
588,
1225,
5621,
565,
453,
7722,
1046,
8526,
... |
RepositoryTaskData downloadedTaskData = offlineHandler.downloadTaskData(repository, taskId); | RepositoryTaskData downloadedTaskData = offlineHandler.getTaskData(repository, taskId); | private void syncTask(IProgressMonitor monitor, final AbstractRepositoryTask repositoryTask) throws LoginException, CoreException { boolean canNotSynch = repositoryTask.isDirty(); boolean hasLocalChanges = repositoryTask.getSyncState() == RepositoryTaskSyncState.OUTGOING || repositoryTask.getSyncState() == Repo... | 51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/03f3816483b487f20214837cafbbbb03ffc5336e/SynchronizeTaskJob.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/SynchronizeTaskJob.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
3792,
2174,
12,
45,
5491,
7187,
6438,
16,
727,
4115,
3305,
2174,
3352,
2174,
13,
1216,
11744,
503,
16,
1082,
202,
25341,
288,
202,
202,
6494,
848,
1248,
55,
2515,
273,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
1152,
918,
3792,
2174,
12,
45,
5491,
7187,
6438,
16,
727,
4115,
3305,
2174,
3352,
2174,
13,
1216,
11744,
503,
16,
1082,
202,
25341,
288,
202,
202,
6494,
848,
1248,
55,
2515,
273,
3... |
((RubyModule) state.begin(iVisited.getPathNode())).defineConstant(iVisited.getName(), value); | ((RubyModule) EvaluationState.eval(runtime.getCurrentContext(), iVisited.getPathNode(), runtime.getCurrentContext().getFrameSelf())).defineConstant(iVisited.getName(), value); | public Instruction visitConstDeclNode(ConstDeclNode iVisited) { if (iVisited.getPathNode() == null) { state.getThreadContext().getRubyClass().defineConstant(iVisited.getName(), value); } else { ((RubyModule) state.begin(iVisited.getPathNode())).defineConstant(iVisited.getName(), value); } return null; } | 46217 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46217/6e15491217631472c05c6928672f9c7064a978b3/AssignmentVisitor.java/clean/src/org/jruby/evaluator/AssignmentVisitor.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
24605,
3757,
9661,
3456,
907,
12,
9661,
3456,
907,
277,
30019,
13,
288,
202,
202,
430,
261,
77,
30019,
18,
588,
743,
907,
1435,
422,
446,
13,
288,
1082,
202,
2019,
18,
588,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
24605,
3757,
9661,
3456,
907,
12,
9661,
3456,
907,
277,
30019,
13,
288,
202,
202,
430,
261,
77,
30019,
18,
588,
743,
907,
1435,
422,
446,
13,
288,
1082,
202,
2019,
18,
588,
... |
LOG.info("Symbol " + symbol+ "for dbname:" + dbname); | private Set setGeneSynonyms(Item srcItem, Item tgtItem, String srcNs) throws ObjectStoreException { Set synonyms = new HashSet(); //If this is ever null then there's a problem with the ensembl data!!! Item stableIdItem = getStableId("gene", srcItem.getIdentifier(), srcNs); ... | 7196 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7196/15baaecf4beb5fe347ec25e4d4cd4e52b6ffb5cf/EnsemblDataTranslator.java/clean/flymine/model/ensembl/src/java/org/flymine/dataconversion/EnsemblDataTranslator.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1000,
444,
24442,
10503,
16968,
12,
1180,
1705,
1180,
16,
4342,
11680,
1180,
16,
514,
1705,
10386,
13,
5411,
1216,
1033,
21151,
288,
3639,
1000,
27260,
273,
394,
6847,
5621,
7734,
368... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
8585,
326,
22398,
316,
326,
981,
30,
377,
3238,
1000,
444,
24442,
10503,
16968,
12,
1180,
1705,
1180,
16,
4342,
11680,
1180,
16,
514,
1705,
10386,
13,
5411,
1216,
1033,
21151,
288,
3639,
1000,
27260,
273,
394,
6847,
5621,
7734,
368... | |
if (!connectionEndpoint.temporaryDestinations.contains(d)) | if (!connectionEndpoint.hasTemporaryDestination(d)) | public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | 3806 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3806/c7bd784746aeaf6b749d60d883b9a5b59d28b10d/ServerSessionEndpoint.java/buggy/src/main/org/jboss/jms/server/endpoint/ServerSessionEndpoint.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
9326,
9586,
752,
5869,
9586,
12,
5683,
23007,
5683,
16,
4766,
5375,
514,
3451,
16,
4766,
5375,
1250,
1158,
2042,
16,
4766,
5375,
514,
4915,
461,
16,
4766,
5375,
1250,
353,
6743,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9326,
9586,
752,
5869,
9586,
12,
5683,
23007,
5683,
16,
4766,
5375,
514,
3451,
16,
4766,
5375,
1250,
1158,
2042,
16,
4766,
5375,
514,
4915,
461,
16,
4766,
5375,
1250,
353,
6743,... |
mockDispatcher.verifyExpectations(); } | mockDispatcher.verifyExpectations(); } | public void testMockVerifies() throws Exception { mockDispatcher.verifyCalls.setExpected(1); coreMock.verify(); // Can't use Verifier as we are verifying "verify" mockDispatcher.verifyExpectations(); } | 57371 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57371/c26c57f3ac4851e6bc9c5df8515ac73f4045eebf/CoreMockTest.java/clean/jmock/core/src/test/jmock/core/CoreMockTest.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
225,
202,
482,
918,
1842,
9865,
19802,
1435,
1216,
1185,
288,
202,
202,
22851,
6681,
18,
8705,
10125,
18,
542,
6861,
12,
21,
1769,
202,
202,
3644,
9865,
18,
8705,
5621,
202,
202,
759,
4480,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9865,
19802,
1435,
1216,
1185,
288,
202,
202,
22851,
6681,
18,
8705,
10125,
18,
542,
6861,
12,
21,
1769,
202,
202,
3644,
9865,
18,
8705,
5621,
202,
202,
759,
4480,
... |
return new ArrayEnumerator( (Object[]) collection ); | return new ArrayEnumerator( collection ); | public Enumeration elements( Object collection ) { if ( collection == null ) return new CollectionHandlers.EmptyEnumerator(); return new ArrayEnumerator( (Object[]) collection ); } | 3614 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3614/fdcc53ee639bb83ad76562252bd0f3ff894b19a6/J1CollectionHandlers.java/buggy/trunk/castor-2002/castor/src/main/org/exolab/castor/mapping/loader/J1CollectionHandlers.java | [
1,
8585,
326,
22398,
316,
326,
981,
30,
2398,
1071,
13864,
2186,
12,
1033,
1849,
262,
288,
7734,
309,
261,
1849,
422,
446,
262,
10792,
327,
394,
2200,
6919,
18,
1921,
3572,
7385,
5621,
7734,
327,
394,
1510,
3572,
7385,
12,
1849,
112... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2398,
1071,
13864,
2186,
12,
1033,
1849,
262,
288,
7734,
309,
261,
1849,
422,
446,
262,
10792,
327,
394,
2200,
6919,
18,
1921,
3572,
7385,
5621,
7734,
327,
394,
1510,
3572,
7385,
12,
1849,
112... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.