rem
stringlengths
1
53.3k
add
stringlengths
0
80.5k
context
stringlengths
6
326k
meta
stringlengths
141
403
input_ids
sequence
attention_mask
sequence
labels
sequence
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 = new float[list.size()]; for (int i = 0; i < dashpattern.length; i++) { dashpattern[i] = ( (Number) list.get(i)).floatValue(); } float dashoffset = ( (Number) data[1]).floatValue();
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: 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 = new float[list.size()]; for (int i = 0; i < dashpattern.length; i++) { dashpattern[i] = ( (Number) list.get(i)).floatValue(); } float dashoffset = ( (Number) data[1]).floatValue(); if (oldStroke instanceof BasicStroke) { newStroke = new BasicStroke( ( (BasicStroke) oldStroke).getLineWidth(), ( (BasicStroke) oldStroke).getEndCap(), ( (BasicStroke) oldStroke).getLineJoin(), ( (BasicStroke) oldStroke).getMiterLimit(), dashpattern, dashoffset); } else { newStroke = new BasicStroke(1.0f, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND, 1.0f, dashpattern, dashoffset); } context.pencil.graphics.setStroke(newStroke); }
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, 18, 31586, 18, 588, 14602, 5621, 3639, 501, 273, 819, 18, 5120, 3542, 5708, 12, 22, 1769, 3639, 309, 16051, 261, 892, 63, 20, 65, 1276, 2407, 3719, 288, 1850, 604, 394, 453, 11606, 503, 2932, 542, 21817, 30, 7194, 1775, 8863, 3639, 289, 3639, 309, 16051, 261, 892, 63, 21, 65, 1276, 3588, 3719, 288, 1850, 604, 394, 453, 11606, 503, 2932, 542, 21817, 30, 7194, 1775, 8863, 3639, 289, 3639, 2407, 666, 273, 261, 19558, 13, 501, 63, 20, 15533, 3639, 309, 261, 1098, 18, 1467, 1435, 422, 374, 13, 288, 1850, 327, 31, 3639, 289, 3639, 1431, 8526, 12558, 4951, 273, 394, 1431, 63, 1098, 18, 1467, 1435, 15533, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 12558, 4951, 18, 2469, 31, 277, 27245, 288, 1850, 12558, 4951, 63, 77, 65, 273, 261, 261, 1854, 13, 666, 18, 588, 12, 77, 13, 2934, 5659, 620, 5621, 3639, 289, 3639, 1431, 12558, 3348, 273, 261, 261, 1854, 13, 501, 63, 21, 65, 2934, 5659, 620, 5621, 3639, 309, 261, 1673, 14602, 1276, 7651, 14602, 13, 288, 1850, 394, 14602, 273, 394, 7651, 14602, 12, 261, 261, 8252, 14602, 13, 1592, 14602, 2934, 588, 1670, 2384, 9334, 4766, 1377, 261, 261, 8252, 14602, 13, 1592, 14602, 2934, 588, 1638, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18, 31586, 18, 588, 14602, 5621, 3639, 501, 273, 819, 18, 5120, 3542, 5708, 12, 22, 1769, 3639, 309, 16051, 261, 892, 63, 20, 65, 1276, 2407, 3719, 288, 1850, 604, 394, 453, 11606, 503, 2932, 542, 21817, 30, 7194, 1775, 8863, 3639, 289, 3639, 309, 16051, 261, 892, 63, 21, 65, 1276, 3588, 3719, 288, 1850, 604, 394, 453, 11606, 503, 2932, 542, 21817, 30, 7194, 1775, 8863, 3639, 289, 3639, 2407, 666, 273, 261, 19558, 13, 501, 63, 20, 15533, 3639, 309, 2 ]
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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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( ) .getSessionHandle( ) .getULocale( ) ); TOCNode rootTocNode = tocTree.getRoot( );
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( (String[]) ( (ReportDesignHandle) handle ).getAllBookmarks( ) .toArray( new String[0] ) ); } } else if ( handle instanceof IReportDocument ) { if ( isToc ) { TOCNode rootTocNode = ( (IReportDocument) handle ).findTOC( null ); anchorChooser.setItems( (String[]) getAllTocDisplayString( rootTocNode ).toArray( new String[0] ) ); } else { anchorChooser.setItems( getDocumentBookmarks( (IReportDocument) handle ) ); } } bookmarkEditor.setText( "" ); //$NON-NLS-1$ String bookmark = inputHandle.getTargetBookmark( ); String[] chooserValues = anchorChooser.getItems( ); if ( bookmark != null && chooserValues != null ) { for ( int i = 0; i < chooserValues.length; i++ ) { if ( bookmark.equals( chooserValues[i] ) ) { anchorChooser.select( i ); bookmarkEditor.setText( anchorChooser.getText( ) ); } } } anchorChooser.setEnabled( anchorChooser.getItemCount( ) > 0 ); }
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, 3259, 262, 202, 202, 95, 1082, 202, 430, 261, 353, 56, 504, 262, 1082, 202, 95, 9506, 202, 16215, 17324, 18, 542, 3126, 12, 261, 780, 63, 5717, 261, 261, 4820, 15478, 3259, 13, 1640, 262, 18, 588, 1595, 56, 22280, 12, 262, 25083, 202, 18, 31447, 12, 394, 514, 63, 20, 65, 262, 11272, 1082, 202, 97, 1082, 202, 12107, 1082, 202, 95, 9506, 202, 16215, 17324, 18, 542, 3126, 12, 261, 780, 63, 5717, 261, 261, 4820, 15478, 3259, 13, 1640, 262, 18, 588, 1595, 9084, 17439, 12, 262, 25083, 202, 18, 31447, 12, 394, 514, 63, 20, 65, 262, 11272, 1082, 202, 97, 202, 202, 97, 202, 202, 12107, 309, 261, 1640, 1276, 467, 4820, 2519, 262, 202, 202, 95, 1082, 202, 430, 261, 353, 56, 504, 262, 1082, 202, 95, 9506, 202, 4296, 39, 907, 1365, 56, 504, 907, 273, 261, 261, 45, 4820, 2519, 13, 1640, 262, 18, 4720, 4296, 39, 12, 446, 11272, 9506, 202, 16215, 17324, 18, 542, 3126, 12, 261, 780, 63, 5717, 5514, 56, 504, 4236, 780, 12, 1365, 56, 504, 907, 262, 18, 31447, 12, 394, 514, 63, 20, 65, 262, 11272, 1082, 202, 97, 1082, 202, 12107, 1082, 202, 95, 9506, 202, 16215, 17324, 18, 542, 3126, 12, 9956, 9084, 17439, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3259, 262, 202, 202, 95, 1082, 202, 430, 261, 353, 56, 504, 262, 1082, 202, 95, 9506, 202, 16215, 17324, 18, 542, 3126, 12, 261, 780, 63, 5717, 261, 261, 4820, 15478, 3259, 13, 1640, 262, 18, 588, 1595, 56, 22280, 12, 262, 25083, 202, 18, 31447, 12, 394, 514, 63, 20, 65, 262, 11272, 1082, 202, 97, 1082, 202, 12107, 1082, 202, 95, 9506, 202, 16215, 17324, 18, 542, 3126, 12, 261, 780, 63, 5717, 261, 261, 4820, 15478, 3259, 13, 1640, 262, 2 ]
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 // ***** OPERATOR 6 ***** bank.sysex[getPatchStart(patchNum)+ 0]=(byte)((p.sysex[6+ 0])); // EG Rate 1 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 1]=(byte)((p.sysex[6+ 1])); // EG Rate 2 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 2]=(byte)((p.sysex[6+ 2])); // EG Rate 3 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 3]=(byte)((p.sysex[6+ 3])); // EG Rate 4 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 4]=(byte)((p.sysex[6+ 4])); // EG Level 1 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 5]=(byte)((p.sysex[6+ 5])); // EG Level 2 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 6]=(byte)((p.sysex[6+ 6])); // EG Level 3 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 7]=(byte)((p.sysex[6+ 7])); // EG Level 4 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 8]=(byte)((p.sysex[6+ 8])); // Kbd Level Scale Break Point (0-99) bank.sysex[getPatchStart(patchNum)+ 9]=(byte)((p.sysex[6+ 9])); // Kbd Level Scale Left Depth .(0-99) bank.sysex[getPatchStart(patchNum)+ 10]=(byte)((p.sysex[6+ 10])); // Kbd Level Scale Right Depth (0-99) bank.sysex[getPatchStart(patchNum)+ 11]=(byte)((p.sysex[6+ 12]*4+p.sysex[6+ 11])); // Kbd Level Scale Right Curve .(0-3) // | Left Curve ...............(0-3) bank.sysex[getPatchStart(patchNum)+ 12]=(byte)((p.sysex[6+ 20]*8+p.sysex[6+ 13])); // Osc Detune .................(0-14) // | Kbd Rate Scaling .........(0-7) bank.sysex[getPatchStart(patchNum)+ 13]=(byte)((p.sysex[6+ 15]*4+p.sysex[6+ 14])); // Key Velocity Sensitivity ....(0-7) // | Mod Sensitivity Amplitude (0-3) bank.sysex[getPatchStart(patchNum)+ 14]=(byte)((p.sysex[6+ 16])); // Operator Output Level ......(0-99) bank.sysex[getPatchStart(patchNum)+ 15]=(byte)((p.sysex[6+ 18]*2+p.sysex[6+ 17])); // Osc Frequency Coarse .......(0-31) // | Osc Mode .................(0-1) bank.sysex[getPatchStart(patchNum)+ 16]=(byte)((p.sysex[6+ 19])); // Osc Frequency Fine .........(0-99) // ***** OPERATOR 5 ***** bank.sysex[getPatchStart(patchNum)+ 17]=(byte)((p.sysex[6+ 21])); // EG Rate 1 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 18]=(byte)((p.sysex[6+ 22])); // EG Rate 2 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 19]=(byte)((p.sysex[6+ 23])); // EG Rate 3 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 20]=(byte)((p.sysex[6+ 24])); // EG Rate 4 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 21]=(byte)((p.sysex[6+ 25])); // EG Level 1 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 22]=(byte)((p.sysex[6+ 26])); // EG Level 2 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 23]=(byte)((p.sysex[6+ 27])); // EG Level 3 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 24]=(byte)((p.sysex[6+ 28])); // EG Level 4 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 25]=(byte)((p.sysex[6+ 29])); // Kbd Level Scale Break Point (0-99) bank.sysex[getPatchStart(patchNum)+ 26]=(byte)((p.sysex[6+ 30])); // Kbd Level Scale Left Depth .(0-99) bank.sysex[getPatchStart(patchNum)+ 27]=(byte)((p.sysex[6+ 31])); // Kbd Level Scale Right Depth (0-99) bank.sysex[getPatchStart(patchNum)+ 28]=(byte)((p.sysex[6+ 33]*4+p.sysex[6+ 32])); // Kbd Level Scale Right Curve .(0-3) // | Left Curve ...............(0-3) bank.sysex[getPatchStart(patchNum)+ 29]=(byte)((p.sysex[6+ 41]*8+p.sysex[6+ 34])); // Osc Detune .................(0-14) // | Kbd Rate Scaling .........(0-7) bank.sysex[getPatchStart(patchNum)+ 30]=(byte)((p.sysex[6+ 36]*4+p.sysex[6+ 35])); // Key Velocity Sensitivity ....(0-7) // | Mod Sensitivity Amplitude (0-3) bank.sysex[getPatchStart(patchNum)+ 31]=(byte)((p.sysex[6+ 37])); // Operator Output Level ......(0-99) bank.sysex[getPatchStart(patchNum)+ 32]=(byte)((p.sysex[6+ 39]*2+p.sysex[6+ 38])); // Osc Frequency Coarse .......(0-31) // | Osc Mode .................(0-1) bank.sysex[getPatchStart(patchNum)+ 33]=(byte)((p.sysex[6+ 40])); // Osc Frequency Fine .........(0-99) // ***** OPERATOR 4 ***** bank.sysex[getPatchStart(patchNum)+ 34]=(byte)((p.sysex[6+ 42])); // EG Rate 1 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 35]=(byte)((p.sysex[6+ 43])); // EG Rate 2 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 36]=(byte)((p.sysex[6+ 44])); // EG Rate 3 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 37]=(byte)((p.sysex[6+ 45])); // EG Rate 4 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 38]=(byte)((p.sysex[6+ 46])); // EG Level 1 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 39]=(byte)((p.sysex[6+ 47])); // EG Level 2 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 40]=(byte)((p.sysex[6+ 48])); // EG Level 3 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 41]=(byte)((p.sysex[6+ 49])); // EG Level 4 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 42]=(byte)((p.sysex[6+ 50])); // Kbd Level Scale Break Point (0-99) bank.sysex[getPatchStart(patchNum)+ 43]=(byte)((p.sysex[6+ 51])); // Kbd Level Scale Left Depth .(0-99) bank.sysex[getPatchStart(patchNum)+ 44]=(byte)((p.sysex[6+ 52])); // Kbd Level Scale Right Depth (0-99) bank.sysex[getPatchStart(patchNum)+ 45]=(byte)((p.sysex[6+ 54]*4+p.sysex[6+ 53])); // Kbd Level Scale Right Curve .(0-3) // | Left Curve ...............(0-3) bank.sysex[getPatchStart(patchNum)+ 46]=(byte)((p.sysex[6+ 62]*8+p.sysex[6+ 55])); // Osc Detune .................(0-14) // | Kbd Rate Scaling .........(0-7) bank.sysex[getPatchStart(patchNum)+ 47]=(byte)((p.sysex[6+ 57]*4+p.sysex[6+ 56])); // Key Velocity Sensitivity ....(0-7) // | Mod Sensitivity Amplitude (0-3) bank.sysex[getPatchStart(patchNum)+ 48]=(byte)((p.sysex[6+ 58])); // Operator Output Level ......(0-99) bank.sysex[getPatchStart(patchNum)+ 49]=(byte)((p.sysex[6+ 60]*2+p.sysex[6+ 59])); // Osc Frequency Coarse .......(0-31) // | Osc Mode .................(0-1) bank.sysex[getPatchStart(patchNum)+ 50]=(byte)((p.sysex[6+ 61])); // Osc Frequency Fine .........(0-99) // ***** OPERATOR 3 ***** bank.sysex[getPatchStart(patchNum)+ 51]=(byte)((p.sysex[6+ 63])); // EG Rate 1 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 52]=(byte)((p.sysex[6+ 64])); // EG Rate 2 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 53]=(byte)((p.sysex[6+ 65])); // EG Rate 3 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 54]=(byte)((p.sysex[6+ 66])); // EG Rate 4 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 55]=(byte)((p.sysex[6+ 67])); // EG Level 1 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 56]=(byte)((p.sysex[6+ 68])); // EG Level 2 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 57]=(byte)((p.sysex[6+ 69])); // EG Level 3 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 58]=(byte)((p.sysex[6+ 70])); // EG Level 4 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 59]=(byte)((p.sysex[6+ 71])); // Kbd Level Scale Break Point (0-99) bank.sysex[getPatchStart(patchNum)+ 60]=(byte)((p.sysex[6+ 72])); // Kbd Level Scale Left Depth .(0-99) bank.sysex[getPatchStart(patchNum)+ 61]=(byte)((p.sysex[6+ 73])); // Kbd Level Scale Right Depth (0-99) bank.sysex[getPatchStart(patchNum)+ 62]=(byte)((p.sysex[6+ 75]*4+p.sysex[6+ 74])); // Kbd Level Scale Right Curve .(0-3) // | Left Curve ...............(0-3) bank.sysex[getPatchStart(patchNum)+ 63]=(byte)((p.sysex[6+ 83]*8+p.sysex[6+ 76])); // Osc Detune .................(0-14) // | Kbd Rate Scaling .........(0-7) bank.sysex[getPatchStart(patchNum)+ 64]=(byte)((p.sysex[6+ 78]*4+p.sysex[6+ 77])); // Key Velocity Sensitivity ....(0-7) // | Mod Sensitivity Amplitude (0-3) bank.sysex[getPatchStart(patchNum)+ 65]=(byte)((p.sysex[6+ 79])); // Operator Output Level ......(0-99) bank.sysex[getPatchStart(patchNum)+ 66]=(byte)((p.sysex[6+ 81]*2+p.sysex[6+ 80])); // Osc Frequency Coarse .......(0-31) // | Osc Mode .................(0-1) bank.sysex[getPatchStart(patchNum)+ 67]=(byte)((p.sysex[6+ 82])); // Osc Frequency Fine .........(0-99) // ***** OPERATOR 2 ***** bank.sysex[getPatchStart(patchNum)+ 68]=(byte)((p.sysex[6+ 84])); // EG Rate 1 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 69]=(byte)((p.sysex[6+ 85])); // EG Rate 2 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 70]=(byte)((p.sysex[6+ 86])); // EG Rate 3 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 71]=(byte)((p.sysex[6+ 87])); // EG Rate 4 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 72]=(byte)((p.sysex[6+ 88])); // EG Level 1 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 73]=(byte)((p.sysex[6+ 89])); // EG Level 2 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 74]=(byte)((p.sysex[6+ 90])); // EG Level 3 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 75]=(byte)((p.sysex[6+ 91])); // EG Level 4 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 76]=(byte)((p.sysex[6+ 92])); // Kbd Level Scale Break Point (0-99) bank.sysex[getPatchStart(patchNum)+ 77]=(byte)((p.sysex[6+ 93])); // Kbd Level Scale Left Depth .(0-99) bank.sysex[getPatchStart(patchNum)+ 78]=(byte)((p.sysex[6+ 94])); // Kbd Level Scale Right Depth (0-99) bank.sysex[getPatchStart(patchNum)+ 79]=(byte)((p.sysex[6+ 96]*4+p.sysex[6+ 95])); // Kbd Level Scale Right Curve .(0-3) // | Left Curve ...............(0-3) bank.sysex[getPatchStart(patchNum)+ 80]=(byte)((p.sysex[6+104]*8+p.sysex[6+ 97])); // Osc Detune .................(0-14) // | Kbd Rate Scaling .........(0-7) bank.sysex[getPatchStart(patchNum)+ 81]=(byte)((p.sysex[6+ 99]*4+p.sysex[6+ 98])); // Key Velocity Sensitivity ....(0-7) // | Mod Sensitivity Amplitude (0-3) bank.sysex[getPatchStart(patchNum)+ 82]=(byte)((p.sysex[6+100])); // Operator Output Level ......(0-99) bank.sysex[getPatchStart(patchNum)+ 83]=(byte)((p.sysex[6+102]*2+p.sysex[6+101])); // Osc Frequency Coarse .......(0-31) // | Osc Mode .................(0-1) bank.sysex[getPatchStart(patchNum)+ 84]=(byte)((p.sysex[6+103])); // Osc Frequency Fine .........(0-99) // ***** OPERATOR 1 ***** bank.sysex[getPatchStart(patchNum)+ 85]=(byte)((p.sysex[6+105])); // EG Rate 1 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 86]=(byte)((p.sysex[6+106])); // EG Rate 2 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 87]=(byte)((p.sysex[6+107])); // EG Rate 3 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 88]=(byte)((p.sysex[6+108])); // EG Rate 4 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 89]=(byte)((p.sysex[6+109])); // EG Level 1 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 90]=(byte)((p.sysex[6+110])); // EG Level 2 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 91]=(byte)((p.sysex[6+111])); // EG Level 3 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 92]=(byte)((p.sysex[6+112])); // EG Level 4 .................(0-99) bank.sysex[getPatchStart(patchNum)+ 93]=(byte)((p.sysex[6+113])); // Kbd Level Scale Break Point (0-99) bank.sysex[getPatchStart(patchNum)+ 94]=(byte)((p.sysex[6+114])); // Kbd Level Scale Left Depth .(0-99) bank.sysex[getPatchStart(patchNum)+ 95]=(byte)((p.sysex[6+115])); // Kbd Level Scale Right Depth (0-99) bank.sysex[getPatchStart(patchNum)+ 96]=(byte)((p.sysex[6+117]*4+p.sysex[6+116])); // Kbd Level Scale Right Curve .(0-3) // | Left Curve ...............(0-3) bank.sysex[getPatchStart(patchNum)+ 97]=(byte)((p.sysex[6+125]*8+p.sysex[6+118])); // Osc Detune .................(0-14) // | Kbd Rate Scaling .........(0-7) bank.sysex[getPatchStart(patchNum)+ 98]=(byte)((p.sysex[6+120]*4+p.sysex[6+119])); // Key Velocity Sensitivity ....(0-7) // | Mod Sensitivity Amplitude (0-3) bank.sysex[getPatchStart(patchNum)+ 99]=(byte)((p.sysex[6+121])); // Operator Output Level ......(0-99) bank.sysex[getPatchStart(patchNum)+100]=(byte)((p.sysex[6+123]*2+p.sysex[6+122])); // Osc Frequency Coarse .......(0-31) // | Osc Mode .................(0-1) bank.sysex[getPatchStart(patchNum)+101]=(byte)((p.sysex[6+124])); // Osc Frequency Fine .........(0-99) // ***** other Parameters ***** bank.sysex[getPatchStart(patchNum)+102]=(byte)((p.sysex[6+126])); // Pitch EG Rate 1 ............(0-99) bank.sysex[getPatchStart(patchNum)+103]=(byte)((p.sysex[6+127])); // Pitch EG Rate 2 ............(0-99) bank.sysex[getPatchStart(patchNum)+104]=(byte)((p.sysex[6+128])); // Pitch EG Rate 3 ............(0-99) bank.sysex[getPatchStart(patchNum)+105]=(byte)((p.sysex[6+129])); // Pitch EG Rate 4 ............(0-99) bank.sysex[getPatchStart(patchNum)+106]=(byte)((p.sysex[6+130])); // Pitch EG Level 1 ...........(0-99) bank.sysex[getPatchStart(patchNum)+107]=(byte)((p.sysex[6+131])); // Pitch EG Level 2 ...........(0-99) bank.sysex[getPatchStart(patchNum)+108]=(byte)((p.sysex[6+132])); // Pitch EG Level 3 ...........(0-99) bank.sysex[getPatchStart(patchNum)+109]=(byte)((p.sysex[6+133])); // Pitch EG Level 4 ...........(0-99) bank.sysex[getPatchStart(patchNum)+110]=(byte)((p.sysex[6+134])); // Algorithmic Select .........(0-31) bank.sysex[getPatchStart(patchNum)+111]=(byte)((p.sysex[6+136]*8+p.sysex[6+135])); // Oscillator Sync .............(0-1)| Feedback (0-7) bank.sysex[getPatchStart(patchNum)+112]=(byte)((p.sysex[6+137])); // LFO Speed ..................(0-99) bank.sysex[getPatchStart(patchNum)+113]=(byte)((p.sysex[6+138])); // LFO Delay ..................(0-99) bank.sysex[getPatchStart(patchNum)+114]=(byte)((p.sysex[6+139])); // LFO PMD ....................(0-99) bank.sysex[getPatchStart(patchNum)+115]=(byte)((p.sysex[6+140])); // LFO AMD ....................(0-99) bank.sysex[getPatchStart(patchNum)+116]=(byte)((p.sysex[6+143]*16+p.sysex[6+142]*2+p.sysex[6+141])); // LFO Mod Sensitivity Pitch ...(0-7) // | LFO Wave (0-5)| LFO Sync (0-1) bank.sysex[getPatchStart(patchNum)+117]=(byte)((p.sysex[6+144])); // Transpose ..................(0-48) bank.sysex[getPatchStart(patchNum)+118]=(byte)((p.sysex[6+145])); // Voice name 1 ...............ASCII bank.sysex[getPatchStart(patchNum)+119]=(byte)((p.sysex[6+146])); // Voice name 2 ...............ASCII bank.sysex[getPatchStart(patchNum)+120]=(byte)((p.sysex[6+147])); // Voice name 3 ...............ASCII bank.sysex[getPatchStart(patchNum)+121]=(byte)((p.sysex[6+148])); // Voice name 4 ...............ASCII bank.sysex[getPatchStart(patchNum)+122]=(byte)((p.sysex[6+149])); // Voice name 5 ...............ASCII bank.sysex[getPatchStart(patchNum)+123]=(byte)((p.sysex[6+150])); // Voice name 6 ...............ASCII bank.sysex[getPatchStart(patchNum)+124]=(byte)((p.sysex[6+151])); // Voice name 7 ...............ASCII bank.sysex[getPatchStart(patchNum)+125]=(byte)((p.sysex[6+152])); // Voice name 8 ...............ASCII bank.sysex[getPatchStart(patchNum)+126]=(byte)((p.sysex[6+153])); // Voice name 9 ...............ASCII bank.sysex[getPatchStart(patchNum)+127]=(byte)((p.sysex[6+154])); // Voice name 10 ...............ASCII calculateChecksum(bank); }
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, 16051, 4169, 20586, 7332, 12, 84, 3719, 288, 1082, 202, 28826, 27, 9203, 7957, 18, 13437, 5706, 668, 12, 10492, 9334, 315, 2503, 618, 434, 4729, 1552, 486, 4845, 316, 358, 333, 618, 434, 11218, 1199, 1769, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 759, 11514, 23582, 1910, 358, 18184, 18242, 7930, 329, 4077, 9506, 202, 759, 565, 380, 1007, 25500, 1666, 380, 1007, 202, 202, 10546, 18, 9009, 20909, 63, 588, 7332, 1685, 12, 2272, 2578, 27921, 225, 374, 65, 28657, 7229, 13, 12443, 84, 18, 9009, 20909, 63, 26, 15, 225, 374, 5717, 1769, 1082, 202, 759, 512, 43, 13025, 225, 404, 1372, 10879, 6265, 838, 12, 20, 17, 2733, 13, 202, 202, 10546, 18, 9009, 20909, 63, 588, 7332, 1685, 12, 2272, 2578, 27921, 225, 404, 65, 28657, 7229, 13, 12443, 84, 18, 9009, 20909, 63, 26, 15, 225, 404, 5717, 1769, 1082, 202, 759, 512, 43, 13025, 225, 576, 1372, 10879, 6265, 838, 12, 20, 17, 2733, 13, 202, 202, 10546, 18, 9009, 20909, 63, 588, 7332, 1685, 12, 2272, 2578, 27921, 225, 576, 65, 28657, 7229, 13, 12443, 84, 18, 9009, 20909, 63, 26, 15, 225, 576, 5717, 1769, 1082, 202, 759, 512, 43, 13025, 225, 890, 1372, 10879, 6265, 838, 12, 20, 17, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16051, 4169, 20586, 7332, 12, 84, 3719, 288, 1082, 202, 28826, 27, 9203, 7957, 18, 13437, 5706, 668, 12, 10492, 9334, 315, 2503, 618, 434, 4729, 1552, 486, 4845, 316, 358, 333, 618, 434, 11218, 1199, 1769, 1082, 202, 2463, 31, 202, 202, 97, 202, 202, 759, 11514, 23582, 1910, 358, 18184, 18242, 7930, 329, 4077, 9506, 202, 759, 565, 380, 1007, 25500, 1666, 380, 1007, 202, 202, 10546, 18, 9009, 20909, 63, 588, 7332, 1685, 12, 2272, 2578, 27921, 225, 374, 65, 2 ]
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, uri, localName, rawName); this.popProcessor(); m_nsSupport.popContext(); }
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, 327, 31, 565, 309, 12443, 81, 67, 2956, 734, 15, 21, 13, 422, 312, 67, 11956, 734, 13, 1377, 312, 67, 13139, 2227, 273, 629, 31, 565, 3663, 11600, 5621, 565, 20751, 1046, 5164, 293, 273, 5175, 5164, 5621, 565, 293, 18, 409, 1046, 261, 2211, 16, 2003, 16, 11927, 16, 1831, 461, 1769, 565, 333, 18, 5120, 5164, 5621, 565, 312, 67, 2387, 6289, 18, 5120, 1042, 5621, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 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, 327, 31, 565, 309, 12443, 81, 67, 2956, 734, 15, 21, 13, 422, 312, 67, 11956, 734, 13, 1377, 312, 67, 13139, 2227, 273, 629, 31, 565, 3663, 11600, 5621, 565, 20751, 1046, 5164, 293, 273, 5175, 5164, 5621, 565, 293, 18, 409, 1046, 261, 2211, 16, 2003, 16, 11927, 16, 1831, 461, 1769, 565, 333, 18, 5120, 5164, 5621, 565, 312, 67, 2387, 6289, 18, 5120, 1042, 5621, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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 //all addresses but localhost and 18.239.0.*. The latter is used in //pongs for testing. TODO: it would be nice to have a way to prevent //BootstrapServerManager from adding defaults and connecting. FilterSettings.BLACK_LISTED_IP_ADDRESSES.setValue( new String[] {"*.*.*.*"}); FilterSettings.WHITE_LISTED_IP_ADDRESSES.setValue( new String[] {"127.*.*.*"}); ConnectionSettings.PORT.setValue(PORT); SharingSettings.EXTENSIONS_TO_SHARE.setValue("txt;"); // get the resource file for com/limegroup/gnutella File berkeley = CommonUtils.getResourceFile("com/limegroup/gnutella/berkeley.txt"); File susheel = CommonUtils.getResourceFile("com/limegroup/gnutella/susheel.txt"); // now move them to the share dir CommonUtils.copy(berkeley, new File(_sharedDir, "berkeley.txt")); CommonUtils.copy(susheel, new File(_sharedDir, "susheel.txt")); ConnectionSettings.CONNECT_ON_STARTUP.setValue(false); UltrapeerSettings.EVER_ULTRAPEER_CAPABLE.setValue(true); UltrapeerSettings.DISABLE_ULTRAPEER_MODE.setValue(false); UltrapeerSettings.FORCE_ULTRAPEER_MODE.setValue(true); UltrapeerSettings.MAX_LEAVES.setValue(1); ConnectionSettings.NUM_CONNECTIONS.setValue(3); ConnectionSettings.LOCAL_IS_PRIVATE.setValue(false); ConnectionSettings.USE_GWEBCACHE.setValue(false); ConnectionSettings.WATCHDOG_ACTIVE.setValue(false); }
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, 1004, 358, 6514, 603, 1756, 1666, 6028, 27, 16, 598, 3639, 368, 31033, 12169, 471, 1158, 5921, 18, 3639, 368, 774, 3455, 511, 494, 15249, 628, 14244, 358, 326, 8220, 2483, 16, 732, 1034, 596, 3639, 368, 454, 6138, 1496, 17365, 471, 6549, 18, 4366, 29, 18, 20, 4509, 18, 225, 1021, 23740, 353, 1399, 316, 3639, 368, 500, 564, 364, 7769, 18, 225, 2660, 30, 518, 4102, 506, 13752, 358, 1240, 279, 4031, 358, 5309, 3639, 368, 10445, 2081, 1318, 628, 6534, 3467, 471, 14244, 18, 3639, 4008, 2628, 18, 14618, 3649, 67, 7085, 2056, 67, 2579, 67, 8355, 7031, 1090, 55, 18, 542, 620, 12, 5411, 394, 514, 8526, 12528, 14, 4509, 4509, 4509, 6, 22938, 3639, 4008, 2628, 18, 16861, 67, 7085, 2056, 67, 2579, 67, 8355, 7031, 1090, 55, 18, 542, 620, 12, 5411, 394, 514, 8526, 12528, 14260, 4509, 4509, 4509, 6, 22938, 3639, 4050, 2628, 18, 6354, 18, 542, 620, 12, 6354, 1769, 3639, 2638, 5968, 2628, 18, 12796, 55, 67, 4296, 67, 8325, 862, 18, 542, 620, 2932, 5830, 4868, 1769, 3639, 368, 336, 326, 1058, 585, 364, 532, 19, 80, 494, 1655, 19, 1600, 322, 1165, 69, 3639, 1387, 27965, 79, 292, 402, 273, 2398, 5658, 1989, 18, 588, 1420, 812, 2932, 832, 19, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1004, 358, 6514, 603, 1756, 1666, 6028, 27, 16, 598, 3639, 368, 31033, 12169, 471, 1158, 5921, 18, 3639, 368, 774, 3455, 511, 494, 15249, 628, 14244, 358, 326, 8220, 2483, 16, 732, 1034, 596, 3639, 368, 454, 6138, 1496, 17365, 471, 6549, 18, 4366, 29, 18, 20, 4509, 18, 225, 1021, 23740, 353, 1399, 316, 3639, 368, 500, 564, 364, 7769, 18, 225, 2660, 30, 518, 4102, 506, 13752, 358, 1240, 279, 4031, 358, 5309, 3639, 368, 10445, 2081, 1318, 628, 6534, 3467, 2 ]
_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()) { case AS: { AST __t816 = _t; AST tmp815_AST_in = (AST)_t; match(_t,AS); _t = _t.getFirstChild(); datatype_var(_t); _t = _retTree; _t = __t816; _t = _t.getNextSibling(); break; } case AT: { atphrase(_t); _t = _retTree; break; } case ATTRSPACE: { AST tmp816_AST_in = (AST)_t; match(_t,ATTRSPACE); _t = _t.getNextSibling(); break; } case NOATTRSPACE: { AST tmp817_AST_in = (AST)_t; match(_t,NOATTRSPACE); _t = _t.getNextSibling(); break; } case AUTORETURN: { AST tmp818_AST_in = (AST)_t; match(_t,AUTORETURN); _t = _t.getNextSibling(); break; } case BGCOLOR: case DCOLOR: case FGCOLOR: case PFCOLOR: { color_expr(_t); _t = _retTree; break; } case CONTEXTHELPID: { AST __t817 = _t; AST tmp819_AST_in = (AST)_t; match(_t,CONTEXTHELPID); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t817; _t = _t.getNextSibling(); break; } case BLANK: { AST tmp820_AST_in = (AST)_t; match(_t,BLANK); _t = _t.getNextSibling(); break; } case COLON: { AST __t818 = _t; AST tmp821_AST_in = (AST)_t; match(_t,COLON); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t818; _t = _t.getNextSibling(); break; } case TO: { AST __t819 = _t; AST tmp822_AST_in = (AST)_t; match(_t,TO); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t819; _t = _t.getNextSibling(); break; } case DEBLANK: { AST tmp823_AST_in = (AST)_t; match(_t,DEBLANK); _t = _t.getNextSibling(); break; } case DISABLEAUTOZAP: { AST tmp824_AST_in = (AST)_t; match(_t,DISABLEAUTOZAP); _t = _t.getNextSibling(); break; } case FONT: { AST __t820 = _t; AST tmp825_AST_in = (AST)_t; match(_t,FONT); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t820; _t = _t.getNextSibling(); break; } case FORMAT: { AST __t821 = _t; AST tmp826_AST_in = (AST)_t; match(_t,FORMAT); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t821; _t = _t.getNextSibling(); break; } case HELP: { AST __t822 = _t; AST tmp827_AST_in = (AST)_t; match(_t,HELP); _t = _t.getFirstChild(); constant(_t); _t = _retTree; _t = __t822; _t = _t.getNextSibling(); break; } case COLUMNLABEL: case LABEL: { label_constant(_t); _t = _retTree; break; } case LEXAT: { AST __t823 = _t; AST tmp828_AST_in = (AST)_t; match(_t,LEXAT); _t = _t.getFirstChild(); fld(_t,CQ.SYMBOL); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case Format_phrase: { formatphrase(_t); _t = _retTree; break; } case 3: { break; } default: { throw new NoViableAltException(_t); } } } _t = __t823; _t = _t.getNextSibling(); break; } case LIKE: { AST __t825 = _t; AST tmp829_AST_in = (AST)_t; match(_t,LIKE); _t = _t.getFirstChild(); fld(_t,CQ.SYMBOL); _t = _retTree; _t = __t825; _t = _t.getNextSibling(); break; } case NOLABELS: { AST tmp830_AST_in = (AST)_t; match(_t,NOLABELS); _t = _t.getNextSibling(); break; } case NOTABSTOP: { AST tmp831_AST_in = (AST)_t; match(_t,NOTABSTOP); _t = _t.getNextSibling(); break; } case VALIDATE: { AST __t826 = _t; AST tmp832_AST_in = (AST)_t; match(_t,VALIDATE); _t = _t.getFirstChild(); funargs(_t); _t = _retTree; _t = __t826; _t = _t.getNextSibling(); break; } case WHEN: { AST __t827 = _t; AST tmp833_AST_in = (AST)_t; match(_t,WHEN); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t827; _t = _t.getNextSibling(); break; } case VIEWAS: { viewasphrase(_t); _t = _retTree; break; } default: { if ( _cnt828>=1 ) { break _loop828; } else {throw new NoViableAltException(_t);} } } _cnt828++; } while (true); } _t = __t814; _t = _t.getNextSibling(); _retTree = _t; }
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, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 28, 3461, 273, 389, 88, 31, 202, 202, 9053, 1853, 28, 3461, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 1630, 67, 9429, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 474, 389, 13085, 28, 6030, 33, 20, 31, 202, 202, 67, 6498, 28, 6030, 30, 202, 202, 2896, 288, 1082, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 1082, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 1082, 202, 3593, 5355, 30, 1082, 202, 95, 9506, 202, 9053, 1001, 88, 28, 2313, 273, 389, 88, 31, 9506, 202, 9053, 1853, 28, 3600, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 9506, 202, 1916, 24899, 88, 16, 3033, 1769, 9506, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 9506, 202, 21540, 67, 1401, 24899, 88, 1769, 9506, 202, 67, 88, 273, 389, 1349, 2471, 31, 9506, 202, 67, 88, 273, 1001, 88, 28, 2313, 31, 9506, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 9506, 202, 8820, 31, 1082, 202, 97, 1082, 202, 3593, 14464, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 28, 3461, 273, 389, 88, 31, 202, 202, 9053, 1853, 28, 3461, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 1630, 67, 9429, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 474, 389, 13085, 28, 6030, 33, 20, 31, 202, 202, 67, 6498, 28, 6030, 30, 202, 202, 2896, 288, 1082, 202, 430, 261, 2 ]
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, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 8541, 53, 4098, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 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, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 8329, 8541, 53, 4098, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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, 273, 501, 18, 2469, 31, 202, 430, 261, 1896, 1545, 290, 380, 1381, 13, 288, 202, 565, 327, 31, 202, 97, 202, 17523, 261, 1896, 411, 290, 380, 1381, 13, 288, 202, 565, 943, 6413, 576, 31, 202, 97, 202, 780, 16026, 8526, 273, 394, 514, 63, 1896, 15533, 202, 3163, 18, 1126, 3530, 12, 892, 16, 374, 16, 16026, 16, 374, 16, 769, 14, 25, 1769, 202, 892, 273, 16026, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 273, 501, 18, 2469, 31, 202, 430, 261, 1896, 1545, 290, 380, 1381, 13, 288, 202, 565, 327, 31, 202, 97, 202, 17523, 261, 1896, 411, 290, 380, 1381, 13, 288, 202, 565, 943, 6413, 576, 31, 202, 97, 202, 780, 16026, 8526, 273, 394, 514, 63, 1896, 15533, 202, 3163, 18, 1126, 3530, 12, 892, 16, 374, 16, 16026, 16, 374, 16, 769, 14, 25, 1769, 202, 892, 273, 16026, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100 ]
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.swing.JSeparator(); leftSpacer = new javax.swing.JLabel(); rightSpacer = new javax.swing.JLabel(); okButton = new javax.swing.JButton(); getContentPane().setLayout(new java.awt.GridBagLayout()); setTitle("Analysis Errors"); addWindowListener(new java.awt.event.WindowAdapter() { public void windowClosing(java.awt.event.WindowEvent evt) { closeDialog(evt); } }); errorLabel.setFont(new java.awt.Font("Dialog", 0, 12)); errorLabel.setText("Errors occured during the analysis:"); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 0; gridBagConstraints.gridwidth = 3; gridBagConstraints.insets = new java.awt.Insets(6, 6, 3, 0); gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; getContentPane().add(errorLabel, gridBagConstraints); errorMessageTextArea.setBorder(new javax.swing.border.BevelBorder(javax.swing.border.BevelBorder.LOWERED)); errorMessageTextArea.setEditable(false); errorMessageScrollPane.setViewportView(errorMessageTextArea); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 1; gridBagConstraints.gridwidth = 3; gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; gridBagConstraints.insets = new java.awt.Insets(4, 6, 4, 6); gridBagConstraints.weightx = 1.0; gridBagConstraints.weighty = 1.0; getContentPane().add(errorMessageScrollPane, gridBagConstraints); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 2; gridBagConstraints.gridwidth = 3; gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; getContentPane().add(jSeparator1, gridBagConstraints); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 3; gridBagConstraints.weightx = 0.5; getContentPane().add(leftSpacer, gridBagConstraints); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 2; gridBagConstraints.gridy = 3; gridBagConstraints.weightx = 0.5; getContentPane().add(rightSpacer, gridBagConstraints); okButton.setMnemonic('O'); okButton.setText("OK"); okButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { okButtonActionPerformed(evt); } }); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 1; gridBagConstraints.gridy = 3; gridBagConstraints.insets = new java.awt.Insets(3, 0, 3, 0); getContentPane().add(okButton, gridBagConstraints); pack(); }//GEN-END:initComponents
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, 5621, 3639, 9324, 26360, 273, 394, 6863, 18, 5328, 310, 18, 46, 26360, 5621, 3639, 9324, 1528, 5484, 273, 394, 6863, 18, 5328, 310, 18, 46, 1528, 8485, 5621, 3639, 525, 6581, 21, 273, 394, 6863, 18, 5328, 310, 18, 46, 6581, 5621, 3639, 2002, 3389, 10598, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 3639, 2145, 3389, 10598, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 3639, 1529, 3616, 273, 394, 6863, 18, 5328, 310, 18, 46, 3616, 5621, 3639, 5154, 8485, 7675, 542, 3744, 12, 2704, 2252, 18, 2219, 88, 18, 6313, 5013, 3744, 10663, 3639, 14109, 2932, 9418, 9372, 8863, 3639, 527, 3829, 2223, 12, 2704, 2252, 18, 2219, 88, 18, 2575, 18, 3829, 4216, 1435, 288, 5411, 1071, 918, 2742, 15745, 12, 6290, 18, 2219, 88, 18, 2575, 18, 3829, 1133, 6324, 13, 288, 7734, 1746, 6353, 12, 73, 11734, 1769, 5411, 289, 3639, 15549, 3639, 555, 2224, 18, 542, 5711, 12, 2704, 2252, 18, 2219, 88, 18, 5711, 2932, 6353, 3113, 374, 16, 2593, 10019, 3639, 555, 2224, 18, 542, 1528, 2932, 4229, 16206, 4982, 326, 6285, 2773, 1769, 3639, 8747, 273, 394, 2252, 18, 2219, 88, 18, 6313, 6852, 5621, 3639, 8747, 18, 5222, 92, 273, 374, 31, 3639, 8747, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5621, 3639, 9324, 26360, 273, 394, 6863, 18, 5328, 310, 18, 46, 26360, 5621, 3639, 9324, 1528, 5484, 273, 394, 6863, 18, 5328, 310, 18, 46, 1528, 8485, 5621, 3639, 525, 6581, 21, 273, 394, 6863, 18, 5328, 310, 18, 46, 6581, 5621, 3639, 2002, 3389, 10598, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 3639, 2145, 3389, 10598, 273, 394, 6863, 18, 5328, 310, 18, 46, 2224, 5621, 3639, 1529, 3616, 273, 394, 6863, 18, 5328, 310, 18, 46, 3616, 2 ]
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 (!realized() || willSetRenderingThread || (renderingThread != null && renderingThread != (currentThread = Thread.currentThread()))) { if (isReshape) { deferredReshapeAction = runnable; } return; } if (isReshape && noAutoRedraw) { // Don't process reshape requests on the AWT thread deferredReshapeAction = runnable; return; } if (renderingThread == null || deferredSetRenderingThread) { deferredSetRenderingThread = false; if (!makeCurrent(initAction)) { // Couldn't make the thread current because the component has not yet // been visualized, and therefore the context cannot be created. // We'll defer any actions until invokeGL() is called again at a time // when the component has been visualized. if (isReshape) { deferredReshapeAction = runnable; } return; } } // At this point the OpenGL context is current. Offscreen contexts // handle resizing the backing bitmap in makeCurrent. Therefore we // may need to free and make the context current again if we // didn't actually make it current above. if (pendingOffscreenResize && renderingThread != null) { free(); if (!makeCurrent(initAction)) { throw new GLException("Error while resizing offscreen context"); } } boolean caughtException = false; try { if (deferredReshapeAction != null) { deferredReshapeAction.run(); deferredReshapeAction = null; } runnable.run(); swapBuffers(); } catch (RuntimeException e) { caughtException = true; throw(e); } finally { if (caughtException) { // Disallow setRenderingThread if display action is throwing exceptions renderingThread = null; } if (renderingThread == null) { free(); } } }
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, 1505, 586, 804, 37, 8588, 471, 3502, 11261, 5295, 3180, 603, 9252, 4085, 854, 565, 368, 2863, 1235, 565, 309, 16051, 7688, 1235, 10756, 288, 1377, 2863, 1235, 273, 2587, 3183, 18, 291, 5325, 3830, 5621, 565, 289, 565, 309, 16051, 7688, 1235, 1435, 747, 202, 20194, 694, 14261, 3830, 747, 3639, 261, 5902, 310, 3830, 480, 446, 597, 540, 9782, 3830, 480, 261, 2972, 3830, 273, 4884, 18, 2972, 3830, 1435, 20349, 288, 1377, 309, 261, 291, 607, 6560, 13, 288, 3639, 7045, 607, 6560, 1803, 273, 14685, 31, 1377, 289, 1377, 327, 31, 565, 289, 565, 309, 261, 291, 607, 6560, 597, 1158, 4965, 3715, 1899, 13, 288, 1377, 368, 7615, 1404, 1207, 6985, 3285, 603, 326, 432, 8588, 2650, 1377, 7045, 607, 6560, 1803, 273, 14685, 31, 1377, 327, 31, 565, 289, 565, 309, 261, 5902, 310, 3830, 422, 446, 747, 7045, 694, 14261, 3830, 13, 288, 1377, 7045, 694, 14261, 3830, 273, 629, 31, 1377, 309, 16051, 6540, 3935, 12, 2738, 1803, 3719, 288, 3639, 368, 14312, 82, 1404, 1221, 326, 2650, 783, 2724, 326, 1794, 711, 486, 4671, 3639, 368, 2118, 11623, 1235, 16, 471, 13526, 326, 819, 2780, 506, 2522, 18, 3639, 368, 1660, 5614, 2220, 1281, 4209, 3180, 4356, 11261, 1435, 353, 2566, 3382, 622, 279, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1505, 586, 804, 37, 8588, 471, 3502, 11261, 5295, 3180, 603, 9252, 4085, 854, 565, 368, 2863, 1235, 565, 309, 16051, 7688, 1235, 10756, 288, 1377, 2863, 1235, 273, 2587, 3183, 18, 291, 5325, 3830, 5621, 565, 289, 565, 309, 16051, 7688, 1235, 1435, 747, 202, 20194, 694, 14261, 3830, 747, 3639, 261, 5902, 310, 3830, 480, 446, 597, 540, 9782, 3830, 480, 261, 2972, 3830, 273, 4884, 18, 2972, 3830, 1435, 20349, 288, 1377, 309, 261, 291, 607, 6560, 13, 288, 3639, 7045, 607, 2 ]
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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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("")) { InternetAddress from = new InternetAddress(fromHdr); if (AccountUtil.allowFromAddress(acct, from.getAddress())) overrideFromHeader = false; } } catch (Exception e) { } boolean isDelegatedRequest = !acct.getId().equalsIgnoreCase(authuser.getId()); InternetAddress sender = isDelegatedRequest ? AccountUtil.getFriendlyEmailAddress(authuser) : null; // set various headers on the outgoing message if (overrideFromHeader) mm.setFrom(AccountUtil.getFriendlyEmailAddress(acct)); mm.setSentDate(new Date()); if (sender == null) { String replyTo = acct.getAttr(Provisioning.A_zimbraPrefReplyToAddress); if (replyTo != null && !replyTo.trim().equals("")) mm.setHeader("Reply-To", replyTo); } else { mm.setSender(sender); if (replyToSender) mm.setReplyTo(new Address[] {sender}); } mm.saveChanges(); }
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, 3639, 775, 288, 5411, 514, 628, 14659, 273, 9740, 18, 588, 1864, 2932, 1265, 3113, 446, 1769, 5411, 309, 261, 2080, 14659, 480, 446, 597, 401, 2080, 14659, 18, 14963, 2932, 6, 3719, 288, 7734, 21352, 1887, 628, 273, 394, 21352, 1887, 12, 2080, 14659, 1769, 7734, 309, 261, 3032, 1304, 18, 5965, 1265, 1887, 12, 1077, 299, 16, 628, 18, 588, 1887, 1435, 3719, 10792, 3849, 1265, 1864, 273, 629, 31, 5411, 289, 3639, 289, 1044, 261, 503, 425, 13, 288, 289, 3639, 1250, 353, 15608, 690, 691, 273, 401, 1077, 299, 18, 26321, 7675, 14963, 5556, 12, 1944, 1355, 18, 26321, 10663, 3639, 21352, 1887, 5793, 273, 353, 15608, 690, 691, 692, 6590, 1304, 18, 588, 19730, 23590, 12, 1944, 1355, 13, 294, 446, 31, 3639, 368, 444, 11191, 1607, 603, 326, 12902, 883, 3639, 309, 261, 10601, 1265, 1864, 13, 5411, 9740, 18, 542, 1265, 12, 3032, 1304, 18, 588, 19730, 23590, 12, 1077, 299, 10019, 3639, 9740, 18, 542, 7828, 1626, 12, 2704, 2167, 10663, 3639, 309, 261, 15330, 422, 446, 13, 288, 5411, 514, 30934, 273, 20774, 18, 588, 3843, 12, 17485, 18, 37, 67, 94, 381, 15397, 23218, 7817, 774, 1887, 1769, 5411, 309, 261, 10629, 774, 480, 446, 597, 401, 10629, 774, 18, 5290, 7675, 14963, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3639, 775, 288, 5411, 514, 628, 14659, 273, 9740, 18, 588, 1864, 2932, 1265, 3113, 446, 1769, 5411, 309, 261, 2080, 14659, 480, 446, 597, 401, 2080, 14659, 18, 14963, 2932, 6, 3719, 288, 7734, 21352, 1887, 628, 273, 394, 21352, 1887, 12, 2080, 14659, 1769, 7734, 309, 261, 3032, 1304, 18, 5965, 1265, 1887, 12, 1077, 299, 16, 628, 18, 588, 1887, 1435, 3719, 10792, 3849, 1265, 1864, 273, 629, 31, 5411, 289, 3639, 289, 1044, 261, 503, 425, 13, 288, 289, 3639, 1250, 2 ]
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, then make one. * if that isn't a ResourceManager, consider * this a huge error and throw */ Object o = null; try { o = Class.forName( rm ).newInstance(); } catch (ClassNotFoundException cnfe ) { String err = "The specified class for Resourcemanager (" + rm + ") does not exist (or is not accessible to the current classlaoder."; error( err ); throw new Exception( err ); } if (!(o instanceof ResourceManager) ) { String err = "The specified class for ResourceManager (" + rm + ") does not implement org.apache.runtime.resource.ResourceManager." + " Velocity not initialized correctly."; error( err); throw new Exception(err); } resourceManager = (ResourceManager) o; resourceManager.initialize( this ); } else { /* * someone screwed up. Lets not fool around... */ String err = "It appears that no class was specified as the" + " ResourceManager. Please ensure that all configuration" + " information is correct."; error( err); throw new Exception( err ); } }
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, 5237, 11272, 3639, 309, 261, 8864, 480, 446, 597, 6692, 18, 2469, 1435, 405, 374, 13, 3639, 288, 5411, 1748, 2398, 380, 225, 309, 5943, 1703, 1269, 16, 1508, 1221, 1245, 18, 2398, 380, 225, 309, 716, 5177, 1404, 279, 2591, 1318, 16, 5260, 2398, 380, 225, 333, 279, 366, 21627, 555, 471, 604, 2398, 1195, 13491, 1033, 320, 273, 446, 31, 13491, 775, 5411, 288, 9079, 320, 273, 1659, 18, 1884, 461, 12, 6692, 262, 18, 2704, 1442, 5621, 5411, 289, 5411, 1044, 261, 797, 3990, 6227, 3030, 262, 5411, 288, 7734, 514, 393, 273, 315, 1986, 1269, 667, 364, 2591, 4181, 7566, 10792, 397, 6692, 13491, 397, 9369, 1552, 486, 1005, 261, 280, 353, 486, 12718, 358, 326, 783, 667, 11821, 5350, 1199, 31, 1171, 555, 12, 393, 11272, 1171, 604, 394, 1185, 12, 393, 11272, 5411, 289, 13491, 309, 16051, 12, 83, 1276, 2591, 1318, 13, 262, 5411, 288, 7734, 514, 393, 273, 315, 1986, 1269, 667, 364, 2591, 1318, 7566, 10792, 397, 6692, 5397, 397, 9369, 1552, 486, 2348, 2358, 18, 19211, 18, 9448, 18, 3146, 18, 1420, 1318, 1199, 10792, 397, 315, 24561, 486, 6454, 8783, 1199, 31, 4766, 565, 555, 12, 393, 1769, 7734, 604, 394, 1185, 12, 370, 1769, 5411, 289, 5411, 1058, 1318, 273, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5237, 11272, 3639, 309, 261, 8864, 480, 446, 597, 6692, 18, 2469, 1435, 405, 374, 13, 3639, 288, 5411, 1748, 2398, 380, 225, 309, 5943, 1703, 1269, 16, 1508, 1221, 1245, 18, 2398, 380, 225, 309, 716, 5177, 1404, 279, 2591, 1318, 16, 5260, 2398, 380, 225, 333, 279, 366, 21627, 555, 471, 604, 2398, 1195, 13491, 1033, 320, 273, 446, 31, 13491, 775, 5411, 288, 9079, 320, 273, 1659, 18, 1884, 461, 12, 6692, 262, 18, 2704, 1442, 5621, 5411, 289, 5411, 1044, 2 ]
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())); } else { return false; } }
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, 309, 261, 83, 1276, 6005, 907, 13, 288, 202, 565, 6005, 907, 3153, 273, 261, 3402, 907, 13, 83, 31, 202, 565, 327, 261, 14963, 12, 2938, 16, 3153, 18, 588, 3054, 907, 10756, 597, 1082, 565, 1606, 12, 529, 16, 3153, 18, 588, 18948, 10756, 597, 1082, 565, 1606, 12, 1132, 16, 3153, 18, 588, 907, 620, 1435, 10019, 202, 97, 469, 288, 202, 565, 327, 629, 31, 202, 97, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 309, 261, 83, 1276, 6005, 907, 13, 288, 202, 565, 6005, 907, 3153, 273, 261, 3402, 907, 13, 83, 31, 202, 565, 327, 261, 14963, 12, 2938, 16, 3153, 18, 588, 3054, 907, 10756, 597, 1082, 565, 1606, 12, 529, 16, 3153, 18, 588, 18948, 10756, 597, 1082, 565, 1606, 12, 1132, 16, 3153, 18, 588, 907, 620, 1435, 10019, 202, 97, 469, 288, 202, 565, 327, 629, 31, 202, 97, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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; final PsiJavaToken sign = binaryExpression.getOperationSign(); if (sign == null) { return false; } final IElementType tokenType = sign.getTokenType(); if (!tokenType.equals(JavaTokenType.OR) && !tokenType.equals(JavaTokenType.AND)) { return false; } final PsiExpression rhs = binaryExpression.getROperand(); if (isConstant(rhs)) { return true; } final PsiExpression lhs = binaryExpression.getLOperand(); if (isConstant(lhs)) { return true; } return false; }
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, 5905, 2300, 3719, 288, 5411, 327, 629, 31, 3639, 289, 3639, 727, 453, 7722, 5905, 2300, 3112, 2300, 273, 261, 52, 7722, 5905, 2300, 13, 2652, 31, 3639, 727, 453, 7722, 5852, 1345, 1573, 273, 3112, 2300, 18, 588, 2988, 2766, 5621, 3639, 309, 261, 2977, 422, 446, 13, 288, 5411, 327, 629, 31, 3639, 289, 3639, 727, 467, 17481, 22302, 273, 1573, 18, 588, 28675, 5621, 3639, 309, 16051, 2316, 559, 18, 14963, 12, 5852, 28675, 18, 916, 13, 597, 401, 2316, 559, 18, 14963, 12, 5852, 28675, 18, 4307, 3719, 288, 5411, 327, 629, 31, 3639, 289, 3639, 727, 453, 7722, 2300, 7711, 273, 3112, 2300, 18, 588, 1457, 457, 464, 5621, 3639, 309, 261, 52, 7722, 1304, 18, 291, 6902, 2300, 12, 86, 4487, 3719, 288, 5411, 327, 638, 31, 3639, 289, 3639, 727, 453, 7722, 2300, 8499, 273, 3112, 2300, 18, 588, 1502, 457, 464, 5621, 3639, 309, 261, 291, 6902, 12, 80, 4487, 3719, 288, 5411, 327, 638, 31, 3639, 289, 3639, 327, 629, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 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, 5905, 2300, 3719, 288, 5411, 327, 629, 31, 3639, 289, 3639, 727, 453, 7722, 5905, 2300, 3112, 2300, 273, 261, 52, 7722, 5905, 2300, 13, 2652, 31, 3639, 727, 453, 7722, 5852, 1345, 1573, 273, 3112, 2300, 18, 588, 2988, 2766, 5621, 3639, 309, 261, 2977, 422, 446, 13, 288, 5411, 327, 629, 31, 3639, 289, 3639, 727, 467, 17481, 22302, 273, 1573, 18, 588, 28675, 5621, 3639, 309, 16051, 2316, 559, 18, 14963, 12, 5852, 28675, 18, 916, 13, 597, 401, 2316, 2 ]
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( ), context ) .didRun( ) ) return; IDataItemEventHandler eh = ( IDataItemEventHandler ) getInstance( ( DataItemHandle ) dataItemDesign .getHandle( ) ); if ( eh != null ) eh.onRender( dataItem, context.getReportContext( ) ); } catch ( Exception e ) { log.log( Level.WARNING, e.getMessage( ), e ); } }
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, 261, 8706, 1180, 15478, 262, 913, 6862, 202, 18, 588, 4625, 858, 12, 11272, 1082, 202, 734, 396, 1180, 1442, 27493, 273, 394, 1910, 1180, 1442, 12, 913, 16, 819, 11272, 1082, 202, 430, 261, 1640, 6479, 12, 27493, 16, 27493, 15478, 18, 588, 1398, 3420, 12, 262, 16, 819, 262, 6862, 202, 18, 14044, 1997, 12, 262, 262, 9506, 202, 2463, 31, 1082, 202, 734, 396, 1180, 16402, 20124, 273, 261, 467, 29903, 16402, 262, 3694, 12, 261, 1910, 1180, 3259, 262, 27493, 15478, 6862, 202, 18, 588, 3259, 12, 262, 11272, 1082, 202, 430, 261, 20124, 480, 446, 262, 9506, 202, 73, 76, 18, 265, 3420, 12, 27493, 16, 819, 18, 588, 4820, 1042, 12, 262, 11272, 202, 202, 97, 1044, 261, 1185, 425, 262, 202, 202, 95, 1082, 202, 1330, 18, 1330, 12, 4557, 18, 9511, 16, 425, 18, 24906, 12, 262, 16, 425, 11272, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 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, 261, 8706, 1180, 15478, 262, 913, 6862, 202, 18, 588, 4625, 858, 12, 11272, 1082, 202, 734, 396, 1180, 1442, 27493, 273, 394, 1910, 1180, 1442, 12, 913, 16, 819, 11272, 1082, 202, 430, 261, 1640, 6479, 12, 27493, 16, 27493, 15478, 18, 588, 1398, 3420, 12, 262, 16, 819, 262, 6862, 202, 18, 14044, 1997, 12, 262, 262, 9506, 202, 2463, 31, 1082, 202, 734, 396, 1180, 16402, 20124, 273, 261, 467, 29903, 16402, 262, 3694, 12, 261, 1910, 1180, 3259, 262, 27493, 2 ]
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, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 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, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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) throws JobPersistenceException { return Boolean.valueOf(removeTrigger(conn, ctxt, triggerName, groupName)); } })).booleanValue(); }
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, 12, 5411, 14631, 67, 6566, 27399, 67, 13204, 16, 5411, 394, 5947, 2428, 1435, 288, 7734, 1071, 1033, 1836, 12, 1952, 1487, 13, 1216, 3956, 13182, 503, 288, 10792, 327, 3411, 18, 1132, 951, 12, 4479, 6518, 12, 4646, 16, 14286, 16, 3080, 461, 16, 11619, 10019, 7734, 289, 5411, 289, 13, 2934, 6494, 620, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 12, 5411, 14631, 67, 6566, 27399, 67, 13204, 16, 5411, 394, 5947, 2428, 1435, 288, 7734, 1071, 1033, 1836, 12, 1952, 1487, 13, 1216, 3956, 13182, 503, 288, 10792, 327, 3411, 18, 1132, 951, 12, 4479, 6518, 12, 4646, 16, 14286, 16, 3080, 461, 16, 11619, 10019, 7734, 289, 5411, 289, 13, 2934, 6494, 620, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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 connection to source"); return; } // Source will send us a DataInsert MessageFilter mf; mf = MessageFilter.create().setType(DMT.FNPDataInsert).setField(DMT.UID, uid).setSource(source).setTimeout(DATA_INSERT_TIMEOUT); Message msg; try { msg = node.usm.waitFor(mf, this); } catch (DisconnectedException e) { Logger.normal(this, "Disconnected while waiting for DataInsert on "+uid); return; } Logger.minor(this, "Received "+msg); if(msg == null) { try { if(source.isConnected() && (startTime > (source.timeLastConnected()+Node.HANDSHAKE_TIMEOUT*4))) Logger.error(this, "Did not receive DataInsert on "+uid+" from "+source+" !"); Message tooSlow = DMT.createFNPRejectedTimeout(uid); source.sendAsync(tooSlow, null, 0, this); Message m = DMT.createFNPInsertTransfersCompleted(uid, true); source.sendAsync(m, null, 0, this); prb = new PartiallyReceivedBlock(Node.PACKETS_IN_BLOCK, Node.PACKET_SIZE); br = new BlockReceiver(node.usm, source, uid, prb, this); prb.abort(RetrievalException.NO_DATAINSERT, "No DataInsert"); br.sendAborted(RetrievalException.NO_DATAINSERT, "No DataInsert"); return; } catch (NotConnectedException e) { Logger.minor(this, "Lost connection to source"); return; } } // We have a DataInsert headers = ((ShortBuffer)msg.getObject(DMT.BLOCK_HEADERS)).getData(); // FIXME check the headers // Now create an CHKInsertSender, or use an existing one, or // discover that the data is in the store. // From this point onwards, if we return cleanly we must go through finish(). prb = new PartiallyReceivedBlock(Node.PACKETS_IN_BLOCK, Node.PACKET_SIZE); if(htl > 0) sender = node.makeInsertSender(key, htl, uid, source, headers, prb, false, closestLoc, true); br = new BlockReceiver(node.usm, source, uid, prb, this); // Receive the data, off thread Runnable dataReceiver = new DataReceiver(); Thread t = new Thread(dataReceiver, "InsertHandler$DataReceiver for UID "+uid); t.setDaemon(true); t.start(); if(htl == 0) { canCommit = true; msg = DMT.createFNPInsertReply(uid); sentSuccess = true; try { source.send(msg, this); } catch (NotConnectedException e) { // Ignore } finish(CHKInsertSender.SUCCESS); return; } // Wait... // What do we want to wait for? // If the data receive completes, that's very nice, // but doesn't really matter. What matters is what // happens to the CHKInsertSender. If the data receive // fails, that does matter... // We are waiting for a terminal status on the CHKInsertSender, // including REPLIED_WITH_DATA. // If we get transfer failed, we can check whether the receive // failed first. If it did it's not our fault. // If the receive failed, and we haven't started transferring // yet, we probably want to kill the sender. // So we call the wait method on the CHKInsertSender, but we // also have a flag locally to indicate the receive failed. // And if it does, we interrupt. boolean receivedRejectedOverload = false; while(true) { synchronized(sender) { try { if(sender.getStatus() == CHKInsertSender.NOT_FINISHED) sender.wait(5000); } catch (InterruptedException e) { // Cool, probably this is because the receive failed... } } if(receiveFailed) { // Cancel the sender sender.receiveFailed(); // tell it to stop if it hasn't already failed... unless it's sending from store // Nothing else we can do finish(CHKInsertSender.RECEIVE_FAILED); return; } if((!receivedRejectedOverload) && sender.receivedRejectedOverload()) { receivedRejectedOverload = true; // Forward it Message m = DMT.createFNPRejectedOverload(uid, false); try { source.send(m, this); } catch (NotConnectedException e) { Logger.minor(this, "Lost connection to source"); return; } } int status = sender.getStatus(); if(status == CHKInsertSender.NOT_FINISHED) { continue; }// // FIXME obviously! For debugging load issues.// if(node.myName.equalsIgnoreCase("Toad #1") &&// node.random.nextBoolean()) {// // Maliciously timeout// Logger.error(this, "Maliciously timing out: was "+sender.getStatusString());// sentSuccess = true;// return;// } // Local RejectedOverload's (fatal). // Internal error counts as overload. It'd only create a timeout otherwise, which is the same thing anyway. // We *really* need a good way to deal with nodes that constantly R_O! if((status == CHKInsertSender.TIMED_OUT) || (status == CHKInsertSender.GENERATED_REJECTED_OVERLOAD) || (status == CHKInsertSender.INTERNAL_ERROR)) { msg = DMT.createFNPRejectedOverload(uid, true); try { source.send(msg, this); } catch (NotConnectedException e) { Logger.minor(this, "Lost connection to source"); return; } // Might as well store it anyway. if((status == CHKInsertSender.TIMED_OUT) || (status == CHKInsertSender.GENERATED_REJECTED_OVERLOAD)) canCommit = true; finish(status); return; } if((status == CHKInsertSender.ROUTE_NOT_FOUND) || (status == CHKInsertSender.ROUTE_REALLY_NOT_FOUND)) { msg = DMT.createFNPRouteNotFound(uid, sender.getHTL()); try { source.send(msg, this); } catch (NotConnectedException e) { Logger.minor(this, "Lost connection to source"); return; } canCommit = true; finish(status); return; } if(status == CHKInsertSender.SUCCESS) { msg = DMT.createFNPInsertReply(uid); sentSuccess = true; try { source.send(msg, this); } catch (NotConnectedException e) { Logger.minor(this, "Lost connection to source"); return; } canCommit = true; finish(status); return; } // Otherwise...? Logger.error(this, "Unknown status code: "+sender.getStatusString()); msg = DMT.createFNPRejectedOverload(uid, true); try { source.send(msg, this); } catch (NotConnectedException e) { // Ignore } finish(CHKInsertSender.INTERNAL_ERROR); return; } }
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, 273, 463, 6152, 18, 2640, 19793, 4066, 4474, 329, 12, 1911, 1769, 3639, 775, 288, 1082, 202, 3168, 18, 4661, 12, 23847, 16, 333, 1769, 202, 202, 97, 1044, 261, 1248, 8932, 503, 425, 21, 13, 288, 1082, 202, 3328, 18, 17364, 12, 2211, 16, 315, 19024, 1459, 358, 1084, 8863, 1082, 202, 2463, 31, 202, 202, 97, 7734, 368, 4998, 903, 1366, 584, 279, 1910, 4600, 7734, 2350, 1586, 14749, 31, 3639, 14749, 273, 2350, 1586, 18, 2640, 7675, 542, 559, 12, 40, 6152, 18, 19793, 52, 751, 4600, 2934, 542, 974, 12, 40, 6152, 18, 3060, 16, 4555, 2934, 542, 1830, 12, 3168, 2934, 542, 2694, 12, 4883, 67, 11356, 67, 9503, 1769, 7734, 2350, 1234, 31, 3639, 775, 288, 5411, 1234, 273, 756, 18, 407, 81, 18, 7048, 1290, 12, 16126, 16, 333, 1769, 3639, 289, 1044, 261, 26303, 503, 425, 13, 288, 5411, 4242, 18, 6130, 12, 2211, 16, 315, 26303, 1323, 7336, 364, 1910, 4600, 603, 13773, 1911, 1769, 5411, 327, 31, 3639, 289, 7734, 4242, 18, 17364, 12, 2211, 16, 315, 8872, 13773, 3576, 1769, 7734, 309, 12, 3576, 422, 446, 13, 288, 540, 202, 698, 288, 540, 202, 202, 430, 12, 3168, 18, 291, 8932, 1435, 597, 261, 1937, 950, 405, 261, 3168, 18, 957, 3024, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 273, 463, 6152, 18, 2640, 19793, 4066, 4474, 329, 12, 1911, 1769, 3639, 775, 288, 1082, 202, 3168, 18, 4661, 12, 23847, 16, 333, 1769, 202, 202, 97, 1044, 261, 1248, 8932, 503, 425, 21, 13, 288, 1082, 202, 3328, 18, 17364, 12, 2211, 16, 315, 19024, 1459, 358, 1084, 8863, 1082, 202, 2463, 31, 202, 202, 97, 7734, 368, 4998, 903, 1366, 584, 279, 1910, 4600, 7734, 2350, 1586, 14749, 31, 3639, 14749, 273, 2350, 1586, 18, 2640, 7675, 542, 559, 12, 40, 6152, 2 ]
{ 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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 // data after parsing // The assumption here is that the top // level resource is always a table in ICU ICUResourceWriter.Resource res = parseBundle(doc); if(res!=null && ((ICUResourceWriter.ResourceTable)res).first!=null){ // write out the bundle writeResource(res, xmlfileName); } // writeAliasedResource(); } catch (Throwable se) { System.err.println(xmlfileName + ": ERROR: (parsing and writing) " + se.toString()); se.printStackTrace(); System.exit(1); } }
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, 11864, 18, 2670, 12, 2902, 17812, 16, 629, 1769, 2398, 368, 1788, 326, 2591, 8459, 666, 1492, 903, 6887, 326, 2398, 368, 501, 1839, 5811, 2398, 368, 1021, 24743, 2674, 353, 716, 326, 1760, 2398, 368, 1801, 1058, 353, 3712, 279, 1014, 316, 28009, 2398, 28009, 1420, 2289, 18, 1420, 400, 273, 1109, 3405, 12, 2434, 1769, 2398, 309, 12, 455, 5, 33, 2011, 597, 14015, 2871, 57, 1420, 2289, 18, 1420, 1388, 13, 455, 2934, 3645, 5, 33, 2011, 15329, 1171, 368, 1045, 596, 326, 3440, 1171, 1045, 1420, 12, 455, 16, 2025, 17812, 1769, 2398, 289, 13491, 368, 225, 1045, 37, 29809, 1420, 5621, 1850, 289, 540, 1044, 261, 15155, 695, 13, 288, 2398, 2332, 18, 370, 18, 8222, 12, 2902, 17812, 397, 6398, 5475, 30, 261, 24979, 471, 7410, 13, 315, 397, 695, 18, 10492, 10663, 2398, 695, 18, 1188, 6332, 5621, 2398, 2332, 18, 8593, 12, 21, 1769, 540, 289, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 11864, 18, 2670, 12, 2902, 17812, 16, 629, 1769, 2398, 368, 1788, 326, 2591, 8459, 666, 1492, 903, 6887, 326, 2398, 368, 501, 1839, 5811, 2398, 368, 1021, 24743, 2674, 353, 716, 326, 1760, 2398, 368, 1801, 1058, 353, 3712, 279, 1014, 316, 28009, 2398, 28009, 1420, 2289, 18, 1420, 400, 273, 1109, 3405, 12, 2434, 1769, 2398, 309, 12, 455, 5, 33, 2011, 597, 14015, 2871, 57, 1420, 2289, 18, 1420, 1388, 13, 455, 2934, 3645, 5, 33, 2011, 15329, 1171, 368, 1045, 596, 2 ]
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 :-) // ex. references, dbxrefs if (!isBioentryPropertySupported()) { if (silent) { return; } else { throw new SQLException("Can't persist this property since the bioentry_property table isn't available"); } } if (removeFirst) { int id = intern_ontology_term(conn, keyString); PreparedStatement remove_old_value = conn.prepareStatement("delete from bioentry_qualifier_value " + " where bioentry_id = ? and term_id = ?"); remove_old_value.setInt(1, bioentry_id); remove_old_value.setInt(2, id); remove_old_value.executeUpdate(); remove_old_value.close(); } if (value != null) { PreparedStatement insert_new; if (isSPASupported()) { insert_new = conn.prepareStatement("insert into bioentry_qualifier_value " + " (bioentry_id, term_id, value, rank) " + "values (?, intern_ontology_term( ? ), ?, ?)"); if (value instanceof Collection) { int cnt = 0; for (Iterator i = ((Collection) value).iterator(); i.hasNext(); ) { insert_new.setInt(1, bioentry_id); insert_new.setString(2, keyString); insert_new.setInt(4, ++cnt); insert_new.setString(3, i.next().toString()); insert_new.executeUpdate(); } } else { insert_new.setInt(1, bioentry_id); insert_new.setString(2, keyString); insert_new.setInt(3, 1); insert_new.setString(3, value.toString()); insert_new.executeUpdate(); } } else { insert_new = conn.prepareStatement("insert into bioentry_qualifier_value " + " (bioentry_id, term_id, rank, value) " + "values (?, ?, ?, ?)"); int termID = intern_ontology_term(conn, keyString); if (value instanceof Collection) { int cnt = 0; for (Iterator i = ((Collection) value).iterator(); i.hasNext(); ) { insert_new.setInt(1, bioentry_id); insert_new.setInt(2, termID); insert_new.setInt(3, ++cnt); insert_new.setString(4, i.next().toString()); insert_new.executeUpdate(); } } else { insert_new.setInt(1, bioentry_id); insert_new.setInt(2, termID); insert_new.setInt(3, 1); insert_new.setString(4, value.toString()); insert_new.executeUpdate(); } } insert_new.close(); } }
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, 3639, 1216, 6483, 565, 288, 202, 780, 498, 780, 273, 498, 18, 10492, 5621, 202, 759, 531, 9540, 358, 866, 364, 4582, 17, 3593, 1311, 18, 261, 280, 2537, 2529, 296, 1025, 326, 4582, 648, 202, 759, 4606, 336, 9244, 79, 329, 294, 17, 13, 202, 759, 431, 18, 5351, 16, 1319, 92, 9316, 202, 430, 16051, 291, 38, 1594, 4099, 1396, 7223, 10756, 288, 202, 565, 309, 261, 21862, 13, 288, 202, 202, 2463, 31, 202, 565, 289, 469, 288, 202, 202, 12849, 394, 6483, 2932, 2568, 1404, 3898, 333, 1272, 3241, 326, 25091, 4099, 67, 4468, 1014, 5177, 1404, 2319, 8863, 202, 565, 289, 202, 97, 202, 430, 261, 4479, 3759, 13, 288, 202, 565, 509, 612, 273, 8216, 67, 1580, 4676, 67, 6408, 12, 4646, 16, 498, 780, 1769, 202, 565, 16913, 1206, 67, 1673, 67, 1132, 273, 1487, 18, 9366, 3406, 2932, 3733, 628, 25091, 4099, 67, 28157, 67, 1132, 315, 397, 6862, 6862, 4202, 315, 1625, 25091, 4099, 67, 350, 273, 692, 471, 2481, 67, 350, 273, 692, 8863, 202, 565, 1206, 67, 1673, 67, 1132, 18, 542, 1702, 12, 21, 16, 25091, 4099, 67, 350, 1769, 202, 565, 1206, 67, 1673, 67, 1132, 18, 542, 1702, 12, 22, 16, 612, 1769, 202, 565, 1206, 67, 1673, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3639, 1216, 6483, 565, 288, 202, 780, 498, 780, 273, 498, 18, 10492, 5621, 202, 759, 531, 9540, 358, 866, 364, 4582, 17, 3593, 1311, 18, 261, 280, 2537, 2529, 296, 1025, 326, 4582, 648, 202, 759, 4606, 336, 9244, 79, 329, 294, 17, 13, 202, 759, 431, 18, 5351, 16, 1319, 92, 9316, 202, 430, 16051, 291, 38, 1594, 4099, 1396, 7223, 10756, 288, 202, 565, 309, 261, 21862, 13, 288, 202, 202, 2463, 31, 202, 565, 289, 469, 288, 202, 202, 12849, 2 ]
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, 7675, 2469, 405, 374, 13, 288, 1082, 202, 8109, 2471, 4466, 273, 2151, 18, 588, 6233, 1488, 7675, 588, 6233, 4466, 5621, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 7675, 2469, 405, 374, 13, 288, 1082, 202, 8109, 2471, 4466, 273, 2151, 18, 588, 6233, 1488, 7675, 588, 6233, 4466, 5621, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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( "servlet.version", digilib.servlet.Scaler.dlVersion, null, 's'); // configuration file location putParameter("servlet.config.file", null, null, 's'); // DocuDirCache instance putParameter("servlet.dir.cache", null, null, 's'); // DocuImage class instance putParameter( "servlet.docuimage.class", digilib.image.JAIDocuImage.class, null, 's'); // AuthOps instance for authentication putParameter("servlet.auth.op", null, null, 's'); /* * parameters that can be read from config file have a type 'f' */ // image file to send in case of error putParameter( "error-image", "/docuserver/images/icons/scalerror.gif", null, 'f'); // image file to send if access is denied putParameter( "denied-image", "/docuserver/images/icons/denied.gif", null, 'f'); // base directories in order of preference (prescaled versions last) String[] bd = { "/docuserver/images", "/docuserver/scaled/small" }; putParameter("basedir-list", bd, null, 'f'); // use authentication information putParameter("use-authorization", Boolean.FALSE, null, 'f'); // authentication configuration file putParameter("auth-file", "digilib-auth.xml", null, 'f'); // sending image files as-is allowed putParameter("sendfile-allowed", Boolean.TRUE, null, 'f'); // Debug level putParameter("debug-level", new Integer(5), null, 'f'); // Type of DocuImage instance putParameter( "docuimage-class", "digilib.image.JAIDocuImage", null, 'f'); // part of URL used to indicate authorized access putParameter("auth-url-path", "authenticated/", null, 'f'); // degree of subsampling on image load putParameter("subsample-minimum", new Float(2f), null, 'f'); // default scaling quality putParameter("default-quality", new Integer(1), null, 'f'); // use mapping file to translate paths putParameter("use-mapping", Boolean.FALSE, null, 'f'); // mapping file location putParameter("mapping-file", "digilib-map.xml", null, 'f'); // log4j config file location putParameter("log-config-file", "log4j-config.xml", null, 'f'); }
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, 17182, 18, 14895, 5621, 9506, 202, 20308, 1082, 380, 10849, 434, 1472, 471, 805, 924, 18, 2332, 1472, 716, 1082, 380, 854, 486, 855, 628, 642, 585, 1240, 279, 618, 296, 87, 10332, 1082, 1195, 202, 202, 759, 3097, 330, 495, 8100, 1177, 202, 202, 458, 1662, 12, 1082, 202, 6, 23231, 18, 1589, 3113, 1082, 202, 5606, 330, 495, 18, 23231, 18, 55, 13501, 18, 5761, 1444, 16, 1082, 202, 2011, 16, 1082, 202, 1807, 8284, 202, 202, 759, 1664, 585, 2117, 202, 202, 458, 1662, 2932, 23231, 18, 1425, 18, 768, 3113, 446, 16, 446, 16, 296, 87, 8284, 202, 202, 759, 3521, 89, 1621, 1649, 791, 202, 202, 458, 1662, 2932, 23231, 18, 1214, 18, 2493, 3113, 446, 16, 446, 16, 296, 87, 8284, 202, 202, 759, 3521, 89, 2040, 667, 791, 202, 202, 458, 1662, 12, 1082, 202, 6, 23231, 18, 2434, 89, 2730, 18, 1106, 3113, 1082, 202, 5606, 330, 495, 18, 2730, 18, 46, 37, 734, 504, 89, 2040, 18, 1106, 16, 1082, 202, 2011, 16, 1082, 202, 1807, 8284, 202, 202, 759, 3123, 8132, 791, 364, 5107, 202, 202, 458, 1662, 2932, 23231, 18, 1944, 18, 556, 3113, 446, 16, 446, 16, 296, 87, 8284, 202, 202, 20308, 1082, 380, 1472, 716, 848, 506, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17182, 18, 14895, 5621, 9506, 202, 20308, 1082, 380, 10849, 434, 1472, 471, 805, 924, 18, 2332, 1472, 716, 1082, 380, 854, 486, 855, 628, 642, 585, 1240, 279, 618, 296, 87, 10332, 1082, 1195, 202, 202, 759, 3097, 330, 495, 8100, 1177, 202, 202, 458, 1662, 12, 1082, 202, 6, 23231, 18, 1589, 3113, 1082, 202, 5606, 330, 495, 18, 23231, 18, 55, 13501, 18, 5761, 1444, 16, 1082, 202, 2011, 16, 1082, 202, 1807, 8284, 202, 202, 759, 1664, 585, 2117, 2 ]
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 ) { return( "table too large" ); } if( (errorCode >= GLU.GLU.GLU_INVALID_ENUM) && (errorCode <= GLU.GLU.GLU_INVALID_OPERATION) ) { return( gluErrorStrings[ errorCode - GLU.GLU.GLU_INVALID_ENUM ] ); } if( (errorCode >= GLU.GLU.GLU_NURBS_ERROR1) && (errorCode <= GLU.GLU.GLU_NURBS_ERROR37) ) { return( gluErrorStrings[ errorCode - (GLU.GLU.GLU_NURBS_ERROR1 - 1) ] ); } if( (errorCode >= GLU.GLU.GLU_TESS_ERROR1) && (errorCode <= GLU.GLU.GLU_TESS_ERROR8) ) { return( gluErrorStrings[ errorCode - (GLU.GLU.GLU_TESS_ERROR1 - 1) ] ); } return( null ); }
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, 1545, 10252, 18, 11261, 67, 9347, 67, 16509, 13, 597, 261, 27754, 1648, 10252, 18, 11261, 67, 5069, 67, 3932, 67, 24329, 13, 262, 288, 1377, 327, 12, 5118, 668, 7957, 63, 12079, 300, 10252, 18, 11261, 67, 9347, 67, 16509, 308, 11272, 565, 289, 565, 309, 12, 12079, 422, 10252, 18, 11261, 67, 7775, 67, 4296, 51, 67, 48, 28847, 262, 288, 1377, 327, 12, 315, 2121, 4885, 7876, 6, 11272, 565, 289, 565, 309, 12, 261, 27754, 1545, 10252, 57, 18, 11261, 57, 18, 11261, 57, 67, 9347, 67, 16509, 13, 597, 261, 27754, 1648, 10252, 57, 18, 11261, 57, 18, 11261, 57, 67, 9347, 67, 22040, 13, 262, 288, 1377, 327, 12, 5118, 89, 668, 7957, 63, 12079, 300, 10252, 57, 18, 11261, 57, 18, 11261, 57, 67, 9347, 67, 16509, 308, 11272, 565, 289, 565, 309, 12, 261, 27754, 1545, 10252, 57, 18, 11261, 57, 18, 11261, 57, 67, 50, 1099, 12692, 67, 3589, 21, 13, 597, 261, 27754, 1648, 10252, 57, 18, 11261, 57, 18, 11261, 57, 67, 50, 1099, 12692, 67, 3589, 6418, 13, 262, 288, 1377, 327, 12, 5118, 89, 668, 7957, 63, 12079, 300, 261, 11261, 57, 18, 11261, 57, 18, 11261, 57, 67, 50, 1099, 12692, 67, 3589, 21, 300, 404, 13, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1545, 10252, 18, 11261, 67, 9347, 67, 16509, 13, 597, 261, 27754, 1648, 10252, 18, 11261, 67, 5069, 67, 3932, 67, 24329, 13, 262, 288, 1377, 327, 12, 5118, 668, 7957, 63, 12079, 300, 10252, 18, 11261, 67, 9347, 67, 16509, 308, 11272, 565, 289, 565, 309, 12, 12079, 422, 10252, 18, 11261, 67, 7775, 67, 4296, 51, 67, 48, 28847, 262, 288, 1377, 327, 12, 315, 2121, 4885, 7876, 6, 11272, 565, 289, 565, 309, 12, 261, 27754, 1545, 10252, 57, 18, 2 ]
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.equals("2D") || sDimension.equals(ChartDimension.TWO_DIMENSIONAL_LITERAL.getName())) { img2D = UIHelper.getImage("images/piechartimage.gif"); vSubTypes.add(new DefaultChartSubTypeImpl("Standard Pie Chart", img2D, sStandardDescription)); } else if (sDimension.equals("2D With Depth") || sDimension.equals(ChartDimension.TWO_DIMENSIONAL_WITH_DEPTH_LITERAL.getName())) { img2DWithDepth = UIHelper.getImage("images/piechartwithdepthimage.gif"); vSubTypes.add(new DefaultChartSubTypeImpl("Standard Pie Chart", img2DWithDepth, sStandardDescription)); } return vSubTypes; }
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, 5917, 7891, 1012, 3639, 309, 16051, 19235, 18, 14963, 12, 14097, 18, 21654, 10109, 67, 23225, 3719, 3639, 288, 5411, 327, 331, 1676, 2016, 31, 3639, 289, 3639, 309, 261, 87, 8611, 18, 14963, 2932, 22, 40, 7923, 747, 272, 8611, 18, 14963, 12, 7984, 8611, 18, 18869, 51, 67, 2565, 958, 3156, 1146, 1013, 67, 23225, 18, 17994, 1435, 3719, 3639, 288, 5411, 3774, 22, 40, 273, 6484, 2276, 18, 588, 2040, 2932, 7369, 19, 84, 1385, 11563, 2730, 18, 13905, 8863, 5411, 331, 1676, 2016, 18, 1289, 12, 2704, 2989, 7984, 30511, 2828, 2932, 8336, 453, 1385, 14804, 3113, 3774, 22, 40, 16, 272, 8336, 3291, 10019, 3639, 289, 3639, 469, 309, 261, 87, 8611, 18, 14963, 2932, 22, 40, 3423, 25210, 7923, 5411, 747, 272, 8611, 18, 14963, 12, 7984, 8611, 18, 18869, 51, 67, 2565, 958, 3156, 1146, 1013, 67, 9147, 67, 27479, 67, 23225, 18, 17994, 1435, 3719, 3639, 288, 5411, 3774, 22, 40, 1190, 6148, 273, 6484, 2276, 18, 588, 2040, 2932, 7369, 19, 84, 1385, 11563, 1918, 5979, 2730, 18, 13905, 8863, 5411, 331, 1676, 2016, 18, 1289, 12, 2704, 2989, 7984, 30511, 2828, 2932, 8336, 453, 1385, 14804, 3113, 3774, 22, 40, 1190, 6148, 16, 272, 8336, 3291, 10019, 3639, 289, 3639, 327, 331, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5917, 7891, 1012, 3639, 309, 16051, 19235, 18, 14963, 12, 14097, 18, 21654, 10109, 67, 23225, 3719, 3639, 288, 5411, 327, 331, 1676, 2016, 31, 3639, 289, 3639, 309, 261, 87, 8611, 18, 14963, 2932, 22, 40, 7923, 747, 272, 8611, 18, 14963, 12, 7984, 8611, 18, 18869, 51, 67, 2565, 958, 3156, 1146, 1013, 67, 23225, 18, 17994, 1435, 3719, 3639, 288, 5411, 3774, 22, 40, 273, 6484, 2276, 18, 588, 2040, 2932, 7369, 19, 84, 1385, 11563, 2730, 18, 13905, 8863, 5411, 2 ]
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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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, 896, 5268, 6495, 3944, 12, 1969, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 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, 896, 5268, 6495, 3944, 12, 1969, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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 = 19; jjCheckNAdd(23); break; case 23: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAddStates(21, 23); break; case 24: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(24, 25); break; case 26: if ((0x47fffffe87ffffffL & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAddStates(24, 26); break; case 27: if ((0x47fffffe87ffffffL & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAdd(27); break; case 28: if ((0x47fffffe87ffffffL & l) != 0L) jjCheckNAddTwoStates(28, 29); break; case 30: jjAddStates(37, 38); break; case 32: if ((0x7fffffe07fffffeL & l) == 0L)
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 << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 10: case 9: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 15) kind = 15; jjCheckNAdd(9); break; case 7: if ((0xfc00ffffffffffffL & l) != 0L) { if (kind > 32) kind = 32; } else if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(0, 3); if ((0x3ff000000000000L & l) != 0L) { if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); } else if ((0x100000200L & l) != 0L) { if (kind > 27) kind = 27; } else if (curChar == 13) jjAddStates(9, 10); else if (curChar == 10) { if (kind > 25) kind = 25; jjCheckNAddTwoStates(42, 44); } if (curChar == 32) jjstateSet[jjnewStateCnt++] = 14; break; case 49: case 1: jjCheckNAddStates(11, 13); break; case 48: jjCheckNAddStates(11, 13); break; case 3: jjCheckNAddStates(14, 16); break; case 6: jjCheckNAddStates(17, 20); break; case 11: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 16) kind = 16; jjstateSet[jjnewStateCnt++] = 11; break; case 13: if (curChar == 32) jjstateSet[jjnewStateCnt++] = 14; break; case 14: if (curChar == 32 && kind > 26) kind = 26; break; case 15: if ((0x100000200L & l) != 0L && kind > 27) kind = 27; break; case 16: if ((0xfc00ffffffffffffL & l) != 0L && kind > 32) kind = 32; break; case 17: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); break; case 18: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(18, 19); break; case 20: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(20, 21); break; case 21: if (curChar == 46) jjstateSet[jjnewStateCnt++] = 22; break; case 22: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAdd(23); break; case 23: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAddStates(21, 23); break; case 24: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(24, 25); break; case 25: if (curChar == 58) jjstateSet[jjnewStateCnt++] = 26; break; case 26: if ((0xa7ffe06000000000L & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAddStates(24, 26); break; case 27: if ((0xa7ffe06000000000L & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAdd(27); break; case 28: if ((0xa7ffe06000000000L & l) != 0L) jjCheckNAddTwoStates(28, 29); break; case 29: if (curChar == 40) jjCheckNAdd(30); break; case 30: if ((0xfffffdffffffdbffL & l) != 0L) jjCheckNAddTwoStates(30, 31); break; case 31: if (curChar == 41 && kind > 20) kind = 20; break; case 32: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAdd(32); break; case 33: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(0, 3); break; case 34: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(34, 35); break; case 35: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddTwoStates(35, 36); break; case 36: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddStates(27, 29); break; case 37: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(37, 38); break; case 38: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(30, 32); break; case 40: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(33, 36); break; case 41: if (curChar != 10) break; if (kind > 25) kind = 25; jjCheckNAddTwoStates(42, 44); break; case 42: case 43: if (curChar == 10 && kind > 24) kind = 24; break; case 44: if (curChar == 13) jjstateSet[jjnewStateCnt++] = 43; break; case 45: if (curChar == 13) jjAddStates(9, 10); break; case 46: if (curChar == 10) jjCheckNAddTwoStates(42, 44); break; case 47: if (curChar == 10 && kind > 25) kind = 25; break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 10: if ((0x7fffffe07fffffeL & l) != 0L) { if (kind > 15) kind = 15; jjCheckNAdd(9); } else if (curChar == 64) { if (kind > 16) kind = 16; jjCheckNAdd(11); } break; case 7: if ((0x7fffffe07fffffeL & l) != 0L) { if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); } else if ((0xf8000001f8000001L & l) != 0L) { if (kind > 32) kind = 32; } if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(0, 3); else if (curChar == 94) jjstateSet[jjnewStateCnt++] = 10; else if (curChar == 91) jjstateSet[jjnewStateCnt++] = 0; if (curChar == 94) jjCheckNAdd(9); break; case 49: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(11, 13); else if (curChar == 93) jjstateSet[jjnewStateCnt++] = 4; if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 48: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(11, 13); else if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 0: if (curChar == 91) jjCheckNAddTwoStates(1, 2); break; case 1: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(11, 13); break; case 2: if (curChar == 93) jjstateSet[jjnewStateCnt++] = 3; break; case 3: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(14, 16); break; case 4: if (curChar == 93 && kind > 9) kind = 9; break; case 5: if (curChar == 93) jjstateSet[jjnewStateCnt++] = 4; break; case 6: if ((0xffffffffdfffffffL & l) != 0L) jjCheckNAddStates(17, 20); break; case 8: if (curChar == 94) jjCheckNAdd(9); break; case 9: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 15) kind = 15; jjCheckNAdd(9); break; case 11: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 16) kind = 16; jjCheckNAdd(11); break; case 12: if (curChar == 94) jjstateSet[jjnewStateCnt++] = 10; break; case 16: if ((0xf8000001f8000001L & l) != 0L && kind > 32) kind = 32; break; case 17: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 23) kind = 23; 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 = 19; jjCheckNAdd(23); break; case 23: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 19) kind = 19; jjCheckNAddStates(21, 23); break; case 24: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddTwoStates(24, 25); break; case 26: if ((0x47fffffe87ffffffL & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAddStates(24, 26); break; case 27: if ((0x47fffffe87ffffffL & l) == 0L) break; if (kind > 20) kind = 20; jjCheckNAdd(27); break; case 28: if ((0x47fffffe87ffffffL & l) != 0L) jjCheckNAddTwoStates(28, 29); break; case 30: jjAddStates(37, 38); break; case 32: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAdd(32); break; case 33: if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(0, 3); break; case 34: if ((0x7fffffeL & l) != 0L) jjCheckNAddTwoStates(34, 35); break; case 35: if ((0x7fffffe00000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddTwoStates(35, 36); break; case 36: if ((0x7fffffeL & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddStates(27, 29); break; case 37: if ((0x7fffffeL & l) != 0L) jjCheckNAddTwoStates(37, 38); break; case 38: if ((0x7fffffe00000000L & l) != 0L) jjCheckNAddStates(30, 32); break; case 39: if (curChar == 96 && kind > 22) kind = 22; break; case 40: if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(33, 36); break; default : break; } } while(i != startsAt); } else { int hiByte = (int)(curChar >> 8); int i1 = hiByte >> 6; long l1 = 1L << (hiByte & 077); int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 7: if (jjCanMove_0(hiByte, i1, i2, l1, l2) && kind > 32) kind = 32; break; case 49: case 1: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(11, 13); break; case 48: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(11, 13); break; case 3: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(14, 16); break; case 6: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(17, 20); break; case 30: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjAddStates(37, 38); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 48 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } }}
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, 273, 9934, 31, 282, 509, 277, 273, 404, 31, 282, 10684, 2019, 694, 63, 20, 65, 273, 787, 1119, 31, 282, 509, 525, 16, 3846, 273, 374, 92, 27, 18217, 74, 31, 282, 364, 261, 25708, 13, 282, 288, 1377, 309, 261, 9904, 78, 78, 2260, 422, 374, 92, 27, 18217, 74, 13, 540, 868, 2570, 54, 9284, 5621, 1377, 309, 261, 1397, 2156, 411, 5178, 13, 1377, 288, 540, 1525, 328, 273, 404, 48, 2296, 662, 2156, 31, 540, 4639, 6452, 30, 741, 540, 288, 5411, 1620, 12, 78, 78, 2019, 694, 63, 413, 77, 5717, 5411, 288, 9079, 648, 1728, 30, 9079, 648, 2468, 30, 5375, 309, 14015, 20, 92, 23, 1403, 12648, 2787, 48, 473, 328, 13, 422, 374, 48, 13, 5397, 898, 31, 5375, 309, 261, 9224, 405, 4711, 13, 5397, 3846, 273, 4711, 31, 5375, 10684, 1564, 50, 986, 12, 29, 1769, 5375, 898, 31, 9079, 648, 2371, 30, 5375, 309, 14015, 20, 30772, 713, 9460, 9460, 9460, 48, 473, 328, 13, 480, 374, 48, 13, 5375, 288, 5397, 309, 261, 9224, 405, 3847, 13, 13491, 3846, 273, 3847, 31, 5375, 289, 5375, 469, 309, 14015, 20, 92, 23, 1403, 12648, 2787, 48, 473, 328, 13, 480, 374, 48, 13, 5397, 10684, 1564, 50, 986, 7629, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 273, 9934, 31, 282, 509, 277, 273, 404, 31, 282, 10684, 2019, 694, 63, 20, 65, 273, 787, 1119, 31, 282, 509, 525, 16, 3846, 273, 374, 92, 27, 18217, 74, 31, 282, 364, 261, 25708, 13, 282, 288, 1377, 309, 261, 9904, 78, 78, 2260, 422, 374, 92, 27, 18217, 74, 13, 540, 868, 2570, 54, 9284, 5621, 1377, 309, 261, 1397, 2156, 411, 5178, 13, 1377, 288, 540, 1525, 328, 273, 404, 48, 2296, 662, 2156, 31, 540, 4639, 6452, 30, 2 ]
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(); ObjToIntMap fNames = null; Node node; while ((node = iterator.nextNode()) != null) { int nodeType = node.getType(); if (inFunction && nodeType == TokenStream.FUNCTION && node != tree && ((FunctionNode) node.getProp(Node.FUNCTION_PROP)).getFunctionType() == FunctionNode.FUNCTION_EXPRESSION_STATEMENT) { // In a function with both "var x" and "function x", // disregard the var statement, independent of order. String name = node.getString(); if (name == null) continue; vars.removeLocal(name); if (fNames == null) fNames = new ObjToIntMap(); fNames.put(name, 0); } if (nodeType != TokenStream.VAR) continue; for (Node cursor = node.getFirstChild(); cursor != null; cursor = cursor.getNextSibling()) { String name = cursor.getString(); if (fNames == null || !fNames.has(name)) vars.addLocal(name); } } String name = tree.getString(); if (inFunction && ((FunctionNode) tree).getFunctionType() == FunctionNode.FUNCTION_EXPRESSION && name != null && name.length() > 0 && vars.hasVariable(name)) { // A function expression needs to have its name as a variable // (if it isn't already allocated as a variable). See // ECMA Ch. 13. We add code to the beginning of the function // to initialize a local variable of the function's name // to the function value. vars.addLocal(name); Node block = tree.getLastChild(); Node setFn = new Node(TokenStream.POP, new Node(TokenStream.SETVAR, new Node(TokenStream.STRING, name), new Node(TokenStream.PRIMARY, TokenStream.THISFN))); block.addChildrenToFront(setFn); } }
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, 6317, 1338, 18, 3639, 1250, 316, 2083, 273, 2151, 18, 588, 559, 1435, 422, 3155, 1228, 18, 7788, 31, 3639, 2962, 1019, 907, 3198, 2775, 273, 2151, 18, 588, 1386, 1019, 3198, 5621, 3639, 18760, 17864, 863, 284, 1557, 273, 446, 31, 3639, 2029, 756, 31, 3639, 1323, 14015, 2159, 273, 2775, 18, 4285, 907, 10756, 480, 446, 13, 288, 5411, 509, 9507, 273, 756, 18, 588, 559, 5621, 5411, 309, 261, 267, 2083, 597, 9507, 422, 3155, 1228, 18, 7788, 597, 7734, 756, 480, 2151, 597, 7734, 14015, 2083, 907, 13, 756, 18, 588, 4658, 12, 907, 18, 7788, 67, 15811, 13, 2934, 588, 2083, 559, 1435, 422, 10792, 4284, 907, 18, 7788, 67, 19111, 67, 28411, 13, 5411, 288, 7734, 368, 657, 279, 445, 598, 3937, 315, 1401, 619, 6, 471, 315, 915, 619, 3113, 7734, 368, 1015, 1574, 1060, 326, 569, 3021, 16, 14807, 434, 1353, 18, 7734, 514, 508, 273, 756, 18, 588, 780, 5621, 7734, 309, 261, 529, 422, 446, 13, 10792, 1324, 31, 7734, 4153, 18, 4479, 2042, 12, 529, 1769, 7734, 309, 261, 74, 1557, 422, 446, 13, 10792, 284, 1557, 273, 394, 18760, 17864, 863, 5621, 7734, 284, 1557, 18, 458, 12, 529, 16, 374, 1769, 5411, 289, 5411, 309, 261, 2159, 559, 480, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6317, 1338, 18, 3639, 1250, 316, 2083, 273, 2151, 18, 588, 559, 1435, 422, 3155, 1228, 18, 7788, 31, 3639, 2962, 1019, 907, 3198, 2775, 273, 2151, 18, 588, 1386, 1019, 3198, 5621, 3639, 18760, 17864, 863, 284, 1557, 273, 446, 31, 3639, 2029, 756, 31, 3639, 1323, 14015, 2159, 273, 2775, 18, 4285, 907, 10756, 480, 446, 13, 288, 5411, 509, 9507, 273, 756, 18, 588, 559, 5621, 5411, 309, 261, 267, 2083, 597, 9507, 422, 3155, 1228, 18, 7788, 597, 7734, 756, 2 ]
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 barrier in use, the index must also be in a register idx.loadIf(eContext, (useBarrier) ? ~Item.REGISTER : ~(Item.CONSTANT|Item.REGISTER)); ref.load(eContext); final Register r = ref.getRegister(); final Register v = val.getRegister(); checkBounds(ref, idx); if (idx.getKind() == Item.CONSTANT) { final int i = idx.getValue(); os.writeMOV(INTSIZE, r, i + VmArray.DATA_OFFSET * 4, v); } else { final Register i = idx.getRegister(); os.writeMOV(INTSIZE, r, i, 4, VmArray.DATA_OFFSET * 4, v); } if (useBarrier) { // the write barrier could easily be modified to avoid using a scratch register final X86RegisterPool pool = eContext.getPool(); final Register scratch = (Register)pool.request(Item.INT); helper.writeArrayStoreWriteBarrier(r, idx.getRegister(), v, scratch); pool.release(scratch); } val.release(eContext); idx.release(eContext); ref.release(eContext); }
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, 1244, 273, 19510, 18, 5120, 1957, 5621, 3639, 3094, 1180, 2067, 273, 19510, 18, 5120, 1702, 5621, 3639, 3941, 1180, 1278, 273, 19510, 18, 5120, 1957, 5621, 3639, 368, 3445, 3373, 3412, 30, 10979, 648, 598, 1866, 460, 3639, 1244, 18, 945, 12, 73, 1042, 1769, 3639, 368, 309, 24651, 316, 999, 16, 326, 770, 1297, 2546, 506, 316, 279, 1744, 3639, 2067, 18, 945, 2047, 12, 73, 1042, 16, 261, 1202, 5190, 10342, 13, 692, 4871, 1180, 18, 27511, 294, 4871, 12, 1180, 18, 25878, 96, 1180, 18, 27511, 10019, 3639, 1278, 18, 945, 12, 73, 1042, 1769, 3639, 727, 5433, 436, 273, 1278, 18, 588, 3996, 5621, 3639, 727, 5433, 331, 273, 1244, 18, 588, 3996, 5621, 3639, 866, 5694, 12, 1734, 16, 2067, 1769, 3639, 309, 261, 3465, 18, 588, 5677, 1435, 422, 4342, 18, 25878, 13, 288, 540, 202, 6385, 509, 277, 273, 2067, 18, 24805, 5621, 5411, 1140, 18, 2626, 5980, 58, 12, 3217, 4574, 16, 436, 16, 277, 397, 776, 81, 1076, 18, 4883, 67, 11271, 380, 1059, 16, 331, 1769, 3639, 289, 469, 288, 540, 202, 6385, 5433, 277, 273, 2067, 18, 588, 3996, 5621, 5411, 1140, 18, 2626, 5980, 58, 12, 3217, 4574, 16, 436, 16, 277, 16, 1059, 16, 776, 81, 1076, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1244, 273, 19510, 18, 5120, 1957, 5621, 3639, 3094, 1180, 2067, 273, 19510, 18, 5120, 1702, 5621, 3639, 3941, 1180, 1278, 273, 19510, 18, 5120, 1957, 5621, 3639, 368, 3445, 3373, 3412, 30, 10979, 648, 598, 1866, 460, 3639, 1244, 18, 945, 12, 73, 1042, 1769, 3639, 368, 309, 24651, 316, 999, 16, 326, 770, 1297, 2546, 506, 316, 279, 1744, 3639, 2067, 18, 945, 2047, 12, 73, 1042, 16, 261, 1202, 5190, 10342, 13, 692, 4871, 1180, 18, 27511, 294, 4871, 12, 1180, 2 ]
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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 509, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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_TAB_PERCENT); vertical = currentTheme .getBoolean(IWorkbenchThemeConstants.INACTIVE_TAB_VERTICAL);
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), colorRegistry.get(IWorkbenchThemeConstants.ACTIVE_TAB_BG_END) }, new int [] {theme.getInt(IWorkbenchThemeConstants.ACTIVE_TAB_PERCENT)}, theme.getBoolean(IWorkbenchThemeConstants.ACTIVE_TAB_VERTICAL)); } else { drawGradient( colorRegistry.get(IWorkbenchThemeConstants.INACTIVE_TAB_TEXT_COLOR), new Color [] { colorRegistry.get(IWorkbenchThemeConstants.INACTIVE_TAB_BG_START), colorRegistry.get(IWorkbenchThemeConstants.INACTIVE_TAB_BG_END) }, new int [] {theme.getInt(IWorkbenchThemeConstants.INACTIVE_TAB_PERCENT)}, theme.getBoolean(IWorkbenchThemeConstants.INACTIVE_TAB_VERTICAL)); } boolean resizeNeeded = false; Font tabFont = theme.getFontRegistry().get(IWorkbenchThemeConstants.TAB_TEXT_FONT); Font oldTabFont = getTabFolder().getControl().getFont(); if (!oldTabFont.equals(tabFont)) { getTabFolder().getControl().setFont(tabFont); resizeNeeded = true; } super.updateGradient(); if (resizeNeeded) { getTabFolder().setTabHeight(computeTabHeight()); setControlSize();
private void updateGradient() { Color fgColor; ITheme currentTheme = PlatformUI.getWorkbench().getThemeManager() .getCurrentTheme(); FontRegistry fontRegistry = currentTheme.getFontRegistry(); ColorRegistry colorRegistry = currentTheme.getColorRegistry(); Color[] bgColors = new Color[2]; int[] percent = new int[1]; boolean vertical; if (isActive()) { fgColor = colorRegistry .get(IWorkbenchThemeConstants.ACTIVE_TAB_TEXT_COLOR); bgColors[0] = colorRegistry .get(IWorkbenchThemeConstants.ACTIVE_TAB_BG_START); bgColors[1] = colorRegistry .get(IWorkbenchThemeConstants.ACTIVE_TAB_BG_END); percent[0] = currentTheme .getInt(IWorkbenchThemeConstants.ACTIVE_TAB_PERCENT); vertical = currentTheme .getBoolean(IWorkbenchThemeConstants.ACTIVE_TAB_VERTICAL); } 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_TAB_PERCENT); vertical = currentTheme .getBoolean(IWorkbenchThemeConstants.INACTIVE_TAB_VERTICAL); } getTabFolder().getControl().setFont( fontRegistry.get(IWorkbenchThemeConstants.TAB_TEXT_FONT)); drawGradient(fgColor, bgColors, percent, vertical); }
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, 5621, 3639, 10063, 4243, 3512, 4243, 273, 783, 8335, 18, 588, 5711, 4243, 5621, 3639, 5563, 4243, 2036, 4243, 273, 783, 8335, 18, 588, 2957, 4243, 5621, 3639, 5563, 8526, 7611, 12570, 273, 394, 5563, 63, 22, 15533, 3639, 509, 8526, 5551, 273, 394, 509, 63, 21, 15533, 3639, 1250, 9768, 31, 3639, 309, 261, 291, 3896, 10756, 288, 5411, 10186, 2957, 273, 2036, 4243, 10792, 263, 588, 12, 45, 2421, 22144, 8335, 2918, 18, 13301, 67, 28899, 67, 5151, 67, 10989, 1769, 5411, 7611, 12570, 63, 20, 65, 273, 2036, 4243, 10792, 263, 588, 12, 45, 2421, 22144, 8335, 2918, 18, 13301, 67, 28899, 67, 30098, 67, 7570, 1769, 5411, 7611, 12570, 63, 21, 65, 273, 2036, 4243, 10792, 263, 588, 12, 45, 2421, 22144, 8335, 2918, 18, 13301, 67, 28899, 67, 30098, 67, 4415, 1769, 5411, 5551, 63, 20, 65, 273, 783, 8335, 10792, 263, 588, 1702, 12, 45, 2421, 22144, 8335, 2918, 18, 13301, 67, 28899, 67, 3194, 19666, 1769, 5411, 9768, 273, 783, 8335, 10792, 263, 588, 5507, 12, 45, 2421, 22144, 8335, 2918, 18, 13301, 67, 28899, 67, 21654, 10109, 1769, 3639, 289, 469, 288, 5411, 10186, 2957, 273, 2036, 4243, 10792, 263, 588, 12, 45, 2421, 22144, 8335, 2918, 18, 706, 13301, 67, 28899, 67, 5151, 67, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5621, 3639, 10063, 4243, 3512, 4243, 273, 783, 8335, 18, 588, 5711, 4243, 5621, 3639, 5563, 4243, 2036, 4243, 273, 783, 8335, 18, 588, 2957, 4243, 5621, 3639, 5563, 8526, 7611, 12570, 273, 394, 5563, 63, 22, 15533, 3639, 509, 8526, 5551, 273, 394, 509, 63, 21, 15533, 3639, 1250, 9768, 31, 3639, 309, 261, 291, 3896, 10756, 288, 5411, 10186, 2957, 273, 2036, 4243, 10792, 263, 588, 12, 45, 2421, 22144, 8335, 2918, 18, 13301, 67, 28899, 67, 5151, 67, 10989, 1769, 5411, 7611, 2 ]
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: setLabel((Label)newValue); return; case TypePackage.PIE_SERIES__DATA_DEFINITION: getDataDefinition().clear(); getDataDefinition().addAll((Collection)newValue); return; case TypePackage.PIE_SERIES__SERIES_IDENTIFIER: setSeriesIdentifier((Object)newValue); return; case TypePackage.PIE_SERIES__DATA_POINT: setDataPoint((DataPoint)newValue); return; case TypePackage.PIE_SERIES__DATA_SET: setDataSet((DataSet)newValue); return; case TypePackage.PIE_SERIES__FORMAT_SPECIFIER: setFormatSpecifier((FormatSpecifier)newValue); return; case TypePackage.PIE_SERIES__LABEL_POSITION: setLabelPosition((Position)newValue); return; case TypePackage.PIE_SERIES__STACKED: setStacked(((Boolean)newValue).booleanValue()); return; case TypePackage.PIE_SERIES__TRIGGERS: getTriggers().clear(); getTriggers().addAll((Collection)newValue); return; case TypePackage.PIE_SERIES__TRANSLUCENT: setTranslucent(((Boolean)newValue).booleanValue()); return; case TypePackage.PIE_SERIES__EXPLOSION: setExplosion(((Integer)newValue).intValue()); return; case TypePackage.PIE_SERIES__TITLE: setTitle((Label)newValue); return; case TypePackage.PIE_SERIES__TITLE_POSITION: setTitlePosition((Position)newValue); return; case TypePackage.PIE_SERIES__LEADER_LINE_ATTRIBUTES: setLeaderLineAttributes((LineAttributes)newValue); return; case TypePackage.PIE_SERIES__LEADER_LINE_STYLE: setLeaderLineStyle((LeaderLineStyle)newValue); return; case TypePackage.PIE_SERIES__LEADER_LINE_LENGTH: setLeaderLineLength(((Double)newValue).doubleValue()); return; case TypePackage.PIE_SERIES__SLICE_OUTLINE: setSliceOutline((ColorDefinition)newValue); return; } eDynamicSet(eFeature, newValue); }
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, 24414, 67, 2123, 8805, 972, 29588, 30, 7734, 16697, 12443, 12, 5507, 13, 2704, 620, 2934, 6494, 620, 10663, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 24414, 67, 2123, 8805, 972, 13545, 30, 7734, 16558, 12443, 2224, 13, 2704, 620, 1769, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 24414, 67, 2123, 8805, 972, 4883, 67, 25312, 30, 7734, 4303, 1852, 7675, 8507, 5621, 7734, 4303, 1852, 7675, 1289, 1595, 12443, 2532, 13, 2704, 620, 1769, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 24414, 67, 2123, 8805, 972, 2123, 8805, 67, 16606, 30, 7734, 444, 6485, 3004, 12443, 921, 13, 2704, 620, 1769, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 24414, 67, 2123, 8805, 972, 4883, 67, 8941, 30, 7734, 7929, 2148, 12443, 751, 2148, 13, 2704, 620, 1769, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 24414, 67, 2123, 8805, 972, 4883, 67, 4043, 30, 7734, 7929, 694, 12443, 13676, 13, 2704, 620, 1769, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 24414, 67, 2123, 8805, 972, 7254, 67, 13847, 10591, 30, 7734, 26251, 21416, 12443, 1630, 21416, 13, 2704, 620, 1769, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 24414, 67, 2123, 8805, 972, 13545, 67, 15258, 30, 7734, 16558, 2555, 12443, 2555, 13, 2704, 620, 1769, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24414, 67, 2123, 8805, 972, 29588, 30, 7734, 16697, 12443, 12, 5507, 13, 2704, 620, 2934, 6494, 620, 10663, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 24414, 67, 2123, 8805, 972, 13545, 30, 7734, 16558, 12443, 2224, 13, 2704, 620, 1769, 7734, 327, 31, 5411, 648, 1412, 2261, 18, 24414, 67, 2123, 8805, 972, 4883, 67, 25312, 30, 7734, 4303, 1852, 7675, 8507, 5621, 7734, 4303, 1852, 7675, 1289, 1595, 12443, 2532, 13, 2704, 620, 1769, 7734, 327, 31, 5411, 648, 1412, 2261, 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, 5290, 5621, 5411, 309, 12, 3562, 5484, 480, 446, 13, 2398, 202, 3562, 5484, 18, 2725, 4109, 461, 12, 529, 18, 5290, 10663, 3639, 289, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 5290, 5621, 5411, 309, 12, 3562, 5484, 480, 446, 13, 2398, 202, 3562, 5484, 18, 2725, 4109, 461, 12, 529, 18, 5290, 10663, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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, right, added); return result;
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(evaluator, args, 1); ExpBase exp = (ExpBase) getArgNoEval(args, 2, null); if (exp != null) { boolean desc = true, brk = true; sort(evaluator, list, exp, desc, brk); } if (n < list.size()) { list = list.subList(0, n); } return list; } }; }
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, 1071, 1033, 5956, 12, 15876, 18256, 16, 7784, 8526, 833, 13, 288, 13491, 987, 666, 273, 261, 682, 13, 336, 4117, 12, 14168, 639, 16, 833, 16, 374, 1769, 13491, 509, 290, 273, 8145, 4117, 12, 14168, 639, 16, 833, 16, 404, 1769, 13491, 7784, 2171, 1329, 273, 261, 2966, 2171, 13, 336, 4117, 2279, 13904, 12, 1968, 16, 576, 16, 446, 1769, 13491, 309, 261, 2749, 480, 446, 13, 288, 18701, 1250, 3044, 273, 638, 16, 5186, 79, 273, 638, 31, 18701, 1524, 12, 14168, 639, 16, 666, 16, 1329, 16, 3044, 16, 5186, 79, 1769, 13491, 289, 13491, 309, 261, 82, 411, 666, 18, 1467, 10756, 288, 18701, 666, 273, 666, 18, 1717, 682, 12, 20, 16, 290, 1769, 13491, 289, 13491, 327, 666, 31, 10792, 289, 7734, 289, 31, 5411, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 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, 1071, 1033, 5956, 12, 15876, 18256, 16, 7784, 8526, 833, 13, 288, 13491, 987, 666, 273, 261, 682, 13, 336, 4117, 12, 14168, 639, 16, 833, 16, 374, 1769, 13491, 509, 290, 273, 8145, 4117, 12, 14168, 639, 16, 833, 16, 404, 1769, 13491, 7784, 2171, 1329, 273, 261, 2966, 2171, 13, 336, 4117, 2279, 13904, 12, 1968, 16, 576, 16, 446, 1769, 13491, 309, 261, 2749, 480, 446, 13, 288, 18701, 1250, 3044, 273, 638, 16, 5186, 79, 273, 638, 31, 18701, 1524, 2 ]
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.equals (m))) { // Multiplicity greater 1, that means we will generate some sort of // collection, so we need to specify the element type tag // Prepare doccomment if (sDocComment != null) { // Just remove closing */ sDocComment = sDocComment.substring (0, sDocComment.indexOf ("*/") + 1); } else { if (VERBOSE){ sDocComment = INDENT + "/**\n" + INDENT + " * \n" + INDENT + " *"; } else { sDocComment = ""; } } // Build doccomment sDocComment += " @element-type " + ae.getType().getName(); sDocComment += "\n" + INDENT + " */"; return sDocComment; } else { return ((sDocComment != null)?(sDocComment):("")); } }
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, 1759, 4469, 261, 3501, 1769, 565, 490, 5002, 20458, 312, 273, 14221, 18, 588, 5002, 20458, 5621, 565, 309, 16051, 261, 49, 5002, 20458, 18, 49, 21, 67, 21, 18, 14963, 12, 81, 13, 747, 490, 5002, 20458, 18, 49, 20, 67, 21, 18, 14963, 261, 81, 20349, 288, 1377, 368, 5991, 20458, 6802, 404, 16, 716, 4696, 732, 903, 2103, 2690, 1524, 434, 1377, 368, 1849, 16, 1427, 732, 1608, 358, 4800, 326, 930, 618, 1047, 1377, 368, 7730, 997, 3469, 1377, 309, 261, 87, 1759, 4469, 480, 446, 13, 288, 3639, 368, 12526, 1206, 7647, 1195, 3639, 272, 1759, 4469, 273, 272, 1759, 4469, 18, 28023, 261, 20, 16, 272, 1759, 4469, 18, 31806, 7566, 14, 4898, 13, 397, 404, 1769, 1377, 289, 1377, 469, 288, 1850, 309, 261, 21900, 15329, 2868, 272, 1759, 4469, 273, 30009, 397, 2206, 636, 64, 82, 6, 397, 2868, 30009, 397, 315, 380, 521, 82, 6, 397, 2868, 30009, 397, 315, 380, 14432, 1850, 289, 469, 288, 2868, 272, 1759, 4469, 273, 1408, 31, 1850, 289, 1377, 289, 1377, 368, 3998, 997, 3469, 1377, 272, 1759, 4469, 1011, 315, 632, 2956, 17, 723, 315, 397, 14221, 18, 588, 559, 7675, 17994, 5621, 1377, 272, 1759, 4469, 1011, 1548, 82, 6, 397, 5397, 30009, 397, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1759, 4469, 261, 3501, 1769, 565, 490, 5002, 20458, 312, 273, 14221, 18, 588, 5002, 20458, 5621, 565, 309, 16051, 261, 49, 5002, 20458, 18, 49, 21, 67, 21, 18, 14963, 12, 81, 13, 747, 490, 5002, 20458, 18, 49, 20, 67, 21, 18, 14963, 261, 81, 20349, 288, 1377, 368, 5991, 20458, 6802, 404, 16, 716, 4696, 732, 903, 2103, 2690, 1524, 434, 1377, 368, 1849, 16, 1427, 732, 1608, 358, 4800, 326, 930, 618, 1047, 1377, 368, 7730, 997, 3469, 1377, 309, 2 ]
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 outputWriter = new PrintWriter(new BufferedWriter(new FileWriter(outputFile))); outputWriter.write("<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n" + "<rulebase xmlns=\"http: for (int i = 0; i < manager.stateMachineTemplates.size(); i++) outputWriter.write(((EDStateMachineSpecification)manager.stateMachineTemplates.get(i)).toXML()); outputWriter.write("</rulebase>"); outputWriter.close(); } catch(Exception ex) { ex.printStackTrace(); }
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, 14015, 44, 14529, 6681, 13, 482, 55, 77, 24457, 2934, 15132, 5621, 289, 1044, 12, 503, 425, 13, 288, 425, 18, 1188, 6332, 5621, 289, 5766, 18, 15132, 5621, 282, 309, 261, 2575, 8956, 837, 13, 2321, 1595, 5621, 282, 309, 261, 2844, 812, 480, 446, 13, 775, 288, 14071, 876, 2289, 273, 394, 14071, 12, 2704, 22490, 12, 2704, 24639, 12, 2844, 812, 3719, 1769, 225, 876, 2289, 18, 2626, 2932, 12880, 2902, 1177, 5189, 21, 18, 20, 2412, 2688, 5189, 5159, 17, 28, 2412, 692, 5333, 82, 6, 397, 3532, 5345, 1969, 12302, 5189, 2505, 30, 225, 364, 261, 474, 277, 273, 374, 31, 277, 411, 3301, 18, 2019, 6981, 8218, 18, 1467, 5621, 277, 27245, 876, 2289, 18, 2626, 12443, 12, 2056, 1119, 6981, 8615, 13, 4181, 18, 2019, 6981, 8218, 18, 588, 12, 77, 13, 2934, 869, 4201, 10663, 225, 876, 2289, 18, 2626, 2932, 1757, 5345, 1969, 2984, 1769, 876, 2289, 18, 4412, 5621, 289, 1044, 12, 503, 431, 13, 288, 431, 18, 1188, 6332, 5621, 289, 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, 14015, 44, 14529, 6681, 13, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14015, 44, 14529, 6681, 13, 482, 55, 77, 24457, 2934, 15132, 5621, 289, 1044, 12, 503, 425, 13, 288, 425, 18, 1188, 6332, 5621, 289, 5766, 18, 15132, 5621, 282, 309, 261, 2575, 8956, 837, 13, 2321, 1595, 5621, 282, 309, 261, 2844, 812, 480, 446, 13, 775, 288, 14071, 876, 2289, 273, 394, 14071, 12, 2704, 22490, 12, 2704, 24639, 12, 2844, 812, 3719, 1769, 225, 876, 2289, 18, 2626, 2932, 12880, 2902, 1177, 5189, 21, 18, 20, 2412, 2688, 5189, 5159, 17, 2 ]
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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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, 12, 2704, 9352, 6592, 12, 2556, 16, 585, 16, 6156, 13, 3631, 5397, 16939, 10019, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 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, 12, 2704, 9352, 6592, 12, 2556, 16, 585, 16, 6156, 13, 3631, 5397, 16939, 10019, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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 PermErrorException("Error in redirect modifier: " + host); } }
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, 74, 751, 2934, 12320, 3748, 12, 2564, 1769, 5411, 1694, 74, 751, 18, 542, 5961, 3748, 12, 2564, 1769, 3639, 289, 1044, 261, 503, 425, 13, 288, 15604, 604, 394, 13813, 10009, 2932, 668, 316, 3136, 9606, 30, 315, 397, 1479, 1769, 3639, 289, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 74, 751, 2934, 12320, 3748, 12, 2564, 1769, 5411, 1694, 74, 751, 18, 542, 5961, 3748, 12, 2564, 1769, 3639, 289, 1044, 261, 503, 425, 13, 288, 15604, 604, 394, 13813, 10009, 2932, 668, 316, 3136, 9606, 30, 315, 397, 1479, 1769, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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("{" + SystemUtils.LINE_SEPARATOR + "foo=bar" + SystemUtils.LINE_SEPARATOR + "foozle=doozle" + SystemUtils.LINE_SEPARATOR + "}", MapUtils.toString(props, true)); }
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, 3113, 315, 617, 11142, 298, 6, 5779, 394, 1033, 63, 7073, 5411, 315, 3215, 3113, 315, 2896, 11142, 298, 6, 22938, 3639, 1815, 8867, 2932, 95, 11351, 33, 3215, 16, 8431, 94, 298, 33, 2896, 11142, 298, 1532, 16, 1635, 1989, 18, 10492, 12, 9693, 16, 629, 10019, 3639, 1815, 8867, 2932, 16711, 397, 2332, 1989, 18, 5997, 67, 4550, 397, 315, 11351, 33, 3215, 6, 397, 2332, 1989, 18, 5997, 67, 4550, 5397, 397, 315, 617, 11142, 298, 33, 2896, 11142, 298, 6, 397, 2332, 1989, 18, 5997, 67, 4550, 397, 11883, 16, 1635, 1989, 18, 10492, 12, 9693, 16, 638, 10019, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 3113, 315, 617, 11142, 298, 6, 5779, 394, 1033, 63, 7073, 5411, 315, 3215, 3113, 315, 2896, 11142, 298, 6, 22938, 3639, 1815, 8867, 2932, 95, 11351, 33, 3215, 16, 8431, 94, 298, 33, 2896, 11142, 298, 1532, 16, 1635, 1989, 18, 10492, 12, 9693, 16, 629, 10019, 3639, 1815, 8867, 2932, 16711, 397, 2332, 1989, 18, 5997, 67, 4550, 397, 315, 11351, 33, 3215, 6, 397, 2332, 1989, 18, 5997, 67, 4550, 5397, 397, 315, 617, 11142, 298, 33, 2896, 11142, 298, 6, 2 ]
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 initDataTypeValidators(); } }
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, 16, 284, 780, 2864, 16, 284, 668, 13289, 1769, 2398, 309, 261, 74, 31496, 13, 288, 368, 16689, 1588, 300, 292, 1377, 1208, 6273, 19420, 5621, 282, 289, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 16, 284, 780, 2864, 16, 284, 668, 13289, 1769, 2398, 309, 261, 74, 31496, 13, 288, 368, 16689, 1588, 300, 292, 1377, 1208, 6273, 19420, 5621, 282, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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= null; searchJob= new ResourceSearchEngineJob(searchJobTicket, model, (ResourceHistory) history, this); } searchJob.schedule(); }
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, 18, 1916, 12, 4951, 780, 3719, 288, 1082, 202, 3072, 2278, 33, 394, 2591, 9839, 1253, 2278, 12, 3072, 2278, 13614, 16, 1142, 9556, 1253, 16, 938, 16, 4697, 202, 12, 1420, 5623, 13, 4927, 1769, 202, 202, 97, 469, 288, 1082, 202, 2722, 799, 1127, 329, 49, 27779, 273, 446, 31, 1082, 202, 2722, 9556, 1253, 33, 446, 31, 1875, 202, 3072, 2278, 33, 394, 2591, 2979, 4410, 2278, 12, 3072, 2278, 13614, 16, 938, 16, 282, 9506, 202, 12, 1420, 5623, 13, 4927, 16, 333, 1769, 202, 202, 97, 202, 202, 3072, 2278, 18, 10676, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 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, 18, 1916, 12, 4951, 780, 3719, 288, 1082, 202, 3072, 2278, 33, 394, 2591, 9839, 1253, 2278, 12, 3072, 2278, 13614, 16, 1142, 9556, 1253, 16, 938, 16, 4697, 202, 12, 1420, 5623, 13, 4927, 1769, 202, 202, 97, 469, 288, 1082, 202, 2722, 799, 1127, 329, 49, 27779, 273, 446, 31, 1082, 202, 2722, 9556, 1253, 33, 446, 31, 1875, 202, 3072, 2278, 33, 394, 2591, 2979, 4410, 2278, 12, 3072, 2278, 13614, 16, 938, 16, 282, 9506, 202, 12, 1420, 5623, 13, 2 ]
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 gets cranky if the exception object is left on the stack short exceptionObject = getNewWordLocal(); astore(exceptionObject); // reset the variable object local aload(savedVariableObject); astore(variableObjectLocal); aload(exceptionObject); releaseWordLocal(exceptionObject); String exceptionName; if (exceptionType == JAVASCRIPT_EXCEPTION) { // unwrap the exception... addScriptRuntimeInvoke( "unwrapJavaScriptException", "(Lorg/mozilla/javascript/JavaScriptException;" +")Ljava/lang/Object;"); exceptionName = "org/mozilla/javascript/JavaScriptException"; } else if (exceptionType == WRAPPED_EXCEPTION) { // unwrap the exception... addScriptRuntimeInvoke( "unwrapWrappedException", "(Lorg/mozilla/javascript/WrappedException;" +")Ljava/lang/Object;"); exceptionName = "org/mozilla/javascript/WrappedException"; } else { if (exceptionType != ECMAERROR_EXCEPTION) Context.codeBug(); // unwrap the exception... addVirtualInvoke("org/mozilla/javascript/EcmaError", "getErrorObject", "()Lorg/mozilla/javascript/Scriptable;"); exceptionName = "org/mozilla/javascript/EcmaError"; } // mark the handler classFile.addExceptionHandler(startLabel, catchLabel, handler, exceptionName); addByteCode(ByteCode.GOTO, catchLabel); }
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, 10533, 2224, 5621, 3639, 29728, 18, 3355, 1503, 12, 4176, 1769, 3639, 368, 9238, 14131, 5571, 4422, 2304, 93, 309, 326, 1520, 733, 353, 2002, 603, 326, 2110, 3639, 3025, 1520, 921, 273, 12654, 3944, 2042, 5621, 3639, 279, 2233, 12, 4064, 921, 1769, 3639, 368, 2715, 326, 2190, 733, 1191, 3639, 279, 945, 12, 14077, 3092, 921, 1769, 3639, 279, 2233, 12, 6105, 921, 2042, 1769, 3639, 279, 945, 12, 4064, 921, 1769, 3639, 3992, 3944, 2042, 12, 4064, 921, 1769, 3639, 514, 1520, 461, 31, 3639, 309, 261, 4064, 559, 422, 21227, 10885, 67, 12658, 13, 288, 5411, 368, 11014, 326, 1520, 2777, 5411, 527, 3651, 5576, 10969, 12, 7734, 315, 318, 4113, 16634, 503, 3113, 7734, 7751, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 16634, 503, 4868, 7734, 397, 7923, 21159, 19, 4936, 19, 921, 4868, 1769, 5411, 1520, 461, 273, 315, 3341, 19, 8683, 15990, 19, 11242, 19, 16634, 503, 14432, 3639, 289, 469, 309, 261, 4064, 559, 422, 12984, 2203, 12120, 67, 12658, 13, 288, 5411, 368, 11014, 326, 1520, 2777, 5411, 527, 3651, 5576, 10969, 12, 7734, 315, 318, 4113, 17665, 503, 3113, 7734, 7751, 48, 3341, 19, 8683, 15990, 19, 11242, 19, 17665, 503, 4868, 7734, 397, 7923, 21159, 19, 4936, 19, 921, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10533, 2224, 5621, 3639, 29728, 18, 3355, 1503, 12, 4176, 1769, 3639, 368, 9238, 14131, 5571, 4422, 2304, 93, 309, 326, 1520, 733, 353, 2002, 603, 326, 2110, 3639, 3025, 1520, 921, 273, 12654, 3944, 2042, 5621, 3639, 279, 2233, 12, 4064, 921, 1769, 3639, 368, 2715, 326, 2190, 733, 1191, 3639, 279, 945, 12, 14077, 3092, 921, 1769, 3639, 279, 2233, 12, 6105, 921, 2042, 1769, 3639, 279, 945, 12, 4064, 921, 1769, 3639, 3992, 3944, 2042, 12, 4064, 921, 1769, 3639, 2 ]
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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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]); if (compilerInvocationIndex != -1) break; } if (compilerInvocationIndex == -1) return rc; // expecting that compiler invocation is the first token in the line String[] split = line.split("\\s+"); //$NON-NLS-1$ String command = split[0]; // verify that it is compiler invocation int cii2 = -1; for (int cii = 0; cii < COMPILER_INVOCATION.length; ++cii) { cii2 = command.indexOf(COMPILER_INVOCATION[cii]); if (cii2 != -1) break; } if (cii2 == -1) { TraceUtil.outputTrace("Error identifying compiler command", line, TraceUtil.EOL); //$NON-NLS-1$ return rc; } // find a file name int extensionsIndex = -1; boolean found = false; String filePath = null; for (int i = 1; i < split.length; ++i) { int k = split[i].lastIndexOf('.'); if (k != -1 && (split[i].length() - k < 5)) { String fileExtension = split[i].substring(k); extensionsIndex = FILE_EXTENSIONS_LIST.indexOf(fileExtension); if (extensionsIndex != -1) { filePath = split[i]; found = true; break; } } }// for (int j = 0; j < FILE_EXTENSIONS.length; ++j) {// if (split[i].endsWith(FILE_EXTENSIONS[j])) {// filePath = split[i];// extensionsIndex = j;// found = true;// break;// }// }// if (found) break; if (!found) { TraceUtil.outputTrace("Error identifying file name :1", line, TraceUtil.EOL); //$NON-NLS-1$ return rc; } // sanity check if (filePath.indexOf(FILE_EXTENSIONS[extensionsIndex]) == -1) { TraceUtil.outputTrace("Error identifying file name :2", line, TraceUtil.EOL); //$NON-NLS-1$ return rc; } if (fUtil != null) { IPath pFilePath = fUtil.getAbsolutePath(filePath); String longFileName = pFilePath.toString(); String shortFileName = pFilePath.removeFileExtension().lastSegment(); String genericLine = line.replaceAll(filePath, "LONG_NAME"); //$NON-NLS-1$ genericLine = genericLine.replaceAll(shortFileName+"\\.", "SHORT_NAME\\."); //$NON-NLS-1$ //$NON-NLS-2$ CCommandDSC cmd = fUtil.getNewCCommandDSC(genericLine, extensionsIndex > 0); List cmdList = new ArrayList(); cmdList.add(cmd); Map sc = new HashMap(1); sc.put(ScannerInfoTypes.COMPILER_COMMAND, cmdList); if (getProject().getLocation().isPrefixOf(pFilePath)) { IPath relPath = pFilePath.removeFirstSegments(getProject().getLocation().segmentCount()); IFile file = getProject().getFile(relPath); getCollector().contributeToScannerConfig(file, sc); } // fUtil.addGenericCommandForFile2(longFileName, genericLine); } return rc; }
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, 3639, 364, 261, 474, 276, 2835, 273, 374, 31, 276, 2835, 411, 5423, 1102, 14668, 67, 706, 16169, 8506, 18, 2469, 31, 965, 71, 2835, 13, 288, 5411, 5274, 9267, 1016, 273, 980, 18, 31806, 12, 31075, 14668, 67, 706, 16169, 8506, 63, 71, 2835, 19226, 5411, 309, 261, 9576, 9267, 1016, 480, 300, 21, 13, 7734, 898, 31, 3639, 289, 3639, 309, 261, 9576, 9267, 1016, 422, 300, 21, 13, 5411, 327, 4519, 31, 3639, 368, 17012, 716, 5274, 9495, 353, 326, 1122, 1147, 316, 326, 980, 3639, 514, 8526, 1416, 273, 980, 18, 4939, 2932, 1695, 87, 15, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 514, 1296, 273, 1416, 63, 20, 15533, 3639, 368, 3929, 716, 518, 353, 5274, 9495, 3639, 509, 276, 2835, 22, 273, 300, 21, 31, 3639, 364, 261, 474, 276, 2835, 273, 374, 31, 276, 2835, 411, 5423, 1102, 14668, 67, 706, 16169, 8506, 18, 2469, 31, 965, 71, 2835, 13, 288, 5411, 276, 2835, 22, 273, 1296, 18, 31806, 12, 31075, 14668, 67, 706, 16169, 8506, 63, 71, 2835, 19226, 5411, 309, 261, 71, 2835, 22, 480, 300, 21, 13, 7734, 898, 31, 3639, 289, 3639, 309, 261, 71, 2835, 22, 422, 300, 21, 13, 288, 5411, 2677, 1304, 18, 2844, 3448, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3639, 364, 261, 474, 276, 2835, 273, 374, 31, 276, 2835, 411, 5423, 1102, 14668, 67, 706, 16169, 8506, 18, 2469, 31, 965, 71, 2835, 13, 288, 5411, 5274, 9267, 1016, 273, 980, 18, 31806, 12, 31075, 14668, 67, 706, 16169, 8506, 63, 71, 2835, 19226, 5411, 309, 261, 9576, 9267, 1016, 480, 300, 21, 13, 7734, 898, 31, 3639, 289, 3639, 309, 261, 9576, 9267, 1016, 422, 300, 21, 13, 5411, 327, 4519, 31, 3639, 368, 17012, 716, 5274, 9495, 353, 326, 2 ]
); 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); GrouperLog.debug(LOG, s, MSG_FEMSHIPSG_PRO); Set mships = new LinkedHashSet(); try { Session hs = HibernateHelper.getSession(); List l = hs.find( "from Membership as ms where " + "ms.owner_id = ? " + "and ms.field.name = ? " + "and ms.field.type = ? " + "and ms.depth > 0 ", new Object[] { g.getUuid(), f.getName(), f.getType().toString() }, new Type[] { Hibernate.STRING, Hibernate.STRING, Hibernate.STRING } ); hs.close(); GrouperLog.debug(LOG, s, MSG_FEMSHIPSG_PRO + " unfiltered: " + l.size()); mships.addAll( _filterMemberships(s, f, l) ); } catch (HibernateException eH) { GrouperLog.error(LOG, s, MSG_FEMSHIPSG_PRO + ": " + eH.getMessage()); } GrouperLog.debug(LOG, s, MSG_FEMSHIPSG_PRO + " filtered: " + mships.size()); return mships; } // protected static Set findEffectiveMemberships(s, g, f)
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, 28531, 13447, 87, 12, 74, 13, 377, 380, 632, 16140, 565, 4750, 28100, 8441, 18, 4720, 28531, 6918, 12, 87, 16, 314, 16, 652, 13, 377, 380, 632, 12071, 225, 638, 377, 380, 632, 3184, 282, 638, 377, 1195, 565, 3756, 264, 2157, 18, 5662, 12, 87, 1769, 565, 3756, 264, 1343, 18, 4148, 12, 4842, 16, 272, 16, 13771, 67, 42, 3375, 20101, 30820, 67, 3373, 1769, 565, 1000, 312, 3261, 87, 225, 273, 394, 19523, 5621, 565, 775, 288, 1377, 3877, 12670, 225, 273, 670, 24360, 2276, 18, 588, 2157, 5621, 1377, 987, 565, 328, 282, 273, 12670, 18, 4720, 12, 3639, 315, 2080, 28100, 487, 4086, 1625, 225, 315, 3639, 397, 315, 959, 18, 8443, 67, 350, 3639, 273, 692, 377, 315, 3639, 397, 315, 464, 4086, 18, 1518, 18, 529, 225, 273, 692, 377, 315, 540, 397, 315, 464, 4086, 18, 1518, 18, 723, 225, 273, 692, 377, 315, 3639, 397, 315, 464, 4086, 18, 5979, 4202, 405, 374, 377, 3104, 540, 394, 1033, 8526, 288, 1850, 314, 18, 588, 5897, 9334, 284, 18, 17994, 9334, 284, 18, 588, 559, 7675, 10492, 1435, 3639, 19879, 3639, 394, 1412, 8526, 288, 1850, 670, 24360, 18, 5804, 16, 670, 24360, 18, 5804, 16, 670, 24360, 18, 5804, 3639, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 28531, 13447, 87, 12, 74, 13, 377, 380, 632, 16140, 565, 4750, 28100, 8441, 18, 4720, 28531, 6918, 12, 87, 16, 314, 16, 652, 13, 377, 380, 632, 12071, 225, 638, 377, 380, 632, 3184, 282, 638, 377, 1195, 565, 3756, 264, 2157, 18, 5662, 12, 87, 1769, 565, 3756, 264, 1343, 18, 4148, 12, 4842, 16, 272, 16, 13771, 67, 42, 3375, 20101, 30820, 67, 3373, 1769, 565, 1000, 312, 3261, 87, 225, 273, 394, 19523, 5621, 565, 775, 288, 1377, 3877, 2 ]
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 be null"); Attribute attribute = attributes.get(m_userAttribute); if (attribute == null) { s_logger.info("User '" + userDetails.getDn() + "' does not have '" + m_userAttribute + "'. Returning empty list."); return new GrantedAuthority[0]; } List<GrantedAuthority> authorities = new LinkedList<GrantedAuthority>(); try { NamingEnumeration enumeration = attribute.getAll(); while (enumeration.hasMore()) { Object o = enumeration.next(); s_logger.debug("Got '" + m_userAttribute + "' value for user '" + userDetails.getDn() + "': '" + o + "'"); String s; if (o == null) { s = null; } else { s = o.toString(); } if ("OpenNMS User".equals(s)) { authorities.add(new GrantedAuthorityImpl("ROLE_USER")); } else if ("OpenNMS Administrator".equals(s)) { authorities.add(new GrantedAuthorityImpl("ROLE_ADMIN")); } else if ("OpenNMS RTC".equals(s)) { authorities.add(new GrantedAuthorityImpl("ROLE_RTC")); } else { authorities.add(new GrantedAuthorityImpl(s)); } } } catch (NamingException e) { s_logger.info("Received NamingException: " + e.getMessage(), e); throw new LdapDataAccessException("Received naming exception while iterating through values for '" + m_userAttribute + "' attribute.", e); } return authorities.toArray(new GrantedAuthority[0]); }
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, 3790, 848, 486, 506, 446, 8863, 3639, 9055, 1677, 273, 729, 3790, 18, 588, 2498, 5621, 3639, 5452, 18, 902, 2041, 12, 4350, 16, 315, 2498, 316, 326, 2177, 3790, 733, 2780, 506, 446, 8863, 7734, 3601, 1566, 273, 1677, 18, 588, 12, 81, 67, 1355, 1499, 1769, 3639, 309, 261, 4589, 422, 446, 13, 288, 5411, 272, 67, 4901, 18, 1376, 2932, 1299, 2119, 397, 729, 3790, 18, 588, 19053, 1435, 397, 2491, 1552, 486, 1240, 2119, 397, 312, 67, 1355, 1499, 397, 2491, 18, 225, 2000, 310, 1008, 666, 1199, 1769, 5411, 327, 394, 19689, 329, 10962, 63, 20, 15533, 3639, 289, 7734, 987, 32, 14570, 10962, 34, 2869, 1961, 273, 394, 10688, 32, 14570, 10962, 34, 5621, 3639, 775, 288, 5411, 18884, 21847, 16836, 273, 1566, 18, 588, 1595, 5621, 5411, 1323, 261, 7924, 7067, 18, 5332, 7417, 10756, 288, 7734, 1033, 320, 273, 16836, 18, 4285, 5621, 7734, 272, 67, 4901, 18, 4148, 2932, 15617, 2119, 397, 312, 67, 1355, 1499, 397, 2491, 460, 364, 729, 2119, 397, 729, 3790, 18, 588, 19053, 1435, 397, 2491, 30, 2119, 397, 320, 397, 5862, 1769, 1171, 9079, 309, 261, 83, 422, 446, 13, 288, 10792, 272, 273, 446, 31, 7734, 289, 469, 288, 10792, 272, 273, 320, 18, 10492, 5621, 7734, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3790, 848, 486, 506, 446, 8863, 3639, 9055, 1677, 273, 729, 3790, 18, 588, 2498, 5621, 3639, 5452, 18, 902, 2041, 12, 4350, 16, 315, 2498, 316, 326, 2177, 3790, 733, 2780, 506, 446, 8863, 7734, 3601, 1566, 273, 1677, 18, 588, 12, 81, 67, 1355, 1499, 1769, 3639, 309, 261, 4589, 422, 446, 13, 288, 5411, 272, 67, 4901, 18, 1376, 2932, 1299, 2119, 397, 729, 3790, 18, 588, 19053, 1435, 397, 2491, 1552, 486, 1240, 2119, 397, 312, 67, 1355, 1499, 397, 2491, 2 ]
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); newtonRaphsonMinimum = new GVector(kCoordinates); //System.out.println(""); //System.out.println("FORCEFIELDTESTS NewtonRaphsonTest"); NewtonRaphsonMethod nrm = new NewtonRaphsonMethod(); GMatrix hessian = new GMatrix(initialCoordinates.getSize(),initialCoordinates.getSize()); while ((iterationNumberkplus1 < NRMaximumIteration) & (convergence == false)) { iterationNumberkplus1 += 1; iterationNumberk += 1; //System.out.println(""); //System.out.println("NR Iteration number: " + iterationNumberkplus1); if (iterationNumberkplus1 != 1) { kCoordinates.set(kplus1Coordinates); gradientk.set(gradientkplus1); } forceField.setEnergyHessian(kCoordinates); hessian.set(forceField.getEnergyHessian()); //System.out.println("hessian = " + hessian); nrm.gradientPerInverseHessian(gradientk,hessian); //System.out.println("GradientPerInverseHessian = " + nrm.getGradientPerInverseHessian()); setkplus1Coordinates(nrm.getGradientPerInverseHessian(), -1); //System.out.println("x" + iterationNumberkplus1 + " = " + kplus1Coordinates); //System.out.println("f(x" + iterationNumberkplus1 + ") = " + forceField.energyFunction(kplus1Coordinates)); forceField.setEnergyGradient(kplus1Coordinates); gradientkplus1.set(forceField.getEnergyGradient()); checkConvergence(NRconvergenceCriterion); //System.out.println("convergence: " + convergence); //System.out.println(""); //System.out.println("f(x" + iterationNumberk + ") = " + forceField.energyFunction(kCoordinates)); //System.out.println("f(x" + iterationNumberkplus1 + ") = " + forceField.energyFunction(kplus1Coordinates)); //System.out.println("gradientkplus1 = " + gradientkplus1); } newtonRaphsonMinimum.set(kplus1Coordinates); //System.out.println("The NR minimum energy is at: " + newtonRaphsonMinimum); return; }
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, 1769, 202, 202, 5734, 974, 18, 542, 664, 31920, 15651, 12, 79, 13431, 1769, 202, 202, 20219, 79, 18, 542, 12, 5734, 974, 18, 588, 664, 31920, 15651, 10663, 202, 202, 759, 3163, 18, 659, 18, 8222, 2932, 20219, 622, 6532, 404, 294, 314, 21, 273, 315, 397, 10292, 79, 1769, 202, 202, 2704, 1917, 54, 16003, 816, 13042, 273, 394, 611, 5018, 12, 79, 13431, 1769, 202, 202, 759, 3163, 18, 659, 18, 8222, 2932, 8863, 202, 202, 759, 3163, 18, 659, 18, 8222, 2932, 27817, 6776, 16961, 55, 1166, 1917, 54, 16003, 816, 4709, 8863, 9506, 202, 1908, 1917, 54, 16003, 816, 1305, 290, 8864, 273, 394, 1166, 1917, 54, 16003, 816, 1305, 5621, 202, 202, 43, 4635, 366, 20529, 273, 394, 611, 4635, 12, 6769, 13431, 18, 588, 1225, 9334, 6769, 13431, 18, 588, 1225, 10663, 9506, 202, 17523, 14015, 16108, 1854, 79, 10103, 21, 411, 423, 54, 13528, 10795, 13, 473, 261, 591, 502, 15570, 422, 629, 3719, 288, 25083, 202, 16108, 1854, 79, 10103, 21, 1011, 404, 31, 1082, 202, 16108, 1854, 79, 1011, 404, 31, 1082, 202, 759, 3163, 18, 659, 18, 8222, 2932, 8863, 1082, 202, 759, 3163, 18, 659, 18, 8222, 2932, 50, 54, 30377, 1300, 30, 315, 397, 6532, 1854, 79, 10103, 21, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1769, 202, 202, 5734, 974, 18, 542, 664, 31920, 15651, 12, 79, 13431, 1769, 202, 202, 20219, 79, 18, 542, 12, 5734, 974, 18, 588, 664, 31920, 15651, 10663, 202, 202, 759, 3163, 18, 659, 18, 8222, 2932, 20219, 622, 6532, 404, 294, 314, 21, 273, 315, 397, 10292, 79, 1769, 202, 202, 2704, 1917, 54, 16003, 816, 13042, 273, 394, 611, 5018, 12, 79, 13431, 1769, 202, 202, 759, 3163, 18, 659, 18, 8222, 2932, 8863, 202, 202, 759, 3163, 18, 659, 18, 2 ]
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();final GenModel genModel = editorGen.getDomainGenModel();final String pluginActivatorClass = importManager.getImportedName(editorGen.getPlugin().getActivatorQualifiedClassName());final boolean isRichClientPlatform = genDiagram.getEditorGen().getDomainGenModel().isRichClientPlatform(); stringBuffer.append(TEXT_1); String copyrightText = genDiagram.getEditorGen().getCopyrightText();if (copyrightText != null && copyrightText.trim().length() > 0) { stringBuffer.append(TEXT_2); stringBuffer.append(copyrightText.replaceAll("\n", "\n * ")); stringBuffer.append(TEXT_3); } importManager.emitPackageStatement(stringBuffer);importManager.markImportLocation(stringBuffer);importManager.registerInnerClass("RootElementSelectorPage");if (isRichClientPlatform) { importManager.registerInnerClass("URISelectorPage"); importManager.registerInnerClass("SourceURISelectorPage"); importManager.registerInnerClass("DiagramURISelectorPage");} stringBuffer.append(TEXT_4); class FeatureGetAccessorHelper { /** * @param containerName the name of the container * @param feature the feature whose value is in interest * @param containerMetaClass the <code>GenClass</code> of the container, or <code>null</code>, if the container is declared as an <code>EObject</code>. * @param needsCastToResultType whether the cast to the result type is required (this parameter is only used if the <code>EClass</code> this feature belongs to is an external interface). */ public void appendFeatureValueGetter(String containerName, GenFeature feature, GenClass containerMetaClass, boolean needsCastToResultType) { if (feature.getGenClass().isExternalInterface()) { boolean needsCastToEObject = containerMetaClass != null && containerMetaClass.isExternalInterface(); if (needsCastToResultType) { stringBuffer.append(TEXT_5); stringBuffer.append(importManager.getImportedName(feature.isListType() ? "java.util.Collection" : feature.getTypeGenClass().getQualifiedInterfaceName())); stringBuffer.append(TEXT_6); } if (needsCastToEObject) { stringBuffer.append(TEXT_7); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_8); } stringBuffer.append(containerName); if (needsCastToEObject) { stringBuffer.append(TEXT_9); } stringBuffer.append(TEXT_10); stringBuffer.append(importManager.getImportedName(feature.getGenPackage().getQualifiedPackageInterfaceName())); stringBuffer.append(TEXT_11); stringBuffer.append(feature.getFeatureAccessorName()); stringBuffer.append(TEXT_12); if (needsCastToResultType) { stringBuffer.append(TEXT_13); } } else { boolean needsCastToFeatureGenType = containerMetaClass == null || containerMetaClass.isExternalInterface(); if (needsCastToFeatureGenType) { stringBuffer.append(TEXT_14); stringBuffer.append(importManager.getImportedName(feature.getGenClass().getQualifiedInterfaceName())); stringBuffer.append(TEXT_15); } stringBuffer.append(containerName); if (needsCastToFeatureGenType) { stringBuffer.append(TEXT_16); } stringBuffer.append(TEXT_17); stringBuffer.append(feature.getGetAccessor()); stringBuffer.append(TEXT_18); } }}final FeatureGetAccessorHelper myFeatureGetAccessorHelper = new FeatureGetAccessorHelper(); stringBuffer.append(TEXT_19); stringBuffer.append(genDiagram.getNewDiagramFileWizardClassName()); stringBuffer.append(TEXT_20); stringBuffer.append(importManager.getImportedName("org.eclipse.jface.wizard.Wizard")); stringBuffer.append(TEXT_21); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.transaction.TransactionalEditingDomain")); stringBuffer.append(TEXT_22); if (isRichClientPlatform) { stringBuffer.append(TEXT_23); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.util.URI")); stringBuffer.append(TEXT_24); } else { stringBuffer.append(TEXT_25); stringBuffer.append(importManager.getImportedName("org.eclipse.core.resources.IFile")); stringBuffer.append(TEXT_26); stringBuffer.append(importManager.getImportedName("org.eclipse.ui.dialogs.WizardNewFileCreationPage")); stringBuffer.append(TEXT_27); stringBuffer.append(importManager.getImportedName("org.eclipse.ui.IWorkbenchPage")); stringBuffer.append(TEXT_28); stringBuffer.append(importManager.getImportedName("org.eclipse.jface.viewers.IStructuredSelection")); stringBuffer.append(TEXT_29); } stringBuffer.append(TEXT_30); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_31); if (isRichClientPlatform) { stringBuffer.append(TEXT_32); stringBuffer.append(genDiagram.getNewDiagramFileWizardClassName()); stringBuffer.append(TEXT_33); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.util.URI")); stringBuffer.append(TEXT_34); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_35); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.transaction.TransactionalEditingDomain")); stringBuffer.append(TEXT_36); } else { stringBuffer.append(TEXT_37); stringBuffer.append(genDiagram.getNewDiagramFileWizardClassName()); stringBuffer.append(TEXT_38); stringBuffer.append(importManager.getImportedName("org.eclipse.core.resources.IFile")); stringBuffer.append(TEXT_39); stringBuffer.append(importManager.getImportedName("org.eclipse.ui.IWorkbenchPage")); stringBuffer.append(TEXT_40); stringBuffer.append(importManager.getImportedName("org.eclipse.jface.viewers.IStructuredSelection")); stringBuffer.append(TEXT_41); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_42); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.transaction.TransactionalEditingDomain")); stringBuffer.append(TEXT_43); stringBuffer.append(genDiagram.getNewDiagramFileWizardClassName()); stringBuffer.append(TEXT_44); stringBuffer.append(genDiagram.getNewDiagramFileWizardClassName()); stringBuffer.append(TEXT_45); stringBuffer.append(genDiagram.getNewDiagramFileWizardClassName()); stringBuffer.append(TEXT_46); stringBuffer.append(genDiagram.getNewDiagramFileWizardClassName()); stringBuffer.append(TEXT_47); } stringBuffer.append(TEXT_48); stringBuffer.append(genDiagram.getNewDiagramFileWizardClassName()); stringBuffer.append(TEXT_49); if (isRichClientPlatform) { stringBuffer.append(TEXT_50); } else { stringBuffer.append(TEXT_51); } stringBuffer.append(TEXT_52); if (isRichClientPlatform) { stringBuffer.append(TEXT_53); } else { stringBuffer.append(TEXT_54); stringBuffer.append(importManager.getImportedName("org.eclipse.ui.dialogs.WizardNewFileCreationPage")); stringBuffer.append(TEXT_55); stringBuffer.append(genModel.getModelName()); stringBuffer.append(TEXT_56); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.widgets.Composite")); stringBuffer.append(TEXT_57); stringBuffer.append(importManager.getImportedName("org.eclipse.core.resources.IContainer")); stringBuffer.append(TEXT_58); stringBuffer.append(editorGen.getDiagramFileExtension()); stringBuffer.append(TEXT_59); stringBuffer.append(importManager.getImportedName("org.eclipse.core.runtime.Path")); stringBuffer.append(TEXT_60); stringBuffer.append(importManager.getImportedName("org.eclipse.core.runtime.Path")); stringBuffer.append(TEXT_61); stringBuffer.append(genModel.getModelName()); stringBuffer.append(TEXT_62); } stringBuffer.append(TEXT_63); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.resource.ResourceSet")); stringBuffer.append(TEXT_64); if (isRichClientPlatform) { stringBuffer.append(TEXT_65); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.util.URI")); stringBuffer.append(TEXT_66); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.resource.Resource")); stringBuffer.append(TEXT_67); } else { stringBuffer.append(TEXT_68); stringBuffer.append(importManager.getImportedName("org.eclipse.core.resources.IFile")); stringBuffer.append(TEXT_69); stringBuffer.append(importManager.getImportedName("org.eclipse.core.runtime.NullProgressMonitor")); stringBuffer.append(TEXT_70); stringBuffer.append(importManager.getImportedName("org.eclipse.core.runtime.CoreException")); stringBuffer.append(TEXT_71); stringBuffer.append(pluginActivatorClass); stringBuffer.append(TEXT_72); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.resource.Resource")); stringBuffer.append(TEXT_73); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.util.URI")); stringBuffer.append(TEXT_74); } stringBuffer.append(TEXT_75); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.command.AbstractCommand")); stringBuffer.append(TEXT_76); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.command.AbstractCommand")); stringBuffer.append(TEXT_77); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.Diagram")); stringBuffer.append(TEXT_78); stringBuffer.append(importManager.getImportedName(genDiagram.getVisualIDRegistryQualifiedClassName())); stringBuffer.append(TEXT_79); stringBuffer.append(importManager.getImportedName(genDiagram.getEditPartQualifiedClassName())); stringBuffer.append(TEXT_80); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.NotationFactory")); stringBuffer.append(TEXT_81); stringBuffer.append(importManager.getImportedName(genDiagram.getNotationViewFactoryQualifiedClassName())); stringBuffer.append(TEXT_82); if (editorGen.isSameFileForDiagramAndModel()) { stringBuffer.append(TEXT_83); } stringBuffer.append(TEXT_84); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.commands.WrappingCommand")); stringBuffer.append(TEXT_85); stringBuffer.append(importManager.getImportedName("java.util.Collections")); stringBuffer.append(TEXT_86); if (isRichClientPlatform) { stringBuffer.append(TEXT_87); stringBuffer.append(importManager.getImportedName("org.eclipse.ui.IEditorPart")); stringBuffer.append(TEXT_88); stringBuffer.append(importManager.getImportedName(genDiagram.getDiagramEditorUtilQualifiedClassName())); stringBuffer.append(TEXT_89); } else { stringBuffer.append(TEXT_90); stringBuffer.append(importManager.getImportedName("org.eclipse.ui.IEditorPart")); stringBuffer.append(TEXT_91); stringBuffer.append(importManager.getImportedName("org.eclipse.ui.ide.IDE")); stringBuffer.append(TEXT_92); } stringBuffer.append(TEXT_93); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.services.IDiagramLayouter")); stringBuffer.append(TEXT_94); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.services.IDiagramLayouter")); stringBuffer.append(TEXT_95); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.services.IDiagramLayouter")); stringBuffer.append(TEXT_96); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.GraphicalViewer")); stringBuffer.append(TEXT_97); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.GraphicalViewer")); stringBuffer.append(TEXT_98); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.GraphicalViewer")); stringBuffer.append(TEXT_99); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.command.Command")); stringBuffer.append(TEXT_100); stringBuffer.append(importManager.getImportedName("org.eclipse.gef.GraphicalEditPart")); stringBuffer.append(TEXT_101); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.commands.WrappingCommand")); stringBuffer.append(TEXT_102); stringBuffer.append(importManager.getImportedName("java.io.IOException")); stringBuffer.append(TEXT_103); if (isRichClientPlatform) { stringBuffer.append(TEXT_104); stringBuffer.append(pluginActivatorClass); stringBuffer.append(TEXT_105); } else { stringBuffer.append(TEXT_106); stringBuffer.append(pluginActivatorClass); stringBuffer.append(TEXT_107); stringBuffer.append(importManager.getImportedName("org.eclipse.ui.PartInitException")); stringBuffer.append(TEXT_108); stringBuffer.append(pluginActivatorClass); stringBuffer.append(TEXT_109); } stringBuffer.append(TEXT_110); stringBuffer.append(TEXT_111); stringBuffer.append(TEXT_112); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.Diagram")); stringBuffer.append(TEXT_113); stringBuffer.append(genDiagram.getUniqueIdentifier()); stringBuffer.append(TEXT_114); if(!genDiagram.getLinks().isEmpty()) { stringBuffer.append(TEXT_115); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.edit.parts.update.canonical.NaiveViewService")); stringBuffer.append(TEXT_116); stringBuffer.append(genDiagram.getUniqueIdentifier()); stringBuffer.append(TEXT_117); } stringBuffer.append(TEXT_118); final Comparator<GenContainerBase> comparator = new Comparator<GenContainerBase>() { public int compare(GenContainerBase o1, GenContainerBase o2) { return o1.getVisualID() - o2.getVisualID(); }};TreeSet<GenContainerBase> containers2Generate = new TreeSet<GenContainerBase>(comparator);for (Iterator containers = genDiagram.getAllContainers().iterator(); containers.hasNext();) { GenContainerBase nextContainer = (GenContainerBase) containers.next(); if (!nextContainer.getContainedNodes().isEmpty()) { containers2Generate.add(nextContainer); continue; } if (nextContainer instanceof GenDiagram) { containers2Generate.add(nextContainer); continue; } if (nextContainer instanceof GenNode) { //May need to generate if contains compartments with children for(Iterator compartments = ((GenNode) nextContainer).getCompartments().iterator(); compartments.hasNext(); ) { GenCompartment nextCompartment = (GenCompartment) compartments.next(); if (!nextCompartment.getContainedNodes().isEmpty()) { containers2Generate.add(nextContainer); break; } } }}for (Iterator<GenContainerBase> containers = containers2Generate.iterator(); containers.hasNext();) { GenContainerBase nextContainer = containers.next(); stringBuffer.append(TEXT_119); stringBuffer.append(nextContainer.getUniqueIdentifier()); stringBuffer.append(TEXT_120); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.View")); stringBuffer.append(TEXT_121); if (nextContainer instanceof GenNode) { boolean shouldIterateOverCompartments = false; for(Iterator compartments = ((GenNode) nextContainer).getCompartments().iterator(); compartments.hasNext(); ) { GenCompartment nextCompartment = (GenCompartment) compartments.next(); if (!nextCompartment.getContainedNodes().isEmpty()) { shouldIterateOverCompartments = true; break; } } if (shouldIterateOverCompartments) { stringBuffer.append(TEXT_122); stringBuffer.append(importManager.getImportedName("java.util.Iterator")); stringBuffer.append(TEXT_123); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.View")); stringBuffer.append(TEXT_124); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.View")); stringBuffer.append(TEXT_125); stringBuffer.append(importManager.getImportedName(genDiagram.getVisualIDRegistryQualifiedClassName())); stringBuffer.append(TEXT_126); for(Iterator compartments = ((GenNode) nextContainer).getCompartments().iterator(); compartments.hasNext(); ) { GenCompartment nextCompartment = (GenCompartment) compartments.next(); if (nextCompartment.getContainedNodes().isEmpty()) { continue; } stringBuffer.append(TEXT_127); stringBuffer.append(importManager.getImportedName(nextCompartment.getEditPartQualifiedClassName())); stringBuffer.append(TEXT_128); stringBuffer.append(nextCompartment.getUniqueIdentifier()); stringBuffer.append(TEXT_129); } stringBuffer.append(TEXT_130); } } stringBuffer.append(TEXT_131); stringBuffer.append(importManager.getImportedName("java.util.List")); stringBuffer.append(TEXT_132); stringBuffer.append(nextContainer.getUniqueIdentifier()); stringBuffer.append(TEXT_133); stringBuffer.append(importManager.getImportedName("java.util.Iterator")); stringBuffer.append(TEXT_134); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.edit.parts.update.canonical.ElementDescriptor")); stringBuffer.append(TEXT_135); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.edit.parts.update.canonical.ElementDescriptor")); stringBuffer.append(TEXT_136); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.commands.CreateNotationalElementCommand")); stringBuffer.append(TEXT_137); stringBuffer.append(nextContainer.getUniqueIdentifier()); stringBuffer.append(TEXT_138); boolean shouldIterateToGenerate = false; for(Iterator containedNodes = nextContainer.getContainedNodes().iterator(); containedNodes.hasNext(); ) { GenNode nextNode = (GenNode) containedNodes.next(); if (containers2Generate.contains(nextNode)) { shouldIterateToGenerate = true; break; } } if (shouldIterateToGenerate) { stringBuffer.append(TEXT_139); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.View")); stringBuffer.append(TEXT_140); for(Iterator containedNodes = nextContainer.getContainedNodes().iterator(); containedNodes.hasNext(); ) { GenNode nextNode = (GenNode) containedNodes.next(); if (containers2Generate.contains(nextNode)) { stringBuffer.append(TEXT_141); stringBuffer.append(importManager.getImportedName(nextNode.getEditPartQualifiedClassName())); stringBuffer.append(TEXT_142); stringBuffer.append(nextNode.getUniqueIdentifier()); stringBuffer.append(TEXT_143); } } stringBuffer.append(TEXT_144); } stringBuffer.append(TEXT_145); stringBuffer.append(importManager.getImportedName("java.util.List")); stringBuffer.append(TEXT_146); stringBuffer.append(nextContainer.getUniqueIdentifier()); stringBuffer.append(TEXT_147); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.View")); stringBuffer.append(TEXT_148); { String _getViewCode = "parentView"; List childNodes = nextContainer.getContainedNodes(); stringBuffer.append(TEXT_149); if (childNodes.size() == 0) { stringBuffer.append(TEXT_150); stringBuffer.append(importManager.getImportedName("java.util.Collections")); stringBuffer.append(TEXT_151); } else { stringBuffer.append(TEXT_152); stringBuffer.append(importManager.getImportedName("java.util.List")); stringBuffer.append(TEXT_153); stringBuffer.append(importManager.getImportedName("java.util.LinkedList")); stringBuffer.append(TEXT_154); Map genFeature2genNodeMap = new LinkedHashMap(); for (int nodeIndex = 0; nodeIndex < childNodes.size(); nodeIndex++) { GenNode nextNode = (GenNode) childNodes.get(nodeIndex); TypeModelFacet typeModelFacet = nextNode.getModelFacet(); if (typeModelFacet == null) { continue; } GenFeature childMetaFeature = typeModelFacet.getChildMetaFeature(); if (!genFeature2genNodeMap.containsKey(childMetaFeature)) { genFeature2genNodeMap.put(childMetaFeature, new ArrayList()); } ((Collection) genFeature2genNodeMap.get(childMetaFeature)).add(nextNode); } Set entrySet = genFeature2genNodeMap.entrySet(); if (entrySet.size() > 0) { stringBuffer.append(TEXT_155); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.View")); stringBuffer.append(TEXT_156); stringBuffer.append(_getViewCode); stringBuffer.append(TEXT_157); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_158); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_159); } for (Iterator entries = entrySet.iterator(); entries.hasNext();) { Map.Entry nextEntry = (Map.Entry) entries.next(); GenFeature childMetaFeature = (GenFeature) nextEntry.getKey(); Collection genNodesCollection = (Collection) nextEntry.getValue(); if (childMetaFeature.isListType()) { stringBuffer.append(TEXT_160); stringBuffer.append(importManager.getImportedName("java.util.Iterator")); stringBuffer.append(TEXT_161); myFeatureGetAccessorHelper.appendFeatureValueGetter("modelObject", childMetaFeature, null, true); stringBuffer.append(TEXT_162); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_163); } else { stringBuffer.append(TEXT_164); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_165); myFeatureGetAccessorHelper.appendFeatureValueGetter("modelObject", childMetaFeature, null, false); stringBuffer.append(TEXT_166); } stringBuffer.append(TEXT_167); stringBuffer.append(importManager.getImportedName(genDiagram.getVisualIDRegistryQualifiedClassName())); stringBuffer.append(TEXT_168); boolean generateSwitch = genNodesCollection.size() != 1; if (generateSwitch) { stringBuffer.append(TEXT_169); } for (Iterator genNodesIterator = genNodesCollection.iterator(); genNodesIterator.hasNext();) { GenNode nextNode = (GenNode) genNodesIterator.next(); if (generateSwitch) { stringBuffer.append(TEXT_170); stringBuffer.append(importManager.getImportedName(nextNode.getEditPartQualifiedClassName())); stringBuffer.append(TEXT_171); } else { stringBuffer.append(TEXT_172); stringBuffer.append(importManager.getImportedName(nextNode.getEditPartQualifiedClassName())); stringBuffer.append(TEXT_173); } stringBuffer.append(TEXT_174); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.edit.parts.update.canonical.ElementDescriptor")); stringBuffer.append(TEXT_175); if (generateSwitch) { stringBuffer.append(TEXT_176); } else { stringBuffer.append(TEXT_177); } } if (generateSwitch) { stringBuffer.append(TEXT_178); } if (childMetaFeature.isListType()) { stringBuffer.append(TEXT_179); }} stringBuffer.append(TEXT_180); } } stringBuffer.append(TEXT_181); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.commands.CreateNotationalElementCommand")); stringBuffer.append(TEXT_182); stringBuffer.append(nextContainer.getUniqueIdentifier()); stringBuffer.append(TEXT_183); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.View")); stringBuffer.append(TEXT_184); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.edit.parts.update.canonical.ElementDescriptor")); stringBuffer.append(TEXT_185); { String _parentNode = "parentView"; List childNodes = nextContainer.getContainedNodes(); boolean isListLayout; if (nextContainer instanceof GenNode) { isListLayout = !org.eclipse.gmf.codegen.gmfgen.util.ViewmapLayoutTypeHelper.getSharedInstance().isStoringChildPositions((GenNode) nextContainer); } else if (nextContainer instanceof GenCompartment) { isListLayout = ((GenCompartment) nextContainer).isListLayout(); } else if (nextContainer instanceof GenDiagram) { isListLayout = false; } else { throw new RuntimeException("Unexpected container"); } stringBuffer.append(TEXT_186); stringBuffer.append(TEXT_187); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_188); for (Iterator it = childNodes.iterator(); it.hasNext(); ) { GenNode nextNode = (GenNode) it.next(); TypeModelFacet typeModelFacet = nextNode.getModelFacet(); if (typeModelFacet == null) { continue; } String childNodeInterfaceName = importManager.getImportedName(nextNode.getDomainMetaClass().getQualifiedInterfaceName()); stringBuffer.append(TEXT_189); stringBuffer.append(importManager.getImportedName(nextNode.getEditPartQualifiedClassName())); stringBuffer.append(TEXT_190); stringBuffer.append(childNodeInterfaceName); stringBuffer.append(TEXT_191); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.commands.CreateNotationalNodeCommand")); stringBuffer.append(TEXT_192); stringBuffer.append(_parentNode); stringBuffer.append(TEXT_193); if (!isListLayout) { int defaultWidth = 40; int defaultHeight = 40; DefaultSizeAttributes defSizeAttrs = (DefaultSizeAttributes) nextNode.getViewmap().find(DefaultSizeAttributes.class); if (defSizeAttrs != null) { defaultWidth = defSizeAttrs.getWidth(); defaultHeight = defSizeAttrs.getHeight(); } stringBuffer.append(TEXT_194); stringBuffer.append(importManager.getImportedName("org.eclipse.draw2d.geometry.Rectangle")); stringBuffer.append(TEXT_195); stringBuffer.append(defaultWidth); stringBuffer.append(TEXT_196); stringBuffer.append(defaultHeight); stringBuffer.append(TEXT_197); } else { stringBuffer.append(TEXT_198); } stringBuffer.append(TEXT_199); stringBuffer.append(importManager.getImportedName(nextNode.getNotationViewFactoryQualifiedClassName())); stringBuffer.append(TEXT_200); } stringBuffer.append(TEXT_201); } stringBuffer.append(TEXT_202); }class LinksCollection { private Collection<GenLink> myTypeModelFacetLinks = new LinkedList<GenLink>(); private Collection<GenLink> myFeatureModelFacetLinks = new LinkedList<GenLink>(); public void add(GenLink link) { if (link.getModelFacet() instanceof TypeLinkModelFacet) { myTypeModelFacetLinks.add(link); } else if (link.getModelFacet() instanceof FeatureLinkModelFacet) { myFeatureModelFacetLinks.add(link); } } public Iterator<GenLink> getContainedTypeModelFacetLinks() { return myTypeModelFacetLinks.iterator(); } public Iterator<GenLink> getContainedFeatureModelFacetLinks() { return myFeatureModelFacetLinks.iterator(); }}class CreateChildLinkElements { private TreeMap<GenContainerBase, LinksCollection> myElements; public CreateChildLinkElements() { myElements = new TreeMap<GenContainerBase, LinksCollection>(comparator); } public void add(GenContainerBase o, GenLink link) { buildAncestors(o); myElements.get(o).add(link); } private void buildAncestors(GenContainerBase o) { if (!myElements.containsKey(o)) { LinksCollection elements = new LinksCollection(); myElements.put(o, elements); addAncestors(o); } } private void addAncestors(GenContainerBase o) { if (o instanceof GenCompartment) { GenCompartment compartment = (GenCompartment) o; buildAncestors(compartment.getNode()); } else if (o instanceof GenTopLevelNode) { GenTopLevelNode node = (GenTopLevelNode) o; buildAncestors(node.getDiagram()); } else if (o instanceof GenChildNode) { GenChildNode node = (GenChildNode) o; for(Iterator it = node.getContainers().iterator(); it.hasNext(); ) { GenContainerBase next = (GenContainerBase) it.next(); buildAncestors(next); } } } public boolean contains(GenContainerBase o) { return myElements.containsKey(o); } public Iterator<Map.Entry<GenContainerBase, LinksCollection>> iterator() { return myElements.entrySet().iterator(); }}if (!genDiagram.getLinks().isEmpty()) { CreateChildLinkElements linkContainers2Generate = new CreateChildLinkElements(); //No need to explicitly add diagram, since we build the whole hierarchy up. for(Iterator links = genDiagram.getLinks().iterator(); links.hasNext(); ) { GenLink next = (GenLink) links.next(); GenClass containerClass; LinkModelFacet nextModelFacet = next.getModelFacet(); if (nextModelFacet instanceof TypeLinkModelFacet) { TypeLinkModelFacet modelFacet = (TypeLinkModelFacet) next.getModelFacet(); if (modelFacet.getSourceMetaFeature() == null && modelFacet.getTargetMetaFeature() == null) { //if one link feature is null, the element is treated as this end of the link. If both are null, we cannot do anything about such a link. containerClass = null; } else { containerClass = modelFacet.getContainmentMetaFeature().getGenClass(); } } else if (nextModelFacet instanceof FeatureLinkModelFacet) { GenFeature metaFeature = ((FeatureModelFacet) next.getModelFacet()).getMetaFeature(); containerClass = metaFeature.getGenClass(); } else { continue; } for (Iterator nodes = genDiagram.getAllNodes().iterator(); nodes.hasNext(); ) { GenNode nextNode = (GenNode) nodes.next(); if (containerClass.getEcoreClass().isSuperTypeOf(nextNode.getDomainMetaClass().getEcoreClass())) { linkContainers2Generate.add(nextNode, next); } } } for(Iterator<Map.Entry<GenContainerBase, LinksCollection>> entryIt = linkContainers2Generate.iterator(); entryIt.hasNext(); ) { Map.Entry<GenContainerBase, LinksCollection> next = entryIt.next(); GenContainerBase nextContainer = next.getKey(); LinksCollection linksCollection = next.getValue(); Iterator<GenLink> typeModelFacetLinks = linksCollection.getContainedTypeModelFacetLinks(); Iterator<GenLink> featureModelFacetLinks = linksCollection.getContainedFeatureModelFacetLinks(); stringBuffer.append(TEXT_203); stringBuffer.append(nextContainer.getUniqueIdentifier()); stringBuffer.append(TEXT_204); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.View")); stringBuffer.append(TEXT_205); if (typeModelFacetLinks.hasNext() || featureModelFacetLinks.hasNext()) { stringBuffer.append(TEXT_206); stringBuffer.append(importManager.getImportedName("java.util.List")); stringBuffer.append(TEXT_207); stringBuffer.append(nextContainer.getUniqueIdentifier()); stringBuffer.append(TEXT_208); stringBuffer.append(importManager.getImportedName("java.util.Iterator")); stringBuffer.append(TEXT_209); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.edit.parts.update.canonical.LinkDescriptor")); stringBuffer.append(TEXT_210); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.edit.parts.update.canonical.LinkDescriptor")); stringBuffer.append(TEXT_211); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.commands.CreateNotationalElementCommand")); stringBuffer.append(TEXT_212); stringBuffer.append(nextContainer.getUniqueIdentifier()); stringBuffer.append(TEXT_213); } boolean shouldIterateToGenerate = false; Collection childElements = new ArrayList(nextContainer.getContainedNodes()); if (nextContainer instanceof GenNode) { childElements.addAll(((GenNode) nextContainer).getCompartments()); } for(Iterator childrenIterator = childElements.iterator(); childrenIterator.hasNext(); ) { GenContainerBase nextChild = (GenContainerBase) childrenIterator.next(); if (linkContainers2Generate.contains(nextChild)) { shouldIterateToGenerate = true; break; } } if (shouldIterateToGenerate) { stringBuffer.append(TEXT_214); stringBuffer.append(importManager.getImportedName("java.util.Iterator")); stringBuffer.append(TEXT_215); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.View")); stringBuffer.append(TEXT_216); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.View")); stringBuffer.append(TEXT_217); stringBuffer.append(importManager.getImportedName(genDiagram.getVisualIDRegistryQualifiedClassName())); stringBuffer.append(TEXT_218); for(Iterator childrenIterator = childElements.iterator(); childrenIterator.hasNext(); ) { GenContainerBase nextChild = (GenContainerBase) childrenIterator.next(); if (!linkContainers2Generate.contains(nextChild)) { continue; } stringBuffer.append(TEXT_219); stringBuffer.append(importManager.getImportedName(nextChild.getEditPartQualifiedClassName())); stringBuffer.append(TEXT_220); stringBuffer.append(nextChild.getUniqueIdentifier()); stringBuffer.append(TEXT_221); } stringBuffer.append(TEXT_222); } stringBuffer.append(TEXT_223); if (typeModelFacetLinks.hasNext() || featureModelFacetLinks.hasNext()) { stringBuffer.append(TEXT_224); stringBuffer.append(importManager.getImportedName("java.util.List")); stringBuffer.append(TEXT_225); stringBuffer.append(nextContainer.getUniqueIdentifier()); stringBuffer.append(TEXT_226); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.View")); stringBuffer.append(TEXT_227); { String _getViewCode = "parentView"; List childNodes = nextContainer.getContainedNodes(); Iterator<GenLink> _containedTypeModelFacetLinks = linksCollection.getContainedTypeModelFacetLinks();; Iterator<GenLink> _containedFeatureModelFacetLinks = linksCollection.getContainedFeatureModelFacetLinks();; stringBuffer.append(TEXT_228); stringBuffer.append(TEXT_229); stringBuffer.append(importManager.getImportedName("java.util.List")); stringBuffer.append(TEXT_230); stringBuffer.append(importManager.getImportedName("java.util.LinkedList")); stringBuffer.append(TEXT_231); Map genFeature2genLinkMap = new LinkedHashMap();for(Iterator it = _containedTypeModelFacetLinks; it.hasNext(); ) { GenLink genLink = (GenLink)it.next(); TypeLinkModelFacet modelFacet = (TypeLinkModelFacet) genLink.getModelFacet(); GenFeature metaFeature = modelFacet.getChildMetaFeature(); if (!genFeature2genLinkMap.containsKey(metaFeature)) { genFeature2genLinkMap.put(metaFeature, new ArrayList()); } ((Collection) genFeature2genLinkMap.get(metaFeature)).add(genLink);}Map genFeature2featureGenLinkMap = new LinkedHashMap();for(Iterator it = _containedFeatureModelFacetLinks; it.hasNext(); ) { GenLink genLink = (GenLink)it.next(); GenFeature metaFeature = ((FeatureModelFacet) genLink.getModelFacet()).getMetaFeature(); if (!genFeature2featureGenLinkMap.containsKey(metaFeature)) { genFeature2featureGenLinkMap.put(metaFeature, new ArrayList()); } ((Collection) genFeature2featureGenLinkMap.get(metaFeature)).add(genLink);}if (!genFeature2genLinkMap.isEmpty() || !genFeature2featureGenLinkMap.isEmpty()) { stringBuffer.append(TEXT_232); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_233); stringBuffer.append(_getViewCode); stringBuffer.append(TEXT_234); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_235); }if (!genFeature2genLinkMap.isEmpty()) { stringBuffer.append(TEXT_236); }for (Iterator entries = genFeature2genLinkMap.entrySet().iterator(); entries.hasNext();) { Map.Entry nextEntry = (Map.Entry) entries.next(); GenFeature metaFeature = (GenFeature) nextEntry.getKey(); Collection genLinksCollection = (Collection) nextEntry.getValue(); if (metaFeature.isListType()) { stringBuffer.append(TEXT_237); stringBuffer.append(importManager.getImportedName("java.util.Iterator")); stringBuffer.append(TEXT_238); myFeatureGetAccessorHelper.appendFeatureValueGetter("modelObject", metaFeature, null, true); stringBuffer.append(TEXT_239); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_240); } else { stringBuffer.append(TEXT_241); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_242); myFeatureGetAccessorHelper.appendFeatureValueGetter("modelObject", metaFeature, null, false); stringBuffer.append(TEXT_243); } stringBuffer.append(TEXT_244); stringBuffer.append(importManager.getImportedName(genDiagram.getVisualIDRegistryQualifiedClassName())); stringBuffer.append(TEXT_245); boolean generateSwitch = genLinksCollection.size() != 1; if (generateSwitch) { stringBuffer.append(TEXT_246); } for (Iterator genLinksIterator = genLinksCollection.iterator(); genLinksIterator.hasNext(); ) { GenLink nextLink = (GenLink) genLinksIterator.next(); TypeLinkModelFacet modelFacet = (TypeLinkModelFacet) nextLink.getModelFacet(); if (generateSwitch) { stringBuffer.append(TEXT_247); stringBuffer.append(importManager.getImportedName(nextLink.getEditPartQualifiedClassName())); stringBuffer.append(TEXT_248); } else { stringBuffer.append(TEXT_249); stringBuffer.append(importManager.getImportedName(nextLink.getEditPartQualifiedClassName())); stringBuffer.append(TEXT_250); } if (modelFacet.getSourceMetaFeature() != null) { stringBuffer.append(TEXT_251); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_252); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_253); myFeatureGetAccessorHelper.appendFeatureValueGetter("nextValue", modelFacet.getSourceMetaFeature(), null, false); stringBuffer.append(TEXT_254); } else { stringBuffer.append(TEXT_255); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_256); stringBuffer.append(_getViewCode); stringBuffer.append(TEXT_257); } if (modelFacet.getTargetMetaFeature() != null) { stringBuffer.append(TEXT_258); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_259); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_260); myFeatureGetAccessorHelper.appendFeatureValueGetter("nextValue", modelFacet.getTargetMetaFeature(), null, false); stringBuffer.append(TEXT_261); } else { stringBuffer.append(TEXT_262); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_263); stringBuffer.append(_getViewCode); stringBuffer.append(TEXT_264); } stringBuffer.append(TEXT_265); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.edit.parts.update.canonical.LinkDescriptor")); stringBuffer.append(TEXT_266); if (generateSwitch) { stringBuffer.append(TEXT_267); } else { stringBuffer.append(TEXT_268); } } //iterate over genLinksCollection if (generateSwitch) { stringBuffer.append(TEXT_269); } if (metaFeature.isListType()) { stringBuffer.append(TEXT_270); }}for (Iterator entries = genFeature2featureGenLinkMap.entrySet().iterator(); entries.hasNext();) { Map.Entry nextEntry = (Map.Entry) entries.next(); GenFeature metaFeature = (GenFeature) nextEntry.getKey(); Collection genLinksCollection = (Collection) nextEntry.getValue(); if (metaFeature.isListType()) { stringBuffer.append(TEXT_271); stringBuffer.append(importManager.getImportedName("java.util.Iterator")); stringBuffer.append(TEXT_272); myFeatureGetAccessorHelper.appendFeatureValueGetter("modelObject", metaFeature, null, true); stringBuffer.append(TEXT_273); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_274); } else { stringBuffer.append(TEXT_275); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_276); myFeatureGetAccessorHelper.appendFeatureValueGetter("modelObject", metaFeature, null, false); stringBuffer.append(TEXT_277); } stringBuffer.append(TEXT_278); for (Iterator genLinksIterator = genLinksCollection.iterator(); genLinksIterator.hasNext(); ) { GenLink nextLink = (GenLink) genLinksIterator.next(); stringBuffer.append(TEXT_279); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.edit.parts.update.canonical.LinkDescriptor")); stringBuffer.append(TEXT_280); stringBuffer.append(importManager.getImportedName(nextLink.getEditPartQualifiedClassName())); stringBuffer.append(TEXT_281); } stringBuffer.append(TEXT_282); if (metaFeature.isListType()) { stringBuffer.append(TEXT_283); }} stringBuffer.append(TEXT_284); } stringBuffer.append(TEXT_285); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.commands.CreateNotationalElementCommand")); stringBuffer.append(TEXT_286); stringBuffer.append(nextContainer.getUniqueIdentifier()); stringBuffer.append(TEXT_287); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.View")); stringBuffer.append(TEXT_288); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.edit.parts.update.canonical.LinkDescriptor")); stringBuffer.append(TEXT_289); { String _diagramCode = "parentView.getDiagram()"; Iterator<GenLink> _containedTypeModelFacetLinks = linksCollection.getContainedTypeModelFacetLinks();; Iterator<GenLink> _containedFeatureModelFacetLinks = linksCollection.getContainedFeatureModelFacetLinks();; stringBuffer.append(TEXT_290); stringBuffer.append(TEXT_291); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.View")); stringBuffer.append(TEXT_292); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.View")); stringBuffer.append(TEXT_293); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.services.IViewDecorator")); stringBuffer.append(TEXT_294); for(Iterator it = _containedTypeModelFacetLinks; it.hasNext(); ) { GenLink nextLink = (GenLink) it.next(); TypeLinkModelFacet modelFacet = (TypeLinkModelFacet) nextLink.getModelFacet(); if (modelFacet == null) { continue; } stringBuffer.append(TEXT_295); stringBuffer.append(importManager.getImportedName(nextLink.getEditPartQualifiedClassName())); stringBuffer.append(TEXT_296); stringBuffer.append(importManager.getImportedName(modelFacet.getMetaClass().getQualifiedInterfaceName())); stringBuffer.append(TEXT_297); stringBuffer.append(importManager.getImportedName(nextLink.getNotationViewFactoryQualifiedClassName())); stringBuffer.append(TEXT_298); } for(Iterator it = _containedFeatureModelFacetLinks; it.hasNext(); ) { GenLink nextLink = (GenLink) it.next(); stringBuffer.append(TEXT_299); stringBuffer.append(importManager.getImportedName(nextLink.getEditPartQualifiedClassName())); stringBuffer.append(TEXT_300); stringBuffer.append(importManager.getImportedName(nextLink.getNotationViewFactoryQualifiedClassName())); stringBuffer.append(TEXT_301); } stringBuffer.append(TEXT_302); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.commands.CreateNotationalEdgeCommand")); stringBuffer.append(TEXT_303); stringBuffer.append(_diagramCode); stringBuffer.append(TEXT_304); } stringBuffer.append(TEXT_305); } }}if(!genDiagram.getLinks().isEmpty()) { stringBuffer.append(TEXT_306); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.edit.parts.update.canonical.IViewService")); stringBuffer.append(TEXT_307); stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.lite.edit.parts.update.canonical.IViewService")); stringBuffer.append(TEXT_308); } stringBuffer.append(TEXT_309); if (isRichClientPlatform) { stringBuffer.append(TEXT_310); stringBuffer.append(importManager.getImportedName("org.eclipse.jface.wizard.WizardPage")); stringBuffer.append(TEXT_311); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.widgets.Text")); stringBuffer.append(TEXT_312); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.widgets.Composite")); stringBuffer.append(TEXT_313); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.widgets.Composite")); stringBuffer.append(TEXT_314); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.widgets.Composite")); stringBuffer.append(TEXT_315); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.SWT")); stringBuffer.append(TEXT_316); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridLayout")); stringBuffer.append(TEXT_317); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridLayout")); stringBuffer.append(TEXT_318); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_319); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_320); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_321); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_322); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.widgets.Label")); stringBuffer.append(TEXT_323); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.widgets.Label")); stringBuffer.append(TEXT_324); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.SWT")); stringBuffer.append(TEXT_325); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_326); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_327); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_328); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.widgets.Composite")); stringBuffer.append(TEXT_329); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.widgets.Composite")); stringBuffer.append(TEXT_330); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.SWT")); stringBuffer.append(TEXT_331); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_332); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_333); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_334); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridLayout")); stringBuffer.append(TEXT_335); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridLayout")); stringBuffer.append(TEXT_336); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.widgets.Text")); stringBuffer.append(TEXT_337); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.SWT")); stringBuffer.append(TEXT_338); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_339); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_340); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_341); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.widgets.Button")); stringBuffer.append(TEXT_342); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.widgets.Button")); stringBuffer.append(TEXT_343); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.SWT")); stringBuffer.append(TEXT_344); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.events.SelectionAdapter")); stringBuffer.append(TEXT_345); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.events.SelectionEvent")); stringBuffer.append(TEXT_346); stringBuffer.append(importManager.getImportedName(genDiagram.getDiagramEditorUtilQualifiedClassName())); stringBuffer.append(TEXT_347); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.SWT")); stringBuffer.append(TEXT_348); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.events.ModifyListener")); stringBuffer.append(TEXT_349); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.events.ModifyListener")); stringBuffer.append(TEXT_350); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.events.ModifyEvent")); stringBuffer.append(TEXT_351); stringBuffer.append(importManager.getImportedName("java.io.File")); stringBuffer.append(TEXT_352); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.util.URI")); stringBuffer.append(TEXT_353); stringBuffer.append(importManager.getImportedName("java.io.File")); stringBuffer.append(TEXT_354); stringBuffer.append(importManager.getImportedName("java.io.File")); stringBuffer.append(TEXT_355); stringBuffer.append(importManager.getImportedName("java.io.File")); stringBuffer.append(TEXT_356); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.util.URI")); stringBuffer.append(TEXT_357); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.util.URI")); stringBuffer.append(TEXT_358); stringBuffer.append(editorGen.getDomainFileExtension()); stringBuffer.append(TEXT_359); stringBuffer.append(importManager.getImportedName("java.io.File")); stringBuffer.append(TEXT_360); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.util.URI")); stringBuffer.append(TEXT_361); stringBuffer.append(editorGen.getDiagramFileExtension()); stringBuffer.append(TEXT_362); stringBuffer.append(editorGen.getDomainGenModel().getModelName()); stringBuffer.append(TEXT_363); stringBuffer.append(editorGen.getDiagramFileExtension()); stringBuffer.append(TEXT_364); stringBuffer.append(importManager.getImportedName("java.io.File")); stringBuffer.append(TEXT_365); stringBuffer.append(importManager.getImportedName("java.io.File")); stringBuffer.append(TEXT_366); stringBuffer.append(importManager.getImportedName("java.io.File")); stringBuffer.append(TEXT_367); stringBuffer.append(importManager.getImportedName("java.io.File")); stringBuffer.append(TEXT_368); stringBuffer.append(importManager.getImportedName("java.io.File")); stringBuffer.append(TEXT_369); stringBuffer.append(importManager.getImportedName("java.io.File")); stringBuffer.append(TEXT_370); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.util.URI")); stringBuffer.append(TEXT_371); stringBuffer.append(importManager.getImportedName("java.io.File")); stringBuffer.append(TEXT_372); } stringBuffer.append(TEXT_373); stringBuffer.append(importManager.getImportedName("org.eclipse.jface.wizard.WizardPage")); stringBuffer.append(TEXT_374); stringBuffer.append(importManager.getImportedName("org.eclipse.jface.viewers.ISelectionChangedListener")); stringBuffer.append(TEXT_375); if (isRichClientPlatform) { stringBuffer.append(TEXT_376); stringBuffer.append(importManager.getImportedName("org.eclipse.jface.viewers.TreeViewer")); stringBuffer.append(TEXT_377); } stringBuffer.append(TEXT_378); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.widgets.Composite")); stringBuffer.append(TEXT_379); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.widgets.Composite")); stringBuffer.append(TEXT_380); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.widgets.Composite")); stringBuffer.append(TEXT_381); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.SWT")); stringBuffer.append(TEXT_382); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridLayout")); stringBuffer.append(TEXT_383); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_384); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_385); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_386); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.widgets.Composite")); stringBuffer.append(TEXT_387); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.widgets.Composite")); stringBuffer.append(TEXT_388); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.widgets.Composite")); stringBuffer.append(TEXT_389); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.SWT")); stringBuffer.append(TEXT_390); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_391); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_392); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridLayout")); stringBuffer.append(TEXT_393); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridLayout")); stringBuffer.append(TEXT_394); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.widgets.Label")); stringBuffer.append(TEXT_395); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.widgets.Label")); stringBuffer.append(TEXT_396); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.SWT")); stringBuffer.append(TEXT_397); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_398); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_399); final String treeViewer = isRichClientPlatform ? "myTreeViewer" : "treeViewer"; stringBuffer.append(TEXT_400); if (!isRichClientPlatform){ stringBuffer.append(importManager.getImportedName("org.eclipse.jface.viewers.TreeViewer")); stringBuffer.append(TEXT_401); } stringBuffer.append(treeViewer); stringBuffer.append(TEXT_402); stringBuffer.append(importManager.getImportedName("org.eclipse.jface.viewers.TreeViewer")); stringBuffer.append(TEXT_403); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.SWT")); stringBuffer.append(TEXT_404); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.SWT")); stringBuffer.append(TEXT_405); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.SWT")); stringBuffer.append(TEXT_406); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.SWT")); stringBuffer.append(TEXT_407); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_408); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_409); stringBuffer.append(importManager.getImportedName("org.eclipse.swt.layout.GridData")); stringBuffer.append(TEXT_410); stringBuffer.append(treeViewer); stringBuffer.append(TEXT_411); stringBuffer.append(treeViewer); stringBuffer.append(TEXT_412); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.ui.provider.AdapterFactoryContentProvider")); stringBuffer.append(TEXT_413); stringBuffer.append(pluginActivatorClass); stringBuffer.append(TEXT_414); stringBuffer.append(treeViewer); stringBuffer.append(TEXT_415); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider")); stringBuffer.append(TEXT_416); stringBuffer.append(pluginActivatorClass); stringBuffer.append(TEXT_417); if (!isRichClientPlatform) { stringBuffer.append(TEXT_418); stringBuffer.append(treeViewer); stringBuffer.append(TEXT_419); stringBuffer.append(treeViewer); stringBuffer.append(TEXT_420); stringBuffer.append(importManager.getImportedName("org.eclipse.jface.viewers.StructuredSelection")); stringBuffer.append(TEXT_421); } stringBuffer.append(TEXT_422); stringBuffer.append(treeViewer); stringBuffer.append(TEXT_423); if (isRichClientPlatform) { stringBuffer.append(TEXT_424); stringBuffer.append(treeViewer); stringBuffer.append(TEXT_425); stringBuffer.append(importManager.getImportedName("org.eclipse.jface.viewers.StructuredSelection")); stringBuffer.append(TEXT_426); } stringBuffer.append(TEXT_427); stringBuffer.append(importManager.getImportedName("org.eclipse.jface.viewers.SelectionChangedEvent")); stringBuffer.append(TEXT_428); stringBuffer.append(importManager.getImportedName("org.eclipse.jface.viewers.IStructuredSelection")); stringBuffer.append(TEXT_429); stringBuffer.append(importManager.getImportedName("org.eclipse.jface.viewers.IStructuredSelection")); stringBuffer.append(TEXT_430); stringBuffer.append(importManager.getImportedName("org.eclipse.jface.viewers.IStructuredSelection")); stringBuffer.append(TEXT_431); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.provider.IWrapperItemProvider")); stringBuffer.append(TEXT_432); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.edit.provider.IWrapperItemProvider")); stringBuffer.append(TEXT_433); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); stringBuffer.append(TEXT_434); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.util.FeatureMap")); stringBuffer.append(TEXT_435); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_436); stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject")); stringBuffer.append(TEXT_437); stringBuffer.append(importManager.getImportedName(genDiagram.getEditPartQualifiedClassName())); stringBuffer.append(TEXT_438); stringBuffer.append(importManager.getImportedName(genDiagram.getVisualIDRegistryQualifiedClassName())); stringBuffer.append(TEXT_439); importManager.emitSortedImports(); stringBuffer.append(TEXT_440); return stringBuffer.toString(); }
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, 63, 5717, 1237, 25146, 20, 15533, 6385, 6164, 2610, 17175, 1930, 1318, 273, 261, 5010, 2610, 17175, 13, 14015, 921, 63, 5717, 1237, 25146, 21, 15533, 6385, 10938, 6946, 3908, 4858, 7642, 273, 3157, 14058, 1940, 18, 588, 6946, 7642, 5621, 6385, 10938, 1488, 3157, 1488, 273, 4858, 7642, 18, 588, 3748, 7642, 1488, 5621, 6385, 514, 1909, 12241, 639, 797, 273, 1930, 1318, 18, 588, 24934, 461, 12, 9177, 7642, 18, 588, 3773, 7675, 588, 12241, 639, 8708, 3834, 10663, 6385, 1250, 353, 22591, 1227, 8201, 273, 3157, 14058, 1940, 18, 588, 6946, 7642, 7675, 588, 3748, 7642, 1488, 7675, 291, 22591, 1227, 8201, 5621, 565, 533, 1892, 18, 6923, 12, 5151, 67, 21, 1769, 565, 514, 22245, 1528, 273, 3157, 14058, 1940, 18, 588, 6946, 7642, 7675, 588, 2951, 4083, 1528, 5621, 430, 261, 29187, 1528, 480, 446, 597, 22245, 1528, 18, 5290, 7675, 2469, 1435, 405, 374, 13, 288, 565, 533, 1892, 18, 6923, 12, 5151, 67, 22, 1769, 565, 533, 1892, 18, 6923, 12, 29187, 1528, 18, 2079, 1595, 31458, 82, 3113, 1548, 82, 380, 9369, 1769, 565, 533, 1892, 18, 6923, 12, 5151, 67, 23, 1769, 565, 289, 565, 1930, 1318, 18, 18356, 2261, 3406, 12, 1080, 1892, 1769, 5666, 1318, 18, 3355, 5010, 2735, 12, 1080, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 63, 5717, 1237, 25146, 20, 15533, 6385, 6164, 2610, 17175, 1930, 1318, 273, 261, 5010, 2610, 17175, 13, 14015, 921, 63, 5717, 1237, 25146, 21, 15533, 6385, 10938, 6946, 3908, 4858, 7642, 273, 3157, 14058, 1940, 18, 588, 6946, 7642, 5621, 6385, 10938, 1488, 3157, 1488, 273, 4858, 7642, 18, 588, 3748, 7642, 1488, 5621, 6385, 514, 1909, 12241, 639, 797, 273, 1930, 1318, 18, 588, 24934, 461, 12, 9177, 7642, 18, 588, 3773, 7675, 588, 12241, 639, 8708, 3834, 10663, 6385, 1250, 353, 2 ]
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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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, 8204, 23, 1105, 8642, 2643, 3462, 8148, 25, 2313, 48, 16, 21856, 48, 16, 374, 48, 16, 374, 48, 16, 374, 48, 20451, 202, 202, 2463, 501, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 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, 8204, 23, 1105, 8642, 2643, 3462, 8148, 25, 2313, 48, 16, 21856, 48, 16, 374, 48, 16, 374, 48, 16, 374, 48, 20451, 202, 202, 2463, 501, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
try
VersionRange versionRange = VersionRange.createFromVersionSpec( plugin.getVersion() ); List remoteRepositories = new ArrayList(); remoteRepositories.addAll( project.getPluginArtifactRepositories() ); remoteRepositories.addAll( project.getRemoteArtifactRepositories() ); checkRequiredMavenVersion( plugin, localRepository, remoteRepositories ); Artifact pluginArtifact = artifactFactory.createPluginArtifact( plugin.getGroupId(), plugin.getArtifactId(), versionRange ); pluginArtifact = project.replaceWithActiveArtifact( pluginArtifact ); artifactResolver.resolve( pluginArtifact, project.getPluginArtifactRepositories(), localRepository ); if ( !pluginArtifact.isResolved() )
private PluginDescriptor verifyVersionedPlugin( Plugin plugin, MavenProject project, ArtifactRepository localRepository ) throws PluginVersionResolutionException, PluginManagerException, ArtifactNotFoundException, ArtifactResolutionException { // TODO: this might result in an artifact "RELEASE" being resolved continuously // FIXME: need to find out how a plugin gets marked as 'installed' // and no ChildContainer exists. The check for that below fixes // the 'Can't find plexus container for plugin: xxx' error. if ( !pluginCollector.isPluginInstalled( plugin ) || container.getChildContainer( plugin.getKey() ) == null ) { try { VersionRange versionRange = VersionRange.createFromVersionSpec( plugin.getVersion() ); List remoteRepositories = new ArrayList(); remoteRepositories.addAll( project.getPluginArtifactRepositories() ); remoteRepositories.addAll( project.getRemoteArtifactRepositories() ); checkRequiredMavenVersion( plugin, localRepository, remoteRepositories ); Artifact pluginArtifact = artifactFactory.createPluginArtifact( plugin.getGroupId(), plugin.getArtifactId(), versionRange ); addPlugin( plugin, pluginArtifact, project, localRepository ); project.addPlugin( plugin ); } catch ( ArtifactNotFoundException e ) { String groupId = plugin.getGroupId(); String artifactId = plugin.getArtifactId(); String version = plugin.getVersion(); if ( groupId == null || artifactId == null || version == null ) { throw new PluginNotFoundException( e ); } else if ( groupId.equals( e.getGroupId() ) && artifactId.equals( e.getArtifactId() ) && version.equals( e.getVersion() ) && "maven-plugin".equals( e.getType() ) ) { throw new PluginNotFoundException( e ); } else { throw e; } } catch ( InvalidVersionSpecificationException e ) { throw new PluginVersionResolutionException( plugin.getGroupId(), plugin.getArtifactId(), "Invalid version specification", e ); } } return pluginCollector.getPluginDescriptor( plugin ); }
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, 3990, 16, 3639, 14022, 11098, 503, 565, 288, 3639, 368, 2660, 30, 333, 4825, 563, 316, 392, 6462, 315, 30762, 6, 3832, 4640, 17235, 715, 3639, 368, 9852, 30, 1608, 358, 1104, 596, 3661, 279, 1909, 5571, 9350, 487, 296, 13435, 11, 3639, 368, 471, 1158, 7451, 2170, 1704, 18, 1021, 866, 364, 716, 5712, 24436, 3639, 368, 326, 296, 2568, 1404, 1104, 293, 4149, 407, 1478, 364, 1909, 30, 23354, 11, 555, 18, 3639, 309, 261, 401, 4094, 7134, 18, 291, 3773, 16747, 12, 1909, 262, 747, 1478, 18, 588, 1763, 2170, 12, 1909, 18, 588, 653, 1435, 262, 422, 446, 262, 3639, 288, 5411, 4049, 2655, 1177, 2655, 273, 4049, 2655, 18, 2640, 1265, 1444, 1990, 12, 1909, 18, 588, 1444, 1435, 11272, 225, 987, 2632, 18429, 273, 394, 2407, 5621, 2632, 18429, 18, 1289, 1595, 12, 1984, 18, 588, 3773, 7581, 18429, 1435, 11272, 2632, 18429, 18, 1289, 1595, 12, 1984, 18, 588, 5169, 7581, 18429, 1435, 11272, 225, 31221, 49, 7638, 1444, 12, 1909, 16, 1191, 3305, 16, 2632, 18429, 11272, 225, 14022, 1909, 7581, 273, 6462, 1733, 18, 2640, 3773, 7581, 12, 1909, 18, 588, 8722, 9334, 1909, 18, 588, 7581, 548, 9334, 1177, 2655, 11272, 225, 1909, 7581, 273, 1984, 18, 2079, 1190, 3896, 7581, 12, 1909, 7581, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3990, 16, 3639, 14022, 11098, 503, 565, 288, 3639, 368, 2660, 30, 333, 4825, 563, 316, 392, 6462, 315, 30762, 6, 3832, 4640, 17235, 715, 3639, 368, 9852, 30, 1608, 358, 1104, 596, 3661, 279, 1909, 5571, 9350, 487, 296, 13435, 11, 3639, 368, 471, 1158, 7451, 2170, 1704, 18, 1021, 866, 364, 716, 5712, 24436, 3639, 368, 326, 296, 2568, 1404, 1104, 293, 4149, 407, 1478, 364, 1909, 30, 23354, 11, 555, 18, 3639, 309, 261, 401, 4094, 7134, 18, 291, 3773, 16747, 12, 1909, 2 ]
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.setSourceLine(strstart); errorHandler.handleError(IErrors.COMPILE_ERROR, position, Messages.getString("unterminated_string")); //$NON-NLS-1$ return 0; } if (c == '\\') { c = nextc(); switch (c) { case '\n' : continue; case '\\' : c = '\\'; break; default : // fall through if (c == closeQuote || (openQuote != 0 && c == openQuote)) { stringToken.append((char) c); continue; } stringToken.append('\\'); } } if (openQuote != 0) { if (c == openQuote) { nest++; } if (c == closeQuote && nest-- == 0) { break; } } stringToken.append((char) c); } lexState = LexState.EXPR_END; yaccValue = stringToken.toString(); return Token.tSTRING; }
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, 202, 474, 15095, 273, 374, 31, 202, 202, 759, 509, 609, 1937, 273, 22155, 18, 588, 1830, 1670, 5621, 202, 202, 780, 1892, 533, 1345, 273, 394, 6674, 5621, 202, 202, 17523, 14015, 71, 273, 1024, 71, 10756, 480, 1746, 10257, 747, 15095, 405, 374, 13, 288, 1082, 202, 430, 261, 71, 422, 300, 21, 13, 288, 9506, 202, 759, 22155, 18, 542, 1830, 1670, 12, 701, 1937, 1769, 9506, 202, 1636, 1503, 18, 4110, 668, 12, 45, 4229, 18, 31075, 900, 67, 3589, 16, 1754, 16, 4838, 18, 588, 780, 2932, 318, 29133, 67, 1080, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 2463, 374, 31, 1082, 202, 97, 1082, 202, 430, 261, 71, 422, 5282, 13, 288, 9506, 202, 71, 273, 1024, 71, 5621, 9506, 202, 9610, 261, 71, 13, 288, 6862, 202, 3593, 2337, 82, 11, 294, 25083, 202, 17143, 31, 6862, 202, 3593, 5282, 294, 25083, 202, 71, 273, 5282, 31, 25083, 202, 8820, 31, 6862, 202, 1886, 294, 25083, 202, 759, 4159, 3059, 25083, 202, 430, 261, 71, 422, 1746, 10257, 747, 261, 3190, 10257, 480, 374, 597, 276, 422, 1696, 10257, 3719, 288, 6862, 1082, 202, 1080, 1345, 18, 6923, 12443, 3001, 13, 276, 1769, 6862, 1082, 202, 17143, 31, 25083, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 202, 474, 15095, 273, 374, 31, 202, 202, 759, 509, 609, 1937, 273, 22155, 18, 588, 1830, 1670, 5621, 202, 202, 780, 1892, 533, 1345, 273, 394, 6674, 5621, 202, 202, 17523, 14015, 71, 273, 1024, 71, 10756, 480, 1746, 10257, 747, 15095, 405, 374, 13, 288, 1082, 202, 430, 261, 71, 422, 300, 21, 13, 288, 9506, 202, 759, 22155, 18, 542, 1830, 1670, 12, 701, 1937, 1769, 9506, 202, 1636, 1503, 18, 4110, 668, 12, 45, 4229, 18, 31075, 900, 67, 2 ]
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.getDomain()) && u.getFile().startsWith(cookie.getPath()) && (exp == 0 || exp > now)) { org.apache.commons.httpclient.Cookie newCookie = new org.apache.commons.httpclient.Cookie(cookie.getDomain(), cookie.getName(), cookie.getValue(), cookie.getPath(), null, false); httpState.addCookie(newCookie); cookieHeader += cookie.getName() + "=" + cookie.getValue(); } }
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 ( host.endsWith(cookie.getDomain()) && u.getFile().startsWith(cookie.getPath()) && (exp == 0 || exp > now)) { org.apache.commons.httpclient.Cookie newCookie = new org.apache.commons.httpclient.Cookie(cookie.getDomain(), cookie.getName(), cookie.getValue(), cookie.getPath(), null, false); httpState.addCookie(newCookie); cookieHeader += cookie.getName() + "=" + cookie.getValue(); } } }
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; 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.getDomain()) && u.getFile().startsWith(cookie.getPath()) && (exp == 0 || exp > now)) { org.apache.commons.httpclient.Cookie newCookie = new org.apache.commons.httpclient.Cookie(cookie.getDomain(), cookie.getName(), cookie.getValue(), cookie.getPath(), null, false); httpState.addCookie(newCookie); cookieHeader += cookie.getName() + "=" + cookie.getValue(); // $NON-NLS-1$ } } return cookieHeader; }
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, 780, 3878, 1864, 273, 1408, 31, 368, 271, 3993, 17, 5106, 17, 21, 8, 202, 202, 780, 1479, 273, 4585, 397, 582, 18, 588, 2594, 5621, 368, 271, 3993, 17, 5106, 17, 21, 8, 9506, 202, 1884, 261, 474, 277, 273, 3878, 1318, 18, 588, 16089, 7675, 1467, 1435, 300, 404, 31, 277, 1545, 374, 31, 277, 413, 13, 288, 1082, 202, 6151, 3878, 273, 261, 6151, 13, 3878, 1318, 18, 588, 16089, 7675, 588, 12, 77, 2934, 588, 921, 620, 5621, 5411, 1525, 1329, 273, 3878, 18, 588, 14449, 5621, 5411, 1525, 2037, 273, 2332, 18, 2972, 28512, 1435, 342, 4336, 274, 1082, 202, 430, 261, 8417, 422, 446, 13, 9506, 202, 17143, 31, 1082, 202, 430, 261, 1479, 18, 5839, 1190, 12, 8417, 18, 588, 3748, 10756, 10792, 597, 582, 18, 29925, 7675, 17514, 1190, 12, 8417, 18, 588, 743, 10756, 5397, 597, 261, 2749, 422, 374, 747, 1329, 405, 2037, 3719, 288, 9506, 202, 3341, 18, 19211, 18, 6054, 87, 18, 2022, 2436, 676, 18, 6151, 394, 6151, 7734, 273, 394, 2358, 18, 19211, 18, 6054, 87, 18, 2022, 2436, 676, 18, 6151, 12, 8417, 18, 588, 3748, 9334, 3878, 18, 17994, 9334, 6862, 377, 3878, 18, 24805, 9334, 3878, 18, 588, 743, 9334, 446, 16, 629, 1769, 9506, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 780, 3878, 1864, 273, 1408, 31, 368, 271, 3993, 17, 5106, 17, 21, 8, 202, 202, 780, 1479, 273, 4585, 397, 582, 18, 588, 2594, 5621, 368, 271, 3993, 17, 5106, 17, 21, 8, 9506, 202, 1884, 261, 474, 277, 273, 3878, 1318, 18, 588, 16089, 7675, 1467, 1435, 300, 404, 31, 277, 1545, 374, 31, 277, 413, 13, 288, 1082, 202, 6151, 3878, 273, 261, 6151, 13, 3878, 1318, 18, 588, 16089, 7675, 588, 12, 77, 2934, 588, 921, 620, 5621, 5411, 1525, 2 ]
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, optInSlowD_MAType ); return retValue;}
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, 474, 3838, 382, 28733, 40, 67, 5027, 16, 9833, 67, 5535, 559, 3838, 382, 28733, 40, 67, 5535, 559, 15329, 474, 1349, 620, 31, 1349, 620, 28657, 3838, 382, 12305, 47, 67, 5027, 17, 21, 1769, 1349, 620, 15, 33, 5535, 67, 9794, 823, 12, 3838, 382, 28733, 47, 67, 5027, 16, 3838, 382, 28733, 47, 67, 5535, 559, 1769, 1349, 620, 15, 33, 5535, 67, 9794, 823, 12, 3838, 382, 28733, 40, 67, 5027, 16, 3838, 382, 28733, 40, 67, 5535, 559, 1769, 2463, 1349, 620, 31, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 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, 474, 3838, 382, 28733, 40, 67, 5027, 16, 9833, 67, 5535, 559, 3838, 382, 28733, 40, 67, 5535, 559, 15329, 474, 1349, 620, 31, 1349, 620, 28657, 3838, 382, 12305, 47, 67, 5027, 17, 21, 1769, 1349, 620, 15, 33, 5535, 67, 9794, 823, 12, 3838, 382, 28733, 47, 67, 5027, 16, 3838, 382, 28733, 47, 67, 5535, 559, 1769, 1349, 620, 15, 33, 5535, 67, 9794, 823, 12, 3838, 382, 28733, 40, 67, 5027, 16, 3838, 382, 28733, 40, 67, 5535, 559, 2 ]
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) { histo[bin]++; } } return histo; } if (dSeries != null) { for (int i=0; i< dSeries.length; i++) { bin = (int)Math.floor((dSeries[i]-start)/width); if (bin >= 0 && bin < number) { histo[bin]++; } } return histo; } return new int[0]; }
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]++; } // end of if (bin >= 0 && bin < number) } // end of for (int i=0; i< iSeries.length; i++) return histo; } 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]++; } // end of if (bin >= 0 && bin < number) } // end of for (int i=0; i< iSeries.length; i++) 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) { histo[bin]++; } // end of if (bin >= 0 && bin < number) } // end of for (int i=0; i< iSeries.length; i++) return histo; } if (dSeries != null) { for (int i=0; i< dSeries.length; i++) { bin = (int)Math.floor((dSeries[i]-start)/width); if (bin >= 0 && bin < number) { histo[bin]++; } // end of if (bin >= 0 && bin < number) } // end of for (int i=0; i< iSeries.length; i++) return histo; } return new int[0]; }
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, 480, 446, 13, 288, 3639, 364, 261, 474, 277, 33, 20, 31, 277, 32, 277, 6485, 18, 2469, 31, 277, 27245, 288, 3639, 4158, 273, 261, 474, 13, 10477, 18, 74, 5807, 12443, 77, 6485, 63, 77, 65, 17, 1937, 13176, 2819, 1769, 3639, 309, 261, 4757, 1545, 374, 597, 4158, 411, 1300, 13, 288, 5411, 5356, 83, 63, 4757, 3737, 15, 31, 3639, 289, 368, 679, 434, 309, 261, 4757, 1545, 374, 597, 4158, 411, 1300, 13, 3639, 289, 368, 679, 434, 364, 261, 474, 277, 33, 20, 31, 277, 32, 277, 6485, 18, 2469, 31, 277, 27245, 3639, 327, 5356, 83, 31, 565, 289, 565, 309, 261, 87, 6485, 480, 446, 13, 288, 3639, 364, 261, 474, 277, 33, 20, 31, 277, 32, 272, 6485, 18, 2469, 31, 277, 27245, 288, 3639, 4158, 273, 261, 474, 13, 10477, 18, 74, 5807, 12443, 87, 6485, 63, 77, 65, 17, 1937, 13176, 2819, 1769, 3639, 309, 261, 4757, 1545, 374, 597, 4158, 411, 1300, 13, 288, 5411, 5356, 83, 63, 4757, 3737, 15, 31, 3639, 289, 368, 679, 434, 309, 261, 4757, 1545, 374, 597, 4158, 411, 1300, 13, 3639, 289, 368, 679, 434, 364, 261, 474, 277, 33, 20, 31, 277, 32, 277, 6485, 18, 2469, 31, 277, 27245, 3639, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 480, 446, 13, 288, 3639, 364, 261, 474, 277, 33, 20, 31, 277, 32, 277, 6485, 18, 2469, 31, 277, 27245, 288, 3639, 4158, 273, 261, 474, 13, 10477, 18, 74, 5807, 12443, 77, 6485, 63, 77, 65, 17, 1937, 13176, 2819, 1769, 3639, 309, 261, 4757, 1545, 374, 597, 4158, 411, 1300, 13, 288, 5411, 5356, 83, 63, 4757, 3737, 15, 31, 3639, 289, 368, 679, 434, 309, 261, 4757, 1545, 374, 597, 4158, 411, 1300, 13, 3639, 289, 368, 679, 434, 2 ]
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 = (PdfDictionary) PdfReader.getPdfObject(filespec .get(PdfName.EF)); if (ef == null) return; PdfString fn = (PdfString) PdfReader.getPdfObject(filespec .get(PdfName.F)); System.out.println("Unpacking file '" + fn + "' to " + outPath); if (fn == null) return; File fLast = new File(fn.toUnicodeString()); File fullPath = new File(outPath, fLast.getName()); if (fullPath.exists()) return; PRStream prs = (PRStream) PdfReader.getPdfObject(ef.get(PdfName.F)); if (prs == null) return; byte b[] = PdfReader.getStreamBytes(prs); FileOutputStream fout = new FileOutputStream(fullPath); fout.write(b); fout.close(); } catch (Exception e) { } }
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, 31, 202, 202, 698, 288, 1082, 202, 18562, 461, 618, 273, 261, 18562, 461, 13, 9989, 2514, 18, 588, 18562, 921, 12, 2354, 705, 6862, 202, 18, 588, 12, 18562, 461, 18, 2399, 10019, 1082, 202, 430, 16051, 18562, 461, 18, 42, 18, 14963, 12, 723, 13, 597, 401, 18562, 461, 18, 12669, 10106, 18, 14963, 12, 723, 3719, 9506, 202, 2463, 31, 1082, 202, 18562, 10905, 20986, 273, 261, 18562, 10905, 13, 9989, 2514, 18, 588, 18562, 921, 12, 2354, 705, 6862, 202, 18, 588, 12, 18562, 461, 18, 26897, 10019, 1082, 202, 430, 261, 10241, 422, 446, 13, 9506, 202, 2463, 31, 1082, 202, 18562, 780, 2295, 273, 261, 18562, 780, 13, 9989, 2514, 18, 588, 18562, 921, 12, 2354, 705, 6862, 202, 18, 588, 12, 18562, 461, 18, 42, 10019, 1082, 202, 3163, 18, 659, 18, 8222, 2932, 23649, 310, 585, 2119, 397, 2295, 397, 2491, 358, 315, 397, 596, 743, 1769, 1082, 202, 430, 261, 4293, 422, 446, 13, 9506, 202, 2463, 31, 1082, 202, 812, 284, 3024, 273, 394, 1387, 12, 4293, 18, 869, 16532, 780, 10663, 1082, 202, 812, 11225, 273, 394, 1387, 12, 659, 743, 16, 284, 3024, 18, 17994, 10663, 1082, 202, 430, 261, 2854, 743, 18, 1808, 10756, 9506, 202, 2463, 31, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 31, 202, 202, 698, 288, 1082, 202, 18562, 461, 618, 273, 261, 18562, 461, 13, 9989, 2514, 18, 588, 18562, 921, 12, 2354, 705, 6862, 202, 18, 588, 12, 18562, 461, 18, 2399, 10019, 1082, 202, 430, 16051, 18562, 461, 18, 42, 18, 14963, 12, 723, 13, 597, 401, 18562, 461, 18, 12669, 10106, 18, 14963, 12, 723, 3719, 9506, 202, 2463, 31, 1082, 202, 18562, 10905, 20986, 273, 261, 18562, 10905, 13, 9989, 2514, 18, 588, 18562, 921, 12, 2354, 705, 6862, 2 ]
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 transformerFactory.newTransformer(); } catch( TransformerConfigurationException e ) { throw new RuntimeException( e ); } } // createTransformer()
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, 394, 2901, 18, 21668, 18, 87, 651, 265, 18, 8319, 1733, 2828, 5621, 5411, 368, 7835, 1221, 326, 394, 8360, 716, 1703, 3764, 18, 1377, 775, 288, 1850, 327, 8360, 1733, 18, 2704, 8319, 5621, 1377, 289, 1377, 1044, 12, 11519, 10737, 425, 262, 288, 1850, 604, 394, 3235, 12, 425, 11272, 1377, 289, 3639, 289, 368, 752, 8319, 1435, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 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, 394, 2901, 18, 21668, 18, 87, 651, 265, 18, 8319, 1733, 2828, 5621, 5411, 368, 7835, 1221, 326, 394, 8360, 716, 1703, 3764, 18, 1377, 775, 288, 1850, 327, 8360, 1733, 18, 2704, 8319, 5621, 1377, 289, 1377, 1044, 12, 11519, 10737, 425, 262, 288, 1850, 604, 394, 3235, 12, 425, 11272, 1377, 289, 3639, 289, 368, 752, 8319, 1435, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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.isWarnEnabled()) { log.warn("Child " + i + " is null in " + parent.getName()); } // FIXME: Maybe do a parent.setChildren with a new list that doesn't include // the null? continue; } if (kid.getClassName().equals(self.getClassName())) { if (kid.getType().equals(self.getType())) { if (kid.parameterCount() == self.parameterCount()) { // Then we better compare the parameters in turn. // As soon as we find one that differs, were OK. for (int j = 0; j < kid.parameterCount(); j++) { if (! kid.getParameter(j).equals(self.getParameter(j))) { isdiff = true; break; } } // loop over params // If we get here, we finished comparing the parameters // Either cause we broke out, and isdiff is true // Or we completely compared the child, and it is // identical. // If we did not mark this child as different, // then return true - it is the same if (! isdiff) return true; } // check param count } // check comp type } // check comp class } // loop over children // If we get here, we did not find any component that is identical return false; }
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, 5621, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2325, 18, 2469, 31, 277, 27245, 288, 1377, 1250, 353, 5413, 273, 629, 31, 1377, 5435, 751, 17395, 273, 2325, 63, 77, 15533, 1377, 309, 261, 79, 350, 422, 446, 13, 288, 202, 430, 261, 1330, 18, 291, 3160, 1526, 10756, 288, 202, 225, 613, 18, 8935, 2932, 1763, 315, 397, 277, 397, 315, 353, 446, 316, 315, 397, 982, 18, 17994, 10663, 202, 97, 202, 759, 9852, 30, 14024, 741, 279, 982, 18, 542, 4212, 598, 279, 394, 666, 716, 3302, 1404, 2341, 202, 759, 326, 446, 35, 202, 17143, 31, 1377, 289, 1377, 309, 261, 79, 350, 18, 588, 3834, 7675, 14963, 12, 2890, 18, 588, 3834, 1435, 3719, 288, 202, 430, 261, 79, 350, 18, 588, 559, 7675, 14963, 12, 2890, 18, 588, 559, 1435, 3719, 288, 202, 225, 309, 261, 79, 350, 18, 6775, 1380, 1435, 422, 365, 18, 6775, 1380, 10756, 288, 202, 565, 368, 9697, 732, 7844, 3400, 326, 1472, 316, 7005, 18, 202, 565, 368, 2970, 17136, 487, 732, 1104, 1245, 716, 21944, 16, 4591, 7791, 18, 202, 565, 364, 261, 474, 525, 273, 374, 31, 525, 411, 17395, 18, 6775, 1380, 5621, 525, 27245, 288, 202, 1377, 309, 16051, 17395, 18, 588, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5621, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2325, 18, 2469, 31, 277, 27245, 288, 1377, 1250, 353, 5413, 273, 629, 31, 1377, 5435, 751, 17395, 273, 2325, 63, 77, 15533, 1377, 309, 261, 79, 350, 422, 446, 13, 288, 202, 430, 261, 1330, 18, 291, 3160, 1526, 10756, 288, 202, 225, 613, 18, 8935, 2932, 1763, 315, 397, 277, 397, 315, 353, 446, 316, 315, 397, 982, 18, 17994, 10663, 202, 97, 202, 759, 9852, 30, 14024, 741, 279, 2 ]
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 BulkSplit split = new BulkSplit(nodes, minEntries, maxEntries); int splitAxis = split.splitAxis; int splitPoint = split.splitPoint; if (loggerLevel != Level.OFF) { msg.append("\nsplitAxis ").append(splitAxis); msg.append("\nsplitPoint ").append(splitPoint); } // sort in the right dimension final SpatialComparator comp = new SpatialComparator(); comp.setCompareDimension(splitAxis); comp.setComparisonValue(SpatialComparator.MIN); Arrays.sort(nodes, comp); // create node RTreeNode dirNode = createNewDirectoryNode(dirCapacity); file.writePage(dirNode); result.add(dirNode); // insert data for (int i = 0; i < splitPoint; i++) { dirNode.addNode(nodes[i]); } // copy array RTreeNode[] rest = new RTreeNode[nodes.length - splitPoint]; System.arraycopy(nodes, splitPoint, rest, 0, nodes.length - splitPoint); nodes = rest; if (loggerLevel != Level.OFF) { msg.append("\nrestl. nodes # ").append(nodes.length); } // write to file file.writePage(dirNode); if (loggerLevel != Level.OFF) { msg.append("\npageNo ").append(dirNode.getID()); logger.fine(msg.toString() + "\n"); } } logger.info("numDirPages " + result.size()); return result.toArray(new RTreeNode[result.size()]); }
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, 54, 12513, 34, 563, 273, 394, 2407, 32, 54, 12513, 34, 5621, 565, 1323, 261, 4690, 18, 2469, 405, 374, 13, 288, 1377, 6674, 1234, 273, 394, 6674, 5621, 1377, 368, 336, 326, 1416, 2654, 471, 1416, 1634, 1377, 18184, 5521, 1416, 273, 394, 18184, 5521, 12, 4690, 16, 1131, 5400, 16, 943, 5400, 1769, 1377, 509, 1416, 6558, 273, 1416, 18, 4939, 6558, 31, 1377, 509, 1416, 2148, 273, 1416, 18, 4939, 2148, 31, 1377, 309, 261, 9394, 13, 288, 3639, 1234, 18, 6923, 31458, 2387, 1127, 6558, 315, 2934, 6923, 12, 4939, 6558, 1769, 3639, 1234, 18, 6923, 31458, 2387, 1127, 2148, 315, 2934, 6923, 12, 4939, 2148, 1769, 1377, 289, 1377, 368, 1524, 316, 326, 2145, 4968, 1377, 727, 21874, 5559, 1161, 273, 394, 21874, 5559, 5621, 1377, 1161, 18, 542, 8583, 8611, 12, 4939, 6558, 1769, 1377, 1161, 18, 542, 16059, 620, 12, 24648, 5559, 18, 6236, 1769, 1377, 5647, 18, 3804, 12, 4690, 16, 1161, 1769, 1377, 368, 752, 756, 1377, 534, 12513, 1577, 907, 273, 15291, 2853, 907, 12, 1214, 7437, 1769, 1377, 585, 18, 2626, 1964, 12, 1214, 907, 1769, 1377, 563, 18, 1289, 12, 1214, 907, 1769, 1377, 368, 2243, 501, 1377, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1416, 2148, 31, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 54, 12513, 34, 563, 273, 394, 2407, 32, 54, 12513, 34, 5621, 565, 1323, 261, 4690, 18, 2469, 405, 374, 13, 288, 1377, 6674, 1234, 273, 394, 6674, 5621, 1377, 368, 336, 326, 1416, 2654, 471, 1416, 1634, 1377, 18184, 5521, 1416, 273, 394, 18184, 5521, 12, 4690, 16, 1131, 5400, 16, 943, 5400, 1769, 1377, 509, 1416, 6558, 273, 1416, 18, 4939, 6558, 31, 1377, 509, 1416, 2148, 273, 1416, 18, 4939, 2148, 31, 1377, 309, 261, 9394, 13, 288, 3639, 1234, 18, 2 ]
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; boolean clipped = false; boolean translated = false; try { gfx.setClip(clip.x, clip.y, clip.width, clip.height); clipped = true; gfx.translate(bounds.x, bounds.y); translated = true; visitor.visit(comp, gfx); } finally { if (translated) gfx.translate (-bounds.x, -bounds.y); if (clipped) gfx.setClip (oldClip.x, oldClip.y, oldClip.width, oldClip.height); } }
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, 30940, 18, 588, 15339, 5694, 5621, 565, 309, 261, 1673, 15339, 422, 446, 13, 1377, 1592, 15339, 273, 4972, 31, 565, 13264, 6807, 273, 1592, 15339, 18, 30231, 12, 10576, 1769, 565, 309, 261, 14161, 18, 291, 1921, 10756, 327, 31, 565, 1250, 26361, 273, 629, 31, 565, 1250, 9955, 273, 629, 31, 565, 775, 1377, 288, 3639, 30940, 18, 542, 15339, 12, 14161, 18, 92, 16, 6807, 18, 93, 16, 6807, 18, 2819, 16, 6807, 18, 4210, 1769, 3639, 26361, 273, 638, 31, 3639, 30940, 18, 13929, 12, 10576, 18, 92, 16, 4972, 18, 93, 1769, 3639, 9955, 273, 638, 31, 3639, 8000, 18, 11658, 12, 2919, 16, 30940, 1769, 1377, 289, 565, 3095, 1377, 288, 3639, 309, 261, 22899, 13, 1850, 30940, 18, 13929, 24927, 10576, 18, 92, 16, 300, 10576, 18, 93, 1769, 3639, 309, 261, 14161, 1845, 13, 1850, 30940, 18, 542, 15339, 261, 1673, 15339, 18, 92, 16, 1592, 15339, 18, 93, 16, 1592, 15339, 18, 2819, 16, 1592, 15339, 18, 4210, 1769, 1377, 289, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 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, 30940, 18, 588, 15339, 5694, 5621, 565, 309, 261, 1673, 15339, 422, 446, 13, 1377, 1592, 15339, 273, 4972, 31, 565, 13264, 6807, 273, 1592, 15339, 18, 30231, 12, 10576, 1769, 565, 309, 261, 14161, 18, 291, 1921, 10756, 327, 31, 565, 1250, 26361, 273, 629, 31, 565, 1250, 9955, 273, 629, 31, 565, 775, 1377, 288, 3639, 30940, 18, 542, 15339, 12, 14161, 18, 92, 16, 6807, 18, 93, 16, 6807, 18, 2819, 16, 6807, 18, 4210, 1769, 3639, 26361, 273, 638, 31, 3639, 2 ]
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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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(Math.min(row + 1,table.getItemCount() - 1), column, true); break; case SWT.ARROW_LEFT : case SWT.ARROW_RIGHT : { int leadKey = (getStyle() & SWT.RIGHT_TO_LEFT) != 0 ? SWT.ARROW_RIGHT : SWT.ARROW_LEFT; if (event.keyCode == leadKey) { setRowColumn(row, Math.max(0, column - 1), true); } else { setRowColumn(row, Math.min(table.getColumnCount() - 1, column + 1), true); } break; } case SWT.HOME : setRowColumn(0, column, true); break; case SWT.END : { int i = table.getItemCount() - 1; setRowColumn(i, column, true); break; } case SWT.PAGE_UP : { int index = table.getTopIndex(); if (index == row) { Rectangle rect = table.getClientArea(); TableItem item = table.getItem(index); Rectangle itemRect = item.getBounds(0); rect.height -= itemRect.y; int height = table.getItemHeight(); int page = Math.max(1, rect.height / height); index = Math.max(0, index - page + 1); } setRowColumn(index, column, true); break; } case SWT.PAGE_DOWN : { int index = table.getTopIndex(); Rectangle rect = table.getClientArea(); TableItem item = table.getItem(index); Rectangle itemRect = item.getBounds(0); rect.height -= itemRect.y; int height = table.getItemHeight(); int page = Math.max(1, rect.height / height); int end = table.getItemCount() - 1; index = Math.min(end, index + page - 1); if (index == row) { index = Math.min(end, index + page - 1); } setRowColumn(index, column, true); break; } }}
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, 1082, 202, 12336, 5583, 12, 55, 8588, 18, 1868, 6233, 16, 394, 2587, 10663, 1082, 202, 2463, 31, 202, 97, 202, 9610, 261, 2575, 18, 856, 1085, 13, 288, 202, 202, 3593, 348, 8588, 18, 985, 11226, 67, 3079, 294, 1082, 202, 542, 1999, 1494, 12, 10477, 18, 1896, 12, 20, 16, 1027, 300, 404, 3631, 1057, 16, 638, 1769, 1082, 202, 8820, 31, 202, 202, 3593, 348, 8588, 18, 985, 11226, 67, 12711, 294, 1082, 202, 542, 1999, 1494, 12, 10477, 18, 1154, 12, 492, 397, 404, 16, 2121, 18, 588, 30687, 1435, 300, 404, 3631, 1057, 16, 638, 1769, 1082, 202, 8820, 31, 3639, 648, 348, 8588, 18, 985, 11226, 67, 10066, 294, 3639, 648, 348, 8588, 18, 985, 11226, 67, 11847, 294, 540, 202, 95, 9506, 3639, 509, 5871, 653, 273, 261, 588, 2885, 1435, 473, 348, 8588, 18, 11847, 67, 4296, 67, 10066, 13, 480, 374, 692, 348, 8588, 18, 985, 11226, 67, 11847, 294, 348, 8588, 18, 985, 11226, 67, 10066, 31, 1082, 3639, 309, 261, 2575, 18, 856, 1085, 422, 5871, 653, 13, 288, 1082, 6647, 444, 1999, 1494, 12, 492, 16, 2361, 18, 1896, 12, 20, 16, 1057, 300, 404, 3631, 638, 1769, 1082, 3639, 289, 469, 288, 1082, 6647, 444, 1999, 1494, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1082, 202, 12336, 5583, 12, 55, 8588, 18, 1868, 6233, 16, 394, 2587, 10663, 1082, 202, 2463, 31, 202, 97, 202, 9610, 261, 2575, 18, 856, 1085, 13, 288, 202, 202, 3593, 348, 8588, 18, 985, 11226, 67, 3079, 294, 1082, 202, 542, 1999, 1494, 12, 10477, 18, 1896, 12, 20, 16, 1027, 300, 404, 3631, 1057, 16, 638, 1769, 1082, 202, 8820, 31, 202, 202, 3593, 348, 8588, 18, 985, 11226, 67, 12711, 294, 1082, 202, 542, 1999, 1494, 12, 10477, 2 ]
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(); trace.fillInStackTrace(); StringWriter message = new StringWriter(); PrintWriter pw = new PrintWriter(message); trace.printStackTrace(pw); pw.flush(); LOG.error("Attempt made to release the wrong connection - " + message.toString()); } }
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, 1459, 300, 5066, 310, 8863, 7734, 1487, 18, 12336, 5621, 5411, 289, 3639, 289, 469, 309, 261, 71, 480, 446, 13, 288, 5411, 1185, 2606, 273, 394, 1185, 5621, 5411, 2606, 18, 5935, 382, 6332, 5621, 5411, 17436, 883, 273, 394, 17436, 5621, 5411, 14071, 8772, 273, 394, 14071, 12, 2150, 1769, 5411, 2606, 18, 1188, 6332, 12, 14921, 1769, 5411, 8772, 18, 11330, 5621, 5411, 2018, 18, 1636, 2932, 7744, 7165, 358, 3992, 326, 7194, 1459, 300, 315, 397, 883, 18, 10492, 10663, 3639, 289, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 1459, 300, 5066, 310, 8863, 7734, 1487, 18, 12336, 5621, 5411, 289, 3639, 289, 469, 309, 261, 71, 480, 446, 13, 288, 5411, 1185, 2606, 273, 394, 1185, 5621, 5411, 2606, 18, 5935, 382, 6332, 5621, 5411, 17436, 883, 273, 394, 17436, 5621, 5411, 14071, 8772, 273, 394, 14071, 12, 2150, 1769, 5411, 2606, 18, 1188, 6332, 12, 14921, 1769, 5411, 8772, 18, 11330, 5621, 5411, 2018, 18, 1636, 2932, 7744, 7165, 358, 3992, 326, 7194, 1459, 300, 315, 397, 883, 18, 10492, 2 ]
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); loadDictionary(wordDictionaryFile.openStream(), false); loadCustomDictionaries(addendaUrlList); logger.info("Loading filler dictionary from: " + fillerDictionaryFile); loadDictionary(fillerDictionaryFile.openStream(), true); loadTimer.stop(); } }
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, 5411, 28187, 7363, 273, 394, 6847, 32, 780, 34, 5621, 5411, 1262, 6777, 18, 1937, 5621, 5411, 1194, 18, 1376, 2932, 10515, 3880, 628, 30, 315, 397, 2076, 10905, 812, 1769, 5411, 1262, 10905, 12, 1095, 10905, 812, 18, 3190, 1228, 9334, 629, 1769, 5411, 1262, 3802, 40, 14336, 12, 1289, 18883, 1489, 682, 1769, 13491, 1194, 18, 1376, 2932, 10515, 28187, 3880, 628, 30, 315, 397, 13491, 28187, 10905, 812, 1769, 5411, 1262, 10905, 12, 5935, 264, 10905, 812, 18, 3190, 1228, 9334, 638, 1769, 5411, 1262, 6777, 18, 5681, 5621, 3639, 289, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 5411, 28187, 7363, 273, 394, 6847, 32, 780, 34, 5621, 5411, 1262, 6777, 18, 1937, 5621, 5411, 1194, 18, 1376, 2932, 10515, 3880, 628, 30, 315, 397, 2076, 10905, 812, 1769, 5411, 1262, 10905, 12, 1095, 10905, 812, 18, 3190, 1228, 9334, 629, 1769, 5411, 1262, 3802, 40, 14336, 12, 1289, 18883, 1489, 682, 1769, 13491, 1194, 18, 1376, 2932, 10515, 28187, 3880, 628, 30, 315, 397, 13491, 28187, 10905, 812, 1769, 5411, 1262, 10905, 12, 5935, 264, 10905, 812, 18, 3190, 1228, 9334, 638, 1769, 2 ]
@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, 31, 368, 3411, 620, 18, 21053, 31, 565, 327, 7219, 67, 2271, 12, 3074, 16, 315, 16677, 7567, 55, 4571, 315, 397, 15165, 16, 1487, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 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, 31, 368, 3411, 620, 18, 21053, 31, 565, 327, 7219, 67, 2271, 12, 3074, 16, 315, 16677, 7567, 55, 4571, 315, 397, 15165, 16, 1487, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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(), repository.getCharacterEncoding())); int[] selected = product.getSelectionIndices(); for (int i = 0; i < selected.length; i++) { sb.append("&product="); sb.append(URLEncoder.encode(product.getItem(selected[i]), repository.getCharacterEncoding())); } selected = component.getSelectionIndices(); for (int i = 0; i < selected.length; i++) { sb.append("&component="); sb.append(URLEncoder.encode(component.getItem(selected[i]), repository.getCharacterEncoding())); } selected = version.getSelectionIndices(); for (int i = 0; i < selected.length; i++) { sb.append("&version="); sb.append(URLEncoder.encode(version.getItem(selected[i]), repository.getCharacterEncoding())); } selected = target.getSelectionIndices(); for (int i = 0; i < selected.length; i++) { sb.append("&target_milestone="); sb.append(URLEncoder.encode(target.getItem(selected[i]), repository.getCharacterEncoding())); } sb.append("&long_desc_type="); sb.append(patternOperationValues[commentOperation.getSelectionIndex()]); sb.append("&long_desc="); sb.append(URLEncoder.encode(commentPattern.getText(), repository.getCharacterEncoding())); selected = status.getSelectionIndices(); for (int i = 0; i < selected.length; i++) { sb.append("&bug_status="); sb.append(status.getItem(selected[i])); } selected = resolution.getSelectionIndices(); for (int i = 0; i < selected.length; i++) { sb.append("&resolution="); sb.append(resolution.getItem(selected[i])); } selected = severity.getSelectionIndices(); for (int i = 0; i < selected.length; i++) { sb.append("&bug_severity="); sb.append(severity.getItem(selected[i])); } selected = priority.getSelectionIndices(); for (int i = 0; i < selected.length; i++) { sb.append("&priority="); sb.append(priority.getItem(selected[i])); } selected = hardware.getSelectionIndices(); for (int i = 0; i < selected.length; i++) { sb.append("&ref_platform="); sb.append(URLEncoder.encode(hardware.getItem(selected[i]), repository.getCharacterEncoding())); } selected = os.getSelectionIndices(); for (int i = 0; i < selected.length; i++) { sb.append("&op_sys="); sb.append(URLEncoder.encode(os.getItem(selected[i]), repository.getCharacterEncoding())); } if (emailPattern.getText() != null) { for (int i = 0; i < emailButton.length; i++) { if (emailButton[i].getSelection()) { sb.append("&"); sb.append(emailRoleValues[i]); sb.append("=1"); } } sb.append("&emailtype1="); sb.append(emailOperationValues[emailOperation.getSelectionIndex()]); sb.append("&email1="); sb.append(URLEncoder.encode(emailPattern.getText(), repository.getCharacterEncoding())); } if (daysText.getText() != null && !daysText.getText().equals("")) { try { Integer.parseInt(daysText.getText()); sb.append("&changedin="); sb.append(URLEncoder.encode(daysText.getText(), repository.getCharacterEncoding())); } catch (NumberFormatException ignored) { // this means that the days is not a number, so don't worry } } return sb; }
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, 18, 6923, 12, 4951, 2988, 1972, 63, 7687, 2988, 18, 588, 6233, 1016, 1435, 19226, 202, 202, 18366, 18, 6923, 2932, 10, 6620, 67, 5569, 1546, 1769, 202, 202, 18366, 18, 6923, 12, 1785, 7204, 18, 3015, 12, 7687, 3234, 18, 588, 1528, 9334, 3352, 18, 588, 7069, 4705, 1435, 10019, 202, 202, 474, 8526, 3170, 273, 3017, 18, 588, 6233, 8776, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 3170, 18, 2469, 31, 277, 27245, 288, 1082, 202, 18366, 18, 6923, 2932, 10, 5896, 1546, 1769, 1082, 202, 18366, 18, 6923, 12, 1785, 7204, 18, 3015, 12, 5896, 18, 588, 1180, 12, 8109, 63, 77, 65, 3631, 3352, 18, 588, 7069, 4705, 1435, 10019, 202, 202, 97, 202, 202, 8109, 273, 1794, 18, 588, 6233, 8776, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 3170, 18, 2469, 31, 277, 27245, 288, 1082, 202, 18366, 18, 6923, 2932, 10, 4652, 1546, 1769, 1082, 202, 18366, 18, 6923, 12, 1785, 7204, 18, 3015, 12, 4652, 18, 588, 1180, 12, 8109, 63, 77, 65, 3631, 3352, 18, 588, 7069, 4705, 1435, 10019, 202, 202, 97, 202, 202, 8109, 273, 1177, 18, 588, 6233, 8776, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18, 6923, 12, 4951, 2988, 1972, 63, 7687, 2988, 18, 588, 6233, 1016, 1435, 19226, 202, 202, 18366, 18, 6923, 2932, 10, 6620, 67, 5569, 1546, 1769, 202, 202, 18366, 18, 6923, 12, 1785, 7204, 18, 3015, 12, 7687, 3234, 18, 588, 1528, 9334, 3352, 18, 588, 7069, 4705, 1435, 10019, 202, 202, 474, 8526, 3170, 273, 3017, 18, 588, 6233, 8776, 5621, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 3170, 18, 2469, 31, 277, 27245, 288, 1082, 202, 18366, 2 ]
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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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); textCutAction.updateEnabledState(); }
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, 1396, 15744, 12, 5150, 1803, 2223, 1769, 3639, 6391, 1803, 273, 1301, 31, 3639, 309, 261, 5150, 1803, 480, 446, 13, 5411, 6391, 1803, 18, 1289, 1396, 15744, 12, 5150, 1803, 2223, 1769, 3639, 977, 15812, 1803, 18, 2725, 1526, 1119, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 1396, 15744, 12, 5150, 1803, 2223, 1769, 3639, 6391, 1803, 273, 1301, 31, 3639, 309, 261, 5150, 1803, 480, 446, 13, 5411, 6391, 1803, 18, 1289, 1396, 15744, 12, 5150, 1803, 2223, 1769, 3639, 977, 15812, 1803, 18, 2725, 1526, 1119, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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( "exception.scale.null.location" ), //$NON-NLS-1$ new Object[]{ sc } ) ); } if ( oValue instanceof Double ) { return getLocation( sc, ( (Double) oValue ).doubleValue( ) ); } else if ( oValue instanceof Calendar ) { return getDateLocation( sc, new CDateTime( (Calendar) oValue ) ); } else if ( oValue instanceof NumberDataElement ) { return getLocation( sc, ( (NumberDataElement) oValue ).getValue( ) ); } else if ( oValue instanceof DateTimeDataElement ) { return getDateLocation( sc, ( (DateTimeDataElement) oValue ).getValueAsCDateTime( ) ); } /* * DefaultLoggerImpl.instance().log(ILogger.WARNING, "Unexpected data * type {0}[value={1}] specified" + oValue.getClass().getName() + oValue ); */// i18n_CONCATENATIONS_REMOVED return sc.getStart( ); // RETURNS THE START EDGE OF THE SCALE }
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, 95, 1082, 202, 12849, 394, 2754, 12, 17377, 18, 2139, 12, 19198, 18, 588, 3405, 12, 4838, 18, 28980, 16, 6862, 202, 1017, 18, 588, 1997, 950, 1042, 12, 262, 18, 588, 3916, 12, 262, 262, 6862, 202, 18, 588, 780, 12, 315, 4064, 18, 5864, 18, 2011, 18, 3562, 6, 262, 16, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 202, 2704, 1033, 63, 7073, 25083, 202, 1017, 6862, 202, 97, 262, 1082, 202, 1769, 202, 202, 97, 202, 202, 430, 261, 320, 620, 1276, 3698, 262, 202, 202, 95, 1082, 202, 2463, 13312, 12, 888, 16, 261, 261, 5265, 13, 320, 620, 262, 18, 9056, 620, 12, 262, 11272, 202, 202, 97, 202, 202, 12107, 309, 261, 320, 620, 1276, 5542, 262, 202, 202, 95, 1082, 202, 2463, 10713, 2735, 12, 888, 16, 394, 385, 5096, 12, 261, 7335, 13, 320, 620, 262, 11272, 202, 202, 97, 202, 202, 12107, 309, 261, 320, 620, 1276, 3588, 751, 1046, 262, 202, 202, 95, 1082, 202, 2463, 13312, 12, 888, 16, 261, 261, 1854, 751, 1046, 13, 320, 620, 262, 18, 24805, 12, 262, 11272, 202, 202, 97, 202, 202, 12107, 309, 261, 320, 620, 1276, 3716, 751, 1046, 262, 202, 202, 95, 1082, 202, 2463, 10713, 2735, 12, 888, 16, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 95, 1082, 202, 12849, 394, 2754, 12, 17377, 18, 2139, 12, 19198, 18, 588, 3405, 12, 4838, 18, 28980, 16, 6862, 202, 1017, 18, 588, 1997, 950, 1042, 12, 262, 18, 588, 3916, 12, 262, 262, 6862, 202, 18, 588, 780, 12, 315, 4064, 18, 5864, 18, 2011, 18, 3562, 6, 262, 16, 4329, 3993, 17, 5106, 17, 21, 8, 6862, 202, 2704, 1033, 63, 7073, 25083, 202, 1017, 6862, 202, 97, 262, 1082, 202, 1769, 202, 202, 97, 202, 202, 430, 261, 2 ]
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 | T42 | T43 | T44 | T45 | T46 | T47 | T48 | T49 | T50 | T51 | T52 | T53 | T54 | T55 | T56 | T57 | MISC | WS | EOL | INT | FLOAT | STRING | BOOL | ID | SH_STYLE_SINGLE_LINE_COMMENT | C_STYLE_SINGLE_LINE_COMMENT | MULTI_LINE_COMMENT ) int alt16=54; alt16 = dfa16.predict(input); if (failed) return ; switch (alt16) { case 1 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:10: T15 { mT15(); if (failed) return ; } break; case 2 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:14: T16 { mT16(); if (failed) return ; } break; case 3 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:18: T17 { mT17(); if (failed) return ; } break; case 4 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:22: T18 { mT18(); if (failed) return ; } break; case 5 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:26: T19 { mT19(); if (failed) return ; } break; case 6 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:30: T20 { mT20(); if (failed) return ; } break; case 7 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:34: T21 { mT21(); if (failed) return ; } break; case 8 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:38: T22 { mT22(); if (failed) return ; } break; case 9 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:42: T23 { mT23(); if (failed) return ; } break; case 10 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:46: T24 { mT24(); if (failed) return ; } break; case 11 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:50: T25 { mT25(); if (failed) return ; } break; case 12 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:54: T26 { mT26(); if (failed) return ; } break; case 13 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:58: T27 { mT27(); if (failed) return ; } break; case 14 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:62: T28 { mT28(); if (failed) return ; } break; case 15 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:66: T29 { mT29(); if (failed) return ; } break; case 16 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:70: T30 { mT30(); if (failed) return ; } break; case 17 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:74: T31 { mT31(); if (failed) return ; } break; case 18 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:78: T32 { mT32(); if (failed) return ; } break; case 19 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:82: T33 { mT33(); if (failed) return ; } break; case 20 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:86: T34 { mT34(); if (failed) return ; } break; case 21 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:90: T35 { mT35(); if (failed) return ; } break; case 22 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:94: T36 { mT36(); if (failed) return ; } break; case 23 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:98: T37 { mT37(); if (failed) return ; } break; case 24 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:102: T38 { mT38(); if (failed) return ; } break; case 25 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:106: T39 { mT39(); if (failed) return ; } break; case 26 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:110: T40 { mT40(); if (failed) return ; } break; case 27 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:114: T41 { mT41(); if (failed) return ; } break; case 28 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:118: T42 { mT42(); if (failed) return ; } break; case 29 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:122: T43 { mT43(); if (failed) return ; } break; case 30 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:126: T44 { mT44(); if (failed) return ; } break; case 31 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:130: T45 { mT45(); if (failed) return ; } break; case 32 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:134: T46 { mT46(); if (failed) return ; } break; case 33 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:138: T47 { mT47(); if (failed) return ; } break; case 34 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:142: T48 { mT48(); if (failed) return ; } break; case 35 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:146: T49 { mT49(); if (failed) return ; } break; case 36 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:150: T50 { mT50(); if (failed) return ; } break; case 37 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:154: T51 { mT51(); if (failed) return ; } break; case 38 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:158: T52 { mT52(); if (failed) return ; } break; case 39 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:162: T53 { mT53(); if (failed) return ; } break; case 40 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:166: T54 { mT54(); if (failed) return ; } break; case 41 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:170: T55 { mT55(); if (failed) return ; } break; case 42 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:174: T56 { mT56(); if (failed) return ; } break; case 43 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:178: T57 { mT57(); if (failed) return ; } break; case 44 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:182: MISC { mMISC(); if (failed) return ; } break; case 45 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:187: WS { mWS(); if (failed) return ; } break; case 46 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:190: EOL { mEOL(); if (failed) return ; } break; case 47 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:194: INT { mINT(); if (failed) return ; } break; case 48 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:198: FLOAT { mFLOAT(); if (failed) return ; } break; case 49 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:204: STRING { mSTRING(); if (failed) return ; } break; case 50 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:211: BOOL { mBOOL(); if (failed) return ; } break; case 51 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:216: ID { mID(); if (failed) return ; } break; case 52 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:219: SH_STYLE_SINGLE_LINE_COMMENT { mSH_STYLE_SINGLE_LINE_COMMENT(); if (failed) return ; } break; case 53 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:248: C_STYLE_SINGLE_LINE_COMMENT { mC_STYLE_SINGLE_LINE_COMMENT(); if (failed) return ; } break; case 54 : // C:\Projects\jboss-rules-new\drools-compiler\src\main\resources\org\drools\lang\drl.g:1:276: MULTI_LINE_COMMENT { mMULTI_LINE_COMMENT(); if (failed) return ; } break; } }
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, 4936, 64, 72, 1321, 18, 75, 30, 21, 30, 2163, 30, 261, 399, 3600, 571, 399, 2313, 571, 399, 4033, 571, 399, 2643, 571, 399, 3657, 571, 399, 3462, 571, 399, 5340, 571, 399, 3787, 571, 399, 4366, 571, 399, 3247, 571, 399, 2947, 571, 399, 5558, 571, 399, 5324, 571, 399, 6030, 571, 399, 5540, 571, 399, 5082, 571, 399, 6938, 571, 399, 1578, 571, 399, 3707, 571, 399, 5026, 571, 399, 4763, 571, 399, 5718, 571, 399, 6418, 571, 399, 7414, 571, 399, 5520, 571, 399, 7132, 571, 399, 9803, 571, 399, 9452, 571, 399, 8942, 571, 399, 6334, 571, 399, 7950, 571, 399, 8749, 571, 399, 9462, 571, 399, 8875, 571, 399, 7616, 571, 399, 3361, 571, 399, 10593, 571, 399, 9401, 571, 399, 8643, 571, 399, 6564, 571, 399, 2539, 571, 399, 4313, 571, 399, 10321, 571, 20806, 2312, 571, 7649, 571, 19995, 571, 6137, 571, 15483, 571, 9469, 571, 9784, 1741, 571, 1599, 571, 6122, 67, 15066, 67, 20184, 67, 5997, 67, 12200, 571, 385, 67, 15066, 67, 20184, 67, 5997, 67, 12200, 571, 27125, 67, 5997, 67, 12200, 262, 3639, 509, 3770, 2313, 33, 6564, 31, 3639, 3770, 2313, 273, 23074, 2313, 18, 14491, 12, 2630, 1769, 309, 261, 7307, 13, 327, 274, 3639, 1620, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4936, 64, 72, 1321, 18, 75, 30, 21, 30, 2163, 30, 261, 399, 3600, 571, 399, 2313, 571, 399, 4033, 571, 399, 2643, 571, 399, 3657, 571, 399, 3462, 571, 399, 5340, 571, 399, 3787, 571, 399, 4366, 571, 399, 3247, 571, 399, 2947, 571, 399, 5558, 571, 399, 5324, 571, 399, 6030, 571, 399, 5540, 571, 399, 5082, 571, 399, 6938, 571, 399, 1578, 571, 399, 3707, 571, 399, 5026, 571, 399, 4763, 571, 399, 5718, 571, 399, 6418, 571, 399, 7414, 2 ]
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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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; DatagramSocket send_sock; for(int i=0; i < args.length; i++) { if("-sender".equals(args[i])) { sender=true; continue; } if("-receiver".equals(args[i])) { sender=false; continue; } if("-config".equals(args[i])) { config=args[++i]; continue; } help(); return; } try { fileReader=new BufferedReader(new FileReader(config)); while((line=fileReader.readLine()) != null) { if(line.startsWith("#")) continue; else if(line.startsWith("NUM_MSGS=")) { num_msgs=Integer.parseInt(line.substring(line.indexOf('=') + 1, line.indexOf(';'))); } else if(line.startsWith("MSG_SIZE=")) { msg_size=Integer.parseInt(line.substring(line.indexOf('=') + 1, line.indexOf(';'))); } else if(line.startsWith("GRPMEMBERS=")) { grpMembers=Integer.parseInt(line.substring(line.indexOf('=') + 1, line.indexOf(';'))); } else if(line.startsWith("NUM_SENDERS=")) { num_senders=Integer.parseInt(line.substring(line.indexOf('=') + 1, line.indexOf(';'))); } else if(line.startsWith("LOG_INTERVAL=")) { log_interval=Long.parseLong(line.substring(line.indexOf('=') + 1, line.indexOf(';'))); } else if(line.startsWith("GNUPLOT_OUTPUT=")) { // only parse if not yet set by -Dgnuplot_output=true option (overrides file) if(System.getProperty("gnuplot_output") == null) { String gnuplot_output=line.substring(line.indexOf('=') + 1, line.indexOf(';')).trim(); if(gnuplot_output != null) System.setProperty("gnuplot_output", gnuplot_output); } } } fileReader.close(); System.out.println("Javagroups test:"); String s="Initial params parsing completed. Starting test" + " with these values:\n" + "Sender:" + sender + " num_msgs:" + num_msgs + " Size(bytes):" + msg_size + " # Mbrs:" + grpMembers + " Senders: " + num_senders + "\nLog interval: " + log_interval + '\n'; System.out.println(s); Logger.getLogger(Test.class).info("main(): " + s); recv_sock=new MulticastSocket(mcast_port); recv_sock.joinGroup(InetAddress.getByName(mcast_addr)); send_sock=new DatagramSocket(); new UdpTester(recv_sock, send_sock, sender, num_msgs, msg_size, grpMembers, num_senders, log_interval).initialize(); } catch(FileNotFoundException notFound) { log.error("File not found.\n" + notFound); } catch(IOException ioError) { log.error(ioError); } catch(Exception ex) { ex.printStackTrace(); } }
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, 818, 67, 27439, 33, 18088, 31, 3639, 509, 1234, 67, 1467, 33, 12483, 31, 3639, 509, 818, 67, 4661, 414, 33, 21, 31, 3639, 1525, 282, 613, 67, 6624, 33, 18088, 31, 3639, 7778, 12544, 4534, 10665, 67, 15031, 31, 3639, 6168, 17049, 4534, 225, 1366, 67, 15031, 31, 3639, 364, 12, 474, 277, 33, 20, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 5411, 309, 2932, 17, 15330, 9654, 14963, 12, 1968, 63, 77, 22643, 288, 7734, 5793, 33, 3767, 31, 7734, 1324, 31, 5411, 289, 5411, 309, 2932, 17, 24454, 9654, 14963, 12, 1968, 63, 77, 22643, 288, 7734, 5793, 33, 5743, 31, 7734, 1324, 31, 5411, 289, 5411, 309, 2932, 17, 1425, 9654, 14963, 12, 1968, 63, 77, 22643, 288, 7734, 642, 33, 1968, 63, 9904, 77, 15533, 7734, 1324, 31, 5411, 289, 5411, 2809, 5621, 5411, 327, 31, 3639, 289, 3639, 775, 288, 5411, 585, 2514, 33, 2704, 10633, 12, 2704, 23010, 12, 1425, 10019, 5411, 1323, 12443, 1369, 33, 768, 2514, 18, 896, 1670, 10756, 480, 446, 13, 288, 7734, 309, 12, 1369, 18, 17514, 1190, 2932, 17133, 3719, 10792, 1324, 31, 7734, 469, 309, 12, 1369, 18, 17514, 1190, 2932, 6069, 67, 11210, 55, 1546, 3719, 288, 10792, 818, 67, 27439, 33, 4522, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 818, 67, 27439, 33, 18088, 31, 3639, 509, 1234, 67, 1467, 33, 12483, 31, 3639, 509, 818, 67, 4661, 414, 33, 21, 31, 3639, 1525, 282, 613, 67, 6624, 33, 18088, 31, 3639, 7778, 12544, 4534, 10665, 67, 15031, 31, 3639, 6168, 17049, 4534, 225, 1366, 67, 15031, 31, 3639, 364, 12, 474, 277, 33, 20, 31, 277, 411, 833, 18, 2469, 31, 277, 27245, 288, 5411, 309, 2932, 17, 15330, 9654, 14963, 12, 1968, 63, 77, 22643, 288, 7734, 5793, 33, 3767, 2 ]
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, 7734, 1086, 4709, 12, 313, 1769, 5411, 289, 1044, 12, 503, 431, 13, 288, 7734, 431, 18, 1188, 6332, 5621, 5411, 289, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 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, 7734, 1086, 4709, 12, 313, 1769, 5411, 289, 1044, 12, 503, 431, 13, 288, 7734, 431, 18, 1188, 6332, 5621, 5411, 289, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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.parseInt( size ) + 1; } if ( handle instanceof GroupHandle ) { handle = handle.getContainer( ); } } Object fontSizeValue = getModelFontSize( handle ); if ( fontSizeValue instanceof DimensionValue ) { int size = getFontSizeIntValue( handle.getContainer( ) ); return (int) CSSUtil.convertToPoint( fontSizeValue, size ) + 1; } else if ( fontSizeValue instanceof String ) { String fontSize = (String) fontSizeValue; if ( fontSize.equals( DesignChoiceConstants.FONT_SIZE_LARGER ) ) { return getLargerFontSizeIntValue( handle.getContainer( ) ); } else if ( fontSize.equals( DesignChoiceConstants.FONT_SIZE_SMALLER ) ) { return getSmallerFontSizeIntValue( handle.getContainer( ) ); } else { for ( int i = 0; i < DesignerConstants.fontSizes.length - 1; i++ ) { if ( fontSize.equals( DesignerConstants.fontSizes[i][0] ) ) { return Integer .parseInt( DesignerConstants.fontSizes[i + 1][1] ); } } return Integer .parseInt( DesignerConstants.fontSizes[DesignerConstants.fontSizes.length - 1][1] ); } } else { // return 10 + 1. String size = (String) DesignerConstants.fontMap .get( DesignChoiceConstants.FONT_SIZE_MEDIUM ); return Integer.parseInt( size ) + 1; } }
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, 202, 430, 261, 1640, 1276, 5924, 3259, 262, 1082, 202, 95, 9506, 202, 759, 327, 1728, 18, 9506, 202, 780, 963, 273, 261, 780, 13, 29703, 264, 2918, 18, 5776, 863, 25083, 202, 18, 588, 12, 29703, 10538, 2918, 18, 25221, 67, 4574, 67, 15971, 2799, 11272, 9506, 202, 2463, 2144, 18, 2670, 1702, 12, 963, 262, 397, 404, 31, 1082, 202, 97, 1082, 202, 430, 261, 1640, 1276, 3756, 3259, 262, 1082, 202, 95, 9506, 202, 4110, 273, 1640, 18, 588, 2170, 12, 11272, 1082, 202, 97, 202, 202, 97, 202, 202, 921, 16746, 620, 273, 7454, 22688, 12, 1640, 11272, 202, 202, 430, 261, 16746, 620, 1276, 13037, 620, 262, 202, 202, 95, 1082, 202, 474, 963, 273, 18776, 1225, 1702, 620, 12, 1640, 18, 588, 2170, 12, 262, 11272, 1082, 202, 2463, 261, 474, 13, 6765, 1304, 18, 6283, 774, 2148, 12, 16746, 620, 16, 963, 262, 397, 404, 31, 202, 202, 97, 202, 202, 12107, 309, 261, 16746, 620, 1276, 514, 262, 202, 202, 95, 1082, 202, 780, 16746, 273, 261, 780, 13, 16746, 620, 31, 1082, 202, 430, 261, 16746, 18, 14963, 12, 29703, 10538, 2918, 18, 25221, 67, 4574, 67, 48, 985, 3101, 262, 262, 1082, 202, 95, 9506, 202, 2463, 9014, 297, 693, 22688, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 202, 430, 261, 1640, 1276, 5924, 3259, 262, 1082, 202, 95, 9506, 202, 759, 327, 1728, 18, 9506, 202, 780, 963, 273, 261, 780, 13, 29703, 264, 2918, 18, 5776, 863, 25083, 202, 18, 588, 12, 29703, 10538, 2918, 18, 25221, 67, 4574, 67, 15971, 2799, 11272, 9506, 202, 2463, 2144, 18, 2670, 1702, 12, 963, 262, 397, 404, 31, 1082, 202, 97, 1082, 202, 430, 261, 1640, 1276, 3756, 3259, 262, 1082, 202, 95, 9506, 202, 4110, 273, 1640, 18, 588, 2170, 2 ]
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.", file.isFile()); assertEquals("QUADTEST", file.getName()); assertEquals(41, file.getSize()); assertEquals("QUA1I1", file.getUser()); assertEquals("18128", file.getGroup()); if(today.get(Calendar.MONTH) < Calendar.AUGUST) --year; Calendar timestamp = file.getTimestamp(); assertEquals(year, timestamp.get(Calendar.YEAR)); assertEquals(Calendar.AUGUST, timestamp.get(Calendar.MONTH)); assertEquals(12, timestamp.get(Calendar.DAY_OF_MONTH)); assertEquals(13, timestamp.get(Calendar.HOUR_OF_DAY)); assertEquals(56, timestamp.get(Calendar.MINUTE)); assertEquals(0, timestamp.get(Calendar.SECOND)); checkPermisions(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, 21, 1377, 6549, 10392, 4202, 20170, 432, 637, 2593, 5958, 30, 4313, 10110, 1880, 16961, 8863, 3639, 5542, 10074, 225, 273, 5542, 18, 588, 1442, 5621, 3639, 509, 3286, 3639, 273, 10074, 18, 588, 12, 7335, 18, 15137, 1769, 3639, 1815, 5510, 2932, 14309, 506, 279, 585, 1199, 16, 10402, 585, 18, 291, 812, 10663, 3639, 1815, 8867, 2932, 3500, 1880, 16961, 3113, 5397, 585, 18, 17994, 10663, 3639, 1815, 8867, 12, 9803, 16, 5397, 585, 18, 588, 1225, 10663, 3639, 1815, 8867, 2932, 3500, 37, 21, 45, 21, 3113, 5397, 585, 18, 588, 1299, 10663, 3639, 1815, 8867, 2932, 2643, 10392, 3113, 5397, 585, 18, 588, 1114, 10663, 3639, 309, 12, 30064, 18, 588, 12, 7335, 18, 13942, 13, 411, 5542, 18, 14237, 43, 5996, 13, 5411, 1493, 6874, 31, 3639, 5542, 2858, 273, 585, 18, 588, 4921, 5621, 3639, 1815, 8867, 12, 6874, 16, 2858, 18, 588, 12, 7335, 18, 15137, 10019, 3639, 1815, 8867, 12, 7335, 18, 14237, 43, 5996, 16, 2858, 18, 588, 12, 7335, 18, 13942, 10019, 3639, 1815, 8867, 12, 2138, 16, 2858, 18, 588, 12, 7335, 18, 10339, 67, 3932, 67, 13942, 10019, 3639, 1815, 8867, 12, 3437, 16, 2858, 18, 588, 12, 7335, 18, 21372, 67, 3932, 67, 10339, 10019, 3639, 1815, 8867, 12, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 21, 1377, 6549, 10392, 4202, 20170, 432, 637, 2593, 5958, 30, 4313, 10110, 1880, 16961, 8863, 3639, 5542, 10074, 225, 273, 5542, 18, 588, 1442, 5621, 3639, 509, 3286, 3639, 273, 10074, 18, 588, 12, 7335, 18, 15137, 1769, 3639, 1815, 5510, 2932, 14309, 506, 279, 585, 1199, 16, 10402, 585, 18, 291, 812, 10663, 3639, 1815, 8867, 2932, 3500, 1880, 16961, 3113, 5397, 585, 18, 17994, 10663, 3639, 1815, 8867, 12, 9803, 16, 5397, 585, 18, 588, 1225, 10663, 3639, 1815, 8867, 2932, 2 ]
} 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); } else { if (mySettings.ELSE_ON_NEW_LINE) { myResult = Formatter.getInstance().createSpaceProperty(0, 0, 1, mySettings.KEEP_LINE_BREAKS, mySettings.KEEP_BLANK_LINES_IN_CODE); } else { myResult = createNonLFSpace(1, false, null); } } } else if (myRole1 == ChildRole.ELSE_KEYWORD) { if (myChild2.getElementType() == ElementType.IF_STATEMENT) { if (mySettings.SPECIAL_ELSE_IF_TREATMENT) { myResult = createNonLFSpace(1, true, null); } else { myResult = Formatter.getInstance().createSpaceProperty(0, 0, 1, mySettings.KEEP_LINE_BREAKS, mySettings.KEEP_BLANK_LINES_IN_CODE); } } else { if (myChild2.getElementType() == ElementType.BLOCK_STATEMENT) { myResult = getSpaceBeforeLBrace(mySettings.SPACE_BEFORE_ELSE_LBRACE, mySettings.BRACE_STYLE, new TextRange(myParent.getTextRange().getStartOffset(), myChild2.getTextRange().getStartOffset()), mySettings.KEEP_SIMPLE_BLOCKS_IN_ONE_LINE); } else { createSpaceInCode(mySettings.SPACE_BEFORE_ELSE_LBRACE); } } } else if (myChild2.getElementType() == ElementType.BLOCK_STATEMENT) { boolean space = myRole2 == ChildRole.ELSE_BRANCH ? mySettings.SPACE_BEFORE_ELSE_LBRACE: mySettings.SPACE_BEFORE_IF_LBRACE; myResult = getSpaceBeforeLBrace(space, mySettings.BRACE_STYLE, new TextRange(myParent.getTextRange().getStartOffset(), myChild2.getTextRange().getStartOffset()), mySettings.KEEP_SIMPLE_BLOCKS_IN_ONE_LINE); } else if (myRole2 == ChildRole.LPARENTH) { createSpaceInCode(mySettings.SPACE_BEFORE_IF_PARENTHESES); } else if (myRole1 == ChildRole.LPARENTH) { createSpaceInCode(mySettings.SPACE_WITHIN_IF_PARENTHESES); } else if (myRole2 == ChildRole.RPARENTH) { createSpaceInCode(mySettings.SPACE_WITHIN_IF_PARENTHESES); } else if (myRole2 == ChildRole.THEN_BRANCH) { createSpaceInCode(true); } }
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, 18, 588, 17481, 1435, 480, 3010, 559, 18, 11403, 67, 28411, 13, 288, 3639, 3399, 1253, 273, 14924, 18, 588, 1442, 7675, 2640, 3819, 1396, 12, 20, 16, 374, 16, 404, 16, 3399, 2628, 18, 6859, 10541, 67, 5997, 67, 27960, 55, 16, 3399, 2628, 18, 6859, 10541, 67, 38, 24307, 67, 5997, 55, 67, 706, 67, 5572, 1769, 1377, 289, 469, 288, 3639, 309, 261, 4811, 2628, 18, 2247, 1090, 67, 673, 67, 12917, 67, 5997, 13, 288, 1850, 3399, 1253, 273, 14924, 18, 588, 1442, 7675, 2640, 3819, 1396, 12, 20, 16, 374, 16, 404, 16, 3399, 2628, 18, 6859, 10541, 67, 5997, 67, 27960, 55, 16, 3399, 2628, 18, 6859, 10541, 67, 38, 24307, 67, 5997, 55, 67, 706, 67, 5572, 1769, 3639, 289, 469, 288, 1850, 3399, 1253, 273, 752, 3989, 9105, 3819, 12, 21, 16, 629, 16, 446, 1769, 3639, 289, 1377, 289, 565, 289, 469, 309, 261, 4811, 2996, 21, 422, 7451, 2996, 18, 2247, 1090, 67, 28813, 13, 288, 1377, 309, 261, 4811, 1763, 22, 18, 588, 17481, 1435, 422, 3010, 559, 18, 5501, 67, 28411, 13, 288, 3639, 309, 261, 4811, 2628, 18, 13847, 6365, 67, 2247, 1090, 67, 5501, 67, 56, 862, 789, 3212, 13, 288, 1850, 3399, 1253, 273, 752, 3989, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18, 588, 17481, 1435, 480, 3010, 559, 18, 11403, 67, 28411, 13, 288, 3639, 3399, 1253, 273, 14924, 18, 588, 1442, 7675, 2640, 3819, 1396, 12, 20, 16, 374, 16, 404, 16, 3399, 2628, 18, 6859, 10541, 67, 5997, 67, 27960, 55, 16, 3399, 2628, 18, 6859, 10541, 67, 38, 24307, 67, 5997, 55, 67, 706, 67, 5572, 1769, 1377, 289, 469, 288, 3639, 309, 261, 4811, 2628, 18, 2247, 1090, 67, 673, 67, 12917, 67, 5997, 13, 288, 1850, 3399, 1253, 273, 2 ]
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 = getBundleContext(bundle); if (context == null) { GenericActivator.error("Cannot get BundleContext of bundle " + bundle.getSymbolicName()); return; } GenericActivator ga = new GenericActivator(); try { ga.start(context); m_componentBundles.put(bundle.getSymbolicName(), ga); } catch (Exception e) { GenericActivator.exception("Error while loading components " + "of bundle " + bundle.getSymbolicName(), null, e); } }
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, 3440, 16, 1223, 464, 265, 5411, 327, 31, 3639, 289, 3639, 368, 1915, 1410, 506, 4085, 16, 1262, 2182, 598, 279, 3440, 819, 3639, 8539, 1042, 819, 273, 10946, 1042, 12, 9991, 1769, 3639, 309, 261, 2472, 422, 446, 13, 3639, 288, 5411, 7928, 12241, 639, 18, 1636, 2932, 4515, 336, 8539, 1042, 434, 3440, 315, 7734, 397, 3440, 18, 588, 10876, 12164, 461, 10663, 5411, 327, 31, 3639, 289, 3639, 7928, 12241, 639, 18812, 273, 394, 7928, 12241, 639, 5621, 3639, 775, 3639, 288, 5411, 18812, 18, 1937, 12, 2472, 1769, 5411, 312, 67, 4652, 16151, 18, 458, 12, 9991, 18, 588, 10876, 12164, 461, 9334, 18812, 1769, 3639, 289, 3639, 1044, 261, 503, 425, 13, 3639, 288, 5411, 1520, 2932, 668, 1323, 7153, 4085, 315, 7734, 397, 315, 792, 3440, 315, 397, 3440, 18, 588, 10876, 12164, 461, 9334, 446, 16, 425, 1769, 3639, 289, 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, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 3440, 16, 1223, 464, 265, 5411, 327, 31, 3639, 289, 3639, 368, 1915, 1410, 506, 4085, 16, 1262, 2182, 598, 279, 3440, 819, 3639, 8539, 1042, 819, 273, 10946, 1042, 12, 9991, 1769, 3639, 309, 261, 2472, 422, 446, 13, 3639, 288, 5411, 7928, 12241, 639, 18, 1636, 2932, 4515, 336, 8539, 1042, 434, 3440, 315, 7734, 397, 3440, 18, 588, 10876, 12164, 461, 10663, 5411, 327, 31, 3639, 289, 3639, 7928, 12241, 639, 18812, 273, 394, 7928, 12241, 639, 5621, 3639, 775, 2 ]
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.rackSize = 2; weapon.ammoType = AmmoType.T_SRM; weapon.minimumRange = WEAPON_NA; weapon.shortRange = 3; weapon.mediumRange = 6; weapon.longRange = 9; weapon.tonnage = 1.0f; weapon.criticals = 1; weapon.flags |= F_NO_FIRES; weapon.bv = 21; return weapon; }
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, 3639, 732, 28629, 18, 7236, 461, 273, 732, 28629, 18, 529, 31, 3639, 732, 28629, 18, 81, 881, 461, 273, 315, 5127, 348, 8717, 17, 22, 14432, 3639, 732, 28629, 18, 1010, 74, 461, 273, 315, 25689, 8717, 22, 14432, 3639, 732, 28629, 18, 580, 270, 273, 576, 31, 3639, 732, 28629, 18, 72, 301, 410, 273, 463, 2192, 2833, 67, 7492, 1260, 13578, 31, 3639, 732, 28629, 18, 21580, 1225, 273, 576, 31, 3639, 732, 28629, 18, 301, 8683, 559, 273, 3986, 8683, 559, 18, 56, 67, 55, 8717, 31, 3639, 732, 28629, 18, 15903, 2655, 273, 13880, 2203, 673, 67, 11277, 31, 3639, 732, 28629, 18, 6620, 2655, 273, 890, 31, 3639, 732, 28629, 18, 19011, 2655, 273, 1666, 31, 3639, 732, 28629, 18, 5748, 2655, 273, 2468, 31, 3639, 732, 28629, 18, 1917, 82, 410, 273, 404, 18, 20, 74, 31, 3639, 732, 28629, 18, 27826, 335, 1031, 273, 404, 31, 3639, 732, 28629, 18, 7133, 5626, 478, 67, 3417, 67, 1653, 7031, 31, 3639, 732, 28629, 18, 70, 90, 273, 9035, 31, 7734, 327, 732, 28629, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 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, 3639, 732, 28629, 18, 7236, 461, 273, 732, 28629, 18, 529, 31, 3639, 732, 28629, 18, 81, 881, 461, 273, 315, 5127, 348, 8717, 17, 22, 14432, 3639, 732, 28629, 18, 1010, 74, 461, 273, 315, 25689, 8717, 22, 14432, 3639, 732, 28629, 18, 580, 270, 273, 576, 31, 3639, 732, 28629, 18, 72, 301, 410, 273, 463, 2192, 2833, 67, 7492, 1260, 13578, 31, 3639, 732, 28629, 18, 21580, 1225, 273, 576, 31, 3639, 732, 28629, 18, 301, 8683, 559, 273, 3986, 8683, 2 ]
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 page.setPerspective(desc); return page; } throw new WorkbenchException(NLS .bind(WorkbenchMessages.Workbench_showPerspectiveError, perspectiveId)); }
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. The page's input is // ignored. WorkbenchWindow win = (WorkbenchWindow) window; if (win != null) { WorkbenchPage page = win.getActiveWorkbenchPage(); if (page != null) { IPerspectiveDescriptor perspectives[] = page .getOpenPerspectives(); for (int i = 0; i < perspectives.length; i++) { IPerspectiveDescriptor persp = perspectives[i]; if (perspectiveId.equals(persp.getId())) { win.getShell().open(); page.setPerspective(persp); return page; } } } } // If another window that has the workspace root as input and the // requested // perpective open and active, then the window is given focus. IAdaptable input = getDefaultPageInput(); IWorkbenchWindow[] windows = getWorkbenchWindows(); for (int i = 0; i < windows.length; i++) { win = (WorkbenchWindow) windows[i]; if (window != win) { WorkbenchPage page = win.getActiveWorkbenchPage(); if (page != null) { boolean inputSame = false; if (input == null) inputSame = (page.getInput() == null); else inputSame = input.equals(page.getInput()); if (inputSame) { Perspective persp = page.getActivePerspective(); if (perspectiveId.equals(persp.getDesc().getId())) { Shell shell = win.getShell(); shell.open(); if (shell.getMinimized()) shell.setMinimized(false); return page; } } } } } // Otherwise the requested perspective is opened and shown in the // specified // window or in a new window depending on the current user preference // for opening // perspectives, and that window is given focus. win = (WorkbenchWindow) window; if (win != null) { IPreferenceStore store = WorkbenchPlugin.getDefault() .getPreferenceStore(); int mode = store.getInt(IPreferenceConstants.OPEN_PERSP_MODE); IWorkbenchPage page = win.getActiveWorkbenchPage(); IPerspectiveDescriptor persp = null; if (page != null) persp = page.getPerspective(); // Only open a new window if user preference is set and the window // has an active perspective. if (IPreferenceConstants.OPM_NEW_WINDOW == mode && persp != null) { IWorkbenchWindow newWindow = openWorkbenchWindow(perspectiveId, input); return newWindow.getActivePage(); } 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 page.setPerspective(desc); return page; } // Just throw an exception.... throw new WorkbenchException( NLS.bind(WorkbenchMessages.Workbench_showPerspectiveError, perspectiveId )); }
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, 548, 1769, 3639, 368, 971, 326, 1269, 2742, 711, 326, 3764, 26651, 1696, 16, 1508, 326, 3639, 368, 2742, 3639, 368, 353, 864, 7155, 471, 326, 26651, 353, 12188, 18, 1021, 1363, 1807, 810, 353, 3639, 368, 5455, 18, 3639, 4147, 22144, 3829, 5657, 273, 261, 2421, 22144, 3829, 13, 2742, 31, 3639, 309, 261, 8082, 480, 446, 13, 288, 5411, 4147, 22144, 1964, 1363, 273, 5657, 18, 588, 3896, 2421, 22144, 1964, 5621, 5411, 309, 261, 2433, 480, 446, 13, 288, 7734, 2971, 414, 16772, 3187, 13508, 1181, 3606, 8526, 273, 1363, 13491, 263, 588, 3678, 14781, 1181, 3606, 5621, 7734, 364, 261, 474, 277, 273, 374, 31, 277, 411, 13508, 1181, 3606, 18, 2469, 31, 277, 27245, 288, 10792, 2971, 414, 16772, 3187, 13508, 84, 273, 13508, 1181, 3606, 63, 77, 15533, 10792, 309, 261, 10422, 16772, 548, 18, 14963, 12, 10422, 84, 18, 26321, 1435, 3719, 288, 13491, 5657, 18, 588, 13220, 7675, 3190, 5621, 13491, 1363, 18, 542, 14781, 16772, 12, 10422, 84, 1769, 13491, 327, 1363, 31, 10792, 289, 7734, 289, 5411, 289, 3639, 289, 3639, 368, 971, 4042, 2742, 716, 711, 326, 6003, 1365, 487, 810, 471, 326, 3639, 368, 3764, 3639, 368, 1534, 16772, 1696, 471, 2695, 16, 1508, 326, 2742, 353, 864, 7155, 18, 3639, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 548, 1769, 3639, 368, 971, 326, 1269, 2742, 711, 326, 3764, 26651, 1696, 16, 1508, 326, 3639, 368, 2742, 3639, 368, 353, 864, 7155, 471, 326, 26651, 353, 12188, 18, 1021, 1363, 1807, 810, 353, 3639, 368, 5455, 18, 3639, 4147, 22144, 3829, 5657, 273, 261, 2421, 22144, 3829, 13, 2742, 31, 3639, 309, 261, 8082, 480, 446, 13, 288, 5411, 4147, 22144, 1964, 1363, 273, 5657, 18, 588, 3896, 2421, 22144, 1964, 5621, 5411, 309, 261, 2433, 480, 446, 13, 288, 7734, 2971, 414, 2 ]
}
}
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 = "sort "+keys+" "+input_file+" -o "+output_file+" -T /tmp";// GLMDebug.DEBUG("fileSort()", "sort command:"+command); try { Runtime rt = Runtime.getRuntime(); Process sort = rt.exec(command); sort.waitFor(); } catch (Exception ie) { GLMDebug.ERROR("fileSort()", "Sorting InterruptedException: " + ie); return false; } return true; }
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, 2932, 538, 18, 529, 8863, 202, 430, 16051, 12, 538, 18, 14963, 2932, 19475, 7923, 747, 261, 538, 18, 14963, 2932, 29636, 4618, 6, 3719, 3719, 288, 202, 565, 10252, 49, 2829, 18, 3589, 2932, 768, 4416, 1435, 3113, 315, 15128, 9753, 1524, 16, 2288, 279, 9753, 2619, 1199, 1769, 202, 565, 327, 629, 31, 202, 97, 202, 780, 1296, 273, 315, 3804, 13773, 2452, 9078, 13773, 2630, 67, 768, 9078, 300, 83, 13773, 2844, 67, 768, 9078, 300, 56, 342, 5645, 14432, 759, 225, 202, 11261, 49, 2829, 18, 9394, 2932, 768, 4416, 1435, 3113, 315, 3804, 1296, 2773, 15, 3076, 1769, 202, 698, 288, 202, 565, 2509, 8253, 273, 2509, 18, 588, 5576, 5621, 202, 565, 4389, 1524, 273, 8253, 18, 4177, 12, 3076, 1769, 202, 565, 1524, 18, 7048, 1290, 5621, 202, 97, 1044, 261, 503, 9228, 13, 288, 202, 565, 10252, 49, 2829, 18, 3589, 2932, 768, 4416, 1435, 3113, 315, 18236, 7558, 30, 315, 397, 9228, 1769, 202, 565, 327, 629, 31, 202, 97, 202, 2463, 638, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 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, 2932, 538, 18, 529, 8863, 202, 430, 16051, 12, 538, 18, 14963, 2932, 19475, 7923, 747, 261, 538, 18, 14963, 2932, 29636, 4618, 6, 3719, 3719, 288, 202, 565, 10252, 49, 2829, 18, 3589, 2932, 768, 4416, 1435, 3113, 315, 15128, 9753, 1524, 16, 2288, 279, 9753, 2619, 1199, 1769, 202, 565, 327, 629, 31, 202, 97, 202, 780, 1296, 273, 315, 3804, 13773, 2452, 9078, 13773, 2630, 67, 768, 9078, 300, 83, 13773, 2844, 67, 768, 9078, 300, 56, 342, 5645, 2 ]
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]; Class parameters = filed.getType(); if(SimpleTypeMapper.isSimpleType(parameters)){ objetc.add(filed.getName()); filed.setAccessible(true); objetc.add(filed.get(beanObject).toString()); filed.setAccessible(false); } else { objetc.add(new QName(filed.getName())); filed.setAccessible(true); objetc.add(filed.get(beanObject)); filed.setAccessible(false); } } return ADBPullParser.createPullParser(beanName, objetc.toArray()); } catch (IllegalAccessException e) { //todo has to throw this exeception return null; } }
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, 5411, 2407, 1081, 14175, 273, 394, 2407, 5621, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1466, 18, 2469, 31, 277, 27245, 288, 7734, 2286, 585, 72, 273, 1466, 63, 77, 15533, 7734, 1659, 1472, 273, 585, 72, 18, 588, 559, 5621, 7734, 309, 12, 5784, 559, 4597, 18, 291, 5784, 559, 12, 3977, 3719, 95, 10792, 1081, 14175, 18, 1289, 12, 768, 72, 18, 17994, 10663, 10792, 585, 72, 18, 542, 10451, 12, 3767, 1769, 10792, 1081, 14175, 18, 1289, 12, 768, 72, 18, 588, 12, 14496, 921, 2934, 10492, 10663, 10792, 585, 72, 18, 542, 10451, 12, 5743, 1769, 7734, 289, 469, 288, 10792, 1081, 14175, 18, 1289, 12, 2704, 16723, 12, 768, 72, 18, 17994, 1435, 10019, 10792, 585, 72, 18, 542, 10451, 12, 3767, 1769, 10792, 1081, 14175, 18, 1289, 12, 768, 72, 18, 588, 12, 14496, 921, 10019, 10792, 585, 72, 18, 542, 10451, 12, 5743, 1769, 7734, 289, 5411, 289, 5411, 327, 432, 2290, 9629, 2678, 18, 2640, 9629, 2678, 12, 14496, 461, 16, 1081, 14175, 18, 31447, 9334, 446, 1769, 6647, 289, 1044, 261, 12195, 9773, 425, 13, 288, 6647, 368, 9012, 711, 358, 604, 333, 15073, 472, 6647, 327, 446, 31, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 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, 5411, 2407, 1081, 14175, 273, 394, 2407, 5621, 5411, 364, 261, 474, 277, 273, 374, 31, 277, 411, 1466, 18, 2469, 31, 277, 27245, 288, 7734, 2286, 585, 72, 273, 1466, 63, 77, 15533, 7734, 1659, 1472, 273, 585, 72, 18, 588, 559, 5621, 7734, 309, 12, 5784, 559, 4597, 18, 291, 5784, 559, 12, 3977, 3719, 95, 10792, 1081, 14175, 18, 1289, 12, 768, 72, 18, 17994, 10663, 10792, 585, 72, 18, 542, 10451, 12, 3767, 1769, 10792, 1081, 14175, 18, 1289, 12, 2 ]
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, 73, 18, 24906, 9334, 2692, 1769, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 73, 18, 24906, 9334, 2692, 1769, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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) .addProperty("targetObject", new RuntimeBeanReference(GrailsApplication.APPLICATION_ID,true)) .addProperty("targetMethod", "getGrailsServiceClass") .addProperty("arguments", grailsServiceClass.getFullName()); context.registerBeanDefinition(grailsServiceClass.getFullName() + "Class",serviceClassBean.getBeanDefinition()); BeanConfiguration serviceInstance = springConfig .createSingletonBean(grailsServiceClass.getFullName() + "Instance") .setFactoryBean( grailsServiceClass.getFullName() + "Class") .setFactoryMethod("newInstance"); if (grailsServiceClass.byName()) { serviceInstance.setAutowire(BeanConfiguration.AUTOWIRE_BY_NAME); } else if (grailsServiceClass.byType()) { serviceInstance.setAutowire(BeanConfiguration.AUTOWIRE_BY_TYPE); } else { serviceInstance.setAutowire(BeanConfiguration.AUTOWIRE_BY_TYPE); } context.registerBeanDefinition(grailsServiceClass.getFullName() + "Instance",serviceInstance.getBeanDefinition()); // configure the service instance as a hotswappable target source // if its transactional configure transactional proxy if (grailsServiceClass.isTransactional()) { Properties transactionAttributes = new Properties(); transactionAttributes.put("*", "PROPAGATION_REQUIRED"); BeanConfiguration transactionalProxyBean = springConfig .createSingletonBean(TransactionProxyFactoryBean.class) .addProperty("target", new RuntimeBeanReference(grailsServiceClass.getFullName() + "Instance")) .addProperty("proxyTargetClass", Boolean.TRUE) .addProperty("transactionAttributes", transactionAttributes) .addProperty(TRANSACTION_MANAGER_BEAN, new RuntimeBeanReference(TRANSACTION_MANAGER_BEAN)); context.registerBeanDefinition(grailsServiceClass.getPropertyName(),transactionalProxyBean.getBeanDefinition()); } else { // otherwise configure a standard proxy BeanConfiguration instanceRef = springConfig .createSingletonBean(BeanReferenceFactoryBean.class) .addProperty("targetBeanName",grailsServiceClass.getFullName() + "Instance" ); context.registerBeanDefinition(grailsServiceClass.getName() + "Service",instanceRef.getBeanDefinition()); } }
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, 5576, 55, 11638, 1750, 5621, 9506, 202, 3381, 1750, 1156, 797, 3381, 273, 25974, 809, 6862, 6862, 9506, 202, 18, 2640, 19571, 3381, 12, 1305, 11354, 310, 1733, 3381, 18, 1106, 13, 6862, 6862, 9506, 202, 18, 1289, 1396, 2932, 3299, 921, 3113, 394, 2509, 3381, 2404, 12, 14571, 14573, 3208, 18, 25039, 67, 734, 16, 3767, 3719, 6862, 6862, 9506, 202, 18, 1289, 1396, 2932, 3299, 1305, 3113, 315, 588, 14571, 14573, 1179, 797, 7923, 6862, 6862, 9506, 202, 18, 1289, 1396, 2932, 7099, 3113, 3087, 14573, 1179, 797, 18, 588, 19223, 10663, 202, 202, 2472, 18, 4861, 3381, 1852, 12, 2752, 14573, 1179, 797, 18, 588, 19223, 1435, 397, 315, 797, 3113, 3278, 797, 3381, 18, 588, 3381, 1852, 10663, 25083, 202, 3381, 1750, 1156, 1442, 273, 25974, 809, 6862, 6862, 9506, 202, 18, 2640, 19571, 3381, 12, 2752, 14573, 1179, 797, 18, 588, 19223, 1435, 397, 315, 1442, 7923, 6862, 6862, 9506, 202, 18, 542, 1733, 3381, 12, 3087, 14573, 1179, 797, 18, 588, 19223, 1435, 397, 315, 797, 7923, 6862, 6862, 9506, 202, 18, 542, 1733, 1305, 2932, 2704, 1442, 8863, 25083, 202, 430, 261, 2752, 14573, 1179, 797, 18, 1637, 461, 10756, 288, 1082, 202, 3278, 1442, 18, 542, 7150, 543, 577, 12, 3381, 1750, 18, 37, 1693, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5576, 55, 11638, 1750, 5621, 9506, 202, 3381, 1750, 1156, 797, 3381, 273, 25974, 809, 6862, 6862, 9506, 202, 18, 2640, 19571, 3381, 12, 1305, 11354, 310, 1733, 3381, 18, 1106, 13, 6862, 6862, 9506, 202, 18, 1289, 1396, 2932, 3299, 921, 3113, 394, 2509, 3381, 2404, 12, 14571, 14573, 3208, 18, 25039, 67, 734, 16, 3767, 3719, 6862, 6862, 9506, 202, 18, 1289, 1396, 2932, 3299, 1305, 3113, 315, 588, 14571, 14573, 1179, 797, 7923, 6862, 6862, 9506, 202, 18, 1289, 1396, 2932, 7099, 2 ]
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("cellspacing", //$NON-NLS-1$ TableTag.class, null, "setCellspacing")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("class", //$NON-NLS-1$ TableTag.class, null, "setClass")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("decorator", //$NON-NLS-1$ TableTag.class, null, "setDecorator")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("defaultorder", //$NON-NLS-1$ TableTag.class, null, "setDefaultorder")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("defaultsort", //$NON-NLS-1$ TableTag.class, null, "setDefaultsort")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("export", //$NON-NLS-1$ TableTag.class, null, "setExport")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("frame", //$NON-NLS-1$ TableTag.class, null, "setFrame")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("length", //$NON-NLS-1$ TableTag.class, null, "setLength")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("offset", //$NON-NLS-1$ TableTag.class, null, "setOffset")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("pagesize", //$NON-NLS-1$ TableTag.class, null, "setPagesize")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("partialList", //$NON-NLS-1$ TableTag.class, null, "setPartialList")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("requestURI", //$NON-NLS-1$ TableTag.class, null, "setRequestURI")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("requestURIcontext", //$NON-NLS-1$ TableTag.class, null, "setRequestURIcontext")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("rules", //$NON-NLS-1$ TableTag.class, null, "setRules")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("sort", //$NON-NLS-1$ TableTag.class, null, "setSort")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("style", //$NON-NLS-1$ TableTag.class, null, "setStyle")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("summary", //$NON-NLS-1$ TableTag.class, null, "setSummary")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("excludedParams", //$NON-NLS-1$ TableTag.class, null, "setExcludedParams")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("id", //$NON-NLS-1$ TableTag.class, null, "setUid")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("uid", //$NON-NLS-1$ TableTag.class, null, "setUid")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("htmlId", //$NON-NLS-1$ TableTag.class, null, "setHtmlId")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("varTotals", //$NON-NLS-1$ TableTag.class, null, "setVarTotals")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("width", //$NON-NLS-1$ TableTag.class, null, "setWidth")); //$NON-NLS-1$ // deprecated attributes proplist.add(new PropertyDescriptor("list", //$NON-NLS-1$ TableTag.class, null, "setList")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("property", //$NON-NLS-1$ TableTag.class, null, "setProperty")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("scope", //$NON-NLS-1$ TableTag.class, null, "setScope")); //$NON-NLS-1$ // make ATG Dynamo happy: proplist.add(new PropertyDescriptor("className", //$NON-NLS-1$ TableTag.class, null, "setClass")); //$NON-NLS-1$ try { Class.forName("javax.servlet.jsp.tagext.IterationTag"); //$NON-NLS-1$ // jsp >= 1.2 proplist.add(new PropertyDescriptor("name", //$NON-NLS-1$ TableTag.class, null, "setName")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("size", //$NON-NLS-1$ TableTag.class, null, "setSize")); //$NON-NLS-1$ } catch (ClassNotFoundException e) { // jsp 1.1, can't use a setter with an Object parameter proplist.add(new PropertyDescriptor("name", //$NON-NLS-1$ TableTag.class, null, "setNameString")); //$NON-NLS-1$ proplist.add(new PropertyDescriptor("size", //$NON-NLS-1$ TableTag.class, null, "setSizeObjectName")); //$NON-NLS-1$ } } catch (IntrospectionException ex) { throw new RuntimeException("You got an introspection exception - maybe defining a property that is not" + " defined in the TableTag?: " + ex.getMessage(), ex); } PropertyDescriptor[] result = new PropertyDescriptor[proplist.size()]; return ((PropertyDescriptor[]) proplist.toArray(result)); }
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, 3993, 17, 5106, 17, 21, 8, 7734, 3555, 1805, 18, 1106, 16, 446, 16, 315, 542, 4020, 9598, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 3855, 14080, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 7734, 3555, 1805, 18, 1106, 16, 446, 16, 315, 542, 4020, 14080, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 1106, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 7734, 3555, 1805, 18, 1106, 16, 446, 16, 315, 542, 797, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 19142, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 7734, 3555, 1805, 18, 1106, 16, 446, 16, 315, 542, 10361, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 1886, 1019, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 7734, 3555, 1805, 18, 1106, 16, 446, 16, 315, 542, 1868, 1019, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 1886, 3804, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 7734, 3555, 1805, 18, 1106, 16, 446, 16, 315, 542, 1868, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3993, 17, 5106, 17, 21, 8, 7734, 3555, 1805, 18, 1106, 16, 446, 16, 315, 542, 4020, 9598, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 3855, 14080, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 7734, 3555, 1805, 18, 1106, 16, 446, 16, 315, 542, 4020, 14080, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 5411, 450, 17842, 18, 1289, 12, 2704, 26761, 2932, 1106, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 2 ]
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 (Exception ex1) { logger.error("Could not instantiate the AtomType list!", ex1.getMessage()); logger.debug(ex1); throw new CDKException("Could not instantiate the AtomType list!", ex1); } } org.openscience.cdk.Atom atom = (org.openscience.cdk.Atom)atomInterface; logger.debug("****** Configure MM2 AtomType via findMatching ******"); String atomSphericalMatcher = (String)atom.getProperty(CDKConstants.SPHERICAL_MATCHER); int atomChemicalGroupConstant = ((Integer)atom.getProperty(CDKConstants.CHEMICAL_GROUP_CONSTANT)).intValue(); int atomRingSize = 0; // not all atom types have ring sizes define; 0 is default Object oRingSize = atom.getProperty(CDKConstants.PART_OF_RING_OF_SIZE); if (oRingSize != null) { atomRingSize = ((Integer)oRingSize).intValue(); } logger.debug(" Symbol:" + atom.getSymbol() +" HoseCode>" + atomSphericalMatcher + " "); if (atom instanceof PseudoAtom) { return factory.getAtomTypes("DU")[0]; } Pattern p1 = null; String ID = ""; boolean atomTypeFlag = false; Matcher mat1=null; double tmpMaxBondOrder = 0; maxBondOrder = atomContainer.getMaximumBondOrder(atom); logger.debug("Atom maxBond"+maxBondOrder+" ChemicalGroupConstant "+atomChemicalGroupConstant); for (int j = 0; j < atomTypeIds.length; j++){ tmpMaxBondOrder = factory.getAtomType(atomTypeIds[j]).getMaxBondOrder(); logger.debug(j + "ATOM TYPE "+ tmpMaxBondOrder + " " +getSphericalMatcher(atomTypeIds[j])); p1 =Pattern.compile(getSphericalMatcher(atomTypeIds[j])); mat1 = p1.matcher(atomSphericalMatcher); if (mat1.matches()) { ID = atomTypeIds[j]; if (atomTypeIds[j].equals("C")) { if (atomChemicalGroupConstant!=-1) { if (atomRingSize==3) { ID="CR3R"; }else if (atomChemicalGroupConstant==5){ ID="Car"; }else if (maxBondOrder>1) { ID="Csp2"; } } if (atom.getSymbol().equals("S")){ if (atomChemicalGroupConstant==8){ ID="Sthi"; }else{ p1 = Pattern.compile(getSphericalMatcher("S")); mat1 = p1.matcher(atomSphericalMatcher); if (mat1.matches()) { ID="S"; } } } } else if (atomTypeIds[j].equals("Csp2")) { if (atomChemicalGroupConstant!=-1) { if (atomChemicalGroupConstant==5) { ID="Car"; }else if (atomRingSize==3) { ID="CE3R"; } } p1 = Pattern.compile(getSphericalMatcher("C=")); mat1 = p1.matcher(atomSphericalMatcher); if (mat1.matches()) { ID="C="; } } else if (atomTypeIds[j].equals("O")) { //OH/Ether if (atomChemicalGroupConstant!=-1) { if (atomChemicalGroupConstant==6){ ID="Oar";//furan }else if (atomRingSize==3) { ID="OR";//epoxy } } p1 = Pattern.compile(getSphericalMatcher("OX")); mat1 = p1.matcher(atomSphericalMatcher); if (mat1.matches() & atomChemicalGroupConstant==-1) { ID="OX"; } } else if (atomTypeIds[j].equals("N")) {//n sp3 if (atomContainer.getMaximumBondOrder(atom)>1 & atomContainer.getMaximumBondOrder(atom)<3){ ID="Nsp2"; } if (atomChemicalGroupConstant==4) { ID="NPYL";//Pyrole }else if (atomChemicalGroupConstant==10){ ID="-N="; p1 = Pattern.compile(getSphericalMatcher("NPD+")); mat1 = p1.matcher(atomSphericalMatcher); if (mat1.matches()) { ID="NPD+"; } }else{ //Amid p1 = Pattern.compile(getSphericalMatcher("Namid")); mat1 = p1.matcher(atomSphericalMatcher); if (mat1.matches() & atomChemicalGroupConstant==-1) { ID="Nsp2"; }else{ p1 = Pattern.compile(getSphericalMatcher("N2OX")); mat1 = p1.matcher(atomSphericalMatcher); if (mat1.matches() & atomChemicalGroupConstant==-1) { ID="N2OX"; } } } } else if (atomTypeIds[j].equals("Nsp2")) { if (atomChemicalGroupConstant==12) { ID="=N-";//Pyridin } //Azo p1 = Pattern.compile(getSphericalMatcher("-N=")); mat1 = p1.matcher(atomSphericalMatcher); if (mat1.matches() & atomChemicalGroupConstant==-1) { ID="-N="; }else{ p1 = Pattern.compile(getSphericalMatcher("N=C")); mat1 = p1.matcher(atomSphericalMatcher); if (mat1.matches()) { ID="N=C"; } p1 = Pattern.compile(getSphericalMatcher("N2OX")); mat1 = p1.matcher(atomSphericalMatcher); if (mat1.matches()) { ID="N2OX"; } p1 = Pattern.compile(getSphericalMatcher("NO2")); mat1 = p1.matcher(atomSphericalMatcher); if (mat1.matches()) { ID="NO2"; } p1 = Pattern.compile(getSphericalMatcher("=N=")); mat1 = p1.matcher(atomSphericalMatcher); if (mat1.matches()) { ID="=N="; } } } else if (atomTypeIds[j].equals("HS")) { if (atom.getMaxBondOrder() > 1) { ID="HC"; } } else if (atomTypeIds[j].equals("HO")) { //Enol,amid p1 = Pattern.compile(getSphericalMatcher("HOC")); mat1 = p1.matcher(atomSphericalMatcher); if (mat1.matches() & atomChemicalGroupConstant==-1) { ID="HN2"; } //COOH p1 = Pattern.compile(getSphericalMatcher("HOCO")); mat1 = p1.matcher(atomSphericalMatcher); if (mat1.matches() & atomChemicalGroupConstant==-1) { ID="HOCO"; } } else if (atomTypeIds[j].equals("HN")) { p1 = Pattern.compile(getSphericalMatcher("HN2")); mat1 = p1.matcher(atomSphericalMatcher); if (mat1.matches()) { ID="HN2"; } } atomTypeFlag = true; logger.debug(" MATCH AtomTypeID:"+j+ " " + ID); break; }//IF }//for end if (atomTypeFlag) { atomTypeFlag = false; logger.debug("ID in factory true:"+ID); return factory.getAtomType(ID); } else { logger.debug("NoSuchAtomTypeException: Atom is unkown with Symbol:" + atom.getSymbol() + " does not MATCH AtomType. HoseCode:" + atomSphericalMatcher); logger.debug("ID in factory false:"+ID); return factory.getAtomType("DU"); } }
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, 202, 6848, 273, 7149, 559, 1733, 18, 588, 1442, 2932, 3341, 19, 20346, 71, 6254, 19, 71, 2883, 19, 1425, 19, 892, 19, 7020, 22, 67, 7466, 2352, 18, 2902, 3113, 540, 9506, 202, 7466, 2170, 18, 588, 1263, 10663, 540, 202, 97, 1044, 261, 503, 431, 21, 13, 288, 540, 202, 202, 4901, 18, 1636, 2932, 4445, 486, 10275, 326, 7149, 559, 666, 5, 3113, 431, 21, 18, 24906, 10663, 540, 202, 202, 4901, 18, 4148, 12, 338, 21, 1769, 540, 202, 202, 12849, 394, 24570, 2932, 4445, 486, 10275, 326, 7149, 559, 666, 5, 3113, 431, 21, 1769, 540, 202, 97, 3639, 289, 202, 202, 3341, 18, 20346, 71, 6254, 18, 71, 2883, 18, 3641, 3179, 273, 261, 3341, 18, 20346, 71, 6254, 18, 71, 2883, 18, 3641, 13, 7466, 1358, 31, 202, 202, 4901, 18, 4148, 2932, 11345, 11758, 18295, 22, 7149, 559, 3970, 1104, 9517, 380, 1007, 7388, 1769, 202, 202, 780, 3179, 55, 21570, 6286, 273, 261, 780, 13, 7466, 18, 588, 1396, 12, 39, 3398, 2918, 18, 3118, 3891, 10109, 67, 11793, 654, 1769, 202, 202, 474, 3179, 20200, 1706, 1114, 6902, 273, 14015, 4522, 13, 7466, 18, 588, 1396, 12, 39, 3398, 2918, 18, 10390, 10109, 67, 8468, 67, 25878, 13, 2934, 474, 620, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 202, 6848, 273, 7149, 559, 1733, 18, 588, 1442, 2932, 3341, 19, 20346, 71, 6254, 19, 71, 2883, 19, 1425, 19, 892, 19, 7020, 22, 67, 7466, 2352, 18, 2902, 3113, 540, 9506, 202, 7466, 2170, 18, 588, 1263, 10663, 540, 202, 97, 1044, 261, 503, 431, 21, 13, 288, 540, 202, 202, 4901, 18, 1636, 2932, 4445, 486, 10275, 326, 7149, 559, 666, 5, 3113, 431, 21, 18, 24906, 10663, 540, 202, 202, 4901, 18, 4148, 12, 338, 21, 1769, 540, 202, 2 ]
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(), methodGen.getName(), methodGen.getSignature(), methodGen.isStatic()); NullnessAnnotationDatabase db = AnalysisContext.currentAnalysisContext().getNullnessAnnotationDatabase(); int paramShift = instanceMethod ? 1 : 0; for (int i = 0; i < numLocals; ++i) { IsNullValue value; int paramIndex = i - paramShift; if (instanceMethod && i == 0) { value = IsNullValue.nonNullValue(); } else if (paramIndex > methodGen.getArgumentTypes().length) { value = IsNullValue.nonReportingNotNullValue(); } else { NullnessAnnotation n = db.getResolvedAnnotation(new XMethodParameter(xm, paramIndex), false); if (n == NullnessAnnotation.CHECK_FOR_NULL) // Parameter declared @CheckForNull value = IsNullValue.nullOnSimplePathValue(); else if (n == NullnessAnnotation.NONNULL) // Parameter declared @NonNull // TODO: label this so we don't report defensive programming value = IsNullValue.nonNullValue(); else // Don't know; use default value, normally non-reporting nonnull value = IsNullValue.nonReportingNotNullValue(); } cachedEntryFact.setValue(i, value); } } copy(cachedEntryFact, result); }
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, 5621, 1082, 202, 7097, 1622, 9766, 18, 542, 1556, 5621, 1082, 202, 474, 818, 1333, 1031, 273, 707, 7642, 18, 588, 2747, 1333, 1031, 5621, 1082, 202, 6494, 791, 1305, 273, 401, 2039, 7642, 18, 291, 5788, 5621, 1082, 202, 60, 1305, 25179, 273, 1139, 1733, 18, 2640, 60, 1305, 12, 2039, 7642, 18, 588, 3834, 9334, 4405, 202, 2039, 7642, 18, 17994, 9334, 707, 7642, 18, 588, 5374, 9334, 707, 7642, 18, 291, 5788, 10663, 1082, 202, 2041, 4496, 3257, 4254, 1319, 273, 16318, 1042, 18, 2972, 9418, 1042, 7675, 588, 2041, 4496, 3257, 4254, 5621, 1082, 202, 474, 579, 10544, 273, 791, 1305, 692, 404, 294, 374, 31, 1082, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 818, 1333, 1031, 31, 965, 77, 13, 288, 9506, 202, 2520, 2041, 620, 460, 31, 6862, 9506, 202, 474, 579, 1016, 273, 277, 300, 579, 10544, 31, 6862, 9506, 202, 430, 261, 1336, 1305, 597, 277, 422, 374, 13, 288, 6862, 202, 1132, 273, 30230, 620, 18, 5836, 2041, 620, 5621, 9506, 202, 97, 469, 309, 261, 891, 1016, 405, 707, 7642, 18, 588, 1379, 2016, 7675, 2469, 13, 288, 6862, 202, 1132, 273, 30230, 620, 18, 5836, 29285, 5962, 620, 5621, 9506, 202, 97, 469, 288, 6862, 202, 2041, 4496, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5621, 1082, 202, 7097, 1622, 9766, 18, 542, 1556, 5621, 1082, 202, 474, 818, 1333, 1031, 273, 707, 7642, 18, 588, 2747, 1333, 1031, 5621, 1082, 202, 6494, 791, 1305, 273, 401, 2039, 7642, 18, 291, 5788, 5621, 1082, 202, 60, 1305, 25179, 273, 1139, 1733, 18, 2640, 60, 1305, 12, 2039, 7642, 18, 588, 3834, 9334, 4405, 202, 2039, 7642, 18, 17994, 9334, 707, 7642, 18, 588, 5374, 9334, 707, 7642, 18, 291, 5788, 10663, 1082, 202, 2041, 4496, 3257, 4254, 1319, 273, 2 ]
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, 1033, 1365, 273, 2151, 18, 588, 1488, 7675, 588, 2375, 5621, 565, 727, 4902, 743, 13959, 273, 394, 4902, 743, 12, 3085, 1769, 565, 563, 18, 1289, 1595, 12, 14676, 17957, 4466, 12, 3413, 16, 13959, 10019, 565, 327, 563, 31, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 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, 1033, 1365, 273, 2151, 18, 588, 1488, 7675, 588, 2375, 5621, 565, 727, 4902, 743, 13959, 273, 394, 4902, 743, 12, 3085, 1769, 565, 563, 18, 1289, 1595, 12, 14676, 17957, 4466, 12, 3413, 16, 13959, 10019, 565, 327, 563, 31, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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[elements.length]; fGroup.fCategorys = new String[elements.length]; fGroup.fCategoryChilds = new TemplateItem[elements.length][]; TemplateStore[] templates = new TemplateStore[elements.length]; for (int i = 0; i < elements.length; i++) { fCategoryIds[i] = elements[i].getAttributeAsIs(ATT_ID); Assert.isLegal(fCategoryIds[i] != null); fGroup.fCategorys[i] = elements[i].getAttribute(ATT_NAME); if (fGroup.fCategorys[i] == null) fGroup.fCategorys[i] = fCategoryIds[i]; try { fCategoryProvider[i] = (ICodeGenerationTemplatesCategory) elements[i].createExecutableExtension(ATT_CLASS); } catch (CoreException e) { throw new IllegalArgumentException("error loading templateprovider of category with id "+fCategoryIds[i]); } templates[i] = fCategoryProvider[i].getTemplateStore(); } fTemplatesStore = new CodeGenerationTemplatesStore(fProject, templates); try { fTemplatesStore.load(); } catch (IOException e) { StatetPlugin.logUnexpectedError(e); } for (int i = 0; i < templates.length; i++) { TemplatePersistenceData[] datas = fTemplatesStore.getTemplateData(i); fGroup.fCategoryChilds[i] = new TemplateItem[datas.length]; for (int j = 0; j < datas.length; j++) { fGroup.fCategoryChilds[i][j] = new TemplateItem(datas[j]); } } }
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, 1290, 12, 5000, 278, 3773, 18, 734, 16, 25518, 67, 8941, 1769, 9506, 202, 74, 4457, 2673, 273, 394, 514, 63, 6274, 18, 2469, 15533, 202, 202, 74, 4457, 2249, 273, 394, 467, 1085, 13842, 8218, 4457, 63, 6274, 18, 2469, 15533, 202, 202, 74, 1114, 18, 74, 4457, 87, 273, 394, 514, 63, 6274, 18, 2469, 15533, 202, 202, 74, 1114, 18, 74, 4457, 1763, 87, 273, 394, 5035, 1180, 63, 6274, 18, 2469, 6362, 15533, 202, 202, 2283, 2257, 8526, 5539, 273, 394, 5035, 2257, 63, 6274, 18, 2469, 15533, 202, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 411, 2186, 18, 2469, 31, 277, 27245, 288, 1082, 202, 74, 4457, 2673, 63, 77, 65, 273, 2186, 63, 77, 8009, 588, 24433, 2520, 12, 789, 56, 67, 734, 1769, 1082, 202, 8213, 18, 291, 30697, 12, 74, 4457, 2673, 63, 77, 65, 480, 446, 1769, 25083, 202, 74, 1114, 18, 74, 4457, 87, 63, 77, 65, 273, 2186, 63, 77, 8009, 588, 1499, 12, 789, 56, 67, 1985, 1769, 1082, 202, 430, 261, 74, 1114, 18, 74, 4457, 87, 63, 77, 65, 422, 446, 13, 4697, 202, 74, 1114, 18, 74, 4457, 87, 63, 77, 65, 273, 284, 4457, 2673, 63, 77, 15533, 25083, 202, 698, 288, 9506, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1290, 12, 5000, 278, 3773, 18, 734, 16, 25518, 67, 8941, 1769, 9506, 202, 74, 4457, 2673, 273, 394, 514, 63, 6274, 18, 2469, 15533, 202, 202, 74, 4457, 2249, 273, 394, 467, 1085, 13842, 8218, 4457, 63, 6274, 18, 2469, 15533, 202, 202, 74, 1114, 18, 74, 4457, 87, 273, 394, 514, 63, 6274, 18, 2469, 15533, 202, 202, 74, 1114, 18, 74, 4457, 1763, 87, 273, 394, 5035, 1180, 63, 6274, 18, 2469, 6362, 15533, 202, 202, 2283, 2257, 8526, 5539, 273, 2 ]
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 PsiClass) { element.accept(this); } else if (element instanceof PsiVariable) { PsiExpression initializer = ((PsiVariable)element).getInitializer(); if (initializer != null) { myStartStatementStack.pushStatement(initializer, false); myEndStatementStack.pushStatement(initializer, false); initializer.accept(this); myStartStatementStack.popStatement(); myEndStatementStack.popStatement(); } if ((element instanceof PsiLocalVariable && initializer != null) || element instanceof PsiField) { if (element instanceof PsiLocalVariable && !myPolicy.isLocalVariableAccepted((PsiLocalVariable)element)) continue; if (myAssignmentTargetsAreElements) startElement(element); generateWriteInstruction((PsiVariable)element); if (myAssignmentTargetsAreElements) finishElement(element); } } } if (pc == myCurrentFlow.getSize()) { // generate at least one instruction for declaration emitEmptyInstruction(); } finishElement(statement); }
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, 2186, 273, 3021, 18, 588, 18888, 3471, 5621, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2186, 18, 2469, 31, 277, 27245, 288, 1377, 453, 7722, 1046, 930, 273, 2186, 63, 77, 15533, 1377, 309, 261, 2956, 1276, 453, 7722, 797, 13, 288, 3639, 930, 18, 9436, 12, 2211, 1769, 1377, 289, 1377, 469, 309, 261, 2956, 1276, 453, 7722, 3092, 13, 288, 3639, 453, 7722, 2300, 12562, 273, 14015, 52, 7722, 3092, 13, 2956, 2934, 588, 14729, 5621, 3639, 309, 261, 22181, 480, 446, 13, 288, 1850, 3399, 1685, 3406, 2624, 18, 6206, 3406, 12, 22181, 16, 629, 1769, 1850, 3399, 1638, 3406, 2624, 18, 6206, 3406, 12, 22181, 16, 629, 1769, 1850, 12562, 18, 9436, 12, 2211, 1769, 1850, 3399, 1685, 3406, 2624, 18, 5120, 3406, 5621, 1850, 3399, 1638, 3406, 2624, 18, 5120, 3406, 5621, 3639, 289, 3639, 309, 14015, 2956, 1276, 453, 7722, 2042, 3092, 597, 12562, 480, 446, 13, 5411, 747, 930, 1276, 453, 7722, 974, 13, 288, 1850, 309, 261, 2956, 1276, 453, 7722, 2042, 3092, 597, 401, 4811, 2582, 18, 291, 2042, 3092, 18047, 12443, 52, 7722, 2042, 3092, 13, 2956, 3719, 1324, 31, 1850, 309, 261, 4811, 7729, 9432, 4704, 3471, 13, 288, 5411, 13591, 12, 2956, 1769, 1850, 2103, 3067, 11983, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2186, 273, 3021, 18, 588, 18888, 3471, 5621, 565, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2186, 18, 2469, 31, 277, 27245, 288, 1377, 453, 7722, 1046, 930, 273, 2186, 63, 77, 15533, 1377, 309, 261, 2956, 1276, 453, 7722, 797, 13, 288, 3639, 930, 18, 9436, 12, 2211, 1769, 1377, 289, 1377, 469, 309, 261, 2956, 1276, 453, 7722, 3092, 13, 288, 3639, 453, 7722, 2300, 12562, 273, 14015, 52, 7722, 3092, 13, 2956, 2934, 588, 14729, 5621, 3639, 309, 261, 2 ]
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() == RepositoryTaskSyncState.CONFLICT; if (forceSync || (!canNotSynch && !hasLocalChanges) || !repositoryTask.isDownloaded()) { monitor.setTaskName(LABEL_SYNCHRONIZING + repositoryTask.getSummary()); final TaskRepository repository = TasksUiPlugin.getRepositoryManager().getRepository( repositoryTask.getRepositoryKind(), repositoryTask.getRepositoryUrl()); if (repository == null) { throw new CoreException(new Status(IStatus.ERROR, TasksUiPlugin.PLUGIN_ID, 0, "Associated repository could not be found. Ensure proper repository configuration of " + repositoryTask.getRepositoryUrl() + " in " + TaskRepositoriesView.NAME + ".", null)); } TasksUiPlugin.getTaskListManager().getTaskList().notifyRepositoryInfoChanged(repositoryTask); IOfflineTaskHandler offlineHandler = connector.getOfflineTaskHandler(); if (offlineHandler != null) { String taskId = AbstractRepositoryTask.getTaskId(repositoryTask.getHandleIdentifier()); RepositoryTaskData downloadedTaskData = offlineHandler.downloadTaskData(repository, taskId); if (downloadedTaskData != null) { TasksUiPlugin.getSynchronizationManager().updateOfflineState(repositoryTask, downloadedTaskData, forceSync); refreshEditors(repositoryTask); } else { connector.updateTask(repository, repositoryTask); } } else { connector.updateTask(repository, repositoryTask); } } }
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, 3352, 2174, 18, 291, 10785, 5621, 202, 202, 6494, 711, 2042, 7173, 273, 3352, 2174, 18, 588, 4047, 1119, 1435, 422, 6281, 2174, 4047, 1119, 18, 5069, 16387, 1360, 9506, 202, 20081, 3352, 2174, 18, 588, 4047, 1119, 1435, 422, 6281, 2174, 4047, 1119, 18, 14497, 29280, 31, 202, 202, 430, 261, 5734, 4047, 747, 16051, 4169, 1248, 55, 2515, 597, 401, 5332, 2042, 7173, 13, 747, 401, 9071, 2174, 18, 291, 4164, 4230, 10756, 288, 1082, 202, 10259, 18, 542, 2174, 461, 12, 13545, 67, 7474, 50, 1792, 19359, 6867, 1360, 397, 3352, 2174, 18, 588, 4733, 10663, 1082, 202, 6385, 3837, 3305, 3352, 273, 20350, 13943, 3773, 18, 588, 3305, 1318, 7675, 588, 3305, 12, 6862, 202, 9071, 2174, 18, 588, 3305, 5677, 9334, 3352, 2174, 18, 588, 3305, 1489, 10663, 1082, 202, 430, 261, 9071, 422, 446, 13, 288, 9506, 202, 12849, 394, 30015, 12, 2704, 2685, 12, 45, 1482, 18, 3589, 16, 20350, 13943, 3773, 18, 19415, 67, 734, 16, 374, 16, 25083, 202, 6, 19233, 3352, 3377, 486, 506, 1392, 18, 7693, 5338, 3352, 1664, 434, 315, 6862, 9506, 202, 15, 3352, 2174, 18, 588, 3305, 1489, 1435, 397, 315, 316, 315, 397, 3837, 18429, 1767, 18, 1985, 397, 4585, 16, 446, 10019, 1082, 202, 97, 1082, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3352, 2174, 18, 291, 10785, 5621, 202, 202, 6494, 711, 2042, 7173, 273, 3352, 2174, 18, 588, 4047, 1119, 1435, 422, 6281, 2174, 4047, 1119, 18, 5069, 16387, 1360, 9506, 202, 20081, 3352, 2174, 18, 588, 4047, 1119, 1435, 422, 6281, 2174, 4047, 1119, 18, 14497, 29280, 31, 202, 202, 430, 261, 5734, 4047, 747, 16051, 4169, 1248, 55, 2515, 597, 401, 5332, 2042, 7173, 13, 747, 401, 9071, 2174, 18, 291, 4164, 4230, 10756, 288, 1082, 202, 10259, 18, 542, 2174, 461, 12, 2 ]
((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, 3830, 1042, 7675, 588, 54, 10340, 797, 7675, 11255, 6902, 12, 77, 30019, 18, 17994, 9334, 460, 1769, 202, 202, 97, 469, 288, 1082, 202, 12443, 54, 10340, 3120, 13, 919, 18, 10086, 12, 77, 30019, 18, 588, 743, 907, 10756, 2934, 11255, 6902, 12, 77, 30019, 18, 17994, 9334, 460, 1769, 202, 202, 97, 202, 202, 2463, 446, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 3830, 1042, 7675, 588, 54, 10340, 797, 7675, 11255, 6902, 12, 77, 30019, 18, 17994, 9334, 460, 1769, 202, 202, 97, 469, 288, 1082, 202, 12443, 54, 10340, 3120, 13, 919, 18, 10086, 12, 77, 30019, 18, 588, 743, 907, 10756, 2934, 11255, 6902, 12, 77, 30019, 18, 17994, 9334, 460, 1769, 202, 202, 97, 202, 202, 2463, 446, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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); // <- gene_stable_id.gene String stableId = stableIdItem.getAttribute("stable_id").getValue(); //Use the default approach of setting both the organismDbId & identifier to // be the same value - the ensembl stable id. tgtItem.addAttribute(new Attribute("organismDbId", stableId)); //Set up all the optional xref synonyms - if the gene is KNOWN it should // have an ensembl xref to another db's accesssion for the same gene. if (srcItem.hasReference("display_xref")) { Item xref = ItemHelper.convert(srcItemReader.getItemById( srcItem.getReference("display_xref").getRefId())); String dbname = null; String accession = null; String symbol = null; //look for the reference to an xref database - the external_db if (xref.hasReference("external_db")) { Item extDb = ItemHelper.convert(srcItemReader.getItemById(xref.getReference("external_db").getRefId())); if (extDb.hasAttribute("db_name")) { dbname = extDb.getAttribute("db_name").getValue(); } } //look for a primary accession - if we have one we may be able to create a synonym if (xref.hasAttribute("dbprimary_acc")) { accession = xref.getAttribute("dbprimary_acc").getValue(); } //look for the display label - since we might be able to use it as a symbol synonym. if (xref.hasAttribute("display_label")) { symbol = xref.getAttribute("display_label").getValue(); } LOG.error("db " + dbname + " acc "+ accession + " sym " + symbol); //check to see if we have a valid accession & dbname. if (accession != null && !accession.equals(EMPTY_STRING) && dbname != null && !dbname.equals(EMPTY_STRING)) { //If we have a valid xref for this dsname then we can create the synonym for the // external database accession. //NOTE: if the xref is being used as an alternative identifier it will already have // a synonym with type 'identifier'. if (config.useXrefDbsForGeneIdentifier() && config.geneXrefDbName.equalsIgnoreCase(dbname)) { tgtItem.addAttribute(new Attribute("identifier", accession)); LOG.info("HUGO: "+ accession + " db " + dbname); Item synonym = createProductSynonym(tgtItem, "accession", accession, config.getEnsemblDataSrcRef()); addReferencedItem(tgtItem, synonym, "synonyms", true, "subject", false); synonyms.add(synonym); } else { tgtItem.addAttribute(new Attribute("identifier", stableId)); LOG.info("tgtIdentifier " + stableId); } if (config.containsXrefDataSourceNamed(dbname)) { Reference extDbRef = config.getDataSrcRefByDataSrcName(dbname); LOG.debug("Creating Synonym for dbname:" + dbname); Item synonym = createProductSynonym(tgtItem, "accession", accession, extDbRef); addReferencedItem(tgtItem, synonym, "synonyms", true, "subject", false); synonyms.add(synonym); tgtItem.addAttribute(new Attribute("accession", accession)); LOG.info("refseq: "+ accession +" Symbol: " + symbol + " db " + dbname); } else { LOG.debug("Skipped! Can't create a Synonym for db:" + dbname); } } else { tgtItem.addAttribute(new Attribute("identifier", stableId)); LOG.info("tgtIdentifier " + stableId); LOG.debug("Skipped! Bad dbprimary_acc:" + accession + " or dbname:" + dbname); } //check to see if we have a valid display_lable (synonym) & dbname. if (symbol != null && !symbol.equals(EMPTY_STRING) && dbname != null && !dbname.equals(EMPTY_STRING)) { //Now check to see if we can create a synonym that represents a symbol as well. if (config.containsXrefSymbolDataSourceNamed(dbname)) { Reference extDbRef = config.getDataSrcRefByDataSrcName(dbname); LOG.debug("Creating Symbol Synonym for dbname:" + dbname); LOG.info("Symbol " + symbol+ "for dbname:" + dbname); Item synonym = createProductSynonym(tgtItem, "symbol", symbol, extDbRef); addReferencedItem(tgtItem, synonym, "synonyms", true, "subject", false); synonyms.add(synonym); tgtItem.addAttribute(new Attribute("symbol", symbol)); } else { LOG.debug("Skipped creating a Symbol Synonym for db:" + dbname); } } else { LOG.debug("Skipped! Bad display_label:" + accession + " or dbname:" + dbname); } } else { tgtItem.addAttribute(new Attribute("identifier", stableId)); LOG.info("tgtIdentifier " + stableId); LOG.debug("Skipped! As no display_xref was found for srcItem:" + srcItem.getClassName() + " id:" + srcItem.getIdentifier()); } return synonyms; }
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, 2047, 333, 353, 14103, 446, 1508, 1915, 1807, 279, 6199, 598, 326, 570, 5747, 80, 501, 25885, 3639, 4342, 14114, 548, 1180, 273, 21491, 429, 548, 2932, 11857, 3113, 1705, 1180, 18, 588, 3004, 9334, 1705, 10386, 1769, 3639, 368, 3290, 7529, 67, 15021, 67, 350, 18, 11857, 3639, 514, 14114, 548, 273, 14114, 548, 1180, 18, 588, 1499, 2932, 15021, 67, 350, 20387, 24805, 5621, 3639, 368, 3727, 326, 805, 17504, 434, 3637, 3937, 326, 15501, 6228, 4331, 548, 473, 2756, 358, 3639, 368, 506, 326, 1967, 460, 300, 326, 570, 5747, 80, 14114, 612, 18, 3639, 11680, 1180, 18, 1289, 1499, 12, 2704, 3601, 2932, 22543, 6228, 4331, 548, 3113, 14114, 548, 10019, 7734, 368, 694, 731, 777, 326, 3129, 15187, 27260, 300, 309, 326, 7529, 353, 1475, 3417, 5665, 518, 1410, 3639, 368, 1240, 392, 570, 5747, 80, 15187, 358, 4042, 1319, 1807, 2006, 87, 285, 364, 326, 1967, 7529, 18, 3639, 309, 261, 4816, 1180, 18, 5332, 2404, 2932, 5417, 67, 22044, 6, 3719, 288, 5411, 4342, 15187, 273, 4342, 2276, 18, 6283, 12, 4816, 1180, 2514, 18, 588, 1180, 5132, 12, 10792, 1705, 1180, 18, 588, 2404, 2932, 5417, 67, 22044, 20387, 588, 1957, 548, 1435, 10019, 5411, 514, 18448, 273, 446, 31, 5411, 514, 2006, 285, 273, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2047, 333, 353, 14103, 446, 1508, 1915, 1807, 279, 6199, 598, 326, 570, 5747, 80, 501, 25885, 3639, 4342, 14114, 548, 1180, 273, 21491, 429, 548, 2932, 11857, 3113, 1705, 1180, 18, 588, 3004, 9334, 1705, 10386, 1769, 3639, 368, 3290, 7529, 67, 15021, 67, 350, 18, 11857, 3639, 514, 14114, 548, 273, 14114, 548, 1180, 18, 588, 1499, 2932, 15021, 67, 350, 20387, 24805, 5621, 3639, 368, 3727, 326, 805, 17504, 434, 3637, 3937, 326, 15501, 6228, 4331, 548, 473, 2756, 358, 3639, 368, 2 ]
if (!connectionEndpoint.temporaryDestinations.contains(d))
if (!connectionEndpoint.hasTemporaryDestination(d))
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, boolean isCC) throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); } if ("".equals(selector)) { selector = null; } JBossDestination d = (JBossDestination)jmsDestination; if (trace) { log.trace("creating consumer endpoint for " + d + ", selector " + selector + ", " + (noLocal ? "noLocal, " : "") + "subscription " + subscriptionName); } if (d.isTemporary()) { // Can only create a consumer for a temporary destination on the same connection // that created it if (!connectionEndpoint.temporaryDestinations.contains(d)) { String msg = "Cannot create a message consumer on a different connection " + "to that which created the temporary destination"; throw new IllegalStateException(msg); } } CoreDestination coreDestination = dm.getCoreDestination(jmsDestination); if (coreDestination == null) { throw new InvalidDestinationException("No such destination: " + jmsDestination); } int consumerID = connectionEndpoint.serverPeer.getNextObjectID(); CoreSubscription subscription = null; if (d.isTopic()) { Topic topic = (Topic)coreDestination; if (subscriptionName == null) { // non-durable subscription if (log.isTraceEnabled()) { log.trace("creating new non-durable subscription on " + coreDestination); } subscription = new CoreSubscription(topic, selector, noLocal, ms); } else { if (d.isTemporary()) { throw new InvalidDestinationException("Cannot create a durable subscription on a temporary topic"); } // we have a durable subscription, look it up String clientID = connectionEndpoint.getClientID(); if (clientID == null) { throw new JMSException("Cannot create durable subscriber without a valid client ID"); } subscription = dsm.getDurableSubscription(clientID, subscriptionName, dm, ms, tl); if (subscription == null) { if (trace) { log.trace("creating new durable subscription on " + coreDestination); } subscription = dsm.createDurableSubscription(d.getName(), clientID, subscriptionName, selector, noLocal, dm, ms, tl); } else { if (trace) { log.trace("subscription " + subscriptionName + " already exists"); } // From javax.jms.Session Javadoc (and also JMS 1.1 6.11.1): // A client can change an existing durable subscription by creating a durable // TopicSubscriber with the same name and a new topic and/or message selector. // Changing a durable subscriber is equivalent to unsubscribing (deleting) the old // one and creating a new one. boolean selectorChanged = (selector == null && subscription.getSelector() != null) || (subscription.getSelector() == null && selector != null) || (subscription.getSelector() != null && selector != null && !subscription.getSelector().equals(selector)); if (trace) { log.trace("selector " + (selectorChanged ? "has" : "has NOT") + " changed"); } // TODO - if we use hard equality here, redeploying (re-activating) a topic will // cause loosing all messages waiting on durable subscriptions on that topic //boolean topicChanged = subscription.getTopic() != coreDestination; boolean topicChanged = !subscription.getTopic().getName().equals(coreDestination.getName()); if (log.isTraceEnabled()) { log.trace("topic " + (topicChanged ? "has" : "has NOT") + " changed"); } boolean noLocalChanged = noLocal != subscription.isNoLocal(); if (selectorChanged || topicChanged || noLocalChanged) { if (trace) { log.trace("topic or selector or noLocal changed so deleting old subscription"); } boolean removed = dsm.removeDurableSubscription(connectionEndpoint.clientID, subscriptionName); if (!removed) { throw new InvalidDestinationException("Cannot find durable subscription " + subscriptionName + " to unsubscribe"); } subscription.unsubscribe(); // create a fresh new subscription subscription = dsm.createDurableSubscription(d.getName(), clientID, subscriptionName, selector, noLocal, dm, ms, tl); } } } } ServerConsumerEndpoint ep = new ServerConsumerEndpoint(consumerID, subscription == null ? (Channel)coreDestination : subscription, this, selector, noLocal); JMSDispatcher.instance.registerTarget(new Integer(consumerID), new ConsumerAdvised(ep)); ClientConsumerDelegate stub = new ClientConsumerDelegate(consumerID); if (subscription != null) { subscription.subscribe(); } putConsumerDelegate(consumerID, ep); connectionEndpoint.consumers.put(new Integer(consumerID), ep); log.debug("created and registered " + ep); return stub; }
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, 13, 1216, 20343, 282, 288, 1377, 309, 261, 12204, 13, 1377, 288, 540, 604, 394, 5477, 2932, 2157, 353, 4375, 8863, 1377, 289, 5411, 309, 261, 3660, 18, 14963, 12, 9663, 3719, 1377, 288, 540, 3451, 273, 446, 31, 1377, 289, 5411, 804, 38, 8464, 5683, 302, 273, 261, 8877, 8464, 5683, 13, 78, 959, 5683, 31, 5411, 309, 261, 5129, 13, 288, 613, 18, 5129, 2932, 23799, 4765, 2494, 364, 315, 397, 302, 397, 3104, 3451, 315, 397, 3451, 397, 3104, 315, 397, 261, 2135, 2042, 692, 315, 2135, 2042, 16, 315, 294, 1408, 13, 397, 315, 11185, 315, 397, 4915, 461, 1769, 289, 5375, 309, 261, 72, 18, 291, 11685, 10756, 1377, 288, 540, 368, 4480, 1338, 752, 279, 4765, 364, 279, 6269, 2929, 603, 326, 1967, 1459, 540, 368, 716, 2522, 518, 540, 309, 16051, 4071, 3293, 18, 5332, 11685, 5683, 12, 72, 3719, 540, 288, 5411, 514, 1234, 273, 315, 4515, 752, 279, 883, 4765, 603, 279, 3775, 1459, 315, 397, 7682, 315, 869, 716, 1492, 2522, 326, 6269, 2929, 14432, 5411, 604, 394, 5477, 12, 3576, 1769, 540, 289, 1377, 289, 5411, 4586, 5683, 2922, 5683, 273, 9113, 18, 588, 4670, 5683, 12, 78, 959, 5683, 1769, 1377, 309, 261, 3644, 5683, 422, 446, 13, 1377, 288, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13, 1216, 20343, 282, 288, 1377, 309, 261, 12204, 13, 1377, 288, 540, 604, 394, 5477, 2932, 2157, 353, 4375, 8863, 1377, 289, 5411, 309, 261, 3660, 18, 14963, 12, 9663, 3719, 1377, 288, 540, 3451, 273, 446, 31, 1377, 289, 5411, 804, 38, 8464, 5683, 302, 273, 261, 8877, 8464, 5683, 13, 78, 959, 5683, 31, 5411, 309, 261, 5129, 13, 288, 613, 18, 5129, 2932, 23799, 4765, 2494, 364, 315, 397, 302, 397, 3104, 3451, 315, 397, 3451, 397, 3104, 315, 397, 2 ]
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, 1404, 999, 6160, 1251, 487, 732, 854, 3929, 310, 315, 8705, 6, 202, 202, 22851, 6681, 18, 8705, 11988, 1012, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 1404, 999, 6160, 1251, 487, 732, 854, 3929, 310, 315, 8705, 6, 202, 202, 22851, 6681, 18, 8705, 11988, 1012, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
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, 11272, 5411, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 2398, 1071, 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, 11272, 5411, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]